]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/ng_TPTP/GRP001-2.ma
Preparing for 0.5.9 release.
[helm.git] / helm / software / matita / contribs / ng_TPTP / GRP001-2.ma
1 include "logic/equality.ma".
2
3 (* Inclusion of: GRP001-2.p *)
4
5 (* -------------------------------------------------------------------------- *)
6
7 (*  File     : GRP001-2 : TPTP v3.7.0. Released v1.0.0. *)
8
9 (*  Domain   : Group Theory *)
10
11 (*  Problem  : X^2 = identity => commutativity *)
12
13 (*  Version  : [MOW76] (equality) axioms : Augmented. *)
14
15 (*  English  : If the square of every element is the identity, the system  *)
16
17 (*             is commutative. *)
18
19 (*  Refs     : [MOW76] McCharen et al. (1976), Problems and Experiments for a *)
20
21 (*           : [LO85]  Lusk & Overbeek (1985), Reasoning about Equality *)
22
23 (*           : [LW92]  Lusk & Wos (1992), Benchmark Problems in Which Equalit *)
24
25 (*  Source   : [ANL] *)
26
27 (*  Names    : GP1 [MOW76] *)
28
29 (*           : Problem 1 [LO85] *)
30
31 (*           : GT1 [LW92] *)
32
33 (*           : xsquared.ver2.in [ANL] *)
34
35 (*  Status   : Unsatisfiable *)
36
37 (*  Rating   : 0.00 v2.2.1, 0.22 v2.2.0, 0.29 v2.1.0, 0.25 v2.0.0 *)
38
39 (*  Syntax   : Number of clauses     :    8 (   0 non-Horn;   8 unit;   2 RR) *)
40
41 (*             Number of atoms       :    8 (   8 equality) *)
42
43 (*             Maximal clause size   :    1 (   1 average) *)
44
45 (*             Number of predicates  :    1 (   0 propositional; 2-2 arity) *)
46
47 (*             Number of functors    :    6 (   4 constant; 0-2 arity) *)
48
49 (*             Number of variables   :    8 (   0 singleton) *)
50
51 (*             Maximal term depth    :    3 (   2 average) *)
52
53 (*  Comments :  *)
54
55 (* -------------------------------------------------------------------------- *)
56
57 (* ----Include equality group theory axioms  *)
58
59 (* Inclusion of: Axioms/GRP004-0.ax *)
60
61 (* -------------------------------------------------------------------------- *)
62
63 (*  File     : GRP004-0 : TPTP v3.7.0. Released v1.0.0. *)
64
65 (*  Domain   : Group Theory *)
66
67 (*  Axioms   : Group theory (equality) axioms *)
68
69 (*  Version  : [MOW76] (equality) axioms :  *)
70
71 (*             Reduced > Complete. *)
72
73 (*  English  :  *)
74
75 (*  Refs     : [MOW76] McCharen et al. (1976), Problems and Experiments for a *)
76
77 (*           : [Wos88] Wos (1988), Automated Reasoning - 33 Basic Research Pr *)
78
79 (*  Source   : [ANL] *)
80
81 (*  Names    :  *)
82
83 (*  Status   :  *)
84
85 (*  Syntax   : Number of clauses    :    3 (   0 non-Horn;   3 unit;   0 RR) *)
86
87 (*             Number of atoms      :    3 (   3 equality) *)
88
89 (*             Maximal clause size  :    1 (   1 average) *)
90
91 (*             Number of predicates :    1 (   0 propositional; 2-2 arity) *)
92
93 (*             Number of functors   :    3 (   1 constant; 0-2 arity) *)
94
95 (*             Number of variables  :    5 (   0 singleton) *)
96
97 (*             Maximal term depth   :    3 (   2 average) *)
98
99 (*  Comments : [MOW76] also contains redundant right_identity and *)
100
101 (*             right_inverse axioms. *)
102
103 (*           : These axioms are also used in [Wos88] p.186, also with *)
104
105 (*             right_identity and right_inverse. *)
106
107 (* -------------------------------------------------------------------------- *)
108
109 (* ----For any x and y in the group x*y is also in the group. No clause  *)
110
111 (* ----is needed here since this is an instance of reflexivity  *)
112
113 (* ----There exists an identity element  *)
114
115 (* ----For any x in the group, there exists an element y such that x*y = y*x  *)
116
117 (* ----= identity. *)
118
119 (* ----The operation '*' is associative  *)
120
121 (* -------------------------------------------------------------------------- *)
122
123 (* -------------------------------------------------------------------------- *)
124
125 (* ----Redundant two axioms *)
126 ntheorem prove_b_times_a_is_c:
127  (∀Univ:Type.∀X:Univ.∀Y:Univ.∀Z:Univ.
128 ∀a:Univ.
129 ∀b:Univ.
130 ∀c:Univ.
131 ∀identity:Univ.
132 ∀inverse:∀_:Univ.Univ.
133 ∀multiply:∀_:Univ.∀_:Univ.Univ.
134 ∀H0:eq Univ (multiply a b) c.
135 ∀H1:∀X:Univ.eq Univ (multiply X X) identity.
136 ∀H2:∀X:Univ.eq Univ (multiply X (inverse X)) identity.
137 ∀H3:∀X:Univ.eq Univ (multiply X identity) X.
138 ∀H4:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (multiply (multiply X Y) Z) (multiply X (multiply Y Z)).
139 ∀H5:∀X:Univ.eq Univ (multiply (inverse X) X) identity.
140 ∀H6:∀X:Univ.eq Univ (multiply identity X) X.eq Univ (multiply b a) c)
141 .
142 #Univ ##.
143 #X ##.
144 #Y ##.
145 #Z ##.
146 #a ##.
147 #b ##.
148 #c ##.
149 #identity ##.
150 #inverse ##.
151 #multiply ##.
152 #H0 ##.
153 #H1 ##.
154 #H2 ##.
155 #H3 ##.
156 #H4 ##.
157 #H5 ##.
158 #H6 ##.
159 nauto by H0,H1,H2,H3,H4,H5,H6 ##;
160 ntry (nassumption) ##;
161 nqed.
162
163 (* -------------------------------------------------------------------------- *)