1 include "logic/equality.ma".
3 (* Inclusion of: RNG029-7.p *)
5 (* -------------------------------------------------------------------------- *)
7 (* File : RNG029-7 : TPTP v3.7.0. Released v1.0.0. *)
9 (* Domain : Ring Theory (Alternative) *)
11 (* Problem : Middle Moufang identity *)
13 (* Version : [Ste87] (equality) axioms : Augmented. *)
15 (* Theorem formulation : In terms of associators *)
19 (* Refs : [Ste87] Stevens (1987), Some Experiments in Nonassociative Rin *)
25 (* Status : Unsatisfiable *)
27 (* Rating : 0.78 v3.4.0, 0.75 v3.3.0, 0.86 v3.1.0, 0.89 v2.7.0, 0.91 v2.6.0, 0.83 v2.5.0, 0.75 v2.4.0, 0.67 v2.2.1, 1.00 v2.0.0 *)
29 (* Syntax : Number of clauses : 23 ( 0 non-Horn; 23 unit; 1 RR) *)
31 (* Number of atoms : 23 ( 23 equality) *)
33 (* Maximal clause size : 1 ( 1 average) *)
35 (* Number of predicates : 1 ( 0 propositional; 2-2 arity) *)
37 (* Number of functors : 9 ( 4 constant; 0-3 arity) *)
39 (* Number of variables : 45 ( 2 singleton) *)
41 (* Maximal term depth : 5 ( 3 average) *)
45 (* -------------------------------------------------------------------------- *)
47 (* ----Include nonassociative ring axioms *)
49 (* Inclusion of: Axioms/RNG003-0.ax *)
51 (* -------------------------------------------------------------------------- *)
53 (* File : RNG003-0 : TPTP v3.7.0. Released v1.0.0. *)
55 (* Domain : Ring Theory (Alternative) *)
57 (* Axioms : Alternative ring theory (equality) axioms *)
59 (* Version : [Ste87] (equality) axioms. *)
63 (* Refs : [Ste87] Stevens (1987), Some Experiments in Nonassociative Rin *)
65 (* Source : [Ste87] *)
71 (* Syntax : Number of clauses : 15 ( 0 non-Horn; 15 unit; 0 RR) *)
73 (* Number of atoms : 15 ( 15 equality) *)
75 (* Maximal clause size : 1 ( 1 average) *)
77 (* Number of predicates : 1 ( 0 propositional; 2-2 arity) *)
79 (* Number of functors : 6 ( 1 constant; 0-3 arity) *)
81 (* Number of variables : 27 ( 2 singleton) *)
83 (* Maximal term depth : 5 ( 2 average) *)
87 (* -------------------------------------------------------------------------- *)
89 (* ----There exists an additive identity element *)
91 (* ----Multiplicative zero *)
93 (* ----Existence of left additive additive_inverse *)
95 (* ----Inverse of additive_inverse of X is X *)
97 (* ----Distributive property of product over sum *)
99 (* ----Commutativity for addition *)
101 (* ----Associativity for addition *)
103 (* ----Right alternative law *)
105 (* ----Left alternative law *)
111 (* -------------------------------------------------------------------------- *)
113 (* -------------------------------------------------------------------------- *)
115 (* ----The next 7 clause are extra lemmas which Stevens found useful *)
116 ntheorem prove_middle_moufang:
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.
127 ∀H0:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (multiply (add X Y) (additive_inverse Z)) (add (additive_inverse (multiply X Z)) (additive_inverse (multiply Y Z))).
128 ∀H1:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (multiply (additive_inverse X) (add Y Z)) (add (additive_inverse (multiply X Y)) (additive_inverse (multiply X Z))).
129 ∀H2:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (multiply (add X (additive_inverse Y)) Z) (add (multiply X Z) (additive_inverse (multiply Y Z))).
130 ∀H3:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (multiply X (add Y (additive_inverse Z))) (add (multiply X Y) (additive_inverse (multiply X Z))).
131 ∀H4:∀X:Univ.∀Y:Univ.eq Univ (multiply X (additive_inverse Y)) (additive_inverse (multiply X Y)).
132 ∀H5:∀X:Univ.∀Y:Univ.eq Univ (multiply (additive_inverse X) Y) (additive_inverse (multiply X Y)).
133 ∀H6:∀X:Univ.∀Y:Univ.eq Univ (multiply (additive_inverse X) (additive_inverse Y)) (multiply X Y).
134 ∀H7:∀X:Univ.∀Y:Univ.eq Univ (commutator X Y) (add (multiply Y X) (additive_inverse (multiply X Y))).
135 ∀H8:∀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)))).
136 ∀H9:∀X:Univ.∀Y:Univ.eq Univ (multiply (multiply X X) Y) (multiply X (multiply X Y)).
137 ∀H10:∀X:Univ.∀Y:Univ.eq Univ (multiply (multiply X Y) Y) (multiply X (multiply Y Y)).
138 ∀H11:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (add X (add Y Z)) (add (add X Y) Z).
139 ∀H12:∀X:Univ.∀Y:Univ.eq Univ (add X Y) (add Y X).
140 ∀H13:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (multiply (add X Y) Z) (add (multiply X Z) (multiply Y Z)).
141 ∀H14:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (multiply X (add Y Z)) (add (multiply X Y) (multiply X Z)).
142 ∀H15:∀X:Univ.eq Univ (additive_inverse (additive_inverse X)) X.
143 ∀H16:∀X:Univ.eq Univ (add X (additive_inverse X)) additive_identity.
144 ∀H17:∀X:Univ.eq Univ (add (additive_inverse X) X) additive_identity.
145 ∀H18:∀X:Univ.eq Univ (multiply X additive_identity) additive_identity.
146 ∀H19:∀X:Univ.eq Univ (multiply additive_identity X) additive_identity.
147 ∀H20:∀X:Univ.eq Univ (add X additive_identity) X.
148 ∀H21:∀X:Univ.eq Univ (add additive_identity X) X.eq Univ (multiply (multiply x y) (multiply z x)) (multiply (multiply x (multiply y z)) x))
155 #additive_identity ##.
156 #additive_inverse ##.
185 nauto by H0,H1,H2,H3,H4,H5,H6,H7,H8,H9,H10,H11,H12,H13,H14,H15,H16,H17,H18,H19,H20,H21 ##;
186 ntry (nassumption) ##;
189 (* -------------------------------------------------------------------------- *)