File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
examples/l3-machine-code/arm8/asl-equiv Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 2
2
git clone https://github.com/HOL-Theorem-Prover/armv8.6-asl-snapshot.git
3
3
cd armv8.6-asl-snapshot
4
4
git checkout 7b8e94ba2e2d91fe8cdfdb21b18f36c70f772cb1
5
+ cd ..
6
+ patch armv8.6-asl-snapshot/A64_ISA_v86A/lib/lem/lem_relationScript.sml < lem_relation_patch
Original file line number Diff line number Diff line change
1
+ --- armv8.6-asl-snapshot/A64_ISA_v86A/lib/lem/lem_relationScript.sml 2025-05-07 22:17:55.522283790 +0200
2
+ +++ armv8.6-asl-snapshot/A64_ISA_v86A/lib/lem/lem_relation_newScript.sml 2025-05-07 22:26:39.696443565 +0200
3
+ @@ -416,13 +416,13 @@
4
+
5
+ (*val reflexiveTransitiveClosureOn : forall 'a. SetType 'a, Eq 'a => rel 'a 'a -> set 'a -> rel 'a 'a*)
6
+ val _ = Define `
7
+ - ((reflexive_transitive_closure_on:('a#'a)set -> 'a set ->('a#'a)set) r s= (tc (((r) UNION ((relIdOn s))))))`;
8
+ + ((reflexive_transitive_closure_on:('a#'a)set -> 'a set ->('a#'a)set) r s= (transitive_closure (((r) UNION ((relIdOn s))))))`;
9
+
10
+
11
+
12
+ (*val reflexiveTransitiveClosure : forall 'a. SetType 'a, Eq 'a => rel 'a 'a -> rel 'a 'a*)
13
+ val _ = Define `
14
+ - ((reflexiveTransitiveClosure:('a#'a)set ->('a#'a)set) r= (tc (((r) UNION (relId)))))`;
15
+ + ((reflexiveTransitiveClosure:('a#'a)set ->('a#'a)set) r= (transitive_closure (((r) UNION (relId)))))`;
16
+
17
+
18
+
19
+ @@ -438,7 +438,7 @@
20
+ (*val withoutTransitiveEdges: forall 'a. SetType 'a, Eq 'a => rel 'a 'a -> rel 'a 'a*)
21
+ val _ = Define `
22
+ ((withoutTransitiveEdges:('a#'a)set ->('a#'a)set) r=
23
+ - (let tc1 = (tc r) in
24
+ + (let tc1 = (transitive_closure r) in
25
+ {(a, c) | a, c
26
+ | ((a, c) IN r) /\
27
+ (! (b :: range r).
You can’t perform that action at this time.
0 commit comments