Created
August 15, 2013 08:30
-
-
Save qnighy/6239234 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
sig R { | |
plus : R -> one R, | |
opp : R, | |
mult : R -> one R | |
} | |
one sig O extends R {} | |
one sig I extends R {} | |
fact Rplus_abelian { | |
all x,y,z : R | x.plus[y].plus[z] = x.plus[y.plus[z]] | |
all x : R | x.plus[O] = x | |
all x : R | x.plus[x.opp] = O | |
all x,y : R | x.plus[y] = y.plus[x] | |
} | |
fact Rmult_monoid { | |
all x,y,z : R | x.mult[y].mult[z] = x.mult[y.mult[z]] | |
all x : R | x.mult[I] = x | |
all x : R | I.mult[x] = x | |
} | |
fact Rdist { | |
all x,y,z : R | x.plus[y].mult[z] = x.mult[z].plus[y.mult[z]] | |
all x,y,z : R | x.mult[y.plus[z]] = x.mult[y].plus[x.mult[z]] | |
} | |
fact Rnoncomm { | |
some x,y : R | x.mult[y] != y.mult[x] | |
} | |
run {} for 8 | |
run {} for 7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment