set ZS = Rat-Module ;
defpred S1[ Nat] means for A being finite Subset of Rat-Module st card A = $1 holds
rank (Lin A) <= 1;
A1:
S1[ 0 ]
A2:
for n being Nat st S1[n] holds
S1[n + 1]
proof
let n be
Nat;
( S1[n] implies S1[n + 1] )
assume B1:
S1[
n]
;
S1[n + 1]
let A be
finite Subset of
Rat-Module;
( card A = n + 1 implies rank (Lin A) <= 1 )
assume B2:
card A = n + 1
;
rank (Lin A) <= 1
A <> {}
by B2;
then consider x being
object such that B3:
x in A
by XBOOLE_0:7;
reconsider x =
x as
VECTOR of
Rat-Module by B3;
B5:
card (A \ {x}) =
(card A) - (card {x})
by B3, ZFMISC_1:31, CARD_2:44
.=
(n + 1) - 1
by B2, CARD_1:30
.=
n
;
B6:
(Lin (A \ {x})) + (Lin {x}) =
Lin ((A \ {x}) \/ {x})
by ZMODUL02:72
.=
Lin (A \/ {x})
by XBOOLE_1:39
.=
Lin A
by B3, ZFMISC_1:40
;
per cases
( rank (Lin (A \ {x})) = 0 or rank (Lin (A \ {x})) = 1 )
by B1, B5, NAT_1:25;
suppose
rank (Lin (A \ {x})) = 1
;
rank (Lin A) <= 1then consider axl being
VECTOR of
(Lin (A \ {x})) such that C2:
(
axl <> 0. (Lin (A \ {x})) &
(Omega). (Lin (A \ {x})) = Lin {axl} )
by ZMODUL05:5;
reconsider ax =
axl as
VECTOR of
Rat-Module by ZMODUL01:25;
C3:
ax <> 0. Rat-Module
by C2, ZMODUL01:26;
C4:
Lin (A \ {x}) = Lin {ax}
by C2, ZMODUL03:20;
C5:
{ax} is
linearly-independent
by C3, ZMODUL02:59;
per cases
( x = 0. Rat-Module or x = ax or ( x <> 0. Rat-Module & x <> ax ) )
;
suppose D1:
(
x <> 0. Rat-Module &
x <> ax )
;
rank (Lin A) <= 1then D2:
{x} is
linearly-independent
by ZMODUL02:59;
{ax,x} is
linearly-dependent
by D1, LMThFRat32;
then D3:
{ax} \/ {x} is
linearly-dependent
by ENUMSET1:1;
{ax} /\ {x} = {}
by D1, XBOOLE_0:def 7, ZFMISC_1:11;
then D4:
(Lin {ax}) /\ (Lin {x}) <> (0). Rat-Module
by C5, D2, D3, ZMODUL06:23;
consider y being
VECTOR of
Rat-Module such that D5:
(
y <> 0. Rat-Module &
(Lin {ax}) + (Lin {x}) = Lin {y} )
by C3, D1, D4, ZMODUL06:28;
D6:
y <> 0. (Lin A)
by D5, ZMODUL01:26;
y in Lin A
by B6, C4, D5, ZMODUL06:20;
then reconsider yy =
y as
VECTOR of
(Lin A) ;
(Omega). (Lin A) = Lin {yy}
by B6, C4, D5, ZMODUL03:20;
hence
rank (Lin A) <= 1
by D6, ZMODUL05:5;
verum end; end; end; end;
end;
A3:
for n being Nat holds S1[n]
from NAT_1:sch 2(A1, A2);
let A be finite Subset of Rat-Module; rank (Lin A) <= 1
set n = card A;
S1[ card A]
by A3;
hence
rank (Lin A) <= 1
; verum