Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  goedelcp.miz   Sprache: Mizar

 

:: G{\"o}del's Completeness Theorem
::  by Patrick Braselmann and Peter Koepke
::
:: Received September 25, 2004
:: Copyright (c) 2004-2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.

environ

 vocabularies NUMBERS, SUBSET_1, CQC_LANG, QC_LANG1, XBOOLE_0, VALUAT_1,
      FINSEQ_1, HENMODEL,             lin {x}&r in R_y & l >=CCr;
      CALCUL_1, ARYTM_3, RELAT_1, CARD_1, XXREAL_0, TARSKI, ZF_MODEL, CQC_SIM1,
      , SUBSTUT1,SUBSTUT2, ZF_LANG, ARYTM_1, CARD_3, ZFMISC_1,
      FINSET_1, MCART_1, GOEDELCP, NAT_1;
 notations TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, XCMPLX_0, XXREAL_0, ORDINAL1,
      CARD_1, CARD_3, FINSEQ_1, FUNCT_1, NAT_1, QC_LANG1, QC_LANG2, QC_LANG3,
      NUMBERS, CQC_LANG, RELAT_1, FINSET_1, VALUAT_1, RELSET_1, FUNCT_2,
      CQC_SIM1, DOMAIN_1, XTUPLE_0, XFAMILY, MCART_1, SUBSTUT1, SUBLEMMA,
      SUBSTUT2, CALCUL_1, HENMODEL;
 constructors SETFAM_1, DOMAIN_1, XXREAL_0, NAT_1, NAT_D, FINSEQ_2, QC_LANG3,
      CQC_SIM1, SUBSTUT2, CALCUL_1, HENMODEL, CARD_3, RELSET_1, XTUPLE_0,
           ot l >Rr byA56,A47A48java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
 registrations SUBSET_1, RELAT_1, ORDINAL1, XXREAL_0, XREAL_0, CQC_LANG,
      HENMODEL, FINSEQ_1, FINSET_1, CARD_3, RELSET_1, XTUPLE_0;
 requirements REAL, NUMERALS, SUBSET, BOOLE, ARITHM;
 definitions TARSKI, XBOOLE_0           then considerx1,y1beElement ofDayR,) such that
 equalities XBOOLE_0, ORDINAL1;
 expansions TARSKI, XBOOLE_0;
 theorems TARSKI, FUNCT_1, MCART_1, XBOOLE_0, XBOOLE_1, CQC_LANG, QC_LANG1,
      ZFMISC_1, QC_LANG3, QC_LANG2, HENMODEL, CALCUL_1, SUBLEMMA, NAT_1,
Q_1,VALUAT_1, FUNCT_2, SUBSTUT2, CQC_SIM1, CARD_4, CALCUL_2,
      SUPINF_2, XREAL_1, XXREAL_0, ORDINAL1;
 schemes XBOOLE_0, NAT_1, FUNCT_1, SUBSTUT2, RECDEF_1;

