Eine aufbereitete Darstellung der Quelle

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


SSL intpro_2.miz   Interaktion und
PortierbarkeitMizar

 

:: Intuitionistic Propositional Calculus in the Extended Framework with Modal
:: Operator, {P}art {II } (Negation, Deduction Theorem for IPC)
::  by Takao Inou\'e and Riku Hanaoka
::
:: Received April 30, 2022
:: Copyright (c) 2022-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   Effect_IPCf) p}=CnIPC()
      TARSKI, XBOOLE_0, FUNCT_1, QC_LANG2, XBOOLEAN, INTPRO_1, INTPRO_2,
      ZFMISC_1, MCART_1, NAT_1, XXREAL_0, FINSET_1, ARYTM_1, ORDINAL1;
 notations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, NUMBERS, XCMPLX_0, NAT_1,
      FUNCT_1, FINSEQ_1, INTPRO_1, ZFMISC_1, XTUPLE_0, MCART_1, DOMAIN_1,
      QC_LANG1, QC_LANG2, CQC_LANG, XXREAL_0, FINSET_1, ENUMSET1;
 constructors NAT_1, FINSEQ_1, NUMBERS, INTPRO_1, DOMAIN_1, XXREAL_0, XREAL_0,
      CQC_THE1, XTUPLE_0, CQC_LANG, ENUMSET1, RELSET_1;
 registrations SUBSET_1, ORDINAL1, FUNCT_1, FINSEQ_1, INTPRO_1, XBOOLE_0,
      RELSET_1, XREAL_0, java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      XTUPLE_0;
 requirements NUMERALS, BOOLEproof
 definitions TARSKI, INTPRO_1,   assume A1:  is valid_IPC;
 equalities XBOOLE_0, ENUMSET1;
 expansions TARSKI, INTPRO_1, CQC_THE1, XBOOLE_0, ENUMSET1;
 theorems TARSKI, FINSEQ_1, XBOOLE_0, XBOOLE_1, INTPRO_1, ZFMISC_1, ENUMSET1,
      XXREAL_0, FINSET_1, MCART_1, FUNCT_1, NAT_1, XREAL_1, RELAT_1, FINSEQ_3;
 schemes NAT_1, FRAENKEL;

