let R be non empty RelStr ; :: thesis: ( 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
; :: thesis: ( ( 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 IR' = the InternalRel of (R \~ );
hereby :: thesis: ( ( for N being non empty Subset of R holds card (min-classes N) = 1 ) implies ( R is connected & R \~ is well_founded ) )
assume A2:
(
R is
connected &
R \~ is
well_founded )
;
:: thesis: 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;
:: thesis: card (min-classes N) = 1consider x being
set such that A3:
x in min-classes N
by A2, Th21;
consider a being
Element of
(R \~ ) such that A4:
a is_minimal_wrt N,the
InternalRel of
(R \~ )
and A5:
x = (Class (EqRel R),a) /\ N
by A3, Def8;
A6:
(
a in N & ( for
b being
Element of
(R \~ ) holds
( not
b in N or not
b <> a or not
[b,a] in the
InternalRel of
(R \~ ) ) ) )
by A4, WAYBEL_4:def 26;
now let y be
set ;
:: thesis: ( ( y in min-classes N implies y in {x} ) & ( y in {x} implies y in min-classes N ) )hereby :: thesis: ( y in {x} implies y in min-classes N )
assume
y in min-classes N
;
:: thesis: y in {x}then consider b being
Element of
(R \~ ) such that A7:
b is_minimal_wrt N,the
InternalRel of
(R \~ )
and A8:
y = (Class (EqRel R),b) /\ N
by Def8;
A9:
(
b in N & ( for
a being
Element of
(R \~ ) holds
( not
a in N or not
a <> b or not
[a,b] in the
InternalRel of
(R \~ ) ) ) )
by A7, WAYBEL_4:def 26;
reconsider a' =
a as
Element of
R ;
reconsider b' =
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 A10, XBOOLE_0:def 4;
then
[b,a] in EqRel R
by A1, Def4;
then
b in Class (EqRel R),
a
by EQREL_1:27;
then
Class (EqRel R),
b = Class (EqRel R),
a
by EQREL_1:31;
hence
y in {x}
by A5, A8, TARSKI:def 1;
:: thesis: verum
end; assume
y in {x}
;
:: thesis: y in min-classes Nthen
y = (Class (EqRel R),a) /\ N
by A5, TARSKI:def 1;
hence
y in min-classes N
by A4, Def8;
:: thesis: verum end; then
min-classes N = {x}
by TARSKI:2;
hence
card (min-classes N) = 1
by CARD_1:50;
:: thesis: verum
end;
assume A17:
for N being non empty Subset of R holds card (min-classes N) = 1
; :: thesis: ( R is connected & R \~ is well_founded )
now let a,
b be
Element of
R;
:: thesis: ( not a <= b implies a >= b )assume A18:
( not
a <= b & not
a >= b )
;
:: thesis: contradictionthen A19:
not
[a,b] in the
InternalRel of
R
by ORDERS_2:def 9;
then A20:
not
[b,a] in the
InternalRel of
R ~
by RELAT_1:def 7;
not
[b,a] in the
InternalRel of
R
by A18, ORDERS_2:def 9;
then A21:
not
[a,b] in the
InternalRel of
R ~
by RELAT_1:def 7;
set N' =
{a,b};
set MCN =
{{a},{b}};
now let x be
set ;
:: thesis: ( ( x in min-classes {a,b} implies x in {{a},{b}} ) & ( x in {{a},{b}} implies b1 in min-classes {a,b} ) )hereby :: thesis: ( x in {{a},{b}} implies b1 in min-classes {a,b} )
assume
x in min-classes {a,b}
;
:: thesis: x in {{a},{b}}then consider y being
Element of
(R \~ ) such that A22:
y is_minimal_wrt {a,b},the
InternalRel of
(R \~ )
and A23:
x = (Class (EqRel R),y) /\ {a,b}
by Def8;
A24:
(
y in {a,b} & ( for
z being
Element of
(R \~ ) holds
( not
z in {a,b} or not
z <> y or not
[z,y] in the
InternalRel of
(R \~ ) ) ) )
by A22, WAYBEL_4:def 26;
end; assume A33:
x in {{a},{b}}
;
:: thesis: b1 in min-classes {a,b}per cases
( x = {a} or x = {b} )
by A33, TARSKI:def 2;
suppose A34:
x = {a}
;
:: thesis: b1 in min-classes {a,b}now reconsider a' =
a as
Element of
(R \~ ) ;
take a' =
a';
:: thesis: ( a' is_minimal_wrt {a,b},the InternalRel of (R \~ ) & x = (Class (EqRel R),a') /\ {a,b} )A35:
a' in {a,b}
by TARSKI:def 2;
hence
a' is_minimal_wrt {a,b},the
InternalRel of
(R \~ )
by A35, WAYBEL_4:def 26;
:: thesis: x = (Class (EqRel R),a') /\ {a,b}hence
x = (Class (EqRel R),a') /\ {a,b}
by TARSKI:2;
:: thesis: verum end; hence
x in min-classes {a,b}
by Def8;
:: thesis: verum end; suppose A40:
x = {b}
;
:: thesis: b1 in min-classes {a,b}now reconsider b' =
b as
Element of
(R \~ ) ;
take b' =
b';
:: thesis: ( b' is_minimal_wrt {a,b},the InternalRel of (R \~ ) & x = (Class (EqRel R),b') /\ {a,b} )A41:
b' in {a,b}
by TARSKI:def 2;
hence
b' is_minimal_wrt {a,b},the
InternalRel of
(R \~ )
by A41, WAYBEL_4:def 26;
:: thesis: x = (Class (EqRel R),b') /\ {a,b}hence
x = (Class (EqRel R),b') /\ {a,b}
by TARSKI:2;
:: thesis: verum end; hence
x in min-classes {a,b}
by Def8;
:: thesis: verum end; end; end; then
min-classes {a,b} = {{a},{b}}
by TARSKI:2;
then A46:
card {{a},{b}} = 1
by A17;
hence
contradiction
by A46, CARD_2:76;
:: thesis: verum end;
hence
R is connected
by WAYBEL_0:def 29; :: thesis: R \~ is well_founded
hence
R \~ is well_founded
by Th21; :: thesis: verum