Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new theories in ringoid and ordered_ringoid
- Loading branch information
michael.gruninger
committed
Jan 29, 2015
1 parent
a6985b9
commit f67e2ac
Showing
7 changed files
with
114 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
(cl-text http://colore.oor.net/ordered_ringoid/discrete_ordered_ring.clif | ||
|
||
(cl-imports http://colore.oor.net/ringoids/ring.clif) | ||
|
||
(cl-imports http://colore.oor.net/orderings/linear_ordering.clif) | ||
|
||
(cl-imports http://colore.oor.net/orderings/definitions/ordering_defs.clif) | ||
|
||
(forall (x y z) | ||
(if (lt x y) | ||
(lt (sum x z) (sum y z)))) | ||
|
||
(forall (x y z) | ||
(if (and (lt zero x) | ||
(lt x y)) | ||
(lt (prod x z) (prod y z)))) | ||
|
||
(forall (x y) | ||
(if (lt x y) | ||
(exists (z) | ||
(= y (sum x z))))) | ||
|
||
(lt zero one) | ||
|
||
(forall (x) | ||
(if (lt zero x) | ||
(leq one x))) | ||
|
||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
(cl-text http://colore.oor.net/ordered_ringoid/discrete_ordered_semiring.clif | ||
|
||
(cl-imports http://colore.oor.net/ringoids/semiring.clif) | ||
|
||
(cl-imports http://colore.oor.net/orderings/linear_ordering.clif) | ||
|
||
(cl-imports http://colore.oor.net/orderings/definitions/ordering_defs.clif) | ||
|
||
(forall (x y z) | ||
(if (lt x y) | ||
(lt (sum x z) (sum y z)))) | ||
|
||
(forall (x y z) | ||
(if (and (lt zero x) | ||
(lt x y)) | ||
(lt (prod x z) (prod y z)))) | ||
|
||
(forall (x y) | ||
(if (lt x y) | ||
(exists (z) | ||
(= y (sum x z))))) | ||
|
||
(lt zero one) | ||
|
||
(forall (x) | ||
(if (lt zero x) | ||
(leq one x))) | ||
|
||
) |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
(cl-text http://colore.oor.net/ringoids/commutative_semiring.clif | ||
|
||
(cl-imports http://colore.oor.net/ringoids/semiring.clif) | ||
|
||
(forall (x y) | ||
(= (prod x y) (prod y x))) | ||
|
||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
(cl-text http://colore.oor.net/ringoids/idempotent_semiring.clif | ||
|
||
(cl-imports http://colore.oor.net/ringoids/semiring.clif) | ||
|
||
(forall (x) | ||
(= x (sum x x))) | ||
|
||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
(cl-text http://colore.oor.net/ringoids/semiring.clif | ||
|
||
(forall (x y z) | ||
(= (sum (sum x y) z) (sum x (sum y z)))) | ||
|
||
(forall (x) | ||
(and (= x (sum zero x)) | ||
(= x (sum x zero)))) | ||
|
||
(forall (x y) | ||
(= (sum x y) (sum y x))) | ||
|
||
(forall (x y z) | ||
(= (prod (prod x y) z) (prod x (prod y z)))) | ||
|
||
(forall (x) | ||
(and (= x (prod one x)) | ||
(= x (prod x one)))) | ||
|
||
(forall (x) | ||
(and (= zero (prod zero x)) | ||
(= zero (prod x zero)))) | ||
|
||
(forall (x y z) | ||
(= (prod x (sum y z)) (sum (prod x y) (prod x z)))) | ||
|
||
(forall (x y z) | ||
(= (prod (sum x y) z) (sum (prod x z) (prod y z)))) | ||
|
||
) |