:: NORMFORM semantic presentation
definition
let c1,
c2 be non
empty preBoolean set ;
let c3,
c4 be
Element of
[:c1,c2:];
pred c3 c= c4 means :: NORMFORM:def 1
(
a3 `1 c= a4 `1 &
a3 `2 c= a4 `2 );
reflexivity
for b1 being Element of [:c1,c2:] holds
( b1 `1 c= b1 `1 & b1 `2 c= b1 `2 )
;
func c3 \/ c4 -> Element of
[:a1,a2:] equals :: NORMFORM:def 2
[((a3 `1 ) \/ (a4 `1 )),((a3 `2 ) \/ (a4 `2 ))];
correctness
coherence
[((c3 `1 ) \/ (c4 `1 )),((c3 `2 ) \/ (c4 `2 ))] is Element of [:c1,c2:];
;
commutativity
for b1, b2, b3 being Element of [:c1,c2:] st b1 = [((b2 `1 ) \/ (b3 `1 )),((b2 `2 ) \/ (b3 `2 ))] holds
b1 = [((b3 `1 ) \/ (b2 `1 )),((b3 `2 ) \/ (b2 `2 ))]
;
idempotence
for b1 being Element of [:c1,c2:] holds b1 = [((b1 `1 ) \/ (b1 `1 )),((b1 `2 ) \/ (b1 `2 ))]
by MCART_1:23;
func c3 /\ c4 -> Element of
[:a1,a2:] equals :: NORMFORM:def 3
[((a3 `1 ) /\ (a4 `1 )),((a3 `2 ) /\ (a4 `2 ))];
correctness
coherence
[((c3 `1 ) /\ (c4 `1 )),((c3 `2 ) /\ (c4 `2 ))] is Element of [:c1,c2:];
;
commutativity
for b1, b2, b3 being Element of [:c1,c2:] st b1 = [((b2 `1 ) /\ (b3 `1 )),((b2 `2 ) /\ (b3 `2 ))] holds
b1 = [((b3 `1 ) /\ (b2 `1 )),((b3 `2 ) /\ (b2 `2 ))]
;
idempotence
for b1 being Element of [:c1,c2:] holds b1 = [((b1 `1 ) /\ (b1 `1 )),((b1 `2 ) /\ (b1 `2 ))]
by MCART_1:23;
func c3 \ c4 -> Element of
[:a1,a2:] equals :: NORMFORM:def 4
[((a3 `1 ) \ (a4 `1 )),((a3 `2 ) \ (a4 `2 ))];
correctness
coherence
[((c3 `1 ) \ (c4 `1 )),((c3 `2 ) \ (c4 `2 ))] is Element of [:c1,c2:];
;
func c3 \+\ c4 -> Element of
[:a1,a2:] equals :: NORMFORM:def 5
[((a3 `1 ) \+\ (a4 `1 )),((a3 `2 ) \+\ (a4 `2 ))];
correctness
coherence
[((c3 `1 ) \+\ (c4 `1 )),((c3 `2 ) \+\ (c4 `2 ))] is Element of [:c1,c2:];
;
commutativity
for b1, b2, b3 being Element of [:c1,c2:] st b1 = [((b2 `1 ) \+\ (b3 `1 )),((b2 `2 ) \+\ (b3 `2 ))] holds
b1 = [((b3 `1 ) \+\ (b2 `1 )),((b3 `2 ) \+\ (b2 `2 ))]
;
end;
:: deftheorem Def1 defines c= NORMFORM:def 1 :
:: deftheorem Def2 defines \/ NORMFORM:def 2 :
:: deftheorem Def3 defines /\ NORMFORM:def 3 :
:: deftheorem Def4 defines \ NORMFORM:def 4 :
:: deftheorem Def5 defines \+\ NORMFORM:def 5 :
theorem Th1: :: NORMFORM:1
canceled;
theorem Th2: :: NORMFORM:2
canceled;
theorem Th3: :: NORMFORM:3
canceled;
theorem Th4: :: NORMFORM:4
theorem Th5: :: NORMFORM:5
theorem Th6: :: NORMFORM:6
canceled;
theorem Th7: :: NORMFORM:7
canceled;
theorem Th8: :: NORMFORM:8
canceled;
theorem Th9: :: NORMFORM:9
canceled;
theorem Th10: :: NORMFORM:10
theorem Th11: :: NORMFORM:11
theorem Th12: :: NORMFORM:12
theorem Th13: :: NORMFORM:13
theorem Th14: :: NORMFORM:14
canceled;
theorem Th15: :: NORMFORM:15
canceled;
theorem Th16: :: NORMFORM:16
theorem Th17: :: NORMFORM:17
canceled;
theorem Th18: :: NORMFORM:18
canceled;
theorem Th19: :: NORMFORM:19
theorem Th20: :: NORMFORM:20
theorem Th21: :: NORMFORM:21
theorem Th22: :: NORMFORM:22
theorem Th23: :: NORMFORM:23
canceled;
theorem Th24: :: NORMFORM:24
theorem Th25: :: NORMFORM:25
theorem Th26: :: NORMFORM:26
theorem Th27: :: NORMFORM:27
theorem Th28: :: NORMFORM:28
theorem Th29: :: NORMFORM:29
theorem Th30: :: NORMFORM:30
theorem Th31: :: NORMFORM:31
definition
let c1 be
set ;
func FinPairUnion c1 -> BinOp of
[:(Fin a1),(Fin a1):] means :
Def6:
:: NORMFORM:def 6
for
b1,
b2 being
Element of
[:(Fin a1),(Fin a1):] holds
a2 . b1,
b2 = b1 \/ b2;
existence
ex b1 being BinOp of [:(Fin c1),(Fin c1):] st
for b2, b3 being Element of [:(Fin c1),(Fin c1):] holds b1 . b2,b3 = b2 \/ b3
uniqueness
for b1, b2 being BinOp of [:(Fin c1),(Fin c1):] st ( for b3, b4 being Element of [:(Fin c1),(Fin c1):] holds b1 . b3,b4 = b3 \/ b4 ) & ( for b3, b4 being Element of [:(Fin c1),(Fin c1):] holds b2 . b3,b4 = b3 \/ b4 ) holds
b1 = b2
end;
:: deftheorem Def6 defines FinPairUnion NORMFORM:def 6 :
:: deftheorem Def7 defines FinPairUnion NORMFORM:def 7 :
Lemma14:
for b1 being set holds FinPairUnion b1 is idempotent
Lemma15:
for b1 being set holds FinPairUnion b1 is commutative
Lemma16:
for b1 being set holds FinPairUnion b1 is associative
theorem Th32: :: NORMFORM:32
canceled;
theorem Th33: :: NORMFORM:33
canceled;
theorem Th34: :: NORMFORM:34
canceled;
theorem Th35: :: NORMFORM:35
theorem Th36: :: NORMFORM:36
theorem Th37: :: NORMFORM:37
theorem Th38: :: NORMFORM:38
theorem Th39: :: NORMFORM:39
theorem Th40: :: NORMFORM:40
theorem Th41: :: NORMFORM:41
:: deftheorem Def8 defines DISJOINT_PAIRS NORMFORM:def 8 :
theorem Th42: :: NORMFORM:42
theorem Th43: :: NORMFORM:43
theorem Th44: :: NORMFORM:44
theorem Th45: :: NORMFORM:45
theorem Th46: :: NORMFORM:46
theorem Th47: :: NORMFORM:47
theorem Th48: :: NORMFORM:48
canceled;
theorem Th49: :: NORMFORM:49
theorem Th50: :: NORMFORM:50
Lemma24:
for b1 being set holds {} in { b2 where B is Element of Fin (DISJOINT_PAIRS b1) : for b1, b2 being Element of DISJOINT_PAIRS b1 st b3 in b2 & b4 in b2 & b3 c= b4 holds
b3 = b4 }
:: deftheorem Def9 defines Normal_forms_on NORMFORM:def 9 :
theorem Th51: :: NORMFORM:51
theorem Th52: :: NORMFORM:52
theorem Th53: :: NORMFORM:53
:: deftheorem Def10 defines mi NORMFORM:def 10 :
:: deftheorem Def11 defines ^ NORMFORM:def 11 :
theorem Th54: :: NORMFORM:54
canceled;
theorem Th55: :: NORMFORM:55
theorem Th56: :: NORMFORM:56
theorem Th57: :: NORMFORM:57
canceled;
theorem Th58: :: NORMFORM:58
theorem Th59: :: NORMFORM:59
theorem Th60: :: NORMFORM:60
theorem Th61: :: NORMFORM:61
Lemma32:
for b1 being set
for b2, b3 being Element of Fin (DISJOINT_PAIRS b1) st ( for b4 being Element of DISJOINT_PAIRS b1 st b4 in b2 holds
b4 in b3 ) holds
b2 c= b3
theorem Th62: :: NORMFORM:62
canceled;
theorem Th63: :: NORMFORM:63
canceled;
theorem Th64: :: NORMFORM:64
theorem Th65: :: NORMFORM:65
theorem Th66: :: NORMFORM:66
theorem Th67: :: NORMFORM:67
theorem Th68: :: NORMFORM:68
theorem Th69: :: NORMFORM:69
theorem Th70: :: NORMFORM:70
Lemma39:
for b1 being set
for b2 being Element of DISJOINT_PAIRS b1
for b3, b4 being Element of Fin (DISJOINT_PAIRS b1) st b2 in b3 ^ b4 holds
ex b5 being Element of DISJOINT_PAIRS b1 st
( b5 c= b2 & b5 in (mi b3) ^ b4 )
theorem Th71: :: NORMFORM:71
theorem Th72: :: NORMFORM:72
theorem Th73: :: NORMFORM:73
theorem Th74: :: NORMFORM:74
theorem Th75: :: NORMFORM:75
theorem Th76: :: NORMFORM:76
theorem Th77: :: NORMFORM:77
Lemma47:
for b1 being set
for b2 being Element of DISJOINT_PAIRS b1
for b3, b4 being Element of Fin (DISJOINT_PAIRS b1) st b2 in b3 ^ b4 holds
ex b5 being Element of DISJOINT_PAIRS b1 st
( b5 in b4 & b5 c= b2 )
Lemma48:
for b1 being set
for b2, b3 being Element of Normal_forms_on b1 holds mi ((b2 ^ b3) \/ b3) = mi b3
theorem Th78: :: NORMFORM:78
theorem Th79: :: NORMFORM:79
definition
let c1 be
set ;
canceled;canceled;func NormForm c1 -> strict LattStr means :
Def14:
:: NORMFORM:def 14
( the
carrier of
a2 = Normal_forms_on a1 & ( for
b1,
b2 being
Element of
Normal_forms_on a1 holds
( the
L_join of
a2 . b1,
b2 = mi (b1 \/ b2) & the
L_meet of
a2 . b1,
b2 = mi (b1 ^ b2) ) ) );
existence
ex b1 being strict LattStr st
( the carrier of b1 = Normal_forms_on c1 & ( for b2, b3 being Element of Normal_forms_on c1 holds
( the L_join of b1 . b2,b3 = mi (b2 \/ b3) & the L_meet of b1 . b2,b3 = mi (b2 ^ b3) ) ) )
uniqueness
for b1, b2 being strict LattStr st the carrier of b1 = Normal_forms_on c1 & ( for b3, b4 being Element of Normal_forms_on c1 holds
( the L_join of b1 . b3,b4 = mi (b3 \/ b4) & the L_meet of b1 . b3,b4 = mi (b3 ^ b4) ) ) & the carrier of b2 = Normal_forms_on c1 & ( for b3, b4 being Element of Normal_forms_on c1 holds
( the L_join of b2 . b3,b4 = mi (b3 \/ b4) & the L_meet of b2 . b3,b4 = mi (b3 ^ b4) ) ) holds
b1 = b2
end;
:: deftheorem Def12 NORMFORM:def 12 :
canceled;
:: deftheorem Def13 NORMFORM:def 13 :
canceled;
:: deftheorem Def14 defines NormForm NORMFORM:def 14 :
Lemma52:
for b1 being set
for b2, b3 being Element of (NormForm b1) holds b2 "\/" b3 = b3 "\/" b2
Lemma53:
for b1 being set
for b2, b3, b4 being Element of (NormForm b1) holds b2 "\/" (b3 "\/" b4) = (b2 "\/" b3) "\/" b4
Lemma54:
for b1 being set
for b2, b3 being Element of Normal_forms_on b1 holds the L_join of (NormForm b1) . (the L_meet of (NormForm b1) . b2,b3),b3 = b3
Lemma55:
for b1 being set
for b2, b3 being Element of (NormForm b1) holds (b2 "/\" b3) "\/" b3 = b3
Lemma56:
for b1 being set
for b2, b3 being Element of (NormForm b1) holds b2 "/\" b3 = b3 "/\" b2
Lemma57:
for b1 being set
for b2, b3, b4 being Element of (NormForm b1) holds b2 "/\" (b3 "/\" b4) = (b2 "/\" b3) "/\" b4
Lemma58:
for b1 being set
for b2, b3, b4 being Element of Normal_forms_on b1 holds the L_meet of (NormForm b1) . b2,(the L_join of (NormForm b1) . b3,b4) = the L_join of (NormForm b1) . (the L_meet of (NormForm b1) . b2,b3),(the L_meet of (NormForm b1) . b2,b4)
Lemma59:
for b1 being set
for b2, b3 being Element of (NormForm b1) holds b2 "/\" (b2 "\/" b3) = b2
theorem Th80: :: NORMFORM:80
canceled;
theorem Th81: :: NORMFORM:81
canceled;
theorem Th82: :: NORMFORM:82
canceled;
theorem Th83: :: NORMFORM:83
canceled;
theorem Th84: :: NORMFORM:84
canceled;
theorem Th85: :: NORMFORM:85
theorem Th86: :: NORMFORM:86