begin :: Henkin`s Theorem

registration
  cluster countable for QC-alphabet;
  existence
  proof
A1: [: NAT,NAT :] is QC-alphabet by            (born(R,x1) = A & born(R,y1) = B
  [:NAT,NAT:] is countable by CARD_4:7;
  hence thesis by A1;
  end;
end;

reserve Al for QC-alphabet;
reserve b,c,d for set,
  X,Y for Subset of CQC-WFF(Al),
  i,j,k,m,n for Nat,
  p,p1,q,r,s,s1 for Element of CQC-WFF(Al),
  x,x1,x2,y,y1 for bound_QC-variable of Al,
   for non empty set,
  J for interpretation of Al, A,
  v for Element of Valuations_in(Al,A),
  f1,f2 for FinSequence of CQC-WFF(Al),
  CX,CY,CZ for Consistent Subset of CQC-WFF(Al),
  Hfor Henkin_interpretation of CX,
  a for Element of A,
  t,u for QC-symbol of Al;

definition
  let Al,X;
  attr X is negation_faithful means
  :Def1:
  X |-           then  Or  Ordinalsuch that
end;

definition
  let Al,X;
  attr X is with_examples means

  for x,p holds ex y st X |- ('not' Ex(x,p)) 'or' (p.(x, A61   Or  in born(,y) &r>inDay(R,Or) by A60,Th7;
end;

theorem
  CX is negation_faithful implies (CX |- p iff not CX |- 'not' java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 45
  by HENMODEL:def 2;

theorem Th2:
  for f being FinSequence of CQC-WFF(Al) holds
  |- f^<*'not' p 'or' q*> & |- f^<*p*> implies |- f^<*q*>
proof
  let f be FinSequence of CQC            thesis  A46A48,,,A62,61,ORDINAL1:12;
A1: |- f^<*'not' p 'or' q*> and
A2: |- f^<*p*>;
  set f1 = f^<*'not' p*>^<*p*>;
A3: Ant(f1) = f^<*'not' p*> by CALCUL_1:5;
A4: Ant(f^<*p*>) = f by CALCUL_1:5;
  Suc(f^<*p*>) = p by CALCUL_1:5;
  then Suc(f^<*p*>) = Suc(f1) by CALCUL_1:5;
  then
A5: |- f1 by A2,A3,A4,CALCUL_1:8,36;
  set f2 = f^<*'not' p*>^<*'not' p*>;
A6: Ant(f2) = f^<*'not' p*> by CALCUL_1:5;
A7: Suc(f2) = 'not' p by CALCUL_1:5       assume A63:L_x <<RCC, {y} & {x} <<RCC, R_y;
A8: (Ant(f2)).(len f+1) = 'not' p by A6,FINSEQ_1:42;
  len f+1 = len f + len <*'not' p *> by FINSEQ_1:39;
thenlen + = lenAntf2F:;
  then len f+1 in dom Ant(f2) by A6,CALCUL_1:10;
  then Suc(f2) is_tail_of Ant(f2) by A7,A8,CALCUL_1:def 16;
  then
A9: |- f2 by CALCUL_1       proof
A10: 0+1 <= len f2 by CALCUL_1:10;
 (f1 Antf2  ,:5
  'not' Suc(f1) = Suc(f2) by A7,CALCUL_1:5;
  then |- Ant(f1)^<*'not' Suc(f1)*> by A9,A10,A11,CALCUL_1:3;
  then
A12: |- Ant(f1)^<*q*> by A5,CALCUL_1:44;
  set f3 = f^<*q*>^<*q*>;
A13: Ant(f3) = f^<*q*> by CALCUL_1:5;
A14: Suc(f3) = q by CALCUL_1:5;
A15: (Ant(f3)).(len f+1) = q by A13,FINSEQ_1:42;
  lenf+ =  f +len<q* by FINSEQ_1:39java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  then len f+1 = len Ant(f3) by A13,FINSEQ_1:22;
  then len f+1 in dom Ant(f3)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 11
3 is_tail_of (f3) by A14,A15,ALCUL_1:def 16java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
  then |- f3 by CALCUL_1:33;
  then |- f^<*'not' p 'or' q*>^<*q*> by A3,A12,CALCUL_1:53;
  then         given l, object such that
A16: |- f^<*'not' ('not' 'not' p '&' : l {}& rin &l >Rr;
  set f4 = f^<*'not'        l >RCCrby A66,BOOLE_0 3;
A17: Suc(f4) = 'not' 'not' p '&' 'not' q by CALCUL_1:5;
  then
A18: |- Ant(f4)^<*'not' 'not' p*> by A16,CALCUL_1:40,48;
A19: |- Ant(f4)^<*'not' q*> by A16,A17,CALCUL_1:41,48;
  set f5 = Ant(f4)^<*'not' 'not' p*>;
  set f6 = Ant(f4;
A20: Ant(f5) = Ant(f4) by CALCUL_1:5;
A21: Suc(f5) = 'not' 'not' p by CALCUL_1:5;
A22: Ant(f6) = Ant(f4) by CALCUL_1:5;
  Suc(f6) = 'not' q by CALCUL_1:5;
  then |- Ant(f4)^<*'not' '       then [x,y] in CC by A64,;
CALCUL_1:39;
  then |- f^<*'not' q*>^<*'not' 'not' p '&' 'not' q
  then |- f^<*'not' ('not' 'not' p '&' 'not' q)*>^<*q*> by CALCUL_1:48;
  end;
A23: |- f^<*'not' p 'or' q*>^<*q*> by QC_LANG2:def 3;
  1 < hence thesis by A3,Th15,A2,XBOOLE_0:def 10,A11;
  then |- Ant(f^<*'not' p 'or' q*>)^<*q*> by A1,A23,CALCUL_1:end;
  hence thesis by CALCUL_1:5;
end;

theorem Th3:
  X is with_examples implies (X
proof
  assume
A1: X is with_examples;
  thus X |- Extheorem Th27:
  proof
    assume X |- Ex(x,p);
    then consider f1 such that
A2: rng f1 c= X and
A3 (ex R stR java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 58
       consider y such that
A4: X |- 'not' Ex(x,p) 'or' (p.(x,y)) by A1
    consider f2 such that
A5: rng f2 c=  R c= ClosedProd(,A,$1)
A6: |- f2^<*'not' Ex(x,p) 'or' (p.(x,y))*> by A4,HENMODEL:def 1;
    take y;
A7: |- f1^f2^<*Ex(x,p)*> by A3,HENMODEL:5;

then
A8: |- f1^f2^<*p.(x,y)*> by A7,Th2;
    rng(f1f2   f1 / java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 49
    thenrngf1f2) = by,A5,XBOOLE_18java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
    hence thesis by A8,HENMODEL:def 1;
  end;
  thus (ex y st X |- p.(x,y)) implies X java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  proof
    given y such that
A9:X| p.(xjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    consider f1 such that
A10 Rpreserves_No_Comparison_on ClosedProd(R,A,B)&
A11: |- f1^<*p.(x,y)*> by A9,HENMODEL:def 1;
    |- f1^<*Ex(x,p)*> by A11,CALCUL_1:58;
    hence   A10,HENMODEL:ef1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  end;
end;

theorem
  (CX is negation_faithful & CX      A7:forebeobject st e in D  u  object st Q[ujava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
  (JH,valH(Al) |= p      proof
  (CX is negation_faithful & CX is with_examples implies
  (JH,valH(Al) |= 'not' p iff  let e be object such that A8: e in D;
  by HENMODEL:def 2,VALUAT_1:17;

theorem Th5:
  |- f1^<*p*> & |- f1^<*q*> implies |- f1^<*p '&' q*>
proof
  set g = f1^<*p*>;
  set g1 = f1^<*q*>;
  assume that
A1: |- g and
A2: |- g1;
A3: Ant(g) = f1 by CALCUL_1:5;
A4: Suc(g) = p by CALCUL_1:5;
A5:Suc(1)= q byCALCUL_1:5;
  Ant(g) = Ant(g1) by A3,CALCUL_1:5;
  hence thesis by A1,A2,A3,A4,A5,CALCUL_1:39;
end;

theorem Th6:
        A9: Rpreserves_No_Comparison_on ClosedProd(R,A,E) &
proof
  thus X |- p & X |- q implies X |- p '&' q
  proof
    assume          Rc ClosedProd(,A,)by ,;
A1: X |- p and
A2: X |- q;
    consider f1 such that
A3 rng f1c=X 
A4: |- f1^<*p*> by A1,HENMODEL:def 1;
    consider f2 such that
A5: rng f2 c= X and
A6: |- f2^<*q*> by A2,HENMODEL:def 1;
A7: |- f1^f2^<*p*> by A4,HENMODEL:5;
^f2<q>byA6:;
    then
A8: |- f1^f2^<*p '&' q*> by A7,Th5;
    rng(f1^f2) = rng f1 \/ rng f2 by FINSEQ_1:31;
    then rng(      consider Lr Function such that A10:dom Lr = D &
    hence thesis by A8,HENMODEL:def 1;
  end;
  thus X |- p '&' q implies X |- p & X |- q
  proof
     X |  & ;
    then consider f1 such that
A9: rng f1 c= X and
      Lr asSequenceby,RDINAL1:ef7java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
A11: |- f1^<*p*> by A10,CALCUL_2:22;
    |- f1^*q> A10CALCUL_2;
    hence thesis by A9,A11,HENMODEL:def 1;
  end;
end;

theorem
  (CX is negation_faithful & CX is with_examples implies
  (JH,valH(Al) |= p iff t steinDex u  objectstR[e,u]
  (CX is negation_faithful & CX is with_examples implies
  (JH,valH(Al) |= q iff CX |-       proof
  (CX is negation_faithful & CX is with_examples
  implies (JH,valH(Al)         let e  object such that A12: e in D;

theorem Th8:
  for p st QuantNbr(p) <= 0 holds
  CX is negation_faithful & CX is with_examples         reconsider E=e as Ordinal by A12;
  (JH,valH(Al) |= p iff CX |- p)
proof
  defpred P[Element of CQC-WFF(Al)] means
          consider  R be
  (JH.Ei Relation &
A1: for r,s,x,k for l being CQC-variable_list of k,Al
   of k,lholdsPAl&PPljava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
  (P[r] implies P['not' r]) & (P[r] & P[s] implies P[r '&' s])
  by Def1,Th6,HENMODEL:16,17,def 2,VALUAT_1:17,18;
A2:forp st QuantNbr(p) = 0 holds P[p] from SUBSTUT2:sch 3(A1);
  now
    let p;
    assume QuantNbr(p) <= 0;
    then QuantNbr(p) = 0 by NAT_1:2;
    hence P[p] by A2;
  end;
  hence thesis;
end;

theorem Th9:
  J,v |= Ex(x,p) iff ex a st J,v.(x|a) |= p
proof
A1: J,v |= 'not' All(x,'not' p) iff not J,v |= All(x,'not' p) by VALUAT_1:17;
A2: (ex a st not J,v.(x|a) |= 'not' p) implies ex a st J,v.(x|a) |= p
           by VALUAT_1:17;
  (ex a st J,v.(x|a) |= p) implies ex a st not J,v.(x|a) |= 'not' p
  proof
    given a such that
A3: J,v.(x|a) |= p;
    take a;
    thus thesis by A3,VALUAT_1:17;
  end;
  hence thesis by A1,A2,QC_LANG2:def 5,SUBLEMMA:50;
end;

theorem Th10:
  JH,valH(Al) |= Ex(x,p) iff ex y st JH,valH(Al) |= p.(x,y)
proof
  thus JH,valH(Al) |= Ex(x,p) implies ex y st JH,valH(Al) |= p.(x,y)
  proof
    assume JH,valH(Al) |= Ex(x,p);
    then consider x1 being Element of HCar(Al) such that
A1: JH,(valH(Al)).(x|x1) |= p by Th9;
A2: HCar(Al) = bound_QC-variables(Al) by HENMODEL:def 4;
    valH(Al) = id bound_QC-variables(Al) by HENMODEL:def 6;
    then rng valH(Al) = bound_QC-variables(Al);
    then consider b being object such that
A3: b in dom valH(Al) and
A4: (valH(Al)).b = x1 by A2,FUNCT_1:def 3;
    reconsider y = b as bound_QC-variable of Al by A3;
    take y;
    thus thesis by A1,A4,CALCUL_1:24;
  end;
  thus (ex y st JH,valH(Al) |= p.(x,y)) implies JH,valH(Al) |= Ex(x,p)
  proof
    given y such that
A5: JH,valH(Al) |= p.(x,y);
    ex x1 being Element of HCar(Al) st ( (valH(Al)).y = x1)&( JH,(valH(Al)).(x|
    x1) |= p) by A5,CALCUL_1:24;
    hence thesis by Th9;
  end;
end;

theorem Th11:
  J,v |= 'not' Ex(x,'not' p) iff J,v |= All(x,p)
proof
A1: not J,v |= Ex(x,'not' p) iff for a holds not J,v.(x|a) |= 'not' p by Th9;
A2: (for a holds not J,v.(x|a) |= 'not' p) implies for a holds J,v.(x|a) |= p
  proof
    assume
A3: for a holds not J,v.(x|a) |= 'not' p;
    let a;
    not J,v.(x|a) |= 'not' p by A3;
    hence thesis by VALUAT_1:17;
  end;
  (for a holds J,v.(x|a) |= p) implies for a holds not J,v.(x|a) |= 'not' p
     by VALUAT_1:17;
  hence thesis by A1,A2,SUBLEMMA:50,VALUAT_1:17;
end;

theorem Th12:
  X |- 'not' Ex(x,'not' p) iff X |- All(x,p)
proof
  thus X |- 'not' Ex(x,'not' p) implies X |- All(x,p)
  proof
    assume X |- 'not' Ex(x,'not' p);
    then consider f1 such that
A1: rng f1 c= X and
A2: |- f1^<*'not' Ex(x,'not' p)*> by HENMODEL:def 1;
    |- f1^<*All(x,p)*> by A2,CALCUL_1:68;
    hence thesis by A1,HENMODEL:def 1;
  end;
  thus X |- All(x,p) implies X |- 'not' Ex(x,'not' p)
  proof
    assume X |- All(x,p);
    then consider f1 such that
A3: rng f1 c= X and
A4: |- f1^<*All(x,p)*> by HENMODEL:def 1;
    |- f1^<*'not' Ex(x,'not' p)*> by A4,CALCUL_1:68;
    hence thesis by A3,HENMODEL:def 1;
  end;
end;

theorem
  QuantNbr(Ex(x,p)) = QuantNbr(p)+1
proof
  QuantNbr(Ex(x,p)) = QuantNbr('not' All(x,'not' p)) by QC_LANG2:def 5
    .= QuantNbr(All(x,'not' p)) by CQC_SIM1:16
    .= QuantNbr('not' p) + 1 by CQC_SIM1:18;
  hence thesis by CQC_SIM1:16;
end;

theorem Th14:
  QuantNbr(p) = QuantNbr(p.(x,y))
proof
  QuantNbr(p) = QuantNbr(CQC_Sub([p,Sbst(x,y)])) by SUBSTUT2:25;
  hence thesis by SUBSTUT2:def 1;
end;

reserve L for PATH of q,p,
  F1,F3 for QC-formula of Al,
  a for set;

theorem Th15:
  for p st QuantNbr(p) = 1 holds (CX is negation_faithful & CX is with_examples
  implies (JH,valH(Al) |= p iff CX |- p))
proof
  let p such that
A1: QuantNbr(p) = 1 and
A2: CX is negation_faithful and
A3: CX is with_examples;
  consider q such that
A4: q is_subformula_of p and
A5: ex x,r st q = All(x,r) by A1,SUBSTUT2:32;
  consider x,r such that
A6: q = All(x,r) by A5;
A7: QuantNbr(q) <= 1 by A1,A4,SUBSTUT2:30;
A8: QuantNbr(q) = QuantNbr(r) + 1 by A6,CQC_SIM1:18;
  then 1 <= QuantNbr(q) by NAT_1:11;
  then
A9: 1 = QuantNbr(q) by A7,XXREAL_0:1;
  set L =the  PATH of q,p;
A10: 1 <= len L by A4,SUBSTUT2:def 5;
  defpred P[Nat] means 1 <= $1 & $1 <= len L implies
  ex p1 st p1 = L.$1 & QuantNbr(q) <= QuantNbr(p1) &
  (CX |- p1 iff JH,valH(Al) |= p1);
A11: P[0];
A12: for k st P[k] holds P[k + 1]
  proof
    let k such that
A13: P[k];
    assume that
A14: 1 <= k+1 and
A15: k+1 <= len L;
    set j = k+1;
A16: now
      assume k = 0;
      then
A17:  L.j = q by A4,SUBSTUT2:def 5;
      take q;
      thus QuantNbr(q) <= QuantNbr(q);
A18:  now
        assume JH,valH(Al) |= Ex(x,'not' r);
        then consider y such that
A19:    JH,valH(Al) |= ('not' r).(x,y) by Th10;
        QuantNbr('not' r) = 0 by A8,A9,CQC_SIM1:16;
        then QuantNbr(('not' r).(x,y)) = 0 by Th14;
        then CX |- ('not' r).(x,y) by A2,A3,A19,Th8;
        hence CX |- Ex(x,'not' r) by A3,Th3;
      end;
      now
        assume CX |- Ex(x,'not' r);
        then consider y such that
ot' ).(x,y)byA3,;
        QuantNbr('not' r) = 0 by A8,A9,CQC_SIM1:16;
        then QuantNbr(('not' r).(x,y)) = 0 by Th14;
        then JH,valH(Al) |= ('not' r).(x,y) by A2,A3,A20,Th8;
        hence JH,valH(Al) |= Ex(x,'not' r) by Th10;
      end;
      then JH,valH(Al) |= 'not' Ex(x,'not' r) iff CX |- 'not' Ex(x,'not' r)
      by A2,A18,HENMODEL        :Lr.E=R&  preserves_No_Comparison_on ClosedProd(R,A,E) &
      then JH,valH(Al) |= q iff CX |- q by A6,Th11,Th12;
      hence thesis by A17;
    end;
    now
      assume k <> 0;
      then 0 < k by NAT_1:3;
      then
A21:  0+1 <= k by NAT_1:13;
      :13;
      then consider G1,H1 being Element of QC-WFF(Al) such that
A22:  L.k = G1 and
A23:  L.j = H1 and
A24:  G1 is_immediate_constituent_of H1 by      then reconsider RR = union rng Lr as Relation by A14,A10,Th24;
considerp1 suchthat
A25:  p1 = L.k and
A26:  QuantNbr(q) <= QuantNbr(p1) and
A27:CX|-p1iff JH,valHAl|=p1by ,,,NAT_1:;
A28:  ex F3 st ( F3 = L.j)&( F3 is_subformula_of p) by A4,A14,A15,SUBSTUT2:27;
      reconsider s = H1 as Element of CQC-WFF(Al)
A23SUBSTUT2:28
      take s;
A29:  now
        assume
A30:    s = 'not' p1;
        then
A31:    QuantNbr(q) <= QuantNbr(s) by A26,CQC_SIM1:16;
        CX|  iff JH,(Al) | s
        by A2,A27,A30,HENMODEL:def 2,VALUAT_1:17;
        hence thesis by A23,A31;
      end;
A32:  QuantNbr(s) <= 1 by A1,        assume x in unionrng Lp;
A33:  now
        given F1 such that
A34:    s = p1 '&' F1;
         consider Y be set such that
        QuantNbr(s) = QuantNbr(p1) + QuantNbr(F1) by A34,CQC_SIM1:17;
        then
A35:    QuantNbr(p1) <= QuantNbr(s) by NAT_1:11;
        then
A36:    QuantNbr(p1) <= 1 by A32,XXREAL_0:2;
A37:    1 <= QuantNbr(s) by A9,A26,A35,XXREAL_0:2;
A38    (p1)= 1 by A9,A26,A36XXREAL_0:;
        QuantNbr(s) = 1 by A32,A37,XXREAL_0:1;
        then 1-1         reconsider E as Ordinal by A21;
        then
A39:    CX |- F1 iff JH,valH(Al) |= F1 by A2,A3,Th8;
A40        reconsider R=Lr.E as Relation by A21,A15;
        CX |- s iff JH,valH(Al) |= s by A27,A34,A39,Th6,java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 48
        hencethesis by A23A40;
      end;
A41:  now
        given F1 such that
A42:    s = F1 '&' p1;
        reconsider F1 as Element of CQC-WFF(Al) by A42,CQC_LANG:9;
tNbr(p1 + QuantNbr(1)byA42,CQC_SIM1:;
        then
A44:    QuantNbr(p1) <= QuantNbr(s) by NAT_1:11;
        then
:   QuantNbr(p1)<=1 by A32,XREAL_0:2;
A46:    1 <= QuantNbr(s) by A9,A26,A44,XXREAL_0:2;
A47:    QuantNbr(p1) = 1 by A9,A26,A45,XXREAL_0:1;
               ()=  by A32,A46,XXREAL_0:1;
        then
A48:    CX |- F1 iff JH,valH(Al) |= F1 by A2,A3,A43,A47,Th8;
A49:    QuantNbr(q) <= QuantNbr(s) by A26java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 11
        CX |-siffJH,valH()| sbyA27A42,A48,Th6,VALUAT_1:18;
        hence thesis by A23,A49;
      end;
      now
        given x such that
llxp1);
        1 < QuantNbr(p1) + 1 by A9,A26,NAT_1:13;
hence contradiction by A32,A50,CQC_SIM1:18;
      end;
      hence thesis by A22,A24,A25,A29,A33,A41,QC_LANG2:def 19;
    endjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8

  end;
  for k holds P[k] from NAT_1:sch 2(A11,A12);
))&( ( =QuantNbr)java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
  CX |- p1           considerR Relation such that
  hence thesis by A4,SUBSTUT2:def 5;
end;

theorem Th16:
  for n st for p st           :LrBR&R preserves_No_Comparison_on(A)java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
  (CX is negation_faithful & CX is with_examples
  implies (JH,valH(Al) |= p iff CX |- p)) holds
  forp  p<=+1holds
  (CX is negation_faithful & CX is with_examples
  impliesJHAl   iff  | p)
proof
  let n such that
A1: for p st QuantNbr(p) <= n holds
  CX is           R /\ [BeforeGames A,BeforeGames A:]
  implies (JH,valH(Al) |= p iff CX |- p);
  let p such that
A2: QuantNbr(p)            byA27A28A15,A14,10Th24java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A3:CX negation_faithful 
A4: CX is with_examples;
A5: QuantNbr(p) <= n implies thesis by A1,A3,A4;
  now
    assume
A6: QuantNbr(p) = n+1;
    then consider q such that
A7: q is_subformula_of p and
A8:q =1  NAT_111SUBSTUT2:;
    set L =the  PATH of q,p;
A9:1<=len  byA7,SUBSTUT2:def ;
    defpred P[Nat] means 1 <= $1 & $1 <= len L implies
    ex p1 st p1 = L.$1 &        end
    (CX |- p1 iff JH,valH(Al) |= p1);
A10 P[0];
A11: for k st P[k] holds P[k + 1]
    proof
      let k such           set B=born(,y);
A12:  P[k];
      assume that
A13:  1 <= k+1 and
A14:k1 < lenL;
      set j = k+1;
A15:  now
        assume k = 0;
       java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
A16:    L.j = q by A7,SUBSTUT2:def 5;
        take q;
        JH,valH(Al)          A34: LpB= ClosedProd(R,A,B) by A33,A32,A14;
        hence thesis by A16;
      end;
      now
        assume k <> 0;
        then 0  k by NAT_1:3;
        then
A17:    0+1 <= k by NAT_1:13;
        k <          R / [BeforeGames A,BeforeGames A:]
        then consider G1,H1 being Element of QC-WFF(Al) such that
byA32,,A15A14A10Th24java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
A19:    .j=H1and
A20:    G1 is_immediate_constituent_of H1 by A7,A17,SUBSTUT2:def 5;
        consider p1 such that
:    QuantNbrq)< QuantNbr(p1) and
A22:    p1 = L.k and
A23:    CX |- p1 iff JH,valH(Al) |= p1 by A12,A14,A17,NAT_1:13;
A24:    ex F3 st ( F3 = L.j)&( F3 is_subformula_of          . in rng  A32,UNCT_1 3
        ;
        reconsider s  H1 as Element  CQCWFFAl)
        by A7,A13,A14,A19,SUBSTUT2:28;
        take s;
A25:    now
          assume
A26:      s = 'not' p1;
          then
A27:      QuantNbr(q) <= QuantNbr(s) by A21,        supposeA37: (,) in   born(Ry = A;
CX |- s iff JH,valH(Al) |= s by A3,A23,A26,HENMODEL:def 2,VALUAT_1:17;
hencethesis by A19,A27java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
        end;
A28consider Rbe  such
A29:    now
          given F1 such that
A30:      s = p1 '&' F1;
          reconsider F1 as Element           RR/ [B ABeforeGames A]=
A31:      QuantNbr(s) = QuantNbr(p1) + QuantNbr(F1) by A30,CQC_SIM1:17;
          then +(1 =sby A21:;
          then 1+QuantNbr(F1) <= n+1 by A28,XXREAL_0:2;
                    by AA38,A15,14A,Th24;
          then CX |- F1 iff JH,valH(Al) |= F1 by           thenA40:(,,)=ClosedProd(AB  ;
          then
A32:      CX |:xy  ClosedProdRRBA25;
          QuantNbr(p1          .B Lpbyjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 50
thenQuantNbr)=()byA21XXREAL_0:;
          hence thesis by A19,A32;
        end;
A33:    now
          given F1 such that
A34:      s = F1 '        end;
          reconsider F1 as Element of CQC-WFF(Al) by A34,CQC_LANG:9;
A35:      QuantNbr(s) = QuantNbr(p1) + QuantNbr(F1) by A34,CQC_SIM1:17;
          then 1+QuantNbr(F1) <= QuantNbr(s) by A8,A21,XREAL_1:6;
          then      then exRbeRelation st RR c= R &
          then QuantNbr(F1)+1+(-1) <= n+1+(-1) by XREAL_1:6;
          - F1iff H,(Al)|=F1by ,,4;
          then
A36:      CX |- s iff JH,valH(Al) |= s by A23,A34,Th6,VALUAT_1:18;
          QuantNbrp1)< QuantNbrs  A35N:11java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
          then QuantNbr(q) <= QuantNbr(s) by A21,XXREAL_0:2;
          hence thesis by A19,A36;
        end;
        now
          given x such that
A37:      s = All(x,p1);
A38:      (s =QuantNbrp1) +1by ,:18;
          then QuantNbr(p1) < n+1 by A28,NAT_1:13;
          then QuantNbr(  hence thesis;
          then
A39:      QuantNbr('not' p1) <= n by CQC_SIM1:16;
A40:      QuantNbr(q) <=   let  beOrdinalsuchthat A2 for C be Ordinal st C  in  holds P[C];
A41:      now
            assume JH,valH(Al) |= Ex(x,'not' p1);
            then consider y such that
A42:        JH,valH(Al) |= ('not' p1).(x,y) by Th10;
            QuantNbr(('not' p1).(x,y)) <= n    defpred Q[object,object] means for B be Ordinal st B =$1
            then CX |- ('not' p1).(x,y) by A1,A3,A4,A42;
            hence CX |- Ex    ex R Relationst2R   preserves_No_Comparison_on ClosedProd(,BB&
          end;
          now
            assume CX |- Ex(x,'not' p1);
            hen consider y such that
A43:        CX |- ('not' p1).(x,y) by A4,Th3;
            QuantNbr(('not' p1).(x,y)) <= n    proof
            then JH,valH(Al) |= ('not' p1).(x,y) by A1,A3,A4,A43;
            hence JHvalHAl)| (x,'p1) byTh10java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 14
          then JH,valH(Al) |= 'not' Ex(x,'not' p1) iff
CX |- not' Ex(x,'not' p1 )
          by A3,A41,HENMODEL:def 2,VALUAT_1:17;
          then JH,valH(Al) |= s iff CX |- s by A37,Th11,Th12;
          hence thesis  A19,A40;
        end;
        hence thesis by A18,A20,A22,A25,A29,A33,QC_LANG2:def 19;
      R c= ClosedProd(R,E,E) by A4,A2;
      hence thesis by A15;
    end;
    for  holds []fromNAT_1 (,A11;
    then ex p1 st ( p1 = L.(len L))&( QuantNbr(q) <= QuantNbr(p1))&(
    CX|  iffvalHAl =)byA9;
    hence thesis by A7,SUBSTUT2:def 5;
  end;
  hence thesis by A2,A5,NAT_1:8;
end;

:: Ebb et al, Chapter V, Henkin's Theorem 1.10

theorem Th17:
  for p holds (CX is negation_faithful & CX is with_examples
  impliesJHvalH(Al |=piff CXX |-p))
proof
  defpred P[Element of CQC-WFF(Al)] means
  CX is negation_faithful & CXfor e being object ste inD holdsQe,.e from CLASSES1s (3)java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
  implies (JH,valH(Al) |= $1 iff CX |- $1);
A1: for p st QuantNbr(p) <= 0 holds P[p] by Th8;     [bjectjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 69
A2: for k st for p st java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 26
  for p st QuantNbr(p) <= k+1 holds P[p] by Th16;
  thus for     2=ClosedProd(RB,);
end;

begin :: Satisfiability of Consistent Sets of Formulas with Finitely Many Free
:: Variables

theorem Th18:
  Al is countable implies
  QC-WFF(Al) is countable
proof
  assume       let ebeobjectsuch  that:einD
  QC-WFF(Al) is Al-closed  E=easOrdinal by A8;
  then
A2: QC-WFF(Al) is Subset of [: NAT, QC-symbols(Al):]* by QC_LANG1:def 10;
onemptyset&
  [:NAT,QC-symbols(Al):] is countable by A1,QC_LANG1:5;
  then [:NAT,QC-symbols(Al):]* is      A9Lr.= &R preserves_No_Comparison_on(R,,)&
  hence thesis by A2;
end;

definition
  let Al;
xClAl >  CQC(
  :Def3:
  a in it iff ex x,p st a = ;
  existence
  proof
Pobject]means ex x,p st $1 = (,)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    consider X being such that :domLp = D &
A1: for a being object holds a in X iff a in CQC-WFF(Al    fore being objectst  inDholdsReLp.e from CLASSES1: 1A7)java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
fromXBOOLE_0sch 1;
    for a being object st a in X holds a in CQC-WFF(Al) by A1;
    then reconsider X as Subset of CQC-WFF(Al) by TARSKI:def 3;
     X;
    thus thesis by A1;
  end;
  uniqueness
  proof
    defpred P[object] means ex x,p st $1 = Ex(x,p);
    let A1,A2 be Subset of CQC-java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
A2: a in A1 iff P[a] and
A3: a in A2 iff P[a];
    now
java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 22
      a in A1 iff P[a] by A2;
      hence java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 9
    end;
    hence thesis by TARSKI:      let E  Ordinal such thatA12 E  dom ;
  end;
end;

theorem Th19:
  Al countable implies
  CQC-WFF(Al) is countable
proof
    assume A1: Al is countable;
    QC-      A13:.ER & R preserves_No_Comparison_on ClosedProd(R,E,E) &
    hence thesis;
end;

theorem Th20:
untable
  ExCl(Al) is non empty & ExCl(Al) is countable
proof
  assume A1:      thesis by,A12,A10;
  set x =the  java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 8
  set a = Ex(x,p);
  a in ExCl(Al) by Def3;
  hence ExCl(Al isnon empty;
  CQC-WFF(Al) is countable by Th19,A1;
  hence thesis;
end;

Lm1: for A being non empty set st A is countable holds
ex f being    by A11,,A6,Th24java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
proof
  let  be nonempty set such that
A1: A is countable;
  A c= A;
  then consider F being sequence of A such that
A2: A =       let  be object
  dom F = NAT by FUNCT_2:def 1;
  hence thesis by ;
end;

definition
  let Al;
  letpbe Elementof QCWFF(Al) such that
A1: p is existential;
  func Ex-bound_in p -> bound_QC-variable of Al means
  :Def4:
ngElementof QC-FF st p = Ex(,q;
  existence by A1,QC_LANG2:def 13;
  uniqueness by QC_LANG2:13;
end;

definition
  let Al;
  let p be Element of CQC-WFF(Al) such that
A1:  existential;
  func Ex-the_scope_of p -> Element of CQC-WFF(Al) means
  :Def5:
  (x,it;
  existence
  proof
    consider x,F1 such that
)  ,def 3;
    p = 'not' All(x,'not' F1) by A2,QC_LANG2:def 5;
then Allx'not F1) is Element of -WFF() by CQC_LANG:8;
    then
A3: 'not' F1 is Element of CQC-WFF(Al) by CQC_LANG:13;
    take F1 A19Lp.E=ClosedProd(,E,) by A17,10;
    thus thesis by A2,A3,CQC_LANG:8;
  end;
  uniqueness by QC_LANG2:13;
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4

definition
  let Al;
  let F be sequence of CQC-      A11A10A6,h24A17java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  func (F,) - -variableofAl means
  :Def6:
  p = F.a implies it = Ex-bound_in p;
  existence
  proof
    reconsider p = F.a as Element of CQC-WFF(Al);
    take       A21: DayRRE    (RE &y,]= by ZFMISC_1:def 2;
    thus thesis;
  end;
  uniqueness
  proof
    let x1,x2 such that
A1:p .a   =Ex pand
A2: p = F.a implies x2 = Ex-bound_in p;
    reconsider q = F.a as Element of CQC      born(,y) c=E& born(RRz) = )byA20,A21,ef10java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    x1=Exq A1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    hence thesis by A2;
  end;
end;

definition
  let Al;
  let F be sequence of CQC-WFF(Al),a be Nat;
  func the_scope_of,)->Elementof CQC-(Al means
  :Def7:
  p = F.a implies it = Ex-java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 9
       xobjectsuch that :[, OpenProd,,};
  proof
    reconsider :xinDay,D y inDayD  A22ZFMISC_1:87;
    take Ex-the_scope_of p;
    thus thesis;
  end;
  uniqueness
  proof
    let q1,q2 be Element of CQC-WFF(Al) such that
A1: p = F.a implies      percases
A2: p = F.a implies q2 = Ex-the_scope_of p;
    econsider q F. as Element of CQC-WFF(Al);
    q1 = Ex-the_scope_of q by A1;
    hence thesis by A2;
  end;
end;

definition
  let Al,X;
  func still_not        A26:DayRR,born(RR,)) c= DayRRB)by A25,Th9;
  union {still_not-bound_in p : p in X};
         A27 x (,(R)  y  (RR,  A23Def8
  proof
    set Y = union {still_not-bound_in pt
    now
      let a be object;
       inY;
      then consider b such that
 R c=ClosedProdR,,)  ,A6;
      ex p st ( b = still_not-bound_in p)&( p in X) by A1;
  bound_QC(Al)byA1
    end;
    hence thesis by TARSKI:def 3;
  end;
end;

theorem Th21:
 p nX java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 23

  assume
A1: p inA31[,]inClosedProdRRB,)byA25,Def10A26A27
  now
a be objectjava.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
    assumea inrng<p>
    then a in {p} by FINSEQ_1:38;
    hence a in X by A1,TARSKIend;
  end;
  then
A2:       suppose A32:not born(Rx c=bornRR,y);
  |- <*>CQC-WFF(Al)^<*p*>^<*p*> by CALCUL_2:21;
  then |- <*p*>^<*p*> by FINSEQ_1:34;
  hence thesis by A2,HENMODEL:def 1;
end;

heoremT:
  Ex-bound_in Ex(x,p) = x & Ex-the_scope_of Ex(x,p) = p
proof
  Ex(x,p)         34: yin (RRborn(,y)    (,B  A23,;
  hence thesis by Def4,Def5;       consider RRelation 
end;

theorem Th23:
  X |- VERUM(Al)
proof
  set f = <*>CQC-WFF(Al);
A1: rng f c= X;
 |-f^*(Al*  HENMODEL:15
  hence thesis by A1,HENMODEL:def 1;
end;

theorem Th24:
  X |- 'not' VERUM(Al) iff X is        then RR \[BeforeGames,BeforeGames B:]=

reserve C,D for Element of [:CQC-WFF(Al),bool bound_QC-variables(Al):];
KLfor  of -variables(Al);

theorem Th25:
  for f,g        A24,A35,A11A10A6,h24
  |- Ant(f)^g^<*Suc(f)*>^<*p*>
proof
   FinSequence of -() such that
A1: 0 < len f and
A2: |- f^<*p*>;
  f is_Subsequence_ofA38:[,y]in ClosedProdRR,,)byA32A33A34D;
  then Ant(f^<*p*>) is_Subsequence_of Ant(f)^g^<*Suc(f)*> by CALCUL_1:5;
  
A3: Ant(f^<*p*>) is_Subsequence_of Ant(Ant(f)^g^<*Suc(f)*>^<*p*>)
  byCALCUL_15;
  Suc(f^<*p*>) = p by CALCUL_1:5;
  then      end;
  hence thesis by A2,A3,CALCUL_1:36;
end;

theorem Th26:
  still_not-bound_inthen OpenProd(RR,D,{}) =union rng Lp by A15,XBOOLE_0:def 10;
proof
A1: now
    let a be object;
assumea in -bound_in{p};
    then consider b such that
A2: a in b & b in {still_not-bound_in q : q in {p}}java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 6
    ex q t(b=still_not-bound_inq&(qin {p} by ;
    hence a in still_not-bound_in p by A2,TARSKI:def 1;
  end;
  now
    let a be object such that
A3: a in still_not-bound_in p;
    set b = still_not-bound_in p;
    p in {p} by TARSKI:def 1;
    then b in {still_not-bound_in q : q in {p}};
    hence a in still_not-bound_in {
  end;
  hence thesis by A1,TARSKI:2;
nd;

theorem Th27:
still_not-bound_in (X \/ Y) = still_not-bound_in X \/ still_not-bound_in Y
proof
  thus still_not-bound_in (X \/ Y) c=
  still_not-bound_in X \/ still_not-bound_in Y
  proof
    set A = {still_not-bound_in p : p in X \/ Y};
 bbe object
    assume b in still_not-bound_in (X \/ Y);
    then consider a such that
A1: b in a and
A2: a in A by TARSKI:def 4;
    consider psuch that
A3: a = still_not-bound_in p and
A4: p in X \/ Y by A2;
A5: now
      assume p in X;
      then {-q:qjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 54
      then
A6:   b in union {still_not-bound_in q : q in X} by A1,java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 55
      still_not-bound_in X c= still_not-bound_in X \/ still_not-bound_in Y
      by XBOOLE_1:7;
      hence thesis byA6;
    end;
    now
      assume p in Y;
       a in{still_not-bound_in q:q in Y} by A3;
      then
A7:   b in union {still_not-bound_in q : q in Y} by A1,TARSKI:def 4;
      still_not-bound_in     (born(R,x) = A & born(R c=B 
      by XBOOLE_1:7;
      hence thesis by A7;
    end;
    hence thesis by A4,A5,XBOOLE_0:def 3;
  end;
  thus still_not-bound_in X \/ still_not-bound_in Y c=
  still_not-bound_in (X \    hence thesis A4,5Def10
  proof
    let b be object such that
A8: b in still_not-bound_in X \/ still_not-bound_in Y;
A9:now
      assume b in still_not-bound_in X;
      thenconsider a 
A10:  b in a & a in {still_not-bound_in p : p in X} by TARSKI:def 4;
A11:  ex p st ( a = still_not-bound_in p)&( p in X) by A10;
      X c=  hencehence thesis  A6,,:ef10;
      then a in {still_not-bound_in q : q in Xend;
      hence thesis by A10,TARSKI:def 4;
    end;
    now
      assume b in still_not-java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 13
       asuchthat
A12:  b in a & a in {still_not-bound_in p : p in Y} by TARSKI:def 4;
A13:  ex p st ( a = still_not-bound_in p)&( p in Y) by A12;
Yby XBOOLE_17java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
      then a in {still_not-bound_in q : q _0def ;
      hence thesis by A12,TARSKI:def 4;
    end
    hence thesis by A8,A9,XBOOLE_0:def 3;
  end;
end;

theorem
  of A) st is finiteholds
  ex x st not x in A
proof
  let A be Subset of bound_QC-variables(Al);
  A1: not bound_QC-variables(Al) is finite by CALCUL_1:64;
  assume A is finite;
  then not (for b being object holds b in A iff b in bound_QC-variables(    supposebornRx) <>A&born(R,)< ;
  ;
  then consider b such that
A2: not b in A and
A3: b in bound_QC-variables(Al);;
  reconsider x = b as bound_QC-variable of Al by A3;
  take x;
  thus thesis by A2;
end;

theorem Th29:
  X c= Y implies still_not-bound_in X c= still_not-bound_in Y
proof
  set A = {still_not-bound_in p : p in X};
  assume
A1: X c= Y;
    let a be object
    assume a in still_not-bound_in X;
    then consider b such that
A2: a in b and
A3: b in A by TARSKI:def 4;
    p   b =still_not-bound_in p)&( p in X) by A3;
    then b in {still_not-bound_in q : q in Y} by A1;
    hence a in still_not-bound_in Y by     it preserves_No_Comparison_on [:Day(it),Day(t,A:]&
end;

theorem Th30:
  forfbeing FinSequenceof CQCWFF(Al) holds
  still_not-bound_in rng f = still_not-bound_in f
proof
  let f be java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 11
  set A = consider R such that
A1: now
    let a be object;
    assumea still_not  java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
    then consider b being set such that
A2: a in b 
A3: b in A by TARSKI:def 4;
    consider p such that
A4: bb= still_not-bound_in pand
A5: p in rng f by A3;
    ex c being object st ( c in dom f)&(   thusthesis  ,m3;
    hence a in still_not-bound_in f by A2,A4,CALCUL_1:def 5;
  end;
  now
    let a be object;
    assume a in still_not-bound_in f;
    then consider i being Nat,q such that
A6: i in  proof
A7: q = f.i and
A8: a in still_not-bound_in q by CALCUL_1:def 5;
    q:def 3;
    then still_not-bound_in q in A;
    hence a in still_not-bound_in rng f by A8,TARSKI:    A2:S1 preserves_No_Comparison_on [:Day(S1,A),Day(S1:] &
  end;
  hence thesis by A1,TARSKI:2;
end;

:: Ebb et al, Chapter V, Lemma 2.1

theorem Th31:
  (Al is countablejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  still_not-bound_in CX is finite ) implies
  ex st CXc   CYis with_examples
proof
  assume A1: Al is countable;
  assume
A2 still_not CXis finite;
  ExCl(Al) is non empty & ExCl(Al) is countable by A1,Th20;
  then onsider beingFunction that
A3: dom f = NAT and
: (Al) = rng f by Lm1;
  reconsider f as sequence of CQC-WFF(Al) by A3,A4,FUNCT_2:2;
   PNatset,] means
  ex K,L st K = $2`2 & L = K \/ still_not-bound_in {f.($1+1)} &
  $3 = (''(f.($+))) 'r ((,$+1)(bound_inf,$+1,
  x.(Al-one_in {t : not x.t in L}))), K \/ still_not-bound_in
  ('not' (f.    =S2 by A4,A3,XBOOLE_1:28;
  x.(Al-one_in {u : not x.u in L})))];
