]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/ng_TPTP/LAT053-1.ma
Preparing for 0.5.9 release.
[helm.git] / helm / software / matita / contribs / ng_TPTP / LAT053-1.ma
1 include "logic/equality.ma".
2
3 (* Inclusion of: LAT053-1.p *)
4
5 (* -------------------------------------------------------------------------- *)
6
7 (*  File     : LAT053-1 : TPTP v3.7.0. Released v2.5.0. *)
8
9 (*  Domain   : Lattice Theory *)
10
11 (*  Problem  : Countermodel for Megill equation for weakly orthomodular lattices *)
12
13 (*  Version  : [McC88] (equality) axioms. *)
14
15 (*  English  :  *)
16
17 (*  Refs     : [McC88] McCune (1988), Challenge Equality Problems in Lattice  *)
18
19 (*           : [Meg00] Megill & Pavicic (2000), Equations and State and Latti *)
20
21 (*           : [RW01]  Rose & Wilkinson (2001), Application of Model Search *)
22
23 (*           : [EF+02] Ernst et al. (2002), More First-order Test Problems in *)
24
25 (*  Source   : [RW01] *)
26
27 (*  Names    : sem-rw-1.in [RW01] *)
28
29 (*           : ol-rw1 [EF+02] *)
30
31 (*  Status   : Satisfiable *)
32
33 (*  Rating   : 0.67 v2.7.0, 0.33 v2.6.0, 0.67 v2.5.0 *)
34
35 (*  Syntax   : Number of clauses     :   15 (   0 non-Horn;  15 unit;   1 RR) *)
36
37 (*             Number of atoms       :   15 (  15 equality) *)
38
39 (*             Maximal clause size   :    1 (   1 average) *)
40
41 (*             Number of predicates  :    1 (   0 propositional; 2-2 arity) *)
42
43 (*             Number of functors    :    7 (   4 constant; 0-2 arity) *)
44
45 (*             Number of variables   :   25 (   2 singleton) *)
46
47 (*             Maximal term depth    :    6 (   2 average) *)
48
49 (*  Comments :  *)
50
51 (* -------------------------------------------------------------------------- *)
52
53 (* ----Include lattice axioms  *)
54
55 (* Inclusion of: Axioms/LAT001-0.ax *)
56
57 (* -------------------------------------------------------------------------- *)
58
59 (*  File     : LAT001-0 : TPTP v3.7.0. Released v1.0.0. *)
60
61 (*  Domain   : Lattice Theory *)
62
63 (*  Axioms   : Lattice theory (equality) axioms *)
64
65 (*  Version  : [McC88] (equality) axioms. *)
66
67 (*  English  :  *)
68
69 (*  Refs     : [Bum65] Bumcroft (1965), Proceedings of the Glasgow Mathematic *)
70
71 (*           : [McC88] McCune (1988), Challenge Equality Problems in Lattice  *)
72
73 (*           : [Wos88] Wos (1988), Automated Reasoning - 33 Basic Research Pr *)
74
75 (*  Source   : [McC88] *)
76
77 (*  Names    :  *)
78
79 (*  Status   :  *)
80
81 (*  Syntax   : Number of clauses    :    8 (   0 non-Horn;   8 unit;   0 RR) *)
82
83 (*             Number of atoms      :    8 (   8 equality) *)
84
85 (*             Maximal clause size  :    1 (   1 average) *)
86
87 (*             Number of predicates :    1 (   0 propositional; 2-2 arity) *)
88
89 (*             Number of functors   :    2 (   0 constant; 2-2 arity) *)
90
91 (*             Number of variables  :   16 (   2 singleton) *)
92
93 (*             Maximal term depth   :    3 (   2 average) *)
94
95 (*  Comments :  *)
96
97 (* -------------------------------------------------------------------------- *)
98
99 (* ----The following 8 clauses characterise lattices  *)
100
101 (* -------------------------------------------------------------------------- *)
102
103 (* -------------------------------------------------------------------------- *)
104
105 (* ----Compatibility (6) *)
106
107 (* ----Invertability (5) *)
108
109 (* ----Megill equation *)
110
111 (* ----Denial of equation in question *)
112 ntheorem prove_this:
113  (∀Univ:Type.∀X:Univ.∀Y:Univ.∀Z:Univ.
114 ∀a:Univ.
115 ∀b:Univ.
116 ∀complement:∀_:Univ.Univ.
117 ∀join:∀_:Univ.∀_:Univ.Univ.
118 ∀meet:∀_:Univ.∀_:Univ.Univ.
119 ∀n0:Univ.
120 ∀n1:Univ.
121 ∀H0:∀X:Univ.∀Y:Univ.eq Univ (join (meet (complement X) (join X Y)) (join (complement Y) (meet X Y))) n1.
122 ∀H1:∀X:Univ.eq Univ (complement (complement X)) X.
123 ∀H2:∀X:Univ.eq Univ (meet (complement X) X) n0.
124 ∀H3:∀X:Univ.eq Univ (join (complement X) X) n1.
125 ∀H4:∀X:Univ.∀Y:Univ.eq Univ (complement (meet X Y)) (join (complement X) (complement Y)).
126 ∀H5:∀X:Univ.∀Y:Univ.eq Univ (complement (join X Y)) (meet (complement X) (complement Y)).
127 ∀H6:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (join (join X Y) Z) (join X (join Y Z)).
128 ∀H7:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (meet (meet X Y) Z) (meet X (meet Y Z)).
129 ∀H8:∀X:Univ.∀Y:Univ.eq Univ (join X Y) (join Y X).
130 ∀H9:∀X:Univ.∀Y:Univ.eq Univ (meet X Y) (meet Y X).
131 ∀H10:∀X:Univ.∀Y:Univ.eq Univ (join X (meet X Y)) X.
132 ∀H11:∀X:Univ.∀Y:Univ.eq Univ (meet X (join X Y)) X.
133 ∀H12:∀X:Univ.eq Univ (join X X) X.
134 ∀H13:∀X:Univ.eq Univ (meet X X) X.eq Univ (meet a (join b (meet a (join (complement a) (meet a b))))) (meet a (join (complement a) (meet a b))))
135 .
136 #Univ ##.
137 #X ##.
138 #Y ##.
139 #Z ##.
140 #a ##.
141 #b ##.
142 #complement ##.
143 #join ##.
144 #meet ##.
145 #n0 ##.
146 #n1 ##.
147 #H0 ##.
148 #H1 ##.
149 #H2 ##.
150 #H3 ##.
151 #H4 ##.
152 #H5 ##.
153 #H6 ##.
154 #H7 ##.
155 #H8 ##.
156 #H9 ##.
157 #H10 ##.
158 #H11 ##.
159 #H12 ##.
160 #H13 ##.
161 nauto by H0,H1,H2,H3,H4,H5,H6,H7,H8,H9,H10,H11,H12,H13 ##;
162 ntry (nassumption) ##;
163 nqed.
164
165 (* -------------------------------------------------------------------------- *)