Created
October 5, 2016 21:52
-
-
Save fluiddynamics/44bbc88cb2a9a5ca802e63c943e8979d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Inductive word := | |
| start : word | |
| X : word -> word | |
| Y : word -> word | |
| Z : word -> word. | |
Inductive path : word -> Prop := | |
| s : path (X start) | |
| a1 : forall w:word, path (X w) -> path (Y (X w)) | |
| a2 : forall w:word, path (X w) -> path (Z (X w)) | |
| b : forall w:word, path (Y w) -> path (Z (Y w)) | |
| c : forall w:word, path (Z w) -> path (X (Z w)). | |
Print path_ind. | |
Theorem xyz : path (Z (Y (X start))). | |
Proof. | |
repeat constructor. Qed. | |
Theorem xzx : path (X (Z (X start))). | |
Proof. | |
repeat constructor. Qed. | |
Print xzx. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment