Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. first [ a; idtac "a did it!" | b; idtac "b did!" | idtac "nope"; fail ]
  2.  
  3. Goal True / True.
  4. split; idtac "Split did it!".
  5.  
  6. Goal True / True.
  7. split; [ idtac "Split did it!" | .. ].
  8.  
  9. Goal True / True.
  10. tauto; [ idtac "Tauto did it!" | .. ].
  11.  
  12. Goal True / True.
  13. split; idtac "Split did it!".
  14.  
  15. $ ~/.local64/coq/coq-8.5pl3/bin/coqtop
  16. Welcome to Coq 8.5pl3 (November 2016)
  17.  
  18. Coq < Goal True / True.
  19. 1 subgoal
  20.  
  21. ============================
  22. True / True
  23.  
  24. Unnamed_thm < split; idtac "Split did it!".
  25. Split did it!
  26. 2 subgoals
  27.  
  28. ============================
  29. True
  30.  
  31. subgoal 2 is:
  32. True
  33.  
  34. Unnamed_thm <
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement