Debian Codegraph @

test-suite/ide/undo013.fake

raw
1 # Script simulating a dialog between rocqide and coqtop -ideslave
2 # Run it via fake_ide
3 #
4 # Test backtracking in presence of nested proofs
5 # Second, trigger the undo of an inner proof
6 #
7 ADD { Set Nested Proofs Allowed. }
8 ADD { Lemma aa : True -> True /\ True. }
9 ADD { intro H. }
10 ADD { split. }
11 ADD { Lemma bb : False -> False. }
12 ADD { intro H. }
13 ADD { apply H. }
14 ADD { Qed. }
15 ADD { apply H. }
16 ADD { Lemma cc : False -> True. }
17 ADD { intro H. }
18 ADD here { destruct H. }
19 ADD { Qed. }
20 ADD { apply H. }
21 EDIT_AT here
22 # <replay>
23 ADD { Qed. }
24 ADD { apply H. }
25 # </replay>
26 ADD { Qed. }
27 QUERY { Fail Show. }
28 QUERY { Check (aa,bb,cc). }