mirror of
https://github.com/achlipala/frap.git
synced 2024-12-01 00:26:18 +00:00
Merge pull request #10 from wangpengmit/pull-request-singletoner
Tweaked Ltac singletoner to display state space exploration in real time
This commit is contained in:
commit
cff5e1da35
2 changed files with 5 additions and 2 deletions
3
Frap.v
3
Frap.v
|
@ -104,7 +104,8 @@ Ltac model_check_done :=
|
||||||
|
|
||||||
Ltac singletoner :=
|
Ltac singletoner :=
|
||||||
repeat match goal with
|
repeat match goal with
|
||||||
| _ => apply singleton_in
|
(* | _ => apply singleton_in *)
|
||||||
|
| [ |- _ ?S ] => idtac S; apply singleton_in
|
||||||
| [ |- (_ \cup _) _ ] => apply singleton_in_other
|
| [ |- (_ \cup _) _ ] => apply singleton_in_other
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
|
|
@ -302,7 +302,8 @@ Qed.
|
||||||
|
|
||||||
Ltac singletoner :=
|
Ltac singletoner :=
|
||||||
repeat match goal with
|
repeat match goal with
|
||||||
| _ => apply singleton_in
|
(* | _ => apply singleton_in *)
|
||||||
|
| [ |- _ ?S ] => idtac S; apply singleton_in
|
||||||
| [ |- (_ \cup _) _ ] => apply singleton_in_other
|
| [ |- (_ \cup _) _ ] => apply singleton_in_other
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
@ -1572,3 +1573,4 @@ Theorem twoadd6_ok :
|
||||||
Proof.
|
Proof.
|
||||||
twoadd.
|
twoadd.
|
||||||
Qed.
|
Qed.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue