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