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