let f, g be FinSequence of CQC-WFF ; :: thesis: ( Ant f is_Subsequence_of Ant g & Suc f = Suc g & |- f implies |- g )
assume that
A1: ( Ant f is_Subsequence_of Ant g & Suc f = Suc g ) and
A2: |- f ; :: thesis: |- g
consider PR being FinSequence of [:set_of_CQC-WFF-seq,Proof_Step_Kinds:] such that
A3: PR is a_proof and
A4: (PR . (len PR)) `1 = f by A2, Def9;
A5: g in set_of_CQC-WFF-seq by Def6;
now end;
then rng <*[g,2]*> c= [:set_of_CQC-WFF-seq,Proof_Step_Kinds:] by TARSKI:def 3;
then reconsider PR1 = <*[g,2]*> as FinSequence of [:set_of_CQC-WFF-seq,Proof_Step_Kinds:] by FINSEQ_1:def 4;
1 in Seg 1 by FINSEQ_1:2, TARSKI:def 1;
then A6: 1 in dom PR1 by FINSEQ_1:38;
set PR2 = PR ^ PR1;
reconsider PR2 = PR ^ PR1 as FinSequence of [:set_of_CQC-WFF-seq,Proof_Step_Kinds:] ;
A7: PR <> {} by A3, Def8;
now end;
then A19: PR2 is a_proof by Def8;
PR2 . (len PR2) = PR2 . ((len PR) + (len PR1)) by FINSEQ_1:22;
then PR2 . (len PR2) = PR2 . ((len PR) + 1) by FINSEQ_1:39;
then PR2 . (len PR2) = PR1 . 1 by A6, FINSEQ_1:def 7;
then PR2 . (len PR2) = [g,2] by FINSEQ_1:40;
then (PR2 . (len PR2)) `1 = g by MCART_1:7;
hence |- g by A19, Def9; :: thesis: verum