let V be RealLinearSpace; :: thesis: for v being VECTOR of V
for A being Subset of V holds
( A \/ {v} is affinely-independent iff ( A is affinely-independent & ( v in A or not v in Affin A ) ) )

let v be VECTOR of V; :: thesis: for A being Subset of V holds
( A \/ {v} is affinely-independent iff ( A is affinely-independent & ( v in A or not v in Affin A ) ) )

let A be Subset of V; :: thesis: ( A \/ {v} is affinely-independent iff ( A is affinely-independent & ( v in A or not v in Affin A ) ) )
set Av = A \/ {v};
v in {v} by TARSKI:def 1;
then A1: v in A \/ {v} by XBOOLE_0:def 3;
A2: A c= A \/ {v} by XBOOLE_1:7;
hereby :: thesis: ( A is affinely-independent & ( v in A or not v in Affin A ) implies A \/ {v} is affinely-independent )
assume A3: A \/ {v} is affinely-independent ; :: thesis: ( A is affinely-independent & ( v in A or not v in Affin A ) )
hence A is affinely-independent by Th43, XBOOLE_1:7; :: thesis: ( v in A or not v in Affin A )
( v in Affin A implies v in A )
proof
assume v in Affin A ; :: thesis: v in A
then {v} c= Affin A by ZFMISC_1:31;
then Affin (A \/ {v}) = Affin A by Th69;
hence v in A by A2, A1, A3, Th58; :: thesis: verum
end;
hence ( v in A or not v in Affin A ) ; :: thesis: verum
end;
assume that
A4: A is affinely-independent and
A5: ( v in A or not v in Affin A ) ; :: thesis: A \/ {v} is affinely-independent
per cases ( v in A or ( not v in Affin A & not v in A ) ) by A5;
end;