Skip to content

Commit

Permalink
修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Seasawher committed Sep 15, 2024
1 parent 13cd193 commit 583a1e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ConcreteSemantics/Equivalence.lean
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ macro_rules
| `(tactic|unfold ≈) => `(tactic| dsimp only [(· ≈ ·), Setoid.r, equivCmd])

-- big_step が `unfold ≈` を利用できるようにする
-- これでゴールに `≈` が含まれている場合に対応できる
add_aesop_rules norm [tactic (by unfold ≈) (rule_sets := [BigStepRules])]

/-- ### Lemma 7.3
Expand Down
2 changes: 1 addition & 1 deletion ConcreteSemantics/RuleInversion.lean
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ theorem while_iff {B S s u} : (whileDo B S, s) ==> u ↔
big_step

/-- while の条件式が真のときの inversion rule -/
@[simp] theorem while_true_iff {B S s u} (hcond : B s) : (whileDo B S, s) ==> u ↔
theorem while_true_iff {B S s u} (hcond : B s) : (whileDo B S, s) ==> u ↔
(∃ t, (S, s) ==> t ∧ (whileDo B S, t) ==> u) := by
big_step

Expand Down

0 comments on commit 583a1e9

Please sign in to comment.