1 include "logic/equality.ma".
3 (* Inclusion of: BOO007-4.p *)
5 (* -------------------------------------------------------------------------- *)
7 (* File : BOO007-4 : TPTP v3.7.0. Released v1.1.0. *)
9 (* Domain : Boolean Algebra *)
11 (* Problem : Product is associative ( (X * Y) * Z = X * (Y * Z) ) *)
13 (* Version : [Ver94] (equality) axioms. *)
17 (* Refs : [Ver94] Veroff (1994), Problem Set *)
19 (* Source : [Ver94] *)
21 (* Names : TD [Ver94] *)
23 (* Status : Unsatisfiable *)
25 (* Rating : 0.22 v3.4.0, 0.25 v3.3.0, 0.14 v3.2.0, 0.07 v3.1.0, 0.11 v2.7.0, 0.09 v2.6.0, 0.00 v2.2.1, 0.33 v2.2.0, 0.43 v2.1.0, 0.62 v2.0.0 *)
27 (* Syntax : Number of clauses : 9 ( 0 non-Horn; 9 unit; 1 RR) *)
29 (* Number of atoms : 9 ( 9 equality) *)
31 (* Maximal clause size : 1 ( 1 average) *)
33 (* Number of predicates : 1 ( 0 propositional; 2-2 arity) *)
35 (* Number of functors : 8 ( 5 constant; 0-2 arity) *)
37 (* Number of variables : 14 ( 0 singleton) *)
39 (* Maximal term depth : 3 ( 2 average) *)
43 (* -------------------------------------------------------------------------- *)
45 (* ----Include boolean algebra axioms for equality formulation *)
47 (* Inclusion of: Axioms/BOO004-0.ax *)
49 (* -------------------------------------------------------------------------- *)
51 (* File : BOO004-0 : TPTP v3.7.0. Released v1.0.0. *)
53 (* Domain : Boolean Algebra *)
55 (* Axioms : Boolean algebra (equality) axioms *)
57 (* Version : [Ver94] (equality) axioms. *)
61 (* Refs : [Ver94] Veroff (1994), Problem Set *)
63 (* Source : [Ver94] *)
69 (* Syntax : Number of clauses : 8 ( 0 non-Horn; 8 unit; 0 RR) *)
71 (* Number of atoms : 8 ( 8 equality) *)
73 (* Maximal clause size : 1 ( 1 average) *)
75 (* Number of predicates : 1 ( 0 propositional; 2-2 arity) *)
77 (* Number of functors : 5 ( 2 constant; 0-2 arity) *)
79 (* Number of variables : 14 ( 0 singleton) *)
81 (* Maximal term depth : 3 ( 2 average) *)
85 (* -------------------------------------------------------------------------- *)
87 (* -------------------------------------------------------------------------- *)
89 (* -------------------------------------------------------------------------- *)
90 ntheorem prove_associativity:
91 (∀Univ:Type.∀X:Univ.∀Y:Univ.∀Z:Univ.
93 ∀add:∀_:Univ.∀_:Univ.Univ.
94 ∀additive_identity:Univ.
97 ∀inverse:∀_:Univ.Univ.
98 ∀multiplicative_identity:Univ.
99 ∀multiply:∀_:Univ.∀_:Univ.Univ.
100 ∀H0:∀X:Univ.eq Univ (multiply X (inverse X)) additive_identity.
101 ∀H1:∀X:Univ.eq Univ (add X (inverse X)) multiplicative_identity.
102 ∀H2:∀X:Univ.eq Univ (multiply X multiplicative_identity) X.
103 ∀H3:∀X:Univ.eq Univ (add X additive_identity) X.
104 ∀H4:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (multiply X (add Y Z)) (add (multiply X Y) (multiply X Z)).
105 ∀H5:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (add X (multiply Y Z)) (multiply (add X Y) (add X Z)).
106 ∀H6:∀X:Univ.∀Y:Univ.eq Univ (multiply X Y) (multiply Y X).
107 ∀H7:∀X:Univ.∀Y:Univ.eq Univ (add X Y) (add Y X).eq Univ (multiply a (multiply b c)) (multiply (multiply a b) c))
115 #additive_identity ##.
119 #multiplicative_identity ##.
129 nauto by H0,H1,H2,H3,H4,H5,H6,H7 ##;
130 ntry (nassumption) ##;
133 (* -------------------------------------------------------------------------- *)