mirror of
https://github.com/achlipala/frap.git
synced 2025-03-19 03:02:29 +00:00
Change some tactics to use their usual names in the book code
This commit is contained in:
parent
8f0c986a00
commit
0fe16514a4
1 changed files with 4 additions and 4 deletions
|
@ -928,9 +928,9 @@ Module Stlc.
|
||||||
* scope of the book. *)
|
* scope of the book. *)
|
||||||
|
|
||||||
Ltac t0 := match goal with
|
Ltac t0 := match goal with
|
||||||
| [ H : ex _ |- _ ] => destruct H
|
| [ H : ex _ |- _ ] => invert H
|
||||||
| [ H : _ /\ _ |- _ ] => destruct H
|
| [ H : _ /\ _ |- _ ] => invert H
|
||||||
| [ |- context[?x ==v ?y] ] => destruct (x ==v y)
|
| [ |- context[?x ==v ?y] ] => cases (x ==v y)
|
||||||
| [ H : Some _ = Some _ |- _ ] => invert H
|
| [ H : Some _ = Some _ |- _ ] => invert H
|
||||||
|
|
||||||
| [ H : step _ _ |- _ ] => invert H
|
| [ H : step _ _ |- _ ] => invert H
|
||||||
|
@ -940,7 +940,7 @@ Module Stlc.
|
||||||
| [ H : plug _ _ _ |- _ ] => invert1 H
|
| [ H : plug _ _ _ |- _ ] => invert1 H
|
||||||
end; subst.
|
end; subst.
|
||||||
|
|
||||||
Ltac t := simplify; propositional; repeat (t0; simplify); try congruence; eauto 6.
|
Ltac t := simplify; propositional; repeat (t0; simplify); try equality; eauto 6.
|
||||||
|
|
||||||
Lemma progress_snazzy : forall e t,
|
Lemma progress_snazzy : forall e t,
|
||||||
hasty $0 e t
|
hasty $0 e t
|
||||||
|
|
Loading…
Add table
Reference in a new issue