let R be non empty RelStr ; ( R is quasi_ordered implies ( ( R is connected & R \~ is well_founded ) iff for N being non empty Subset of R holds card (min-classes N) = 1 ) )
assume A1:
R is quasi_ordered
; ( ( R is connected & R \~ is well_founded ) iff for N being non empty Subset of R holds card (min-classes N) = 1 )
set IR = the InternalRel of R;
set CR = the carrier of R;
set IR9 = the InternalRel of (R \~);
hereby ( ( for N being non empty Subset of R holds card (min-classes N) = 1 ) implies ( R is connected & R \~ is well_founded ) )
assume that A2:
R is
connected
and A3:
R \~ is
well_founded
;
for N being non empty Subset of the carrier of R holds card (min-classes N) = 1let N be non
empty Subset of the
carrier of
R;
card (min-classes N) = 1consider x being
object such that A4:
x in min-classes N
by A3, Th19;
consider a being
Element of
(R \~) such that A5:
a is_minimal_wrt N, the
InternalRel of
(R \~)
and A6:
x = (Class ((EqRel R),a)) /\ N
by A4, Def8;
A7:
a in N
by A5, WAYBEL_4:def 25;
now for y being object holds
( ( y in min-classes N implies y in {x} ) & ( y in {x} implies y in min-classes N ) )let y be
object ;
( ( y in min-classes N implies y in {x} ) & ( y in {x} implies y in min-classes N ) )hereby ( y in {x} implies y in min-classes N )
assume
y in min-classes N
;
y in {x}then consider b being
Element of
(R \~) such that A8:
b is_minimal_wrt N, the
InternalRel of
(R \~)
and A9:
y = (Class ((EqRel R),b)) /\ N
by Def8;
A10:
b in N
by A8, WAYBEL_4:def 25;
reconsider a9 =
a as
Element of
R ;
reconsider b9 =
b as
Element of
R ;
then
[b,a] in the
InternalRel of
R ~
by RELAT_1:def 7;
then
[b,a] in the
InternalRel of
R /\ ( the InternalRel of R ~)
by A11, XBOOLE_0:def 4;
then
[b,a] in EqRel R
by A1, Def4;
then
b in Class (
(EqRel R),
a)
by EQREL_1:19;
then
Class (
(EqRel R),
b)
= Class (
(EqRel R),
a)
by EQREL_1:23;
hence
y in {x}
by A6, A9, TARSKI:def 1;
verum
end; assume
y in {x}
;
y in min-classes Nthen
y = (Class ((EqRel R),a)) /\ N
by A6, TARSKI:def 1;
hence
y in min-classes N
by A5, Def8;
verum end; then
min-classes N = {x}
by TARSKI:2;
hence
card (min-classes N) = 1
by CARD_1:30;
verum
end;
assume A18:
for N being non empty Subset of R holds card (min-classes N) = 1
; ( R is connected & R \~ is well_founded )
now for a, b being Element of R st not a <= b holds
a >= blet a,
b be
Element of
R;
( not a <= b implies a >= b )assume that A19:
not
a <= b
and A20:
not
a >= b
;
contradictionA21:
not
[a,b] in the
InternalRel of
R
by A19;
then A22:
not
[b,a] in the
InternalRel of
R ~
by RELAT_1:def 7;
not
[b,a] in the
InternalRel of
R
by A20;
then A23:
not
[a,b] in the
InternalRel of
R ~
by RELAT_1:def 7;
set N9 =
{a,b};
set MCN =
{{a},{b}};
now for x being object holds
( ( x in min-classes {a,b} implies x in {{a},{b}} ) & ( x in {{a},{b}} implies x in min-classes {a,b} ) )let x be
object ;
( ( x in min-classes {a,b} implies x in {{a},{b}} ) & ( x in {{a},{b}} implies b1 in min-classes {a,b} ) )reconsider xx =
x as
set by TARSKI:1;
assume A39:
x in {{a},{b}}
;
b1 in min-classes {a,b}per cases
( x = {a} or x = {b} )
by A39, TARSKI:def 2;
suppose A40:
x = {a}
;
b1 in min-classes {a,b}now ex a9 being Element of (R \~) st
( a9 is_minimal_wrt {a,b}, the InternalRel of (R \~) & x = (Class ((EqRel R),a9)) /\ {a,b} )reconsider a9 =
a as
Element of
(R \~) ;
take a9 =
a9;
( a9 is_minimal_wrt {a,b}, the InternalRel of (R \~) & x = (Class ((EqRel R),a9)) /\ {a,b} )A41:
a9 in {a,b}
by TARSKI:def 2;
hence
a9 is_minimal_wrt {a,b}, the
InternalRel of
(R \~)
by A41, WAYBEL_4:def 25;
x = (Class ((EqRel R),a9)) /\ {a,b}hence
x = (Class ((EqRel R),a9)) /\ {a,b}
by TARSKI:2;
verum end; hence
x in min-classes {a,b}
by Def8;
verum end; suppose A49:
x = {b}
;
b1 in min-classes {a,b}now ex b9 being Element of (R \~) st
( b9 is_minimal_wrt {a,b}, the InternalRel of (R \~) & x = (Class ((EqRel R),b9)) /\ {a,b} )reconsider b9 =
b as
Element of
(R \~) ;
take b9 =
b9;
( b9 is_minimal_wrt {a,b}, the InternalRel of (R \~) & x = (Class ((EqRel R),b9)) /\ {a,b} )A50:
b9 in {a,b}
by TARSKI:def 2;
hence
b9 is_minimal_wrt {a,b}, the
InternalRel of
(R \~)
by A50, WAYBEL_4:def 25;
x = (Class ((EqRel R),b9)) /\ {a,b}hence
x = (Class ((EqRel R),b9)) /\ {a,b}
by TARSKI:2;
verum end; hence
x in min-classes {a,b}
by Def8;
verum end; end; end; then
min-classes {a,b} = {{a},{b}}
by TARSKI:2;
then A58:
card {{a},{b}} = 1
by A18;
hence
contradiction
by A58, CARD_2:57;
verum end;
hence
R is connected
by WAYBEL_0:def 29; R \~ is well_founded
hence
R \~ is well_founded
by Th19; verum