Skip to content

Commit da33101

Browse files
committed
push
1 parent 90007b6 commit da33101

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

LeroyCompilerVerificationCourse/Constprop.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ instance [BEq α] [BEq β] [Hashable α] : BEq (Std.HashMap α β) where
5353
`mk_MINUS a1 a2` produces an expression equivalent to `MINUS a1 a2`
5454
using similar tricks. Note that "expression minus constant" is
5555
always normalized into "expression plus opposite constant",
56-
simplifying the case analyses. *)
56+
simplifying the case analyses.
5757
-/
5858
@[grind] def mk_MINUS (a1 a2 : aexp) : aexp :=
5959
match a1, a2 with

LeroyCompilerVerificationCourse/Deadcode.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ instance : EmptyCollection IdentSet where
6565
/-
6666
To analyze loops, we will need, again!, to compute post-fixpoints
6767
of a function from sets of variables to sets of variables.
68-
We reuse the ``engineer's approach'' from file `Constprop.lean`.
68+
We reuse the "engineer's approach" from file `Constprop.lean`.
6969
-/
7070
@[grind] noncomputable def deadcode_fixpoint_rec (F : IdentSet → IdentSet) (default : IdentSet) (fuel : Nat) (x : IdentSet) : IdentSet :=
7171
match fuel with
@@ -200,7 +200,7 @@ theorem agree_update_dead :
200200
| |
201201
| |
202202
v v
203-
s' -------------------------------------- s1'ß
203+
s' -------------------------------------- s1'
204204
agree L s' s1'
205205
206206
The proof is a simple induction on the big-step evaluation derivation on the left.

0 commit comments

Comments
 (0)