1 include "logic/equality.ma".
3 (* Inclusion of: ROB006-2.p *)
5 (* -------------------------------------------------------------------------- *)
7 (* File : ROB006-2 : TPTP v3.7.0. Released v1.0.0. *)
9 (* Domain : Robbins Algebra *)
11 (* Problem : Exists absorbed element => Exists idempotent element *)
13 (* Version : [Win90] (equality) axioms. *)
15 (* Theorem formulation : Denies idempotence. *)
17 (* English : If there are elements c and d such that c+d=d, then the *)
19 (* algebra is Boolean. *)
21 (* Refs : [HMT71] Henkin et al. (1971), Cylindrical Algebras *)
23 (* : [Win90] Winker (1990), Robbins Algebra: Conditions that make a *)
25 (* : [Wos92] Wos (1992), An Opportunity to Test Your Skills, and th *)
27 (* Source : [Wos92] *)
29 (* Names : Theorem 1.1 [Win90] *)
31 (* Status : Unsatisfiable *)
33 (* Rating : 0.78 v3.4.0, 0.88 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.3.0, 1.00 v2.0.0 *)
35 (* Syntax : Number of clauses : 5 ( 0 non-Horn; 5 unit; 2 RR) *)
37 (* Number of atoms : 5 ( 5 equality) *)
39 (* Maximal clause size : 1 ( 1 average) *)
41 (* Number of predicates : 1 ( 0 propositional; 2-2 arity) *)
43 (* Number of functors : 4 ( 2 constant; 0-2 arity) *)
45 (* Number of variables : 8 ( 0 singleton) *)
47 (* Maximal term depth : 6 ( 2 average) *)
49 (* Comments : Commutativity, associativity, and Huntington's axiom *)
51 (* axiomatize Boolean algebra. *)
53 (* -------------------------------------------------------------------------- *)
55 (* ----Include axioms for Robbins algebra *)
57 (* Inclusion of: Axioms/ROB001-0.ax *)
59 (* -------------------------------------------------------------------------- *)
61 (* File : ROB001-0 : TPTP v3.7.0. Released v1.0.0. *)
63 (* Domain : Robbins algebra *)
65 (* Axioms : Robbins algebra axioms *)
67 (* Version : [Win90] (equality) axioms. *)
71 (* Refs : [HMT71] Henkin et al. (1971), Cylindrical Algebras *)
73 (* : [Win90] Winker (1990), Robbins Algebra: Conditions that make a *)
75 (* Source : [OTTER] *)
77 (* Names : Lemma 2.2 [Win90] *)
81 (* Syntax : Number of clauses : 3 ( 0 non-Horn; 3 unit; 0 RR) *)
83 (* Number of atoms : 3 ( 3 equality) *)
85 (* Maximal clause size : 1 ( 1 average) *)
87 (* Number of predicates : 1 ( 0 propositional; 2-2 arity) *)
89 (* Number of functors : 2 ( 0 constant; 1-2 arity) *)
91 (* Number of variables : 7 ( 0 singleton) *)
93 (* Maximal term depth : 6 ( 3 average) *)
97 (* -------------------------------------------------------------------------- *)
99 (* -------------------------------------------------------------------------- *)
101 (* -------------------------------------------------------------------------- *)
102 ntheorem prove_idempotence:
103 (∀Univ:Type.∀X:Univ.∀Y:Univ.∀Z:Univ.
104 ∀add:∀_:Univ.∀_:Univ.Univ.
107 ∀negate:∀_:Univ.Univ.
108 ∀H0:eq Univ (add c d) d.
109 ∀H1:∀X:Univ.∀Y:Univ.eq Univ (negate (add (negate (add X Y)) (negate (add X (negate Y))))) X.
110 ∀H2:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (add (add X Y) Z) (add X (add Y Z)).
111 ∀H3:∀X:Univ.∀Y:Univ.eq Univ (add X Y) (add Y X).∃X:Univ.eq Univ (add X X) X)
125 napply (ex_intro ? ? ? ?) ##[
127 nauto by H0,H1,H2,H3 ##;
129 ntry (nassumption) ##;
132 (* -------------------------------------------------------------------------- *)