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