-
Notifications
You must be signed in to change notification settings - Fork 1
Revert patterns
Vladimir Gladstein edited this page Mar 22, 2024
·
5 revisions
We implement : tactical, which behaves in a similar way as it does in SSReflect. tac: r_1 r_2 .. r_n will revert all r_is back to the goal and then executes tactic tac.
-
: r: ifris a hypothesis in a local, will revertrand all hypothesis depended on it. -
: (r): ifris a term with wholes, it will abstract the goal over it and revert it to the goal stack -
: [r_i]: ifr_iis a term of typePropand is decidable, it will abstract the goal overDecidable rand revert the decidable instance to the goal stack. This is useful for true/false case analysis on the decidable proposition. For instance:
scase: [i ∈ l]will transform goal ?goal in to two goals: i ∈ l -> ?goal and i ∉ l -> ?goal
-
: {a1 .. an}: erasesaifrom the local context