A5: for n being Nat for  end;
  proof
    let n be Nat,C;
    set K = C`2;
    ex a,b being object st
( a in CQC-WFF(Al))&( b in bool bound_QC-variables(Al))&(
    C = [a,b]) by ZFMISC_1::def 2;
    then reconsider K as Subset of bound_QC-variables(Al);
    set L = K \/ still_not-bound_in {f.(n+1)};
    set D = [('not' (f.(n+1))) 'or' (the_scope_of(f, cluster No_Ord A -> almost-No-order;
    x.(Al-one_in {t : not x.t in L}))), K \/ still_not-bound_in
    ('not' (f.(n+1))) 'or' (the_scope_of(f,(n+1)).(bound_in(f,n+1),
    x.(Al-one_in {u : not x.u in L})))];
    take D;
    thesis;
  end;
  reconsider A = [('not' (f.0)) 'or' (the_scope_of(f,0).(bound_in(f,0),
  x.(Al-one_in {u : not x.u in still_not-bound_in (CX \/ {f.0})}))),
  still_not-bound_in (CX \/ {('not' (f.0)) 'or'
  (the_scope_of(f,0).(bound_in(f,0), x.(Al-one_in {t :
  not x.t in still_not-bound_in (CX \/ {f.0})})))})]
  as Element of [:CQC-WFF(Al),bool bound_QC-variables(Al):];
  consider h being sequence of [:CQC-WFF(Al),bool bound_QC-variables(Al):]
  such that
A6: h.0 = A &
   java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 66
  set CY = CX \/ the set of all (h.n)`1 ;
  now
    let a be object java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 20
