1 include "logic/equality.ma".
3 (* Inclusion of: RNG025-6.p *)
5 (* -------------------------------------------------------------------------- *)
7 (* File : RNG025-6 : TPTP v3.7.0. Released v1.0.0. *)
9 (* Domain : Ring Theory (Alternative) *)
11 (* Problem : Middle or Flexible Law *)
13 (* Version : [Ste87] (equality) axioms. *)
15 (* Theorem formulation : In terms of associators *)
19 (* Refs : [Ste87] Stevens (1987), Some Experiments in Nonassociative Rin *)
21 (* : [Ste92] Stevens (1992), Unpublished Note *)
27 (* Status : Unsatisfiable *)
29 (* Rating : 0.22 v3.4.0, 0.25 v3.3.0, 0.29 v3.1.0, 0.44 v2.7.0, 0.36 v2.6.0, 0.67 v2.5.0, 0.75 v2.4.0, 0.33 v2.2.1, 0.89 v2.2.0, 0.86 v2.1.0, 0.88 v2.0.0 *)
31 (* Syntax : Number of clauses : 16 ( 0 non-Horn; 16 unit; 1 RR) *)
33 (* Number of atoms : 16 ( 16 equality) *)
35 (* Maximal clause size : 1 ( 1 average) *)
37 (* Number of predicates : 1 ( 0 propositional; 2-2 arity) *)
39 (* Number of functors : 8 ( 3 constant; 0-3 arity) *)
41 (* Number of variables : 27 ( 2 singleton) *)
43 (* Maximal term depth : 5 ( 2 average) *)
47 (* -------------------------------------------------------------------------- *)
49 (* ----Include nonassociative ring axioms *)
51 (* Inclusion of: Axioms/RNG003-0.ax *)
53 (* -------------------------------------------------------------------------- *)
55 (* File : RNG003-0 : TPTP v3.7.0. Released v1.0.0. *)
57 (* Domain : Ring Theory (Alternative) *)
59 (* Axioms : Alternative ring theory (equality) axioms *)
61 (* Version : [Ste87] (equality) axioms. *)
65 (* Refs : [Ste87] Stevens (1987), Some Experiments in Nonassociative Rin *)
67 (* Source : [Ste87] *)
73 (* Syntax : Number of clauses : 15 ( 0 non-Horn; 15 unit; 0 RR) *)
75 (* Number of atoms : 15 ( 15 equality) *)
77 (* Maximal clause size : 1 ( 1 average) *)
79 (* Number of predicates : 1 ( 0 propositional; 2-2 arity) *)
81 (* Number of functors : 6 ( 1 constant; 0-3 arity) *)
83 (* Number of variables : 27 ( 2 singleton) *)
85 (* Maximal term depth : 5 ( 2 average) *)
89 (* -------------------------------------------------------------------------- *)
91 (* ----There exists an additive identity element *)
93 (* ----Multiplicative zero *)
95 (* ----Existence of left additive additive_inverse *)
97 (* ----Inverse of additive_inverse of X is X *)
99 (* ----Distributive property of product over sum *)
101 (* ----Commutativity for addition *)
103 (* ----Associativity for addition *)
105 (* ----Right alternative law *)
107 (* ----Left alternative law *)
113 (* -------------------------------------------------------------------------- *)
115 (* -------------------------------------------------------------------------- *)
116 ntheorem prove_flexible_law:
117 (∀Univ:Type.∀X:Univ.∀Y:Univ.∀Z:Univ.
118 ∀add:∀_:Univ.∀_:Univ.Univ.
119 ∀additive_identity:Univ.
120 ∀additive_inverse:∀_:Univ.Univ.
121 ∀associator:∀_:Univ.∀_:Univ.∀_:Univ.Univ.
122 ∀commutator:∀_:Univ.∀_:Univ.Univ.
123 ∀multiply:∀_:Univ.∀_:Univ.Univ.
126 ∀H0:∀X:Univ.∀Y:Univ.eq Univ (commutator X Y) (add (multiply Y X) (additive_inverse (multiply X Y))).
127 ∀H1:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (associator X Y Z) (add (multiply (multiply X Y) Z) (additive_inverse (multiply X (multiply Y Z)))).
128 ∀H2:∀X:Univ.∀Y:Univ.eq Univ (multiply (multiply X X) Y) (multiply X (multiply X Y)).
129 ∀H3:∀X:Univ.∀Y:Univ.eq Univ (multiply (multiply X Y) Y) (multiply X (multiply Y Y)).
130 ∀H4:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (add X (add Y Z)) (add (add X Y) Z).
131 ∀H5:∀X:Univ.∀Y:Univ.eq Univ (add X Y) (add Y X).
132 ∀H6:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (multiply (add X Y) Z) (add (multiply X Z) (multiply Y Z)).
133 ∀H7:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (multiply X (add Y Z)) (add (multiply X Y) (multiply X Z)).
134 ∀H8:∀X:Univ.eq Univ (additive_inverse (additive_inverse X)) X.
135 ∀H9:∀X:Univ.eq Univ (add X (additive_inverse X)) additive_identity.
136 ∀H10:∀X:Univ.eq Univ (add (additive_inverse X) X) additive_identity.
137 ∀H11:∀X:Univ.eq Univ (multiply X additive_identity) additive_identity.
138 ∀H12:∀X:Univ.eq Univ (multiply additive_identity X) additive_identity.
139 ∀H13:∀X:Univ.eq Univ (add X additive_identity) X.
140 ∀H14:∀X:Univ.eq Univ (add additive_identity X) X.eq Univ (associator x y x) additive_identity)
147 #additive_identity ##.
148 #additive_inverse ##.
169 nauto by H0,H1,H2,H3,H4,H5,H6,H7,H8,H9,H10,H11,H12,H13,H14 ##;
170 ntry (nassumption) ##;
173 (* -------------------------------------------------------------------------- *)