Skip to content

Commit

Permalink
chore: unfold to fix proof
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasgrosser committed May 22, 2024
1 parent 8651154 commit b5f5a6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SSA/Projects/DCE/DCE.lean
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,10 @@ def Com.deleteVar? (DEL : Deleted Γ delv Γ') (com : Com d Γ .pure t) :
match Var.tryDelete? DEL v with
| .none => .none
| .some ⟨v, hv⟩ =>
.some ⟨.ret v, hv⟩
.some ⟨.ret v, by
unfold Ctxt.Valuation.eval at hv
simp [hv]
| .lete (α := ω) e body =>
match Com.deleteVar? (Deleted.snoc DEL) body with
| .none => .none
Expand Down

0 comments on commit b5f5a6e

Please sign in to comment.