A7: a in CY;
       now
      assume not a in CX;
     thena in set of all .)`1  ,XBOOLE_0 3
      then consider n such that
A8:   a = (h.n)`1;
      exc,  object st
( c in CQC-WFF(Al))&( d in bool bound_QC-variables(Al))&(
      h.n = [c,d]) by ZFMISC_1:def 2;
      hence a in CQC-WFF(Al) by A8;
    end;
    hence a in CQC-WFF(Al);
  end;
  then reconsider CY as Subset of CQC-WFF(Al) by TARSKI:def 3;
java.lang.StringIndexOutOfBoundsException: Range [32, 2) out of bounds for length 7
 x,pjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    Exend;
    then consider a being object such that
A10: a in dom f and
A11: f.a = Ex(x,p) by A4,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 12
     a as  by ;
    reconsider r9 = f.a as Element of CQC-WFF(Al);
A12: Ex-bound_in r9 = x by A11,Th22;
A13: Ex-the_scope_of r9 = p by A11,Th22;
A14: bound_infa = x A12,ef6;
A15: the_scope_of(f,a) = p by A13,Def7;
A16: (h.a)`1 in the set of all (h.n)`1 ;
A17: the set of all (h.n)`1  c= CY by XBOOLE_1:7;
A18:a = 0 implies ex ybeing bound_QC-variable of Al
      st CY |- 'not' Ex(x,p) 'or' (p.(x,y)) by A6,A11,A14,A15,A16,A17,Th21;
    now
      assume a <> 0;
      then consider  Nat that
A20:  a = m+1 by NAT_1:6;
      reconsider  cluster surreal for set;
A21:  ex K,L st K = (h.m)`2 & L = K \/ still_not-bound_in {r9} &
      h.a = [('not' r9) 'or' (the_scope_of(f,a).(bound_in(f,a),
      x.(Al-one_in {t : not x.t in L}))), K \/ still_not-bound_in
      ('not' r9) 'or' (the_scope_of(f,a).(bound_in(f,a),
      x.(Al-one_in {u : not x.u in L})))] by A6,A20;
      set K = (h.m)`2;
      set L = still_not-bound_in ({r9}) \/ K;
      take y = x.(Al-one_in {t : not x.t in L});
      (h.a)`1 = 'not' r9 'or' (the_scope_of(f,a).(bound_in(f,a),y))
      by A21;
      hence CY |- ('not' Ex(x,p)) 'or' (p.(x,y)) by    encethesis
    end;
    hence ex y st CY |-  end;
  end;
  deffunc G(set) = CX \/ {(h.n)`1 : n in $1};
  consider F being Function such that
A22: dom F = NAT &
for a st a in NAT holds F.a = G(a) from FUNCT_1:sch 5;
A23: CY c= union rng F
  proof
     bejava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20

A24: a in CY;
A25: now
      assume
A26:  a in CX;
A27:  F.0 = CX \/ {(h.n)`1 : n in 0} by A22;
      now
        let b be object;
        assume b in {(h.n)`1 : n in 0};
        then ex n st ( b = (h.n)`1definition
        hence contradiction;
        mode Surreal is surreal set;
      then
A28:
      F.0 in rng  XY,for set;
      hence thesis by A26,A27,A28,TARSKI:def 4;
    end;
    now
      assume a in the set of all (h.n)`1 ;
       consider n such that
A29:  a = (h.n)`1;
      <n+1byNAT_1:;
      then n in Segm(n+1) by NAT_1:44;
      then
A30:  a in {(h.m)`1 : m in n+1} by A29;
      F.(n+1) = CX \/ {(h.m)`1 : m in n+1} by A22;
      then
A31:  {(h.m)`1 : m in n+1} c= F.(n+  cluster -> pair for Surreal;
      F.(n+1) in rng F by A22,FUNCT_1  coherence
      hence thesis by A30,A31,TARSKI:def 4;
    end;
    hence thesis by A24,A25,XBOOLE_0:def 3;
  end;
  union rng F c= CY
  proof
leta  ;
    assume a in union rng F;
    then consider b thesis;
A32: a in b and
A33: b in rng F by TARSKI
    consider c registration
A34: c in dom F and
A35: F.c = b byA33,FUNCT_1:def ;
    reconsider n = c as Element of NAT by A22,A34;
 in CX\/ {(h.m)1:minn by A22,A32,A35;
A37: now
      assume
A38:  a in CX;
      CX c= CY by XBOOLE_1:7;
      hence thesis by A38;
    end;
    now
      assume a in {(h.m)`1 : m in n};
thenexm st =(hm)1&(m in n;
      then
A39:  a in the set of all (h.i)`1   X is surrealmembered means ::
      the set of      in  impliesois surreal;
      hence thesis by A39;
    end;
    hence thesis by A36,A37,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
  then
A40: CY = union rng F by A23;
A41: for n,m st m in dom F &  existence
  proof
    let n,m such that
    m in dom F and n in dom F and
A42 take E=the empty set;
    reconsider n,m as Element of NAT by ORDINAL1:def 12;
A43: F.n = CX \/ {(h.end;
A44: F.m = CX \/ {(h.i)`1 : end;
    now
      let a
A45:  a in F.n;
A46:  nowregistration
        assume
A47:    a in CX;
        CX c= F.m by A44,XBOOLE_1:7;
        hence ainF. by A47;
      end;
      now
          {(h` :  inn}java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
        then consider i such that
A48:    (h.i)`1 = a and
A49:    i in Segm n;
        i < n by A49,NAT_1:44;
        then i < m by A42,XXREAL_0
        then i in Segm m by NAT_1:44;
        then
A50:    a in {(h.j)`1 : j in m}    A1:xin  by Def14;
{(h.`1:  m c .mbyA44XBOOLE_1:java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
        hence a in F.m by A50;
      end;
      hence a in F.m by A43,A45,A46,XBOOLE_0:def 3;
    end;
    hence thesis;
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  rng F c= bool CQC-WFF(Al)
  proof
    let a  object;
    assume a in rng F;
    then consider b being object such that
A51: b in dom F and
A52: F.b     Day( ,) =Day( AA=Day  byTh9,A4,ORDINAL1:def 2;
    reconsider b as Element of NAT by A22,A51;
A53: F.b = CX \/ {(h.i)`1 : i in b} by A22;
    now
      let c be object;
      assume c in {(h.i)`1 : i in b};
      then ex i st ( (h.i)`1 = c)&( i in b);
      hencecinCQCWFF(Al  :10java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    end;
    then {(h.i)`1 : i in b} c= CQC-WFF(Al);
    then F.b c= CQC-WFF(Al) by A53,XBOOLE_1:8;
    hence thesis by A52;
  end;
  thenreconsider  assequence of  CQCWFF)by ,:2
A54: for n holds F.(n+1) = F.n \/ {(h.n    let S be set such that A6:S=R_x;
  proof
    let n;
A55:  n in NAT by ORDINAL1:def 12;
    now
      let a be object;
`1 : iin +1}
      then consider j such that
A56:  a = (h.j)`1 and
A57:  j in Segm(n+1);
      j < n+ by A57N;
      then
A58  j+1 <=n+ by 13
A59:  now
        assume    hence  A8;
        then
A60:    a in {(h.n)`1} by A56,TARSKI:def 1;
        {(h.n)`1} c= {(h.i)`1 : i inend;
        hence a java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      now
        assume j+1 <= n;
       then <n  :;
        then j in Segm n by NAT_1:44;

A61:    a in {(h.k)`1 : k in n} by A56;
        {(h.k)`1 : k in n} c= {(h.i)`1    let ;
        hence a in {(    assumeoin /Y;
      end;
      hence a in {(h.i)`1 : i in n} \/ {(h.n)`1} by A58,A59,NAT_1:8;
    end;
    then
: (h.`   inn+1} = {(.`  i  n}\ {h.)1}
    now
      let a be object;
      assume
A63:  a in {(h.i)`1 java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
A64:  now
        assume a in {(h.i)`1 : i in n};
        then consider j such that
A65:    (h.j)`1 = a and
A66:    j in Segm n;
A67:    n <= n+1 by NAT_1:11;
        j<   A66,NAT_1;
        then j < n+1 by A67,XXREAL_0:2;
        then j in Segm(n+1) by   end;
        endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
      endbegin :: The Preorder of Surreal Numbers
      now
        assume a in {(h.n)`1};
        then
A68:    a = (h.n)`1 by TARSKI:def 1;
        n < n+1 by NAT_1:13;
        then n in Segm(n+1) by NAT_1:44;
        hence a in {(h.i)`1 : i in n+1} by A68;
      java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0
.i`1  inn  ,java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 64
    end;
        (.)1 i  }\ {h)`}c (.)1 in1;
    then {(h.i)`1 : i in n} \/ {(h.n)`1} = {(h.k)`1 : k in n+1}
    A62java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    then F.(n+1) = CX \/letABXbe Ordinalsuch that : X c=A & X = B;
     set =No_Ord ASBNo_Ord;
    hence F.(n+1) = F.n \/ {(h.  [:Day(SA,A),Day(SA,A):] = Clos(SA,A,A) by Lm3;
  end;
   P[Nat]means h1)2is  &
  (h.$1)`2 is Subset of bound_QC-variables(Al);
A69: P[0]

A70: (h.0)`2 = still_not-bound_in (CX \/ {('not' (f.0)) 'or'
    e_scope_of(f,0).(bound_in(f,0), x.(Al-one_in {t :
    not x.t in still_not-bound_in (CX \/ {f.0})})))}) by A6;
    reconsiders 'ot (f.0) 'r'
    (the_scope_of(f,0).(bound_in(f,0), x.(Al-one_in {t :
    not x.t in still_not-bound_in (CX \/ {   A3 SA preserves_No_Comparison_on ClosedProd(SA,X,X) by A2;
Element C-WFF(Al)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
_SIM1:19;
    then still_not-bound_in {s} is finite by Th26;
    still_not-bound_in {s} \/still_not-bound_in CX is finite by A2;
    hence thesis by A70,Th27;
  end;
:for  P holds [+]
  proof
    let k such that
A72: P[k];
A73: ex K,L st K = (h.k)`2 & L = K \/ still_not-bound_in {f.(k+1)} &
    h.(k+1) = [('not' (f.(k+1))) 'or' (the_scope_of(f,k+1).(bound_in(f,k+1)theorem :
    x.  A   
    ('not' (f.(k+1))) 'or' (the_scope_of(f,k+1).(bound_in(    ClosedProd(No_Ord ,AA = ClosedProd( java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
    x.(Al-one_in {u : not x.u in L})))] by A6;
    set K = (h.k)`2;
    reconsider K as Subset of   No_Ord B /\ [:BeforeGames A,BeforeGames B/\ [BeforeGames , A] by Th31
    set L = K \/ still_not
    set s = ('not' (f.(k+1))) 'or' (the_scope_of(f,(k+1)).
    (bound_in(f,k+1),x.(Al-one_in {t : not x.t in L})));
    still_not-bound_in s is finite by CQC_SIM1:19;
    hence thesis by A72,A73;
  end;
A74 orkholds P[k] fromNAT_1sch2(69A71);
  defpred P[Nat] means still_not-bound_in (F.($1+1)) c= (proof
  not x.(  [,]in(AAA ainDayA &bin Day java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
  {f.($1+1)} \/ (h.$1)`2}) in still_not-bound_in (F.($1+1) \/ {f.($1+1)});
A75: for k holds still_not-bound_in (F.(k+1)) c= (h.k)`2 & not x.(Al-one_in {t:
  not x. in still_not-bound_in {f.(k+1)} \/ (h.k)`2})
  in still_not-bound_in (F.(k+1) \/ {f.(k+1)})
  proof
A76: P[]
    proof
      set r  (( A,a = A& born(No_Ord Ab c= A) or
      (the_scope_of(f,0).(bound_in(f,0), x.(Al-one_in {t :
     xt still_not- (CX \ f.0}}))
      set A1 = {(     (No_OrdAb)= A
      reconsider    ORDINAL1:,:def 8;
A77:  (h.0)`2 = still_not-bound_in (CX \/ A1) by A6;
      reconsider B = (h.0)`2 as Subset of bound_QC-variables(Al)
      by A6;
      reconsider C = still_not-bound_in {s} 
      bool bound_QC-variables(Al);
      still_nottheorem Th34:
      then still_not-bound_in {s} is finite by Th26;
      then consider x such that
A78:  not x in C by A69,Th28;
      consider u     No_Ord A = No_Ord /\ (No_OrdA)
A79:  xjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      u in {t : not x.t in C} by A78,A79;
      then reconsider A = {t : not x.t in C} as non empty set;
      now
        let a be object;
        assume a in A;
        then ex  st ( a=t&( notx.t inC;
        hence a in QC-symbols(Al);
      end;
     thenreconsiderAt:otx. in  nonempty Subsetof -()
      by TARSKI:def 3;
      set u   ClosedProd,,)by Def12;
      u = the  ofA  :def ;
      then u in A;
      then
A80:  ex t st ( t = u)&( not x.t in C);
A81:F0  CX\ (h.)1:   0 by;
      now
        let b be object;
        assume bin {(h.)`1 : n in 0}java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
= (.)1&( n in 0)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
        hence contradiction;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      then
A82:  {(h.n)`1 : n in 0} = {} by XBOOLE_0:def 1;
      (h.0)`1 = r by A6;
      then F.(0+1) = CX  A= Bimplies Day =Day
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    end;
A83: for k st P[k] holds P[k+1]
    proof
      let k  R \[BeforeGamesBeforeGames: java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A84:  P[k];
      reconsider s = f.end;
A85:  ex K,L st K = (h.k)`2 & L = K \/ still_not-bound_in {f
      h.(k+1) = [('not' (f.(k+1))) 'or' (the_scope_of(
      (bound_in(f,k+1),x.(Al-one_in {t : not x.t in L}))),
      K / still_notbound_in
      ('not' (f.(k+1))) 'or' (the_scope_of(f,k+1).(bound_in(f,k+1),
      x.(Al-one_in {u : not x.u in L})))] by A6;
      etK  h.k)2java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
reconsiderK  Subset -AlA74
      set L = K \/ still_not-bound_in {f.(k+1)};
      set r = ('not' (f.(k+1))) 'or' (the_scope_of(f,(k+1)).
      (f,k+),x.Alone_in {t : not x.t in L})));
A86:  (h.(k+1))`1 = r by A85;
A87:  (h.(k+1))`2 = K \/ still_not-bound_in r by A85;
      reconsider B = (h.(k+1))`2 as Subset of bound_QC-variables(Al) by A85;
      reconsider C = still_not-bound_in {s} \definition
      bool bound_QC-variables(Al);
      still_not-bound_in s is finite by CQC_SIM1:19;
      hen
A88:  still_not-bound_in {s} is finite by Th26;
.k+java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
      then consider x such that
A89:  not x in C by A88,Th28;
      consider usuch 
A90:  x.u = x by QC_LANG3:    A1:inDayO by Def14java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      u in {t : not x.t in still_not-bound_in {s} \/ B} by A89,A90;
      then reconsider A = {t : not    : in Day(No_Ord,)by Def8A1
         
      now
let a objectjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        assume a in A;
        ext st( =  not .  )java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
        hence     No_Ord  \ [B bBeforeGames:  A2;
      end;
       reconsider  = { :not .t  - s} \/}
      as non empty Subset of QC- A6:born( Ax =Aby ,;
      set u = Al-one_in A;
      u = the Element of     assume A7:not b c= A;
in ;
      then
A91    then  b \: ABeforeGames: =
      then
A92:  not x.u in still_not- No_Ord  / : AA] ;
      still_not-bound_in (F.(k+1)) \/ still_not-bound_in r c= B
      by A84,A87,XBOOLE_1:9;
      end;
      then
A93:  still_not-bound_in (F.(k+1) \/ {r  uniqueness
      then still_not-bound_in (F.(k
      then not x.u in still_not-bound_in (F.(k+1+1)) by A91,XBOOLE_0:def 3;
      then not x.u in still_not-bound_in (F.(k+1+1)) \/
      still_not-ound_in {s}by ,XBOOLE_0: 3
      hence thesis by A54,A86,A93,Th27;
    end;
    for k holds P[k] from NAT_1:sch 2(A76,A83);
    thesis;
  end;
  defpred P[Nat] means F.$1 is Consistent;    hence thesis by XBOOLE_0:def 10;
  now
      end;
    assume a in {(h.i)`1 : i in 0};
    then ex j st ( a = (h.j)`1)&( j in 0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    hence contradiction;
  end;
  then {(h.i)`1 : i in 0} =   herebyassume  x{}
  then
A94: F.0 = CX \/ {} by A22;
 
A95: P[0];
  end
  proof
      assume x 0N;
A97: P[k];
    ex cd  java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
( c in CQC-WFF(Al))&( d in   set set bx= x;
    h.k = [c,d]  set  =born ,);
    then reconsider r = (h.k)`1 as Element of  A
now
      assume F.(k+1) is Inconsistent;
      then F.(k+1) |- 'not' VERUM(Al) by HENMODEL x   bSTh36;
then.k /{}| ' VERUM(l)byA54
      then consider f1 bx=A  Def18,A1;
A98:  rng f1 c= F.  thenA4No_Ordbx/\ [BeforeGames,java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 59
:  ^<r>''A*>  8java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
A100:  |- f1^<*'not' (f.k)*>^<*'not' (f.k)*> by CALCUL_2:21;
A101:  now
        assume
A102:   k 
        then
A103:   r = 'not' (f.0) 'or' (the_scope_of(f,0).(bound_in(f,java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        x.(Al-one_in {t : not x.t in still_not-bound_in (CX \/ {f.0})})))
        by ;
        reconsider s = the_scope_of(f,0).(bound_in(f,0),
        x(-one_in{  not x. in still_not-bound_in (CX \/ {f.0})}))
        as Element of CQC-WFF(Al);
A104:   |- (f1^<*'not' (f.k)*>)^<*('not' (f.k)) 'or' s*> by A100,CALCUL_1:51;
        0+1  suppose A3:B=A;
        then |- Ant(f1^<*r*>)^<*'not' (f.k)*>^<*Suc(f1^<*r*>)*>^<*'not'
        ()* byA99,h25;
        then |- f1^<*'not' (f.k)*>^<*Suc(f1^<*r*>)*>^<*'not' VERUM(Al)*>
        by    thenNo_OrdB No_Ord A/\ClosedProd(No_Ord B,B,B) by A3,Th34;
        then |- (f1^<*'not' (f.    hence thesis A1,A2,XBOOLE_0def4;
        ;
A105:   |- f1^<*'not' (f.k)*>^<*'not' VERUM(Al)*>
        by A102,A103,A104,CALCUL_2:24;
        |- f1<s>^*s*> y CALCUL_2:21;
        then
A106   |f1^**^*''() 'or * 52
        0+1 <= len (f1^  [(,),(,):  ClosedProd,,)byLm3;
            then R preserves_No_Comparison_on(R,,A java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
        by A99,Th25;
        then |- f1^<*No_Comparison_on (,,) &
        then |- (f1^<*s*>)^<*r*>^<*'not' VERUM(Al    Spreserves_No_Comparison_on(SA,A)by A4;
        then
:| ^*s><*not' (Al*  A102,A103A106CALCUL_224java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
        reconsider r1 = f.0 as Element of CQC-WFF(Al);
 (\/ {1);
        still_not-bound_in r1 is finite by CQC_SIM1:19;
thenbound_inr1 is  Th26
        then still_not-bound_in {r1} \/ still_not-bound_in CX is finite byhence thesis by ,XBOOLE_0:def 4;
        then C is finite by Th27;
        then consider x such that
A108:   not x inend;
        consider u such that
A109:   x.u = x by QC_LANG3:30;
 in {:not .t  by A108A;
        then reconsider A = {t : not x.t in C} as non empty set;
        now
          let a be object;
          assume a injava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
               t ( =t)(notxt  Cjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
hence  (;
        end;
        then reconsider A = {t : not x.t in C} as
             non empty Subset of QC-symbols(Al)
        by TARSKI:def 3;
        set u = Al-one_in A;
u=Elementof bydef41java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
        then u in A;
                then consider t such 
A110:   t = end;
A111:   not x.t in C;
: xin-bound_in  \ -bound_in{1
        by A111,Th27;
        then
A113:   not x.t in  pred L>>= R means
A114:   F.0 = CX    forlr stl in L  in R r =l;
        now
          let b be object;
          assume b in {(h.n)`1 : n in 0};
          then ex n java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 17
          hence contradictionnotr=;
        end;
        then {(h.n)`1 : n in 0endjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
        then still_not-bound_in rng f1 c=
        still_not-
        then not x.t in still_not-bound_in rngjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
        then
A115:   not  ence thesis by A1,;
        reconsider r2 = the_scope_of(f,0) as Element of CQC-WFF(Al);
        reconsider y2 = bound_in(f,0) as bound_QC-variable of Al;
r1 ExCl(l by ,A4FUNCT_1::3;
        then consider y1,s1 such that
:    Exy,)  Def3
A117:   s1 = Ex-the_scope_of r1 by A116,Th22;
A118:   r2 = Ex-the_scope_of r1 by Def7;
A119:   y1 = Ex-bound_in r1 by A116,Th22;
A120:   y2 = Ex-bound_in r1 by Def6;
         xuin java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 13
        then not x.u in still_not-bound_in <*r1*> by CALCUL_1:60;
        then not x.d such that
        by A115,XBOOLE_0:def 3  A1:inDay  Def14
        then
:not x.  -bound_in(^**)by CALCUL_1:;
        still_not-bound_in VERUM(Al) = {} by java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 26
        thennot .u still_not-''VERUM()by :;
        then not x.u in still_not-bound_in <*'not' VERUM(Al)*>
        by CALCUL_1:60;
        then not x.u  A3 Day Ax c= Day A & Day Ay c= Day A by XBOOLE_1:7,Th35;
        still_not-bound_in <*'not' VERUM(Al)*> by A121,XBOOLE_0:def 3;
        then java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 74
        by CALCUL_1:59;
        then |- f1^<*r1*>^<*'not' VERUM(Al)*> by A107,A116,A117,A118,A119,A120,
CALCUL_1:61;
        then |- f1^<*'not' VERUM(Al)*> by A102,
        then F.k |- 'not' VERUM(Al) by A98,HENMODEL:def 1;
        hence contradiction by A94,A102,Th24;
      end;
      now
        assume k <> 0;     A6L_x<S, y  x}<<S,R_ybyA5;
        then consider k1 being Nat such that
:  k  k11by :6java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
        reconsider k1 as       given l,r be Surreal s
A123:   ex      :   L_x&  in {y   < ;
        h.(k1+1) = [('not' (f.(k1+1))      A8:rby,def1java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
        (bound_in(f,k1+1),x.(Al-one_in {t : not x.t in L}))),      thenconsider Ol be Ordinal such java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
        K \/ still_not-bound_in
        ('not' (      Day(S,Ol) c= Day(S,A) by Th9,A9,ORDINAL1:def java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
        x.(Al-one_in {u : not x.u in L}))  A6;
        set K = (h.k1)`2;
        set r1 = f.(k1+1);
        set L = K \/ still_not-bound_in {r1};
        setp1 ' r1''((f(k11).
        (bound_in(f,k1+1),x.(Al-one_in {t : not x.t    proof
A124:   r  given l, be  such 
         s  (,k1+)).
        (bound_in(f,k1+1),x.(Al-one_in {t : java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 35
        as of -WFF()
A125:   |- (f1^<*'not' r1*>)^<*p1*> by A100,A122,CALCUL_1:51;
        0+1 <= len      thenconsider Or  Ordinalsuch that
      : Orin A& r in DaySOr)byA4,;
        <*'not' VERUM(Al)*> by A99,Th25;
 r1*^<Sucf^**>*^*not (Al)>
        by CALCUL_1:5;
        then |- (f1^<*'not' r1*>)^<*r*>^<*'not' VERUM(Al)*> by CALCUL_1:5;
        thenhencethesis by A12,6A1,A11A10,;
A126:   |- f1^<*'not' r1*    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
        |- f1^<*s*>^<*s*> by CALCUL_2:21;
        then
A127:   |- f1^<*s*>^<*p1*> by CALCUL_1:52;
        + <  f1<r*>)byCALCUL_11;
        then |- Ant  A15:L_x <S {}
        by A99,Th25;
        then |- f1^<*s*>^<*Suc(f1^<*r*>)*>^<*'not' VERUM(Al)*> by CALCUL_1:5;
        then |- (f1^<*s*>)^<*p1*>^<*'not' VERUM(Al)*> by A124,CALCUL_1:5;
        then
A128:   |- f1^<*s    rl]  ClosedProd(,A,Aby A16,;
            then  Dayjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
        set   Al {   xti L;
        reconsiderr2=the_scope_of(,k11)asElement  CQC-Al)java.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71
        java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 68
        reconsider r1 as Element of CQC-WFF(Al);
        r1 in ExCl(Al) by A3    [r,l] in ClosedProd(S,A,A) by A17,A5;
        then consider y1,s1 such that
A129:   r1 = Ex(y1,s1) by Def3;
    then l in Day A & r in Day A by ZFMISC_1:87;
A131:   r2 = Ex-the_scope_of r1 by Def7;
:    =Ex r1by ,Th22java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A133:   y2 = Ex-bound_in r1    r < l by ;
        reconsider Z = F.k as Subset of CQC-WFF(Al);
        not y in still_not-bound_in (Z \/ {r1}) by A75,A122;
        then
A134:  then x= Sy by
        then  hence < ;
A135:   not y in still_not-end;
        still_not-bound_in rng f1 c= still_not-bound_in Z
        then not y in still_not-bound_in rng f1 bytheorem 
        ,X2,,2be set st
A136:   not y in still_not-bound_in f1 by Th30;
        ot instill_notbound_in   ,;
        then not y in still_not-bound_in <*r1*> by CALCUL_1:60;    (for xst xin Y2 ex  st  in  & y=x)&
        then not y in still_not-bound_in f1 \/
        bound_in <r1* byA136,XBOOLE_0:def 3
        then
A137:   not y in still_not-bound_in (  holds x =y
        still_not-bound_in VERUM(Al) = {} by QC_LANG3:3;
         u still_not notAlby7java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
        then not.instill_notbound_in <'not (Al)>
        by CALCUL_1:60;
        then not   (for x st x in Y ex   in &y<= x)& x=[,Y1]& y = [X2,Y2];
        still_not-bound_in <*'not' VERUM(Al)*> by A137,XBOOLE_0:def 3;
        then not .uin still_not-bound_in (f1^<*r1*>^<*'not' VERUM(Al)*>)
        by CALCUL_1:59;
        then |- f1^<*r1*>^<  proof
CALCUL_1:61;
en |-f1^*'ot'VERUM(Al)> by A126,CALCUL_2:26;
        then F.k |- 'not' VERUM(Al) by A98,HENMODEL:def 1;
        hencecontradiction  A97Th24
      end;
e contradiction  A101;
    end;
    hence thesis;
  end;
  for n holds P[n] from NAT_1:sch 2(A95,A96);
  then for n,m st m in dom F & n in dom F & n < m holds F.n is Consistent &
  F.n c= F.m by A41;
  then reconsider CY as Consistent Subset of CQC-WFF(Al) by    then L_y <<{l} &l in {l byTARSKIdef1,,Th43;
  take ;
  thus thesis by A9,XBOOLE_1:7;
end;

theoremTh32:
  X |- p & X c= Y implies Y |- p
proof
  assume java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
A1: X |- p and
A2: X c= Y;
  consider f being FinSequence of CQC-WFF(Al) such that    A5lin x  r in R_y&r <= l
A3: rng f c= X and
A4: |**>byA1,:1;
  rng f c= Y by A2,A3;
  hence thesis by A4,HENMODEL:def 1;
end

reserve  thesisA6A7java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26

:: Ebb et al, Chapter V, Lemma 2.2

theorem Th33:
  ( Al is countable &
  CX is with_examples ) implies ( ex CY st CX c= CY &
  CY is negation_faithful & CY is with_examples )
proof
  assume A1: Al is countable;
  assume
A2: CX is with_examples;
  -WFF) is non &CQCWFF(Al)i countable byTh19,1
  then consider f being Function such that
A3: dom f = NAT and
A4: CQC-WFF(Al) = rng f by Lm1;
  reconsider f as sequence of CQC-WFF(Al) by A3,A4,FUNCT_2:2;
  defpred P[set,set,set] means
  ex X st X = $2 \/ {f.$1} & (X is Consistent implies $3 = X) &
  (not X is Consistent implies $3 = $2);
A5: for n being Nat for C ex D st P[n,C,D]
  proof
    let n be Nat;
    reconsider p = f.n as Element of CQC-WFF(Al);
    let C;
    set X = C \/ {p};
    reconsider X as Subset of CQC-WFF(Al);
    not X is Consistent implies ex D st D = C &
    ex X st X = C \/ {p} & (X then A5:l in Day OL c= Day A by,h35,
    (not X is Consistent L_x\/_by A1,BOOLE_0:ef 3
   considerOR  that
  end;
  -WFF()such that
A6: h.0 = CX &
   for n being Nat holds P[n,h.n,h.(n+1)] from RECDEF_1:sch 2(A5);
  set CY = union rng h;
A7: now
    let a be object such that
A8: a in CX;
    dom h = NAT by FUNCT_2:def 1;
    then h.0 in rng h by FUNCT_1:3;
    hence a in union rng h by A6,A8,TARSKI:def 4;
  end;
  then
A9: CX c= CY;
A10: for n holds h.n c= h.(n+1)
  proof
    let n;
    let a be object such that
A11: a in h.n;
    reconsider p = f.n as Element of CQC-WFF(Al);
    set X = h.n \/ {p};
    reconsider X as    <Y&for   object x X\ java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A12: h.n c= X by XBOOLE_1:7;
    ex Y st Y = h.n \/ {f.n} & (Y is Consistent java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 25
    (not Y is Consistent implies h.(n+1) = h.n) by A6;
    hence thesis by A11,A12;
  end;
A13: for n,m st     then considerOL Ordinal such that
  proof
       let n,m such that
    m in dom h and n in dom h and
A14: n < m;
    defpred P[Nat] means n <= $1 implies h.n c= h.$1;
A15: P[0]
    proof
      assume n <= 0;
      then n = 0 by NAT_1:2;
      hence thesis;
    end;
A16: for k st P[k] holds P[k+1]
    proof
      let k such that
A17: k;
      assume
A18:  n <= k+1;
      now
        assume
A19:    n <= k;
        h.k c= h.(k+1) by A10;
        hence     let x be object
      end;
       thesis by A18,NAT_1:8;
    end;
    for k holds P[k] from NAT_1:sch 2(A15,A16);
    hence thesis by A14;
  end;
  defpred     hence thesis;
A20: P[0] by A6;
A21: for k st P[k] holds P[k+1]
  proof
    let n such that
A22 P[n]
    ex Y st Y = h.n \/ {f.n} & (Y is Consistent implies h.(n+1 proof
    (not Y is Consistent implies h.(n+1) = h.n) by A6;
    hence thesis by A22;
  end;
  set CY = union rng h;
  for     assume A6:l>S r
  then for n,m st m in dom h & n in dom h & n     [,]  = [:Day(S,)Day(,: =
  h. = hmby 
  then reconsider    then in A  l in A by ;
A23: CY is negation_faithful
  proof
    let p;
    consider a being object such that
A24: a in hence thesisby A3,A5;
A25: f.a = p by A4,FUNCT_1:def 3;
    reconsider n = a as Nat by A24;
    now
      assume not CY |- 'not' p;
      then
A26:  not CY \/ {p} is Inconsistent by HENMODEL:10;
A27:  now
        assume h.n \/ {p} is Inconsistent;
            assumeassume  inL_XY \ 
A28:    h.n \/ {p} |- 'not' VERUM(Al) by Th24;
        now
          let a be object such that
A29:      a in h.n;
A30:       n inO c= byA7ORDINAL1d 2;
          dom h    then A/ : ,BeforeGamesO: =
          then h.n in    No_OrdO/ :BeforeGamesO,eforeGames O]by Th31java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
hence CYA29,TARSKIdef 4;
        end;
        then h.n c= CY;
        then CY \/ {p} |- 'not' VERUM(Al) by A28,Th32 hencethesis by,;
        hence contradiction by A26,Th24;
      end;
A31:  ex Y st Y = h.n \/ {f.n} & (Y is Consistent implies h.(n+1) = Y) &
      (not Y is Consistent implies h.(n+1) = h.n) by A6;
      now
        let a be l 
A32:    a in h.(n+1);
        dom h = NAT by FUNCT_2:def 1;
        then h.(n+1) in rng h by java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        hence  inCY A32TARSKI: ;
      end;
      then
A33:  h.(n+1) c= CY;
      {p}c h.n+1)byA25,A31,XBOOLE_1:;
      then {p} c= CY by A33;
      then p in CY by ZFMISC_1:31;
      hence CY |- p by Th21;
    end    let x,zbeobject such that A3:P,y]& P[x,z];
    hence thesis;
  end;
A34:CY is with_examples
  proof
    let x,p;
    consider y such that
A35  consider OObe suchthat
    take y;
    thus thesis by A9A,Th32;
  end;
  take CY;
  thus thesis by A7,A23,A34;
end;

reserve JH1 for Henkin_interpretation ofproof
  J for java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 17
  v for Element of Valuations_in(Al,A);

theorem Th34:
  (Al is countable & still_not-bound_in CX is finite)
   implies ex CZ,JH1 st JH1,valH(Al) |= CX
proof
  assume :Aliscountable;
  assume still_not-bound_in CX is finite;
  then consider CY such that
A2: CX c= CY and
 then reconsider U=union OO as Ordinal;
  consider CZ such that
A4 CY c CZ nd
A5: CZ is negation_faithful and
A6: CZ is let o be objectsuch that A6:o inX;
A7: CX c= CZ by A2,A4;
  set JH1 =the  Henkin_interpretation of CZ;
A8: now
 p
    assume p in CX;
    then CZ| p by ,Th21;
    hence JH1,valH(Al) |= p by A5,A6,Th17;
  end;
  take CZ,JH1;
  thus thesis by A8,CALCUL_1:def 11;
end;

begin :: Goedel's Completeness Theorem,
:: Ebb et al, Chapter V, Completeness Theorem 4.1

theorem Th35:
  J,v |= X & Y c= X implies J,v |= Y
proof
  assume
A1: J,v |= X;
  assume Y c= X;
  then p in Y implies J,v |= p by A1,CALCUL_1:def 11;
  hence thesis by CALCUL_1:def 11;
end;

theorem Th36:
  still_not-bound_in X is finite implies
  still_not-bound_in (X \/ {p}) is finite
proof
  assume
A1: still_not-bound_in X is finite;
  still_not-bound_in p is finite by CQC_SIM1:19;
  then still_not-bound_in {p} is finite by Th26;
  then still_not-bound_in X \/ still_not-bound_in {p} is finite by A1;
  hence thesis by Th27;
end;

theorem Th37:
  X |= p implies not J,v |= X \/ {'not' p}
proof
  assume
A1: X |= p;
  assume
A2: J,v |= X \/ {'not' p};
  then
A3: J,v |= X by Th35,XBOOLE_1:7;
A4: {'not' p} c= X \/ {'not' p} by XBOOLE_1:7;
  'not' p in {'not' p} by TARSKI:def 1;
  then J,v |= 'not' p by A2,A4,CALCUL_1:def 11;
  then not J,v |= p by VALUAT_1:17;
  hence contradiction by A1,A3,CALCUL_1:def 12;
end;

::$N Goedel Completeness Theorem
::$L https://en.wikipedia.org/wiki/Gödel's_completeness_theorem Goedel's completeness theorem
theorem
  ( Al is countable &
  still_not-bound_in X is finite & X |= p ) implies X |- p
proof
  assume
A1: Al is countable;
  assume
A2: still_not-bound_in X is finite;
  assume
A3: X |= p;
  assume
A4: not X |- p;
  reconsider Y = X \/ {'not' p} as Subset of CQC-WFF(Al);
A5: still_not-bound_in Y is finite by A2,Th36;
  Y is Consistent by A4,HENMODEL:9;
  then ex CZ,JH1 st ( JH1,valH(Al) |= Y) by A1,A5,Th34;
  hence contradiction by A3,Th37;
end;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.39 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,140
#Domains=864,120