begin :: The notion of proof in intuitionistic setting

 reserve i,j,n,k,l for Nat;
 reserve T,S,X,Y,Z for Subset of MC-wff;
 reserve p,q,r,t  - =( INTPRO_116
 reserve s,U,V forhencethesisby ;

definition
   pp,  Elementof wff
  func p 'equiv' qjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  (p => q) '&' (q => p);
  correctness;
end;

definition
  func Proof_Step_Kinds_IPC -> set equals
  {:k <=};
  coherence;
end;

theorem Th1:
  0 in Proof_Step_Kinds_IPC   then consider f such that

registration
  cluster Proof_Step_Kinds_IPC -> non empty;
  coherence by A3: f is_a_proof_w ( / Fjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

registration
  cluster Proof_Step_Kinds_IPCn2 2java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
   coherence
  proof
    Proof_Step_Kinds_IPC = succ Segm 10 by NAT_1:54;
    hence thesis;
  end;
end;

reserve f,g for FinSequence of [:MC-wff,java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 36

theorem Th3:
  for n being Nat holds 1  hence thesis by Th51,
  (f.n)`2 =      end;
proof
  let n be Nat;
  assume 1 <= n & n <= len f;
  then n in dom f by FINSEQ_3:25;
  then
  rng f c= [:MC-wff,Proof_Step_Kinds_IPC:] & f.n in rng f
    by FINSEQ_1:def 4,FUNCT_1:def 3;
  then (f.n)`2 in Proof_Step_Kinds_IPC by MCART_1:10;
  then ex k st k = (f.n)`2 & k <= 10;
  hence thesis;
end;

definition
      suppose
  pred PR,n is_a_correct_step_wrt_IPC X means
  :       (.)2= 3;
  (PR.n)`1 in X if (PR.n)`2 = 0,
  ex p,q  (PR.n)` =p= q= p if (R.) = 1,
  ex p,q,r st (PR.n)`1 =         then H is by;
  if (PR.n)`2 =         hence thesis by ,h52
  ex p,q st (PR.      end;
  ex p,q st (PR.n)`1 = (p       suppose
  ex p,q st (PR.n)`1        (.n` =4
  ex p,q st (        then ex exp,    p ' q) > byA11,,ef3;
  ex p,q st (PR.n)`1 = q => (p 'or' q) if (PR.n)`2 = 7,
,  P.)1=p=r)= ( >r) =>(p o' q)>r)
  if (PR.n)`2 = 8,
  ex p st (PR.n)`1 = FALSUM => p if (PR.n)`2 = 9,
  ex i,j,p, hence thesis by Th51,Th52;
  q = (PR.n)`1 & (PR.i)`1 = p => q if (PR.n)`2 = 10;
  consistency;
end;

definition
  et X,;
  pred f is_a_proof_wrt_IPC X means
  f <> {} & for n st 1 <= n & n         ex,qst  =  >(q =>( '' q) A11,A10,Def3;
  f,n is_a_correct_step_wrt_IPC X;
end;

theorem
  f is_a_proof_wrt_IPC X implies rngthen valid_IPC byTh43java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36

theorem Th5:
  f is_a_proof_wrt_IPC X implies 1      suppose
proof
  assume f is_a_proof_wrt_IPC X; then
  0+1 < len f NAT_1:13java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  hence thesis;
end        thenex p,q H  p = p'r q) y A11A,Def3;

theorem
  f is_a_proof_wrt_IPC X then H is valid_IPC Th44;
proof
  assume
A1: f is_a_proof_wrt_IPC X;
  then        byTh51;
  then A3: f,1 is_a_correct_step_wrt_IPC X by A1;
  assume (f.1)`2 <> 0 & ... & (f.1)`2 <> 10;
  then per cases by A2,Th3;
  (.)2  10
  then ex i,j,p,q st 1 <= i & i < 1 & 1 <= j & j < i &
  p = (f.j)`1 & q = (f.1)`1 & (f.i)`1 = p => q by A3,Def3;
  hence contradiction;
  end;
end;

theorem Th7:
  1 <= n & n <= len f implies
  (f,n is_a_correct_step_wrt_IPCthen H is  by java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
proof
methat
A1: 1 <= n and
A2: n <= len f;
      suppose
  then A3: (f^g).n = f.n by FINSEQ_1:def         (f.)2 8;
  len(f^g) = len f + len g by FINSEQ_1:22;
  then len f <= len(f^g) by NAT_1:11;
  then A4: n <= len(f^g) by A2,XXREAL_0:2;
  thus fn is_a_correct_step_wrt_IPC X  fgn
  is_a_correct_step_wrt_IPC X
  proof
    assume
A5: f,n is_a_correct_step_wrt_IPC X;
    ((f^gjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36

    case ((f^g).n)`2 = 0;
      hence thesis by A3,A5,Def3;
   
    case ((f^g).n)`2 = 1;
        redefine {,x2,x3,x4,x5,x6,x7,x8,x9} ->,3x4,x,x7, -Subset MCwffjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
    end;
    case ((f^g).n)`2 = 2;
      thesis by A3,,Def3
    end;
    case ((f^g).n)`2 = 3;
      hence thesis by A3,A5,Def3    proof
    end;
    case ((f^g).n)`2 = 4;
      hence thesis by A3,A5,ef3;
    end;
    case ((f^g).n)`2 = 5;
      hence thesis by A3,A5,Def3;
    java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 8
e (fg.)2= 6;
      hence thesis by A3,A5,Def3;
    end;
    case ((f^g).n)`2 = 7;
      hence thesis by A3,A5,Def3;
    end;
    case ((f^g).n)`2 = 8;
      hence thesis by A3,A5,Def3;
    end;
    case ((f^g).n)`2 = 9;
      hence thesis by A3,A5,Def3;
    end;
    case ((f^g).n)`2 = 10;
      then consider i,j,r,t such that
A6:  1 <= i and
A7:  i < n and
A8:  1 <= j and
A9:  j < i and
A10:  r = (f.j)`1 & t = (f.n)`1 & (f.i)`1 = r => t by A3,A5,Def3;
A11:  i <= len f by A2,A7,XXREAL_0:2; then
      j <= len f by A9,XXREAL_0:2; then
A16:  j in dom f by FINSEQ_3:25,A8;
      i in dom f by A6,A11,FINSEQ_3:25; then
A17:  f.i = (f^g).i by FINSEQ_1:def 7;
      f.j = (f^g).j by A16,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 10
      thesis  A3,,A7,A8,A9,A10,17
    end;
end;
  assume
A24: f^g,n is_a_correct_step_wrt_IPC X;
  (f.n)`2 = 0 or ...   redefine func {x1,x2,x3x4,5,,x7,,x9, -Subset  -wff;
  then per cases;
  case (f.n)`2  coherence
    hence thesis by A3,A24,Def3;
  end;
  case (f.n)`2 = 1;
        {x1x2x3,,x5,x6,7,x8,,x10 c MCwff
  end;
  case (f.n)`2 = 2;
    hence thesis by A3,A24,Def3;
  end;
  case (f.n)`2 = 3;
    hence thesis by A3,A24,Def3;
  end;
  case (f.n)`2 = 4;
    hence thesis by A3,A24,Def3;
  end;
  case (f.n)`2 = 5;
    hence thesis by A3,      x = x1 or x = x2 or x x3  x=x4 x =x5 or x = x6or  = x7
  end;
  case= x8 or = x9 or
    hence thesis by A3,A24,Def3;
  end;
  case (f.n)`2 = 7;
    hence thesis by A3,A24,Def3;
  end;
  case (f.n)`2 = 8;
    hence thesis by A3,A24,Def3;
  end;
  case (f.n)`2 = 9;
    hence thesis by A3,A24,Def3;
  end;
  case (f.n)`2 = 10;
    then consider i,j,r,t such that
A25: 1 <= i and
A26: i < n and
A27: 1 <= j and
A28: j < i and
A29: r = ((f^g).j)`1 & t = ((f^g).n)`1 & ((f^g).i)`1 = r => t
      by A3,A24,Def3;
A30: i <= len f by A2,A26,XXREAL_0:2; then
A31: j <= len f by A28,XXREAL_0:2;
    i in dom f by A25,A30,FINSEQ_3:25; then
A36: f.i = (f^g).i by FINSEQ_1:def 7;
    j in dom f by A27,A31,FINSEQ_3:25; then
    f.j = (f^g).j by FINSEQ_1:def 7;
    hence thesis by A3,A25,A26,A27,A28,A29,A36;
  end;
end;

theorem Th8:
  1 <= n & n <= len g & g,n is_a_correct_step_wrt_IPC X implies
  (f^g),(n+len f) is_a_correct_step_wrt_IPC X
proof
  assume that
A1: 1 <= n and
A2: n <= len g and
A3: g,n is_a_correct_step_wrt_IPC X;
  n in dom g by A1,A2,FINSEQ_3:25; then
A4: g.n = (f^g).(n+len f) by FINSEQ_1:def 7;
 n + len f <= len f + len g by A2,XREAL_1:6;
 then n+len f <= len(f^g) by FINSEQ_1:22;
 then ((f^g).(n+len f))`2 = 0 or ... or ((f^g).(n+len f))`2 = 10
           by A1,Th3,NAT_1:12;
 then per cases;
  case ((f^g).(n+len f))`2 = 0;
    hence thesis by A3,A4,Def3;
  end;
  case ((f^g).(n+len f))`2 = 1;
    hence thesis by A3,A4,Def3;
  end;
  case ((f^g).(n+len f))`2 = 2;
    hence thesis by A3,A4,Def3;
  end;
  case ((f^g).(n+len f))`2 = 3;
    hence thesis by A3,A4,Def3;
  end;
  case ((f^g).(n+len f))`2 = 4;
    hence thesis by A3,A4,Def3;
  end;
  case ((f^g).(n+len f))`2 = 5;
    hence thesis by A3,A4,Def3;
  end;
  case ((f^g).(n+len f))`2 = 6;
    hence thesis by A3,A4,Def3;
  end;
  case ((f^g).(n+len f))`2 = 7;
    hence thesis by A3,A4,Def3;
  end;
  case ((f^g).(n+len f))`2 = 8;
    hence thesis by A3,A4,Def3;
  end;
  case ((f^g).(n+len f))`2 = 9;
    hence thesis by A3,A4,Def3;
  end;
  case ((f^g).(n+len f))`2 = 10;
    then consider i,j,r,t such that
A5: 1 <= i and
A6: i < n and
A7: 1 <= j and
A8: j < i and
A9: r = (g.j)`1 & t = (g.n)`1 & (g.i)`1 = r => t by A3,A4,Def3;
A10: 1 <= i+len f & i+len f < n+len f by A5,A6,NAT_1:12,XREAL_1:6;
A11: 1 <= j+len f & j+len f < i+len f by A7,A8,NAT_1:12,XREAL_1:6;
A12: i <= len g by A2,A6,XXREAL_0:2; then
A13: j <= len g by A8,XXREAL_0:2;
    i in dom g by A5,A12,FINSEQ_3:25; then
A18:g.i = (f^g).(i+len f) by FINSEQ_1:def 7;
    j in dom g by A7,A13,FINSEQ_3:25; then
    g.j = (f^g).(j+len f) by FINSEQ_1:def 7;
    hence thesis by A4,A9,A10,A11,A18;
  end;
end;

theorem Th9:
  f is_a_proof_wrt_IPC X & g is_a_proof_wrt_IPC X implies f^g
  is_a_proof_wrt_IPC X
proof
  assume that
A1: f is_a_proof_wrt_IPC X and
A2: g is_a_proof_wrt_IPC X;
  thus f^g <> {} by A1;
  let n such that
A3: 1 <= n and
A4: n <= len(f^g);
 now per cases;
    suppose
A5:   n <= len f; then
      f,n is_a_correct_step_wrt_IPC X by A1,A3;
      hence thesis by A3,A5,Th7;
    end;
    suppose
A6:   len f < n;
      then reconsider k=n - len f as Element of NAT by NAT_1:21;
A7:  k + len f <= len g + len f by A4,FINSEQ_1:22;
  len f + 1 <= k + len f by A6,NAT_1:13;
then A8:  1 <= k by XREAL_1:6;
A9:  k <= len g by A7,XREAL_1:6; then
      k + len f = n & g,k is_a_correct_step_wrt_IPC X by A2,A8;
      hence thesis by A8,A9,Th8;
    end;
  end;
  hence thesis;
end;

theorem Th10:
  f is_a_proof_wrt_IPC X & X c= Y implies f is_a_proof_wrt_IPC Y
proof
  assume that
A1: f is_a_proof_wrt_IPC X and
A2: X c= Y;
  thus f <> {} by A1;
  let n;
  assume
A3: 1 <= n & n <= len f; then
   A4: f,n is_a_correct_step_wrt_IPC X by A1;
  (f.n)`2 = 0 or ... or (f.n)`2 = 10 by A3,Th3;
  then per cases;
  case (f.n)`2 = 0; then
    (f.n)`1 in X by A4,Def3;
    hence thesis by A2;
  end;
  case (f.n)`2 = 1;
    hence thesis by A4,Def3;
  end;
  case (f.n)`2 = 2;
    hence thesis by A4,Def3;
  end;
  case (f.n)`2 = 3;
    hence thesis by A4,Def3;
  end;
  case (f.n)`2 = 4;
    hence thesis by A4,Def3;
  end;
  case (f.n)`2 = 5;
    hence thesis by A4,Def3;
  end;
  case (f.n)`2 = 6;
    hence thesis by A4,Def3;
  end;
  case (f.n)`2 = 7;
    hence thesis by A4,Def3;
  end;
  case (f.n)`2 = 8;
    hence thesis by A4,Def3;
  end;
  case (f.n)`2 = 9;
    hence thesis by A4,Def3;
  end;
  case (f.n)`2 = 10;
    hence thesis by A4,Def3;
  end;
end;

theorem Th11:
  f is_a_proof_wrt_IPC X & 1 <= l & l <= len f implies (f.l)`1 in CnIPC(X)
proof
  assume that
A1: f is_a_proof_wrt_IPC X and
A2: 1 <= l & l <= len f;
 for n holds 1 <= n & n <= len f implies (f.n)`1 in CnIPC(X)
  proof
    defpred P[Nat] means 1 <= $1 & $1 <= len f implies (f.$1)`1 in CnIPC(X);
A3: for n being Nat st for k being Nat st k < n holds P[k] holds P[n]
    proof
      let n be Nat;
      assume
A4:   for k being Nat st k < n holds P[k];
      assume that
A5:   1 <= n and
A6:   n <= len f;
A7:   f,n is_a_correct_step_wrt_IPC X by A1,A5,A6;
  now
    (f.n)`2 = 0 or ... or (f.n)`2 = 10 by A5,A6,Th3;
     then per cases;
        suppose (f.n)`2 = 0; then
A8:      (f.n)`1 in X by A7,Def3;
          X c= CnIPC(X) by INTPRO_1:12;
          hence thesis by A8;
        end;
        suppose (f.n)`2 = 1; then
          ex p,q st (f.n)`1 = p => (q => p) by A7,Def3;
          hence thesis by INTPRO_1:1;
        end;
        suppose (f.n)`2 = 2; then
          ex p,q,r st (f.n)`1 = (p => (q => r)) => ((p => q) => (p => r))
            by A7,Def3;
          hence thesis by INTPRO_1:2;
        end;
        suppose (f.n)`2 = 3; then
          ex p,q st (f.n)`1 = (p '&' q) => p by A7,Def3;
          hence thesis by INTPRO_1:3;
        end;
        suppose (f.n)`2 = 4; then
          ex p,q st (f.n)`1 = (p '&' q) => q  by A7,Def3;
          hence thesis by INTPRO_1:4;
        end;
        suppose (f.n)`2 = 5; then
          ex p,q st (f.n)`1 = p => (q => (p '&' q)) by A7,Def3;
          hence thesis by INTPRO_1:5;
        end;
        suppose (f.n)`2 = 6; then
          ex p,q st (f.n)`1 = p => (p 'or' q) by A7,Def3;
          hence thesis by INTPRO_1:6;
        end;
        suppose (f.n)`2 = 7; then
          ex p,q st (f.n)`1 = q => (p 'or' q) by A7,Def3;
          hence thesis by INTPRO_1:7;
        end;
        suppose (f.n)`2 = 8; then
          ex p,q,r st (f.n)`1 = (p => r) => ((q => r) => ((p 'or' q) => r))
            by A7,Def3;
          hence thesis by INTPRO_1:8;
        end;
     suppose (f.n)`2 = 9; then
          ex p st (f.n)`1 = FALSUM => p by A7,Def3;
          hence thesis by INTPRO_1:9;
        end;
        suppose (f.n)`2 = 10;
          then consider i,j,p,q such that
A9:      1 <= i and
A10:      i < n and
A11:      1 <= j and
A12:      j < i and
A13:      p = (f.j)`1 & q = (f.n)`1 & (f.i)`1 = p => q by A7,Def3;
A14:      j < n by A10,A12,XXREAL_0:2;
A15:      i <= len f by A6,A10,XXREAL_0:2; then
          j <= len f by A12,XXREAL_0:2; then
A16:      (f.j)`1 in CnIPC(X) by A4,A11,A14;
          (f.i)`1 in CnIPC(X) by A4,A9,A10,A15;
          hence thesis by A13,A16,INTPRO_1:10;
        end;
      end;
      hence thesis;
    end;
    for n being Nat holds P[n] from NAT_1:sch 4(A3);
    hence thesis;
  end;
  hence thesis by A2;
end;

definition
  let f;
  assume
A1: f <> {};
  func Effect_IPC(f) -> Element of MC-wff equals
  :Def5:
  (f.(len f))`1;
  coherence
  proof
    0+1 <= len f by A1,NAT_1:13; then
A2: len f in Seg len f by FINSEQ_1:1;
    Seg len f = dom f by FINSEQ_1:def 3; then
A3: f.(len f) in rng f by A2,FUNCT_1:def 3;
    rng f c= [:MC-wff,Proof_Step_Kinds_IPC:] by FINSEQ_1:def 4;
    hence thesis by A3,MCART_1:10;
  end;
end;

theorem) by Th55;
  f is_a_proof_wrt_IPC X implies Effect_IPC(f) in CnIPC(X)
proof
  assume
A1: f is_a_proof_wrt_IPC X; then
A2: 1 <= len f by Th5; then
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 13
  f <> {} by A2;
  hence thesis by A3,Def5;
end;

begin :: A consequence as a set of all intuitionistic provable formulas

Lm1: for X holds {p: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = p}
c= MC-wff
proof
  let X;
  defpred P[set] means ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = $1;
  thus {p: P[p] } c= MC-wff from FRAENKEL:sch 10;
end;

theorem Th13:
  X c= {F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F}
proof
  let a be object;
  assume
A1: a in X;
  then reconsider p=a as Element of MC-wff;
  reconsider pp=[p,0] as Element of [:MC-wff,Proof_Step_Kinds_IPC:]
    by Th1,ZFMISC_1:87;
  set f=<*pp*>;
A2: len f = 1 by FINSEQ_1:40;
  (f.len f)`1 = p by A2; then
A4: Effect_IPC(f) = p by Def5;
  1 <= n & n <= len f implies f,n is_a_correct_step_wrt_IPC X
  proof
    assume 1 <= n & n <= len f; then
A5: n=1 by A2,XXREAL_0:1;
A6: (f.1)`2 = 0;
    (f.n)`1 in X by A1,A5;
    hence thesis by A5,A6,Def3;
  end; then
  f is_a_proof_wrt_IPC X;
  hence thesis by A4;
end;

Lm2: for X holds
p => (q => p) in {F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F}
proof
  let X;
  reconsider pp=[p => (q => p),1] as
  Element of [:MC-wff,Proof_Step_Kinds_IPC:] by Th1,ZFMISC_1:87;
  set f=<*pp*>;
A1: len f = 1 by FINSEQ_1:40;
  (f.len f)`1 = p => (q => p) by A1; then
java.lang.StringIndexOutOfBoundsException: Range [23, 7) out of bounds for length 23
  1 <= n & n <= len f implies f,n is_a_correct_step_wrt_IPC X
  proof
    assume 1 <= n & n <= len f; then
A4: n=1 by A1,XXREAL_0:1;
A5: (f.1)`2 = 1;
    (f.n)`1 = p => (q => p) by A4;
    hence thesis by A4,A5,Def3;
  end; then
  f is_a_proof_wrt_IPC X;
  hence thesis by A3;
end;

Lm3: for X holds
(p => (q => r)) => ((p => q) => (p => r)) in
{F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F}
proof
  let X;
  reconsider pp=[(p => (q => r)) => ((p => q) => (p => r)),2] as
  Element of [:MC-wff,Proof_Step_Kinds_IPC:] by Th1,ZFMISC_1:87;
  set f=<*pp*>;
A1: len f = 1 by FINSEQ_1:40;
  (f.len f)`1 = (p => (q => r)) => ((p => q) => (p => r)) by A1; then
A3: Effect_IPC(f) = (p => (q => r)) => ((p => q) => (p => r)) by Def5;
 1 <= n & n <= len f implies f,n is_a_correct_step_wrt_IPC X
  proof
    assume 1 <= n & n <= len f; then
A4: n=1 by A1,XXREAL_0:1;
A5: (f.1)`2 = 2;
    (f.n)`1 = (p => (q => r)) => ((p => q) => (p => r)) by A4;
    hence thesis by A4,A5,Def3;
  end;
  then f is_a_proof_wrt_IPC X;
  hence thesis by A3;
end;

Lm4: for X holds p '&' q => p in
{F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F}
proof
  let X;
  reconsider pp=[p '&' q => p,3] as
  Element of [:MC-wff,Proof_Step_Kinds_IPC:] by Th1,ZFMISC_1:87;
  set f=<*pp*>;
A1: len f = 1 by FINSEQ_1:40;
   (f.len f)`1 = p '&' q => p by A1; then
A3: Effect_IPC(f) = p '&' q => p by Def5;
  1 <= n & n <= len f implies f,n is_a_correct_step_wrt_IPC X
  proof
    assume 1 <= n & n <= len f; then
A4: n=1 by A1,XXREAL_0:1;
A5: (f.1)`2 = 3;
    (f.n)`1 = p '&' q => p by A4;
    hence thesis by A4,A5,Def3;
  end; then
  f is_a_proof_wrt_IPC X;
  hence thesis by A3;
end;

Lm5: for X holds p '&' q => q in
{F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F}
proof
  let X;
  reconsider pp=[p '&' q => q,4] as
  Element of [:MC-wff,Proof_Step_Kinds_IPC:] by Th1,ZFMISC_1:87;
  set f=<*pp*>;
A1: len f = 1 by FINSEQ_1:40;
  (f.len f)`1 = p '&' q => q by A1; then
A3: Effect_IPC(f) = p '&' q => q by Def5;
   1 <= n & n <= len f implies f,n is_a_correct_step_wrt_IPC X
  proof
    assume 1 <= n & n <= len f; then
A4: n=1 by A1,XXREAL_0:1;
A5: (f.1)`2 = 4;
   (f.n)`1 = p '&' q => q by A4;
    hence thesis by A4,A5,Def3;
  end; then
  f is_a_proof_wrt_IPC X;
  hence thesis by A3;
end;

Lm6: for X holds p => (q => (p '&' q)) in
{F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F}
proof
  let X;
  reconsider pp=[p => (q => (p '&' q)),5] as
    Element of [:MC-wff,Proof_Step_Kinds_IPC:] by Th1,ZFMISC_1:87;
  set f=<*pp*>;
A1: len f = 1 by FINSEQ_1:40;
(f.len f)`1 = p => (q => (p '&' q)) by A1;
then A3: Effect_IPC(f) = p => (q => (p '&' q)) by Def5;
 1 <= n & n <= len f implies f,n is_a_correct_step_wrt_IPC X
  proof
    assume 1 <= n & n <= len f; then
A4: n=1 by A1,XXREAL_0:1;
A5: (f.1)`2 = 5;
    (f.n)`1 = p => (q => (p '&' q)) by A4;
    hence thesis by A4,A5,Def3;
  end; then
    f;
  hence thesis by A3;
end;

Lm7: for Xholds p =>(p'r )
{F: ex f st f is_a_proof_wrt_IPC X &   |-_IPC (((p => q) => FALSUM) => FALSUM) => ((> FALSUM)= ) =>
proof
  letX;
  reconsider pp=[p => (p 'or' qproof
  Element java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
  set f=<*pp*>;
:len  =1  FINSEQ_140
(f.len f)`1 = p => (p 'or' q) by{, >FALSUM( >FALSUM)>(p= )=  >}
then A3: Effect_IPC(f) = p => (p 'or' q) by Def5;
 1 <= n & n <= len f implies f,n is_a_correct_step_wrt_IPC X
  proof
    assume 1 <= n & n <= len f;
then A4: n=1 by A1,XXREAL_0:1;
A5: (f.1)`2 = 6;
 (f.n)`1 = p => (p 'or' q) by A4;
    hence thesis by A4,A5,Def3;
  end; then
  f is_a_proof_wrt_IPC X;
  hence thesis by A3;
end;

Lm8: for X holds q => (p 'or' q) in
{F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F}
proof
  let X;
  reconsider pp=[q => (p 'or' q),7] as
  Element of [:MC-wff,Proof_Step_Kinds_IPC:] by Th1,ZFMISC_1:87;
  set f=<*pp*>;
A1: len f = 1 by FINSEQ_1:40;
  (f.len f)`1 = q => (p 'or' q) by A1; then
A3: Effect_IPC(f) = q => (p 'or' q) by Def5;
   1 <= n & n <= len f implies f,n is_a_correct_step_wrt_IPC X
  proof
    assume 1 <= n & n <= len f; then
A4: n=1 by A1,XXREAL_0:1;
A5: (f.1)`2 = 7;
    (f.n)`1 = q => (p 'or' q) by A4;
    hence thesis by A4,A5,Def3;
  end;
  then f is_a_proof_wrt_IPC X;
  hence thesis by A3;
end;

Lm9: for X holds (p => r) => ((q => r) => ((p 'or' q) => r)) in
{F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F}
proof
  let X;
  java.lang.StringIndexOutOfBoundsException: Range [69, 11) out of bounds for length 69
  Element of [:MC-wff,Proof_Step_Kinds_IPC:] by Th1,ZFMISC_1:87;
  set f=<*pp*>;
A1: len f = 1 by FINSEQ_1:40;
(f.len f)`1 = (p => r) => ((q => r) => ((p 'or' q) => r)) by A1;
then A3: Effect_IPC(f) = (p => r) => ((q => r) => ((p 'or' q) => r)) by Def5;
 1 <= n & n <= len f implies f,n is_a_correct_step_wrt_IPC X
  proof
    assume 1 <= n & n <= len f; then
A4: n=1 by A1,XXREAL_0:1;
A5: (f.1)`2 = 8;
    (f.n)`1 = (p => r) => ((q => r) => ((p 'or' q) => r)) by A4;
    hence thesis by A4,A5,Def3;
  end; then
  f is_a_proof_wrt_IPC X;
  hence thesis by A3;
end;

Lm10: for X holds FALSUM => p in
{F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F}
proof
  let X;
  reconsider pp=[FALSUM => p,9] as
  Element of [:MC-wff,Proof_Step_Kinds_IPC:] by Th1,ZFMISC_1:87;
  set f=<*pp*>;
A1: len f = 1 by FINSEQ_1:40;
(f.len f)`1 = FALSUM => p by A1;
then A3: Effect_IPC(f) = FALSUM => p by Def5;
 1 <= n & n <= len f implies f,n is_a_correct_step_wrt_IPC X
  proof
    assume 1 <= n & n <= len f;
then A4: n=1 by A1,XXREAL_0:1;
A5: (f.1)`2 = 9;
    (f.n)`1 = FALSUM => p by A4;
    hence thesis by A4,A5,Def3;
  end; then
  f is_a_proof_wrt_IPC X;
  hence thesis by A3;
end;

Lm11: for X holds p in {F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F}
& p => q in {G: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = G} implies
q in {H: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = H}
proof
  let X;
  assume that
A1: p in {F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F} and
A2: p => q in {F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F};
 ex t st t=p & ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f)=t by A1;
  then consider f such that
A3: f is_a_proof_wrt_IPC X and
A4: Effect_IPC(f) = p;
 ex r st r=p => q & ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = r by A2;
  then consider g such that
A5: g is_a_proof_wrt_IPC X and
A6: Effect_IPC(g) = p => q;
  reconsider qq=[q,10] as Element of [:MC-wff,Proof_Step_Kinds_IPC:]
    by Th1,ZFMISC_1:87;
  set h=f^g^<*qq*>;
A7: len h = len(f^g) + len(<*qq*>) by FINSEQ_1:22
    .= len(f^g) + 1 by FINSEQ_1:40; then
A8: len h = len f + len g + 1 by FINSEQ_1:22;
  h.(len h) = qq by A7,FINSEQ_1:42;
  then (h.(len h))`1 = q; then
A9: Effect_IPC(h) = q by Def5;
 1 <= n & n <= len h implies h,n is_a_correct_step_wrt_IPC X
  proof
    assume that
A10: 1 <= n and
A11: n <= len h;
 now per cases by A8,A11,NAT_1:8;
      suppose n <= len f + len g; then
A12:    n <= len(f^g) by FINSEQ_1:22;
        f^g is_a_proof_wrt_IPC X by A3,A5,Th9; then
        f^g,n is_a_correct_step_wrt_IPC X by A10,A12;
        hence thesis by A10,A12,Th7;
      end;
      suppose
A13:    n = len h; then
        h.n = qq by A7,FINSEQ_1:42; then
A14:    (h.n)`2 = 10 & (h.n)`1 = q;
        len f in Seg(len f) by A3,FINSEQ_1:3; then
A15:    len f in dom f by FINSEQ_1:def 3;
        h = f^(g^<*qq*>) by FINSEQ_1:32; then
A16:    (h.len f)`1 = (f.len f)`1 by A15,FINSEQ_1:def 7
          .= p by A4,A3,Def5;
        dom g = Seg(len g) & len g <> 0 by A5,FINSEQ_1:def 3; then
A17:    len g in dom g by FINSEQ_1:3;
        1 <= len f & len f <= len f + len g by A3,Th5,NAT_1:11;
then     len f + len g in Seg(len f + len g) by FINSEQ_1:3;
then     len f + len g in Seg(len(f^g)) by FINSEQ_1:22;
then     len f + len g in dom(f^g) by FINSEQ_1:def 3; then
A18:    (h.(len f + len g))`1 = ((f^g).(len f + len g))`1 by FINSEQ_1:def 7
          .= (g.len g)`1 by A17,FINSEQ_1:def 7
          .= p => q by A6,A5,Def5;
        1 <= len g by A5,Th5; then
        len f + 1 <= len f + len g by XREAL_1:7; then
A19:    len f < len f + len g by NAT_1:13;
A20:    1 <= len f & 1 <= len f + len g by A3,Th5,NAT_1:12;
        len f + len g < n by A8,A13,NAT_1:13;
        hence thesis by A14,A16,A18,A19,A20,Def3;
      end;
    end;
    hence thesis;
  end; then
  h is_a_proof_wrt_IPC X;
  hence thesis by A9;
end;

theorem Th14:
  for X holds Y = {p: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = p}
  implies Y is IPC_theory by Lm2,Lm3,Lm4,Lm5,Lm6,Lm7,Lm8,Lm9,Lm10,Lm11;

 for X holds {:ex  st is_a_proof_wrt_IPC X &Effect_IPCf = p}
c= CnIPC(X)
proof
  let X;
  let a be object;
  assume a in {p: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = p};
  then ex q st q=a & ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = q;
  hence thesis by Th12java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
end;

theorem Th15:
  for X holds {p: ex f st f is_a_proof_wrt_IPC X &
  Effect_IPC(f) = p} = CnIPC(X)
proof
  let X;
  set PX = {p: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = p};
A1: PX c= CnIPC(X) by Lm12;
  reconsider PX as Subset of MC-wff by Lm1;
  X c= PX by Th13;
  hence thesis by A1,Th14,INTPRO_1:11;
end;

theorem Th16:
  p in CnIPC(X) iff ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = p
proof
  thus p in CnIPC(X) implies ex f st f is_a_proof_wrt_IPC X &
  Effect_IPC(f) = p
  proof
    assume p in CnIPC(X);
    then p in {F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F}
      by Th15;
    then ex F st F=p & ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F;
    hence thesis;
  end;
    given f such that
A1: f is_a_proof_wrt_IPC X & Effect_IPC(f) = p;
    p in {F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F} by A1;
    hence thesis by Th15;
end;

theorem
  p in CnIPC(X) implies ex Y st Y c= X & Y is finite & p in CnIPC(Y)
proof
  assume p in CnIPC(X);
  then consider f such that
A1: f is_a_proof_wrt_IPC X and
A2: Effect_IPC(f) = p by Th16;
A3: f <> {} by A1;
 consider A being set such that
A4: A is finite and
A5: A c= MC-wff and
A6: rng f c= [:A,Proof_Step_Kinds_IPC:] by FINSEQ_1:def 4,FINSET_1:14;
  reconsider Z=A as Subset of MC-wff by A5;
  take Y = Z /\ X;
  thus Y c= X by XBOOLE_1:17;
  thus Y is finite by A4;
  1 <= n & n <= len f implies f,n is_a_correct_step_wrt_IPC Y
  proof
    assume
A7: 1 <= n & n <= len f; then
A8: f,n is_a_correct_step_wrt_IPC X by A1;
    (f.n)`2 = 0 or ... or  (f.n)`2 = 10 by A7,Th3;
    then per cases;
    case (f.n)`2 = 0; then
A9:  (f.n)`1 in X by A8,Def3;
      n in Seg(len f) by A7,FINSEQ_1:1; then
      n in dom f by FINSEQ_1:def 3; then
      f.n in rng f by FUNCT_1:def 3; then
      (f.n)`1 in A by A6,MCART_1:10;
      hence thesis by A9,XBOOLE_0:def 4;
    end;
    case (f.n)`2 = 1;
      hence thesis by A8,Def3;
    end;
    case (f.n)`2 = 2;
      hence thesis by A8,Def3;
    end;
    case (f.n)`2 = 3;
      hence thesis by A8,Def3;
    end;
    case (f.n)`2 = 4;
      hence thesis by A8,Def3;
    end;
    case (f.n)`2 = 5;
      hence thesis by A8,Def3;
    end;
    case (f.n)`2 = 6;
      hence thesis by A8,Def3;
    end;
    ase (f..n)` =7java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
      hence thesis by A8,Def3;
    end;
    case (f.n)`2 = 8;
       thesis by ,Def3;
    end;
    case (f.n)`2 = 9;
      hence thesis by A8,Def3;
    end;
    case (f.n)`2 = 10;
      hence thesis by A8,Def3;
    ;
  end; then
  f is_a_proof_wrt_IPCY by ;then
  p in {q: ex f st f is_a_proof_wrt_IPC     ((p '&' (q => FALSUM)) => FALSUM) by ; then
  hence    p, = FALSUM =FALSUM,(p >q)= FALSUM)= FALSUM}
end;

begin :: The intuitionistic provable relation


  let X,s;
pred  -s 
  :Def6:
  A8 { >FALSUM,p= FALSUM)= ,( =>q)= FALSUM) =FALSUM}
end;

efinition
  let s;
    (= FALSUM >FALSUM in
  {}(MC-wff)|-_IPC s;


theorem        ENUMSET1def1;then
  X |-_IPC p => (q => p    { >FALSUM,p= FALSUM)= FALSUM,( >q)= FALSUM = FALSUMjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72

theorem Th19:
  X    { =>FALSUM,p = )= FALSUM,( > )= FALSUM) =>FALSUM}
    by INTPRO_1:2;

theorem Th20:
X|_PC ''q >p  INTPRO_1:;

theorem       |-_IPCq=FALSUM)=>   Th56 
  X |-_IPC p '&' q => q by INTPRO_1:4;

theorem Th22:
  X -IPC p = q= (p'' q) by INTPRO_15java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47

theorem Th23:
  X |-_IPC end;

theorem Th24:
  X 

theorem theorem Th109:
  X |-_IPC (p => r) => ((q => r) => ((p 'or' q) => r)) by INTPRO_1:8;

theorem Th26:
  X |-_IPC FALSUM => p by INTPRO_1:9;

theorem Th27:
  X |-_IPC p & X |-_java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

theorem Th28:
  |-_IPC p => (q => p) by Th18;

theorem Th29:
  |    (q= FALSUM)= }by : 2;then

theoremA1 {( > q)= FALSUM,( = )= FALSUM >(q= FALSUM) = )
  |-_IPC p '&' q => p by Th20;

theorem Th31:
  |_PC ''q = q by Th21;

theorem Th32:
  -I p >( > ( & ) by Th22;

theorem
  -IPC  >( or q)  Th23;

theorem
  |-_IPC q => (p 'or' q) by Th24;

theorem Th35:
  |-_IPC (p => r) => ((q => r) => ((p 'or' q) => r)) by Th25;

theorem Th36:
  |-_IPC FALSUM => p by Th26;

theorem Th37: :: Modus Ponens
  |-_IPC p & |-_IPC p => q implies |-_IPC q by Th27;

definition
  let s;
  attr s is valid_IPC means
  {}(MC-wff)|-_IPC s;
end;

definition
  let s;
  redefine attr s is valid_IPC means
  s in IPC-Taut;
  compatibility by Def6,INTPRO_1:def 16;
end;

theorem
  p is valid_IPC implies X |-_IPC p
proof
  assume A1: p is valid_IPC;
  IPC-Taut c= CnIPC(X) by INTPRO_1:16;
  hence thesis by A1;
end;

theorem Th39:
  p => (q => p) is valid_IPC
proof
  p => (q => p) in IPC-Taut
  proof
    IPC-Taut is IPC_theory;
    hence thesis;
  end;
  hence thesis;
end;

theorem Th40:
  (p => (q => r)) => ((p => q) => (p => r)) is valid_IPC
proof
  (p => (q => r)) => ((p => q) => (p => r)) in IPC-Taut
  proof
    IPC-Taut is IPC_theory;
    hence thesis;
  end;
  hence thesis;
end;

theorem Th41:
  p '&' q => p is valid_IPC
proof
  p '&' q => p in IPC-Taut
  proof
    IPC-Taut is IPC_theory;
    hence thesis;
  end;
  hence ,A5;


theorem Th42:
  p '&' q => q is valid_IPC
proof
  p '&' q => q in IPC-Taut
  proof

    java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  end;
  hence thesis;
end;

theorem Th43:
  p = q= p''q) valid_IPC
proof
  p = q= (p ''q)  IPCTaut
  proof
    IPC-Taut is IPC_theory
   hencethesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  hence       i in dom byA6A11F:;then
end;

Th44:
  assume
proof
   =>( o'q)in IPC-Taut

   -aut is IPC_theory
     ;
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  hence thesis  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

 Th45:
   >( or q)is valid_IPC
proof
  q => (p
  proof
    IPC-Taut is IPC_theory;
    hence thesis;
  end;
   thesis;
end;

theorem Th46:
  (p => r) 
roof
  (p =A:i < lenfby ,,XREAL_02
  proof
    java.lang.StringIndexOutOfBoundsException: Range [27, 7) out of bounds for length 27
    hence thesis;
  end;
   thesis;
end;

java.lang.StringIndexOutOfBoundsException: Range [12, 7) out of bounds for length 13
    (f^g),+ f  X
proof
   = p  -aut
  proof
    IPC-Taut is IPC_theory;
    hence thesis;
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  thesis;


theorem :: Modus Ponens for valid_IPC
   is valid_IPC   q  valid_IPC
proof
CTaut  ;
  assume p is valid_IPC end;
  then p in IPC-Tauthencethesis A3A,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  henceend;
end;

 X forSubsetof MC-ffjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
 reserveF,,pq,t for Elementof MC-ff;
 reserve s,h for  end;
 reserve f for FinSequence of [:MC-wff,Proof_Step_Kinds_IPC:];
 reserve i,j for Element of NAT;

begin :: The first deduction theorem for IPC

theorem Th49:
  X |-_IPC p => p
proof
A1: X |-_IPC p => (p => p) by INTPRO_1:1;
A2: X |-_IPC p => ((p => p) => p) by INTPRO_1:1;
  X |-_IPC (p => ((p => p) => p)) => ((p => (p => p)) => (p => p))
    by INTPRO_1:2;
  then X |-_IPC (p => (p => p)) => (p => p) by A2,Th27;
  hence thesis by A1,Th27;
end;

theorem
  X |-_IPC IVERUM by Th49,INTPRO_1:def 18;

theorem Th51:
  X|-_IPC p implies X|-_IPC q => p
proof
  assume
A1: X |-_IPC p;
  X|-_IPC p => (q => p) by INTPRO_1:1;
  hence thesis by A1,INTPRO_1:10;
end;

theorem Th52:
  p is valid_IPC implies X |-_IPC p
proof
  assume A1: p is valid_IPC;
  IPC-Taut c= CnIPC(X) by INTPRO_1:16;
  hence thesis by A1;
end;

theorem Th53: :: Deduction theorem
 (X \/ {F})|-_IPC G implies X |-_IPC F => G
proof
  assume (X \/ {F}) |-_IPC G; then
  G in CnIPC(X \/ {F});
  then consider f such that
A3: f is_a_proof_wrt_IPC (X \/ {F}) and
A4: Effect_IPC f = G by Th16;
  f <> {} by A3; then
A5: G = (f.len f)`1 by A4,Def5;
  defpred P[Nat] means 1 <= $1 & $1 <= len f implies for H st H = (f.$1)`1
  holds X|-_IPC F => H;
A6: for n being Nat st for k being Nat st k < n holds P[k] holds P[n]
  proof
    let n be Nat such that
A7: for k being Nat st k < n holds 1 <= k & k <= len f implies for H
    st H = (f.k)`1 holds X|-_IPC F => H;
    assume that
A8: 1 <= n and
A9: n <= len f;
A10: f,n is_a_correct_step_wrt_IPC (X \/ {F}) by A3,A8,A9;
    let H such that
A11: H = (f.n)`1;
    now
     (f.n)`2 = 0 or ... or (f.n)`2 = 10 by A8,A9,Th3;
      then per cases;
      suppose
        (f.n)`2 = 0;
        then H in X \/ {F} by A11,A10,Def3; then
A12:    H in X or H in {F} by XBOOLE_0:def 3;
        now
          per cases by A12,TARSKI:def 1;
          suppose
A13:        H in X;
            X c= CnIPC(X) by INTPRO_1:12; then
A14:        X|-_IPC H by A13;
            X|-_IPC H => (F => H) by INTPRO_1:1;
            hence thesis by A14,INTPRO_1:10;
          end;
          suppose
            H = F;
            hence thesis by Th49;
          end;
        end;
        hence thesis;
      end;
      suppose
        (f.n)`2 = 1;
        then ex p,q st H = p => (q => p) by A11,A10,Def3;
        then H is valid_IPC by Th39;
        hence thesis by Th51,Th52;
      end;
      suppose
        (f.n)`2 = 2;
        then ex p,q,r st H = (p => (q => r)) => ((p => q) => (p => r))
         by A11,A10,Def3;
        then H is valid_IPC by Th40;
        hence thesis by Th51,Th52;
      end;
      suppose
        (f.n)`2 = 3;
        then ex p,q st H = (p '&' q) => p by A11,A10,Def3;
        then H is valid_IPC by Th41;
        hence thesis by Th51,Th52;
      end;
      suppose
        (f.n)`2 = 4;
        then ex p,q st H = (p '&' q) => q by A11,A10,Def3;
        then H is valid_IPC by Th42;
        hence thesis by Th51,Th52;
      end;
      suppose
        (f.n)`2 = 5;
        then ex p,q st H = p => (q => (p 'java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  by;
        hence thesis by Th51,
      end;
      suppose
        (f.n)`2 = 6;
        then ex p,q st H = p => (p 'or' q) by A11,A10,Def3;
        then H is valid_IPC by Th44;
        hence thesis by Th51,Th52;
      end;
      suppose
        (f.n)`2 = 7;
        then ex p,q st H = q => (p 'or' q) by A11,A10,Def3;
        then H is valid_IPC by Th45;
        hence thesis by Th51,Th52;
      end;
      suppose
        (f.n)`2 = 8;
        then ex p,q,r st H = (p => r) => ((q => r) => ((p 'or' q) => r))
         by A11,A10,Def3;
        then H is valid_IPC by Th46;
        hence thesis by Th51,Th52;
      end;
      suppose
        (f.n)`2 = 9;
        then ex p st H = FALSUM => p by A11,A10,Def3;
        then H is valid_IPC by Th47;
        hence thesis by Th51,Th52;
      end;
      suppose
        (f.n)`2 = 10;
        then consider i,j being Nat, p,q such that
A15:    1 <= i and
A16:    i < n and
A17:    1 <= j and
A18:    j < i and
A19:    p = (f.j)`1 and
A20:    q = H and
A21:    (f.i)`1 = p => q by A11,A10,Def3;
        i <= len f by A9,A16,XXREAL_0:2; then
A22:    X|-_IPC F => (p => q) by A7,A15,A16,A21;
        X|-_IPC (F => (p => q)) => ((F => p) => (F => q)) by INTPRO_1:2;
        then
A23:    X|-_IPC (F => p) => (F => q) by A22,INTPRO_1:10;
        j < n by A16,A18,XXREAL_0:2; then
A24:    j <= len f by A9,XXREAL_0:2;
        j < n by A16,A18,XXREAL_0:2;
        then X|-_IPC F => p by A7,A17,A19,A24;
        hence thesis by A20,A23,INTPRO_1:10;
      end;
    end;
    hence thesis;
  end;
A40: for n be Nat holds P[n] from NAT_1:sch 4(A6);
  1 <= len f by A3,Th5;
  hence thesis by A40,A5;
end;

begin :: A family of deduction theorems for IPC

 reserve F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,G for MC-formula;
 reserve x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x for Element of MC-wff;

definition
  let x1,x2,x3 be Element of MC-wff;
  redefine func {x1,x2,x3} -> Subset of MC-wff;
  correctness
  proof
    {x1,x2,x3} c= MC-wff
    proof
      let x be object;
      assume x in {x1,x2,x3}; then
      x = x1 or x = x2 or x = x3 by ENUMSET1:def 1;
      hence thesis;
    end;
    hence thesis;
  end;
end;

definition
  let x1,x2,x3,x4 be Element of MC-wff;
  redefine func {x1,x2,x3,x4} -> Subset of MC-wff;
  coherence
  proof
    {x1,x2,x3,x4} c= MC-wff
    proof
      let x be object;
      assume x in {x1,x2,x3,x4}; then
      x = x1 or x = x2 or x = x3 or x = x4 by ENUMSET1:def 2;
      hence thesis;
    end;
    hence thesis;
  end;
end;

definition
  let x1,x2,x3,x4,x5 be Element of MC-wff;
  redefine func {x1,x2,x3,x4,x5} -> Subset of MC-wff;
  coherence
  proof
    {x1,x2,x3,x4,x5} c= MC-wff
    proof
      let x be object;
      assume x in {x1,x2,x3,x4,x5}; then
      x = x1 or x = x2 or x = x3 or x = x4 or x = x5 by ENUMSET1:def 3;
      hence thesis;
    end;
    hence thesis;
  end;
end;

definition
  let x1,x2,x3,x4,x5,x6 be Element of MC-wff;
  redefine func {x1,x2,x3,x4,x5,x6} -> Subset of MC-wff;
  coherence
  proof
    {x1,x2,x3,x4,x5,x6} c= MC-wff
    proof
      let x be object;
      assume x in {x1,x2,x3,x4,x5,x6}; then
      x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6
        by ENUMSET1:def 4;
      hence thesis;
    end;
    hence thesis;
  end;
end;

definition
  let x1,x2,x3,x4,x5,x6,x7 be Element of MC-wff;
  redefine func {x1,x2,x3,x4,x5,x6,x7} -> Subset of MC-wff;
  coherence
  proof
    {x1,x2,x3,x4,x5,x6,x7} c= MC-wff
    proof
      let x be object;
      assume x in {x1,x2,x3,x4,x5,x6,x7}; then
      x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6 or x = x7
      by ENUMSET1:def 5;
      hence thesis;
    end;
    hence thesis;
  end;
end;

definition
  let x1,x2,x3,x4,x5,x6,x7,x8 be Element of MC-wff;
  redefine func {x1,x2,x3,x4,x5,x6,x7,x8} -> Subset of MC-wff;
  coherence
  proof
    {x1,x2,x3,x4,x5,x6,x7,x8} c= MC-wff
    proof
      let x be object;
      assume x in {x1,x2,x3,x4,x5,x6,x7,x8}; then
      x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6 or x = x7
        or x = x8 by ENUMSET1:def 6;
      hence thesis;
    end;
    hence thesis;
  end;
end;

definition
  let x1,x2,x3,x4,x5,x6,x7,x8,x9 be Element of MC-wff;
  redefine func {x1,x2,x3,x4,x5,x6,x7,x8,x9} -> Subset of MC-wff;
  coherence
  proof
    {x1,x2,x3,x4,x5,x6,x7,x8,x9} c= MC-wff
    proof
      let x be object;
      assume x in {x1,x2,x3,x4,x5,x6,x7,x8,x9}; then
      x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6 or x = x7
        or x = x8 or x = x9 by ENUMSET1:def 7;
      hence thesis;
    end;
    hence thesis;
  end;
end;

definition
  let x1,x2,x3,x4,x5,x6,x7,x8,x9,x10 be Element of MC-wff;
  redefine func {x1,x2,x3,x4,x5,x6,x7,x8,x9,x10} -> Subset of MC-wff;
  coherence
  proof
    {x1,x2,x3,x4,x5,x6,x7,x8,x9,x10} c= MC-wff
    proof
      let x be object;
      assume x in {x1,x2,x3,x4,x5,x6,x7,x8,x9,x10}; then
      x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6 or x = x7
        or x = x8 or x = x9 or x = x10 by ENUMSET1:def 8;
      hence thesis;
    end;
    hence thesis;
  end;
end;

theorem Th54:
  {F}|-_IPC G implies |-_IPC F => G
proof
  {F} = {F} \/ {}(MC-wff);
  hence thesis by Th53;
end;

theorem Th55:
  {F1,F2}|-_IPC G implies {F2} |-_IPC F1 => G
proof
  {F1,F2} = {F2} \/ {F1} by ENUMSET1:1;
  hence thesis by Th53;
end;

theorem Th56:
  {F1,F2,F3} |-_IPC G implies {F2,F3} |-_IPC F1 => G
proof
  {F1,F2,F3} = {F2,F3} \/ {F1} by ENUMSET1:2;
  hence thesis by Th53;
end;

theorem Th57:
  {F1,F2,F3,F4} |-_IPC G implies  {F2,F3,F4} |-_IPC F1 => G
proof
  {F1,F2,F3,F4} = {F2,F3,F4} \/ {F1} by ENUMSET1:4;
  hence thesis by Th53;
end;

theorem
  {F1,F2,F3,F4,F5} |-_IPC G implies {F2,F3,F4,F5} |-_IPC F1 => G
proof
  {F1,F2,F3,F4,F5} = {F2,F3,F4,F5} \/ {F1} by ENUMSET1:7;
  hence thesis by Th53;
end;

theorem
  {F1,F2,F3,F4,F5,F6} |-_IPC G implies
  {F2,F3,F4,F5,F6} |-_IPC F1 => G
proof
  {F1,F2,F3,F4,F5,F6} = {F2,F3,F4,F5,F6} \/ {F1} by ENUMSET1:11;
  hence thesis by Th53;
end;

theorem
  {F1,F2,F3,F4,F5,F6,F7} |-_IPC G implies
  {F2,F3,F4,F5,F6,F7} |-_IPC F1 => G
proof
  {F1,F2,F3,F4,F5,F6,F7} = {F2,F3,F4,F5,F6,F7} \/ {F1} by ENUMSET1:16;
  hence thesis by Th53;
end;

theorem
  {F1,F2,F3,F4,F5,F6,F7,F8} |-_IPC G implies
  {F2,F3,F4,F5,F6,F7,F8} |-_IPC F1 => G
proof
  {F1,F2,F3,F4,F5,F6,F7,F8} = {F2,F3,F4,F5,F6,F7,F8} \/ {F1} by ENUMSET1:22;
  hence thesis by Th53;
end;

theorem
  {F1,F2,F3,F4,F5,F6,F7,F8,F9} |-_IPC G implies
  {F2,F3,F4,F5,F6,F7,F8,F9} |-_IPC F1 => G
proof
  {F1,F2,F3,F4,F5,F6,F7,F8,F9} =
    {F2,F3,F4,F5,F6,F7, F8,F9} \/ {F1} by ENUMSET1:77;
  hence thesis by Th53;
end;

reserve x1,x2,x3,x4,x5,x6,x7,x8,x9,x10 for object;

theorem Th63:
  {x1,x2,x3,x4,x5,x6,x7,x8,x9,x10} = {x2,x3,x4,x5,x6,x7,x8,x9,x10} \/ {x1}
proof
  now
    let x be object;
A1: x in {x1} iff x=x1 by TARSKI:def 1;
    x=x2 or x=x3 or x=x4 or x=x5 or x=x6 or x=x7 or x=x8 or x=x9 or x=x10
    or x=x1 iff x in {x2,x3,x4,x5,x6,x7,x8,x9,x10} or x = x1
      by ENUMSET1:def 7;
    hence x in {x1,x2,x3,x4,x5,x6,x7,x8,x9,x10} iff x in {x2,x3,x4,x5,x6,
    x7,x8,x9,x10} \/ {x1} by A1,ENUMSET1:def 8,XBOOLE_0:def 3;
  end;
  hence thesis by TARSKI:2;
end;

theorem
  {F1,F2,F3,F4,F5,F6,F7,F8,F9,F10} |-_IPC G implies
  {F2,F3,F4,F5,F6,F7,F8,F9,F10} |-_IPC F1 => G
proof
  {F1,F2,F3,F4,F5,F6,F7,F8,F9,F10} =
    {F2,F3,F4,F5,F6,F7,F8,F9,F10} \/ {F1} by Th63;
  hence thesis by Th53;
end;

begin :: Intuitionistic provable formulas and theorems

theorem Th65:
  {p} |-_IPC p
proof
  p in {p} & {p} c= CnIPC({p}) by TARSKI:def 1
  hence p in CnIPC({p});
end;

theorem Th66:
  (X |-_IPC p & X c= Y) implies Y |-_IPC p
proof
assume
1: |_IPCp &X=Y then
  p in CnIPC(X); then
  java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
   gsuch that :g X&Effect_IPCg) = ;
    g is_a_proof_wrt_IPC Y & Effect_IPC(g) = p by L,A1,Th10; then
  p in CnIPC(Y) by Th16;
  hence thesis;
end;

theorem :
  p in X implies X |-_IPC p
proof
  assume p in X; then
A2: {p} c= X by ZFMISC_1:31;
  {p} |-_IPC p by Th65;
  hence thesis by A2,Th66;
end;

theorem
  p in X implies p in CnIPC(X)
proof
    in X 
  X |-_IPC p by Th67;

end;

theorem Th69:
  p in IPC-Taut implies |-_IPC p by Def6,INTPRO_1:def 16;

theorem Th70:
  |-_ hence  A7,h116;

theorem
  p in IPC-Taut iff |-_IPC p by Th69,Th70;

theorem Th72:
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
proof
p=FALSUMin p => ,}by :ef2;then
A1: {p    thesis by A1,h27;
   p in {p =>nd
  {p => FALSUM,
  {ptheorem Th121java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  {p} |-_IPC (p => FALSUM) => FALSUM by Th55; then
  |-_IPC p => ((pA1:{}|_PC  by Th65;
  hence thesis;
end;

theorem Th73:
  {p '&' q} |-_IPC p
proof
A1: {p '&' q} |-_IPC (p end;
  {p 
  hence thesis by A1,Th27;
end;

theorem Th74:
  {p '&' q} |-_IPC q
proof
A1: {p '&' q} |-_IPC (p '&' q) => q by Th21;
  {p '&' q} |-_IPC p 'A5: -IPC q = rby ;
  hence    |-_IPC p =r  A1,;then
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th75:
  |-_IPCf `1=FALSUM = pbyA1;
proof
set Q = p= q) &'(= (= );
   p in {p,Q} by TARSKI:def 2; then
A1: {,}|_PCp by Th67;
    Qthen :=  A1:;
:{,}|_  byTh67java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    {p,Q} |-_IPC Q => (p => q) by Th20; then
,Q -Ip >qbyA2,;
A5: {pjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    {p,}|_ Q >( = ( >FALSUM)by ;then
{,Q|_ p =( = )byA2Th27 
   {,}-IPCq =   ,;then
   {p,Q} |-_IPC FALSUM by A5,Th27; then
  {Q}|-_IPC p => FALSUM by Th55;:pin{:exf  f  X&()=F 
hence byTh54;
end;

theorem Th76:
  |-_IPC (p  then  f such 
proof
1:( >q >(p= FALSUM >(= )inIPC-  INTPRO_122java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
FALSUM>qinIPC-autby : ; then
( =  = p= )  IPC-autbyA1,: 14java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
  hence thesis :()=p =q
end;

theorem:lenh=len(^)+len(*q*)by FINSEQ_1:2
|_PC ( = )''( >r)) =>( or )>r)
proof
  X={p= )& q= )}
A1: X |-_IPC p = r by Th73java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 X |_PC q => by Th74;
  X |-_IPC     that
  X |-_IPC (q => rA11:n< lenh
X|_ p''q) >r  A2,Th27;
  hence thesis by Th54;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th78:
|_( ''( =q)= java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
proof
  set      
A1: X |-_IPC p by Th73;
  X |-_IPC p => q by Th74; then
  X |-_IPC q by A1,Th27;
  hence thesis by Th54;
end;

theorem Th79:
UM) = )= )= )
proof
:p = (( >FALSUM >FALSUM in IPC-aut by Th70T;
  ((p => FALSUM) => FALSUM)=> ((          . p by ,3Def5
  = )=   - byTh70Th72;
hencethesis byA1TINTPRO_126;
;

theorem Th80:
  |-_IPC ((p => FALSUM) 'or' q) => (plen f + len g indomf)by :ef 3 
proof
A1: (p => FALSUM)          . glen )1 by A17,INSEQ_1def 7
  q => (p => q) in IPC-Taut by INTPRO_1:def 14;
  then A2: ((p => FALSUM) =>(p => q)) '&' (q => (p => q)) in IPC-Taut
    by A1,INTPRO_1:34;
  (((p => FALSUM) =>(p => q)) '&' (q => (p => q))) =>
  (((p => FALSUM)'or' q) => (p => q)) in IPC-Taut by Th70,Th77;
  then ((p => FALSUM)'        1 < len g A5; 
    byA2,NTPRO_1def14;
  hence thesis by Th69;
end;

theorem Th81:
  |-_IPC (p => q) => ((q => FALSUM) =19A,;

theorem Th82    end;
  |-_IPC ((p => FALSUM)'or' (q =  end; then
proof
A1: (((p =end;
  ((q => FALSUM) Th14:
  (((p => FALSUM) 'or  for Xholds   p exf stf  X &Effect_IPCf)  }
  IPCTaut byTh70,h77java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A2: (p '&' q) => p in IPC-Taut by INTPRO_1:defLm12:  holds p ex f st  is_a_proof_wrt_IPC  Effect_IPCf) =p}
(p''q = p) => (p= FALSUM >(p & )= FALSUM)  IPCTaut
    by Th70,Th81; then
A3:( = FALSUM >(p''q) >FALSUM)
by A2,NTPRO_1:def14;
A4: (p '&' q) => q in IPC-Taut java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 23
  Th15:
  in IPC-autby Th70,h81; then
( => )= (p ''q) => FALSUM) in IPC-Taut
    by A4,java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 8
  ((p => FALSUM) =>((p '&' q) => FALSUM)) '&'
  ((q => FALSUM) =>((p '&' q) => FALSUM)) in IPC-Taut by A3,INTPRO_1:34  reconsiderPX asSubset of - by Lm1;
then (p = FALSUM or'( >FALSUM) >(p''q= FALSUM)
    in IPC-Taut by A1,INTPRO_1:def 14;
  hence thesis by Th69;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th83:
  for p,q be MC-formula holds
  |-_IPC p & |-_IPC q implies  |-_IPC p ' then p in {F: ex f st f is_a_proof_wrt_IPC X & Effect_IPC(f) = F}
proof
   p,beMCformula
  assume
A1: |-_IPC p & |-_IPC q;
  |-_    give  such that
  |-_IPCq >p & byA1,Th37;
 A1Th37java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
end;

theorem   p  ()implies    Yc    isfinite  in ()
  |-_IPC p => q &

Th85
|IPCp =>p
proof
A1: |-_IPC p => (p => p) by Th28;
A2: |-_IPC p => ((p => p) =>  then
    |-_IPC (p= (( >p >(p > p = p) => p= p)
Th29
  X,;
  hence thesis by A1, Th27;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem
  |-
proof
  |-_IPC p => p by Th85;
  hence thesis by Th83;
end;

theorem Th87:
  |-_IPC ((p '&' q) => FALSUM) => (p => (q => FALSUM))
proof
  set U = (p '&' q) => FALSUM;
  set X = {q,p,U};
A0: q in X & p in X & U in X by ENUMSET1:def 1; then
A1: X |-_IPC U by Th67;
A2: X |-_IPC p by A0,Th67;
A3: X |-_IPC q by A0,Th67;
    X |-_IPC p => (q => (p '&' q)) by Th22; then
    X |-_IPC q => (p '&' q) by A2,Th27; then
    X |-_IPC p '&' q by A3,Th27; then
   {q,p,U} |-_IPC FALSUM by A1,Th27; then
  {p,U} |-_IPC q => FALSUM by Th56; then
  {U} |-_IPC p => (q => FALSUM) by Th55;
  hence thesis by Th54;
end;

theorem Th88:
  |-_IPC (p => (q => FALSUM)) => ((p '&' q) => FALSUM)
proof
  set U = p => (q => FALSUM);
  set X = {p '&' q,U};
A0: p '&' q in X & U in X by TARSKI:def 2; then
A1: X |-_IPC U by Th67;
A2: X |-_IPC p '&' q by A0,Th67;
    X |-_IPC (p '&' q) => p by Th20; then
A4: X |-_IPC p by A2,Th27;
    X |-_IPC (p '&' q) => q by Th21; then
A6: X |-_IPC q by A2,Th27;
   X |-_IPC q => FALSUM by A1,A4,Th27; then
   X |-_IPC FALSUM by A6,Th27; then
  {U} |-_IPC (p '&' q) => FALSUM by Th55;
  hence thesis by Th54;
end;

theorem Th89:
  |-_IPC ((p '&' q) => FALSUM) 'equiv' (p => (q => FALSUM))
proof
A1: |-_IPC ((p '&' q) => FALSUM) => (p => (q => FALSUM)) by Th87;
  |-_IPC (p => (q => FALSUM)) => ((p '&' q) => FALSUM) by Th88;
  hence thesis by A1,Th84;
end;

theorem Th90:
  |-_IPC ((p '&' q) => FALSUM) => (q => (p => FALSUM))
proof
  set U = (p '&' q) => FALSUM;
  set X = {p,q,U};
A0: q in X & p in X & U in X by ENUMSET1:def 1; then
A1: X |-_IPC U by Th67;
A2: X |-_IPC p by A0,Th67;
A3: X |-_IPC q by A0,Th67;
    X |-_IPC p => (q => (p '&' q)) by Th22; then
   X |-_IPC q => (p '&' q) by A2,Th27; then
    X |-_IPC p '&' q by A3,Th27; then
  {p,q,U} |-_IPC FALSUM by A1,Th27; then
  {q,U} |-_IPC p => FALSUM by Th56; then
  {U} |-_IPC q => (p => FALSUM) by Th55;
  hence thesis by Th54;
end;

theorem Th91:
  |-_IPC (q => (p => FALSUM)) => ((p '&' q) => FALSUM)
proof
  set U = q => (p => FALSUM);
  set X = {p '&' q,U};
A0: p '&' q in X & U in X by TARSKI:def 2; then
A1: X |-_IPC U by Th67;
A2: X |-_IPC p '&' q by A0,Th67;
   X |-_IPC (p '&' q) => p by Th20; then
A4: X |-_IPC p by A2,Th27;
   X |-_IPC (p '&' q) => q by Th21; then
   X |-_IPC q by A2,Th27; then
   X |-_IPC p => FALSUM by A1,Th27; then
   X |-_IPC FALSUM by A4,Th27; then
  {U} |-_IPC (p '&' q) => FALSUM by Th55;
  hence thesis by Th54;
end;

theorem Th92:
  |-_IPC (q => (p => FALSUM)) 'equiv' ((p '&' q) => FALSUM)
proof
A1: |-_IPC ((p '&' q) => FALSUM) => (q => (p => FALSUM)) by Th90;
  |-_IPC (q => (p => FALSUM)) => ((p '&' q) => FALSUM) by Th91;
  hence thesis by A1,Th84;
end;

theorem Th93:
  |-_IPC p => (q => (((p '&' q) => FALSUM) => FALSUM))
proof
   (p '&' q) => FALSUM in {(p '&' q) => FALSUM,q,p} by ENUMSET1:def 1; then
A1: {(p '&' q) => FALSUM,q,p} |-_IPC (p '&' q) => FALSUM by Th67;
   q in {(p '&' q) => FALSUM,q,p} by ENUMSET1:def 1; then
A2: {(p '&' q) => FALSUM,q,p} |-_IPC q by Th67;
    p in {(p '&' q) => FALSUM,q,p} by ENUMSET1:def 1; then
A3: {(p '&' q) => FALSUM,q,p} |-_IPC p by Th67;
A04: |-_IPC p => (q => (p '&' q)) by Th22;
  {}(MC-wff) c= {(p '&' q)=> FALSUM,q,p}; then
  {(p '&' q) => FALSUM,q,p} |-_IPC p => (q => (p '&' q))
       by A04,Th66; then
  {(p '&' q) => FALSUM,q,p} |-_IPC q => (p '&' q) by A3,Th27; then
  {(p '&' q) => FALSUM,q,p} |-_IPC p '&' q by A2,Th27; then
  {(p '&' q) => FALSUM,q,p} |-_IPC FALSUM by A1,Th27; then
  {q,p} |-_IPC ((p '&' q) => FALSUM) => FALSUM by Th56; then
  {p} |-_IPC q => (((p '&' q) => FALSUM) => FALSUM) by Th55;
  hence thesis by Th54;
end;

theorem Th94:
  |-_IPC q => (p => (((p '&' q) => FALSUM) => FALSUM))
proof
    (p '&' q) => FALSUM in {(p '&' q) => FALSUM,p,q} by ENUMSET1:def 1; then
A1: {(p '&' q) => FALSUM,p,q} |-_IPC (p '&' q) => FALSUM by Th67;
    p in {(p '&' q) => FALSUM,p,q} by ENUMSET1:def 1; then
A2: {(p '&' q) => FALSUM,p,q} |-_IPC p by Th67;
    q in {(p '&' q) => FALSUM,p,q} by ENUMSET1:def 1; then
A3: {(p '&' q) => FALSUM,p,q} |-_IPC q by Th67;
A04: |-_IPC p => (q => (p '&' q)) by Th22;
   {}(MC-wff) c= {(p '&' q) => FALSUM,p,q}; then
   {(p '&' q) => FALSUM,p,q} |-_IPC p => (q => (p '&' q))
       by A04,Th66; then
   {(p '&' q) => FALSUM,p,q} |-_IPC q => (p '&' q) by A2,Th27;
      then
   {(p '&' q) => FALSUM,p,q} |-_IPC p '&' q by A3,Th27; then
   {(p '&' q) => FALSUM,p,q} |-_IPC FALSUM by A1,Th27; then
  {p,q} |-_IPC ((p '&' q) => FALSUM) => FALSUM by Th56; then
  {q} |-_IPC p => (((p '&' q) => FALSUM) => FALSUM) by Th55;
  hence thesis by Th54;
end;

theorem Th95:
  |-_IPC p => (((p '&' q) => FALSUM) => (q => FALSUM))
proof
    q in {q,(p '&' q) => FALSUM,p} by ENUMSET1:def 1; then
A1: {q,(p '&' q) => FALSUM,p} |-_IPC q by Th67;
    (p '&' q) => FALSUM in {q,(p '&' q) => FALSUM,p} by ENUMSET1:def 1; then
A2: {q,(p '&' q) => FALSUM,p} |-_IPC (p '&' q) => FALSUM by Th67;
   p in {q,(p '&' q) => FALSUM,p} by ENUMSET1:def 1; then
A3: {q,(p '&' q) => FALSUM,p} |-_IPC p by Th67;
A04: |-_IPC p => (q => (p '&' q)) by Th22;
   {}(MC-wff) c= {q,(p '&' q) => FALSUM,p}; then
   {q,(p '&' q) => FALSUM,p} |-_IPC p => (q => (p '&' q))
       by A04,Th66; then
   {q,(p '&' q) => FALSUM,p} |-_IPC q => (p '&' q) by A3,Th27; then
   {q,(p '&' q) => FALSUM,p} |-_IPC p '&' q by A1,Th27; then
   {q,(p '&' q) => FALSUM,p} |-_IPC FALSUM by A2,Th27; then
   {(p '&' q) => FALSUM,p} |-_IPC q => FALSUM by Th56; then
   {p} |-_IPC ((p '&' q) => FALSUM) => (q => FALSUM) by Th55;
   hence thesis by Th54;
end;

theorem Th96:
  |-_IPC q => (((p '&' q) => FALSUM) => (p => FALSUM))
proof
    p in {p,(p '&' q) => FALSUM,q} by ENUMSET1:def 1; then
A1: {p,(p '&' q) => FALSUM,q} |-_IPC p by Th67;
    (p '&' q) => FALSUM in {p,(p '&' q) => FALSUM,q} by ENUMSET1:def 1; then
A2: {p,(p '&' q) => FALSUM,q} |-_IPC (p '&' q) => FALSUM by Th67;
   q in {p,(p '&' q) => FALSUM,q} by ENUMSET1:def 1; then
A3: {p,(p '&' q) => FALSUM,q} |-_IPC q by Th67;
A04: |-_IPC p => (q => (p '&' q)) by Th22;
   {}(MC-wff) c= {p,(p '&' q) => FALSUM,q}; then
   {p,(p '&' q) => FALSUM,q} |-_IPC p => (q => (p '&' q))
       by A04,Th66; then
   {p,(p '&' q) => FALSUM,q} |-_IPC q => (p '&' q) by A1,Th27; then
   {p,(p '&' q) => FALSUM,q} |-_IPC p '&' q by A3,Th27; then
   {p,(p '&' q) => FALSUM,q} |-_IPC FALSUM by A2,Th27; then
  {(p '&' q) => FALSUM,q} |-_IPC p => FALSUM by Th56; then
  {q} |-_IPC ((p '&' q) => FALSUM) => (p => FALSUM) by Th55;
  hence thesis by Th54;
end;

theorem Th97:
  |-_IPC ((p 'or' q) => FALSUM) =>((p => FALSUM) '&' (q => FALSUM))
proof
A1: (((p 'or' q) => FALSUM) => (p => FALSUM)) => ((((p 'or' q) => FALSUM)
    => (q => FALSUM)) =>
    (((p 'or' q) => FALSUM) => ((p => FALSUM) '&' (q => FALSUM))))
    in IPC-Taut by INTPRO_1:38;
A2: (p => (p 'or' q)) => (((p 'or' q) => FALSUM) => (p => FALSUM))
    in IPC-Taut by INTPRO_1:24;
  p => (p 'or' q) in IPC-Taut by INTPRO_1:def 14;
  then A3: ((p 'or' q) => FALSUM) => (p => FALSUM) in IPC-Taut
    by A2,INTPRO_1:def 14;
A4: (q => (p 'or' q)) => (((p 'or' q) => FALSUM) => (q => FALSUM))
    in IPC-Taut by INTPRO_1:24;
  q => (p 'or' q) in IPC-Taut by INTPRO_1:def 14;
  then A5: ((p 'or' q) => FALSUM) => (q => FALSUM) in IPC-Taut
    by A4,INTPRO_1:def 14;
  (((p 'or' q) => FALSUM) => (q => FALSUM)) =>
  (((p 'or' q) => FALSUM) => ((p => FALSUM) '&' (q => FALSUM)))
  in IPC-Taut by A1,A3,INTPRO_1:def 14;
  then ((p 'or' q) => FALSUM) =>((p => FALSUM) '&' (q => FALSUM))
  in IPC-Taut  by A5,INTPRO_1:def 14;
  hence thesis by Th69;
end;

theorem Th98:
  |-_IPC ((p => FALSUM) '&' (q => FALSUM)) => ((p 'or' q) => FALSUM) by Th77;

theorem Th99:
  |-_IPC ((p 'or' q) => FALSUM) 'equiv' ((p => FALSUM) '&' (q => FALSUM))
proof
A1: |-_IPC ((p 'or' q) => FALSUM) => ((p => FALSUM) '&' (q => FALSUM))
      by Th97;
  |-_IPC ((p => FALSUM) '&' (q => FALSUM)) => ((p 'or' q) => FALSUM) by Th98;
  hence thesis by A1,Th84;
end;

theorem Th100:
  |-_IPC (p '&' (p => FALSUM)) => FALSUM by Th78;

theorem Th101:
  |-_IPC FALSUM 'equiv' (p '&' (p => FALSUM))
proof
A1: |-_IPC FALSUM => (p '&' (p => FALSUM)) by Th36;
  |-_IPC (p '&' (p => FALSUM)) => FALSUM by Th100;
  hence thesis by A1,Th84;
end;

theorem Th102:
  |-_IPC (p => FALSUM) => (((p => FALSUM) => FALSUM) => FALSUM) by Th72;

theorem Th103:
  |-_IPC (((p => FALSUM) => FALSUM) => FALSUM) => (p => FALSUM)
proof
A1: (p => ((p => FALSUM) => FALSUM)) =>
    ((((p => FALSUM) => FALSUM) => FALSUM) => (p => FALSUM))
    in IPC-Taut by INTPRO_1:24;
  p => ((p => FALSUM) => FALSUM) in IPC-Taut by Th70,Th72;
  then (((p => FALSUM) => FALSUM) => FALSUM) => (p => FALSUM)
    in IPC-Taut by A1,INTPRO_1:def 14;
  hence thesis by Th69;
end;

theorem Th104:
  |-_IPC (p => FALSUM) 'equiv' (((p => FALSUM) => FALSUM) => FALSUM)
proof
A1: |-_IPC (p => FALSUM) => (((p => FALSUM) => FALSUM) => FALSUM) by Th102;
  |-_IPC (((p => FALSUM) => FALSUM) => FALSUM) => (p => FALSUM) by Th103;
  hence thesis by A1,Th84;
end;

theorem Th105:
  |-_IPC ((p => FALSUM) => q) => ((((p => FALSUM) => FALSUM) => FALSUM) => q)
proof
    ((p => FALSUM) => FALSUM) => FALSUM in
     {((p => FALSUM) => FALSUM) => FALSUM,(p => FALSUM) => q}
       by TARSKI:def 2; then
A1: {((p => FALSUM) => FALSUM) => FALSUM,(p => FALSUM) => q}
    |-_IPC ((p => FALSUM) => FALSUM) => FALSUM by Th67;
    (p => FALSUM) =>q in {((p => FALSUM) => FALSUM) => FALSUM,
     (p => FALSUM) => q} by TARSKI:def 2; then
A2: {((p => FALSUM) => FALSUM) => FALSUM,(p => FALSUM) => q}
    |-_IPC (p => FALSUM) => q by Th67;
A03: {}(MC-wff) c= {((p => FALSUM) => FALSUM) => FALSUM,(p => FALSUM) => q};
    |-_IPC (((p => FALSUM) => FALSUM) => FALSUM) => (p => FALSUM) by Th103;
    then
A3: {((p => FALSUM) => FALSUM) => FALSUM,(p => FALSUM) => q}
    |-IPC (( =>  >FALSUM >  > p= java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
      by A03,Th66;
    (p= )= FALSUM > FALSUM,( =>FALSUM)= q}
    |-_IPC p => FALSUM by A1,A3,Th27; then
   {((p => FALSUM) => FALSUM) => FALSUM,(p => FALSUM) => q}
    |_PC byA2,h27 
  {p = ) qjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      in  fbyA1A,FINSEQ_325;
  hence thesis by Th54;
end;

theorem Th106:
  |-_IPC (p => q) => (((p => FALSUM)=> FALSUM) => ((q => FALSUM)=> FALSUM))
proof
A1: (p => q) => ((q => FALSUM) => (p => FALSUM)) in IPC-Taut
      by Th70,Th81;
  ((q => FALSUM) => (p => FALSUM)) =>
  (((p => FALSUM) => FALSUM) => ((q => FALSUM)=> FALSUM))in IPC-Taut
    by Th70,Th81;
  hence thesis by A1,Th69,INTPRO_1:26;
end;

A5 , java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
  |-_IPC 
proof
   p => q in {p => q,p '&' (q => FALSUM)} by TARSKI:def 2; then
A1: {p => q,p '&' (q => FALSUM)} |-_IPC p => q by Th67;
   p '&' (q => FALSUM) in {p => q,p '&' (q => FALSUM)} by TARSKI:def 2; then
A2: {p => q,p '&' (q => FALSUM)} |-_IPC p '&' (q => FALSUM) by Th67;
    {p => q,p '&' (q => FALSUM)} |-_IPC (p '&' (q => FALSUM)) => p by Th20;
     then
   {p => q,p '&' (q => FALSUM)} |-_IPC p by A2,Th27; then
A4: {p => q,p '&' (q => FALSUM)} |-_IPC q by A1,Th27;
   {p => q,p '&' (q => FALSUM)} |-_IPC (p '&' (q => FALSUM)) =>
     (q => FALSUM) by Th21; then
  {p => q,p '&' (q => FALSUM)} |-_IPC q => FALSUM by A2,Th27; then
  {p '&' (q => FALSUM),p => q} |-_IPC FALSUM by A4,Th27; then
  {p '&' (q => FALSUM)} |-_IPC  (p => q) => FALSUM by Th55;
  hence thesis by Th54;
end;

theorem Th108:
  |-_IPC (((p => q) => FALSUM) => FALSUM) => (((p => FALSUM) => FALSUM) =>
  ((q => FALSUM) => FALSUM))
proof
A01: p in {p,q => FALSUM,(p => FALSUM) => FALSUM,
     ((p    end;
A1: {p,q => FALSUM,(p => FALSUM) => FALSUM,((p => q) => FALSUM) => FALSUM}
    |-_IPC p by A01,Th67;
    q => FALSUM in
     {p,q => FALSUM,(p => FALSUM) => FALSUM,((p => q) => FALSUM) => FALSUM}
SET1:ef2;then
A2: {p,q => FALSUM,(p => FALSUMA7:{U -IPC U by Th65;
    |-_IPC q => FALSUM by Th67;
    ((p => q) => FALSUM) => FALSUM in
     {, =FALSUM,( >FALSUM) = FALSUM,(p= q)= FALSUM)= FALSUM}
       by ENUMSET1:def 2; then
A3: {p,q => FALSUM,(p => FALSUM) => FALSUM,((p => q) => FALSUM) => FALSUM}
    |-_IPC ((p => q) => FALSUM) => FALSUM by Th67;
{, =>FALSUM,p = FALSUM)= FALSUM,(p=>q)
|I   ( >FALSUM >( & (q= ))byTh22 
    {p,q => FALSUM,(p => FALSUM) => FALSUMZ\ {}|_PC  byTh66,BOOLE_17java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
     ((pjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     |-_IPC ((q => FALSUM) => (p '&' (q => FALSUM))) by A1,Th27; then
A4: {p,q => FALSUM,(p => FALSUM) => FALSUM,((p => q) => FALSUM) => java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    |-_IPC p '&' (q => FALSUM) by A2,Th27;
A06: |-_IPC (p '&' (q => FALSUM)) => ((p => q) => FALSUM) by Th107;
A07: {}(MC-wff) c= {p,q => FALSUM,(p => FALSUM) => FALSUM,
    ( = )= FALSUM =}java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
     |    end
     > ((>q)= ) =FALSUM) A p}\ {= }-IPC Vby A3,;
(p '&'q=FALSUM) >)by Th81 
     |_IPC ((( >      by :7then
 {}/q |_IPCV A7T 
     {p,q => FALSUM,(p => FALSUM) => FALSUM    {p}\/{ o (p => r) -I V  A5,h123;then
    |  {end;
    SUM A07Th66 
    =FALSUM,p=>FALSUM)= FALSUM,( > >FALSUM >ALSUMjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
       byTh54;
    {p,q => j <= len f A92 then
    ((       in fby
8 q=Th126:
       by _PCp >((>FALSUM =>q
    (    java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
,>FALSUM  ( =q)= FALSUM) > FALSUM}
       assumethat
   q= , >FALSUM >FALSUM,(p= )= FALSUM) >FALSUM}
      |:g  X
    {q => FALSUMn+f  FINSEQ_1:def7;
      |-_IPC FALSUM by A8,Th27; then
    ( >FALSUM = (p = q)>  = 
      |-_IPC (q => FALSUM) => FALSUM by Th56; then
    {(p= q =>FALSUM > java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      |-_IPC ((p = case(^g.+lenf))2  2java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    thesis by Th54;
nd

:
    
  ((hencethesis byA3,4,ef3
proof
    (p => q) => FALSUM in
     {(p => q) => FALSUM,((p => FALSUM) => FALSUM) =>
     ((q => FALSUM) => FALSUM)} by TARSKI:def 2; then
A1: {(p => q) => FALSUM,((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)}
    |-_IPC (p => q) => FALSUM by Th67;
    ((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM) in
     {(p => q) => FALSUM,((p => FALSUM) => FALSUM) =>
     ((q => FALSUM) => FALSUM)} by TARSKI:def 2; then
A2: {(p => q) => FALSUM,((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)}
    |-_IPC ((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM) by Th67;
A03: |-_IPC ((p => FALSUM) 'or' q) => (p => q) by Th80;
A04: {}(MC-wff) c= {(p => q) => FALSUM,
     ((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)};
     |-_IPC (((p => FALSUM) 'or' q) => (p => q)) =>
     (((p => q) => FALSUM) => (((p => FALSUM) 'or' q) => FALSUM)) by Th81; then
     |-_IPC ((p => q) => FALSUM) => (((p => FALSUM) 'or' q) => FALSUM)
       by A03,Th37; then
     {(p => q) => FALSUM,((p => FALSUM) => FALSUM) => ((q => FALSUM)
       => FALSUM)}
    |-_IPC ((p => q) => FALSUM) => (((p => FALSUM) 'or' q) => FALSUM)
      by A04,Th66; then
A4: {(p => q) => FALSUM,((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)}
    |-_IPC ((p => FALSUM) 'or' q) => FALSUM by A1,Th27;
A07: |-_IPC (((p => FALSUM) 'or' q) => FALSUM) =>
     (((p => FALSUM) => FALSUM) '&' (q => FALSUM)) by Th97;
    {(p => q) => FALSUM,((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)}
    |-_IPC (((p => FALSUM) 'or' q) => FALSUM) =>
    (((p => FALSUM)=> FALSUM) '&' (q => FALSUM)) by A04,A07,Th66; then
A6: {(p => q) => FALSUM,((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)}
    |-_IPC ((p => FALSUM) => FALSUM) '&' (q => FALSUM) by A4,Th27;
    {(p => q) => FALSUM,((p => FALSUM) => FALSUM) =>
     ((q => FALSUM) => FALSUM)} |-_IPC (((p => FALSUM)=> FALSUM) '&'
     (q => FALSUM)) => ((p => FALSUM) => FALSUM) by Th20; then
    {(p => q) => FALSUM,((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)}
    |-_IPC (p => FALSUM) => FALSUM by A6,Th27; then
A8: {(p => q) => FALSUM,((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)}
    |-_IPC (q => FALSUM)=> FALSUM by A2,Th27;
    {(p => q) => FALSUM,((p => FALSUM) => FALSUM) =>
     ((q => FALSUM) => FALSUM)} |-_IPC (((p => FALSUM) => FALSUM) '&'
     (q => FALSUM)) => (q => FALSUM) by Th21; then
    {(p => q) => FALSUM,((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)}
    |-_IPC q => FALSUM by A6,Th27; then
    {(p => q) => FALSUM,((p => FALSUM) => FALSUM) =>
     ((q => FALSUM) => FALSUM)} |-_IPC FALSUM by A8,Th27; then
    {((p => FALSUM)=> FALSUM) => ((q => FALSUM) => FALSUM)}
     |-_IPC ((p => q) => FALSUM) => FALSUM by Th55;
    hence thesis by Th54;
end;

theorem Th110:
  |-_IPC (((p => q) => FALSUM)=> FALSUM) 'equiv'
  (((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM))
proof
A1: |-_IPC (((p => q) => FALSUM)=> FALSUM) =>
    (((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)) by Th108;
  |-_IPC (((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)) =>
    (((p => q) => FALSUM)=> FALSUM) by Th109;
  hence thesis by A1,Th84;
end;

theorem Th111:
  |-_IPC (((p '&' q) => FALSUM) => FALSUM) => (((p => FALSUM) => FALSUM) '&'
  ((q => FALSUM) => FALSUM))
proof
A1: |-_IPC p '&' q => p by Th30;
A2: |-_IPC p '&' q => q by Th31;
A3: |-_IPC (p '&' q => p) => ((p => FALSUM) => ((p '&' q) => FALSUM)) by Th81;
A4: |-_IPC (p => FALSUM) => ((p '&' q) => FALSUM) by A1,A3,Th37;
    |-_IPC ((p => FALSUM) => ((p '&' q) => FALSUM)) =>
    ((((p '&' q) => FALSUM) => FALSUM) => ((p => FALSUM) => FALSUM))
      by Th81; then
A6: |-_IPC (((p '&' q) => FALSUM) => FALSUM) => ((p => FALSUM) => FALSUM)
      by A4,Th37;
    |-_IPC(p '&' q => q) => ((q => FALSUM) => ((p '&' q) => FALSUM)) by Th81;
      then
A8: |-_IPC ( case ((f^g).(n+len )` = 8
    |I ( >FALSUM)= ( &  > FALSUM) =>
    ((((p '&' q) => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM))
      by Th81; then
A10: |-_IPC (((p '&' q) => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)
       by A8,Th37;
    |-_IPC ((((p '&' q) => FALSUM) => FALSUM) => ((p => FALSUM) => FALSUM))
     => (((((p '&' q) => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM))
     => ((((p '&' q) => FALSUM) => FALSUM) =>
     (((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM))))
       by Th69,INTPRO_1:38; then
  |-_IPC ((((p '&' q) => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM))
     => ((((p '&' q) => FALSUM) => FALSUM) =>
     (((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)))
       by A6,Th37;
  hence thesis by A10,Th37;
end;

theorem Th112:
  |-_IPC (((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)) =>
  (((p '&' q) => FALSUM) => FALSUM)
  case((^).n+f)2=9java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    p in  =(.j)`1 & t = (g.n)1& (.)`1 =r >t
     (p=  >FALSUM)''(q > FALSUM) => FALSUM)}
       by ENUMSET1:def 2; then
A1: {p,q,(p '&' q) => FALSUM,
    ( >FALSUM)= )''(q=  = }|_PC p
      by Th67;
    q in {p,q,(p '&' q) => FALSUM,
     ((p => FALSUM) => FALSUM) '&':.i= fg)i )by def7java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
       ENUMSET1def ; 
A2: {p,q,(p '&' q) => FALSUM,
    ( > > java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 69
      : g is_a_proX
    (p A3  =  and
     ( > > )'' ( = FALSUM > java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
       by ENUMSET1:def 2; then
A3: {p,q,(p '&' q) => FALSUM,
    (( >FALSUM >FALSUM ' ( =>FALSUM > java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 60
    |-_IPC (p '&' q)=> FALSUMk +len     kX  A2A8java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
    {
     ((p => java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     -IPCp =>(= p&')b Th22 
    {q( & )= FALSUMjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
     ((p => FALSUM) => FALSUM) 'java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 17
     |-_IPC (q    hencethesis by A2;
    {p,q,(p '&' q) => FALSUM,
    ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
    |-_IPC p '&' q by A2,Th27; then
    {p,q,(p '&' q) => FALSUM,
    ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
    |-_IPC FALSUM by A3,Th27; then
A6: {q,(p '&' q) => FALSUM,
    ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
    |-_IPC p => FALSUM by Th57;
    ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM) in {q,
     (p '&' q) => FALSUM,((p => FALSUM) => FALSUM) '&'
     ((q => FALSUM) => FALSUM)} by ENUMSET1:def 1; then
B1: {q,(p '&' q) => FALSUM,
    ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
    |-_IPC ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM) by Th67;
    {q,(p '&' q) => FALSUM,
     ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
     |-_IPC (((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM))
     => ((p => FALSUM) => FALSUM) by Th20; then
    {q,(p '&' q) => FALSUM,
    ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
    |-_IPC (p => FALSUM) => FALSUM by B1,Th27; then
B3: {q,(p '&' q) => FALSUM,
    ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
    |-_IPC FALSUM by A6,Th27;
B4: {(p '&' q) => FALSUM,
    ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
    |-_IPC q => FALSUM by B3,Th56;
    ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM) in {
     (p '&' q) => FALSUM,((p => FALSUM) => FALSUM) '&'
     ((q => FALSUM) => FALSUM)} by TARSKI:def 2; then
C1: {(p '&' q) => FALSUM,
    ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
    |-_IPC ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM) by Th67;
    {(p '&' q) => FALSUM,
     ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
     |-_IPC (((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM))
     => ((q => FALSUM) => FALSUM) by Th21; then
   {(p '&' q) => FALSUM,
    ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
    |-_IPC (q => FALSUM) => FALSUM by C1,Th27; then
  {(p '&' q) => FALSUM,
    ((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
     |-_IPC FALSUM by B4,Th27; then
  {((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM)}
  |-_IPC ((p '&' q)=> FALSUM) => FALSUM by Th55;
  hence thesis by Th54;
end;

theorem Th113:
 |-_IPC (((p '&' q) => FALSUM)=> FALSUM) 'equiv'
        (((p => FALSUM) => FALSUM) '&' ((q => FALSUM) => FALSUM))
proof
A1: |-_IPC (((p '&' q) => FALSUM)=> FALSUM) =>
    (((p => FALSUM) => FALSUM) '&' ((q;
  |-
    (('' q) => FALSUM) FALSUM)by ;
  henceA1: f is_a_proof_wrt_IPC  and
end;

theorem Th114:
 |-_IPC (((p => q) => FALSUM)=> FALSUM) =>
          (p => ((q => FALSUM) => FALSUM))
proof
   p in {p,((p => q) => FALSUM)=> FALSUM} by TARSKI:def 2; then
A1: {p,((p => q) => FALSUM)=> FALSUM} |-_IPC p by Th67;
    ((p => q) => FALSUM)=> FALSUM in {p,((p => q) => FALSUM)=> FALSUM}
by :def 2; then
A2:{,(p >q = )>FALSUM}|_ ( = q)= FALSUM)= FALSUM
      by Th67;
A03: |-_IPC (((p => q) => FALSUM) => FALSUM)
     => (((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM)) by Th108;
A04: {}(MC-wff) c= {p,((p => q) => FALSUM)=> FALSUM}; then
   {((p => q) => FALSUM)=> FALSUM,p} |-_IPC (((p => q) => FALSUM)=> FALSUM)
    => (((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM))
      by A03,Th66; then
A4: {p,((p => q) => FALSUM)=> FALSUM}
  |-_IPC ((p => FALSUM) => FALSUM) => ((q => FALSUM) => FALSUM) by A2,Th27;
   |-_IPC p => ((p => FALSUM) => FALSUM) by Th72; then
   {p,((p => q) => FALSUM)=> FALSUM} |-_IPC p => ((p => FALSUM) => FALSUM)
      by A04,Th66; then
   {p,((p => q) => FALSUM)=> FALSUM}|-_IPC ((p => FALSUM) => FALSUM)
     by A1,Th27; then
   {p,((p => q) => FALSUM)=> FALSUM}|-_IPC ((q => FALSUM) => FALSUM)
      by A4,Th27; then
  {((p => q) => FALSUM)=> FALSUM}|-_IPC p => ((q => FALSUM) => FALSUM)
      by Th55;
  hence thesis by Th54;
end;

theorem :: Restricted cut rule, No.1
  (:  ,  byA1A5,6java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
proof
  : |- r &(} -I q) then
  |-_IPC r => q by Th54;
  hence thesis by A1,Th37;
end;

theorem Th116::: Restricted cut rule, No.2
  ( -I r &( /{}  hat
proof
  A5 A c= MC-ff and
  X |-_IPC r => q by Th53;
 hence thesis by  `  4;hen
end;

theorem :: Cut rule
  (X |              (f.n)`2 = 0or ..or  f.`   by A7,3
proof
  assume A1:( |_A9  f)  X ,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
A2:Y| r=  byTh53;
 X=X\Y&Y =X\/by7 then
A3end;
X|-PC rbyA20,Th66
   hence thesis A3,Th27
end;

theorem :: Introduction => to premiss, No.1
  |-I p)  (r} -I q)implies p = r} -I q
proofhence thesis by A8,Def3;
A20: {} c= {p =    end;
  
:(-IPC p)&({9      1< and
A2: {p => r} |-_IPC p by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 20
  {=> r}-  >r by  then
A4 p= > >) >(p  >( >r))
   {r}theoremjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  {p => r} \/ {r} |-_IPC q INTPRO_14
  hence thesis by A4,Th116;
end;

theorem Th119: :: Introduction => to premiss, No.2
  (X |-_  X |-_IPC >( or )byINTPRO_17
proof
  :( -I ) & X\ {} -_ )
   X c= X \/ {p => r}theorem Th26:
A2: X \/ {p => r} |-_IPC p by A1,Th66;
:p=> r in p=   TARSKId 1
   { =>r =X\/{ >r by XBOOLE_1:7;then
   p => r in X \/ {p => r} by A3; then
X\ p= r}|_PC => by ; then
=>r -IPC r A2,;
A8: X \/ {r}  c= (X \/ {r}) \/ {p => r} by XBOOLE_1:7;
  (X \/ {r}) \java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      by XBOOLE_1:4; then
  (X \/ {p =>   -IPC p =>( =>('& q) by ;
  hence thesis by A7,Th116;
end;

Th120:
  { -I q'r'r
proof
A1: {q} |-_IPC q by Th65;
  {q} |-_IPC q => (q 'or' r) by Th23;
  hence thesis by A1,Th27;
end;

theorem Th121:
  {r} |-_IPC q 'or' r
proof
A1: {r} |-_IPC r by Th65;
  {r} |-_IPC r => (q 'or' r) by Th24;
  hence thesis by A1,Th27;
end;

theorem :: Introduction 'or' to premiss, No.1
  ({p} |-_IPC r & {q} |-_IPC r) implies {p 'or' q} |-_IPC r
proof
  set U = p 'or' q;
  set X = {U};
A2: |-_IPC (p => r) => ((q => r) => (U => r)) by Th35;
  assume
A1: {p} |-_IPC r & {q} |-_IPC r; then
A5: |-_IPC q => r by Th54;
   |-_IPC p => r by A1,Th54; then
   |-_IPC (q => r) => (U => r) by A2,Th37; then
A7: |-_IPC U => r by A5,Th37;
  {} c= X; then
  X |-_IPC = rby ,;
  hence thesis by Th27,:      (f.j)`1 in CnIPC(X A4A11,14;
end;

theorem Th123: :: Introduction 'or' to premiss, No.2
  (X \/ {p} |-_IPC r & X \/ {q} |-_IPC r) implieshencethesis
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
     or'q;
  assume A1Seg lenf dom f by d 3 then
     fc=[MC-ffProof_Step_Kinds_IPC] FINSEQ_1d4;
A3: X |-_IPC q => r by A1,Th53;
  X |-_IPC (p => r) => ((q
  X |-_IPC (q => r) =>
  |_IPC U >r A3,h27
A7: {Uf< }by ;
    {U} c= X
A11Lm1 for  holdsp  fst f java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 72
 \ {U XBOOLE_1:; then
  X \/ {U} 3java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  hence thesis by A11,Th27;
end;

theorem :: Introduction 'or' to premiss
  (X \/ {p} |-_IPC r & Y \/ {q} |-_IPC r) implies
    (X \/ Y) \/ {p 'or' q} |-_IPC r
proof
  set U = p 'or' q;
  set Z = X \/ Y;
  assume A1: (X \/ {p} |-_IPC r & Y \/ {q} |-_IPC r); then
A2: X |-_IPC p => r by Th53;
A4: X c= Z & Y c= Z by XBOOLE_1:7; then
A5: Z |-_IPC p => r by A2,Th66;
   Y |-_IPC q => r by A1,Th53; then
A6: Z |-_IPC q => r by A4,Th66;
   Z |-_IPC (p => r) => ((q => r) => (U => r)) by Th25; then
   Z |-_IPC (q => r) => (U => r) by A5,Th27; then
A9: Z |-_IPC U => r by A6,Th27;
   Z c= Z \/ {U} by XBOOLE_1:7; then
A11: Z \/ {U} |-_IPC U => r by A9,Th66;
  {U} |-_IPC U by Th65; then
  Z \/ {U} |-_IPC U by Th66,XBOOLE_1:7;
  hence thesis by A11,Th27;
end;

theorem
 |-_IPC (p =>(q 'or' (p => r))) => (p =>(q 'or' r))
proof
  set V = q 'or' r;
A1: {r} |-_IPC q 'or' r by Th121;
    {r} c= {p} \/ {r} by XBOOLE_1:7; then
A3: {p} \/ {r} |-_IPC V by A1,Th66;
A4: {p} |-_IPC p by Th65; then
A5: {p} \/ {p => r} |-_IPC V by A3,Th119;
A7: {q} |-_IPC V by Th120;
    {q} c= {p} \/ {q} by XBOOLE_1:7; then
    {p} \/ {q} |-_IPC V by A7,Th66; then
    {p} \/ {q 'or' (p => r)} |-_IPC V by A5,Th123; then
  {p} \/ {p => (q 'or' (p => r))} |-_IPC V by A4,Th119; then
  {p => (q 'or' (p => r))} |-_IPC p => V by Th53;
  hence thesis by Th54;
end;

theorem Th126:
 |-_IPC p => ((p => FALSUM) => q)
proof
   p => FALSUM in {p => FALSUM,p} by TARSKI:def 2; then
A1: {p => FALSUM,p} |-_IPC p => FALSUM by Th67;
   p in {p => FALSUM,p} by TARSKI:def 2; then
   {p => FALSUM,p} |-_IPC p by Th67; then
A3: {p => FALSUM,p} |-_IPC FALSUM by A1,Th27;
  {p => FALSUM,p} |-_IPC FALSUM => q by Th26; then
  {p => FALSUM,p} |-_IPC q by A3,Th27; then
  {p} |-_IPC (p => FALSUM) => q by Th55;
  hence thesis by Th54;
end;

theorem Th127:
  |-_IPC (p => q) => (((q '&' r)=> FALSUM) => ((p '&' r)=> FALSUM))
proof
   p '&' r in {p '&' r,(q '&' r)=> FALSUM,p => q} by ENUMSET1:def 1; then
A1: {p '&' r,(q '&' r)=> FALSUM,p => q} |-_IPC p '&' r by Th67;
   (q '&' r)=> FALSUM in {p '&' r,(q '&' r)=> FALSUM,p => q}
       by ENUMSET1:def 1; then
A2: {p '&'r(''r)> p=>q} |IPC q'' )>FALSUM by java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
 )> p >q} ENUMSET1def 1 
A3: {p '&' r,(q 'A:Effect_IPCf) =  by;
   {p '&' r,(q '&' r)=>java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
 p''r,q'' = FALSUMp=>q |I rby ,Th27
   {p '&' r,(q '&'      thesis A5,6,Def3;
   {p '&' r,(q '&' r)=> FALSUM,p => q} |-_IPC p by A1,Th27; then
A6: {p''r( & r)>FALSUM, >q |I qby ,Th27
   {p;
       by Th22; then
   {java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
       by A6,;then
     { '& ,q & )>FALSUM, =>q |I  & 
   {pA3 java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 42
   {(q 1 <  &n<=lenf then
  {p => q} |-_IPC ((A5:(1`= 1java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  hence thesis by Th54;
endend;then

theorem Th128:
  > >( orr>)=>(p 'r r= )
proof
    p 'or' r in {p 'or' r,(q 'or' r)={:ex  stis_a_proof_wrt_IPCX& f =F
UM, = } -IPC p 'or' r byTh67;
   (q 'or )>FALSUMin { o'r('orr= FALSUMp >q}
        ENUMSET1:ef 1 then
A2: {p 'or'(. f` =p'&' q = p by A1; 
        1<    =len f implies f, java.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
    = qin { 'or'r,q'r )>FALSUMp= q ENUMSET1 ;then
A3 p 'or'r( o'r= p =q |I p=qby java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
A04: |-_IPC (p => q) => ((p 'or' r) => (q 'or' r)) by Th69,INTPRO_1:60;
   {}(MC-wff) c= {p 'or' r,(q 'or' r)=> FALSUM,p => q}; then
    {p 'or' r,(q 'or' r)=> FALSUM,p => q}
     |-_IPC (p => q) => ((p 'or' r) => (q 'or' r)) by A04,Th66; then
   {p 'or' r,(q 'or' r)=> FALSUM,p => q} |-_IPC (p 'or' r) => (q 'or' r)
       by A3,Th27; then
    {p 'or' r,(q 'or' r)=> FALSUM,p => q} |-_IPC q 'or' r
      by A1,Th27; then
    {p 'or' r,(q 'or' r)=> FALSUM,p => q} |-_IPC FALSUM by A2,Th27; then
    {(q 'or' r)=> FALSUM,p => q} |-_IPC (p 'or' r)=> FALSUM
      by Th56; then
    {p => q} |-_IPC ((q 'or' r)=> FALSUM) => ((p 'or' r)=> FALSUM) by Th55;
    hence thesis by Th54;
end;

definition
  let p be Element of MC-wff;
  redefine func neg p -> Element of MC-wff equals
  (p => FALSUM);
  correctness
  by INTPRO_1:def 17;
end;

definition
  let p be Element of MC-wff;
  func neg^2 p -> Element of MC-wff equals
  ((p => FALSUM) => FALSUM);
  correctness;
end;

definition
  let p be Element of MC-wff;
  func neg^3 p -> Element of MC-wff equals
  (((p => FALSUM) => FALSUM) => FALSUM);
  correctness;
end;

definition
  let p be Element of MC-wff;
  func neg^4 p -> Element of MC-wff equals
  ((((p => FALSUM) => FALSUM) => FALSUM) => FALSUM);
  correctness;
end;

definition
  let p be Element of MC-wff;
  func neg^5 p -> Element of MC-wff equals
  (((((p => FALSUM) => FALSUM) => FALSUM) => FALSUM) => FALSUM);
  correctness;
end;

theorem
  |-_IPC p => neg neg p by Th72;

theorem
  |-_IPC p => neg^2 p by Th72;

theorem
  |-_IPC ((p => q) '&' (p => neg q)) => neg p by Th75;

theorem
  |-_IPC (neg p) => (p => q) by Th76;

theorem
  |-_IPC p => neg neg neg neg p by Th79;

theorem
  |-_IPC ((neg p) 'or' q) => (p => q) by Th80;

theorem
  |-_IPC (p => q) => ((neg q) => neg p) by Th81;

theorem
  |-_IPC ((neg p) 'or' (neg q)) => neg (p '&' q) by Th82;

theorem
  |-_IPC (neg (p '&' q)) => (p => neg q) by Th87;

theorem
  |-_IPC (p => (neg q)) => neg (p '&' q) by Th88;

theorem
  |-_IPC (neg (p '&' q)) 'equiv' (p => neg q) by Th89;

theorem
  |-_IPC (neg (p '&' q)) => (q => neg p) by Th90;

theorem
  |-_IPC (q => neg p) => neg (p '&' q) by Th91;

theorem
  |-_IPC (q => neg p) 'equiv' neg (p '&' q) by Th92;

theorem
  |-_IPC p => (q => neg neg (p '&' q)) by Th93;

theorem
  |-_IPC q => (p => neg neg (p '&' q)) by Th94;

theorem
  |-_IPC p => ((neg (p '&' q)) => neg q) by Th95;

theorem
  |-_IPC q => ((neg (p '&' q)) => neg p) by Th96;

theorem
  |-_IPC (neg (p 'or' q)) => ((neg p) '&' neg q) by Th97;

theorem
  |-_IPC ((neg p) '&' neg q) => neg (p 'or' q) by Th98;

theorem
  |-_IPC (neg (p 'or' q)) 'equiv' ((neg p) '&' neg q) by Th99;

theorem
  |-_IPC (p '&' neg p) => FALSUM by Th100;

theorem
  |-_IPC FALSUM 'equiv' (p '&' neg p) by Th101;

theorem
  |-_IPC (neg p) => neg neg neg p by Th102;

theorem
  |-_IPC (neg neg neg p) => neg p by Th103;

theorem
  |-_IPC (neg p) 'equiv' neg neg neg p by Th104;

theorem
  |-_IPC ((neg p) => q) => ((neg neg neg p) => q) by Th105;

theorem
  |-_IPC (p => q) => ((neg neg p) => neg neg q) by Th106;

theorem
  |-_IPC (p '&' neg q) => neg (p => q) by Th107;

theorem
  |-_IPC (neg neg (p => q)) => ((neg neg p) => (neg neg q)) by Th108;

theorem
  |-_IPC ((neg neg p) => neg neg q) => neg neg (p => q) by Th109;

theorem
|I(neg (p =>q) e (neg p >neg q)by Th110;java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64

theorem
  |-_IPC   java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 30

theorem
  |-_IPC ((neg neg p)pp[p = )= (q= ) => ((p 'or' q) => r)),8] as

theorem
  |-_IPC (neg neg (p '&' q)) 'equiv' ((neg neg p) '&' neg neg q) by Th113;

theorem
  |-_IPC (neg neg (p => q)) => (p => neg neg q) by Th114;


  |-_IPC p => ((neg p) => q) by Th126;

theorem
  |-_IPC (p => q) => ((neg (q '&' r)) => neg (p '&' r)) by Th127;

theorem
  |-_IPC (p => q) => ((neg (q 'or' r)) => neg (p 'or' r)) by Th128;

Messung
CHZG
8210010094

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.317Angebot  ¤

*Eine klare Vorstellung vom Zielzustand







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,187,842
#Domains=881,872