1 include "logic/equality.ma".
3 (* Inclusion of: LAT042-1.p *)
5 (* -------------------------------------------------------------------------- *)
7 (* File : LAT042-1 : TPTP v3.7.0. Released v2.5.0. *)
9 (* Domain : Lattice Theory *)
11 (* Problem : Lattice modularity from Boolean algebra *)
13 (* Version : [McC88] (equality) axioms. *)
17 (* Refs : [McC88] McCune (1988), Challenge Equality Problems in Lattice *)
19 (* : [RW01] Rose & Wilkinson (2001), Application of Model Search *)
23 (* Names : eqp-a1.in [RW01] *)
25 (* Status : Unsatisfiable *)
27 (* Rating : 0.00 v3.4.0, 0.12 v3.3.0, 0.07 v3.2.0, 0.00 v2.5.0 *)
29 (* Syntax : Number of clauses : 13 ( 0 non-Horn; 13 unit; 1 RR) *)
31 (* Number of atoms : 13 ( 13 equality) *)
33 (* Maximal clause size : 1 ( 1 average) *)
35 (* Number of predicates : 1 ( 0 propositional; 2-2 arity) *)
37 (* Number of functors : 8 ( 5 constant; 0-2 arity) *)
39 (* Number of variables : 22 ( 2 singleton) *)
41 (* Maximal term depth : 4 ( 2 average) *)
45 (* -------------------------------------------------------------------------- *)
47 (* ----Include lattice axioms *)
49 (* Inclusion of: Axioms/LAT001-0.ax *)
51 (* -------------------------------------------------------------------------- *)
53 (* File : LAT001-0 : TPTP v3.7.0. Released v1.0.0. *)
55 (* Domain : Lattice Theory *)
57 (* Axioms : Lattice theory (equality) axioms *)
59 (* Version : [McC88] (equality) axioms. *)
63 (* Refs : [Bum65] Bumcroft (1965), Proceedings of the Glasgow Mathematic *)
65 (* : [McC88] McCune (1988), Challenge Equality Problems in Lattice *)
67 (* : [Wos88] Wos (1988), Automated Reasoning - 33 Basic Research Pr *)
69 (* Source : [McC88] *)
75 (* Syntax : Number of clauses : 8 ( 0 non-Horn; 8 unit; 0 RR) *)
77 (* Number of atoms : 8 ( 8 equality) *)
79 (* Maximal clause size : 1 ( 1 average) *)
81 (* Number of predicates : 1 ( 0 propositional; 2-2 arity) *)
83 (* Number of functors : 2 ( 0 constant; 2-2 arity) *)
85 (* Number of variables : 16 ( 2 singleton) *)
87 (* Maximal term depth : 3 ( 2 average) *)
91 (* -------------------------------------------------------------------------- *)
93 (* ----The following 8 clauses characterise lattices *)
95 (* -------------------------------------------------------------------------- *)
97 (* -------------------------------------------------------------------------- *)
99 (* Distributivity (4) *)
101 (* Invertability (5) *)
103 (* ----Preceding gives us Boolean Algebra *)
105 (* ----Denial of modular law: *)
106 ntheorem prove_modular_law:
107 (∀Univ:Type.∀X:Univ.∀Y:Univ.∀Z:Univ.
111 ∀complement:∀_:Univ.Univ.
112 ∀join:∀_:Univ.∀_:Univ.Univ.
113 ∀meet:∀_:Univ.∀_:Univ.Univ.
116 ∀H0:∀X:Univ.eq Univ (complement (complement X)) X.
117 ∀H1:∀X:Univ.eq Univ (meet (complement X) X) n0.
118 ∀H2:∀X:Univ.eq Univ (join (complement X) X) n1.
119 ∀H3:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (meet X (join Y Z)) (join (meet X Y) (meet X Z)).
120 ∀H4:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (join (join X Y) Z) (join X (join Y Z)).
121 ∀H5:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (meet (meet X Y) Z) (meet X (meet Y Z)).
122 ∀H6:∀X:Univ.∀Y:Univ.eq Univ (join X Y) (join Y X).
123 ∀H7:∀X:Univ.∀Y:Univ.eq Univ (meet X Y) (meet Y X).
124 ∀H8:∀X:Univ.∀Y:Univ.eq Univ (join X (meet X Y)) X.
125 ∀H9:∀X:Univ.∀Y:Univ.eq Univ (meet X (join X Y)) X.
126 ∀H10:∀X:Univ.eq Univ (join X X) X.
127 ∀H11:∀X:Univ.eq Univ (meet X X) X.eq Univ (join a (meet b (join a c))) (meet (join a b) (join a c)))
153 nauto by H0,H1,H2,H3,H4,H5,H6,H7,H8,H9,H10,H11 ##;
154 ntry (nassumption) ##;
157 (* -------------------------------------------------------------------------- *)