]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/ng_TPTP/ROB020-1.ma
Preparing for 0.5.9 release.
[helm.git] / helm / software / matita / contribs / ng_TPTP / ROB020-1.ma
1 include "logic/equality.ma".
2
3 (* Inclusion of: ROB020-1.p *)
4
5 (* -------------------------------------------------------------------------- *)
6
7 (*  File     : ROB020-1 : TPTP v3.7.0. Released v1.0.0. *)
8
9 (*  Domain   : Robbins Algebra *)
10
11 (*  Problem  : -(a + -b)=b => Boolean *)
12
13 (*  Version  : [Win90] (equality) axioms. *)
14
15 (*             Theorem formulation : Denies Huntington's axiom. *)
16
17 (*  English  : If there exist a, b such that -(a + -b) = b, the algebra  *)
18
19 (*             is Boolean. *)
20
21 (*  Refs     : [HMT71] Henkin et al. (1971), Cylindrical Algebras *)
22
23 (*           : [Win90] Winker (1990), Robbins Algebra: Conditions that make a *)
24
25 (*  Source   : [Win90] *)
26
27 (*  Names    : Corollary 3.10 [Win90] *)
28
29 (*  Status   : Unknown *)
30
31 (*  Rating   : 1.00 v2.0.0 *)
32
33 (*  Syntax   : Number of clauses     :    5 (   0 non-Horn;   5 unit;   2 RR) *)
34
35 (*             Number of atoms       :    5 (   5 equality) *)
36
37 (*             Maximal clause size   :    1 (   1 average) *)
38
39 (*             Number of predicates  :    1 (   0 propositional; 2-2 arity) *)
40
41 (*             Number of functors    :    4 (   2 constant; 0-2 arity) *)
42
43 (*             Number of variables   :    7 (   0 singleton) *)
44
45 (*             Maximal term depth    :    6 (   3 average) *)
46
47 (*  Comments : Commutativity, associativity, and Huntington's axiom  *)
48
49 (*             axiomatize Boolean algebra. *)
50
51 (* -------------------------------------------------------------------------- *)
52
53 (* ----Include axioms for Robbins algebra  *)
54
55 (* Inclusion of: Axioms/ROB001-0.ax *)
56
57 (* -------------------------------------------------------------------------- *)
58
59 (*  File     : ROB001-0 : TPTP v3.7.0. Released v1.0.0. *)
60
61 (*  Domain   : Robbins algebra *)
62
63 (*  Axioms   : Robbins algebra axioms *)
64
65 (*  Version  : [Win90] (equality) axioms. *)
66
67 (*  English  :  *)
68
69 (*  Refs     : [HMT71] Henkin et al. (1971), Cylindrical Algebras *)
70
71 (*           : [Win90] Winker (1990), Robbins Algebra: Conditions that make a *)
72
73 (*  Source   : [OTTER] *)
74
75 (*  Names    : Lemma 2.2 [Win90] *)
76
77 (*  Status   :  *)
78
79 (*  Syntax   : Number of clauses    :    3 (   0 non-Horn;   3 unit;   0 RR) *)
80
81 (*             Number of atoms      :    3 (   3 equality) *)
82
83 (*             Maximal clause size  :    1 (   1 average) *)
84
85 (*             Number of predicates :    1 (   0 propositional; 2-2 arity) *)
86
87 (*             Number of functors   :    2 (   0 constant; 1-2 arity) *)
88
89 (*             Number of variables  :    7 (   0 singleton) *)
90
91 (*             Maximal term depth   :    6 (   3 average) *)
92
93 (*  Comments :  *)
94
95 (* -------------------------------------------------------------------------- *)
96
97 (* -------------------------------------------------------------------------- *)
98
99 (* -------------------------------------------------------------------------- *)
100 ntheorem prove_huntingtons_axiom:
101  (∀Univ:Type.∀X:Univ.∀Y:Univ.∀Z:Univ.
102 ∀a:Univ.
103 ∀add:∀_:Univ.∀_:Univ.Univ.
104 ∀b:Univ.
105 ∀negate:∀_:Univ.Univ.
106 ∀H0:eq Univ (negate (add a (negate b))) b.
107 ∀H1:∀X:Univ.∀Y:Univ.eq Univ (negate (add (negate (add X Y)) (negate (add X (negate Y))))) X.
108 ∀H2:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (add (add X Y) Z) (add X (add Y Z)).
109 ∀H3:∀X:Univ.∀Y:Univ.eq Univ (add X Y) (add Y X).eq Univ (add (negate (add a (negate b))) (negate (add (negate a) (negate b)))) b)
110 .
111 #Univ ##.
112 #X ##.
113 #Y ##.
114 #Z ##.
115 #a ##.
116 #add ##.
117 #b ##.
118 #negate ##.
119 #H0 ##.
120 #H1 ##.
121 #H2 ##.
122 #H3 ##.
123 nauto by H0,H1,H2,H3 ##;
124 ntry (nassumption) ##;
125 nqed.
126
127 (* -------------------------------------------------------------------------- *)