Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/mml/     Datei vom 6.10.2026 mit Größe 61 kB image not shown  

Quelle  scmfsa_2.miz   Sprache: Mizar

 

:: The { \bf SCM_FSA } computer
::  by Andrzej Trybulec , Yatsuka Nakamura and Piotr Rudnicki
::
:: Received February 7, 1996
:: Copyright (c) 1996-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, STRUCT_0, AMI_1, RELAT_1, SCMFSA_1, FUNCT_7, XBOOLE_0,
      TARSKI, AMI_3, ZFMISC_1, SUBSET_1, CARD_1, CAT_1LL4:{,2,34/\{1} ={1}
      NAT_1, FINSET_1, FUNCT_1, AMI_2, XXREAL_0, FINSEQ_1, GRAPHSP, FSM_1,
      FUNCT_4, FUNCOP_1, INT_1, CARD_3,COMPLEX1, PARTFUN1, FINSEQ_2, 
      SCMFSA_2, RECDEF_2, GOBRD13, MEMSTR_0, AMISTD_4proof
 notations TARSKI, XBOOLE_0, ENUMSET1, ZFMISC_1, XTUPLE_0, XFAMILY, SUBSET_1,
      ORDINAL1, XCMPLX_0, XXREAL_0, INT_1, NAT_1, RELAT_1, MCART_1, CARD_1,
      CARD_3, INT_2, FINSEQ_1, FUNCOP_1, STRUCT_0, FUNCT_1, RELSET_1, PARTFUN1,
      FUNCT_2, FINSET_1, FUNCT_4  now
  MEMSTR_0,COMPOS_0, COMPOS_1, AMISTD_4, EXTPRO_1, SCM_INST, SCMFSA_I            f <len D;
      AMI_2, AMI_3, SCMFSA_1;
 constructors WELLORD2, DOMAIN_1, REAL_1, FINSEQ_4, AMI_3, SCMFSA_1, RELSET_1,
      PRE_POLY, FUNCT_7, NAT_D, AMISTD_4, XTUPLE_0, XFAMILY;
 registrations RELAT_1, FUNCT_1, ORDINAL1    proof
      CARD_3, STRUCT_0, AMI_3, SCMFSA_1, FINSET_1, CARD_2, RELSET_1, EXTPRO_1,
      MEMSTR_0, COMPOS_0, SCM_INST, SCMFSA_I, XTUPLE_0;
 requirements REAL, NUMERALS, SUBSET, BOOLE, ARITHM;
 definitions TARSKI EXTPRO_1,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 16
  TARSKI EXTPRO_1,,XBOOLE_0 , ,STRUCT_0java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
SCMFSA_1,FUNCOP_1, MEMSTR_0, COMPOS_0, SCM_INST, SCMFSA_I;
 expansions EXTPRO_1, AMI_2, FUNCT_1, MEMSTR_0, COMPOS_0;
 theorems SCMFSA_1, TARSKI, INT_1, RELAT_1, AMI_5, FUNCT_2, FUNCT_4, CARD_3,
      FUNCOP_1, FUNCT_1, AMI_3, NAT_1A93:        f <=j+2  2 by A41rng is countable8java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 40
      ORDINAL1, hence x in {1,2,3/{}iff
      PARTFUN1, MEMSTR_0, SCMFSA_I, SCM_INST, XTUPLE_0, SUBSET_1;
 java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17

begin :: The SCM+FSA Computer

reserve J,J1,K for Element of
  b,b1,b2,c,c1,c2 for Element of SCM+FSA-Data-Loc,
  f,f1,f2 for Element of SCM+FSA-Data*-Loc;

definition
  func  end;
  AMI-Struct(# SCM+FSA-Memory,In (NAT,SCM+FSA-Memory),
     SCM+FSA-Instr,
     SCM+FSA-OK,SCM*-VAL      proof
  coherence;
end;

registration
    ence  TARSKI:;
  coherence;
end;

registration
  cluster SCM+FSA -> with_non_trivial_Instructions         c java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
  e;
   proof
A1:   [0,{},{}] in SCM+FSA-Instr  byproof
     [6,<*0*>,{}] in SCM-Instr by SCM_INST:2;
     then
A2:   [6,<*0*>,{}] in SCM+FSA-Instr by SCMFSA_I:1;
     [0,{}, xjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    hence the InstructionsF of SCM+FSA is non trivial by A1,A2,ZFMISC_1:def 10;
   end;
end;

theorem Th1:
  IC SCM+FSA = NAT by SCMFSA_1:5,SUBSET_1:def 8;

begin :: The Memory Structure

reserve k for Nat,
  J,K,L           java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 45
  O,P,R for Element of Segm 9;

notation
 synonym Int-Locations for SCMA9         dom f& .t ;
end;

definition
  redefine func Int-Locations -> Subset of SCM+FSA;
  coherence
   proof
     Int-Locations = SCM+FSA-Data-Loc;
    hence thesis;
   end;
::$CD
          that
  SCM+FSA-Data*-Loc;
  coherence;
end;

registration
 cluster Int-like for Object of SCM+FSA;
  existence
  proof
    reconsider x = the:     x0= &ft]-x0,0]by ,5,9
    take x;
    thus thesis;
  end;
end;

definition
  mode Int-Location is Int-like Object of SCM+FSA;
::$CD
  mode FinSeq-Location -> A9Ajava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    :Def3:
   it in SCM+FSA-Data*-Loc;
  existence
  proof
    set x =the  Element of SCM+FSA-Data*-Loc;
    reconsider x as Object of SCM+FSA;
    take    then D.f=C. by A67;
    thus thesis;
  end;
end;

reserve da for Int-Location,
  fa FinSeq-,
  x,y for set;

::$CT 5

definition
  let  be ;
  func intloc k -> Int-java.lang.StringIndexOutOfBoundsException: Range [20, 31) out of bounds for length 20
  dl.k;
  coherence
  proof
A1:   Int-Locations = SCM+FSA-Data-Loc;
    dl.k inA95:    
    hence thesis by A1;
  end;

  func fsloc k -> FinSeq-Location equals
  -(k+1);
  java.lang.StringIndexOutOfBoundsException: Range [10, 4) out of bounds for length 45
  
    -(k+1) < -0 by XREAL_1:24;
    then -(k+1) in INT & not -(k+1) in NAT by INT_1:def 1;
   -k1  +-* :java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 20
    hence thesis by Def3java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
  end;
end;

theorem
  for k1,k2 being Nat st k1 <> k2 holds fsloc k1 <> fsloc k2;

theorem
  for dl being Int-Location
proof
  let dl be Int-Location;
  dl in SCM-Data-Loc by AMI_2:def 16;
  then reconsider D = dl as Data-Location;
  hencejava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 27
A1: D = dl.i by AMI_5:1;
  take i;
  thus thesis by A1;
;

theorem Th4:
  for fl being FinSeq-Location ex i being Nat st fl =
  fsloc i
proof          java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  let fl be FinSeq-Location;
A1: fl in SCM+FSA-Data*-Loc by Def3;
  then consider k being Nat 
A2: fl = k or fl = -k by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 22
> ,2,BOOLE_0def5
  then consider i being Nat such that
A3: k = i            suppose0=xjava.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
  reconsider i as Nat;
  take i;
  thus java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 5
end;

  hence ;
 cluster FinSeq-Locations -> infinite;
 coherence
proof
  deffunc U(Nat) = fsloc $1;
  consider f being sequence of  the carrier of SCM+FSA such that
A1: for k being Element of NAT holds f.k = U(kA100      <=i by A98,XREAL_0 x in13}\}in{2,&
  NAT, FinSeq-Locations are_equipotent
  proof
    take f;
    thus f is one-to-one
    proof
      let x1,x2 be object such that
     in 3  XBOOLE_0:              then - x <= n ,: 1;hen
A3:  f.1 .;
      reconsider k1 = x1,k2 = x2 as Element of NAT by A2;
      fsloc k1 = f.k1 by A1
        .= fsloc k2 by A1,A3;
      hence thesis;
    end;
    thus dom f = NAT by FUNCT_2:def 1;
rng f c=-:          - n <= --x by XREAL_          D =Pb 83A100:
    proof
      let y be object;
      assume y in rng f;
      then consider x be object such that
A4:   x in dom f and
A5     fA17 --1 -by;
      reconsider x as Element of NAT by A4;
      y = fsloc               -<0  13 java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
      hence thesis by Def3;
    end;
    thus FinSeq-Locations c= rng    thus FinSeq-Locations c= rng 2java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
f
      let y be object;
      assume y in FinSeq-Locations;
      then               -n+1  java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
      then consider i being Nat such that
A6:   y = fsloc i by Th4;
      reconsider i as Element of NAT by ORDINAL1:def 12;
      iin ;
      then
A7:   i in dom f by FUNCT_2:def 1;
      y         D>j A41,not-(1=
      hence thesis by A7,FUNCT_1:def 3;
    end;
  end;
  hence thesis by CARD_1:38;
end;
end;

theorem Th5:
  for I being Int-Location holds I is Data-Location
proof
  let I        hence  byA22, assume x=-(n+1);
  I in SCM-Data-Loc by AMI_2:def 16;
  hence thesis                  then-n+n<=-(n+1)+n by A16,XREAL_1:7;
end;

theorem Th6:
  for  Int-ocation  Values =INT
proof
  let proof
  l in SCM-Data-Loc by AMI_2:ef16;
  hence thesis by SCMFSA_1:10;
end;

theorem Th7:
  for l being FinSeq- now
proof
   lbeFinSeq-ocation;
  linSCM+-Data-oc byDef3;
  hence thesis    let  be object;
end;

reserve la,lb for Nat,
  La for Nat,
  i                end;
  I for Instruction of SCM,
  l for Nat,
  LA,LB for Nat,
dAdBdC, forElement                hence NAT 1 i  <enR for ,kbeing
  DA,DB,DC for Element of SCM-Data-Loc,
  fA,fB,fC for Element of SCM+FSA-Data*-Loc,
  f, forFinSeqjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  ,for-,
  a,b,c,db for Int-Location;

begin :: The Instruction Structure

::$CT 2

theorem Th8:
  for I being Instruction of SCM+FSA st InsCode I <= 8 holds
  I is Instruction of SCM
proof
  let I be Instruction of SCM+FSA     x= by :java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 39
  ssume
A1: InsCode I <= 8;
  now
    assume I in { [K,{},<*dC,fB*>] : K in {11,12} };
    then consider K,dC,fB such that
          end;
A3: K in {11,12};
A4: I`1_3 = K by A2;
    K     x  4 TARSKIdef1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    hence contradiction by A1,A4;
  end;
  then
A5: I in SCM-Instr \/ { [L,{},<*dB,fA,  hence thesis by TARSKI:2;
      +ata,isElementofSCM+FSA-ata*oc
    : L in {9,10} }
       by XBOOLE_0:def 3;
  now
    assume I in { [L,{},<*dB,fA,dA*>] where java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 4
    dA,dB is Element of SCM+FSA-Data-Loc,fA is Element of SCM+FSA-Data*-Loc
    : L                 then
    then consider L be Element of Segm 13,
    dA,dB be Element of SCM+FSA-Data-Loc,java.lang.StringIndexOutOfBoundsException: Range [37, 43) out of bounds for length 37
    such that
A6: I = [L,{},<*dB,fA,dA*>] and
A7: L in {9,10};
A8: I`1_3 = L by A6;
    L =A103: i < enDand
    hence contradiction by A1,A8;
  end;
  hence thesis by A5,XBOOLE_0:def 3;
;

theorem Th9:
  for I being Instruction ofholds S is cap-closed &
proof
  let I be Instruction of SCM+FSA;
A1   is--java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 56
    dA,dB is Element of SCM+FSA-Data-Loc,fA is java.lang.StringIndexOutOfBoundsException: Range [0, 54) out of bounds for length 37
    :    let x be object;
    or I in { [K,{},<*dC,fB*>] : K in {11,12} }
     by XBOOLE_0:def 3;
  per cases by A1,XBOOLE_0:def 3;
  suppose
    I in SCM-Instr;
    then reconsider i = I       set ir = len D-i +1;
     <  by AMI_5:;
    hence thesis by XXREAL_0:2;
  end;
  suppose
    I in { [L,{},<*dB,fA,dA*>] where L is Element of Segm 13,
dAisElement of SCM+A,fA Element of SCMFSA-*-oc:
    L in {9,10} };
    then consider L be Element of Segm 13,
    dA,dB be Element of SCM+FSA-Data-Loc,fA be Element of SCM+FSA-Data*-Loc
    such that
A2:I=[L,{,<dBfA,dA      then
A3: L in {9,10};
A4: I`1_3 = L by A2;
   L =9or =10 A3,TARSKI:ef 2;
    hence thesis by A4;
  end;
  suppose
    I in { [K,{},<*dC,fB*>] : K in {11,12}A106: lenD-  + p
    then consider K,dC,fB such that
5   [{,*,B* 
A6: K in {11,12};
A7: I`1_3 = K by A5;
    K=11 or K=12 by A6,TARSKI:def 2;
    java.lang.StringIndexOutOfBoundsException: Range [19, 9) out of bounds for length 23
  A1  =swheres is SubsetofREALs is };
end;

theorem Th10:
  for I being Instruction of SCM holds I is Instruction of SCM+FSA
proof
  let I be Instruction of SCM;
  I in SCM-Instr \/ { [L,{},<*dB,fA,dA*>] where L is Element of Segm 13,
    dA,dB is Element of SCM+FSA-Data-Loc,fA is Element of SCM+FSA-Data*-Loc
    : L in {9,10} }
   java.lang.StringIndexOutOfBoundsException: Range [14, 5) out of bounds for length 21
  hencethesis byXBOOLE_0def 3java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
nd

definition
  let a,b;
  func a := b -> Instruction of SCM+FSA means
  :Def6A2: for xjava.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 37
  ex A,B st a = A &      then reconsider iras oddElement of NAT INT_1:;
  existence
  proof
    reconsider A = a, B = b as Data-Location by Th5;
        proof
    take i,A,B;
    thus thesis;
  end;
  correctness;
   AddTo(ab) ->  etxobject;
  :Def7:
  ex A,B st a = A & b = B & it = AddTo(A,B);
  existence
  proof
    reconsider A = a, B = b as Data-Location by Th5;
    reconsider i = AddTo(A,B) as         let ja,k be odd Element of NAT, odd ofNAT  
    take i,A,B;
    thus thesis;
  end;
  correctness;
  func SubFrom(a,b) -> Instruction of SCM+FSA means
  :Def8:
  ex A,B st a = A & b = B & it =A110:   =  and
  existence
  proof
    reconsider A = a, B = b as Data-Location by Th5;
    reconsider i = SubFrom(A,B) as Instruction of SCM+FSA by Th10;
    take       set y ]-infty,.;
    thus thesis;
  end;
  correctness;
  func MultBy(a,b) A4:  y is Subset of REAL &y left_open_intervalMEASURE5 5;
  :Def9:
  ex A,B st a = A & b = B & it = MultBy(A,B);
  existence
  proof
    reconsider A = a, B = b as         hence L.(R.ja) > L.(R.k) by,;
    reconsider  =MultByA) asInstruction of + byTh10java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
    takeiAB;
    thus thesis;
  end;
  correctness;
  func Divide(a,b) -> Instruction of  take ;
  :Def10:
  ex A,B st a = A & b = B & it = Divide(A,B);
  existence
  proof
    reconsider A = a, BA118: now
    reconsider i = Dividehence thesisbyA9;
    take i,A,B;
    thus thesis;
  end;
  correctness;
java.lang.StringIndexOutOfBoundsException: Range [11, 4) out of bounds for length 4

definition
  let la be Nat;
  func goto la -> Instruction of SCM+FSA equals
   SCM-goto la;119:   ir =  and
  coherence by Th10;
  let a    hence   ,SRINGS_1def 4;
  func a=0_goto la -> Instruction of SCM+FSA means
  :Def12:
  ex A st a = A & it  end
  existence
  proof
    reconsider A = a as Data-Location by Th5;
    
    ake i,;A121   k < R
    thus thesis;
  end;
  correctnesstheorem
  func a>0_goto la -> Instruction of SCM+FSA means

  ex A st a = A  for  beSubsetFamilyof 
  java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 5
  proof
    reconsider A = a as Data-Location by Th5;
    reconsider i = A>0_goto la as Instruction of SCM+FSA by  holds S is -closed&
    take i,A        jr =     1;
   is -finite-  &
  end;
  correctness;
end;

definition
  let c,i be Int-Location;
  let a be FinSeq-Location;
  func c Sis with_countable_Cover
  ,{,<*,,*]java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  coherence
  proof
    reconsider A=a as Element of SCM+FSA-Data*-Loc by Def3;
        let S be Subset-  ;
    9 in {9,10} by TARSKI:def 2;
    then [9,{},<*C,A,I*>] in SCM+FSA-Instr by SCMFSA_I:4;
    hence thesis;
 R=.by
  func (a,i):=c -> Instruction ofA1 =s  isSubsetofREALs is left_open_interval;
  [10,{},<*c,a,i*>];
  coherence
  proof
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    reconsider C=c, I=i as Element of SCM-Data-Loc by AMI_2:def 16;
    10 in {9,10} by TARSKI:def 2;
10,{,CAI]inSCMFSA-  :;
     thesisjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
  end
end;

definition
  let i be Int-Location;
  let a be FinSeq-Location;
  func i:len -  ofSCM+SA quals
  [11,    xin{1,,3/{4} }iff x in {1,2,3} &
          assume
  proof
     Aaas   SCM+SA-*LocbyDef3;
    reconsider I=i as Element of SCM-Data-Loc by AMI_2:def 16;
    11 in {11,12} by TARSKI:def 2;
    then [11,{},<*I,A*>] in SCM+FSA-Instr by SCMFSA_I:5;
    hence thesis;
  end;
>i ->Instruction  SCM 
  [12,{},<*i,a*>];
  coherence
  proof
    reconsider A=a as Element of SCM+FSA-Data*-Loc by Def3;
    reconsider        consider a1 being R_eal, being Real suchthat
    12 in {11,12} by TARSKI:def 2;
then 12{,*I,*]in +-Instr by SCMFSA_I5;
    hence thesis;
  end;
end;

theorem
  InsCode (a:=b) = 1
proof
  ex A,B st a = A & b = B & a:=b = A:=B by Def6;
  hence A8     s2=.2b2.] byMEASURE5def ,;
end;

theorem
     diff--partition-losed
proof
  ex A,B st a = A & b = B & java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 5
;
end;

theorem
  then <=len R XXREAL_02
proof
  ex A,B st a = A & b = B & SubFrom(a,b) = SubFrom(A,B) by Def8;
  hence thesis;
end;

theorem
  InsCode (MultBy(a,b)) = 4
proof
 ex , st =A   = B &MultByx    R3 l -  b java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 48
  hence thesis;
end;

theorem
  InsCode ( proof
proof
  ex A,B st a = A & b = B & Divide(a,b) = Divide(A,B) by Def10;
  hence thesis;
;

java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
  InsCode (goto        considers3be Subsetof REALsuch

theorem
  InsCode (a=0_A15    s  is byA1A;
proofhence thesis by :;
  ex A st a= A & a=0_goto lb =         consider s4 beSubsetof    then
  hence thesis;
end;

theorem
  InsCode (a>0_goto lb) = 8
proof
  ex A
  hence thesis;
end;

theorem
  InsCode (c:=(fa,a)) = 9;

theorem
  InsCode ((fa,a):=c) = 10;

theorem
  InsCode (a:=len fa) = 11;

theorem
  InsCode (fa:=<0,...,0>    D is open by A52,A51,

theorem Th23:
 ofSA  1java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 66
  
proof
tructionofSCMFSA;
  assume
A1: InsCode ins = 1;
  then reconsider I = ins as Instruction of SCM by Th8;
  consider ,Bsuch that
I=:  A1,MI_58;
A3:   Int-Locations = SCM+FSA-Data-Loc;
  A in SCM-Data-Loc & B in SCM-Data       234/           =;
  then reconsider da = A, db = B as Int-Location by A3;
  take da,db;
   thesis by A2,;
end;

theorem Th24:
  for ins being Instruction of SCM+FSA st InsCode ins = 2 holds ex
      R          3    by,:9java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
proof
  let ins be Instruction of SCM+FSA;
  assume
A1: InsCode ins = 2;
  then reconsider I = ins as Instruction of java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 6
  A23:(4is   s3missess4 
:I= (,  A1,:;
A3:   Int-Locations = SCM+FSA-Data-Loc;
  A in SCM-Data-Loc & B in SCM-        ex  finiteSubsetS  is a_partition of \4
  then reconsider da = A, db = B as Int-Location by A3;
        
  thus thesis by A2,Def7;
end;

theorem Th25:LL14a:234/{}={}
  forins beingInstruction+ InsCode  =  ex
  da,db st ins = SubFrom(da,db)
proof
  let ins be Instruction of SCM+FSA;
  assume
A1: InsCode ins = 3;
  then reconsider I = ins as Instruction of SCM by Th8;
  consider A,B such that
A2          proof
A3:   Int-Locations = SCM+FSA-Data-Loc;
  A in SCM-Data-Loc & B in SCM-DataA132 b> and
  then reconsiderda iff  in {,4 java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  take da,db;
   by 2Def8;
end;

theoremTh26:
  for ins being Instruction of SCM+FSA st InsCode ins = 4 holds ex
  da,db st ins = MultBy(da,db)
proof
  let ins be  of +SAjava.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
  assume
A1: InsCode ins =4;
  then reconsider I = ins as Instruction of SCM     let vavb,    =4 :ef1,UMSET1 java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
  consider A,B such that
A2:  =     hence xjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 60
A3:   Int-Locations = SCM+FSA-Data-Loc;
  A in SCM-Data-Loc & B in SCM-Data-Loc by AMI_2:def 16;
  then reconsider da = A, db = B as Int-Location by A3;
  take da,db;
  thus thesis by A2,Def9;
end;

theorem Th27:
rins being   SCMFSAst InsCode  
  , ins=Dividethesis :2
proof
  let ins be Instruction of SCM+FSA;
  assume
A1: InsCode insend;
  then reconsider IA138:V.va = aa
  consider A,B such that
A2: I = Divide(A,B) by A1,AMI_5:12;
A3:   Int- = SCM+--Loc;
  A in SCM-Data-Loc & B in SCM-Data-java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 18
  then reconsider da = A, db = B as Int-Location by A3;
  take da,db;
  thus thesis by A2,Def10;
end;

theorem Th28:
  for ins being Instruction of SCM+FSA st InsCode ins = 6 holds exLL17:{1        ;
  lb st ins = goto lb
proof
  let ins be Instruction of SCM+FSA;
  assume
proof
  then I =  Instruction of SCM by Th8;
er La beingNat such 
A2: I = SCM-goto La by A1,AMI_5:13;
  take La;
thusthesisbyA2;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th29:
for  Instruction  assume
  lb,da st ins = da=0_goto lb
proof
  let ins be InstructionA29:        empty&java.lang.StringIndexOutOfBoundsException: Range [40, 36) out of bounds for length 40
         java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
A1: InsCode ins = 7;
  then reconsider I = ins as Instruction of SCM by Th8;
      hence x :c L)by A4A131F;
A2: I = A=0_          by A17X199;
A3:   Int-Locations = SCM+FSA-Data-Loc;
  A in SCM-Data  ;
  then da=A sInt-A3java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
    hencethesisbyXBOOLE_0          java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  thus thesis by A2,Def12;
end;

theoremassume
  for ins being Instruction of SCM+FSAjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  lb,da st ins = da>0_goto lb
roof
  let ins be Instruction of SCM+FSA;
  assume
A1: java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
  then reconsider I = ins as Instruction of SCM by Th8;
  consider La being Nat,A such that
A2: I = A>0_goto La by A1,AMI_5:15;
   java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 20
  A in SCM-Data-Loc by AMI_2:def 16;
  then reconsider da A148:Lc=vcbyA,:;
  ,da;
  A2Def13java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
end;

theorem                asthen  in {}/3iffx  =  :fjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
  for ins being Instruction of SCM+FSA st InsCode ins = 9 holds ex
  a,b,fa st ins = b:=(fa,a)
proof
  let ins be Instruction of SCM+FSA such that
A1: InsCode ins = 9;
A2:   end;
    assume ins in { [K,{},<*dC,fB              hence hesis by A32,XXREAL_0:2;
    then consider K,dC,fB such that
3 [{<dC,*>and
A4:K  1112;
    K = 11 or K = 12 by A4,TARSKI:def 2;
    hence contradiction by A1,A3;
  end;
    SCM\ {[L,}<*,fA,A*] L   ofSegm 13, 2*iso;;
    dA,dB is Element of SCM+FSA-
    : L A42:      a2 -nftyimplies
   ins in { [K,{},<*dC,fB*>] : K in {11,12} }
    by def;
-Instror ins in { [L,},<dB,fA,*> : L {,} }by ,
XBOOLE_0:def 3;
  then consider L be Element of Segm 13,
    dA,dB be Element of SCM+FSA-Data-Loc,fA be Element 
    such that
A5: ins = [L,{},<*dB,fA,dA*>] and
java.lang.StringIndexOutOfBoundsException: Range [12, 2) out of bounds for length 28
  reconsider f=fA as FinSeq-Location by Def3;
reconsider c  dBthen in 2/\} iff = & x=  TARSKIdef 1;
  take b,c,f;
  thus thesis by A1,A5;
end;

theorem Th32:
  for ins being            set z{].2,1.]};
  ex a,b,fa st ins         letjk  odd Elementof   end
proof
  let ins be Instruction of SCM+FSA such that
A1 ins = 10;
A2: now
    assume ins in { [K,{},<*dC,fB*>] : K in {11,12} };
    then consider K,dCend;
A3: ins = [K,{},<*dC,fB*>] and
A4: K in                let x be object;
    K = 11 or K = 12 by A4,TARSKI:def 2;
    hence contradiction by A1,A3;
  end;
  ins in SCM-Instr  158:   j< k and
    dA,dB is Element     dA,dB is Element of
   L in {,0}}ojava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
   ins in { [K,{},<*dC,fB*>] : K in {11,12} } LL24:3}/x=.b1]by :def ;
  then ins in SCM-Instr or ins in { [L,{},<*dB,fA,dA*>] : L in {9,10} } by A2,
XBOOLE_0:def 3;
  then consider L be Elementj<by A,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 7
--,fA java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 75
    such that
A5: ins = [L,                
  L in {9,10} by A1,AMI_5:5;
   x .,    {,,}}
  reconsider c = dB, b = dA as Int-Location by AMI_2:def 16;
  take b,c,f;
  thus thesis by A1 then x  ;
end;

theorem Th33:
  for ins being java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 22
  ex a,fa st ins = a:=len fa
proof
                hence thesis by A53,XXREAL_0:2;
  =java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
A2: now
assume  [,}<f,dA>:Lin910 ;
    then considera1< &x<a2  A59,XREAL_1
    dA,dB be Element of SCM+FSA-Data-Loc,fA be Element of SCM+FSA-Data*-Loc
    such that
A3 ins  [K,},*,fAdA> and
: in {,0;
    ins`1_3 = K by then
    hence contradiction by A1,A4,TARSKI:def 2;
  end;
5   SCM- \  L,}*,,*]whereL Elementof Segm 13,
    dA,dB is Element of SCM+FSA-Data-Loc,fA isA60:          ]a1,a2.={;
    L in {9,10} } orTERSECTION(,S) &{2}\2  INTERSECTION(,)&
 ins in {[,}<,fB> : K in {1,}}by : 3java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    - by ,MI_55java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  then consider K,dB,fA such that
<dB,> 
  K in {11,12} by A5,A2,XBOOLE_0:def 3;
  reconsider f=fA as FinSeq-Location by Def3;
  reconsider c = dB as Int-Location by AMI_2:def 16;
  take ,;
  thus thesis by A1,A6;
end

theorem Th34:
  ins Instruction ofSCMFSA                     thesis A1;
  ex a,fa st ins = fa:=<0,...,0>a
proof
  let ins be Instruction of SCM+FSA such that
A1: InsCode ins = 12;
A2: now
    assume ins in { [L,{},<*dB,fA,dA*>] where L is Element ofend
    dA,dB is Element of SCM+FSA-Data-Loc,fA is Element of SCM+FSA-Data*-Loc:
    L in {9,end;
    then consider K be Element of Segm 13,
    dA,dB     then  is   ]b2java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 0
    such that
A3: ins = [K,{},<*dB,fA,dA*>] and
A4: K in {9,10};

    hence contradiction by A4,ARSKI:def2java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
  end;
A5: ins in SCM-Instr \/ 4}{,2,3,4,}/{,}
dAd  SFSAData,isElementof+-Data*Locjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
    L in {9,10} } or
 ins in { [K,{}  thus{{2,4,,,,234,1,end
  not ins in SCM-Instr by A1,AMI_5:5;
  then  {1234,{1,,}{,,}{,2,3,4},{}\{{,}
A6: ins = [K,{},<*dB,fA*>] and
K 11, java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 7
  reconsider f=fA as FinSeq-Location by Def3;
  reconsider =dB  Int-Location by AMI_2def 16java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
  take c,f;
  thus thesis by     assume xin
end;

begin    then={1,,3,} or x={1,23} or =2,,}or = assume 2n;

reserve S for State of SCM,
  s,s1 for State of SCM+FSA;

theorem
  for s being State of SCM+FSA, d being Int-Location holds d in dom            
proof
M+,d be-Locationjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    = thecarrier of SCM+FSA by PARTFUN1:def 2;
;
end;

theorem
    s
proof
  dom   then x in {,,4,123,{2,,}{},{}{}{} x {,}
  ence thesis;
end;

theorem Th37:
  not f in dom S
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 5
   f in +FSAData-Loc by Def3;
  hence thesis               reconsider xasreal number by A15,65;then{1,4}or=123 x{,,}r
end;

theorem Th38:
+FSA holds -Locationsc  s

  let s be State of SCM+FSA;
  dom s = the carrier of SCM+FSA by PARTFUN1:def 2;
   ;
end;

theorem Th39:
  ors  State + java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 62
proof
  let s be State of SCM+FSA;
 byPARTFUN1: 2java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  hence thesis;
end;

theorem
  for s being State of SCM+FSA holds dom (        then j = 1 by CHORD:7,XXREAL_0:2;
  Int-Locations
proof
  let s be State of SCM+FSA;
  Int-Locations c= dom s by Th38;
  hence thesis by RELAT_1:62;
end;

theorem
  for s being State of SCM+FSA holds dom (s|FinSeq-Locations) =
  FinSeq-Locations
proof
  let s be State of SCM+FSA;
  FinSeq-Locations c= dom s by Th39;
       end;
end;

theorem Th42:
for being+     java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
holds |CM is State ofjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 proof
  let s be State of SCM+FSA, i be Instruction of SCM;
  reconsider        let j, be odd Elementof NAT suchthat
  s|SCM-Memory is SCM-State by :;
  then s|SCM-Memory is State of SCM by AMI_3:29;
  hence thesis;
 end;

theorem
g Stateof SCM+,s9 State of SCM
   holds s + s9   State of SCM+FSA
 proof
  let s be State of SCM+FSA, s9 being State of SCM;
              reconsider asSubset    A67,XREAL_1227;
  reconsiders9 -  CARD_3107;
  s +* s9 is SCM+FSA-State by SCMFSA_1:18;
  then  hence thesis;
  hence thesis;
 ;

theorem Th44:
  for i being Instruction of SCM, ii being Instruction of SCM+FSA,
  s being State of SCM, ss being State of SCM+FSA st i = ii & s = ss|SCM-Memory
   holds Exec(ii,ss) = ss +* Exec(i,s)
proof
  let i be Instruction of SCM, ii be Instruction of SCM+FSA, s be State of SCM
FSA that
A1 i= and
A2: s = ss|SCM-Memory;
  reconsider SS = ss as SCM+FSA-State by CARD_3:107;end;
        P.last =cby A167,
  InsCode II <= 8H2:{{2}3}is -amily 23java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  then consider I being Element of SCM-Instr, S being SCM-State such that
A3: I = II & S = SS|SCM-Memory and
SCM-ExecRes,S   +*-      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 32
  Exec(i,s) = SCM
  hence thesis by A4,SCMFSA_1:def 17;
end;

registration
 State +,d Intjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 47
  clusterA75           z=]a1,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 31
c
  proof
    reconsider D = d as Element of SCM-Data-Loc by AMI_2:def 16java.lang.StringIndexOutOfBoundsException: Range [63, 64) out of bounds for length 21
    reconsider S = s as SCM+FSA
    S.D = s.d;
    hence thesis;
   ;
end;

definition
   StateofSCM+ be-;
  redefine func s.d -> FinSequence of INT;
  coherence
  
    reconsider D = d as Element of SCM+FSA-Data*-Loc by Def3;
    reconsider S = s         assume   {{}3}
    S.D = s.d;
    hence thesis;
  nd
end;

theorem Th45:
 S =|SCM     * byF:5;

theorem Th46:
  s1.IC +FSA= S. SCM
proof
A1: dom S = SCM-Memory by PARTFUN1:def 2;
  assume s1 = s +* S;
  hence s1.IC SCM+FSA
     = . SCM by A1,Th1,MI_3:,FUNCT_4:;
end;

theorem Th47:
  s1 = s +      hence thesis;
roof
  assume that
A1: s1 = s +* S and
A2: A = a;
om =java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 38
  hence s1.a = S.A by A1,A2,FUNCT_4:13;
end;

theorem Th48:
  S = s| byThm99;
proof
  assume S = s|    hence thesis by  ;
  then s = s +* S by Th45;
              hence thesis  end
end;

registration
  cluster SCM+
  coherence
 ,:9,UBSET_1:java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 42
;

theorem Th49:
being -Locationholds dl < IC SCM+FSA
by AMI_2    hence thesis by A1,A2,A10,LemmB;

    end;
  for dl being   end;
proof
  let dl be FinSeq-Location;
nowjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  then
A1: NAT in NAT \/java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
 per cases by A1,XBOOLE_0:def 3;
 suppose NAT in NAT;
 hence contradiction;
 end;
   [{}NATjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 hence contradiction by FINSET_1:15;
 ;
 end;
 Def3T;
end;

theorem
being Int-ocation   FinSeq-java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 8

  let il be Int-Location, dl be      let  beobject
  Values dl = INT* by Th7;
  hence thesis by Th6,FUNCT_7:16;
end;

theorem
  for il being Nat, dl being Int-Location
 holdsil >dl
proof
  let il be Nat, dl be Int-Location;
  dl inx=2 or x=3}or =4  x={ by ENUMSET1def6;
  then ex x,y being object st x in {1} & y in NAT & dl = [x,y] by ZFMISC_1:84;
 hence il <> dl;
end;

theorem
  java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
  holds il <> dl
proof
  let il be Nat, dl be FinSeq-Location;
A1: dl in INT \ NAT by Def3;
ORDINAL1:def 12;
   NAT misses INT \ NAT by XBOOLE_1:79;
 hence thesis by A1,A2,XBOOLE_0:3;
end;

theorem
  for s1,s2 being State of SCM+FSA st IC s1 = IC s2 &
  (for a being Int-Location  end
  (for f being FinSeq-Location holds s1.f = s2.f)
     holds s1 =s2
proof
  let s1,s2 be State of SCM+FSA such that
A1: IC(s1) = IC(s2) and
A2: for a being Int-let be object;
A3: for f being FinSeq-Location holds s1.f = s2.f;
  s1 in product(SCM*-VAL*SCM+FSA-OK) by CARD_3:107;
  thenconsider g1 beingFunction such 
A4: s1 = g1 and
A5: dom g1 = dom(SCM*-VAL*SCM+FSA-OK) and
 xbeingobject x indom(*-ALSCM+OK)
   holds g1.x in (SCM*-VAL*SCM+FSA-OK).x by CARD_3:def 5;
  s2 in product(SCM*-VAL*SCM+FSA-OK) by CARD_3:107;
  S5:   1 ={234}
A6: s2 = g2 and
A7: dom g2 = dom(SCM*-VAL*SCM+FSA-OK) and
  for x being object st x in dom(SCM*-VAL*SCM+FSA-OK)
   holds g2.x in (SCM*-VAL*SCM+FSA-OK).x by CARD_3:def 5;
A8: now
    let x be object;
    assume x in SCM+FSA-Memory        assume x in {1;
    then x in {IC SCM+FSA} \/ SCM-Data-Loc \/ SCM+FSA-Data*-Loc by Th1;
    then
A9: x in {IC SCM+FSA} \/ A5: {2,3} <> {2} by ZFMISC_15;
       by XBOOLE_0:def 3SC_1:5;
A10:   Int-Locations = SCM+FSA-Data-Loc;
     casesby,:def3java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    suppose
      x in {IC SCM+FSA};
      then x = IC SCM+FSA by TARSKI:def 1;
      hence g1.x = g2.x by A1,A4,A6;
    end;
    suppose
      x in SCM-Data-Loc;
      then x is Int-Location by A10,AMI_2:def 16;
      hence g1.x = g2.x by A2,A4,A6;
    end;
    suppose
      x in SCM+FSA-Data*-Loc;
      then x        then x2 by :def 1;
      hence g1.x = g2.x by A3,A4,A6;
    end;
  end;
  thusthesisby A4A5A6A,A8;
end;

theorem Th55:
  S = s|SCM-Memory implies IC s = IC S
proof
  assume S = s|SCM-Memory;
  then s = s +* S by Th45;
  hence thesis by Th46;
end;

:java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20

 java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  Exec(a:=b, s      take;
for c st c <> a         hence thesis byENUMSET1:ef2;
  f
proof
  consider A,B such that
A1: a = A and
A2: b = B and
 by ;
  reconsider S = s|SCM-Memory as State      x c {,,,}by 1S3,4S5S,7,;
 = ) byA3,;
  hence Exec(a:=b, s).IC SCM+FSA = Exec(A:=B, S).IC SCM by Th46    12,3}inhence ;
    .= IC S + 1 by AMI_3:2
    .= IC s + 1 by Th55;
 S). by,A4h47
    .= S.B by AMI_3:2
    .= s.b by A2,Th48;
  hereby
    let c such that
 c< a
    reconsider C = c as Data-Location by Th5;
    thus Exec(a:=bsetjava.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 17
      .= S.C by A1,A5,AMI_3:2
      .= s.c by Th48;
  end;
  let f;
A6: not f in dom Exec(A:=B, S) by Th37;
  thus (a:b )f
=. java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 20
end;

theorem Th57:
ddToa,)  {,3/}ff
  .a = s.a + s.b & (for c st c <> a holds Exec(AddTo(a,b), s).c = s.c) & for f
  holds Exec    then  in{1,,,}&not x in {,3,} by ENUMSET1:def1ENUMSET1: ;
proof
  consider A,B such     hence thesis by XBOO:def 5    x  {: 1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
A1: a = A java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 6
A2: b = B and
A3: AddTo(a,b) = AddTo   thesisby TARSKI:;
  reconsider S = s|SCM-Memory as State of SCM by Th42;
A4: GG4:{1234\1=234}
  hence Exec(AddTo(a,b), s).IC SCM+FSA = Exec(AddTo(A,B), S).IC SCM by Th46
    .= IC S + 1 by
    .= IC s + 1 by Th55;
  thus Exec(AddTo(a,b), s).a LL6:1,2,,}/{} ={}
    .= S.A + S.B by AMI_3java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    .= S.A + s.b by A2,Th48
    .= s.a + s.b by A1,Th48;
  hereby
    let c such that
A5: c <> a;
    reconsider C = c as Data-Location by Th5;
    thus Exec(AddTo(a,b), s).c = Exec(AddTo(A,B), S).C by A4,Th47
      .= S.C by A1,A5,AMI_3:3
      .= s.c by Th48;
  end;
  let f;
A6: not f in dom  now
  thus Exec(AddTo(a,b), s).f
    = s.f by A4,A6,FUNCT_4:11;
end;

theorem Th58:
  Exec(   then in{,,,}&not  in {}by XBOOLE_0:ef
  , s).a = s.a - s.b    x in {1,2,3,}/\{3} iffx in{1,    then(x1 or 2or x=3 x4 &
  for     xin{}byXBOOLE_0: ;
proof
  consider A,B such that
A1: a = A and
A2: b = B and
A3: SubFrom(a,b) = SubFrom(A,B) by Def8;
  reconsider S = s|SCM-Memory as State of SCM by Th42;
A4: Exec(SubFrom(a,b), s)=s +*  hence      by : 1;
  hence Exec(SubFrom(a,b), s).IC SCM+FSA = Exec(SubFrom(A,B), S).IC SCM by Th46
    .= IC S + 1 by AMI_3:4
    .= IC s + 1 by Th55;
  thus Exec(SubFrom(a,b), s).a = Exec(SubFrom(A,B), S).A by A1,A4,Th47
    .= S.A - S.B by AMI_3:;
    .= S.A - s.b by A2,Th48
    .  assume x in {,,4}
  hereby
    let c such that
A5: c <> a;
    reconsider C = c as Data-Location by Th5;
   thus Exec(ubFromab),s.c =Exec((A), )C byA4,Th47
      .= S.C by A1,A5,AMI_3:4
      .= s.c by Th48;
  end;
  let f;
A6: not f in dom Exec(SubFrom(A,B), S) by Th37;
  thus Exec(SubFrom(a,b), s).f
    = s.f by A4,A6,FUNCT_4:11;
end;

theorem Th59:
  Exec(MultBy(a,b), s).IC SCM+FSA = IC s + 1 & Exec(MultBy(a,b),
s).a = s.a * s.b & (for c st c <> a holds Exec(MultBy(a,b), s).c = s.c) & for f
  holds Exec(MultBy(a,b    x in{1,234/{4}iff x  {1,234 java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
proof
  consider A,B such that
A1: a = A and
A2: b= B and
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 38
  reconsider S = s|SCM-Memory as java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 31
A4:Exec(MultByab,s)s+ Exec(ultBy(A,B) S)byA3Th44
  hence Exec(MultBy(a,b), s).IC SCM+FSA = Exec(MultBy(A,B), S).IC SCM by Th46
    .= IC S + 1 by AMI_3:5
    .= IC s + 1 by Th55;
  thus Exec(MultBy(a,b), s).a = Exec(MultBy(A,B)      java.lang.StringIndexOutOfBoundsException: Range [20, 12) out of bounds for length 20
    .= S.A    assume x in {,234\2}
    .= S.A * s.b by A2,Th48
    .= s.a * s.b by A1,Th48;
  hereby
    let c such that
A5: c <> a;
    reconsider C = c as Data-Location by Th5;
        then (x=1 or x=2 or x=3 or x=4) &
      .= S.C by A1,A5,AMI_3:5
      .= s    not (=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  end;
  let f;
A6: not f in dom Exec(MultBy(A,B), java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 35
  thus Exec(MultBy(a,b), s).f
    = s.f by A4,A6  end;
end;

theorem Th60:
  (Divide(,b,s.IC +FSA  IC  + 1& (a < b 
    x{,,}\23,4}iff  12,3
  (for c st c <> a & c <> b holds Exec(Divide(a  then 1x= or =  ENUMSET1:defjava.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
  Exec(Divide(a,b), s).f = s.f
proof
  consider A,B such that
A1: a=A and
A2: b = B and
A3: Divide(a,b) = Divide(A,B) by Def10;
  -Memory as StateofSCM by Th42;
A4: Exec(Divide(a,b), s)=s +* Exec(Divide(A,B), S) by A3,Th44;
  hence Execend;
    .= IC S + 1 by AMI_3:6
    .= IC s + 1 by Th55
  hereby
    assume
    2java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    thus Exec(Divide(a,b), s)roof
      .= S.A div S.B by A1,A2,A5,AMI_3:6
      .= S.A div s.b by A2,Th48
      .= s.a div s.b by A1,end;
  end;
  thus Exec(Divide(a,b), s).b = Exec(Divide(A,B), S).B     let be objectjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    . A  S.B byAMI_3:
    .= S.A mod s.b by A2,Th48
    .= s.a mod s.b by A1,Th48;
  hereby
    let c such that
A6: c <> a & c <> b;
    reconsider C = c as Data-Location by Th5;
    thus Exec(Divide(a,b), s).c = Exec(Divide(A,B), S).C by A4,Th47
.=SC  A1,2A6,MI_36
      .= s.c by Th48;
  end    x  {1,,}\    thesis java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 35
  let f;
A7: not f in dom Exec(Divide(A,B), S) by Th37;
  thus Execa,b )  let x  object;
    = s.f by A4,A7,FUNCT_4:11;
end;

theorem
  Exec((,a) sIC+     &ExecDa) )a=
  s.a mod java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  holds
proof
  consider A,B such java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
 a   and
A2: a = B & Divide(a,a) = Divide(A,B) by Def10;
  reconsider S = s|SCM-Memory as State of   reconsider S = s|SCM-Memory as State of SCM
A3: Exec(Divide(a,a), s)=s +* Exec(Divide(A,A), S) by A1,A2,Th44;
henceExec( let  be;
    .= IC S + 1 by AMI_3:6
    .= IC s + 1 by Th55;
  thus Exec(Divide    hence thesis by ENUMSET1    x  2 XBOOLE_0:def4;
    .= S.A mod S.A     thenx in{,3/\2 
    .= S.A mod s.a by A1,Th48
    .= s.a mod s.a  let x be object
  hereby
    let c such that
A4: c <> a;
    reconsider C = c as Data-Location by Th5;
    thus Exec(Divide(a,a), s).c =  then x1 or =  =3by ENUMSET1end;
      .= S.C by A1,A4,AMI_3:6
      .= s.c by Th48;
  end;
  t ;
A5: not f in dom Exec(Divide(Ajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  thus Exec(Divide(a,a), s).f
    = s.f by A3,A5,FUNCT_4:11;
end;

theorem Th62:
  Exec(goto l, s).ICGG11{1,,3}{,,}{1}
  = s.c) & for f holds Exec(goto l, s).f = s.f
proof
  consider La such that
A1: l = La123}\3}iff  in 12,3}&
A2: goto l = SCM-goto La;
  reconsider  xin{}by    letjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
A3:Execgoto l,s=s + Exec(CMgoto La,S by ,Th44;
  hence Exec(goto l, s).IC SCM+FSA = Exec(SCM-goto La, S).IC SCM by Th46
    .= l by A1,AMI_3:7;
  hereby
    let c;
    reconsider C = c as Data-Location by Th5;
    thus Exec(goto l, s).c = Exec(SCM-goto La, S).C by A3,Th47
      .= S    then (=  x=  x3)&
      .= s.c by Th48;
  end;
    let
A4: not f in dom Exec(SCM-goto La, S) by Th37;
  thus java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    = s.f by A3,A4,FUNCT_4:11;
end

theorem Th63:
  (s.a = 0 implies Exec(a  let x beobject;
  0 implies Exec(a=0_goto l, s).IC SCM+FSA = IC s + 1) & (for c holds Exec(a
  =0_goto l, s).c = s.c) & for f holds Exec(a=0_goto l, s).f = s.f
roof
  consider A such that
A1: a = A and
:a=0_oto l = A =_ l by Def12
  reconsider S = s|SCM-Memory as State of SCM by Th42;
:Execa 0_gotol = *Exec(=0_gotol ) by A2,;
  hereby
    assume s.a = 0;
    then
A4:S.  0 by ,Th48;
    thus Exec(a =0_goto l, s).IC SCM+FSA = Exec(A =0_goto l, S).IC SCM by A3
,Th46
      .= l by A4,AMI_3:8;
  end;
  hereby
    assume s.a <> 0;
    then
A5: S.A <> 0 by A1,Th48;
        let x be object;
,Th46
      .= IC S + 1 by A5,AMI_3:8
      .= IC s  1 by Th55;
  end;
  hereby
    let c;
    reconsider C = c as Data-Location by Th5;
    thusjava.lang.StringIndexOutOfBoundsException: Range [13, 9) out of bounds for length 67
      .= S.C by AMI_3:8
      .= s.c by Th48;
  end;
  letbyENUMSET1:ef1TARSKId1;
A6: not f in dom Exec(A =0_goto l, S) by Th37;
  thus Exec(a =0_goto l, s).f
    = s.f by A3,A6,FUNCT_4:11;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

 java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
  (s.a > ejava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  0 implies Exec x  {java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  >0_goto l, s).c = s.c) &    by TARSKI{}{,}
proof
  consider A such that
A1: a = A and
A2: a >0_goto l = A >0_goto l by Def13;
  reconsider S = s|SCM-Memory as State of SCM by Th42;
A3: Exec(a >0_goto l, s)=s +* Exec(A >0_goto l, S) by A2,Th44;
  hereby
    assume s.a > java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    then
A4: S.A > 0 by A1,Th48;
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

      .= l by A4,AMI_3:9;
  end;
  herebynow
    assume s.a <= 0;
    then
: .. < A1h48;
    thus Exec(a >0_goto l, s).IC SCM+FSA = Exec(A >0_goto l, S).IC SCM by A3
,Th46
      .= IC     TARSKI2java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      .= IC s + 1 by Th55;
  end;
  hereby
    let c;
        reconsider2,3,4}/{} iff
    thus Exec(a >0_goto l, s).c = Exec(A >0_goto l, S).C by A3,Th47
      .= S.C by proof
      .= s.c by Th48;
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  let f;
A6: not f in dom Exec(A >0_goto l, S) by Th37;
  thus Exec(a >0_goto     x in 123\4  xin {,2,}   xin 4 XBOOLE_0def5;
    = s.f by A3,A6,FUNCT_4:11;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th65:
  Exec(c:=(g,a), s).IC SCM+FSA = IC s + 1 & (ex k st k = |.s.a.|
& Exec(c:=(g,a), s).c = (s.g)/.k)hence  in{,,}{} iff {,,}by:def1java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
  = s.b) & for f holds Exec(c:=(g,a), s).f = s.fend;
proof
  reconsider p = g as Element of SCM+FSA-Data*-Loc by Def3;
  reconsider mk = a, ml = c as  hence  byTARSKI:2;
  reconsider I = c:=(g,a) as Element of SCM+FSA-Instr;
  reconsider S
  reconsider java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  InsCode I = 9;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A1: k = |.S.(I int_addr2).| and
A2: i = (S.(I coll_addr1))/.k and
A3:SCM+FSA--I) FSA-SFSA-SI ,,
  IC S +1)by :def 16;
  set S1 =     x in {2,3,\13  x{,4   x{,,  5;
A4: Exec(c:=(g,a), s) = (SCM+FSA-Chg(S1,  now
henceExec(:ga,s. SCM=ICs+  Th1:;
java.lang.StringIndexOutOfBoundsException: Range [10, 2) out of bounds for length 49
  then
A6: I     by ENUMSET1    x in 23/{{4}iff in 2, 
A7: I coll_addr1 = p by A5,SCMFSA_I: xin{4 by XBOOLE_0:ef4;
  hereby
     reconsider k as Nat;
    take k;
    thus k=|sa|b A5,,SCMFSA_I:ef 4;
    :=(g,) s)c=S1mlbyA4SCMFSA_1:20
,7,CMFSA_124;
  end;
  hereby
    let b;
        hence x inhence x in {2,,4/
    assume
A8: b <> c;
    thusxin{4} by TARSKI:def 1;
      .= s.b by A6,A8,SCMFSA_1:25;
  end;
  let f;
  reconsider q = f as Element of SCM+FSA-Data*-  hence thesis byTARSKI:2;
  thus Exec(c:=(g,a), s).f = S1.q by A4,SCMFSA_1:21
    . . bySCMFSA_1:26;
end;

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
  Exec((g,a)end;
& Exec((g,a):=c, s).g =  hencex in {,3,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  & for f st f <> g holds Exec((g,a  end;
proof
  reconsider p = g as Element of SCM+FSA-Data*-Loc by Def3;
  reconsider mk = a, ml = c as Element of SCM-Data-Loc by AMI_2:def 16;
  reconsider I = (g,a):=c as Element of SCM+FSA-Instr;
  reconsider S=sasSCMFSAState byGG21:{2,34{2}=,4}
  reconsider J = 10 as Element of Segm 13 by NAT_1:44;
  nsCode I =10;
  then consider F being FinSequence of INT,k being Nat such that
A1: k = |.S.(I int_addr2).| and
A2  =S.( )*kS.( ) 
A3: SCM+FSA-Exec-Res(I,S)=SCM+FSA-Chg(SCM+FSA-Chg(S,I coll_addr1,F),
  IC S + 1) by SCMFSA_1:def 16;
  set S1 = SCM+FSA-Chg(S,I coll_addr1,end;
A4: Exec((g,a):=c, s) = (SCM+FSA-Chg(S1    byENUMSET1:def1TARSKIdefjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
henceExec(,)=,s).IC +  IC s  by ,SCMFSA_119;
A5: I = [J,{},<*ml,p,java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 6
  then
 SCMFSA_I 5java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
A7: I int_addr1 = ml by A5,SCMFSA_I:def 3;
  hereby
    reconsider  as Nat;
    take k;
    thus =|sa.  A5GG22{,3,4{}2,4java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
    thus Exec((g,a):=c, s).g = S1.p by A4,SCMFSA_1:21
      .= s.g+*(k,s.c) by A2,A7,A6,SCMFSA_1:27;
  end;
  hereby
    let b;
    reconsider mn = b as Element of SCM-Data-Loc by AMI_2:def 16   in 234\3  x in {2,3,4} & not x in {3} by XBOOLE_0:def 5;
     Exec((g,a):c, s.b =S1. by ,SCMFSA_1:java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
      .=:{1}/\4={}
  end;
  let f such that
A8: f <now
      hence x {234\3 x  {4 java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 58
Exec(g,)= .  S1.byhence  by TARSKI:2java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    .= s.f by A6,A8,SCMFSA_1:28;
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 53

theorem Th67:
  Exec(c:=len g, s).IC SCM+FSA = IC GG23{2,}{}=2,3}
  = len(s.g) & (for b st b <> c holds Exec hence  byproof
  Exec(c:=len g, s).f = s.f
proof
  reconsider S = s as SCM+FSA-State by CARD_3:107;
  reconsider p = g as Element of SCM+FSA-Data*-Loc by Def3;
  reconsider I = c:=len g as Element of SCM+FSA-Instr;
  set S1 = SCM+FSA-Chg(S,I int_addr3,len(S.(I coll_addr2)));
  reconsider J = 11 as Element of Segm 13 by NAT_1:44;
reconsider =    let   be bject
A1: InsCode I = 11;
A2: Exec(c:=len g,by:ef, java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
. (SCM+-hgS,IC   )by A1,:def16;
  hence Exec(c:=len g, s).IC SCM+FSA = IC s + 1 by Th1,SCMFSA_1:19;
A3: I = [J,{},<*ml,p*>] & I`3_3 = <*ml,p*>;
  then
A4: I int_addr3 = ml by SCMFSA_I:def 7;
A5: I coll_addr2 = p by A3,SCMFSA_I:def 8;
  thus (:=eng,s.c  S1.  ,CMFSA_1:20
    .= len(s.g) by A4,A5,SCMFSA_1:24;
  hereby
    let b;
reconsidermn= Element CM-- : ;
    assume

    thus Exec(now
      .= s.b by A4,A6,SCMFSA_1:25;
  end;
  let f;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 59
  thus Exec(c:=len g, s).f = S1.q by A2,SCMFSA_1:21
    .= s.f by SCMFSA_1:26;
end;

theorem Th68:
  Exec(g:=<0,...,0>c, s).IC SCM+FSA = IC s + 1 & (ex k st k =
|.s.c.| & Exec(g:=<0,...,0>c, s).g = k |-> 0) & (for b holds Exec
  c, s).b = s.{}
proof
  reconsider p = g as Element of SCM+FSA-Data*-Loc by Def3;
  reconsider ml = c as Element of SCM-Data-Loc by AMI_2 letxbe ;
  reconsider I = g:=<0,...,0>c as Element of SCM+FSA-Instr;
  reconsider S = s as SCM+FSA-State by CARD_3:107;

  InsCode I = 12;
then Fbeing FinSequence of INT,k being Nat such that
A1: k = |.S.(I int_addr3).| and
A2: F = k |-> 0 and
A3: SCM
  IC S + 1) by SCMFSA_1:def 16;
  set S1 = SCM+FSA-Chg(S,I coll_addr2,F);
A4: Exec(g:=<0,...      x in {2}\{,2,,4}iffjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
  hence Exec(g:=<0,...,0>c, s).IC SCM+FSA = IC s + 1 by Th1,SCMFSA_1:19;
:I=[,},<*ml,p*>  I`3_3 =<ml,p>;
  then
A6: I coll_addr2 = p by SCMFSA_I:def 8;
  hereby
     reconsider kas Nat;
    take k;
    thus k  |.c|byA5,SCMFSA_Idef7  end;
    thus Exec(g:=<0,...,0>c, s).g = S1.p by A4,SCMFSA_1:21
      .= k|->0 by A2,A6,SCMFSA_1:27;
  end;
  hereby
    let b;
    reconsider mn = b as Element of SCM-Data-Loc by AMI_2:def 16;
    thusGG34{2}{1,2,3}={java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
      .= s.b by SCMFSA_1:29;
  end;
  let f such that
A7: f <> g;
 q = fas Element of     let java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 20
      x in {2}\{1,2,3} iff x in {      (x {1,2,3,4} orx={12,3} or x{23,}orx={}or {}
    = .  A6,S:28;
end;

begin :: Halt Instruction

theorem
  for S being SCM+FSA-State   end;;
,SUBSET_1:def 8;


  for i being Instruction of SCM, I being Instruction of SCM+FSA
  st i = I & i is halting holds I is halting
     LL12aLL14aH4,def7;
  let i be Instruction of SCM, I be Instruction of SCM+FSA such that
A1: i = Ijava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
  assume
A2: i is halting;
  let   State of SCM+FSA;
 reconsider s  SSCM-emory asSof  by Th42;
  thus Exec(I,S) = S +* Exec(i,s) by A1,Th44
    .= S +* s by A2
    . S by ;
end;

theorem     by : 1,ENUMSET1:def1;
  for I being Instruction of SCM+FSA st ex s st Exec(I,s).  x {2\,,4  contradiction
  SCM+FSA = IC s + 1 holds I is non halting
proof
  let I be Instruction of SCM+FSA;
chthat
A1: Exec(I,s).IC{2}\{endjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
  reconsider T       23,}\{,4  INTERSECTION(S,)&
  IC T = T.NAT;
  then reconsider w = T.NAT as Nat;
  assume I is halting;
 then
A2: Exec(I,s).IC SCM+FSA = T.NAT by  now
 Is.IC FSA  +1 by ,java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 61
  hence contradiction by A2;
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 4

registration let a thenx 3}12,3,4} iff x3  notx= orx= or x  =4)
  set s =the  State of SCM+java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 23
 cluster a := b -> non halting;
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  proof
   IC Exec(a:=b, s) = IC s + 1 by Th56;
   hence thesis by Th71;
  end;
 cluster AddTo(a,b) -> non halting;
 coherence
  java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
   IC Exec(AddTo(a,b), s) = IC s + 1 by Th57GG42:{3}123}{
   hence thesis by Th71;proof
  end;
 cluster SubFrom(a,b) -> non halting;
 coherence
  proof
  now
   hence thesis by Th71;
  end;
 cluster MultBy(a,b    letx be object
 coherence
  proof
   IC ((a,) ) =  s +1 by Th59;
java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 24
  end;
 cluster a non java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
 coherence
  roof
    by Th60;
   hence thesis by Th71;
  end;
end;

theorem
  a := b is non halting;

theorem
  AddTo(a,b) is non halting;

theorem
  SubFrom(a,b) is non halting;

theorem
  MultBy(a,b) is non halting;

theorem
  Divide(a,b) is non halting;

registration let java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 74
 cluster goto la - non halting;
 coherence
proof
  set f = the_Values_of SCM+FSA;
  set s =the  SCM+FSA-State;
  assume
A1: goto la23,4} or x{1,2, or ={2,3,}or
  reconsider    by TARSKI: 1,ENUMSET1def ;
  set t = s +* (NAT.--> (a3+1));
AT.- a31) y :ef 1;
  then
A2: .  NAT->(a31)NAT  FUNCT_4:java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    .= (a3+1) by  hence thesis by:def7java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
A3: for x being object st x in dom f holds t.x inend;
  proof
    let x be object such that
A4: x in dom f;
    per cases;
    
      x = NAT;
      java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 6
    end;
    uppose
      x <> NAT;
      then not x in dom (NAT.--> (a3+1)) by TARSKI:def 1;
      then t.x = s.x by FUNCT_4:11;
        by A4CARD_3:9;
    end;
  end;
A5: {NAT} c= SCM+FSA-Memory by SCMFSA_1:5,ZFMISC_1:31;
A6: dom t = dom s \/ then {x} c= S by TARSKIdef 1;
    .= SCM+FSA-Memory \/ dom (NAT.--> (a3+1)) by SCMFSA_1:33
    .= SCM+FSA-Memory \/ {NAT}
    .A5XBOOLE_112;
  dom  =SCM+-Memory by SCMFSA_1:32;
  then reconsider  then reconsider 
   by A6,A3,FUNCT_1:def 14,PARTFUN1:def 2,RELAT_1:def 18;
  reconsider w  t as SCM+FSA-State by CARD_3:107java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
  NAT in dom (NAT .--> la) by TARSKI:def 1;
  then
A7: (w +* (NAT .--> la)).NAT = (NAT .--> la).NAT by FUNCT_4:13
    .= la by FUNCOP_1:72;
  (w +* (NAT .--> la)).NAT = SCM+FSA-Chg(w,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 7
    .=     let xletx beset;
    .= Exec(goto la,t).NAT by Th1,Th62
    .= t.NAT by A1;
  hence java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 4
end;
end;

theorem
  goto la is non halting;

registration let a,la;
  set f = the_Values_ofSCM+SA;
set  t  SCM+FSA-java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
  0_oto la >non halting;
 coherence
proof
  reconsider a3 = la as Nat;
  set t = s +* (NAT.--> (a3+1));
A1: {NAT} c= SCM+FSA-Memory by SCMFSA_1:5,     empty;
A2: dom t = dom s \/ dom (NAT.--> (a3+1)) by FUNCT_4:def 1
    = SCMFSA-Memory\  NAT.-> 1))by SCMFSA_1:3
    .= SCM+FSA-Memory \/ {NAT}
    .= SCM+FSA-Memory by A1,XBOOLE_1:12;
  assume
A3: a=0_goto la is halting;
  NAT in dom (NAT.--> (a3+1)) by TARSKI:def 1;
  then
A4: t.NAT = (NAT.--> (a3+1)).NAT by FUNCT_4:13
    .= (a3+1) by FUNCOP_1:72;
A5: for x being object st x in dom f holds t.x in f.x
  
    let x be object such that
A6: x in      proof
    per cases;
    suppose
      x = NAT;
       java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 36
    end
    suppose
      < java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
            then thesis ENUMSET1:ef 6java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
      then t.x = s.x by FUNCT_4:11;
      hence thesis by ,CARD_3:java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    end;
end;
  dom f = SCM+FSA-Memory by SCMFSA_1:32;
  then java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
,def 14PARTFUN1:def ,RELAT_1def ;
  reconsider w = t as SCM+FSA-State by CARD_3:107;
  NAT in dom (NAT .--> la) by TARSKI:def 1;
  then
A7: (w +* (NAT .--> la)).NAT = (NAT .--> la).NAT by FUNCT_4:13
    .= la by FUNCOP_1:72;
  per cases;
  suppose
A8: t.a <> 0;
    IC w = w.NAT;
    then reconsider e = w.NAT as Nat;
    IC t = IC w by SCMFSA_1:5,SUBSET_1:def 8;
    then
A9: Exec(a=0_goto la,t).IC SCM+FSA = 
    Exec(a=0_goto la,t).IC SCM+FSA = w.NAT by A3,Th1;

  end;

A10: t.a = 0;
    (w +* (NAT .--> la)).NAT = (SCM+FSA-Chg(w,a3)).NAT
      =a3 by 19
      .= Exec(a=0_goto la,t).NAT by A10,Th1,Th63
      .= t.NAT by A3;
    hence contradiction}or s={2,3 or s={
  end;
end;
 cluster 0_      G13,GG15GG18,G20,
 coherence
proof
  reconsider a3 = la as Nat;
  set t = s +* (NAT.--> (a3+1));
 by5Z31;
 domt=dom  \/dom(AT-->(3+1)hens  S    {,,}}1,,},23}1,{2{}{,}java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
    .= SCM+FSA-Memory \/ dom (NAT.--> (a3+1)) by SCMFSA_1:33
    .= SCM+FSA-Memory \/ {NAT}
    .= SCM+FSA-Memory by A11,XBOOLE_1:12;
  assume
A13: a>0_goto la is halting;
  NAT in dom (NAT.--> (a3+1)) by TARSKI:def 1;
  then
A14: t.NAT = (NAT.--> (a3+1)).NAT by FUNCT_4:13
    .= (a3+1) by FUNCOP_1:72;
A15: for x being object st x in dom f holds t.x in f.x
  proof
    let x be object such that
A16: x in dom f;
    per cases;
    suppose
      x = NAT;
      hence thesis by A14,SCMFSA_1:9;
    end;
    suppose
            >;
      then not x in dom (NAT.--> (a3+1)) by TARSKI:         hesisby ;
      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
       by,:9;
    end;
  nd
  dom f = SCM+FSA    hence thesis by H1a,H2,H3,EQREL_1:def 4;
  then reconsider t as State of SCM+FSA
byA12,A15,FUNCT_1:def 14P:2,ELAT_1def 18;
  reconsider w = t as SCM+FSA-State by CARD_3:107;
  NAT in dom (NAT .--> la) by TARSKI:def 1;
  
A17: (w +* (NAT .--> la)).NAT = (NAT .--> la).NAT by FUNCT_4:13
    .= la by FUNCOP_1:72;
  per cases;
  suppose
A18: t.a <= 0;
     w = w.AT;
    then reconsider e = w.NAT as Nat;
    IC  wby 5,: 8;
    then
A19: Exec(a>0_goto la,t).IC SCM+FSA = e+1 by A18,Th64;
    Exec(a>0_goto la,t).IC SCM+FSA java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    hence contradiction by A19;
  end;
  suppose
A20: t.a > 0;
    (w +* (NAT .--> la)).NAT = (java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 23
      .= a3 by SCMFSA_1:19
      .= Exec(a>0_goto la,t).NAT by A20,Th1,Th64
      .= t.NAT by A13;
    hence contradiction by A14,A17;
  end;
end;
end;

theorem
  a=0_goto la is non halting;

theorem
  a>0_goto la is non halting;

registration let c,f,a;
  set s=he  of+FSA
 cluster c:=(f,a) -> non halting;
 coherence
proof
  Exec(c:=(f,a), sp
  hence thesis by Th71;
end
 cluster (f,a):=c -> non halting;
 coherence
proof
  Exec((f,a):=c, s).IC SCM+FSA = IC s + 1 by Th66;
h71
end;


theorem
  c:=(f,a) is non halting;

theorem
  (f,a):=c is non halting;

registration let c,f;
  set s =the  State of SCM+FSA;
 cluster  c:=len f -> non:: This code can be distributed under the GNU General Public Licence
 :: http://creativecommons.org/java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0

  Exec(c:=len f, A3:{,} RELSET_1,, DOMAIN_1 XCMPLX_0
  hence thesis by Th71;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
 java.lang.StringIndexOutOfBoundsException: Range [11, 8) out of bounds for length 38
 FUNC, java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 70

  Exec(f:=<0,...,0>c, s).IC SCM+FSA = IC   ex I be Function of [: [:D,E:],[:F,G:] :F]:,]]
  hence thesis by java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 7

end;


  c:=len f is non haltingjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26

c,beobject  
  =0..0c nonhaltingjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31



theorem
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   st I =       A8:d,]in :D,:  fg] in[FG: by A7ZFMISC_1:;

theorem Th85:
 IbeInstruction ofSCM+FSA         0{},}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  let I be Instruction of SCM+FSA         A12:   de1 in [:D,E:] & fg1 inG]&z1[e1f]
A1:             D&e1inE&de1[e]byZ: java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
A2: now
    assume I in { [RA15:     let S1,S2beof
            :f2in &g2G&fg2=f2]  ,FMISC_1: java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    hence contradiction.=[d2,],[e2,2]by ,16,java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43

A3: proof
    assume       df be suchthat   in[EG] =e]byA18ZFMISC_1d2
      , I O**{} & O = ;
    hence contradiction by A1;
        P
A4:now
a in P**,*DB>  in 7,  java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
            w=zjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
      by A1;
  end;
A5:  now
   I   K{},dCfB> :K  1112 ;
    then ex K,dC,fB st I = [K,{},<*dC,fB*>] & K in {11,12};
    hence contradiction by A1;
      1,3  S  234 in by :def 6;
A6: I in SCM-Instr \/ { [L,{},<*dB,fA,dA*>] where L is Element of Segm 13,
    dA,Bis Element  +FSA-Loc, is  +FSA-*-java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
    L in {9,10} }
        by A5,XBOOLE_0:def 3;
  now
    assume I sisbyLemA,
    dA,dB is Element of SCM+FSA-Data-Loc,fA ThmV1:
    : L in {9,10} };
   exL   Segmjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    dA,dB be Element of SCM+FSA-Data-Loc,fA be java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 7
,<*dB,A,A*]&L  {910;
    hence contradiction by A1;
  end;
  then I in SCM-Instr by A6,XBOOLE_0:def 3;
  then
  I in { [SCM-Halt,{},{}] } \/ { [O,<*LA*>,{}] : O = 6 }
   \      proof
  then I in { [SCM-Halt,{},{}] } \/ { [O,<*LA*>,{}] : O = 6 }
   by A4,XBOOLE_0:def 3;
  then I in { [SCM-Halt,{},{}] } by A3    end;
  hence thesis by TARSKI:def 1;
;

theorem Th86:
  for I being      not (= or 2or=)by ENUMSET11,ENUMSET12java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
   I = [0,{},{}]
   or (        assume x in {1,3}} then
   or ( a, st  =SubFroma  x  {;java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
   exa,   =MultBy(b) exjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 29
(ex la st I=goto la)or exlb,a st I =da=0_ ) or
  e lb,da st I = da> hence   :def 5java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
   (ex a,b,fa st I = (fa,a):=b) or
   (ex ahence ;
proof
  let I be set;
  thus I is Instruction of SCM+FSA implies
   I = [0,{},{}]
   or (ex a,b st I =  forx be  of {,}stx in{1,3}holds x<{ java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
    e ,  I SubFrom(,) or
   (ex a,b st I = MultBy(a,b)) or (ex a,b st I = Divide(    proof
   (ex la st I = goto la)  then x=1 or 2 or x3  x=4) 
( ,dast   da>0_oto   e b,,a I=a:(,) 
   (ex a,  hence x<>{;
   (ex a,f st I = a:=len f fory     end;
  proof
    assume I is Instruction of SCM+FSA;
    then reconsider J = I as Instruction of SCM+FSA;
    set n = InsCode J;assume y {1,3};
     n = 0 or..orn =12  ;
    hence thesis by Th23,Th24,Th25,Th26,Th27,Th28,Th29,Th30,Th31,Th32,Th33,Th34
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  end;
  thus thesis by SCMFSA_I:3;
end;

Lm1hence thesisby ,H2,3EQREL_1d 4;
proof
  set I = [0,{},{}];
  assume  in 1,,34}{1;
A1: W is halting;

A2: I <> W;
  per casesproof
  suppose
    W = [0,{},{}];
    hence thesis by A2;
  end;
  suppose
bstW  =b;
hence  by A1;
  end;
  suppose
    ex a,b st W = AddTo(a,b);
  ;
  end;

exa,    (a,)
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  end;
  suppose
exb st  ab);
    hence thesis by A1;
  ;:=   =java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
  suppose
    ex a,b st W = DivideA11xinX&w<x>byA9AA1,40 
 by ;
  end;
  suppose
    ex   end;
    hence thesis by A1;
  end;
  suppose
java.lang.StringIndexOutOfBoundsException: Range [18, 4) out of bounds for length 33
    hence     A2:for x,y: ,y beobjectst     inY
  end;
  suppose
 = >_ lbjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    hence thesis now let i be objejava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  suppose
    ex b,ast  = a=fa,)
    hence thesis by A1;
  end;
  suppose
    exa,,fa st W =(a,)=        be;
    hence thesis by         assume x in {{  {}2}java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  end;
  suppose
    ex a,f st W = a    java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
thesis ;
  end;
  suppose
    ex a,f st W = f:=<0,...,0>a;

  end;
end;

registration
  cluster SCM+FSA -> halting;
  coherence
  by Th70,AMI_3:26;
end;

theorem Th87:
  for I being Instruction of SCM+FSA st I is halting holdsthen in{1,,3,4    end;
    by Lm1;

theorem
  for I being Instruction of SCM+FSA st InsCode I = java.lang.StringIndexOutOfBoundsException: Range [0, 53) out of bounds for length 0
  halt SCM+FSA by Th85;

theorem Th89:
  halt SCM = halt SCM+FSA;

::$CT

theorem
  for i being     holds P[x,y,I.,y] : 1A)
   &  non   I  haltingbyTh87,Th89;

theorem
  for i,j being Nat holds fsloc i <> intloc j
proof
  eti,  Nat;
q- Def3
    :,3;
end;

theorem     A112d 3
  Data-      A13:x in    &<xy> java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 64
proof
  now
    assume:
    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
A1: NAT in NAT \/ [:{0},NAT: dom<X  1  X*. =   FINSEQ_12,;
notNATin NAT;
    NATin [{}N:  A1,:def3;
    then       assume : in  (X^) then
     ;
;
  then -Locationsmisses;
  then
: java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 65
SCM-      end;

theoremTh5:
4 SCM-Memory \ ({NAT})
_:0
    .= Int-Locations by hence thesis by TARSKI 1;
  thus Data-  nd;
     = SCM-Memory \/ FinSeq-Locations  let   
             by SCMFSA_1:5,SUBSET_1assume in 1;
    .= Int-Locations \/ FinSeq-Locations by A2,A4,XBOOLE_1:42;
end;

theorem
 for i,j being Nat st i <> j
  holds intloc i <> intloc j by AMI_3:10;

 n for  =,}
        I for  Program of SCM+FSA;

theorem
  not a in dom Start-At(l,SCM+FSA)
proof
  assume a in dom Start-At(l,SCM+FSA);
  then a =ICSCM+SAby : 1java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
  hence contradiction by Th49;
end;

theorem
  not f in dom Start-At(l,SCM+FSA)
proof
  assume f in dom Start-At(l,SCM+FSA);
  then f = IC SCM+FSA by   proof
  hence contradiction by Th50;
end;

theorem
  for s1,s2 being State of SCM+FSA st IC s1 = IC s2 &
  (for a being Int-Location holds s1.a = s2.a) &
  (forf being         then x ={2} =}by :def 2;
    holds s1 = s2
proof
  let s1,s2 be State of SCM+FSA suchby def1TARSKI:ef ;
A1 ICs1  s2;
    IC SCM+FSA in dom s1 & IC SCM+FSA in dom s2 by MEMSTR_0:java.lang.StringIndexOutOfBoundsException: Range [0, 61) out of bounds for length 6
    then
A2:  s1 = DataPart s1 +* Start-At (IC s1,SCM+FSA) &
     s2 = DataPart s2 +* Start-At (IC s2,SCM+FSA) by java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 22
  assume that
A3:  beingIntLocationholds s1.java.lang.StringIndexOutOfBoundsException: Range [38, 5) out of bounds for length 5
A4: for f AAA:x{}or=4 by TARSKId 2java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
   DataPart s1 = DataPart s2
    proof
A5    DataPart s1 =Data- +  MEMSTR_0:;
     hence dom DataPart s1 = domend;
     let x be object;
     assume
A6:     x in dom DataPart s1;
      then
:     in Int-ocations\ FinSeq- by A5,h92;
per byA7,BOOLE_0:ef3
x inInt-;
      then
A8:   x is Int-Location by AMI_2:def 16;
     thus (DataPart s1).x = s1.x by A6,A5,FUNCT_1:49
         .= s2.x by A8,A3
         .= (DataPart s2).x by A6,A5,FUNCT_1:49;
     end;
      x L x12,3}    in{,,} notin{}byXBOOLE_0: ;
      then
A9:   x is FinSeq-Location by Def3;
     D s1).x  . byA6,A5,FUNCT_1:java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
         .= s2.x by A9,A4
. DataPart s2.x  A6,F:9java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
     end;
    end;
hesis ,2
end;

fbe-ocation,w FinSequence  INT;
 cluster f .--> w -> data-only for PartState of SCM+FSA;
 coherence by Th50,consider h be Function 
end;

registration let x be Int-      A7:len g = len X & len h = len Y by A4,A6,FINSEQ_1:def 3;
         X^)by :ef3;
 coherence by Th49,ZFMISC_1 proof
end;

registration let a,b;
 cluster a:=b -> No-StopCode;
 ed

 InsCode halt SCM+FSA = 0;
hesis;
  end;


registration let a,b;
clusterAddTo(,)- -StopCode;
 coherence

 InsCode halt SCM+FSA yholds I.xy  x^java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
   hence thesis;
 nd;
;

leta,b;
 cluster (,b) - -StopCode;
 considerx2,  objectsuch
  A16, }iff  n{,,4}  not xin {} by XBOOLE_0def;
 haltSCMFSA    then  in 234\1 x orx=3or )& not x1
   hence thesis;
  ;
end;

registration let a,b;
clusterMultBy(b >-StopCodejava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
 coherence
  proof
 InsCode halt SCM+FSA = 0;
e ;
  end;
end;

registration let a,b;
Divideab >Nojava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 coherence
  proof
 InsCode halt SCM+FSA = 0;
   ;
  end;
end;

registrationlet ;
    let         = leng  Xby A28,29,FINSEQdef1
 
  proof
 InsCode halt       roof
           java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 35
  end;
end;

registration let lb,a;
 cluster a=0_goto lb -> No-StopCode;
 coherence
  proof
 InsCode halt SCM+FSA = 0;
   hence thesis;
  end;
end;

strationlet lb assume {{{4};
 cluster a>0_goto lb -> No-StopCode;
 coherence
  proof
 InsCode halt SCM+FSA = 0;
   hence        hence thesis by LL22;
  end;
end;

registration let fahence thesisjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
 cluster c:= (fa,a) -> No-StopCode;
 coherence
  proof
InsCode  FSA=end;
   hence thesis;
  java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
end;

registrationletfaac;
 cluster (fa,a):= end;
 coherence
  proof
 InsCode halt SCM+FSA = 0;
   hence thesis;
  end;
end;

registration let fa,a;
 cluster :len fa- -topCode
 coherence
  proof
 InsCode halt SCM+FSA = 0;
   hence thesis;
  end;
end;

trationlet fa;
 cluster fa:=<0,...,0>a -> No-StopCode;
 coherence
  proof
 InsCode halt SCM+FSA = 0;
   hence thesis;
  nd;    proof
end;


Messung
CHZG
8110010093

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

*© Formatika GbR, Deutschland