let C be FormalContext; :: thesis: ConceptLattice C is Lattice
set L = LattStr(# (B-carrier C),(B-join C),(B-meet C) #);
reconsider L = LattStr(# (B-carrier C),(B-join C),(B-meet C) #) as non empty strict LattStr ;
A1: for a, b, c being Element of L holds a "\/" (b "\/" c) = (a "\/" b) "\/" c
proof
let a, b, c be Element of L; :: thesis: a "\/" (b "\/" c) = (a "\/" b) "\/" c
reconsider b = b, c = c as Element of B-carrier C ;
reconsider d = (B-join C) . (b,c) as Element of L ;
reconsider b = b, c = c as Element of L ;
reconsider a = a, b = b as Element of B-carrier C ;
reconsider e = (B-join C) . (a,b) as Element of L ;
reconsider a = a, b = b as Element of L ;
A2: a "\/" (b "\/" c) = a "\/" d by LATTICES:def 1
.= (B-join C) . (a,((B-join C) . (b,c))) by LATTICES:def 1 ;
A3: (a "\/" b) "\/" c = e "\/" c by LATTICES:def 1
.= (B-join C) . (((B-join C) . (a,b)),c) by LATTICES:def 1 ;
reconsider a = a, b = b, c = c as strict FormalConcept of C by Th31;
(B-join C) . (a,((B-join C) . (b,c))) = (B-join C) . (((B-join C) . (a,b)),c) by Th35;
hence a "\/" (b "\/" c) = (a "\/" b) "\/" c by A2, A3; :: thesis: verum
end;
A4: for a, b being Element of L holds (a "/\" b) "\/" b = b
proof
let a, b be Element of L; :: thesis: (a "/\" b) "\/" b = b
reconsider a = a, b = b as Element of B-carrier C ;
reconsider d = (B-meet C) . (a,b) as Element of L ;
reconsider a = a, b = b as Element of L ;
A5: (a "/\" b) "\/" b = d "\/" b by LATTICES:def 2
.= (B-join C) . (((B-meet C) . (a,b)),b) by LATTICES:def 1 ;
reconsider a = a, b = b as strict FormalConcept of C by Th31;
(B-join C) . (((B-meet C) . (a,b)),b) = b by Th36;
hence (a "/\" b) "\/" b = b by A5; :: thesis: verum
end;
A6: for a, b, c being Element of L holds a "/\" (b "/\" c) = (a "/\" b) "/\" c
proof
let a, b, c be Element of L; :: thesis: a "/\" (b "/\" c) = (a "/\" b) "/\" c
reconsider b = b, c = c as Element of B-carrier C ;
reconsider d = (B-meet C) . (b,c) as Element of L ;
reconsider b = b, c = c as Element of L ;
A7: a "/\" (b "/\" c) = a "/\" d by LATTICES:def 2
.= (B-meet C) . (a,((B-meet C) . (b,c))) by LATTICES:def 2 ;
reconsider a = a, b = b as Element of B-carrier C ;
reconsider e = (B-meet C) . (a,b) as Element of L ;
reconsider a = a, b = b as Element of L ;
A8: (a "/\" b) "/\" c = e "/\" c by LATTICES:def 2
.= (B-meet C) . (((B-meet C) . (a,b)),c) by LATTICES:def 2 ;
reconsider a = a, b = b, c = c as strict FormalConcept of C by Th31;
(B-meet C) . (a,((B-meet C) . (b,c))) = (B-meet C) . (((B-meet C) . (a,b)),c) by Th34;
hence a "/\" (b "/\" c) = (a "/\" b) "/\" c by A7, A8; :: thesis: verum
end;
A9: for a, b being Element of L holds a "/\" b = b "/\" a
proof
let a, b be Element of L; :: thesis: a "/\" b = b "/\" a
A10: b "/\" a = (B-meet C) . (b,a) by LATTICES:def 2;
reconsider a = a, b = b as strict FormalConcept of C by Th31;
(B-meet C) . (a,b) = (B-meet C) . (b,a) by Th32;
hence a "/\" b = b "/\" a by A10, LATTICES:def 2; :: thesis: verum
end;
A11: for a, b being Element of L holds a "/\" (a "\/" b) = a
proof
let a, b be Element of L; :: thesis: a "/\" (a "\/" b) = a
reconsider a = a, b = b as Element of B-carrier C ;
reconsider d = (B-join C) . (a,b) as Element of L ;
reconsider a = a, b = b as Element of L ;
A12: a "/\" (a "\/" b) = a "/\" d by LATTICES:def 1
.= (B-meet C) . (a,((B-join C) . (a,b))) by LATTICES:def 2 ;
reconsider a = a, b = b as strict FormalConcept of C by Th31;
(B-meet C) . (a,((B-join C) . (a,b))) = a by Th37;
hence a "/\" (a "\/" b) = a by A12; :: thesis: verum
end;
for a, b being Element of L holds a "\/" b = b "\/" a
proof
let a, b be Element of L; :: thesis: a "\/" b = b "\/" a
A13: b "\/" a = (B-join C) . (b,a) by LATTICES:def 1;
reconsider a = a, b = b as strict FormalConcept of C by Th31;
(B-join C) . (a,b) = (B-join C) . (b,a) by Th33;
hence a "\/" b = b "\/" a by A13, LATTICES:def 1; :: thesis: verum
end;
then ( L is join-commutative & L is join-associative & L is meet-absorbing & L is meet-commutative & L is meet-associative & L is join-absorbing ) by A1, A4, A9, A6, A11, LATTICES:def 4, LATTICES:def 5, LATTICES:def 6, LATTICES:def 7, LATTICES:def 8, LATTICES:def 9;
hence ConceptLattice C is Lattice ; :: thesis: verum