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 ]
proof
let A be finite Subset of Rat-Module; :: thesis: ( card A = 0 implies rank (Lin A) <= 1 )
assume B1: card A = 0 ; :: thesis: rank (Lin A) <= 1
A = {} the carrier of Rat-Module by B1;
then Lin A = (0). Rat-Module by ZMODUL02:67
.= (0). (Lin A) by ZMODUL01:51 ;
then (Omega). (Lin A) = (0). (Lin A) ;
hence rank (Lin A) <= 1 by ZMODUL05:1; :: thesis: verum
end;
A2: for n being Nat st S1[n] holds
S1[n + 1]
proof
let n be Nat; :: thesis: ( S1[n] implies S1[n + 1] )
assume B1: S1[n] ; :: thesis: S1[n + 1]
let A be finite Subset of Rat-Module; :: thesis: ( card A = n + 1 implies rank (Lin A) <= 1 )
assume B2: card A = n + 1 ; :: thesis: 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})) = 0 ; :: thesis: rank (Lin A) <= 1
end;
suppose rank (Lin (A \ {x})) = 1 ; :: thesis: rank (Lin A) <= 1
then 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 ) ) ;
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; :: thesis: rank (Lin A) <= 1
set n = card A;
S1[ card A] by A3;
hence rank (Lin A) <= 1 ; :: thesis: verum