let X be finite set ; for F being Dependency-set of X
for K being Subset of X st F = { [A,B] where A, B is Subset of X : ( K c= A or B c= A ) } holds
{[K,X]} \/ { [A,A] where A is Subset of X : not K c= A } = Maximal_wrt F
let F be Dependency-set of X; for K being Subset of X st F = { [A,B] where A, B is Subset of X : ( K c= A or B c= A ) } holds
{[K,X]} \/ { [A,A] where A is Subset of X : not K c= A } = Maximal_wrt F
let K be Subset of X; ( F = { [A,B] where A, B is Subset of X : ( K c= A or B c= A ) } implies {[K,X]} \/ { [A,A] where A is Subset of X : not K c= A } = Maximal_wrt F )
set M = {[K,X]} \/ { [A,A] where A is Subset of X : not K c= A } ;
A1:
{[K,X]} c= {[K,X]} \/ { [A,A] where A is Subset of X : not K c= A }
by XBOOLE_1:7;
A2:
now let A be
Subset of
X;
( not K c= A implies [A,A] in {[K,X]} \/ { [A,A] where A is Subset of X : not K c= A } )assume
not
K c= A
;
[A,A] in {[K,X]} \/ { [A,A] where A is Subset of X : not K c= A } then A3:
[A,A] in { [a,a] where a is Subset of X : not K c= a }
;
{ [a,a] where a is Subset of X : not K c= a } c= {[K,X]} \/ { [A,A] where A is Subset of X : not K c= A }
by XBOOLE_1:7;
hence
[A,A] in {[K,X]} \/ { [A,A] where A is Subset of X : not K c= A }
by A3;
verum end;
A4:
[#] X = X
;
A5:
{[K,X]} \/ { [A,A] where A is Subset of X : not K c= A } c= [:(bool X),(bool X):]
A7:
now let A,
B be
Subset of
X;
( not [A,B] in {[K,X]} \/ { [A,A] where A is Subset of X : not K c= A } or [b1,b2] = [K,X] or ( not K c= b1 & b1 = b2 ) )assume A8:
[A,B] in {[K,X]} \/ { [A,A] where A is Subset of X : not K c= A }
;
( [b1,b2] = [K,X] or ( not K c= b1 & b1 = b2 ) ) end;
reconsider M = {[K,X]} \/ { [A,A] where A is Subset of X : not K c= A } as Dependency-set of X by A5;
set FF = { [A,B] where A, B is Subset of X : ex A9, B9 being Subset of X st
( [A9,B9] >= [A,B] & [A9,B9] in M ) } ;
A11:
{ [A,B] where A, B is Subset of X : ex A9, B9 being Subset of X st
( [A9,B9] >= [A,B] & [A9,B9] in M ) } c= [:(bool X),(bool X):]
proof
let x be
set ;
TARSKI:def 3 ( not x in { [A,B] where A, B is Subset of X : ex A9, B9 being Subset of X st
( [A9,B9] >= [A,B] & [A9,B9] in M ) } or x in [:(bool X),(bool X):] )
assume
x in { [A,B] where A, B is Subset of X : ex A9, B9 being Subset of X st
( [A9,B9] >= [A,B] & [A9,B9] in M ) }
;
x in [:(bool X),(bool X):]
then
ex
A,
B being
Subset of
X st
(
x = [A,B] & ex
A9,
B9 being
Subset of
X st
(
[A9,B9] >= [A,B] &
[A9,B9] in M ) )
;
hence
x in [:(bool X),(bool X):]
;
verum
end;
A12:
M is (M2)
proof
let A,
B,
A9,
B9 be
Subset of
X;
ARMSTRNG:def 19 ( [A,B] in M & [A9,B9] in M & [A,B] >= [A9,B9] implies ( A = A9 & B = B9 ) )
assume that A13:
[A,B] in M
and A14:
[A9,B9] in M
and A15:
[A,B] >= [A9,B9]
;
( A = A9 & B = B9 )
A16:
A c= A9
by A15, Th15;
A17:
B9 c= B
by A15, Th15;
end;
reconsider FF = { [A,B] where A, B is Subset of X : ex A9, B9 being Subset of X st
( [A9,B9] >= [A,B] & [A9,B9] in M ) } as Dependency-set of X by A11;
assume A20:
F = { [A,B] where A, B is Subset of X : ( K c= A or B c= A ) }
; {[K,X]} \/ { [A,A] where A is Subset of X : not K c= A } = Maximal_wrt F
A21:
now let x be
set ;
( ( x in F implies x in FF ) & ( x in FF implies b1 in F ) )hereby ( x in FF implies b1 in F )
end; assume
x in FF
;
b1 in Fthen consider A,
B being
Subset of
X such that A29:
x = [A,B]
and A30:
ex
A9,
B9 being
Subset of
X st
(
[A9,B9] >= [A,B] &
[A9,B9] in M )
;
consider A9,
B9 being
Subset of
X such that A31:
[A9,B9] >= [A,B]
and A32:
[A9,B9] in M
by A30;
per cases
( [A9,B9] in {[K,X]} or [A9,B9] in { [a,a] where a is Subset of X : not K c= a } )
by A32, XBOOLE_0:def 3;
suppose
[A9,B9] in { [a,a] where a is Subset of X : not K c= a }
;
b1 in Fthen consider a being
Subset of
X such that A33:
[A9,B9] = [a,a]
and
not
K c= a
;
A34:
A9 = a
by A33, ZFMISC_1:27;
A35:
B9 = a
by A33, ZFMISC_1:27;
A36:
B c= B9
by A31, Th15;
A9 c= A
by A31, Th15;
then
B c= A
by A34, A35, A36, XBOOLE_1:1;
hence
x in F
by A20, A29;
verum end; end; end;
A37:
M is (M3)
A42:
[K,X] in {[K,X]}
by TARSKI:def 1;
M is (M1)
proof
let A be
Subset of
X;
ARMSTRNG:def 18 ex A9, B9 being Subset of X st
( [A9,B9] >= [A,A] & [A9,B9] in M )
per cases
( K c= A or not K c= A )
;
suppose A43:
K c= A
;
ex A9, B9 being Subset of X st
( [A9,B9] >= [A,A] & [A9,B9] in M )take A9 =
K;
ex B9 being Subset of X st
( [A9,B9] >= [A,A] & [A9,B9] in M )take B9 =
[#] X;
( [A9,B9] >= [A,A] & [A9,B9] in M )thus
[A9,B9] >= [A,A]
by A43, Th15;
[A9,B9] in Mthus
[A9,B9] in M
by A42, A1;
verum end; suppose A44:
not
K c= A
;
ex A9, B9 being Subset of X st
( [A9,B9] >= [A,A] & [A9,B9] in M )take A9 =
A;
ex B9 being Subset of X st
( [A9,B9] >= [A,A] & [A9,B9] in M )take B9 =
A;
( [A9,B9] >= [A,A] & [A9,B9] in M )thus
[A9,B9] >= [A,A]
;
[A9,B9] in Mthus
[A9,B9] in M
by A2, A44;
verum end; end;
end;
then
M = Maximal_wrt FF
by A12, A37, Th31;
hence
{[K,X]} \/ { [A,A] where A is Subset of X : not K c= A } = Maximal_wrt F
by A21, TARSKI:1; verum