Last active
August 29, 2015 14:09
-
-
Save tangentstorm/54cb5e76f6d97c2ee900 to your computer and use it in GitHub Desktop.
a proof language (embedded in nial)
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
r0 := ("^^>^* (ph 'exponent rule') | |
(("$x "^ "$y) "^ "$z) | |
"= (("$x "^ ("$y "* "$z)))) | |
r1 := ("xy>yx (ph 'commutative rule for *') | |
("x "* "y) | |
"= ("y "* "x)) | |
p := (("x "^ "y) "^ "z); | |
q := (("x "^ "z) "^ "y); | |
t := { show p "= q ( | |
(("x "^ "y) "^ "z) "| "r0 | |
"= ("x "^ ("y "* "z)) "| "r1 | |
"= ("x "^ ("z "* "y)) "| "_r | |
"= (("x "^ "z) "^ "y) ) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment