Eine aufbereitete Darstellung der Quelle

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


Impressum modelc_3.miz   Interaktion und
PortierbarkeitMizar

 

:: Model Checking, Part {III}
::  by Kazuhisa Ishida and Yasunari Shidama
::
:: Received August 19, 2008
:: Copyright (c) 2008-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, NAT_1, XBOOLE_0, FINSEQ_1, MODELC_2, SUBSET_1, ZF_LANG,
      FUNCT_1, RELAT_1, XXREAL_0, INT_1, ARYTM_3, ARYTM_1, CARD_1, STRUCT_0,
      TARSKI, XBOOLEAN, LATTICES, CAT_3, ORDINAL4, ZF_MODEL, MODELC_1,
      FINSET_1, SEQ_1, REAL_1, CARD_3, SERIES_1, ZFMISC_1, MSUALG_3, ORDERS_1,
      SUBSTUT1, FSM_1, FSM_2, VALUED_1, MODELC_3;
 notations TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, ORDINAL1, FINSET_1, CARD_1,
      NUMBERS, XCMPLX_0, XREAL_0, REAL_1, XXREAL_0, RELAT_1, FUNCT_1, RELSET_1,
      FINSEQ_1, ORDERS_1, FUNCT_2, INT_1, NAT_1, SEQ_1, SERIES_1, PARTFUN1,
      STRUCT_0, MODELC_1, MODELC_2, RFINSEQ2;
 constructors KNASTER, MODELC_2, SERIES_1, REAL_1, NEWTON, RFINSEQ2, RELSET_1,
      NUMBERS;
 registrations XBOOLE_0, SUBSET_1, RELAT_1, FUNCT_1, ORDINAL1, XXREAL_0,
      XREAL_0, NAT_1, INT_1, ORDERS_1, FINSET_1, MODELC_2, FINSEQ_1, NUMBERS,
      VALUED_0, CARD_1, RELSET_1, FUNCT_2;
 requirements REAL, NUMERALS, ARITHM, SUBSET, BOOLE;
 definitions TARSKI;
 equalities MODELC_2, SERIES_1;
 expansions TARSKI, MODELC_2;
 theorems XBOOLE_0, ZFMISC_1, XBOOLE_1, TARSKI, FUNCT_1, FUNCT_2, FUNCT_7,
      NAT_1, INT_1, ENUMSET1, XREAL_1, FINSEQ_1, ORDERS_1, XXREAL_0, MODELC_1,
      MODELC_2, ORDINAL1, SUBSET_1, FINSEQ_4, SERIES_1, CARD_1, CARD_2,
      SERIES_2, FINSET_1, RFINSEQ2, FINSEQ_3, SUBSET, XTUPLE_0, XREAL_0,
      NUMBERS;
 schemes NAT_1, FUNCT_2, MODELC_2, TARSKI, FUNCT_1, FINSEQ_1, RECDEF_1;

begin

reserve k,n,n1,m,m1,m0,h,i,j for Nat,
  a,x,y,X,X1,X2,X3,X4,Y for set;
reserve L,L1,L2 for FinSequence;
reserve F,F1,G,G1,H for LTL-formula;
reserve W,W1,W2 for Subset of Subformulae H;
reserve v for LTL-formula;

Lm1: a in (X1 \/ X2) \/ X3 iff a in X1 or a in X2 or a in X3
proof
  a in (X1 \/ X2) \/ X3 iff a in (X1 \/ X2) or a in X3 by XBOOLE_0:def 3;
  hence thesis by XBOOLE_0:def 3;
end;

Lm2: a in (X1 \ X2) \/ (X3\ X4) iff a in X1 & not a in X2 or a in X3 & not a
in X4
proof
  a in (X1 \ X2) \/ (X3 \ X4) iff a in X1 \ X2 or a in X3 \ X4 by
XBOOLE_0:def 3;
  hence thesis by XBOOLE_0:def 5;
end;

Lm3: (<* H *>).1 = H & rng <* H *> = {H}
proof
  set p = <* H *>;
  dom p = {1} & p.1= H by FINSEQ_1:2,def 8;
  hence thesis by FUNCT_1:4;
end;

Lm4: for r1,r2 being Real holds r1<=r2 implies [\ r1 /] <= [\ r2 /]
proof
  let r1,r2 be Real;
  r1<=r2 implies [\ r1 /] <= [\ r2 /]
  proof
    assume
A1: r1<=r2;
    now
      assume [\ r2 /] < [\ r1 /];
      then
A2:   [\ r2 /] +1 <= [\ r1 /] by INT_1:7;
      [\ r1 /] <= r1 by INT_1:def 6;
      then [\ r2 /] +1 <= r1 by A2,XXREAL_0:2;
      hence contradiction by A1,INT_1:29,XXREAL_0:2;
    end;
    hence thesis;
  end;
  hence thesis;
end;

Lm5: for r1,r2 being Real holds r1<=r2-1 implies [\ r1 /] <= [\ r2 /]-1
proof
  let r1,r2 be Real;
  r1<=r2-1 implies [\ r1 /] <= [\ r2 /]-1
  proof
    assume r1<=r2-1;
    then r1+1<=r2-1 +1 by XREAL_1:6;
    then [\ r1+1 /] <= [\ r2 /] by Lm4;
    then [\ r1 /] +1 <= [\ r2 /] by INT_1:28;
    then [\ r1 /]+1 -1 <= [\ r2 /] -1 by XREAL_1:9;
    hence thesis;
  end;
  hence thesis;
end;

Lm6: n=0 or 1<=n
proof
  n=0 or 0<0+n;
  hence thesis by NAT_1:19;
end;

Lm7: (H is negative or H is next) implies the_argument_of H is_subformula_of H
proof
  set G = the_argument_of H;
  assume H is negative or H is next;
  then G is_immediate_constituent_of H by MODELC_2:20,21;
  then G is_proper_subformula_of H by MODELC_2:29;
  hence thesis;
end;

Lm8: (H is conjunctive or H is disjunctive or H is Until or H is Release)
implies the_left_argument_of H is_subformula_of H & the_right_argument_of H
is_subformula_of H
proof
  set G1 = the_left_argument_of H;
  set G2 = the_right_argument_of H;
  assume
A1: H is conjunctive or H is disjunctive or H is Until or H is Release;
  then G2 is_immediate_constituent_of H by MODELC_2:22,23,24,25;
  then
A2: G2 is_proper_subformula_of H by MODELC_2:29;
  G1 is_immediate_constituent_of H by A1,MODELC_2:22,23,24,25;
  then G1 is_proper_subformula_of H by MODELC_2:29;
  hence thesis by A2;
end;

Lm9: F is_subformula_of H implies {F} is Subset of Subformulae H
by MODELC_2:45,SUBSET_1:41;

Lm10: F is_subformula_of H & G is_subformula_of H implies {F,G} is Subset of
Subformulae H
proof
  set E = Subformulae H;
  assume F is_subformula_of H & G is_subformula_of H;
  then F in E & G in E by MODELC_2:45;
  hence thesis by SUBSET_1:34;
end;

Lm11: H is disjunctive or H is conjunctive or H is Until or H is Release
implies {the_left_argument_of H,the_right_argument_of H } is Subset of
Subformulae H
proof
  assume H is disjunctive or H is conjunctive or H is Until or H is Release;
  then the_left_argument_of H is_subformula_of H & the_right_argument_of H
  is_subformula_of H by Lm8;
  hence thesis by Lm10;
end;

Lm12: H is disjunctive or H is conjunctive or H is Until or H is Release
implies {the_left_argument_of H} is Subset of Subformulae H & {
the_right_argument_of H} is Subset of Subformulae H
proof
  assume H is disjunctive or H is conjunctive or H is Until or H is Release;
  then the_left_argument_of H is_subformula_of H & the_right_argument_of H
  is_subformula_of H by Lm8;
  hence thesis by Lm9;
end;

Lm13: {H} is Subset of Subformulae H by Lm9;

Lm14: H is negative or H is next implies {the_argument_of H} is Subset of
Subformulae H
proof
  assume H is negative or H is next;
  then the_argument_of H is_subformula_of H by Lm7;
  hence thesis by Lm9;
end;

definition
  let F;
  redefine func Subformulae F -> Subset of LTL_WFF;
  coherence
  proof
    set E = Subformulae F;
    E is Subset of E by SUBSET:3;
    hence thesis by MODELC_2:47;
  end;
end;

:: definition of basic operations to build an automaton for LTL.

definition
  let H;
  func LTLNew1 H -> Subset of Subformulae H equals
  :Def1:
  {
  the_left_argument_of H,the_right_argument_of H } if H is conjunctive, {
  the_left_argument_of H } if H is disjunctive, {} if H is next, {
  the_left_argument_of H } if H is Until, {the_right_argument_of H } if H is
  Release otherwise {};
  correctness by Lm11,Lm12,MODELC_2:78,SUBSET_1:1;
  func LTLNew2 H -> Subset of Subformulae H equals
  :Def2:
  {} if H is
conjunctive, {the_right_argument_of H } if H is disjunctive, {} if H is next, {
  the_right_argument_of H } if H is Until, {the_left_argument_of H,
  the_right_argument_of H } if H is Release otherwise {};
  correctness by Lm11,Lm12,MODELC_2:78,SUBSET_1:1;
  func LTLNext H -> Subset of Subformulae H equals
  :Def3:
  {} if H is
conjunctive, {} if H is disjunctive, {the_argument_of H} if H is next, {H} if H
  is Until, {H} if H is Release otherwise {};
  correctness by Lm13,Lm14,MODELC_2:78,SUBSET_1:1;
end;

definition
  let v;
  struct LTLnode over v (#LTLold,LTLnew,LTLnext -> Subset of Subformulae v #);
end;

definition
  let v;
  let N be LTLnode over v;
  let H;
  assume
A1: H in the LTLnew of N;
  func SuccNode1(H,N) -> strict LTLnode over v means
  :Def4:
  the LTLold of it =
  (the LTLold of N) \/ {H} & the LTLnew of it = ((the LTLnew of N) \ {H}) \/ (
  LTLNew1 H \ the LTLold of N) & the LTLnext of it = (the LTLnext of N) \/
  LTLNext H;
  existence
  proof
    set NextD = (the LTLnext of N) \/ LTLNext H;
    set NewB=LTLNew1 H \ the LTLold of N;
    set NewA= (the LTLnew of N) \ {H};
    set Old= (the LTLold of N) \/ {H};
    set NewC = NewA \/ NewB;
    {H} c= Subformulae v by A1,ZFMISC_1:31;
    then reconsider Old as Subset of Subformulae v by XBOOLE_1:8;
    ex F st H=F & F is_subformula_of v by A1,MODELC_2:def 24;
    then
A2: Subformulae H c= Subformulae v by MODELC_2:46;
    then NewB c= Subformulae v;
    then reconsider NewC as Subset of Subformulae v by XBOOLE_1:8;
    LTLNext H c= Subformulae v by A2;
    then reconsider NextD as Subset of Subformulae v by XBOOLE_1:8;
    set IT = LTLnode(#Old,NewC,NextD#);
    take IT;
    thus thesis;
  end;
  uniqueness;
end;

definition
  let v;
  let N be LTLnode over v;
  let H;
  assume
A1: H in the LTLnew of N;
  func SuccNode2(H,N) -> strict LTLnode over v means
  :Def5:
  the LTLold of it =
  (the LTLold of N) \/ {H} & the LTLnew of it = ((the LTLnew of N) \ {H}) \/ (
  LTLNew2 H \ the LTLold of N) & the LTLnext of it = the LTLnext of N;
  existence
  proof
    set NextD = the LTLnext of N;
    set NewB=LTLNew2 H \ the LTLold of N;
    set NewA= (the LTLnew of N) \ {H};
    set Old= (the LTLold of N) \/ {H};
    set NewC = NewA \/ NewB;
    {H} c= Subformulae v by A1,ZFMISC_1:31;
    then reconsider Old as Subset of Subformulae v by XBOOLE_1:8;
    ex F st H=F & F is_subformula_of v by A1,MODELC_2:def 24;
    then Subformulae H c= Subformulae v by MODELC_2:46;
    then NewB c= Subformulae v;
    then reconsider NewC as Subset of Subformulae v by XBOOLE_1:8;
    set IT = LTLnode(#Old,NewC,NextD#);
    take IT;
    thus thesis;
  end;
  uniqueness;
end;

definition
  let v;
  let N1,N2 be LTLnode over v;
  let H;
  pred N2 is_succ_of N1,H means

  H in the LTLnew of N1 & (N2 = SuccNode1(
H,N1) or (H is disjunctive or H is Until or H is Release) & N2=SuccNode2(H,N1))
  ;
end;

definition
  let v;
  let N1,N2 be LTLnode over v;
  pred N2 is_succ1_of N1 means

  ex H st H in the LTLnew of N1 & N2 = SuccNode1(H,N1);
  pred N2 is_succ2_of N1 means

  ex H st H in the LTLnew of N1 & (H is
  disjunctive or H is Until or H is Release) & N2=SuccNode2(H,N1);
end;

definition
  let v;
  let N1,N2 be LTLnode over v;
  pred N2 is_succ_of N1 means

  N2 is_succ1_of N1 or N2 is_succ2_of N1;
end;

definition
  let v;
  let N be LTLnode over v;
  attr N is failure means
  ex H,F st H is atomic & F = 'not' H & H in the
  LTLold of N & F in the LTLold of N;
end;

definition
  let v;
  let N be LTLnode over v;
  attr N is elementary means
  :Def11:
  the LTLnew of N = {};
end;

definition
  let v;
  let N be LTLnode over v;
  attr N is final means
  N is elementary & the LTLnext of N = {};
end;

definition
  let v;
  func {}v -> Subset of Subformulae v equals
  {};
  correctness by SUBSET_1:1;
end;

definition
  let v;
  func Seed v -> Subset of Subformulae v equals
  {v};
  correctness by Lm9;
end;

registration
  let v;
  cluster elementary strict for LTLnode over v;
  existence
  proof
    set X = LTLnode(# {}v,{}v,{}v #);
    take X;
    thus thesis;
  end;
end;

definition
  let v;
  func FinalNode v -> elementary strict LTLnode over v equals
  LTLnode(# {}v,{}v,{}v #);
  correctness by Def11;
end;

definition
  let x be object; let v;
  func CastNode(x,v) -> strict LTLnode over v equals
  :Def16:
  x if x is strict LTLnode over v
    otherwise LTLnode(# {}v,{}v,{}v #);
  correctness;
end;

definition
  let v;
  func init v -> elementary strict LTLnode over v equals
  LTLnode(# {}v,{}v,Seed v #);
  correctness by Def11;
end;

definition
  let v;
  let N be LTLnode over v;
  func 'X' N -> strict LTLnode over v equals
  LTLnode(# {}v,the LTLnext of N,{}
    v #);
  correctness;
end;

:: Some properties of basic operations to build an automaton for LTL.

reserve N,N1,N2,N10,N20,M for strict LTLnode over v;
reserve w for Element of Inf_seq(AtomicFamily);

definition
  let v, L;
  pred L is_Finseq_for v means

  for k st 1 <= k & k < len(L) holds ex N
  ,M st N = L.k & M=L.(k+1) & M is_succ_of N;
end;

Lm15: L is_Finseq_for v & 1<= m & m<=len(L) implies ex L1,L2 st L2
is_Finseq_for v & L = L1^L2 & L2.1=L.m &1<=len(L2) & len(L2) =len(L)-(m-1) & L2
.(len(L2)) = L.(len(L))
proof
  assume that
A1: L is_Finseq_for v and
A2: 1<= m and
A3: m<=len(L);
A4: m-1<=len(L)-0 by A3,XREAL_1:13;
  set m1=m-1;
  reconsider m1 as Nat by A2,NAT_1:21;
  set L1=L|Seg m1;
  reconsider L1 as FinSequence by FINSEQ_1:15;
  consider L2 being FinSequence such that
A5: L = L1^L2 by FINSEQ_1:80;
  len(L)=len(L1)+len(L2) by A5,FINSEQ_1:22;
  then
A6: len(L2) = len(L)-len(L1) .= len(L)-m1 by A4,FINSEQ_1:17;
  m-m<=len(L)-m by A3,XREAL_1:9;
  then
A7: 0+1<=(len(L)-m)+1 by XREAL_1:6;
  then 1 in dom L2 by A6,FINSEQ_3:25;
  then
A8: L2.1 = L.(len(L1) + 1) by A5,FINSEQ_1:def 7
    .= L.(m1+1) by A4,FINSEQ_1:17
    .=L.m;
A9: len(L1) = m1 by A4,FINSEQ_1:17;
  for k st 1 <= k & k < len(L2) holds ex N,M st N = L2.k & M=L2.(k+1) & M
  is_succ_of N
  proof
    let k such that
A10: 1 <= k & k < len(L2);
    set k1=k+1;
    1<=k1 & k1<=len(L2) by A10,NAT_1:13;
    then
A11: k1 in dom L2 by FINSEQ_3:25;
    set km1=k+m1;
    1+0<= k+m1 & km1 <(len(L)-m1) +m1 by A6,A10,XREAL_1:6,7;
    then consider N,M such that
A12: N = L.km1 and
A13: M=L.(km1+1) and
A14: M is_succ_of N by A1;
A15: M = L.(m1+k1) by A13
      .= L2.(k1) by A9,A5,A11,FINSEQ_1:def 7;
    k in dom L2 by A10,FINSEQ_3:25;
    then N = L2.k by A9,A5,A12,FINSEQ_1:def 7;
    hence thesis by A14,A15;
  end;
  then
A16: L2 is_Finseq_for v;
  len(L2) in dom L2 by A7,A6,FINSEQ_3:25;
  then L2.(len(L2)) =L.(len(L1)+len(L2)) by A5,FINSEQ_1:def 7
    .= L.(len(L)) by A5,FINSEQ_1:22;
  hence thesis by A7,A5,A6,A8,A16;
end;

definition
  let v, N1,N2;
  pred N2 is_next_of N1 means

  N1 is elementary & N2 is elementary & ex
  L st 1<=len(L) & L is_Finseq_for v & L.1 = 'X' N1 & L.(len(L)) = N2;
end;

definition
  let v;
  let W be Subset of Subformulae v;
  func CastLTL(W) -> Subset of LTL_WFF equals
  W;
  correctness by MODELC_2:47;
end;

definition
  let v, N;
  func *N -> Subset of LTL_WFF equals
  ((the LTLold of N) \/ (the LTLnew of N))
  \/ 'X' CastLTL(the LTLnext of N);
  correctness
  proof
    set S2= the LTLnew of N;
    set S1= the LTLold of N;
    S1 is Subset of LTL_WFF & S2 is Subset of LTL_WFF by MODELC_2:47;
    then S1 \/ S2 c= LTL_WFF by XBOOLE_1:8;
    hence thesis by XBOOLE_1:8;
  end;
end;

Lm16: H in the LTLnew of N & (H is atomic or H is negative) implies *N = *
SuccNode1(H,N)
proof
  set N1 = SuccNode1(H,N);
  assume that
A1: H in the LTLnew of N and
A2: H is atomic or H is negative;
A3: ( not H is next)& not H is Until by A2,MODELC_2:78;
  set NX = the LTLnext of N;
  set N1X = the LTLnext of N1;
A4: N1X = NX \/ LTLNext H by A1,Def4;
  set NN = the LTLnew of N;
  set N1N = the LTLnew of N1;
  set NO = the LTLold of N;
  set N1O = the LTLold of N1;
A5: N1O = NO \/ {H} by A1,Def4;
A6: not H is Release by A2,MODELC_2:78;
A7: ( not H is conjunctive)& not H is disjunctive by A2,MODELC_2:78;
  then
A8: LTLNew1 H ={} by A3,A6,Def1;
A9: N1N = (NN \ {H}) \/ (LTLNew1 H \ NO) by A1,Def4;
A10: for a being object holds a in N1O \/ N1N implies a in NO \/ NN
  proof let a be object;
    assume
A11: a in N1O \/ N1N;
    a in N1O implies a in NO or a in {H} by A5,XBOOLE_0:def 3;
    then
A12: a in N1O implies a in NO or a in NN by A1,TARSKI:def 1;
    a in N1N implies a in NN & not a in {H} by A8,A9,XBOOLE_0:def 5;
    hence thesis by A11,A12,XBOOLE_0:def 3;
  end;
A13: for a being object holds a in NO \/ NN implies a in N1O \/ N1N
  proof let a be object;
    assume
A14: a in NO \/ NN;
    a in NN implies not a in {H} & a in NN or a in {H} & a in NN;
    then
A15: a in NN implies a in NN \ {H} or a in NO \/{H} by XBOOLE_0:def 3,def 5;
    a in NO implies a in N1O by A5,XBOOLE_0:def 3;
    hence thesis by A8,A5,A9,A14,A15,XBOOLE_0:def 3;
  end;
  LTLNext H = {} by A7,A3,A6,Def3;
  hence thesis by A4,A10,A13,TARSKI:2;
end;

Lm17: H in the LTLnew of N & (H is conjunctive or H is next ) implies (w |= *N
iff w |= *SuccNode1(H,N))
proof
  assume that
A1: H in the LTLnew of N and
A2: H is conjunctive or H is next;
  set NX = the LTLnext of N;
  set NN = the LTLnew of N;
  set NO = the LTLold of N;
  set SN=SuccNode1(H,N);
  set SNO = the LTLold of SN;
  set SNN = the LTLnew of SN;
  set SNX = the LTLnext of SN;
  set XSNX = 'X' CastLTL(SNX);
  set XNX = 'X' CastLTL(NX);
A3: H in *N by A1,Lm1;
A4: w |= *N implies w |= *SN
  proof
    assume
A5: w |= *N;
    then
A6: w |= H by A3;
    for F being LTL-formula st F in *SN holds w|= F
    proof
      let F be LTL-formula such that
A7:   F in *SN;
      now
        per cases by A7,Lm1;
        suppose
          F in SNO;
          then
A8:       F in NO \/ {H} by A1,Def4;
          now
            per cases by A8,XBOOLE_0:def 3;
            suppose
              F in NO;
              then F in *N by Lm1;
              hence thesis by A5;
            end;
            suppose
              F in {H};
              then F in *N by A3,TARSKI:def 1;
              hence thesis by A5;
            end;
          end;
          hence thesis;
        end;
        suppose
          F in SNN;
          then
A9:       F in (NN \ {H})\/ (LTLNew1 H \ NO) by A1,Def4;
          now
            per cases by A9,Lm2;
            suppose
              F in NN;
              then F in (NO \/ NN) \/ XNX by Lm1;
              hence thesis by A5;
            end;
            suppose
A10:          F in (LTLNew1 H);
              now
                per cases by A2;
                suppose
A11:              H is conjunctive;
                  then
                  F in {the_left_argument_of H, the_right_argument_of H }
                  by A10,Def1;
                  then
A12:              F = the_left_argument_of H or F = the_right_argument_of
                  H by TARSKI:def 2;
                  H =(the_left_argument_of H) '&' (the_right_argument_of
                  H) by A11,MODELC_2:6;
                  hence thesis by A6,A12,MODELC_2:65;
                end;
                suppose
                  H is next;
                  hence thesis by A10,Def1;
                end;
              end;
              hence thesis;
            end;
          end;
          hence thesis;
        end;
        suppose
A13:      F in XSNX;
          set SN1 = CastLTL(SNX);
          consider G such that
A14:      F=G and
A15:      ex G1 st G1 in SN1 & G ='X' G1 by A13;
          consider G1 such that
A16:      G1 in SN1 and
A17:      G ='X' G1 by A15;
A18:      SN1 = NX \/ LTLNext H by A1,Def4;
          now
            per cases by A18,A16,XBOOLE_0:def 3;
            suppose
              G1 in NX;
              then F in XNX by A14,A17;
              then F in (NO \/ NN) \/ XNX by Lm1;
              hence thesis by A5;
            end;
            suppose
A19:          G1 in LTLNext H;
              now
                per cases by A2;
                suppose
A20:              H is next;
                  then G1 in {the_argument_of H} by A19,Def3;
                  then G1 = the_argument_of H by TARSKI:def 1;
                  hence thesis by A6,A14,A17,A20,MODELC_2:5;
                end;
                suppose
                  H is conjunctive;
                  hence thesis by A19,Def3;
                end;
              end;
              hence thesis;
            end;
          end;
          hence thesis;
        end;
      end;
      hence thesis;
    end;
    hence thesis;
  end;
  w |= *SN implies w |= *N
  proof
    assume
A21: w |= *SN;
    for F being LTL-formula st F in *N holds w|= F
    proof
      let F be LTL-formula such that
A22:  F in *N;
      now
        per cases by A22,Lm1;
        suppose
          F in NO;
          then F in NO \/ {H} by XBOOLE_0:def 3;
          then F in SNO by A1,Def4;
          then F in *SN by Lm1;
          hence thesis by A21;
        end;
        suppose
A23:      F in NN;
          now
            per cases;
            suppose
              F=H;
              then F in {H} by TARSKI:def 1;
              then F in NO \/ {H} by XBOOLE_0:def 3;
              then F in SNO by A1,Def4;
              then F in *SN by Lm1;
              hence thesis by A21;
            end;
            suppose
              not F=H;
              then not F in {H} by TARSKI:def 1;
              then F in NN \ {H} by A23,XBOOLE_0:def 5;
              then F in (NN \ {H}) \/(LTLNew1 H \ NO) by XBOOLE_0:def 3;
              then F in SNN by A1,Def4;
              then F in *SN by Lm1;
              hence thesis by A21;
            end;
          end;
          hence thesis;
        end;
        suppose
A24:      F in XNX;
          set SN11= (NX) \/ LTLNext H;
          SNX = SN11 by A1,Def4;
          then reconsider SN11 as Subset of Subformulae v;
          set SN1 =CastLTL(SN11);
          set N1 = CastLTL(NX);
          consider G such that
A25:      F=G and
A26:      ex G1 st G1 in N1 & G ='X' G1 by A24;
          consider G1 such that
A27:      G1 in N1 and
A28:      G ='X' G1 by A26;
          G1 in SN11 by A27,XBOOLE_0:def 3;
          then F in 'X' SN1 by A25,A28;
          then F in XSNX by A1,Def4;
          then F in *SN by Lm1;
          hence thesis by A21;
        end;
      end;
      hence thesis;
    end;
    hence thesis;
  end;
  hence thesis by A4;
end;

theorem
  H in the LTLnew of N & (H is atomic or H is negative or H is
conjunctive or H is next ) implies (w |= *N iff w |= *SuccNode1(H,N)) by Lm16
,Lm17;

Lm18: H in the LTLnew of N & H is disjunctive implies (w |= *N iff (w |= *
SuccNode1(H,N) or w |= *SuccNode2(H,N)))
proof
  assume that
A1: H in the LTLnew of N and
A2: H is disjunctive;
  set NN = the LTLnew of N;
  set NO = the LTLold of N;
  set SN2=SuccNode2(H,N);
  set NX = the LTLnext of N;
  set SN1=SuccNode1(H,N);
A3: H in *N by A1,Lm1;
  set SN1X = the LTLnext of SN1;
  LTLNext H = {} by A2,Def3;
  then
A4: SN1X = NX \/ {} by A1,Def4
    .= NX;
  set H1 = the_left_argument_of H;
  set XSN1X = 'X' CastLTL(SN1X);
  set SN1N = the LTLnew of SN1;
  set SN1O = the LTLold of SN1;
A5: SN1O = NO \/ {H} by A1,Def4;
  LTLNew1 H = {H1} by A2,Def1;
  then
A6: SN1N = (NN \ {H}) \/ ({H1} \ NO) by A1,Def4;
A7: F in *SN1 implies F in *N or F=H1
  proof
    assume
A8: F in *SN1;
    now
      per cases by A8,Lm1;
      suppose
        F in SN1O;
        then F in NO or F in {H} by A5,XBOOLE_0:def 3;
        hence thesis by A3,Lm1,TARSKI:def 1;
      end;
      suppose
        F in SN1N;
        then F in (NN \ {H}) or F in ({H1} \ NO) by A6,XBOOLE_0:def 3;
        then F in NN or F in {H1} by XBOOLE_0:def 5;
        hence thesis by Lm1,TARSKI:def 1;
      end;
      suppose
        F in XSN1X;
        hence thesis by A4,Lm1;
      end;
    end;
    hence thesis;
  end;
  set XNX = 'X' CastLTL(NX);
  set SN2X = the LTLnext of SN2;
  set XSN2X = 'X' CastLTL(SN2X);
  set SN2O = the LTLold of SN2;
A9: SN2O = NO \/ {H} by A1,Def5;
  set H2 = the_right_argument_of H;
  set SN2N = the LTLnew of SN2;
  LTLNew2 H = {H2} by A2,Def2;
  then
A10: SN2N = (NN \ {H}) \/ ({H2} \ NO) by A1,Def5;
A11: SN2X = NX by A1,Def5;
A12: F in *SN2 implies F in *N or F=H2
  proof
    assume
A13: F in *SN2;
    now
      per cases by A13,Lm1;
      suppose
        F in SN2O;
        then F in NO or F in {H} by A9,XBOOLE_0:def 3;
        hence thesis by A3,Lm1,TARSKI:def 1;
      end;
      suppose
        F in SN2N;
        then F in (NN \ {H}) or F in ({H2} \ NO) by A10,XBOOLE_0:def 3;
        then F in NN or F in {H2} by XBOOLE_0:def 5;
        hence thesis by Lm1,TARSKI:def 1;
      end;
      suppose
        F in XSN2X;
        hence thesis by A11,Lm1;
      end;
    end;
    hence thesis;
  end;
  H = H1 'or' H2 by A2,MODELC_2:7;
  then
A14: w|= H iff w|= H1 or w|= H2 by MODELC_2:66;
A15: w |= *N implies (w |= *SN1 or w |= *SN2)
  proof
    assume
A16: w |= *N;
    now
      per cases by A3,A14,A16;
      suppose
A17:    w|= H1;
        F in *SN1 implies w|= F
        by A7,A16,A17;
        hence thesis;
      end;
      suppose
A18:    w|= H2;
        F in *SN2 implies w|= F
        by A12,A16,A18;
        hence thesis;
      end;
    end;
    hence thesis;
  end;
A19: F in *N implies F in *SN1 & F in *SN2
  proof
    assume
A20: F in *N;
    now
      per cases by A20,Lm1;
      suppose
        F in NO;
        then F in SN1O & F in SN2O by A5,A9,XBOOLE_0:def 3;
        hence thesis by Lm1;
      end;
      suppose
A21:    F in NN;
        now
          per cases;
          suppose
            F=H;
            then F in {H} by TARSKI:def 1;
            then F in SN1O & F in SN2O by A5,A9,XBOOLE_0:def 3;
            hence thesis by Lm1;
          end;
          suppose
            not F=H;
            then not F in {H} by TARSKI:def 1;
            then F in (NN \ {H}) by A21,XBOOLE_0:def 5;
            then F in SN1N & F in SN2N by A6,A10,XBOOLE_0:def 3;
            hence thesis by Lm1;
          end;
        end;
        hence thesis;
      end;
      suppose
A22:    F in XNX;
        then F in XSN2X by A1,Def5;
        hence thesis by A4,A22,Lm1;
      end;
    end;
    hence thesis;
  end;
  (w |= *SN1 or w |= *SN2) implies w |= *N
  proof
    assume
A23: w |= *SN1 or w |= *SN2;
    F in *N implies w |= F
    proof
      assume
A24:  F in *N;
      then
A25:  F in *SN2 by A19;
A26:  F in *SN1 by A19,A24;
      now
        per cases by A23;
        suppose
          w |= *SN1;
          hence thesis by A26;
        end;
        suppose
          w |= *SN2;
          hence thesis by A25;
        end;
      end;
      hence thesis;
    end;
    hence thesis;
  end;
  hence thesis by A15;
end;

Lm19: H in the LTLnew of N & H is Until implies (w |= *N iff (w |= *SuccNode1(
H,N) or w |= *SuccNode2(H,N)))
proof
  assume that
A1: H in the LTLnew of N and
A2: H is Until;
  set NX = the LTLnext of N;
  set SN1=SuccNode1(H,N);
A3: H in *N by A1,Lm1;
  set SN1X = the LTLnext of SN1;
  LTLNext H = {H} by A2,Def3;
  then
A4: SN1X = NX \/ {H} by A1,Def4;
  set NN = the LTLnew of N;
  set NO = the LTLold of N;
  set SN2=SuccNode2(H,N);
  set H2 = the_right_argument_of H;
  set SN2N = the LTLnew of SN2;
  LTLNew2 H = {H2} by A2,Def2;
  then
A5: SN2N = (NN \ {H}) \/ ({H2} \ NO) by A1,Def5;
  set H1 = the_left_argument_of H;
  set XNX = 'X' CastLTL(NX);
  set XSN1X = 'X' CastLTL(SN1X);
  set SN1N = the LTLnew of SN1;
  set SN1O = the LTLold of SN1;
A6: SN1O = NO \/ {H} by A1,Def4;
  LTLNew1 H = {H1} by A2,Def1;
  then
A7: SN1N = (NN \ {H}) \/ ({H1} \ NO) by A1,Def4;
A8: F in *SN1 implies F in *N or F=H1 or F='X' H
  proof
    assume
A9: F in *SN1;
    now
      per cases by A9,Lm1;
      suppose
        F in SN1O;
        then F in NO or F in {H} by A6,XBOOLE_0:def 3;
        hence thesis by A3,Lm1,TARSKI:def 1;
      end;
      suppose
        F in SN1N;
        then F in (NN \ {H}) or F in ({H1} \ NO) by A7,XBOOLE_0:def 3;
        then F in NN or F in {H1} by XBOOLE_0:def 5;
        hence thesis by Lm1,TARSKI:def 1;
      end;
      suppose
        F in XSN1X;
        then consider G such that
A10:    F=G and
A11:    ex G1 st G1 in CastLTL(SN1X) & G ='X' G1;
        consider G1 such that
A12:    G1 in SN1X and
A13:    G ='X' G1 by A11;
A14:    G1 in NX or G1 in {H} by A4,A12,XBOOLE_0:def 3;
        now
          per cases by A14,TARSKI:def 1;
          suppose
            G1 in NX;
            then F in XNX by A10,A13;
            hence thesis by Lm1;
          end;
          suppose
            G1=H;
            hence thesis by A10,A13;
          end;
        end;
        hence thesis;
      end;
    end;
    hence thesis;
  end;
  set SN2X = the LTLnext of SN2;
  set XSN2X = 'X' CastLTL(SN2X);
  set SN2O = the LTLold of SN2;
A15: SN2O = NO \/ {H} by A1,Def5;
A16: SN2X = NX by A1,Def5;
A17: F in *SN2 implies F in *N or F=H2
  proof
    assume
A18: F in *SN2;
    now
      per cases by A18,Lm1;
      suppose
        F in SN2O;
        then F in NO or F in {H} by A15,XBOOLE_0:def 3;
        hence thesis by A3,Lm1,TARSKI:def 1;
      end;
      suppose
        F in SN2N;
        then F in (NN \ {H}) or F in ({H2} \ NO) by A5,XBOOLE_0:def 3;
        then F in NN or F in {H2} by XBOOLE_0:def 5;
        hence thesis by Lm1,TARSKI:def 1;
      end;
      suppose
        F in XSN2X;
        hence thesis by A16,Lm1;
      end;
    end;
    hence thesis;
  end;
  H = H1 'U' H2 by A2,MODELC_2:8;
  then w|= H iff w|=H2 'or' (H1 '&' ('X' H)) by MODELC_2:75;
  then
A19: w|= H iff w|=H2 or w |= (H1 '&' ('X' H)) by MODELC_2:66;
A20: w |= *N implies (w |= *SN1 or w |= *SN2)
  proof
    assume
A21: w |= *N;
    now
      per cases by A3,A19,A21,MODELC_2:65;
      suppose
A22:    w|=H1 & w|='X' H;
        F in *SN1 implies w|= F
        by A8,A21,A22;
        hence thesis;
      end;
      suppose
A23:    w|= H2;
        F in *SN2 implies w|= F
        by A17,A21,A23;
        hence thesis;
      end;
    end;
    hence thesis;
  end;
A24: F in *N implies F in *SN1 & F in *SN2
  proof
    assume
A25: F in *N;
    now
      per cases by A25,Lm1;
      suppose
        F in NO;
        then F in SN1O & F in SN2O by A6,A15,XBOOLE_0:def 3;
        hence thesis by Lm1;
      end;
      suppose
A26:    F in NN;
        now
          per cases;
          suppose
            F=H;
            then F in {H} by TARSKI:def 1;
            then F in SN1O & F in SN2O by A6,A15,XBOOLE_0:def 3;
            hence thesis by Lm1;
          end;
          suppose
            F <> H;
            then not F in {H} by TARSKI:def 1;
            then F in (NN \ {H}) by A26,XBOOLE_0:def 5;
            then F in SN1N & F in SN2N by A7,A5,XBOOLE_0:def 3;
            hence thesis by Lm1;
          end;
        end;
        hence thesis;
      end;
      suppose
        F in XNX;
        then consider G such that
A27:    F=G and
A28:    ex G1 st G1 in CastLTL(NX) & G ='X' G1;
        consider G1 such that
A29:    G1 in NX and
A30:    G ='X' G1 by A28;
        G1 in SN1X by A4,A29,XBOOLE_0:def 3;
        then
A31:    F in XSN1X by A27,A30;
        F in XSN2X by A16,A27,A29,A30;
        hence thesis by A31,Lm1;
      end;
    end;
    hence thesis;
  end;
  (w |= *SN1 or w |= *SN2) implies w |= *N
  proof
    assume
A32: w |= *SN1 or w |= *SN2;
    F in *N implies w |= F
    proof
      assume
A33:  F in *N;
      then
A34:  F in *SN2 by A24;
A35:  F in *SN1 by A24,A33;
      now
        per cases by A32;
        suppose
          w |= *SN1;
          hence thesis by A35;
        end;
        suppose
          w |= *SN2;
          hence thesis by A34;
        end;
      end;
      hence thesis;
    end;
    hence thesis;
  end;
  hence thesis by A20;
end;

Lm20: H in the LTLnew of N & H is Release implies (w |= *N iff (w |= *
SuccNode1(H,N) or w |= *SuccNode2(H,N)))
proof
  assume that
A1: H in the LTLnew of N and
A2: H is Release;
  set NX = the LTLnext of N;
  set SN1=SuccNode1(H,N);
A3: H in *N by A1,Lm1;
  set SN1X = the LTLnext of SN1;
  LTLNext H = {H} by A2,Def3;
  then
A4: SN1X = NX \/ {H} by A1,Def4;
  set H2 = the_right_argument_of H;
  set NN = the LTLnew of N;
  set NO = the LTLold of N;
  set SN2=SuccNode2(H,N);
  set H1 = the_left_argument_of H;
  set SN2N = the LTLnew of SN2;
  LTLNew2 H = {H1,H2} by A2,Def2;
  then
A5: SN2N = (NN \ {H}) \/ ({H1,H2} \ NO) by A1,Def5;
  set XNX = 'X' CastLTL(NX);
  set XSN1X = 'X' CastLTL(SN1X);
  set SN1N = the LTLnew of SN1;
  set SN1O = the LTLold of SN1;
A6: SN1O = NO \/ {H} by A1,Def4;
  LTLNew1 H = {H2} by A2,Def1;
  then
A7: SN1N = (NN \ {H}) \/ ({H2} \ NO) by A1,Def4;
A8: F in *SN1 implies F in *N or F=H2 or F='X' H
  proof
    assume
A9: F in *SN1;
    now
      per cases by A9,Lm1;
      suppose
        F in SN1O;
        then F in NO or F in {H} by A6,XBOOLE_0:def 3;
        hence thesis by A3,Lm1,TARSKI:def 1;
      end;
      suppose
        F in SN1N;
        then F in (NN \ {H}) or F in ({H2} \ NO) by A7,XBOOLE_0:def 3;
        then F in NN or F in {H2} by XBOOLE_0:def 5;
        hence thesis by Lm1,TARSKI:def 1;
      end;
      suppose
        F in XSN1X;
        then consider G such that
A10:    F=G and
A11:    ex G1 st G1 in CastLTL(SN1X) & G ='X' G1;
        consider G1 such that
A12:    G1 in SN1X and
A13:    G ='X' G1 by A11;
A14:    G1 in NX or G1 in {H} by A4,A12,XBOOLE_0:def 3;
        now
          per cases by A14,TARSKI:def 1;
          suppose
            G1 in NX;
            then F in XNX by A10,A13;
            hence thesis by Lm1;
          end;
          suppose
            G1=H;
            hence thesis by A10,A13;
          end;
        end;
        hence thesis;
      end;
    end;
    hence thesis;
  end;
  set SN2X = the LTLnext of SN2;
  set XSN2X = 'X' CastLTL(SN2X);
  set SN2O = the LTLold of SN2;
A15: SN2O = NO \/ {H} by A1,Def5;
A16: SN2X = NX by A1,Def5;
A17: F in *SN2 implies F in *N or F=H1 or F=H2
  proof
    assume
A18: F in *SN2;
    now
      per cases by A18,Lm1;
      suppose
        F in SN2O;
        then F in NO or F in {H} by A15,XBOOLE_0:def 3;
        hence thesis by A3,Lm1,TARSKI:def 1;
      end;
      suppose
        F in SN2N;
        then F in (NN \ {H}) or F in ({H1,H2} \ NO) by A5,XBOOLE_0:def 3;
        then F in NN or F in {H1,H2} by XBOOLE_0:def 5;
        hence thesis by Lm1,TARSKI:def 2;
      end;
      suppose
        F in XSN2X;
        hence thesis by A16,Lm1;
      end;
    end;
    hence thesis;
  end;
  H = H1 'R' H2 by A2,MODELC_2:9;
  then w|= H iff w|=(H1 '&' H2) 'or' (H2 '&' ('X' (H))) by MODELC_2:76;
  then
A19: w|= H iff w|=(H1 '&' H2) or w |= (H2 '&' ('X' H)) by MODELC_2:66;
A20: w |= *N implies (w |= *SN1 or w |= *SN2)
  proof
    assume
A21: w |= *N;
    now
      per cases by A3,A19,A21,MODELC_2:65;
      suppose
A22:    w|=H2 & w|='X' H;
        F in *SN1 implies w|= F
        by A8,A21,A22;
        hence thesis;
      end;
      suppose
A23:    w|=H1 & w|=H2;
        F in *SN2 implies w|= F
        by A17,A21,A23;
        hence thesis;
      end;
    end;
    hence thesis;
  end;
A24: F in *N implies F in *SN1 & F in *SN2
  proof
    assume
A25: F in *N;
    now
      per cases by A25,Lm1;
      suppose
        F in NO;
        then F in SN1O & F in SN2O by A6,A15,XBOOLE_0:def 3;
        hence thesis by Lm1;
      end;
      suppose
A26:    F in NN;
        now
          per cases;
          suppose
            F=H;
            then F in {H} by TARSKI:def 1;
            then F in SN1O & F in SN2O by A6,A15,XBOOLE_0:def 3;
            hence thesis by Lm1;
          end;
          suppose
            not F=H;
            then not F in {H} by TARSKI:def 1;
            then F in (NN \ {H}) by A26,XBOOLE_0:def 5;
            then F in SN1N & F in SN2N by A7,A5,XBOOLE_0:def 3;
            hence thesis by Lm1;
          end;
        end;
        hence thesis;
      end;
      suppose
        F in XNX;
        then consider G such that
A27:    F=G and
A28:    ex G1 st G1 in CastLTL(NX) & G ='X' G1;
        consider G1 such that
A29:    G1 in NX and
A30:    G ='X' G1 by A28;
        G1 in SN1X by A4,A29,XBOOLE_0:def 3;
        then
A31:    F in XSN1X by A27,A30;
        F in XSN2X by A16,A27,A29,A30;
        hence thesis by A31,Lm1;
      end;
    end;
    hence thesis;
  end;
  (w |= *SN1 or w |= *SN2) implies w |= *N
  proof
    assume
A32: w |= *SN1 or w |= *SN2;
    F in *N implies w |= F
    proof
      assume
A33:  F in *N;
      then
A34:  F in *SN2 by A24;
A35:  F in *SN1 by A24,A33;
      now
        per cases by A32;
        suppose
          w |= *SN1;
          hence thesis by A35;
        end;
        suppose
          w |= *SN2;
          hence thesis by A34;
        end;
      end;
      hence thesis;
    end;
    hence thesis;
  end;
  hence thesis by A20;
end;

theorem
  H in the LTLnew of N & (H is disjunctive or H is Until or H is Release
) implies (w |= *N iff (w |= *SuccNode1(H,N) or w |= *SuccNode2(H,N))) by Lm18
,Lm19,Lm20;

Lm21: (H is negative or H is next) implies Subformulae H = (Subformulae
the_argument_of H) \/ {H}
proof
  set H1 = the_argument_of H;
  H in Subformulae H by MODELC_2:45;
  then
A1: {H} c= Subformulae H by ZFMISC_1:31;
  assume
A2: H is negative or H is next;
  then H1 is_immediate_constituent_of H by MODELC_2:20,21;
  then H1 is_proper_subformula_of H by MODELC_2:29;
  then H1 is_subformula_of H;
  then Subformulae H1 c= Subformulae H by MODELC_2:46;
  then
A3: Subformulae H1 \/ {H} c= Subformulae H by A1,XBOOLE_1:8;
  for x being object holds x in Subformulae H iff x in Subformulae H1 \/ {H}
  proof let x be object;
    x in Subformulae H implies x in Subformulae H1 \/ {H}
    proof
      assume x in Subformulae H;
      then consider F such that
A4:   F = x and
A5:   F is_subformula_of H by MODELC_2:def 24;
      now
        per cases;
        suppose
          F = H;
          then F in {H} by TARSKI:def 1;
          hence thesis by A4,XBOOLE_0:def 3;
        end;
        suppose
          F <> H;
          then F is_proper_subformula_of H by A5;
          then F is_subformula_of H1 by A2,MODELC_2:37;
          then F in Subformulae H1 by MODELC_2:45;
          hence thesis by A4,XBOOLE_0:def 3;
        end;
      end;
      hence thesis;
    end;
    hence thesis by A3;
  end;
  hence thesis by TARSKI:2;
end;

Lm22: (H is conjunctive or H is disjunctive or H is Until or H is Release)
implies Subformulae H = ((Subformulae the_left_argument_of H) \/ (Subformulae
the_right_argument_of H) ) \/ {H}
proof
  set H1 = the_left_argument_of H;
  set H2 = the_right_argument_of H;
  set SUBF = (Subformulae the_left_argument_of H) \/ (Subformulae
  the_right_argument_of H);
  H in Subformulae H by MODELC_2:def 24;
  then
A1: {H} c= Subformulae H by ZFMISC_1:31;
  assume
A2: H is conjunctive or H is disjunctive or H is Until or H is Release;
  then H2 is_immediate_constituent_of H by MODELC_2:22,23,24,25;
  then H2 is_proper_subformula_of H by MODELC_2:29;
  then H2 is_subformula_of H;
  then
A3: Subformulae H2 c= Subformulae H by MODELC_2:46;
  H1 is_immediate_constituent_of H by A2,MODELC_2:22,23,24,25;
  then H1 is_proper_subformula_of H by MODELC_2:29;
  then H1 is_subformula_of H;
  then Subformulae H1 c= Subformulae H by MODELC_2:46;
  then SUBF c= Subformulae H by A3,XBOOLE_1:8;
  then
A4: SUBF \/ {H} c= Subformulae H by A1,XBOOLE_1:8;
  for x being object holds x in Subformulae H iff x in SUBF \/ {H}
  proof let x be object;
    x in Subformulae H implies x in SUBF \/ {H}
    proof
      assume x in Subformulae H;
      then consider F such that
A5:   F = x and
A6:   F is_subformula_of H by MODELC_2:def 24;
      now
        per cases;
        suppose
          F = H;
          then F in {H} by TARSKI:def 1;
          hence thesis by A5,XBOOLE_0:def 3;
        end;
        suppose
          F <> H;
          then F is_proper_subformula_of H by A6;
          then F is_subformula_of H1 or F is_subformula_of H2 by A2,MODELC_2:38
;
          then F in Subformulae H1 or F in Subformulae H2 by MODELC_2:45;
          then F in SUBF by XBOOLE_0:def 3;
          hence thesis by A5,XBOOLE_0:def 3;
        end;
      end;
      hence thesis;
    end;
    hence thesis by A4;
  end;
  hence thesis by TARSKI:2;
end;

Lm23: H is atomic implies Subformulae H ={H}
proof
  assume H is atomic;
  then ex n st H = atom.n;
  then
A1: len H =1 by FINSEQ_1:40;
A2: for x being object holds x in Subformulae H implies x in {H}
  proof let x be object;
    assume x in Subformulae H;
    then consider G such that
A3: G = x and
A4: G is_subformula_of H by MODELC_2:def 24;
    now
      assume G <> H;
      then G is_proper_subformula_of H by A4;
      then len G < 1 by A1,MODELC_2:32;
      hence contradiction by MODELC_2:3;
    end;
    hence thesis by A3,TARSKI:def 1;
  end;
  for x being object holds x in {H} implies x in Subformulae H
  proof let x be object;
    assume x in {H};
    then x = H by TARSKI:def 1;
    hence thesis by MODELC_2:45;
  end;
  hence thesis by A2,TARSKI:2;
end;

Lm24: not {} in W
proof
  assume {} in W;
  then ex F st F = {} & F is_subformula_of H by MODELC_2:def 24;
  hence contradiction by CARD_1:27,MODELC_2:3;
end;

theorem Th3:
  ex L st Subformulae H = rng L
proof
  defpred P[LTL-formula] means ex L st Subformulae $1 = rng L;
A1: for H st (H is negative or H is next) & P[the_argument_of H] holds P[H]
  proof
    let H such that
A2: H is negative or H is next and
A3: P[the_argument_of H];
    consider L1 such that
A4: Subformulae the_argument_of H = rng L1 by A3;
    set L = L1 ^ <* H *>;
    take L;
    rng L = rng L1 \/ rng <* H *> by FINSEQ_1:31
      .= Subformulae the_argument_of H \/ {H} by A4,Lm3
      .= Subformulae H by A2,Lm21;
    hence thesis;
  end;
A5: for H st (H is conjunctive or H is disjunctive or H is Until or H is
  Release ) & P[the_left_argument_of H] & P[the_right_argument_of H] holds P[H]
  proof
    let H such that
A6: H is conjunctive or H is disjunctive or H is Until or H is Release and
A7: P[the_left_argument_of H] and
A8: P[the_right_argument_of H];
    consider L1 such that
A9: Subformulae the_left_argument_of H = rng L1 by A7;
    consider L2 such that
A10: Subformulae the_right_argument_of H = rng L2 by A8;
A11: rng(L1 ^ L2) = Subformulae the_left_argument_of H \/ Subformulae
    the_right_argument_of H by A9,A10,FINSEQ_1:31;
    set L = (L1 ^ L2) ^ <* H *>;
    take L;
    rng L = rng (L1 ^ L2) \/ rng <* H *> by FINSEQ_1:31
      .= (Subformulae the_left_argument_of H \/ Subformulae
    the_right_argument_of H) \/ {H} by A11,Lm3
      .= Subformulae H by A6,Lm22;
    hence thesis;
  end;
A12: for H st H is atomic holds P[H]
  proof
    let H such that
A13: H is atomic;
    set L =<* H *>;
    take L;
    rng L = {H} by Lm3
      .= Subformulae H by A13,Lm23;
    hence thesis;
  end;
  for H holds P[H] from MODELC_2:sch 1(A12,A1,A5);
  hence thesis;
end;

registration
  let H;
  cluster Subformulae H -> finite;
  correctness
  proof
    ex L st Subformulae H = rng L by Th3;
    hence thesis;
  end;
end;

definition
  let H, W, L, x;
  func Length_fun(L,W,x) -> Nat equals
  :Def23:
  len CastLTL(L.x) if L.x in W
  otherwise 0;
  correctness;
end;

definition
  let H, W, L;
  func Partial_seq(L,W) -> Real_Sequence means
  :Def24:
  for k holds (L.k in W
  implies it.k = len CastLTL(L.k)) & (not L.k in W implies it.k=0 );
  existence
  proof
    deffunc F(set) = Length_fun(L,W,$1);
A1: for x st x in NAT holds F(x) in REAL
    by ORDINAL1:def 12,NUMBERS:19;
    consider IT being sequence of REAL such that
A2: for x st x in NAT holds IT.x = F(x) from FUNCT_2:sch 11(A1);
    take IT;
    for k holds (L.k in W implies IT.k = len CastLTL(L.k)) & (not L.k in W
    implies IT.k=0 )
    proof
      let k;
A3:   k in NAT by ORDINAL1:def 12;
A4:   not L.k in W implies IT.k=0
      proof
        assume
A5:     not L.k in W;
        IT.k = Length_fun(L,W,k) by A2,A3;
        hence thesis by A5,Def23;
      end;
      L.k in W implies IT.k = len CastLTL(L.k)
      proof
        assume
A6:     L.k in W;
        IT.k = Length_fun(L,W,k) by A2,A3;
        hence thesis by A6,Def23;
      end;
      hence thesis by A4;
    end;
    hence thesis;
  end;
  uniqueness
  proof
    let R1,R2 be Real_Sequence;
    (for k holds (L.k in W implies R1.k = len CastLTL(L.k)) & (not (L.k
in W ) implies R1.k=0 ) ) & (for k holds (L.k in W implies R2.k = len CastLTL(L
    .k)) & (not (L.k in W ) implies R2.k=0 ) ) implies R1 = R2
    proof
      assume that
A7:   for k holds (L.k in W implies R1.k = len CastLTL(L.k)) & (not L
      .k in W implies R1.k=0 ) and
A8:   for k holds (L.k in W implies R2.k = len CastLTL(L.k)) & (not L
      .k in W implies R2.k=0 );
      for x being object st x in NAT holds R1.x = R2.x
      proof
        let x be object;
        assume x in NAT;
        then reconsider x as Nat;
        now
          per cases;
          suppose
A9:         L.x in W;
            then R1.x = len CastLTL(L.x) by A7;
            hence thesis by A8,A9;
          end;
          suppose
A10:        not L.x in W;
            then R1.x=0 by A7;
            hence thesis by A8,A10;
          end;
        end;
        hence thesis;
      end;
      hence thesis by FUNCT_2:12;
    end;
    hence thesis;
  end;
end;

reserve R1,R2 for Real_Sequence;

definition
  let H, W, L;
  func len(L,W) -> Real equals
  Sum(Partial_seq(L,W), len L);
  correctness;
end;

Lm25: (for i st i<=n holds R1.i = R2.i) implies Sum(R1, n) = Sum(R2, n)
proof
A1: CastNat(n)=n by MODELC_2:def 1;
  defpred P[Nat] means (for i st i<=$1 holds R1.i = R2.i) implies Sum(R1,
  CastNat($1)) = Sum(R2, CastNat($1));
A2: for k being Nat st P[k] holds P[k + 1]
  proof
    let k be Nat such that
A3: P[k];
    P[k+1]
    proof
      set m=k+1;
      assume
A4:   for i st i<=k+1 holds R1.i = R2.i;
      then
A5:   CastNat(k)=k & R1.m = R2.m by MODELC_2:def 1;
A6:   for i st i<=k holds R1.i = R2.i
      proof
A7:     k<=k+1 by NAT_1:11;
        let i;
        assume i<= k;
        hence thesis by A4,A7,XXREAL_0:2;
      end;
      reconsider k as Element of NAT by ORDINAL1:def 12;
      Sum(R1, CastNat(m)) = Sum(R1, m) by MODELC_2:def 1
        .= Sum(R2, k) + R2.m by A3,A6,A5,SERIES_1:def 1
        .= Sum(R2, m) by SERIES_1:def 1;
      hence thesis by MODELC_2:def 1;
    end;
    hence thesis;
  end;
A8: P[0]
  proof
    assume
A9: for i st i<=0 holds R1.i = R2.i;
    Sum(R1,CastNat(0)) = Sum(R1,0) by MODELC_2:def 1
      .= R1.0 by SERIES_1:def 1
      .= R2.0 by A9
      .= Sum(R2,0) by SERIES_1:def 1;
    hence thesis by MODELC_2:def 1;
  end;
  for k being Nat holds P[k] from NAT_1:sch 2 (A8,A2);
  hence thesis by A1;
end;

Lm26: (for i st ( i<=n) & not (i=j) holds R1.i = R2.i) & j<=n implies Sum(R1,
n) - R1.j = Sum(R2, n) - R2.j
proof
A1: CastNat(n)=n by MODELC_2:def 1;
  defpred P[Nat] means (for i st i<=$1 & not (i=j) holds R1.i = R2.i) & (j<=$1
  ) implies Sum(R1, CastNat($1)) - R1.j= Sum(R2, CastNat($1))- R2.j;
A2: for k being Nat st P[k] holds P[k + 1]
  proof
    let k be Nat such that
A3: P[k];
    P[k+1]
    proof
A4:   CastNat(k)=k by MODELC_2:def 1;
      set m=k+1;
      assume that
A5:   for i st i<=k+1 & not i = j holds R1.i = R2.i and
A6:   j <= k+1;
      reconsider k as Element of NAT by ORDINAL1:def 12;
      now
        per cases by A6,NAT_1:8;
        suppose
A7:       j <= k;
          then
A8:       j < m by NAT_1:13;
          Sum(R1, CastNat(m)) - R1.j = Sum(R1, m) - R1.j by MODELC_2:def 1
            .= (Sum(R1, k) + R1.m) - R1.j by SERIES_1:def 1
            .= (Sum(R1, k)- R1.j) + R1.m
            .= (Sum(R2, k)- R2.j) + R2.m by A3,A5,A4,A7,A8,NAT_1:12
            .= (Sum(R2, k) + R2.m) - R2.j
            .= Sum(R2, m) - R2.j by SERIES_1:def 1;
          hence thesis by MODELC_2:def 1;
        end;
        suppose
A9:       j = k+1;
A10:      for i st i<=k holds R1.i = R2.i
          proof
            let i such that
A11:        i<=k;
            i < j by A9,A11,NAT_1:13;
            hence thesis by A5,A11,NAT_1:12;
          end;
          Sum(R1, CastNat(m)) - R1.j = Sum(R1, m) - R1.j by MODELC_2:def 1
            .= (Sum(R1, k) + R1.m) - R1.j by SERIES_1:def 1
            .= (Sum(R2, k) + R2.m) - R2.j by A9,A10,Lm25
            .= Sum(R2, m) - R2.j by SERIES_1:def 1;
          hence thesis by MODELC_2:def 1;
        end;
      end;
      hence thesis;
    end;
    hence thesis;
  end;
A12: P[0]
  proof
A13: Sum(R2,CastNat(0)) = Sum(R2,0) by MODELC_2:def 1
      .= R2.0 by SERIES_1:def 1;
    assume that
    for i st i<=0 & not i=j holds R1.i = R2.i and
A14: j<=0;
A15: Sum(R1,CastNat(0)) = Sum(R1,0) by MODELC_2:def 1
      .= R1.0 by SERIES_1:def 1;
    j=0 by A14;
    hence thesis by A15,A13;
  end;
  for k being Nat holds P[k] from NAT_1:sch 2 (A12,A2);
  hence thesis by A1;
end;

theorem Th4:
  len(L,{}H) = 0
proof
  set s = Partial_seq(L,{}H);
A1: for n being Nat holds s.n = 0*n+0 by Def24;
  for n holds Partial_Sums(s).n = 0
  proof
    let n;
A2: s.0 = 0 by Def24;
    Partial_Sums(s).n = (n+1)*(s.0 + s.n)/2 by A1,SERIES_2:42
      .= (n+1)*(0+0)/2 by A2,Def24;
    hence thesis;
  end;
  hence thesis;
end;

theorem Th5:
  not F in W implies len(L,W \ {F}) = len(L,W)
proof
  assume
A1: not F in W;
A2: for x being object holds x in W implies x in W \ {F}
  proof let x be object;
    assume
A3: x in W;
    then not x in {F} by A1,TARSKI:def 1;
    hence thesis by A3,XBOOLE_0:def 5;
  end;
  for x being object holds x in W \ {F} implies x in W by XBOOLE_0:def 5;
  hence thesis by A2,TARSKI:2;
end;

theorem Th6:
  rng L = Subformulae H & L is one-to-one & F in W implies len(L,W\
  {F}) = len(L,W) - len F
proof
  assume that
A1: rng L = Subformulae H and
A2: L is one-to-one and
A3: F in W;
  consider x being object such that
A4: x in dom L and
A5: L.x = F by A1,A3,FUNCT_1:def 3;
  set R2= Partial_seq(L,W\{F});
  set R1 = Partial_seq(L,W);
  set n = len L;
A6: F in LTL_WFF by MODELC_2:1;
  x in Seg n by A4,FINSEQ_1:def 3;
  then x in { k where k is Nat: 1 <= k & k <= n } by FINSEQ_1:def 1;
  then consider k being Nat such that
A7: x=k and
  1<=k and
A8: k <= n;
  reconsider k as Nat;
  L.k in {F} by A5,A7,TARSKI:def 1;
  then not L.k in W\{F} by XBOOLE_0:def 5;
  then
A9: R2.k= 0 by Def24;
  for i st i<=n & not i=k holds R1.i = R2.i
  proof
    let i such that
    i<=n and
A10: not i=k;
    now
      per cases;
      suppose
        not i in dom L;
        then
A11:    L.i = {} by FUNCT_1:def 2;
        then
A12:    not L.i in W by Lm24;
        not L.i in W\{F} by A11,Lm24;
        then R2.i = 0 by Def24
          .= R1.i by A12,Def24;
        hence thesis;
      end;
      suppose
        i in dom L;
        then not L.i = F by A2,A4,A5,A7,A10,FUNCT_1:def 4;
        then
A13:    not L.i in {F} by TARSKI:def 1;
        now
          per cases;
          suppose
A14:        L.i in W;
            then L.i in W\{F} by A13,XBOOLE_0:def 5;
            then R2.i = len CastLTL(L.i) by Def24
              .= R1.i by A14,Def24;
            hence thesis;
          end;
          suppose
A15:        not L.i in W;
            then not L.i in W\{F} by XBOOLE_0:def 5;
            then R2.i = 0 by Def24
              .= R1.i by A15,Def24;
            hence thesis;
          end;
        end;
        hence thesis;
      end;
    end;
    hence thesis;
  end;
  then
A16: Sum(R1, n) - R1.k = Sum(R2, n) - R2.k by A8,Lm26;
  R1.k = len CastLTL(L.k) by A3,A5,A7,Def24
    .= len F by A5,A7,A6,MODELC_2:def 25;
  hence thesis by A9,A16;
end;

theorem Th7:
  rng L = Subformulae H & L is one-to-one & (not F in W) & W1 = W
  \/ {F} implies len(L,W1) = len(L,W) + len F
proof
  assume that
A1: rng L = Subformulae H & L is one-to-one and
A2: not F in W and
A3: W1 = W \/ {F};
A4: for x being object holds x in W1\{F} implies x in W
  proof let x be object;
    assume x in W1\{F};
    then x in W1 & not x in {F} by XBOOLE_0:def 5;
    hence thesis by A3,XBOOLE_0:def 3;
  end;
  for x being object holds x in W implies x in W1\{F}
  proof let x be object;
    assume x in W;
    then (not x in {F})& x in W1 by A2,A3,TARSKI:def 1,XBOOLE_0:def 3;
    hence thesis by XBOOLE_0:def 5;
  end;
  then
A5: W1\{F} = W by A4,TARSKI:2;
  F in {F} by TARSKI:def 1;
  then F in W1 by A3,XBOOLE_0:def 3;
  then len(L,W) = len(L,W1) - len F by A1,A5,Th6;
  hence thesis;
end;

theorem Th8:
  rng L1 = Subformulae H & L1 is one-to-one & rng L2 = Subformulae
  H & L2 is one-to-one implies len(L1,W) = len(L2,W)
proof
  defpred P[Nat] means for W1 st card W1 <=$1 holds (rng L1 = Subformulae H &
L1 is one-to-one) & (rng L2 = Subformulae H & L2 is one-to-one) implies len(L1,
  W1) = len(L2,W1);
  set k = card W;
A1: for k being Nat st P[k] holds P[k + 1]
  proof
    let k be Nat such that
A2: P[k];
    P[k+1]
    proof
      let W1 such that
A3:   card W1 <=k+1;
      rng L1 = Subformulae H & L1 is one-to-one & rng L2 = Subformulae H &
      L2 is one-to-one implies len(L1,W1) = len(L2,W1)
      proof
        assume that
A4:     rng L1 = Subformulae H & L1 is one-to-one and
A5:     rng L2 = Subformulae H & L2 is one-to-one;
        now
          per cases by A3,NAT_1:8;
          suppose
            card W1 <=k;
            hence thesis by A2,A4,A5;
          end;
          suppose
A6:         card W1 = k+1;
            then W1 <> {};
            then consider F being object such that
A7:         F in W1 by XBOOLE_0:def 1;
            F in Subformulae H by A7;
            then reconsider F as LTL-formula by MODELC_2:1;
            {F} c= W1 by A7,ZFMISC_1:31;
            then
A8:         card (W1 \ {F}) = card W1 - card {F} by CARD_2:44
              .= card W1 - 1 by CARD_1:30
              .= k by A6;
A9:         len(L1,W1) = (len(L1,W1) - len F) + len F
              .= len(L1,W1\{F}) + len F by A4,A7,Th6;
            len(L2,W1) = (len(L2,W1) - len F) + len F
              .= len(L2,W1\{F}) + len F by A5,A7,Th6
              .= len(L1,W1\{F}) + len F by A2,A4,A5,A8;
            hence thesis by A9;
          end;
        end;
        hence thesis;
      end;
      hence thesis;
    end;
    hence thesis;
  end;
A10: P[0]
  proof
    let W1;
    assume card W1 <=0;
    then
A11: W1 = {} H;
    then len(L1,W1) = 0 by Th4;
    hence thesis by A11,Th4;
  end;
  for k being Nat holds P[k] from NAT_1:sch 2 (A10,A1);
  then P[k];
  hence thesis;
end;

definition
  let H, W;
  func len(W) -> Real means
  :Def26:
  ex L st rng L = Subformulae H & L is one-to-one & it = len(L,W);
  existence
  proof
    consider L such that
A1: rng L = Subformulae H & L is one-to-one by FINSEQ_4:58;
    set IT = len(L,W);
    take IT;
    thus thesis by A1;
  end;
  uniqueness by Th8;
end;

theorem
  not F in W implies len(W\{F}) = len(W)
proof
  assume
A1: not F in W;
  consider L such that
A2: rng L = Subformulae H & L is one-to-one by FINSEQ_4:58;
  len(W\{F}) = len(L,W\{F}) by A2,Def26
    .= len(L,W) by A1,Th5;
  hence thesis by A2,Def26;
end;

theorem Th10:
  F in W implies len(W\{F}) = len(W) - len F
proof
  assume
A1: F in W;
  consider L such that
A2: rng L = Subformulae H & L is one-to-one by FINSEQ_4:58;
  len(W\{F}) = len(L,W\{F}) by A2,Def26
    .= len(L,W) - len F by A1,A2,Th6;
  hence thesis by A2,Def26;
end;

theorem Th11:
  (not F in W) & W1 = W \/ {F} implies len(W1) = len(W) + len F
proof
  assume
A1: ( not F in W)& W1 = W \/ {F};
  consider L such that
A2: rng L = Subformulae H & L is one-to-one by FINSEQ_4:58;
  len(W1) = len(L,W1) by A2,Def26
    .= len(L,W) + len F by A1,A2,Th7;
  hence thesis by A2,Def26;
end;

theorem Th12:
  W1 = W \/ {F} implies len(W1) <= len(W) + len F
proof
  assume
A1: W1 = W \/ {F};
  now
    per cases;
    suppose
      F in W;
      then {F} c= W by ZFMISC_1:31;
      then W1 = W by A1,XBOOLE_1:12;
      hence thesis by XREAL_1:31;
    end;
    suppose
      not F in W;
      hence thesis by A1,Th11;
    end;
  end;
  hence thesis;
end;

theorem Th13:
  len({}H ) = 0
proof
  consider L such that
A1: rng L = Subformulae H & L is one-to-one by FINSEQ_4:58;
  len({}H) = len(L,{}H) by A1,Def26;
  hence thesis by Th4;
end;

theorem Th14:
  W = {F} implies len(W) = len F
proof
  assume
A1: W = {F};
  then
A2: F in W by TARSKI:def 1;
  now
    assume ex x being object st x in W\{F};
    then consider x such that
A3: x in W\{F};
    x in W by A3,XBOOLE_0:def 5;
    hence contradiction by A1,A3,XBOOLE_0:def 5;
  end;
  then
A4: W\{F}={}H by XBOOLE_0:def 1;
  len(W) = (len(W) - len F) + len F .= len(W\{F}) + len F by A2,Th10
    .= 0 + len F by A4,Th13;
  hence thesis;
end;

theorem Th15:
  W c= W1 implies len(W) <= len(W1)
proof
  defpred P[Nat] means for W1 st card W1 <=$1 holds W c= W1 implies len(W) <=
  len(W1);
  set k = card W1;
A1: for k being Nat st P[k] holds P[k + 1]
  proof
    let k be Nat such that
A2: P[k];
    P[k+1]
    proof
      let W1 such that
A3:   card W1 <=k+1;
      W c= W1 implies len(W) <= len(W1)
      proof
        assume
A4:     W c= W1;
        now
          per cases;
          suppose
            W = W1;
            hence thesis;
          end;
          suppose
            W <> W1;
            then W c< W1 by A4,XBOOLE_0:def 8;
            then consider x being object such that
A5:         x in W1 and
A6:         W c= W1\{x} by XBOOLE_0:8;
            x in Subformulae H by A5;
            then reconsider x as LTL-formula by MODELC_2:1;
            set X = {x};
            X c= W1 by A5,ZFMISC_1:31;
            then card (W1\X) = card W1 - card X by CARD_2:44
              .= card W1 - 1 by CARD_1:30;
            then card (W1\X) +1 <= k+1 by A3;
            then card (W1\X) <= k by XREAL_1:6;
            then len(W) <= len(W1\X) by A2,A6;
            then
A7:         len(W) <= len(W1) - len x by A5,Th10;
            len(W1) - len x <= len(W1) by XREAL_1:43;
            hence thesis by A7,XXREAL_0:2;
          end;
        end;
        hence thesis;
      end;
      hence thesis;
    end;
    hence thesis;
  end;
A8: P[0]
  proof
    let W1;
    assume card W1 <=0;
    then W1 = {} H;
    hence thesis;
  end;
  for k being Nat holds P[k] from NAT_1:sch 2 (A8,A1);
  then P[k];
  hence thesis;
end;

theorem Th16:
  len(W)<1 implies W = {}H
proof
  assume
A1: len(W)<1;
  now
    assume W <> {}H;
    then consider x being object such that
A2: x in W by XBOOLE_0:def 1;
    x in Subformulae H by A2;
    then reconsider x as LTL-formula by MODELC_2:1;
    set X = {x};
A3: X c= W by A2,ZFMISC_1:31;
    x is_subformula_of H by A2,MODELC_2:45;
    then reconsider X as Subset of Subformulae H by Lm9;
    len(X) = len x by Th14;
    then
A4: len(X) >=1 by MODELC_2:3;
    len(X) <= len(W) by A3,Th15;
    hence contradiction by A1,A4,XXREAL_0:2;
  end;
  hence thesis;
end;

theorem Th17:
  len(W) >= 0
proof
  now
    per cases;
    suppose
      W = {}H;
      hence thesis by Th13;
    end;
    suppose
      W <> {}H;
      hence thesis by Th16;
    end;
  end;
  hence thesis;
end;

theorem Th18:
  W = W1 \/ W2 implies len(W) <= len(W1) + len(W2)
proof
  defpred P[Nat] means for W,W1,W2 st card W1 <=$1 holds (W = W1 \/ W2 implies
  len(W) <= len(W1) + len(W2));
  set k = card W1;
A1: for k being Nat st P[k] holds P[k + 1]
  proof
    let k be Nat such that
A2: P[k];
    P[k+1]
    proof
      let W,W1,W2 such that
A3:   card W1 <=k+1;
      W = W1 \/ W2 implies len(W) <= len(W1) + len(W2)
      proof
        assume
A4:     W = W1 \/ W2;
        now
          per cases by A3,NAT_1:8;
          suppose
            card W1 <=k;
            hence thesis by A2,A4;
          end;
          suppose
            card W1 = k+1;
            then W1 <> {};
            then consider x being object such that
A5:         x in W1 by XBOOLE_0:def 1;
            x in Subformulae H by A5;
            then reconsider x as LTL-formula by MODELC_2:1;
            set X = {x};
            set Y = W1\X;
            set Z = Y \/ W2;
A6:         X c= W1 by A5,ZFMISC_1:31;
            then card (Y) = card W1 - card X by CARD_2:44
              .= card W1 - 1 by CARD_1:30;
            then card (Y) + 1 = card W1;
            then card (Y) <= k by A3,XREAL_1:6;
            then Z = Y \/ W2 implies len(Z) <= len(Y) + len(W2) by A2;
            then len(Z) <= len(W1) - len x + len(W2) by A5,Th10;
            then len(Z) <= (len(W1) + len(W2)) - len x;
            then
A7:         len(Z) + len x <= len(W1) + len(W2) by XREAL_1:19;
            Z \/ X = (Y \/ X) \/ W2 by XBOOLE_1:4
              .= W1 \/ W2 by A6,XBOOLE_1:45;
            then len(W) <= len(Z) + len x by A4,Th12;
            hence thesis by A7,XXREAL_0:2;
          end;
        end;
        hence thesis;
      end;
      hence thesis;
    end;
    hence thesis;
  end;
A8: P[0]
  proof
    let W,W1,W2;
    assume card W1 <=0;
    then
A9: W1 = {} H;
    then len(W1) = 0 by Th13;
    hence thesis by A9;
  end;
  for k being Nat holds P[k] from NAT_1:sch 2 (A8,A1);
  then P[k];
  hence thesis;
end;

definition
  let v, H;
  assume
A1: H in Subformulae v;
  func LTLNew1(H,v) -> Subset of Subformulae v equals
  :Def27:
  LTLNew1 H;
  correctness
  proof
    ex F st H=F & F is_subformula_of v by A1,MODELC_2:def 24;
    then Subformulae H c= Subformulae v by MODELC_2:46;
    hence thesis by XBOOLE_1:1;
  end;
  func LTLNew2(H,v) -> Subset of Subformulae v equals
  :Def28:
  LTLNew2 H;
  correctness
  proof
    ex F st H=F & F is_subformula_of v by A1,MODELC_2:def 24;
    then Subformulae H c= Subformulae v by MODELC_2:46;
    hence thesis by XBOOLE_1:1;
  end;
end;

Lm27: H in Subformulae v implies len(LTLNew1(H,v)) <= len(H) -1
proof
  set New = LTLNew1(H,v);
  set Left = {the_left_argument_of H};
  set Right = {the_right_argument_of H};
  assume
A1: H in Subformulae v;
  then
A2: New = LTLNew1 H by Def27;
  ex F st H=F & F is_subformula_of v by A1,MODELC_2:def 24;
  then
A3: Subformulae H c= Subformulae v by MODELC_2:46;
  now
    per cases;
    suppose
A4:   H is conjunctive;
      then Right is Subset of Subformulae H by Lm12;
      then reconsider Right as Subset of Subformulae v by A3,XBOOLE_1:1;
      Left is Subset of Subformulae H by A4,Lm12;
      then reconsider Left as Subset of Subformulae v by A3,XBOOLE_1:1;
      New = {the_left_argument_of H,the_right_argument_of H } by A2,A4,Def1;
      then New = Left \/ Right by ENUMSET1:1;
      then
A5:   len(New) <= len(Left) + len(Right) by Th18;
A6:   len(H) = 1+len(the_left_argument_of H) + len(the_right_argument_of H
      ) by A4,MODELC_2:11;
      len(Left) = len(the_left_argument_of H) & len(Right) = len(
      the_right_argument_of H) by Th14;
      hence thesis by A6,A5;
    end;
    suppose
A7:   H is disjunctive or H is Until;
      then New = Left by A2,Def1;
      then len(New) = len(the_left_argument_of H) by Th14;
      then
A8:   len(New) +0 <= len(the_left_argument_of H) + len(
      the_right_argument_of H) by XREAL_1:7;
      len(H) = 1+len(the_left_argument_of H) + len(the_right_argument_of H
      ) by A7,MODELC_2:11;
      hence thesis by A8;
    end;
    suppose
A9:   H is next;
      1<=len(H) by MODELC_2:3;
      then
A10:  1-1 <= len(H)-1 by XREAL_1:9;
      New = {} v by A2,A9,Def1;
      hence thesis by A10,Th13;
    end;
    suppose
A11:  H is Release;
      then New = Right by A2,Def1;
      then len(New) = len(the_right_argument_of H) by Th14;
      then
A12:  len(New)+0 <= len(the_left_argument_of H) + len(
      the_right_argument_of H) by XREAL_1:7;
      len(H) = 1+len(the_left_argument_of H) + len(the_right_argument_of H
      ) by A11,MODELC_2:11;
      hence thesis by A12;
    end;
    suppose
A13:  not (H is conjunctive or H is disjunctive or H is next or H is
      Until or H is Release);
      1<=len(H) by MODELC_2:3;
      then
A14:  1-1 <= len(H)-1 by XREAL_1:9;
      New = {} v by A2,A13,Def1;
      hence thesis by A14,Th13;
    end;
  end;
  hence thesis;
end;

Lm28: H in Subformulae v implies len(LTLNew2(H,v)) <= len(H) -1
proof
  set New = LTLNew2(H,v);
  set Left = {the_left_argument_of H};
  set Right = {the_right_argument_of H};
  assume
A1: H in Subformulae v;
  then
A2: New = LTLNew2 H by Def28;
  ex F st H=F & F is_subformula_of v by A1,MODELC_2:def 24;
  then
A3: Subformulae H c= Subformulae v by MODELC_2:46;
  now
    per cases;
    suppose
A4:   H is Release;
      then Right is Subset of Subformulae H by Lm12;
      then reconsider Right as Subset of Subformulae v by A3,XBOOLE_1:1;
      Left is Subset of Subformulae H by A4,Lm12;
      then reconsider Left as Subset of Subformulae v by A3,XBOOLE_1:1;
      New = {the_left_argument_of H,the_right_argument_of H } by A2,A4,Def2;
      then New = Left \/ Right by ENUMSET1:1;
      then
A5:   len(New) <= len(Left) + len(Right) by Th18;
A6:   len(H) = 1+len(the_left_argument_of H) + len(the_right_argument_of H
      ) by A4,MODELC_2:11;
      len(Left) = len(the_left_argument_of H) & len(Right) = len(
      the_right_argument_of H) by Th14;
      hence thesis by A6,A5;
    end;
    suppose
A7:   H is disjunctive or H is Until;
      then New = Right by A2,Def2;
      then len(New) = len(the_right_argument_of H) by Th14;
      then
A8:   len(New)+0 <= len(the_left_argument_of H) + len(
      the_right_argument_of H) by XREAL_1:7;
      len(H) = 1+len(the_left_argument_of H) + len(the_right_argument_of H
      ) by A7,MODELC_2:11;
      hence thesis by A8;
    end;
    suppose
A9:   H is conjunctive or H is next;
      1<=len(H) by MODELC_2:3;
      then
A10:  1-1 <= len(H)-1 by XREAL_1:9;
      New = {} v by A2,A9,Def2;
      hence thesis by A10,Th13;
    end;
    suppose
A11:  not (H is conjunctive or H is disjunctive or H is next or H is
      Until or H is Release);
      1<=len(H) by MODELC_2:3;
      then
A12:  1-1 <= len(H)-1 by XREAL_1:9;
      New = {} v by A2,A11,Def2;
      hence thesis by A12,Th13;
    end;
  end;
  hence thesis;
end;

theorem Th19:
  N2 is_succ1_of N1 implies len(the LTLnew of N2) <= len(the LTLnew of N1) - 1
proof
  set NN1 = the LTLnew of N1;
  set NN2 = the LTLnew of N2;
  assume N2 is_succ1_of N1;
  then consider H such that
A1: H in NN1 and
A2: N2 = SuccNode1(H,N1);
  set M1 = NN1 \ {H};
  set New1= LTLNew1(H,v);
  set M2 = New1 \ the LTLold of N1;
  reconsider M1 as Subset of Subformulae v;
  reconsider M2 as Subset of Subformulae v;
  New1 = LTLNew1 H by A1,Def27;
  then NN2 = M1 \/ M2 by A1,A2,Def4;
  then
A3: len(NN2)<=len(M1) + len(M2) by Th18;
  reconsider NN1 as Subset of Subformulae v;
A4: len(M2) <= len(New1) by Th15,XBOOLE_1:36;
  len(New1) <= len(H) -1 by A1,Lm27;
  then len(M2) <= len(H) -1 by A4,XXREAL_0:2;
  then
A5: len(M1) + len(M2) <= len(M1) + (len(H) -1) by XREAL_1:6;
  len(M1) = len(NN1)-len(H) by A1,Th10;
  hence thesis by A5,A3,XXREAL_0:2;
end;

theorem Th20:
  N2 is_succ2_of N1 implies len(the LTLnew of N2) <= len(the LTLnew of N1) - 1
proof
  set NN1 = the LTLnew of N1;
  set NN2 = the LTLnew of N2;
  assume N2 is_succ2_of N1;
  then consider H such that
A1: H in NN1 and
  H is disjunctive or H is Until or H is Release and
A2: N2 = SuccNode2(H,N1);
  set M1 = NN1 \ {H};
  set New2= LTLNew2(H,v);
  set M2 = New2 \ the LTLold of N1;
  reconsider M1 as Subset of Subformulae v;
  reconsider M2 as Subset of Subformulae v;
  New2 = LTLNew2 H by A1,Def28;
  then NN2 = M1 \/ M2 by A1,A2,Def5;
  then
A3: len(NN2)<=len(M1) + len(M2) by Th18;
  reconsider NN1 as Subset of Subformulae v;
A4: len(M2) <= len(New2) by Th15,XBOOLE_1:36;
  len(New2) <= len(H) -1 by A1,Lm28;
  then len(M2) <= len(H) -1 by A4,XXREAL_0:2;
  then
A5: len(M1) + len(M2) <= len(M1) + (len(H) -1) by XREAL_1:6;
  len(M1) = len(NN1)-len(H) by A1,Th10;
  hence thesis by A5,A3,XXREAL_0:2;
end;

definition
  let v, N;
  func len(N) -> Nat equals
  [\ len(the LTLnew of N) /];
  correctness
  proof
    len(the LTLnew of N) >= 0 by Th17;
    hence thesis by INT_1:53;
  end;
end;

theorem Th21:
  N2 is_succ_of N1 implies len(N2) <= len(N1) - 1
proof
  set r1 = len(the LTLnew of N1);
  set r2 = len(the LTLnew of N2);
  assume N2 is_succ_of N1;
  then N2 is_succ1_of N1 or N2 is_succ2_of N1;
  then r2 <= r1-1 by Th19,Th20;
  hence thesis by Lm5;
end;

theorem Th22:
  len(N)<=0 implies the LTLnew of N = {}v
proof
  assume
A1: len(N)<=0;
  len(the LTLnew of N) -1 < [\ len(the LTLnew of N) /] by INT_1:def 6;
  then len(the LTLnew of N) -1 +1 <0+1 by A1,XREAL_1:8;
  hence thesis by Th16;
end;

theorem Th23:
  len(N)>0 implies the LTLnew of N <> {}v
proof
  assume
A1: len(N) >0;
  now
    assume the LTLnew of N = {}v;
    then len (the LTLnew of N) = 0 by Th13;
    hence contradiction by A1;
  end;
  hence thesis;
end;

theorem
  ex n,L,M st 1 <= n & len L = n & L.1 = N & L.n = M & the LTLnew of M =
  {}v & L is_Finseq_for v
proof
  defpred P[Nat] means for N holds len(N)<=$1 implies ex n,L,M st 1 <= n & len
  L = n & L.1 = N & L.n = M & the LTLnew of M = {}v & L is_Finseq_for v;
A1: for l being Nat st P[l] holds P[l + 1]
  proof
    let l be Nat such that
A2: P[l];
    P[l+1]
    proof
      let N;
      len(N)<=l+1 implies ex n,L,M st 1 <= n & len L = n & L.1 = N & L.n =
      M & the LTLnew of M = {}v & L is_Finseq_for v
      proof
        assume
A3:     len(N)<=l+1;
        ex n,L,M st 1 <= n & len L = n & L.1 = N & L.n = M & the LTLnew
        of M = {}v & L is_Finseq_for v
        proof
          set NewN=the LTLnew of N;
          now
            per cases by A3,NAT_1:8;
            suppose
              len(N)<=l;
              hence thesis by A2;
            end;
            suppose
A4:           len(N)=l+1;
              then NewN <> {}v by Th23;
              then consider x being object such that
A5:           x in NewN by XBOOLE_0:def 1;
              x in Subformulae v by A5;
              then reconsider x as LTL-formula by MODELC_2:1;
              set M1 = SuccNode1(x,N);
              M1 is_succ1_of N by A5;
              then
A6:           M1 is_succ_of N;
              then len(M1)<=len(N)-1 by Th21;
              then consider n,L,M such that
A7:           1 <= n and
A8:           len L = n and
A9:           L.1 = M1 and
A10:          L.n = M and
A11:          the LTLnew of M = {}v and
A12:          L is_Finseq_for v by A2,A4;
              set L1 = <*N*>^L;
              set n1=n+1;
A13:          len L1 = len <*N*> + len L by FINSEQ_1:22
                .= n1 by A8,FINSEQ_1:39;
A14:          L1 is_Finseq_for v
              proof
                let k such that
A15:            1 <= k and
A16:            k < len(L1);
A17:            k+1<=len(L1) by A16,NAT_1:13;
                ex N1,N2 st L1.k = N1 & L1.(k + 1) = N2 & N2 is_succ_of N1
                proof
                  set N2 = L1.(k+1);
                  set N1 = L1.k;
                  now
                    per cases;
                    suppose
                      k<=1;
                      then
A18:                  k=1 by A15,XXREAL_0:1;
                      then reconsider N1 as strict LTLnode over v by
FINSEQ_1:41;
                      len <*N*> =1 by FINSEQ_1:39;
                      then
A19:                  N2 = L.(2-1) by A17,A18,FINSEQ_1:24
                        .= M1 by A9;
                      then reconsider N2 as strict LTLnode over v;
                      take N1,N2;
                      thus thesis by A6,A18,A19,FINSEQ_1:41;
                    end;
                    suppose
A20:::  by Robert Milewski:::: Received April 17, 2000
                      set km1= k -:: version 3.0 or later, or the Creative Commonsbinding interpretation
                      reconsider :: http://creativecommons.org/licenses/by-sa/3.0/.
                      1<km1+ SUBSET_1 RELAT_1,FUNCT_1, SUPINF_2, CARD_3, NAT_1, PARTFUN1, FINSEQ_5,
                      then
A21:                  1<= km1 by NAT_1:13;
A22:                  len <*N*> < k by A20,FINSEQ_1:39;
                      
A23                  =.(k-len<**>)by ,FINSEQ_1:24
                         Lkm1by FINSEQ_1:39;
                      k=k+ by NAT_1:1;
                            ,CLASSES1, RELSET_1,PARTFUN1, FINSET_1, FUNCT_2, FUNCOP_1,
                      then
2= L.(k+1 -len <N> by A17,INSEQ_1:24
                        . L.k1-1)byFINSEQ_1:39
                              ,FVSUM_1, VFUNCT_1,NUMBERS
25                  <n1-1 by A13,A16,XREAL_1:14;
                      then
:                  N10, st L.km1 =N10 & L.(km1 + 1) = N20 & N20
                                  is_succ_of N10 by A8,A12,A21;
                     then reconsider  as strict LTLnodeover v by A23;
                       theorems AXIOMS,TARSKI,ENUMSET1 RELSET_1,INT_1, NAT_1,CARD_1, RLVECT_1,
                      take N1,N2;
thusthesis by A8,A12,A21,A25,A23,24;
                    endBHSP_1 NORMSP_1, XREAL_0, NAT_D, PRE_POLY, NUMBERS, VALUED_0, RVSUM_2;
                  begin  :: Preliminari
                  hence thesis;
                end;
                hence thesis;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
:          *N>=1 byFINSEQ_1:;
A28:         L1.=N  FINSEQ_1:41;
              1<n1    assume
              then L1.n1 =      = 0Lby A1,A2;
                .= M by A10;
              hence thesis by A11ofthe carrier of  holds Sum p =Sum Rev p
            end;
          end;
          hence thesis;
        end;
        hence thesis;

      hence thesis;
      end;
    hence;
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    p  REAL-alued FinSequence;
reconsider k as Nat;
A29:P0java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
  proof
    let    let p be FinSequence of REAL;
lenN<0implies ex ,,M st 1 <=n&lenL= n&L. =N&L.n  =M&
     LTLnewof M ={v  L is_Finseq_for v
    proof
      pbe FinSequence of REAL holds P[p]from FINSEQ_2:sch (A3,1;
      setM=N
      assume
A30:  len(N)<=0;
      take n;
         **;
ake Ljava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
      take M;
;
    end;
hence;
end
forkbeing  holds Pk from : 2(A29,1)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
  then P[khence  byA6FINSEQ_1def 7
  hence thesis;
end;

theoremTh25:
  N2 is_succ_of  for p be  of NAT holds Pp]from FINSEQ_2:sch 2(A7,A1);
  the
proof
  assume
A1

    perletqbeElementof n-uples_on;
    supposecoherence
       N1;
ch that
 of N1&N2=SuccNode1(HN1;
      the LTLold  redefine func p ^ q >Elementof(k+n-tuples_on D);
      the let y be object
      hence thesis by XBOOLE_1:7;
    end;
    suppose
      N2 is_succ2_of N1;
      then consider H such that
A3:   H in the LTLnew of N1 and
      A1   x in dom(p^q)and
      reconsider x  set byTARSKI:1;
      the LTLold of N2 =(the LTLoldthen
LE_1:7;
    end;
  end;
  hence thesis;
end;

theorem Th26:
  L is_Finseq_for v & m<= len(L) & L1 = L|Seg m implies L1 is_Finseq_for v
proof
  assume that
A1: L is_Finseq_for v and
A2: m<= len(L) and
A3: L1 = L|Seg m;
  reconsider L1 as FinSequence;
A4: len(L1) = m by A2,A3,FINSEQ_1:17;
A5:dom L1= Seg  m  A2,A3,FINSEQ_1:17;
  for k st 1  end
  &N2 is_succ_of N1
  proof
    let k such that
:1 = k and
A7: k < len(L1);
    k in dom L1 by A4,A5,A6,A7,FINSEQ_1:1;
    then
A8: L1.k=L.k by A3,FUNCT_1:47;
    1<= k+1 & k+1<=m by A4,A6,A7,NAT_1:13;
    then k+1 in dom L1 by A5,FINSEQ_1:1;
    then
:.k+)L.(+) by A3,UNCT_147;
    k < len(L) by A2,A4,A7   P[Nat,FinSequence]means len $ =T$)& for n be
    hence thesis by A1,A6,A8,A9;
  end;
  hence thesis;
end;

theorem Th27:
  L is_Finseq_for v & F theLTLold f (L.1,) & <
n & n <= lenA1 fork  Nat stk in Seg A( exdbe ElementofD) st P,d ]
  notFin  LTLold of CastNode(L,v &Fin theLTLoldof CastNode(L.(m+1
v)
proof
  assume
A1: L is_Finseq_for v & not F in the LTLold of CastNode(L.1,v) & 1< n &
(n,)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  defpred P[Nat] means     let  be Element of NAT;
 (F1 in  LTLold of CastNode(.,) &(< n1 & n1<= len(L1)&F1 
the LTLold of CastNode(java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 23
  LTLold of CastNode(L1  RECDEF_1:sch 17(A1);
A2: for k being Nat st P[k] holds P[k +let k be Element of NAT;
  proof
    nbejava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
A3 [k];
    P[k + 1]
    proof
      let F1,n1,L1 such that
A4:   len(L1) <= k+1;
      now
        per cases by A4,NAT_1:8;
        suppose
          len(L1)<=k;
          hence thesis by  fork  Natst 1 = k &k<i p. =qk
        end;
A: iin
:len(1)k+;
          L1 is_Finseq_for v & not F1 in the LTLold of CastNode(L1.1,v) &
  &< lenL1  F1 intheLTLoldof L1,v)   mst1
<= m & m<n1 & not F1 in the LTLoldA5  in Segn and
          CastNode(L1.(m+1),v)
          proof
            assume  suppose
A6end;
A7j<ijava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
8:        <n1 and
A9:           let n be Element of NAT;
e(L1.n1,v;
            now
               cases by A5,A9,NAT_1:;
              suppose
java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 0
                set L2=L1|Seg k;
                reconsiderL2as FinSequence by FINSEQ_1:15;
           0=k1 java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 40
                then
            domL2 =Segk by A5,INSEQ_1:;
                then n1 in < q q < r implies p <= r)
                then
A14:            L2  thus
         1<k by A8,11XXREAL_02
                then1indomL2by A13,FINSEQ_1:1java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
                then
:notin   ofCastNode(L2.1,) by A7,FUNCT_147;
java.lang.StringIndexOutOfBoundsException: Range [32, 16) out of bounds for length 79
                then consider m such that
A16:           < m and
A17:            m<n1 and
A18:            ( not F1 in the LTLold of CastNode(L2    now
                the A11:i> 1by A4,INSEQ_1:;
                m        hence p.  r. by ,A9,10A11
                
A19:            m+1 <=k        hence p. <r.tby A6,A8,A12,13;
                1< m+1 by A16,NAT_1:13;
                then m+1 in dom L2 by      end
                then
A15: k <t
                m <=k by A11,A17,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 29
                then m in dom L2 by A13,A16,FINSEQ_1:1;
                then L2.m = L1.m by FUNCT_1:47;
                hence thesis by A16,A17,A18,A20;
              end;
              suppose
A21:            n1=k+1;
                then
A22:            1<= k by A8,NAT_1:13;
A23:            k+0 < k+1 by XREAL_1:8;
                now
                  per cases;
                  suppose
                    not F1 in the LTLold of CastNode(L1.k,v);
                    hence thesis by A10,A21,A23,A22;
                  end;
                  suppose
A24:                F1 in the LTLold of CastNode(L1.k,v);
:1<k
                                       proof
                       b=-k;
                      set a=k-1;
A26:                  a+b=0 & 1
now
                        k=;
                        then 1-1<=1-k by XREAL_1:10;
                        then a=0 by A26;
                        hence contradiction by A7,A24;
                      end;
                      hence thesis;
                    end;
                    set L2=L1|Seg k;
                    reconsider L2 as FinSequence by FINSEQ_1:15;
A27:                k+0 <= k+1 by java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 6
                    
A28:                dom L2 = Seg k by A5,FINSEQ_1:17;
                    then k in dom L2 by A22,FINSEQ_1:1;
                    then
A29:                F1 in the LTLold of CastNode(L2.k,v) by A24,FUNCT_1:47;
                    1 in dom L2 by A22,A28,FINSEQ_1:1;
                    then
A30:                not F1 in the LTLold of CastNode(L2.1,v) by A7,FUNCT_1:47;
                    len(L2) = k & L2 is_Finseq_for v by A5,A6,A27,Th26,
FINSEQ_1:17;
                     considerm  that
 1<=m and
A32:               m< and
A33:                    etnbeNat;
:               F1 inthe LTLold of CastNodeL2(+,  3A30A29,25;
                    m in dom L2 by A28,A31,A32,FINSEQ_1:1;
                    then
A35:                not F1 in the LTLold of CastNode(L1.m,v) by A33,FUNCT_1:47;
                    1<= m+1 & m+1<=k by A31,A32,NAT_1:13;
                    then m+1 in dom L2 by A28,FINSEQ_1:1;
                    then
A36:                L2.(m+1) = L1.(m+1) by FUNCT_1:47;
                    m<n1 by A21,A23,A32,XXREAL_0:2;
                    hence thesis by A31,A34,A35,A36;
                  end;
                end;
                hence thesis;
              end;
            end;
            hence thesis;
          end;
          hence thesis;
        end;
      end;
      hence thesis;
    end;
    hence thesis;
  end;
A37: P[0];
  for k being Nat holds P[k] from NAT_1:sch 2 (A37,A2);
  hence thesis by A1;
end;

theorem Th28:
  N2 is_succ_of N1 & not F in the LTLold of N1 & F in the LTLold
  of N2 implies N2 is_succ_of N1,F
proof
  assume that
A1: N2 is_succ_of N1 and
A2: not F in the LTLold of N1 and
A3: F in the LTLold of N2;
  now
    per cases by A1;
    suppose
      N2 is_succ1_of N1;
      then consider H such that
A4:   H in the LTLnew of N1 & N2 = SuccNode1(H,N1);
      the LTLold of N2 =(the LTLold of N1) \/ {H} by A4,Def4;
      then F in (the LTLold of N1) or F in {H} by A3,XBOOLE_0:def 3;
      then F=H by A2,TARSKI:def 1;
      hence thesis by A4;
    end;
    suppose
      N2 is_succ2_of N1;
      then consider H such that
A5:   H in the LTLnew of N1 and
A6:   H is disjunctive or H is Until or H is Release and
A7:   N2=SuccNode2(H,N1);
      the LTLold of N2 =(the LTLold of N1) \/ {H} by A5,A7,Def5;
      then F in (the LTLold of N1) or F in {H} by A3,XBOOLE_0:def 3;
      then F=H by A2,TARSKI:def 1;
      hence thesis by A5,A6,A7;
    end;
  end;
  hence thesis;
end;

theorem Th29:
  L is_Finseq_for v & F in the LTLnew of CastNode(L.1,v) & 1< n &
n <= len(L) & not F in the LTLnew of CastNode(L.n,v) implies ex m st 1<= m & m<
n & F in the LTLnew of CastNode(L.m,v) & not F in the LTLnew of CastNode(L.(m+1
  ),v)
proof
  assume
A1: L is_Finseq_for v & F in the LTLnew of CastNode(L.1,v) & 1< n & n <=
  len (L) & not F in the LTLnew of CastNode(L.n,v);
  defpred P[Nat] means for F1,n1,L1 st len(L1) <= $1 holds L1 is_Finseq_for v
  & F1 in the LTLnew of CastNode(L1.1,v) & (1< n1 & n1 <= len(L1) & not (F1 in
  (L1.n1,)) ) mplies ex m st 1<= m & m<n1 & F1 in the
  LTLnew of CastNode(L1.m,v) & not (F1 in the LTLnew of CastNode(L1.(m+1),v));
A2: for k being Nat st P[k] holds P[k + 1]
  proof
    let k such that
A3:P[k];
    P[k + 1]
    proof
       F1,1,L1 such that
A4:   len(L1)       then consider i be Element of NATsuch that
      now
percases by 4NAT_1:8java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
        
          len(1)<=;
          hence thesis by A3;

        suppose
A5:      
          L1 is_Finseq_for A15   in domt1 byA6,A12,FINSEQ_3:25;
n1 A16 k  t2byA7,12A14F2;
1<  & mn1&F1inthe  of CastNode(1mv)& not F1 in the LTLnew of
          CastNode(L1suppose
          proof
            assume 
A6:         L1 is_Finseq_for v and
A7:         A18: 1 < k and
A8:         1< n1 and
A9:         n1 <=       k in dom t1 by,A18,20FINSEQ_3:25;
n1v)
            java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 8
              per
            
A11:            n1<=k;
                set   =qjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
                 L2  FinSequence FINSEQ_1:;
            + =k+ by:7;
  thus i in Seg byA2java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
             L2  k by A5,FINSEQ_117;
                then n1 in end;
                then
A14:            L2.n1   for p beElementof -tuples_on NAT holds[,] in it iff p < q;
     1<k ,A11,XREAL_02java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
                then 1 in dom L2 by A13,FINSEQ_1:1;
                then
 F1in  ofCastNodeL21v) by A7,UNCT_1:47;
                len(L2proof
                then considerA3    in tuples_on &y in -uples_onNAT & z  -uples_on NAT 
            <mand
A17:            m<n1 and
A18:            F1 in theend;
                LTLnew of CastNodeA6:domR=ntuples_on NAT  fieldR=n-tuples_on NAT  ORDERS_1:3java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
                m+1<=n1 by A17,NAT_1:13;
                then
A19:            m+1 <=k by A11,XXREAL_0:2;
                1<= m+1 by A16,NAT_1:13;
                then m+1 in dom L2 by A13,A19,FINSEQ_1:1;
                then
A20:            L2.(m+1) = L1.(m+1) by FUNCT_1:47;
                m <=k by A11,A17,XXREAL_0:2;
                then m in dom L2 by A13,A16,FINSEQ_1:1;
                then L2.m = L1.m by FUNCT_1:47;
                hence thesis by A16,A17,A18,A20;
              end;
              suppose
A21:            n1=k+1;
                then
A22:            1<= k by A8,NAT_1:13;
A23:            k+0 < k+1 by XREAL_1:8;
                now
                  per cases;
                  suppose
                    F1 in the LTLnew of CastNode(L1.k,v);
                    hence thesis by A10,A21,A23,A22;
                  end;
                  suppose
A24:                not F1 in the LTLnew of CastNode(L1.k,v);
A25:                1<k
                    proof
                      set b=1-k;
                      set a=k-1;
A26:                  a+b=0 & 1-1<=k-1 by A22,XREAL_1:9;
                      now
                        assume k<=1;
                        then 1-1<=1-k by XREAL_1:10;
                        then a=0 by A26;
                        hence contradiction by A7,A24;
                      end;
                      hence thesis;
                    ;
                    set L2=L1|Seg k;
                    reconsider L2 as FinSequence by FINSEQ_1:15;
A27:                k+0 <= k+1 by XREAL_1:7;
                    then
A28:                dom L2 = Seg k by A5,FINSEQ_1:17;
                    then k in dom L2 by A22,FINSEQ_1:1;
                    then
A29:                not F1 in the LTLnew of CastNode(L2.k,v) by A24,FUNCT_1:47;
                    1 in dom L2 by A22,A28,FINSEQ_1:1;
                    then
A30:                F1 in the LTLnew of CastNode(L2.1,v) by A7,FUNCT_1:47;
                    len(L2) = k & L2 is_Finseq_for v by A5,A6,A27,Th26,
FINSEQ_1:17;
                    then consider m such that
A31:                1<= m and
A32:                m<k and
A33:                F1 in the LTLnew of CastNode(L2.m,v) and
A34:                not F1 in the LTLnew of CastNode(L2.(m+1),v) by A3,A30,A29
,A25;
                    m in dom L2 by A28,A31,A32,FINSEQ_1:1;
                    then
A35:                F1 in the LTLnew of CastNode(L1.m,v) by A33,FUNCT_1:47;
                    1<= m+1 & m+1<=k by A31,A32,NAT_1:13;
                    then m+1 in dom L2 by A28,FINSEQ_1:1;
                    then
A36:                L2.(m+1) = L1.(m+1) by FUNCT_1:47;
                    m<n1 by A21,A23,A32,XXREAL_0:2;
                    hence thesis by A31,A34,A35,A36;
                  end;
                end;
                hence thesis;
              end;
            end;
            hence thesis;
          end;
          hence thesis;
        end;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
  java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 77
    java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 17

schemes ,java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 73
   k  Pk fromNAT_1sch2A,)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 21



 ofN1 not FintheLTLnew
  of N2 implies N2 is_succ_of N1,F

  assume that
java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
: LTLnewN1 and
:F ;
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
p java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 20
    suppose<*java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
is_succ1_ofjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
thenjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 31
A4:Hinthe LTLnew  N1 & N2=SuccNode1HN1)
      the LTLnew of N2 =((the LTLnewholds Sum$ = $1.;
      LTLold of N1) by A4,Def4;
      then not F in (the LTLnew of N1)\ {H} by A3,XBOOLE_0:def3;
F  LTLnewofN1or in {H} by XBOOLE_0:def 5;
then =H  A2,ARSKId 1;
      thesis by A4;
    end;
    suppose
      A5: i in p<>;
H 
:intheLTLnewofand
A6:   H ;
:N2(HN)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
LTLnewof =theLTLnew N1 \H)\/(H\
      LTLold of N1letabElementD
      then
F   of  in H XBOOLE_0 
      thenFH by A2TARSKIdefp^ is Tupleof k+,Djava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
,A7;
e;
  end;
  hence thesis;
end;

theorem Th31:
  L is_Finseq_for v & 1<= m & m<=n & n<= len(L) implies the LTLold
of CastNode(L.m,v) c= the LTLold of CastNode(L.n,v) & the LTLnext of CastNode(L
  .m,v) c= the LTLnext of CastNode(L.n,v)
proof
  assume
A1: L is_Finseq_for v & 1<= m & m<=n & n<= len(L);
 defpred P[ means for n1,m1,L1 st len(1) = 1 holds L1 is_Finseq_for v
      
       
  LTLnext of CastNode(L1.n1,v));
: k being Nat st P[k] holds P[k + 1]
  prooflet T1T  ofA5    indomA3java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 38

A3:      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 35
    P[k;
   -qjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 64
      let n1,end
( +1
      now
       by,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
        suppose
          len( thus d T A2;
          hence thesis by A3
        
        suppose kElement ;
:len(=+1
L1  let p,q be Element of n-tu Element n-java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 40
LTLoldbejava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 49
CastNodeL1m1vc end
          proof
            assume that
A6::  .jjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
A7:         1<= 
A8:        m1<n1 and
A9:         n1<= len(L1):ef4java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
ejava.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
           
              per cases      <java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
              
         =;
                set pnbe of
    NAT for,q Element ntuples_onNAT
            + =k1XREAL_1:java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
                then
A1   &   java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 31
           dom by        Sum =java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31

        .  n1 FUNCT_147java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
                m1<=      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
                    thus thesis by
                then
A15:                given A1 be finite  nd;
                e;
                A3java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 15
              end;
              suppose

                now
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 45
                  suppose
A17:                m1<n1;
                    set L2=L1|Seg k;
                    reconsider L2let   ofNATjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A18:                m1<=k by A16  
k+<k1by7
                    then
                domL2 = k byA5,INSEQ_117;
                    then m1 in dom L2 by A7,A18,FINSEQ_1:1;A3:p =t1^<*:;
                   
                m   by:;
A22:                < java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15

then
A11pi=.A3: ;
lenL2   &is_Finseq_for A5A,19T,
FINSEQ_1:17;
                    thenthen
A24:                the LTLold .k . A3:7
(L1v    L.,v =the fjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
L1kv)byA7A,,A23;
NAT_1:java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
                    then consider N1,N2 such       k   t1 by A,A20FINSEQ_325
A25:                N1 = L1.k & N2=L1.(k+1) and
:N2  ,A22;
A27:                N1 = CastNode(N1,v) & N2 = CastNode(N2,v) java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 37
                    the  TuplesOrder, is  ;
                    N1 c= the java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 4
                    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
                  end;
                  suppose
                    m1=n1;
                    hence thesis;
               java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
                end;
                java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 35
              end;
            nd
            java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 8
          A1 ,y      AA2Ajava.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
            java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
        end;

     
    end;
    thesis
  end;
A28: P[0];
forkbeing holds [k]from  then
java.lang.StringIndexOutOfBoundsException: Range [20, 2) out of bounds for length 21
1x1 =x2 ElementofNAT  A78java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55

theorem, beOofntuples_onjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 8
  N2 is_succ_of N1,F implies A12 forp,  Element ofntuples_on NAT  [,q]    now

  assume
A1 x in [,  
      qbe  
     cases java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    suppose
de1(,1;
      then:[,y] =[p,]and
      then
:F =  of :7java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
      F in {F} by TARSKI:def 1;
      hence thesis by A2;
    end;
    suppose
      F in the LTLnew of N1 & (Fdef 
      Release) & N2=SuccNode2=A14:1
      then the LTLold of N2 =(the LTLoldthen
          then
A3:   {F} c= the   coherence
      F in {F         encex1  x2 A16FINSEQ_11
thesisbyA3java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
    end;
  end;
   thesisjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
end;

theorem    
  then   
)),v) = {} v implies thereconsider as  by : 
(L)v))
proofSubset -  st   ( iA &  
  that
A1: L is_Finseq_for A1: for p be Element  A22,A25;
:1< suppose
A3A3:   x  A;
s n ();
  the LTLnew of CastNode(L      ;
  
  letx beobjectjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    assume
A4: x   ot y in{ t where t     n1}by ,XIOMS:4
thenin vjava.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
    then java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 10
    1<n by A2,A3,A4,XXREAL_0:1;
    then consider m such that
 1=m &java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 12
A6: x in     let p1,2    now
    CastNode(L.(m+1) ,v)A29      0;
        m1 =m+;
    1<=m1 & m1<=n by A5,A10: p2 = SgmX (TuplesOrder)and
    then
A7: the LTLoldof CastNode(Lm1,)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 11
 that
A8: N1 = L.m and
A13   in A2;
A10: N2 is_succ_of      end;
A11: N2 = CastNode(L.m1,v) by  hence xinA1   ;
;
    then x in the LTLold java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    hence thesis by A11,A7;
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
  thenreconsiderp    i > 1 byNAT_14java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
;

theorem Th34:
is_Finseq_for  < <len)   CastNodejava.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
.(     xbejava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
L(  for n be Elemen  (,  java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
proof
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 13
A1: L <*}
A2:   java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 9
ex,L2  is_Finseq_for v   L12&2=.&1=len(2 & len(
  L2 len()-m-)& L2
  hencethesis byA2Tjava.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26


java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
  L hence  A2,;
   then = as Element of 1-tuples_on NAT;
proof
    .=  ,java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
  then
N . 
:=.)  java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 31
  CastNode(  len Decompn,1  1 by Th8;
  hence thesis by A2,Def16;
 .dom<<n*> by FINSEQ_138;

theorem Th36:
(L.v
  ))< CastNode(.v)-+    A8FUNCT_1:;
proof
defpred[  <k1n'*  (,2j=<2n-'*
  & j<p
A1: for n st P[n] holds Px1inSeg\ {n1 y A6A7,FINSEQ_19;
  proof
    let n;
    assume
A2: P[n];
 Lklen)=n1holdsLis_Finseq_forv<  <enL
    A15 q1k2 = <*,*>   then
    proof
      let L,k such that
   ( +;
      
      <=     [<*k1,n-*,*     end
      
       set L1= L| n;
        assume that
seq_forvand
A6:     1<= k and
A7:     k<=len(L);
        reconsider L1 as java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 7
A8:    <len()by A4,AT_1:;
        then
A9:     len(L1) = n by FINSEQ_1:17;
A10:    dom L1 = Seg n by A8, then<*k1,-k1*>.  *k2,-k2>1by ;
A11:    for m st 1=m&m=n holds L1. = L.java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
        byA10,INSEQ_1:,FUNCT_147
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
        now
          per cases by A4,A7
          suppose
A13:        k<=n;
            then 1<=n by A6,XXREAL_0:2;
            then
A14:        L1  uppose
            . =Lk  A6,,A13;
        A2A,6A8A,,A14Th26
          
          suppose
A15:        k=n+1 & n>=1;
            then
            len(  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
            then
:lenaLv <.)+:;
            L1.n = L.n & L1.1=L.1 by A11,A15;
          java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
CastNode,) (L1,)- A28
,A15,Th26;
           len((L,v)  < (en(CastNode(L.,v) -)1thenq1.=<,n*b A1FINSEQ_142
,end
            hence thesis by A15, letxbe object;
          end;
          suppose
            A26: x = <*i,'*>and
            hence thesis;
      casesbyA27A28F1
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        henceA9:Sum<k2-'2>> k2 by NAT_1:ef 3java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
      end;
 java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
    end;
    P[n+1]
conside finiteof- that
      , such that
A17:  len(L)<=n+1;
      L is_Finseq_for v & 1<= j & j<=lenjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 34
      <= len(CastNode thus A c= {<*i,n-'i*> where  reconsider k as Elementof NATby :12
      proof
        now
per byA17,:8;
          suppose
            len(L assume,)SgmX(uplesOrder,A) and
            hence thesis by A2;
          end;
          suppose
            len(L) =n+1;
            hence thesis by A3      <d1,d2* =n y,A4java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
          end;
        end;
        hence thesis;
      end;
      hence thesis;
    end;
hence ;


s (
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;

 ,for strict over v;

theorem Th37 then( (uplesOrder 2,)/1=  A be finite ubset of-tuples_onNATsuch that
  s2 is_next_of s1 implies the LTLnextjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
roof
  set N1 =      let ybe objectjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A1: the LTLnew of s2 = {} v by Def11;
assume consider   be Elementof NAT such that
  then consider L such that
: by,A6java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 41
A3: L is_Finseq_for v and
java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 20
A5:L.len()) java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
  set n =    assume 
A6: CastNode(L.n,v) = s2 by A5,Def16;
A7: CastNode(L.1,v) = N1 by A4,Def16;
the  of s1 c= the LTLold of s2
  proof
   let  beobject;
hencethesis A8,UNCT_17;
 inof s1;
      Decomp(n,2.i =<k1n'k1*>&Decomp(n,).j =<k2,n-'k2*>
    then    then
    A:(,2)i=<k1,-k1*> nd    n+-j+) > by A7,REAL_1:;
consider   
9:1< m &mn and
A10: x in the:(    reconsidjj  non ofNATby ORDINAL1def12
(m1 v)A3A710j-=- XREAL_19;
set=m;
, such
A11: N1 = L.m and
A12: N2 = L.(m+1) java.lang.StringIndexOutOfBoundsException: Range [18, 21) out of bounds for length 7
A13: N2 consider d1 then
A14: N2 =     Decomp(n,2: 2;
1m  = byjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
:d1d2=nRVSUM_1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    N1 = CastNode(L.m,v) by A11,A14: d2 = n-'d1 by A13,XREAL_0:def
    then x in the LTLold
    hence thesis by A6,A15;
  end;
  hence thesis;
end;

theorem Th38:
s2for     =k&k<1 holds <k1,-k1*>k =<k2,
L  is_Finseq_for vA17:Pjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
 CastNodeL(+)v > byTh13
proof
a hat
A1: s2 is_next_of s1 and
A2: F in the LTLold of s2;
  set N1 =    then
  consider L such that
A3:   let p,rbesequence of L;
A4: L is_Finseq_for v and
A5: L.1 = 'X' s1 & L.(len(L))java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 5
set n =len(L);
)=N1  astNode(.n,)=by A5,Def16
< 
   consider that
A7: 1<= m & m<n and
A8: ( not F in the LTLold of CastNode(LAjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
CastNode.(+),v) yA2,A4,6Th27;
  set m1  then
  consider N1,N2 such that
A9: N1 = k inSeg A5:k1  k2 by A3,XREAL_01java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A10: N2 is_succ_of N1 by A4,A7;
    astNode(,)   CastNodeL1byA9,ef16;
hencethesisby A3,4A5A7A8,,Th28;
end;

theorem Th39:
  s2 is_next_ofassume iidom;
  the_left_argument_of H in theA9:      Sum*22>=k2+(-)y :;
LTLold  & H the LTLnextofs2

       thesis by A4,6FINSEQ_2:9;
    end;
  set java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  assume that
A1: s2 is_next_of 
A2: H is Release and
 H  theLTLoldofs2 and
 LTLold
consider,suchthat
  1<=len(L) and
A5: L is_Finseq_for v and

A6:L(len((L))=s2 
A7: 1<= m & mA2:t consA inite  2-uples_onNATsuchthat
A8: CastNode(LA3:dom PforbeElementof-uples_onNATholds p in A iff Sum p = n by Def4;
  set m1 = m+1;
  set M2 = CastNode(L.m1,v);
  set n = len(L);
A9: CastNode(L.n,v) = s2 by A6,Def16;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A10: H in the LTLnew of M1 by A8;
A11: 1<=m1 & m1<=n by A7,NAT_1:13;
  then
A12: the       
  the LTLnew of s2 = {} v by Def11;
then
:of = s2byA5A9A,

  then
14:in d 2

 ofendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    then not F in the LTLold of M1 A8 dom prodTuplesp,rt1  Seg lent1 FINSEQ_1def3;
injava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 65
then
A16: F in (the M1)  H}\  byA9A:;
 
    assume
Node2
    java.lang.StringIndexOutOfBoundsException: Range [23, 9) out of bounds for length 40
       ()

  LTLNew1 H = {java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  then
A18: G in LTLNew1 H by TARSKI:def    
A19: M2 = A5: (Card f)a
 S,)byjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
:the LTLold ofM2 c= the LTLold
 inthe LTLold 
  proof
    now
      java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
      suppose
        not G  then
+  Seglen (,)by Th9;
    
         in ((the LTLnew of M1) \ {      reconsiderCf =CardfasFinSequence NAT  setjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
byXBOOLE_0d 3
then in     ,19A15Def4
hencethesisbyA13java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
;
      
        G in the by ,   
        then G in (the LTLold of M1) \/ {H}. (ardf|. by 
        then G in the LTLold of M2 by A10,A19        enf;
 ;
      end;(-by :2;

    hence thesis;
  end;
  java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
 HLTLNext   java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
 M2   ;
  hence thesis by A12,A21funcpqr =jjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
;

A3 =lenpjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  s2 is_next_of s1 & java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 7
  the_right_argument_of H in the LTLold of s2      ,rbeFinSequence  that*r.(/1))java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
A5 A1:len p1=len  andjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  set F = the_left_argument_of H;
  G=the_right_argument_of;
setN1='X ;
  assume  then  inSegt:ef;
A1: s2 is_next_of s1 and
A2:    p1p   thecarrierofthen
:  LTLnextofs1;
A4: the LTLnext ofA6 p2 = len t and
then , such
=()
A5: A14:     
  L.1 = N1 and
A6: L.(len(Lhence.=pendjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
<   L 
A8: CastNode(L.endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A9:
  set M1 = CastNode(L.m,v);
  set m1 = m+1;
  set M2 = CastNode(L.m1,v);
  set n = len(L);
:CastNode(.v)=s2 by,Def16
  1<=m1    t beFinSequenceof3tuples_onNAT
  then
:  :=java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  LTLNew2 H = {F    java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 20
 
A12: G in LTLNew2 Hjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 11
  LTLNew1 H = {G} by A2,Def1;
  then
13   Hbydef1;
 LTLoldo    s2A5A7A,java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
  G in the
  proof
    now
          
      java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
        Gfor  setthen
        hence thesis by A14;
      end;
      suppose
A15:    not G in the LTLold of M1;
       java.lang.StringIndexOutOfBoundsException: Range [11, 1) out of bounds for length 49
          per cases by A8;
          suppose
          
            Ghencethesis by A16A,A,,:;
            then
            G in ((the LTLnew of M1) \ {H})  
            M1) by java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 11
             G   , 
            hence thesis by A11;
          A12:  j in dom A10FINSEQ_3
          suppose
:the M1  H  or Until
            H is Release) & endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
            G in        =(|).)by A8A11A15,: 6
            then
TLnew S(p)  =( p)+holds = =k2

  intheLTLnewof by A17,ef5;
            hence thesis by A11;
          end;
        end;
hencethesis;
      endA:    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    end;
    hence thesis;
  endreconsider p1 = p as FinSequence of NAT by FINSEQ_1:103;
  hence thesis by A3,A4;
end;

theorem Th41:
   s0&in LTLold of s1 implies(H is
implies  H    of s1 &
 s1) &(is disjunctive orHis Until
   A26:;
  end;
  s1 ) & (H is java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 13
proof
  assume that
A1: s1 is_next_of s0k  
A2:   asof d 12;
  consider L such that
A3A4  (|)=i+kbyF59
A4: L is_Finseq_for v and
A5: L.1 = 'X' s0 and
6 .())=  A1java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A7: CastNode(L.1,v) = 'X' s0 by A5,Def16;
  set n = len(L);
A8: CastNode(L.n,v) = s1 by A6,Def16;
  1<n by A2,A3,A5,A6,XXREAL_0:1;
  then consider m such that
A9: 1<= m & m<n and
:   in of Lmv
  CastNode(L.(m+1) ,v) by A2,A4,A8,A7,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 10
  consider N1,  consider N1,N2byNAT_1:3;
A11: N1 = L.m and
A12:  then
A13:N2 is_succ_of  4A9java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 A11(=p)k1by:;
  . .by,  java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
: of=LTLolds1A8
m1+
A16 <&1=java.lang.StringIndexOutOfBoundsException: Range [24, 1) out of bounds for length 78
 (.()by,
  then
A18  is_succ_ofN1, :q=java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  the LTLnew of CastNode(L.n,v) = {} v by A8,Def11;
  then
A19: the LTLnew of N2 c=  <= len (f1.i1) by A3,FINSEQ_3
A20: H is java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 6
  java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 45
proof
    set G.pnbyA27:


A21: HhenceA19,A,9
    then
A22: java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 6
    now
      A18
      
        H inlet be
        then
        theLTLnew N2=(java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 0
        ofN1)by Def4;
        then
A23:    (LTLNew1 H \ the LTLold java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A24:    G in the LTLold of s1
        proof
          now
            per cases;
            suppose
              G in;
              thesis A15java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
              nbe holds n = lenpiff is_at_least_length_of
            suppose
          G inthe of;
               in                G in LTLNew1 H
              then G in java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 23
then  LTLnewofN2by ;
  A19java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
            end;
          end;
          hence thesis;
        end;


          now
            per cases;
                then j+1 <= i b:;
F LTLold java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
              hence thesis by A15Sum()+   i  ;
            end;
            suppose
A26:end;
              i Hby: ;
              then F in LTLNew1 H \ the LTLold of N1 by A26,XBOOLE_0:def 5;
              then F in the LTLnew of N2 by A23;
              hence thesis by A19;
            end;
          end;
          java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
        end;
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 28
         ;
      suppose
        A7: 1 <=  ,;
        is Release) & N2=SuccNode2(H 
        hence java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 17
;
    end;
    hence  dom   () p.i :def 2
  end;
A27: H is Releaseend;
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    set G = the_right_argument_of H;
    set F = the_left_argument_of H;

A28: H is Release;

;
:java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
      per cases by A18;
      suppose
        H inproof
        then
        the LTLnew of N2 = ((the LTLnew of   ofLof java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
        Lnonjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
        then
A31:    (LTLNew1 H \ the LTLold of N1) c= the  8:,ef;
        G in the LTLold of s1
        proof
          java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
            E  NATjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 77
            suppose
              G in
              hence thesis by A15;
            end;
            suppose
A32:          not G in the LTLold of N1;
              G in LTLNew1 H by A30,TARSKI:def 1;
              then G in LTLNew1 H \ the LTLoldjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
              then G in the LTLnew of N2 by A31;
              hence thesis by A19;
            end;

          is_at_least_length_of)impliesnis_at_least_length_of+java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
        end;
        hence thesis;
      end;
      let i be Najava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
 inLTLnewofN1&( java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 17
        is Release) & N2=SuccNode2(H. L by :def;
        then
        the LTLnew l q java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 27
        LTLold java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 7
        then
A33:    (LTLNew2 H \ the LTLold of N1) cthus (+.L)n .n 0.L)nbyd 2
        ;
        proof
          now
            ;
            suppose
              G in the LTLold of N1;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
            ;
            suppose
A34:          not G in the LTLold of N1;
              G in LTLNew2 H by A29,TARSKI:def 2;
              then G in LTLNew2 H \ the LTLold of N1 by A34,XBOOLE_0:def 5;
              then G in the LTLnew of N2 by A33;
              hence thesis by A19;
            ;
          end;
          hence thesis;
        end;
        java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
      end;
    end;
    hence thesis;
  end;
:His orH  the_left_argument_ofH  the
  LTLold of s1 or the_right_argument_of H in

    set G = the_right_argument_of H;
  = H;
    assume
A36: H is disjunctive or H is Until;
    then
A37: LTLNew2 H = {G} by Def2;
:  ={}by,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    now
        let L be non empty addLoopStr (-.  .  .nd 3
      suppose
        H in the LTLnew of N1 & N2 = SuccNode1(H,N1);
        then
        the LTLnew of N2 = ((the LTLnew of N1) \ {H}) \/ (LTLNew1 H \ the
        LTLold of N1) by Def4;
        then
A39:    (LTLNew1 H \ the LTLold of N1) c= the LTLnew of N2 by XBOOLE_1:7;
        F in the LTLold of s1
        proof
          now
            per cases;
            suppose
              F in the LTLold of N1;
              hence thesis by A15;
            end;
            suppose
: Fjava.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 40
              F   byL;
              then F in LTLNew1 H \ thejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
              then F in the LTLnew of N2 by A39;
              hence thesis by A19;
            end;
          end  in  : java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
          hence thesis;
        end;
        hence thesis;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        H in   then 0 in dom    _()byjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 11
        is Release) & N2=SuccNode2(H,N1);
        A1: n in NAT : 12java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
        the LTLnew of java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        LTLold of N1) by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
        then
A41:    (LTLNew2 p'  java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 34
        G in the LTLold of s1
        proof
          =.  ;
            per cases;
            suppose
java.lang.StringIndexOutOfBoundsException: Range [22, 14) out of bounds for length 36
              hence thesis by A15;
            end;
            suppose
A42:          not G in the LTLold of java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 21
              G in LTLNew2 H by A37,TARSKI:def 1;
thenG LTLNew2java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
              
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 34
  ibeElementof  [ifi
endjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
           java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
        end;1.L>Supportlet L
        hence thesis;
      ;li;
    end;
    hence thesislen  1  .=Sum     1..  0.ibyjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 47
  end    now
:orn  _(.  .  
next   java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 23
  proof
    set F = the_argument_of Hthen0 _(): ;
    assume
A44: H is next;
    java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 45

    now
      per cases by A18  be  
      suppose
        H in the LTLnew of N1 & N2 = SuccNode1(H,N1);
        then the LTLnext of N2 = (java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 58
        then
A46:    LTLNext A1  ivbejava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 58
        F in LTLNext H by A45,TARSKI:def 1;
        hence java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
      end;
      suppose
        H in the LTLnew of N1 &  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
        is Release) & N2=SuccNode2(H,N1);
         byA44Mjava.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 22
      end;
    end;
    hence thesis;
      
  hence thesis by A20,A35,A27;


Lm29: s1 is_next_of s0 & s2 is_next_of s1 & F 'U' G in the LTLold of s1
implies G in the LTLold of s1 or F in the LTLold of s1 & F 'U'A8   .  r1
s2
proof
  assume that
A1: s1 is_next_of s0 and
:java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
A3then k1<Nat
  set F1 = F 'U' G;
  consider L such that
A4:         i1' >   by,REAL_0def2;
A5: L java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A6: L  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A7: L.(len(L)) = s1 by A1;
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 10
  henceby ,;
A9: CastNode(L.n,v) = s1 by A7,Def16;
  1<n byl  for L 
  then consider m such that
A10: 1<= m & m<n and
A11: ( not F1 in the LTLold of CastNode(L.m,v))& F1 in the LTLold of
  CastNode(L.(m+ 1),v) by A3,A5,A9,A8,Th27;
  consider N1,N2 such that
A12: N1 = L.m and
A13: N2 = L.(m+1) and
A14: N2 is_succ_of N1 by A5,A10;
  set m1=  sequence ofLholds p*(q+) = '+'
A15: CastNode(L.(m+1),v) = N2 by A13,Def16;
A16: F1 is Until;
  then
A17: LTLNext F1 = {F1} by Def3;
  the_right_argument_of F1 = G by A16,MODELC_2:def 20;
  then
A18: LTLNew2 F1 = {G} by A16,Def2;
  A1: len r1 =i+ and
  
: LTLNew1 F1 = {F} by A16,Def1;
A20: CastNode(L.m,v) = N1 by A12,Def16;
      i in by : 12;
A21:     then  rbe  carrier java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
A22: m1<=n & 1<=m1 by A3: for k be Element of NAT st k in dom r holds r.k = p.(k-'1) * q.(i+
  then
A23: the LTLnext of N2 c= the LTLnext of s1 by A5,A9,    then
  the    r).i1')by ;
      co r3beFinSequenceof the 
A24 
A25: N2 k <= i+1 by,,java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 36
  not G in the LTLold ofperjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16

  proof
    assume
:  Lofjava.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
      per cases by A25;
      suppose
A27:    
        thenhence thesis T;
        the LTLold of N1) by Def4;

A28:    (LTLNew1 F1 q java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
A29:    F in the LTLold of s1
        proof
          java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
            suppose
              F in the LTLold of N1;
              hence thesis    )i1');
            ;
            suppose
: the;
              F in LTLNew1 F1 by . .') .
              then    consider r2 be  the ofLjava.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 60
              then F in the LTLnew of N2 by A28;
              hence java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 20
            end;
          end;
          hence thesis;
        end;
        the LTLnext of A13:kinr  )A4java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 50
        then
A31:    LTLNextkjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 46
 in  T:1java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
thenintheofN2java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
        then
A32:    F1 in     java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
        the LTLnext of s1 c= the LTLold of s2 by A2,Th37;
        hence thesis by A29,A32;
      end;
      suppose
        F1 in the LTLnew ft pqr
        F1 is Release) & N2=SuccNode2(F1,N1);
        then the LTLnew of N2 = ((the LTLnew of N1) \ {F1}) \/ (LTLNew2 F1 \
        the LTLold of  now
        then
A33    1 
        G in the LTLold of s1
         r(k ;
          now
            per cases;
            suppose
              G in the LTLold of N1;
hencejava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 34
            end;
  
A34A11:lenr29  ) +by:7
              k Nat
              then G in LTLNew2   k 
                    
hencejava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 34
            end;
end
          hence thesis;
        end;
        hence thesis       thus r1.k = (p+q).(k-'1) * r.(i+1-'k) by A3,A12
      end;
   ;
    hence thesisthen    r29+)  ,    then Sum r1 = Sum(r29 + r39) by A1,A11java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
  
  hence;
end;

theorem
  s1 is_next_of s0 & s2 is_next_of s1 & H       Abelianjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 68
  Until implies the_right_argument_of H in the LTLold of s1 or
  the_left_argument_of H in the LTLold of s1 & H in the LTLold of s2

A1: len    
A1: s1 is_next_of s0 & s2 is_next_of s1 & A2 fork be : for k be Element st k ind  holdsr1k=(+).(k-'1) *
A2: H is Until;
  set G = the_right_argument_of H;
  et F   H
H=F''G  2,:8;
  hence thesis by A1,Lm29;



  let v;
func( >emptymeans
  :Def30:
  for x being object
    holds x in it iff ex N being strict LTLnode over v st x assume
      reconsider f2A13: k in ( r3  ,4FINSEQ_1def3java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 66
    set T= bool Subformulae v;
    set Y = [: T,T,:=(1 A,java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 43
defpred[  $    ,y3 
Subformulae v, N being strict LTLnode  *q').=and
    the LTLold of N = y1 & the LTLnew of N = y2 & the LTLnext    '.1' ;
A1: forA11 f2=dombydefjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    proof
            =  by CARD_3d 
A2:   P[x,y] and
A3:   P[x,z];
      consider y1,y2,y3 being Subseta
      over v such that
A4:   x = [ then
A5:   y = N1 &       then j-1 >= 0 by XREAL_1:48;
      LTLnext of N1 = y3 by A2;
 z1z2z   , 
           29;
:    [,]
A7:   z = N2 & the LTLold of N2 = z1 & A21:  f2.j = (Decomp(j-'1,2)) ^^ (j |-> <*>byA2A3java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
A22  +1 >0  XREAL_148java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A8:   y3=z3 by A4,A6,XTUPLE_0:1;
   y1=[,z2byA61
      then y1=z1 by XTUPLE_0:1;
      hence java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 10
    end;
    consider IT being set such that
A10: for x being object holds x in IT iff
      ex y being object st y in Y &  .  (+-l)| *-*)^i-2 A5;
    IT is non empty
    
      set e = {}v;
       x  java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 33
,] java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
      [e,e] in [: T,T. java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
      then [[e,e],e] in [: [: T,T :], T :] by ZFMISC_1:def 2;
       .('+ Th9
      hence thesis by A10;
    end;
    then reconsider IT as non empty set;
A11: for x being objectA31:  f2.)=j  :;
     (ex N being strict LTLnode over v st x=      len Card g2 - j + 1 in Seg len g2 by A1:;
    proof let x beA32   - 1 g2  ;
      assume ex N being strict LTLnode over v st x=N;
      then consider N being strict LTLnode over v such that

      set y3 =  = by29
      .('  .-1*rik byNORMSP_1 2
 t  ;
      set y = [[y1,y2],y3];
      [y1,y2] in [: T,T :] by ZFMISC_1:    then Sum r1 = Sum(r29 + r39) by A1,A119
      then [[y1,y2],y3] in [: [: T,T :], T :] by ZFMISC_1:def 2;
      then y in Y by ZFMISC_1:def 3;
      hence thesis by A10,A12;
    end;
    take    take  AbelianaA37:    i1 in dom f2 a
   
    in IT java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 26
      nITjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
      then ex PRE_POLY:def 4;
      hence thesis;
    end;
    hence thesis by A11;
  
  uniqueness
  proof
    ,Yjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 32
    (for x being object
holds x in X iff ex N being strict LTLnode over v st  then
for x being object
holds x in Y iff ex N being strict LTLnode over v st x=N) A48 i1=1java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
    proof
      assume that
A13:  for x being object
holds x in X iff ex N being strict LTLnode over v st x=N and
A14:  for x being object
   of:1=by
      for x being    +'+1 +-  java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 45
      proof
        let x be object;
        x in X iff ex N being strict LTLnode java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 20
       thesisA14java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
      end;
      hence thesis by TARSKI:2;
    end;
            java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
  end;
end;

registration
     (-);
v  java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  correctness
  proof
    deffunc F(set) = [ [the LTLold of CastNode($1,v), the LTLnew of CastNode(
$,)]  LTLnext f $v ]
    =  ;
          =<i2'*  (+',)j2 :
    set Y = [:X,X,X:];
A1: for x st x in LN holds F(x) in Y
    proof
      let x;

      set N2 = the LTLnew of CastNode(x,v);
      assume x in LN;
      set M1:=i
       X1=[X,X:;
      Y =[:X1,X:] & M1 in X1 by ZFMISC_1:87,def 3;
      hence thesis by ZFMISC_1:87;
    end;
    ex f being Function of LN,Y st for x st x in LN holds f.x = F(x) from
    FUNCT_2:sch 11hencebyFjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 46
    then A61  injava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 32
A2: for x st x in LN holds f.x = F(x);
    for x1,x2 be object st x1 in LN & x2 in LN & f.x1 = A64:j1in dom(2i1 
    proof
let,x2be object;
      assume 
A3:   x1 in LN and
  then
A5:   f.x1 = f.x2;
A6:   ex Nx2 being strict
 = the LTLnext of CastNode(x2,v);
      set Nx22 = the LTLnew of CastNode(x2,v);
      set Nx21 = the LTLold of CastNode(x2,v);
A7:   ex Nx1 being strict LTLnode over v st x1=Nx1 by A3,Def30;
      reconsider x2 as strict LTLnode over v by A6;
      set Nx11 = the LTLold of CastNode(x1,v);
     Nx12=theof x,)
      set Nx13 = the LTLnext of CastNode(x1,v);
 =,java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 28
 Nx21java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
    '.1');
      reconsider x1 as strict LTLnode over v by A7;
A9:   f.x1 = [Mx1.  A,java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 43
      then
   java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 35
A11:  Nx13 = the LTLnext of x1 &  (|><*+1j=i11 *-,--*>
hex1N    byjava.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 65
:=  ,A9java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 35
21 java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 37
      hence thesisthenj1 = java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 34
    end;
    
A14: f is one-to-one by FUNCT_2:19;
   fisjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    then dom (f") is finite by A14,FUNCT_1:33;
    then dom f =java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 52
3java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 35

end;


  let v;
  func LTLStates(v) -> non empty set equals
  {x where x is Element of LTLNodes(
  v): x is elementary strict LTLnode over v};
  coherence
 java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
    set IT = {x where: i-i+-1>  A16:inrng by86e ;
 }
    init v is i+1-j+1 >= 0 qua+  6
    theninit v in
    hence        
  end;
end;

registration
  let v;
  cluster= java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17

  proof
()c=()

      let a be object;
      assume
ex:Card  +g2 byFINSEQ_1d java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  ;
      hence        Cardf2.  byA31:ef2
 g2)= Si+-) \( i2'i1)by ,P: 
    hence thesis;
  end;
end;

theorem
  init v is Element of LTLStates(v)
proof
  init v is Element of LTLNodes(v) by Def30;
  then init v in LTLStates(v);
  hence thesis;
end;

 :
  s is Element of LTLStates( +'1=1i21      thus y in rng FlattenSeinlattenSeqimpliesinrng java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
proof
   ofLTLNodes(v)by Def30;
  then s in LTLStates(v);
  ;
end;

theorem Th45:
A40f2i1 =((1-,) ^(1 - <+1'*)by A2,37;
roof
  x is: 4;
  proof
    assume x is Element      (2.1.j1=((+2-i1 -><i1
    then xin LTLStates(
    then consider y be Element of LTLNodes(v) such that
:=xand
:y  elementary strict LTLnode over v;
reconsideryas       then i1-'1 = i2-'1 & j1  j2-1by,A95,,INSEQ_1:;

    thus thesis         
  end;
4;
end;

Lm30: X<>{} & X cthen  is-- ,,:;
i<k holds not i in X
proof
  defpred P[Nat] means for X st X<>{} .= +1-java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
  & k in X & for i st A119: len Card g2 = leng2  :29;
A1: for m st P[        then
  proof
    let m such that
A2:.i1j11(j1+) *.+')by;
    set m1=m+1;
A3: Y<>{} & Y c= Seg m1 & not  f1be  tcarrierL* 

      assume that
     <{ 
A4:   Y c= Seg m1 and
A5 not  in Y;
      Y c= Seg m
      proof
let  
        assume
A6:     x in Y;
        then x in Seg m1 by A4;
        then x in { j where j is Nat :1 <= j & j <= m1 } by FINSEQ_1:def 1;
        then consider j being Nat such that
x=
 java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
A9:     j <= m1;
        j <m1 by A5,A6,A7,A9,XXREAL_0:1;
        then j<=m by NAT_1:13;
        hence thesis by A7,A8,FINSEQ_1:1;
      end;
      hence thesis;
    PRE_POLY 4
    for X st X<>{} & X c= Seg m1 holds ex k stA140:len ,q,/jqElementof(tuples_onNAT*java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
    fori 1<i& < holds not i inX
    proof
      let X such that
A10:  X<A143
11   =java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
      now
       ;

          not m1 in X;
          then X c= Seg m by A3,A11;
          then consider k such. *-j1-k>^<i+-*  A141,A144,UNCOP_1:
A12:      1<=k and
A13:      k<= m and
A14:      k in X & for i  then
          m<=m1 by NAT_1:11;
          then k <= m1 by A13,XXREAL_0:2;
          hence thesis by A12,A14;
        end;
        suppose
A15:      m1 in X;
          setX1 =X \{m1}java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
          m1 in m}b TARSKIdef1;
  then
A16:      not m1 in X1 by XBOOLE_0:def 5;
A17. .k-  .j-1+-'k)by A131,A147;
          now
            per cases;
            suppose
A18:X1>{;
              X1 c= Seg m by A3,A16,A17;
              then consider k such that
:         1=k and
A20:          k<=m and
A21:          k in X1 and
A22:          for       end
              m<=m1  by AT_1;
              then
23 k<  by A20,XREAL_02java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
              for        
       
                let i;
                 1=i  i<;
                notin{}&not i X1 ,A23,:def 1
               by XBOOLE_0:5;
              ;
              hence thesis by A19,A21,A23;
            end;
            suppose
              X1 = {};
 c{}37java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
              then 1<=m1 & for i st 1<=i & i<m1 holds not i in X by NAT_1:11
TARSKIdef1;
              hence thesis by A15;
                
          ndjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
          hence thesis;
        end;
      nd;
            hence.=Sum(r3*(.i+-j))) by A122,A132
    end;
    hence thesis;
  end;
      +-+) >  by,XREAL_18
  for m holds P[m] from NAT_1:sch 2 (A24,A1);
  hence thesis;
end;

definition
  vjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
 java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  let f be Function;
  pred f is_succ_homomorphism v,w means

  for x st x in LTLNodes(v) &
A78  j1-i1> :11java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
  is_succ_of CastNode(x,v) & w |= *CastNode(f.x,v);
  pred f is_homomorphism v,w means

  for       ten
  (x,v) isnon   =*(,) holds  |*fxv;
end;

  then
for being   v,v f
  is_succ_homomorphism v. (-) 

theorem      then
  for f being Function of LTLNodes(v),LTLNodes(v) st f
  is_homomorphism v,w holds t
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 79
  f|**i).x,v) is non elementary) holds      (f2.i2).j2 = (Decomp(i2-'1,2).j2)  ((i2 |-> <*i+1-'i2*>).j2) by A84,A85,
proof
  set LN = LTLNodes(v);
  let f be Function of LN,LN;
  assume f is_homomorphism v,w;
  then
A1: for y st y in LN & CastNode(y,v) is non elementary & w |= *CastNode(y,v)
  holds w |= *CastNode(f.y,v);
  for x st x in LN & CastNode(x,v) is non elementary & w |= *CastNode(x,v)
  holds for k st (for i st i<=k holds CastNode((f|**i).x,v) is non elementary)
  holds  =*((|*)x,)
  
    let x such that
A2: x in LN and
    CastNode(x,v) is non elementary and
(v;
 st for i ti<=kholds CastNode(|*.         *--1i1'+-j1*by A76NAT_D34java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    holds w |= *CastNode((f|**k).x,v)
    proof
      defpred P[Nat] means (for i st i<=$1    
      elementary) implies w |= *CastNode((f|**$1).x,v);
A4:   for m xin  and
 
        let: in and
        assume
5:P[]
        P[m+1]
        proof
          set y = (f|**m).x;
A6:       m<=m+1 by NAT_1:13;
A7:       (f|**(m+1)).x = (f*(f|**m)).x by FUNCT_7:71
            .then
assume  i  i=+1holds CastNode((f|*)x,) is  elementary;
          then CastNode(y,v) is non elementary & w |= *CastNode(y,v) by A5,A6,

          hence thesis  hen
        end;
        java.lang.StringIndexOutOfBoundsException: Range [20, 13) out of bounds for length 21
      end;FUNCT_2 FUNCT_1, FCONT_1, FUNCT_3, INTEGRA1, VALUED_1, FUNCT_4,
A8:P0]
proof
        assume definitions TARSKI;
        f|*0=id  by :84;
        hence thesis by A2,A3,FUNCT_1      then
      end; a in[          by :ef;
:form holds P[]from A179:   ((g2/.j qua Element ofjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 53
           .Element 3*/) PARTFUN1java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
      for st i<kholds CastNode(f|*i)xv is nonjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 42
      hencethesis by A9java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    end;
     thesis;
  end
  hence thesis;
end;

theorem Th48:
  for f    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
 x in LTLNodes() CastNode(,) is non
elementary  w | *astNode(,)holds  (for i             q((        .Seg(+i  A110h9
|*A12:dom
|*.x,)&w |=*astNode(f**)x,)
proof
  set java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 5
letf.i                  Elementof3 NAT/)*
  assume
1   vw;
  then
:is_homomorphism java.lang.StringIndexOutOfBoundsException: Range [23, 4) out of bounds for length 28
  for x st x in LN & CastNode(x,v) is non elementary & w |= *CastNode(x,v)
  holdslet f, beFunction of REAL,REAL;
  holds CastNode((f|**     .<i1-j-,1'1+-1*by :;
  CastNode((f|**khence ;
  proofend
    let x such that
A3: x in LN andlen f2= by :27
A4: CastNode(x,v) is non elementaryp;
st fori st <k  ((|java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 17
    holds CastNode((f|**( A2:. lower_bound B, upper_boundB.]  c<[ lower_bound , upper_bound A.java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
CastNode(f|*k)x)
      
      let[ lower_bound B,upper_bound B . c=A by INTEGRA1:4;then
A5lower_bound B < upper_bound B by SEQ_411
        forr beReal,f be  ofREAL,REAL holds
A6:   y in :dom =REAL &domF2=REAL byFUNCT_2A187  g1=len(/)byDef5
java.lang.StringIndexOutOfBoundsException: Range [20, 2) out of bounds for length 49
        . f. by A3,UNCT_2:15;
CastNode(,)isnon & w | *astNode
;
      hence thesis by A1,A6,A7;
;
      java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
  end;
  hence   be ,;
end;

  Fx=( # ). 49D1
;
(r (# f) | |A=r() (f |A)
elementary & (()f)byVALUED_1:ef;
  |*)xv  nonelementary  (f|*n)x,)is elementary
proof
  set LN  .r*()x byVALUED_16
  let endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  assume
:is_succ_homomorphismwjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
      xv  nonelementary&w| CastNode,)
olds (|i).v iselementary 
  CastNode((f|**n).x,v  x being  x indom(AffineMap (*,*b))holds
 java.lang.StringIndexOutOfBoundsException: Range [7, 1) out of bounds for length 23
  java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 44
: and
java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
A4:thenj1 lens  ]java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 50
deffunc:  (/)A204:ef;
len1(.,)1

    then
A5 <len1 by NAT_119
    reconsider len1 as Nat;
    consider L such that
()=  java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 68
sch2java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
   X      F.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
    elementary;
A7: Seg    .= b - (bb-(b*/  *c :;
:forkst< y;
    )(( g2i1java.lang.StringIndexOutOfBoundsException: Range [25, 22) out of bounds for length 60
       k
     java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 31
k    
      then L.k = (f   . b  java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
yjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 37
   java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A10    ;
=.-a./dom  -bc,+*/ |[.A:1< by,1;

        let k such that
:1< k<=en);
reconsider  asElement of NATby ORDINAL1def12;
        not k in X by A10;
        hence thesis by A6,A12;
      end;
A13:  forA217:lenFlattenSeqf1=len A217: len FlattenSeq f1 = len FlattenSeq .-/+fty. java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
      CastNode((  for x being obj st x indom(.AffineMap (a,b) .|) holds
      proof      domf1   +(ffineMapab [(),nfty.) x
         that
< 
A14:    k<len(LA:*x  - java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
(*)           A135,;
proof
  A5,OMPLEX1
     : a*b<-+bbythen
      -AffineMap,b) |-infty(-)/.[))
:<(L  XXREAL_0
               java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 39
            java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
            java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
=
       thesis A15java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
            end;
            suppose
              i.-(ffineMapa,b)x byVALUED_1:8
              then f|**i = id LN by FUNCT_7:84;
byA2A3UNCT_1;
            by A125,A221;
;
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
        A232

formst =m &m <len()  N
Mjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
      proof
         java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 23
A16:    1 <= m & m < len(         by B5,XXREAL_1:23 3 )).java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
setM =L(+1)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        1<=m+1 & m+1<=len(L) by A16,NAT_1:13;

A17:    M=(f|**(m+1)).x by A8;
then   A2F:5;
        then
 ex java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 59
        N=L.m;
A19:    N=(f|**m).x by A8,A16;
 java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 37
        then
A20:    ex N1 being strict    B4: b*(x-a)/c + b < -b+b by XREjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
   .= 0 by B4,XXRE ;
   * b  java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 39
        CastNode(N,v) = N & CastNode  fx=max0  -| *x-a)/c.)byA2
        hence thesis java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 5
      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
         vjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
      then len(CastNode(L.len1, set F =  |] -nfty,b .]+*g|[.b,infty .;
,Th36;
then len((.en1v)=(|1v len1+ by A5,A6
A;
t  java.lang.StringIndexOutOfBoundsException: Range [41, 37) out of bounds for length 45
FUNCT_7:  [ ,.) g|.java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 42
then((**en1.)   byA5AA8java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
        LTLnew of CastNode((f|**len1).x,v) = {}v by Th22;
      then  redefine func p';
      then len1         (r.(((f2/. of
      hence contradiction by A10;
    end;
    X c= Seg len1

      let y be object;
      assume y in X;
      consr2 java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 62
      A5   qp.   ajava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
     ),v +AffineMap(/b*c
      hence thesis by FINSEQ_1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    end;
    then java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 7
    1<=n and
:<l and
A22: n inbyA6A9I:,java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 53
:ist1<i &i< holdsinbyL;
A24: for i st        1k< 0by A8,REAL_1;
    proof
      let i such that
A25:  i<n;
      now

        suppose
          =0java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
          then f|**i = id LN  A6: =  f by FUNCT_2def ;
          hence thesis by A2,A3,FUNCT_1: thus r1.k = p.(k-'1) * q.(i+1-'k) yA3,java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
        end;
        suppose
A26        henceby;
          then
:       endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
          now
            assume
A28:        A164: i+1-'j+1 x'b  c  f =
reconsideras Element  NATby :def12;
            i<len1 by A21,A25,XXREAL_0:2;
            contradictionA3 for  st in[,b' /[cd]holdsf.  0
          end;
          hence thesis;
        ;
 :     consider r be FinSequencerFinSequence  L that
      hence thesis;
e;
    CastNode((f|**n).x,v) is elementary
    proof
  m l java.lang.StringIndexOutOfBoundsException: Range [68, 66) out of bounds for length 74
      .x,v) is elementary by A22. .;

d
    hence thesis by A24;
  end;
  hence thesis;heorem Th33:
end java.lang.StringIndexOutOfBoundsException: Range [19, 16) out of bounds for length 37

java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  for f being Function        su.java.lang.StringIndexOutOfBoundsException: Range [32, 27) out of bounds for length 55
  is_homomorphismc . ,  now
  elementary holds        then
  CastNode(     x in{lower_bound B}
proof
  set LN = LTLNodes(v);
   forElementk holds.  .-1*(_(
  assume
A1: f is_homomorphism v,w;
  for x st x in
  CastNode((f|**k).x,v)  x      now
  =*astNode ;
  java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
    end
 quaElement3java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 47
;
    for k st CastNode((f|**k).x,v) is non java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 32
|k.,v holdsw| *astNode(f*(+1)x,)
    proof
      
A3:   CastNode((   .java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 45
  =k.;
java.lang.StringIndexOutOfBoundsException: Range [19, 10) out of bounds for length 10
        .= f.y java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 7
      y in LNlet ,b      thus(r) rby,
      hence thesis by A1,A3,A4;
end

  end;
  hence thesis;


 takejava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
 fbeingFunction  (),TLNodesv).1 by : ,A2;
rphism   stxiLTLNodesv&,v
& | *for, beReal beFunction ofREALR 
  &CastNode(|*+).v(
*i.x,v)&(|n.,   st= java.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 78
(|*.,v

set  v
 f  ,;
  assume
A1:         .))by :3

  for y st y in LN & CastNode(y,v) is non.(*b)a*b/)(b/)(/))by XCMPLX_174
holdsw=*fyv;
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
:is_homomorphismv,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
for  LTLNodesv&astNode, non  |*
  CastNode(,v)holdsex nst
succ_of(|i.v)&
CastNode(for abcbeReal f   ofREAL,REAL  0i =_L & =Sum.by,A,def;
  ).    hjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
 x  be ;
A3: x in LN and
:xv   
A5: w |= *CastNode(x,v A1:b> and
    consider n such that
A6: for  stin holdsCastNode(f|*i).,) is non elementary and
:CastNodef*)x,elementary  ,3,4A5,Th49;
i i<holdsCastNode(|(+1).vis_succ_ofCastNodef*
    i).x,v)
    proof
      let
      assume
:<;
      forj  .0b-b(-)c.))by:65
      
     ;
<java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
      then < hen1be  
        hence thesis by A6;

      hence thesis by A1,A3,A4,A5,      pq java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    end  byA3java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
A9: for i st i<n holds CastNode [. lower_bound [ac,+',(ba*/c  b-b/)(b/)(b/c) . java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
    (f|**(i+1) holds
    defpred
    |**i).x,v);
:mst m java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 31
     A154;
       mjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      assume
:java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
m
 

:(java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 39
        =*^ - java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 57
:n:;
        then
:(|*),v)  by;
        st= |(*.,v
        proof
          let+/3*a ^ 
          w |= *CastNode((f|**m       
          java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
:| (f*java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
          assume i<=m+1 thenexpA212 jin  +2c+*aac  ^2+2c-a java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
          hence thesis by A11,A13,A15,NAT_1:8;
        end;
        hence thesis;
     ;
      hence thesis;
          th /)java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
A16: P[0]
 
 =njava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
;
proof
        let i;
        assume i<=. /*(c)c* letx,y be ElementofP;
        then i=0;
       f*i  idLNbyFUNCT_784
        : Seg len FlattenSeq=omFlattenSeqf1by FINSEQ_1:f3
       j Nat
      hence thesis;
       consideri1j1    thus thesis;
 java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 48
    then for i st i<=n holds w |=>0&c  0 holds
 setjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 75
  end;
  hence thesis;
end;

reserve    holds x*y = p*'q and

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
  ex s st s = CastNode(q.n,v)
java.lang.StringIndexOutOfBoundsException: Range [15, 5) out of bounds for length 5
 ORDINAL1 holds * =qand
      hence  byA1,A3;
A1: s=q.n by Th45;
n ,
  hence thesis;
end;

Lm31: F 'U'         beP1  be
) (.i,)  ((  st1=thenj1   f/i1 x P2;
 st1=&in    b-*/;
LTLold of CastNode(q.i,v) &  of (-tuples_on NAT))j1   set C  '-,+]java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
proof
deffuncNodeNat  CastNodeq$,v)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  assume that
A1(p aca [-,ac]byXXREAL_02A10INTEGRA5def,:4;
A2:for i holds Nodei+)is_next_of Node(i);
dP] means ( i then reconsider G as Function o Gas   ,byFUZZY_618;
(i)) implies (for i st 1<=i & i<$1 holds (F in the*(AffineMap(-/ba*b/) |
       q= as  ofLbA16
holds P         .( .)1*((().)/)*rjava.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
pjava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
    let k such that
A4: P[k];
    set k1=k+1;
    (forist <i& i< holds not G  the 
 1<&i<k1 holds F in the LTLold of1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    of Node(i)
    proof
      assume
java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 64
:< :java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
   <i i< holdsnotGhence p**'  end;
      proof
        let i end;;
A8:     1<=i and
A9:     i<k;
        i<1  A6,XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
        end
      end;
        for a,ba,cbeReal  for a,b,c be Real,   
      the LTLold of Node(holds
      proof
        let i such that
:   <
A11let beadd- right_zeroed
A12:    i  nonempty doubleLoopStrtheorem Lm20B
                
percasesbyA12X:1;
          suppose
            i < k;
            hence thesis by A4,7A10;
          end;

A13:  end;
            now
percases by A10,,XREAL_0:;.0java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
              suppose
A14:            k=1;
:Node01 java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 19
                1) by A2;
                consider s1
A4[-c,a+c'] c= A and
A,A16java.lang.StringIndexOutOfBoundsException: Range [55, 3) out of bounds for length 34
                hencethesis A1,,,A16,15,Lm29 
             ;

1k
                set m = k-1;
reconsiderm asNat  ,:java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
                set m1 = m-1;
   let pbelement  java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 39
                  for a,b,c be Real  a<b&b<c &b- = c- holds
A18:            1<= m by NAT_1:13;
                then reconsider m1 as Nat by NAT_1:21
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A19:            sm = Node(m) by Th52;
A20:            m < m+1 by NAT_1  end;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
                then
A21:            notlet p be sequence of L;
A22:            (ex sk1 be elementary strict LTLnode over v st sk1 = Node
               (k1))& Node(m+ consider beFinSequence the  Lsuchthat
A23:            (ex sm1 be elementary strict LTLnode over v st sm1 = Node
s_next_ofNode()byA2,Th52java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
A24:            Node(m+1) is_next_of Node(m) by A2;
A25:            Node(k+1) is_next_of;
java.lang.StringIndexOutOfBoundsException: Range [16, 9) out of bounds for length 34
:            k = Node()byTh52;
java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 8
 (,bc is_integrable_on'ac']&
thenF U G  the  end;
                   ,A26,,,java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
              
            end;
hence
          end;
        end;
        hence thesis;
      end;
      hence thesis;assumethat
;
    hence thesis;
 ;
A28: P[0];
 nP[from NAT_1:h A28,A3)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  hence thesis;
;

theorem
  H is Until & H in the LTLold of CastNode(q.1,v) & (for i holds
  CastNodeA4:fb=g and
holds not the_right_argument_of H in the LTLold of CastNode(q.i,v)) implies DGG6  k dom,)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
i A7:k|..
  H s being 
proofproof
deffunc () (q$,v  P1 a=x0&x0<cbyXXREAL_1;
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 13
A1: H       .=Sum (,i+)+(/.(+1)by :44java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
A2consider sf beingRealsuch       p(+'  1    +<  A6INSEQ_3;
  set G = the_right_argument_of H;
  set F = the_left_argument_of H;
      GbyA1,:;
  hence java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

Lm32:
v) impliesf ist>=holds ( ''G in the
CastNodev     o java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
the  ofCastNodeqiv))or exj st j>1&G intheLTLoldof (q
)   st1= ij F''  LTLold CastNodeqiv  F
 the  CastNodeqi,java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
proof
(qv)
  assume
Gin LTLold of Node1  for i holds A1: F 'U' G in the LTLold of Node(1) & for i holds Node
(;
rexistence
  LTLoldof Nodei    inthe LTLold  Nodei)   ex j stj=1  G
      R9r|  . -  .b. ll wherexis Polynomialof L       |h x1)-h  x0).
 ()&Fin the LTLold of ()
  
    assume not (for i st i>=1 holds F 'U'            A3FUNCT_149,1a
     proof
    then consider k such that
A2: k>=1 and
:not( ''G  the   Nodek &F inthe TLold(k)
    ) or G in the LTLold of Node(k       |-0.    P6RMin,:;then
    set      then consider q  Polynomial of L such that
        . x by (f .b.  x1-h .x0. java.lang.StringIndexOutOfBoundsException: Range [44, 44) out of bounds for length 10
    proof
      now
        per cases by A3;
        suppose

                and
            assume
A5:         not ex m st=*q;
A6  coherence
            proof
              let m such that
 and
A8:           m<k1;
              m<=k by A8,NAT_1:13;
hencejava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 17

            k    hence:in .ab],Q1java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
            hence contradiction by A1,A2,A4,A6,Lm31;
          end       |.(0-b)|<|x0 - x1. by Q1,XREAL_115 then
          ;
        end;
        suppose
          G in the LTLold of Node(k);
          hence thesis by A2;
        end;
      end;
      hence thesis;
    end;
    then consider m0 such 
A9: 1<=m0 & m0<=k & G in the LTLold of java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 13
    set X = {m where m is Element of NAT :1<=m & m<=k & G in java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 59
Nodem};
A10: X c= Seg k
    
            exp1q1 bePolynomial of Lst = &q1 =y&Ad(,y =p1+1by A5;
      assume x in X;
           for xybe Elementof, psuppose b  x1;hen : x1 in [.b,c.] x0 in [.b,c.]
      Nodem;
  hence:1      .1-.<sg S4,XXREAL_0:2 then
       ;
   reconsiderm0  Elementof  by ORDINAL1:ef12;
m0in by A9java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
   then consider j such that
   <jjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
:j<kand
A12e;
A13: for i st 1<=i & i<j holds not i in X by A10,Lm30;
      st 1<i&ij holds not Gjava.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 5
    proof
      let i such that
A14:  1<=i and
A15:  i<j;
A16:  i<k by A11,A15,XXREAL_0:2;
reconsider i asElement  NAT by ORDINAL1:ef 12;
not i in X yA13,A14,A15;
      hence thesis leta,p, be Real,f be Functionof REAL,EAL;
    end
    then
:  st<i&i<  U G    ofNodei   inthe
    holdsx*=for a,b,c be RefghbeFunctionof REAL,REAL st
   = G int LTLoldof Node(jjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
      ex m being Elementxin  carrierof P1assume 
      of Node( : |[.,c  f .,b)+ g| .,c] and
      A21: the of=setA= 'c';
    end;
    hence thesis by A17;fxbeElementof P1,ybeElement of P2;
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  hence thesis;


:
H  &Hin LTLold ofC(  =ab./.c Fdef1
CastNode(q.(i+1),v) is_next_of CastNode(q.i,v)) implies (for i st i AC .a . =  /[a,c]
  in the LTLold of CastNode(q.i,v)) & (the_left_argument_of H in the LTLold of
CastNode(qthust  P1(,y  +y1. pq byjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
) orex j=1&the_right_argument_of H in the LTLold of CastNode(q.j,v)
 st1=i&i    theLTLold of CastNode(q.i,)&
the_left_argument_of H in the LTLold of CastNode(q.i,v)
proof
 deffunc Node end;
  assume that
1istration
A2: H . id  # )xbyVALUED_15
  set G = the_right_argument_of H;
  set =the_left_argument_ofH;
   .x  be Elementof -ing ;
  hence thesis by A2,Lm32;
end. q + by ;

::some properties for choice function

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
  union BOOL X = X
proof
  {} c= X;
  then BOOL hence p q r=( q1   
  then
A1: java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 6
  java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    .= bool X \/{{}} by XBOOLE_1:39;
  then bool X c= BOOL     reconsider=  sequenceofLby;
  then
: X  X\{} ,java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 50
  X = union bool X by ZFMISC_1:81
.
.unionBOOLX /{        -L
  hence thesis;
end;

theorem Th56:
  N is non elementary implies  
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
by ORDERS_1:2;

registration
  let v;
  cluster union BOOL Subformulae v -> non empty;
  correctness by Th55;
  cluster BOOLjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  correctness;
end;

theorem
  ex f being Choice_Function of BOOL Subformulae v st
   f isA1 *   *r1
proof
 take f = the Choice_Function of BOOL Subformulae v;
 } in BOOL Subformulae v  :java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
  union
 hence f is Function of BOOL Subformulae v,Subformulae v by ORDERS_1:90,A1;
end;

-distributive java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44

definition
  nd then
  let U;
  let N;
  assume
A1: N is non elementary;
   =(REAL # )bby VALUED_1
  D:
  U.(the LTLnew of N);
  correctness
  proof
    set x = the LTLnew of N;
    set a = U.x;
    not {} in BOOL Subformulae v by ORDERS_1:1;
    then
A2: U is Function of BOOL Subformulae v, union BOOL Subformulae v
       by ORDERS_1:90;
    x in BOOL Subformulae v by A1,Th56;
    then U.x in union BOOL Subformulae v by FUNCT_2:5A10:  (r1  . Th1
    then a in Subformulae v by Th55;
    then ex F st F = a & F is_subformula_of v by MODELC_2:def 24;
    hencethesis;
  end;
end;

theorem Th58:
  N is non elementary implies chosen_formula(U,N) in the LTLnew of N
proof
  set x = the LTLnew of N;
  set X = BOOL Subformulae v;
  assume
A1: not N is elementary;
       =1.)(-1*.iNAT_D34
  then U.x in x by ORDERS_1:89;
  hence thesis by A1,Def34;


definition
  let w;
  letLm2:now
  let U;
  let N;
  func chosen_succ(w,v,U,N) -> strict LTLnode over v equals
  Djava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 9
  SuccNode1(
  chosen_formula(U,N),N) ifend;
  chosen_formula(U,N),N) or chosen_formula(U,N) is Until & w |/=
  hence x*e = p*'1_.L by A1,Def10
  N)N)
  ;
end;

theoremregistration
  w|=*N & N is non elementary implies w|=*chosen_succ(w,v,U,N) &
  chosen_succ(w,v,U,N) is_succ_of N
proof
 assume
A1: w|=*N and
A2: N is non elementary;
  set H = chosen_formula(U,N);
  set SN Nby FUNCT_4def1
  set H2 =  dom ((AffineMap ( -(1/(d-c)(( -/dc)d(c) )|[c,.) )
A3: H in the LTLnew  proof
  now
    per cases;
    suppose
A4:   not H is Until & w |  domq =1r1Def10java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
      then
  
A6:   w|=*SN
      proof
        now
          cases ;
          suppose
= *SuccNode1H,N;
            hence .= ( AffineMap (0,0)|(REAL.d.)+ (f1+ f+ f3).java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
          
          suppose
A7:         H is Until & w |/= H2;
            set N2 = SuccNode2(H,N);
A8:         w |= *SN or w |= *N2 by A1,A3,A5,A7,Lm19;
            now
              the LTLold of N2 =(the LTLold of N) \/ {H} by A3,Def5;
              then
A9:           H2
 in the LTLold of N implies H2 in the LTLold of N2 by XBOOLE_0:def 3;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
              then H2 in LTLNew2 H by TARSKI:def 1;
              then
A10:          not H2 in the LTLold of N implies H2 in (LTLNew2 H \ the
              LTLold of N) by XBOOLE_0:def 5;
              assume
A11:          not w |= *SN;
              the LTLnew of N2 = ((the LTLnew of N) \ {H}) \/ (LTLNew2 H
              \ the LTLold of N) by A3,Def5;
               notH2  theLTLold of  impliesH2 in theLTLnew N2by
A10,XBOOLE_0:def 3;
              then H2 in *N2 by A9,Lm1;
              hence contradiction by A7,A8,A11 (01) |.c.)+
            end;
            hence thesis;
          end;
        end;
        hence thesis;
      end;
      SN is_succ1_of N by A3,A5;
      hence thesis by A6;
    end;
    suppose
A12:  not ( not H is Until & w |= *SuccNode1(H,N) or H is Until & w |/= H2 );
      set N1 = SuccNode1(H,N);
A13:  SN = SuccNode2(H,N) by A12,Def35;
      w|=*SN & SN is_succ_of N
      proof
        now
          per cases by A12;
          suppose
A14:        H is Until & w |= H2;
            set NN = the LTLnew of N;
            set NO = the LTLold of N;
           set  = LTLnew  SN;
            LTLNew2 H = {H2} by A14,Def2;
            then
A15:        SNN = (NN \ {H}) \/ ({  by LmSymTrape2,;
            NNtheorem LmSymTrape4:
            
A16:        SNN c= NN \/ {H2} by A15,XBOOLE_1:13;
            set   r)java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 63
            set SNX = the LTLnext of SN;
            set SNO Z3:  java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
            SNO =NO \/ {H} & {H} cset   AffineMap(1  .c]
                ()TrapezoidalFSabc,d  |.ad]
         c= NO /NN  XBOOLE_1:9;
A18:        SNX = NX by A3,A13,Def5;
         in*  |G
            proof
              assume
20 Gin SN;
              now
                per cases by A20,Lm1;
                suppose
                  G in SNO * +) A1F:def
                  then G in *N by      +( # )|.,.]java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
                  hence thesis  =  r# F1|[ab]  *(()F2) |[b,.
                ;
                suppose
                  G in SNN;
                  then G in NN or G in {H2} by A16,XBOOLE_0:def 3;
                   G N  G= ,: 
                  hence thesis by A1,A14;
                end;
                suppose.  #(  .,] *r# |.c])
                  G in 'X' CastLTL(SNX);
                  then G in *N by A18,Lm1;
                  thesis  A1java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
                end;
              end;
              hencethesis;
            end;
            SN is_succ2_of N by A3,A13,A14;
            hence thesis by A19;
          end;
          suppose
A21:        not w |=*N1;
            now
              per cases by MODELC_2:2;
              suppose
 Hjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 78
                hence thesis by A1,A3,A21P22:xindom  FUNCT_2def1java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
suppose
A22:            H is disjunctive or H is Until or H is Release;
                then SN is_succ2_of N by A3,A13;
                hence thesis by A1,A3,A13,A21,A22,Lm18,Lm19,Lm20;
              end;
            end;
            hence thesis;
          end;
        end;
        hence thesis;
      end;
      hence thesis;hence  :;
    end;
  end;
  hence thesis;
end;

theorem
  N is non elementary implies ( chosen_formula(U,N) is Until & w |=
  the_right_argument_of chosen_formula(U,N) implies (the_right_argument_of
  chosen_formula(U,N) in the LTLnew of chosen_succ(w,v,U,N) or
 (N     N  
  (U,N) in the LTLold of chosen_succ(w,v,U,N) )
proof
  set SN = chosen_succ(w,v,U,N);
  set H = chosen_formula(U,N);
     ;
  set SNO = the LTLold of SN;
  set SNN = the LTLnew  . r()(F2|[bc] . by INTEGRA5:def 3,Z2
  set NO = the LTLold of N;
  set NN = the LTLnew of N;
N  java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  then
:   LTLnew of  Th58
  H is Until & w |= H2 implies (H2 in SNN or H2 in NO) & H in SNO
  proof
    assume that
A2: H is Until and
A3: w |= H2;
A4: SN    =( #)f1.byINTEGRA5def3Z1
    LTLNew2 H = {H2} by     =( # f1 +f2 + f3)).b ,UNCT_4:R22
    then
A5: SNN = (NN \ {H}) \/ ( end
A6: now
        a1,ca2,d beRealst
      suppose
        H2 in NO;
        hence H2 in  AffineMap-/ d/)*  )|[.2a2+.
      end;
      suppose
A7:     not H2 in NO;
        H2 in {H2} by TARSKI:def 1;
        then H2 in {H2} \ NO by set   AffineMapd/-dc*(a1 -)|.1 a1]
        hence H2 in SNN or H2 in NO by A5,XBOOLE_0:def 3; d-dc*java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 49
      end;
    end;
A8: H in {H} by TARSKI:def 1;by:;
      \H  ,Def5
    hence thesis by A8,A6,XBOOLE_0:def 3;
  end;
  hence thesis;
end;

theorem
  w|=*N & N is non elementary implies the LTLold of N c= ( # (1) .,a2]+
chosen_succ(w,v,U,N) & the .  d()TrapezoidalFS a-a,a+) )|.-c,2c.
proofhence  byINTEGRA5def,XXREAL_02,;
  assume w|=*N & N is end;
  then chosen_succ(w,v,U,N) is_succ_of N by Th59;
  hence thesis by Th25;
end;

definition
  let w;
  etv;
  let U;
  func choice_succ_func(w,v,U) -> Function of LTLNodes(v),java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 23
  :
  Def36: for
 x st x in LTLNodes(v) holds itset =integral(d REAL # (/,-(/)(-c), ['a1-a')java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
 
  proof
    deffunc F(set) = chosen_succ(w,v,U,CastNode($1,v));
A1: for x st x in LTLNodes(v) holds F(x) in LTLNodes(v) by Def30;
    consider IT being Function of LTLNodes(integral( REAL )java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 71
:for x st in LTLNodes()holds IT. =F(x) from : Ajava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
    );
    take IT;
      byA2java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  end;
  uniqueness

 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 65
A3: for x st x in LTLNodes(v) holds f1.x   +1/*-dc)*a1-c)*a1*-(1a1-*cc*c*))
    x,v)) and
A4: for x st x in LTLNodes(v) holds f2.x = chosen_succ(w,v,U,CastNode( x,v));
    for*-d)a1* +1/(/c)c /*a2*  /*d*1*1
    proof
      let x be object;
      assume
A5:   x in LTLNodes(v);
      then f1.x = chosen_succ(w,v,U,CastNode(x,v)) by A3
        .= f2.x by A4,A5;
      hence thesis;
    end;
    thesis;
  end;
end;

theorem Th62:
  choice_succ_func(w,v,U) is_succ_homomorphism:[a1-ac.=AffineMapdc-dc)(a1 -c) |[.1-c,. +
proof
  set f = choice_succ_func(w,v,U);
  for x st x in LTLNodes(v) & CastNode(x,v) is non elementary & w |= *
CastNode(x,v) holds CastNode(f.x,v)    AffineMap(0,d) | [.a1,+infty.[ as Function ,REALby FUZZY_6:;
  .x,v)
  proof
    let x such that
  ( java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
A2: CastNode(x,v) is non elementary & w|=*CastNode(x,v);
    set N = CastNode(x,v);
    set SN = chosen_succ a1-c <=a1- & a1< a2 by ,XREAL_1: 
    CastNode(f.x,v) =  P1: ((d)-(-(d/c)*(a1 - c)/dc)() in [a1-,]by : 3,1;
. byDef16
    hence thesis by A2,Th59;
  ;
  hence thesis;
;

begin :: Definition of Negation inner most LTL.

definition
  let H;
  attr H is neg-inner-most meansB2  Lipschitzian28P2A1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43

  for G being LTL-formula st G
  is_subformula_of H holds G is negative0d  .p,upper_bound ['c]]+(F3[a2,a2+. java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72


registration
  cluster neg-inner-most for LTL-formula;
  existence
  proof
    set a=atom.0;
    a;
:ais ;
    for G being LTL-formula st G is_subformula_of a holds G is negative
    implies the_argument_of G is atomic
     :-< a1-  < by A1X:13java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
      let G being LTL-formula;
      assume G is_subformula_of a;

A2:   1 <= n and
      len L = n and
A3:   L.1 = G and
A4:   L.n = a and
ng LTLformulast L. =H1java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
      L.( k + 1) = G1 & H1 is_immediate_constituent_of G1;
      n=
      proof
        set k = n-1;
        reconsider k as Nat by A2,NAT_1. d(2  +dc
        now
          assume not n=1;
then11+ byA2,XXREAL_01;
          then
A6:       1<=k by NAT_1:19;
            *a2-a1 +d*
          then ex H1,G1 being LTL-formula stjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 37
          is_immediate_constituent_of G1 by A5,.(- a1  d*+d*/*+/* /**a1+(d)*a1
              +(-(d/c*c-dcc)1/a2+-/c)12a2+d*2 XCMPLX_1A1
        end;
        thesis;
      end;
thesis  A1A3,,:78;
    end;
     thesis;
  end;end;
end;

definition
  let H;
  attr H is Sub_atomic means

  H is atomic or ex G being LTL-formula st G is atomic & H = 'not' G;
end;

orem:
-most & Fis_subformula_of  F is neg--most
by MODELC_2:35;

theorem Th64:
  H is Sub_atomic iff H is atomic or H is negative &
  the_argument_of H is atomic
proof
thus H is Sub_atomic impliesH atomic or His negative& the_argument_of
  H is atomic
  proof
    assume
A1: H is Sub_atomic;
    casesby A1;
    suppose
                  INTEGRA15;
      hence thesis;
    end;
    suppose
    Gbeing LTL-ormula   is  &H = 'ot'G
      then H is negative;
      hence thesis by reconsider f1   asPartFuncofREAL,;
    end;
  end;
  thus H is atomic or H is negative & the_argument_of H is atomic implies H is
Sub_atomic
 
    assume
A3: c: (-/c)*a2 +(/c*(2+ c =(dc)a2 + dc*a2 +(d/c)*c
    per cases by A3;
    suppose
      H is atomic;
 thesis;
    end;
    suppose
A4:   H is negative . (ffineMap(0,d)  .by :,:236,1
      then H = 'not' the_argument_of H by MODELC_2:def 18;
      hence thesisby A4;
    end;
  end;
end;

theorem Th65:
  is --mostimplies (is  or is conjunctive
  or H is disjunctive or H is next or H(0d  [a1-a2'&
proof
  assume
A1: H is neg-inner-most;
  er  byMODELC_2:;
  suppose
    His atomic;
    hence thesis;
  end;
  suppose
 negative
      the_argument_of ;
A3: G is atomic by A1, assume A1: c > 0 & d > 0A1:c > &d >0& a1 a2;
    H = 'not' G by A2,MODELC_2:def 18;
    hence thesis by0 <= a2 +cby XREAL_1,:; then
  end;
  suppose
    H is conjunctive or H is disjunctive or H is next or H is Until or
    H is ;
    hence thesis;
  end;
end;

theorem
  H  next&H is --most implies the_argument_of  is -innermost
proof
   that
A1: H is next and
A2: H is neg-inner-most;
  set F = the_argument_of H;
A3: F is_subformula_of H by A1,MODELC_2:30;
  for G being LTL-formula st G is_subformula_of F holds G is negative
  implies the_argument_of G is atomic
  by A3,A2,MODELC_2:35;
  hence thesis;
end;

theorem
  (H is conjunctive or H is disjunctive or H is Until or H is Release) &
  H is neg-inner-most implies the_left_argument_of H is neg-inner-most &
  the_right_argument_of H is neg-inner-most
proof
  assume that
A1: H is conjunctive or H is disjunctive or H is Until or H is Release and
A2: H is neg-inner-most;
  set F2 = the_right_argument_of H;
A3: F2 is_subformula_of H by A1,MODELC_2:31;
A4: for G being LTL-formula st G is_subformula_of F2 holds G is negative
  implies the_argument_of G is atomic
  by A3,A2,MODELC_2:35;
  set F1 = the_left_argument_of H;
A5: F1 is_subformula_of H by A1,MODELC_2:31;
  for G being LTL-formula st G is_subformula_of F1 holds G is negative
  implies the_argument_of G is atomic
  by A5,A2,MODELC_2:35;
  hence thesis by A4;
end;

begin :: Definition of Buchi Automaton (finite state & infinite word ) .

definition
  let W be non empty set;
  struct(1-sorted) BuchiAutomaton over W (# carrier -> set,
    Tran -> Relation of [:the carrier,W :], the carrier,
    InitS -> Element of bool the carrier, FinalS ->
    Subset of bool the carrier #);
end;

definition
  let W be non empty set, B be BuchiAutomaton over W;
  let w be Element of Inf_seq(W);
  pred w is-accepted-by B means

  ex run be sequence of the carrier of B
st run.0 in the InitS of B & for i be Nat holds [[run.i,CastSeq(w,W).i],run.(i+
  1)] in the Tran of B & for FSet be set st FSet in the FinalS of B holds {k
  where k is Element of NAT:run.k in FSet} is infinite set;
end;

::  Preparation to define Buch Automaton for neg-inner-most LTL-formula v
::  after this, reserve v as neg-inner-most LTL-formula

reserve v for neg-inner-most LTL-formula;
reserve U for Choice_Function of BOOL Subformulae v;
reserve N,N1,N2,M1 for strict LTLnode over v;
reserve s,s1 for elementary strict LTLnode over v;

definition
  let v;
  let N;
  func atomic_LTL:: Received March 18, 2008:: Copyright (c) 2008-2026 Association of Mizar Users
xwhere -x
  atomic &xjava.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 36
     ,,  ,X ,
  proof
    PROB_1 RELAT_1 FUNCT_3  FUNCT_2 ,java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
     =LTL_WFF
    
      let   
      assume y in X;
      then 
      hence   then dom(f-g)d /domg\} : 4java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    end java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 23
    hence :is+inftyand
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  func g is without
  xwhereis -ormula
  o

f
     java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 78
    N};
 c 
    
       y ;
      assume y in A2for  beNatstn<java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 43
      then ex x being LTL-formula st y=x & x is atomic & ('not' x) in the
      LTLold of N;
      hence thesis by MODELC_2:1;
    end;
    hence thesis;
  end;
end;

definition
  let v;
  let N;
  func Label_(N) -> set equals
  {x where x is Subset of atomic_LTL:atomic_LTL(N
  ) c= x & Neg_atomic_LTL(N) misses x };
  correctness;
end;

definition
  let  proof
  func Tran_LTL    xasNatbyA3
  
  {    k  
  s,s1,x st y=[[s,x],s1] 
  correctness
   
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 78
    :] : exjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    X c= [: then considerobject that
    proof

      assume a inlet x be objectjava.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
      
      st a=y & ex s,NAT =dom INFSEQby FUNCT_2def;
      hence thesis;
    end;
    then reconsider
 :(v,: )
_:def3java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    X  seq1 is convergent&seq2 is convergent&seq1 is nonnegative&
thesis;

 InitS_LTL)- ElementofboolLTLStates(v)equals
  i v}
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  proof
    set y = init v;
reconsider y aselementary strict LTLnode over v;
A1: y is Element of LTLNodes(v) by Def30;
    y}c LTLStatesvjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
    java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 8

      A17: not seq1 is convergent_to_-infty by MESFUNC5:51;
       x =y by TARSKIdef 1;
      hence seq1 is convergent_to_finite_number by A1,A17,MESFUNC5:def 12;
    end;
            assume 0 <;
  end;


A23:  seq is convergent_to_+infty;
  v
 F;
  func FinalS_LTL(F,v) -> Element of bool
  {x A29:  for Realst0   beNatst m Nat  n=m
  Element of java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 14
  F the  of CastNode(,v) };
  correctness
  proof
           | -limseq2.<inftyby:9A34java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
    CastNode(x,v) or the_right_argument_of F in the LTLold of CastNode(x,v) };
    X c= LTLStates(v)
    proof
      let y be object;
      assume y in X;
      then ex x being Element of LTLStates(v) st y = x & (not F in the LTLold
of CastNode(x,v) or the_right_argument_of F in the LTLold of CastNode(x,v));
      hence thesis;
    end;
    hence thesis;
  end;
end;

definition
 ;
         :;
  {x where x is
  Elementofbool LTLStatesv:ex Fst is_subformula_of v & F is Until & x=
  FinalS_LTL(FA46    .seq. -(h . < |m-  |+| . -g.
  correctness
  proof
    set X = {x where x is Element java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 8
      &F is Until &x=FinalS_LTL(F,)}
    X c= bool LTLStates(v)
    roof
      let y be object;
      assumey inX;
      java.lang.StringIndexOutOfBoundsException: Range [29, 10) out of bounds for length 71
      n
      hence thesis;
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

  end;then.   
;

definition
  let v;
  func BAutomaton(v) -> BuchiAutomaton java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 33
  BuchiAutomaton
  (# LTLStates(v)       (#x)m  ((.|D.x byA2FUNCT_1:49java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50

end;

::************
::  verification of the main theorem
::************

theorem Th68:
  w is-accepted-by BAutomaton(v) implies w |= v
proof
    econsider S=}as of :;
 is-java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 40
considerrunbeingsequence LTLStates() that
A1:  ginPFuncsX,) java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 48
A2: for i holds [[run.i,Gzai(i)],run.(i+1,RELSET_1:4;
A3:proof
 NATrun. inFSet}is infinitesetjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
deffunc Run(at)  java.lang.StringIndexOutOfBoundsException: Range [35, 29) out of bounds for length 40
  set Run01=Run(0+1);
  set Run00=Run(0);
A4: for i holds Run(i+1) is_next_of Run(i) & Gzai(i) in Label_(Run(i+1))
  proof
    let i;
    set z= [[run.i,Gzai(i)],run.(i+1)];
    z in Tran_LTL(v) by A2;
    then consider
    y being Element of [:LTLStates(v),AtomicFamily,LTLStates(v):]
    such that
A5: z = y and
A6: ex s,s1,x st y=[[s,x],s1] & s1 is_next_of s & x in Label_(s1);
    consider s,s1,x such that
A7: y=[[s,x],s1] and
A8: s1 is_next_of s & x in Label_(s1) by A6;
:Run(+)=CastNodes1,v) by A5,A7,XTUPLE_0:
      .= s1 by Def16;
A10:[,]=[.,zai(i)  ,,:
    then java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 7
.  byDef16;
    hence thesis KasExtREAL_sequence
  end;
    
A11: Run01 is_next_of Run00;
  defpred P[Nat] A24:n = mjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    Run+1 holds(,) =Fjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
 iholds (i)=run.
  proof
    let i;    for x eobject st x in dom(G) holds (G.)x=n1 by 14
reconsider i as Element  NAT by ORDINAL1def 12;
    run.i in LTLStates(v);
   
    ex x being Element   M.ES <= M.EE by MEASURE1XBOOLE_12java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    LTLnode over v    assume rng K  bounded_above;
    hence thesis by Def16;
  end;
  then
      thenK.  rng K by FUNCT_1:;
  proof
    et FSet be set;
    set X = {k where A36:   n  NAT by ORDINAL1:def12
     of NAT:Run() in FSet}java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
A14 X c=Y
    proof
      let x be object;
        end
      then consider k being Element of NAT such thatA39:n  NAT by ORDINAL1:def12
:=and
A16:  run.k in FSet;
)FSet java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 32
      hence thesis by A15;
    end;
ume  ()java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    hence thesis by A3,A14;
  end;
A17: for n st P[n     sup(#)=+ byA49,53
  
    letnjava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
    assume
:P[;
A19: for :now
    Run(i+1) holds java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 11
    proof
      let ithen E.=0.by :def3;
      assume that
A20:A3:XX=dom chiE) by FUNCT_3def3;
A21:  len(F)= n+1 and
A22:A7:now
      set zeta = Shift(wthen (EX).=0 A6FUNCT_3:;
      
        per cases by A10: max+(chi(E,X)) is XX-measurable by MESFUNC7:23;
        suppose
     is;
setGi9CastSeqA)^i;
           =zai();
         CastSeqzeta,AtomicFamily = Gi9 byMODELC_2:81;
          then
:CastSeq(eta,AtomicFamily). = CastSeq(w,tomicFamily).0i)by
    letx be object;
            .;
          Gi inLabel_((+)) A4;
          then consider X being Subset of atomic_LTL such thatthen +M,max+ chi(,X) = integral'M,max chi(,)|E) by A16,A17,
A25:      Gi = X and
A26:      atomic_LTL(Run(i+1))A21 chiEX)EE23
:Neg_atomic_LTLRuni1)misses ;
A28:      Neg_atomic_LTL(Run(i+1)) /\ X ={  E =dom(chi(,)|E)by,MESFUNC7:3;
          now
perjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 34
            suppose
A29:          F is atomic;
thenF atomic_LTLRun(1)by ;
              hence thesis by A25,A26,A24,A29,MODELC_2:63assume that
            ;
            suppose
          F  Fis atomic;
              set Fa= the_argument_of F;
A31:          F =java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 17
              then;
              then
A32:          zeta | F iff notFainGi by A24,30MODELC_2:;
         in Neg_atomic_LTL(Run(i+1)) by A22,A30,A31;
              hence thesis by A25,A28,A32,XBOOLE_0:java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 38
            end;
          end   java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 72
          
        end;
       
A33:      F is conjunctive or F is disjunctive;
          set h1 = the_left_argument_of F;
          len(h1) <   
          then
A34:      len(h1) <= n by NAT_1:A5: for n be Nat holds s2.(n+1)=s2n+s(+)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
          assume s1 =.java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
          set Runi =7:X   ,java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
A35:      Runi1 is_next_of Runi by A4;
          set h2 = the_right_argument_of F;
          h  n1by ,,MODELC_211java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
          java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
          reconsider Runi1 as elementary strict LTLnode over v by
          reconsider Runi as elementary strict LTLnode over v by A35;
A37:      Runi1   PS.0 = seq.0 by Def1. = seq.0byDef1
  h1 inLTLoldofRuni1 & inthe LTLold of Runi1)&(java.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
  forn,m  Natst < n holds Partial_Sums seq)m<= (
          by  proof
A38:      h1 is_subformula_of F & h2 is_subformula_of F by A33,MODELC_2:A6:for be Nat holds PSk< PS.(k+)
          zeta |= F
          proof
            now
                by A33;
              suppose
A39:            Fthen
                then
                =h1&zeta |  byA4,A18,A20,A22,38AA36,37java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
MODELC_2:35;
                then zeta |= h1 '&' h2 by MODELC_2:65;
                java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 10
              end;
              suppose
A40:            F is disjunctive;
                then zeta |= h1 or zeta |= h2 by   assume
,MODELC_2:35;
                :P]java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
        thesisA40MODELC_2:7;
              end;
            end;
            hence thesis;
          end;
          hence thesis;
        end:for n Nat holds . =(F.)D
        
A41:      F is next;
          set i1=i+1;
          set Runi1  Run(i1)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
          set Runi2 = Run(i1+1);
          Runi2 is_next_of Runi1 A2 forn beNat holds Gn =(.)Dand
          then reconsider Runi2 as elementary java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 22
          set Runi =Run(i);
A42:      Runi1 is_next_of Runi by A4;
 Fjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
A43:      h is_subformula_of F by A41,MODELC_2:30;
          len(h) < n+1 by A21,A41,MODELC_2:10;
          then
A44:      by A11java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
          reconsider Runi1 as elementary strict LTLnode over v by A42;
          reconsider Runi as elementary strict LTLnode over v by A42;
A45:       then G#isconvergent_to_-nftyby A2,A10,;
          next implies h in the LTLnext of Runi1)  l G.=( F|)xbyA9ATh7
 Runi1 c the LTLold of Runi2 by A4,h37;
          thenwi1 =h by A4,18,A20,,A41A,,A45,:35
          then Shift(zeta,      |(x.-limFx .    
          then zeta |= 'X' h by MODELC_2:67;
          hence thesis by A41,MODELC_2:5;
        end;
        suppose
         .Fx.  Fx | byA18java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
          set Fin = FinalS_LTL(F,v);
          deffunc Fun      then Gxisconvergent;
           hence limG)x  (lim )D. byA6,A7,A9,15MESFUNC8:def 9;
A47:      for x st  hence  thesis by A6,ARTFUN1:5;
           runQ being sequence of LTLStates()such that
A48:      for x st x in NATA1:Fis with_the_same_dom and
          domF.)=(.0)byA1;
          reconsider runQ as sequence of LTLStates(v);
          deffunc RunQ(Nat) = end;
A49:      for m holds RunQ(m) = Run(m+i)
          proof
            let msame_dom and
            reconsider m as Element of NAT by ORDINAL1let  beElementof ;
      RunQm = CastNode(m),)by A48
              .= Run(m+i) by MODELC_2:def 1;
            hencethesis;
          end;
A50:      for     then
          proof
      java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 18
            set m1 = m+i;
A51:        RunQ(m+1) = Run((m+1)+i) by A49
              .= Run(m1+1definition
RunQ  (1 by;
            hence thesis by A4,A51;
          endjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
set ={k where k is Element of NAT:() in Fin}
A52:      Fin in     proof
A53:      FRunQ is infinite
          proof
            set FRun2 =           notx   X,xtREAL&y=Fn or(x is PartFuncof 
            java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 6
A54:        FRun1 cthen reconsider G2 =x  PartFunc of ,xtREAL;
            proof
               x  object;
              assume x in FRun1;
              then consider k being Element of NAT such A3  IT=  .=F0&fornbeing holds [n
A55:          x = k and
A56:          k<=i andA4   indom and
              k in FRun;
              now
                per cases;
   uppose
                  k = 0;
                  then k in {0} by TARSKI:def 1;
                  hence thesis by     then  ITc (,)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
                end;
                suppose
                  k <> 0;
                  then 0<0+k;
                  then 1<=      java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 19
                  then k 
                  hence thesis by A55attr F is additivemeans
                end;
             
              hence thesis;
            end;
A57:        java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 7
            proof
              deffunc Fun(object) = CastNat($1)+i;
              F(+)"+)\ (.)"{+nfty / (F.(k+)"{infty) by
A58:          dom fun = FRunQ &
   for x being object st x in FRunQ holds fun.x =
              Fun(x) from FUNCT_1:sch 3;
A59:          x in FRun2 implies CastNat(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
              proof
                x  ;
                then consider k being Element   percases
A60:            x = k and
:i k 
A62:            k in FRun;
                set k2=k-i;
reconsider k2asElement of NAT by 61,:java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
A63:            RunQ
                  .= Run(k);
                (ex k1 being Element of NAT st k = k1 & Run(k1a
                & CastNat(x)-i = k2 by A60,A62,MODELC_2:def 1;
                hence thesis by A63;
              
A64:          for y being object st y in FRun2
      ex x being object st x in java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 9
              thenk < by NAT_113;
                      not (PF.k).z {infty} A5A6,AT_113TARSKI:def 1;
A65              FRun2;
                consider k being Element of NAT such that
A66:            y = k and
            i<k and
kinA65;
                set x = CastNat(y)-i;
x  domfun  A59,58,65;
set k1=k-;
                reconsider k1 as Nat by A67,NAT_1:21;
A69:            x = k1 by A66,MODELC_2:def 1;
                  thesis ,A6,,:13,XREAL_3:16;
                  .= k1 +then
                  .= y by A66;
                hence thesis by A68;
              end;
              assume FRunQ is finite;
              rngfunis finiteby A58,FINSET_1:;
              hence thesis by A64,FINSET_1:1,java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 32
           ;
            FRun cend
            proof
              let x be object  exm  Natst m< n&Fm.  
              assume
A70:          xnow
              k   stx=&Run( Fin
              then reconsider x as Element of NAT;
              now
                per java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 10
                 thennotz  P.){-nfty by FUNCT_1def 7;
                  x<=i;
                  then x in FRun1 by A70;
hencexin  /FRun2by :ef 3;

                suppose
                  i < x;
                  then x in FRun2 by A70;
                  hence x in FRun1 \/ FRun2 by XBOOLE_0:def)\ (.){infty  F(+"infty})) java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
                end;
              end;
              hence thesis;
            end;
            hence thesis by A13,A52,A57,A54;
          end;
          set h2 = java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 16
          set h1 = the_left_argument_of F;
          len(h1) < n+1 by A21,A46,MODELC_2:11;
          then
A71:      len(h1) <= n by NAT_1:13;
A72:      (for m stnow
LTLold of A3: (.1){infty;
            indomPFn A2,: 7java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
            assume
A73:        A7: z in dom(F+1) byA3,UNCT_1def 7;
            the  Fn1)z =+nfty by:ef 1;
            now
assume   c0;
              then  being  suchthat
A74:          x in FRunQ and
A75:          not x in {0};
              consider kA12:k < n 
A76:          x = k and
A77:          A15: (F.(n+1)).z-inftybyTARSKIdef ;
              k <> 0 bythen domFk \dom(F.1)byA,:def4;
              then 0<0+k;
              then
A78:          1 <= k by NAT_1:19;
              set RQk = RunQ(k);
              consider y being Element of LTLStates(v) such that
A79:          RQk = y and
A80:          not F in the LTLold java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 20
              LTLold of CastNode(y,v) by java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 16
    over byjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
(v  RunQk)A79,ef16;
              hence contradiction by A73,A78,A80;
e;
            hence thesis;
          end;
          F in the LTLold of RunQ(    meetDOM1m  XBOOLE_0 
          then consider j such that
      j=1
A82:      h2 in the LTLold of RunQ(j) and
A83:                hencethesis byA12,SETFAM_1:def 1;
          in the LTLold of RunQ(m) java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 12
          set j0 = j-1;
          reconsider j0 as Nat by A81,NAT_1:21;
          j0;
          j1+1 = j+i;
          
A84:      h2 in the LTLold of Run(java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
A85:      h1 is_subformula_of F by A46,MODELC_2:31;
A86:      for k st k<j0 holds Shift      let V  object;
            proof
            let k such that
A87:        k<j0;
             k1 k1;
            set ki=k+i;
            1<=k1 & k+1 < j0+1 by A87,NAT_1:11,XREAL_1:8;
            then h1 in the LTLoldVin{F0}java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
            then h1 in the LTLold of Run(k1+if 10;
            forkbe holds [k  : 2(23A)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
       (,ki | h1byA18,A20,A85,A71,MODELC_2:35;
            hence thesis by MODELC_2:80;
          end;
          len  now
          then
:lenh)<  by NAT_11;
          h2 is_subformula_of F by A46,MODELC_2:  end;
          then Shift(w,j1) |= h2 by A18,A20 now
          then
:Shift(,j0)|  by MODELC_280java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
          F =java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 64
          hence thesis by A89,A86,MODELC_2:68;
        end;
        suppose
A90:      F is Release;
          set h2 = the_right_argument_of F;
A91:      h2 is_subformula_of F by A90,MODELC_2:31;
              F;
     [Natm forst  1 holds Shiftzetak |not
          h1proof
          len(h1) < n+1 by A21,A90,MODELC_2:11;  let n, be ;
          then
let setjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
          len(h2) < n+1 by A21,A90,MODELC_2:11;
          then
A93:      len(h2) <= n by NAT_1:13;
A94Ahencethesis,A3A8A6,:47;
A95:      for j st M[j] holds M[j + 1]
          proof
            let j such that
A96:        M[j];
            
            proof    .k+)  . +(Fx.k+ by ;
              set i1A7 (+1  PF).  F(+)).x byMESFUNC5 13;
                    (.k+)  ,Th29
              set Run0=Run(i1)    thesisdefjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
              assume
A97:          for k st k<j+1 holds Shift(zeta,k) |= 'not' h1;
A98:          for k st k<j holds java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
              proof
A99:            j <= j+1 by NAT_1:11;
java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
                assume k<j;
                then k<j+1 by A99,XXREAL_0:2;
                hence thesis by A97;
              end;
A100:         Run1 is_next_of Run0 by A4;
              then reconsider java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 17
              set i2=i1+1;
s=Runi21;
A101:         Run2 java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 8
              then java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 7
              reconsiderRun1   strictLTLnode over  by ;
              j<j+1 by NAT_1:13;
              then
A102:         Shift(zeta,j) |= 'not'A11  mbeNat n<m holds| P#x.-  . <pby A10
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 12
assume  the LTLold  ;
                thenhence PFxis convergent_to_finite_number
                then Shift(Shift(w,i),j) |= h1 java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 10
                hence contradiction by A102,      assume 0  ;
              end;
A104:         Run1 is_next_of Run0 & F is Release & F in the LTLold of
Run1        r< (F#) by A1A2A3,,Th32
           Th39java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
              let r be Real
              then
A105:      hencer< . byA1,2,3,4T;
              F in the LTLold    end;
              hence thesis by A105,MODELC_2:80
             is-
            hence thesis;
          end;
A106:           assumjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 20
A107:     (for j holds    hence PFx-;
          proof
            assume for j holds M[j];
            then for j holds ((for k st k<j holds Shift(zeta thenbeNatsuchthat
             (etaj) | h2)
hence  byA106,ODELC_269java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
          end;
A108:     M[0]
          proof
            set Run0=Run()
                
A109:       Run1 is_next_of Run0 by A4;
            then reconsider Run1 as elementary strict LTLnode java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 37
            reconsider Run0 as elementary strict LTLnode over v by A109   A26
            assume for k st k < 0 holds Shift(zeta,k) |= 'java.lang.StringIndexOutOfBoundsException: Range [0, 61) out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
            Run1;
            Release implies h2 in the LTLold of Run1) by Th41;
            hence thesis by A4,A18,A20,A22,A90,A91,A93,A110,MODELC_2:35;
          end;
          for j holds M[j] from NAT_1:sch 2(A108,A95);
          hence thesis by A107:=(#)
        end;
      end;
      hence thesis;
    end;
    P[n+1]
    proof
      i;
      assume that
A111: F is_subformula_of v and
A112      letp Realjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
     ofRuni;
      set L=len(F);
      reconsider L as Nat;
      now java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 46
        per cases by A112,NAT_1:8then
        suppose
          L<=n;
          hence thesis by A18,A111,A113;
        end;
        suppose
L 
          hence thesis by A19,A111,A113;
        end;
      end;
      hence thesis;
    end;
    hence A2: for k be Nat Pk holds P[+]
  end;
A114: P[0] by MODELC_2:3;
A115: for n holds P[n] from NAT_1:sch 2(    then (Partial_Sums F).k + F.(k+1) is_simple_fu MESFUNC538;
  setn=lenv;
A116: v in {v} & len(v)<=n by TARSKI:def 1;
  reconsiderhence thesisjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  reconsider Run00 as elementary strict LTLnode over v by A11;
 c=   ofRun01  ,Th37java.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
  Run(0) = java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 7
    .= init v by Def16;
  then Shift(w,0) |= v by A117,A115,A116;
  hence thesis by MODELC_2:  (Partial_Sums F)0=F by Def4
end

definition
  let w,v,U,N;
  assume that
A1: N is non elementary and
:w =*N;
  func chosen_succ_end_num(w,v,U,N) -> Nat means
  :Def48:
  (for i st i<it holds
 (choice_succ_func(,,U|*i)N) is &CastNode((
choice_succ_func(w,v,U)|**(    dom(PF.(k+1)) = dom(F.0) A1,A3,Th29,Th30;
  ,U)|**i).N,v)) & CastNode((choice_succ_func(w,v,U)|**it).N,java.lang.StringIndexOutOfBoundsException: Range [0, 62) out of bounds for length 35
  for i st i<=it holds w |= *CastNode((choice_succ_func(w,v,U)|**i).N,v);
  existence
  proof
A3: w |= *CastNode(N,v) by A2,    now
    N in LTLNodes(v) & CastNode(N,v) is non elementary by A1,Def16,Def30;
    hence thesis by A3,Th51,Th62;
  end;
  uniqueness
  proof
    set f         PFn). < (PF.). by ,A12;
    let n1,n2  end
   k >=n+1by NAT_1:3;
    CastNode(( f|**(i+1)).N,v) is_succ_of CastNode((f|**i).N,v)      hencethesis by A4,A10;
A5: CastNode((f|**n1).N,v) is elementary and
    for i st i<=n1 holds w |= *CastNode((f|**i).N,v) and
A14 k Natstk>n [  : ()
    CastNode((f|**(i+1)).N,v) is_succ_of CastNode((f|**i).N,v) and
A7: CastNode((f|**n2).N,v) is elementary and
    for i st i<=n2 holds w |= *CastNode((f|**i).N,v);
    now
      assume
A8:   n1<>n2;
      now
        per cases by    ,  Natst <n  ( )x). <=(
        suppose
          n1<n2;
hencecontradictionby ,6
        end;
        suppose
          n2<n1;
          hence contradiction by A4,A7;
        nd;
      
      hence contradiction;
    end;
    hence thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  end;
end;

definition
  let w;
  let v;
  let U;
  let N;
  assume:  P java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 40
:| ''N;
(,,N > strict LTLnode over v
  :Def49:
CastNode ((java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 6
  ,v) if 'X' N is non elementary  hence thesisjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  correctness by A1,Def48;
end;

theorem Th69:
  w |= * ('X' s) implies chosen_next(w,v,U,s) is_next_of s & w |=
  *chosen_next(w,v,U,s)
proof
  set LN = LTLNodes(v);
  set N = 'X' s;
  assume
A1: w |= *N;
  set n = chosen_succ_end_num(w,v,U,N);
  set f = choice_succ_func(w,v,U);
  set nextnode =CastNode((f|**n).N,v);
A2: N in LN by Def30;
  now
    per cases;
    suppose
A3:   N is non elementary;
()=(|*(1-)Nv)java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
      set n1=n+1;
ex  lenL = &for k beingNatst  dom holds.=(k)
      from FINSEQ_1:sch 2;
      then consider L such that
assume
A5:   for k being Nat st k in dom L holds L.k=F(k);
A6:   Seg n1 = dom L byA5 xindom(F.) \(G) and
A7:   for k st 1<=k & k<=n1 holds L.k = CastNode((f|**CastNat(k-1)).N,v)
      proof
        let k;
        assume 1<=k & k<=n1;
        then k in Seg n1 by FINSEQ_1:1;
        thenletk  Nat
        hence thesis by MODELC_2:def 1;
      end;
fork st < k& k  len()holds exN1 st N1=L &M1L.(+
      ) & M1 is_succ_of N1
      proof
        let k;
        assume that
A8:     1<=k and
A9:     k<len(L);
        set k1 = k-1;
        reconsider k1 as Nat by A8,NAT_1:21;
        set M1 = java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
        set kp=k+1;
        <  < byA8,N:;
        then
A10:
          .= M1 by MODELC_2:def 1;
        set N1 = CastNode((f|**k1).N,v);
        k-1<java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 13
        then
A11:    M1 is_succ_of N1 by A1,A3,Def48  ,xtREAL by A2,3,java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
        L.k = CastNodeA: x inEjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
          .= N1 by MODELC_2:def 1;
        hence thesis by A11,A10;
      end;
      then
A12:  L is_Finseq_for v;
A13:  1<=n1 by NAT_1:11;
      then
A14:  L.(len L) = CastNode((f|**CastNat(n1-1)).N,v) by A4,A7
        .= nextnode by MODELC_2:def 1;
A15:  nextnode = chosen_next(w,v,U,s) by A1,A3,Def49;
      L.1 = CastNode((f|**CastNat(1-1)).N,v) by A13,A7
        .= CastNode((f|**0).N,v) by MODELC_2:def 1
        .= CastNode((id LN).N,v) by FUNCT_7:84
        .= CastNode(N,v) by A2,FUNCT_1:18
        .=X' s by Def16java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
      hencethesisby A1,A,13,4,14A12Def48;
    end;
    suppose
      N is elementary;then . +F(+1)   A3MESFUNC5108;
      then thee;
      then
A16:  chosen_next(w,v,U,s)= N by A1,Def49;
      set L =<*N*>;
      for k st 1 <= k & k < len(L) holds ex N1,M1 st N1 = L.k & M1=L.(k+1
pjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      then
A19:set =Partial_Sums;
      len L = 1  thusIntegralM(F.)=(artial_SumsI.
      hence thesis by A1,A16,A19;
    end;
  end;
  hence thesis;
end;

definition
  let w;
  ;
  let U;
  func chosen_run(w,v,U) -> java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 29
         +,.)  java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 71
  it.0 = init
  v & for n holds it.(n+1) = chosen_next(Shift        ;
  existence
  proof
    deffunc G(set,set) = chosen_next(Shift(endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    set LS = LTLStates(v);
    (ex y being set st ex f being Function st y = f.0 & dom f = NAT & f.0
    = init v & for n being Nat holds f.(n+1) = G(n,f.n)) & for y1,y2
 set st exbeing  .0 java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 76
for n being Nat holds f.(n+1) = G(n,f.n)) & (ex f being Function st
y2 = f.0 & dom f =      nbejava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    ) = G(n,f.n)) holds    F.m is D-measurable 34
    then consider IT being Function such that
A1: dom IT = NAT and
A2: IT.0 =init v and
A3: for n being Nat holds IT.(n+1) = G(n,IT.n);
A4: for n being Nat holds IT.(n+1) = G(n,IT.n)
    by A3;
A5: for n being Nat holds IT.(n+1) = chosen_next(Shift(w,n),v,U,CastNode(IT
    .n,v))
    proof
      let n;
      IT.(n+1) = chosen_next(Shift(w,CastNat(n)),v,U,CastNode(IT.n,v)) by A4;
     thesis MODELC_2 ;
    end;
    for x being
    
x objectjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
        Partial_SumsI is  by A11,ESFUNC5:2;
      then   hence I is summablejava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
:=  <xjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
      now
        per cases by A6
        suppose
A7:       x = 0;
          set y = IT.x;
          reconsider y as Element of LTLNodes(v) by A2,A7,Def30;
          IT.x = y;
          hence thesis by A2,A7;
        end;
        suppose
A8:       1<=x;
          set x1 = x-1;
          reconsider x1 as Nat by A8,NAT_1:21;
          setthusFn| nonnegative ,java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 50
A9:       y = IT.(x1+1) .= G(x1,IT.x1) by A4;
          then     reconsider m = njava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 58
          IT.x = y;
          hence thesis     (F.k)|E is nonnegative) java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 33
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      end;
      hence thesis;
    end;
    then reconsider IT as sequence of LS by A1,FUNCT_2:3;
    take IT;
    thus thesis by A2    then dom(g1.0 = E by A9;
  end;
  uniqueness
  proof
    deffuncNat L.  java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 70
set  v;
A23  []
    java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
ldsf =g
    proof
      .)=.  .+  java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
A11:  f.0 =init 
     Natholds.(+) G(,.)and
 g      .  Fk)E =E A,,,65java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
 fornbeing  holds .+) (n,.)
[Natf$=g$;
A15:  for k being Nat st P[k] holds P[k + 1]
      proof
        let k be Nat;
assume[]
f(k+)=G,|java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
. (k+ A14
        hence thesis;
      end;
A16:  P[0] by A11,A13;
      for k being proof
      then
xbeing objectstx indomfx=g.;
g= byjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 49
      hence thesis by A17,FUNCT_1:2;
    end;
    for f,g being sequence of LTLStates(v) st (f.0 =init v & for n
holds f.(n+1) = G1(n,f.n)) & (g.0 =init   F  Functional_Sequence of X,xtREAL,K  such
    holds f = g
    proof
fg  such 
A18:  f.0 =init v and
A19:  for n holds f.(n+1) = G1(n,f.n) and
 v 
A21:  A21et  beTopSpace,Uberelatively-compact Subset of ;
:for n holds .n1 = Gn,gn
      proof
       n;
        g.(n+1) = chosen_next(Shift(w,n hencethesis;
        hence thesis by MODELC_2:def 1;
        Int and
      for n holds f.(n+1 end
      proof  beingjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 74
        :  
fn1java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        definition
endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
 thesisby A10,18,A20,A22;


  end;A2:f is  and
end;

Lm33: 'X' CastLTL({} v)= {}
proof
      hence thesis by A1,A5,Lm2java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
    assume 'X' CastLTL({} v) <> {};
    then consider y being object such that
A1: y in 'X' CastLTL({} v) by XBOOLE_0:def 1;
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    {} v) & x='X' u by A1;
    ;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  hence thesis;
end;

theorem Th70:
  w |= * N implies Shift(w,1) |= * ('X' N)
proof
= ' java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  assume
A1: w |= *N;
  for H be LTL-formula st H in 'X' CastLTL(the LTLnext of N) holds w|= H
  proof
    let H be LTL-formula;
LTLnext of N)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    then H in *N by Lm1;
    hence thesis by A1;
  end;
  then
A2: w |='X' CastLTL(the LTLnext of N);
  *XN = CastLTL(the LTLnext of N) by Lm33;
  hence thesis by A2,MODELC_2:77;
end;

java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
 ='X'A14: IND[ 0 A10;
proof
  assume
A1    gthenQ st=&iscompact&VW
  for Hregistration
  proof
    let H being LTL    then ClU& =dom.
umeH  ' S v;
then
    ex x being LTL-formula st H=x      hence gnis-compact- -compact for
    Seed v) &    consider Ybeinga_neighborhoodof x suchthat
,TARSKId ;
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
end;

Th72java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  w |= v iff w |= *('X' init v)
proof  proof
  set N = init v;
   M='X'N
A1: *M = {v} by Lm33A25: dom(. -h.) =dom(.)/ dom(h.) by MthenreconsiderKC =K/ C as Subset of X|)by XBOOLE_1:17;
A2: w |= *M implies w |= v
  proof
    assume
A3:w =*;
    v in *M by A1,TARSKI:def 1;
 by A3;
  end;
  w |= v implies w |= *M
  by A1,TARSKI:def 1;
 thesisby ;
endA:  be  P][+]

theorem Th73:
  w |= v implies for n holds CastNode(chosen_run(w,v,U).(n+1),v)
  is_next_of CastNode(chosen_run(w,v,U).n,v) & Shift(w,n) |= * ('X' CastNode(
  chosen_run(w,v,U).n,v))
proof
  set s = init v;
deffunc R(at)=CastNode(chosen_runw,U)$,v)
  defpredA38:   h(+1)x<+nfty;
  assume w |= v;
java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A1: w |= *('X' s) by Th72;
A2: CastNode(chosen_run(w,v,U).0,v) = CastNode(s,v) by Def50
    .= s by Def16;
A3: for n st P[n] holds P[n+1]
  proof
    let n;
    set s1=R(n);
    s1 is elementary strict LTLnode over v
    proof
      now
        per cases;MESFUNC1def 4;
        suppose
          n = 0;
          then s1  then
            .Def16
          hence thesis;
        end;
suppose
A4:       0 <n;
          m=-java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
masbyA4NAT_120java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
 Kin java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
          then
          s1 = CastNode(take;
          ,v,U).m,        then| hx).-limhx |<pbyA53java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
            .= java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 10
          A55g 
 ;
        endreconsiderxx  asPointXEbyA3:;
end
      hence thesis;
    end;
sider as elementarystrict   vjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
    set n1 =n+1;
          pReal   NNatfor java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 8
w2w;
    set s2=R(n1);
    set s3=R(n1+1);
A5:  =h.
    v) by Def50
      .= chosen_next(w1,vXjava.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 10
    thenjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A6: s3 A4 #Y  }implies[]X={}byA1;
    ,vA:= [Xand
      .= let P be Subset
assume[njava.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
    then java.lang.StringIndexOutOfBoundsException: Range [2, 11) out of bounds for length 7
 w2  ')  Th70
    hence thesis by A6,Th69;
  end;
  R(0+1         
  U).0,v) ),v) by Def50
    .= CastNode(chosen_next(w,v,U,          = mjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
    .= chosen_next(;
  then
A7: P[0] by A1,A2,Th69,MODELC_2:79;
 n: (,java.lang.StringIndexOutOfBoundsException: Range [41, 1) out of bounds for length 43
  hence thesis;
end;

theoremTh74java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  w |=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  A67
implies the_right_argument_of H in the LTLold of CastNode(chosen_run(w,v,  
  

  assume
A1: w |= v;
en_run(,v,.j1,) java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
is Until  assume  ;
inhencethesis: java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  proof
    set LN = LTLNodes(v  ;
    let j;
    set       <>mjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    A2   x (F)/ (F;
    set w0thenin}\(.)byA2,:;
    set N = 'X' s;
    set f = choice_succ_func(w0,v,U);
    set n = chosen_succ_end_num(w0,v,U,N);
    set nextnode =CastNode((f|**n).N,v);
A2: w0 |= *N by A1,Th73;
A3: N in LN by Def30;
    now
      per cases;
      suppose
A4:
        deffunc F(set)let beFunctionof [:,D]X
         =n+1;
        exexistence
        from FINSEQ_1:sch 2;
then java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 33
A5:     len L = n1 and
A6:     for k being Nat st k in dom L holds L.k=F(k);
A7:     Seg n1 = dom L by A5,FINSEQ_1:def 3;
A8:     for k st 1<=k & k<=n1 holds L.k = CastNode((f|**CastNat(k-1)).N,v)
        proof
          let k;
          assume u
          then k in Seg n1 by FINSEQ_1:1;
          then L.k=CastNode((f|**CastNat(CastNat(k)-1)).N,v) by A6,A7;
           by ;
        end;
A9:     for k st 1 <= k & k < len(L) holds ex N1,M1 st N1 = L.k & M1=L.(k+
        1) & M1 is_succ_of N1
        proof
          let k;
          assume that
A10:      1<=k and
A11:      k<len(L);
          set k1 = k-1;
          reconsider k1 as Nat by A10,NAT_1:21;
          set     IT Functionjava.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
          set kp=k+1;
           One-(  non;
          then
A12:      L.(k+1) = CastNode((f|**CastNat(kp-1)).N,v) by A8
            .= M1 by MODELC_2:def 1;
          set N1 = CastNode((f|**k1).N,v);
          k-1<n1-1 java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 6
          then
A13:      M1 is_succ_of N1 by A2,A4,Def48;
L  CastNode(|*k1).v  A8,java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
            .= N1 by MODELC_2:def 1;
          hence thesis by A13,A12;
        end;
        
:is_Finseq_for java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
        1<=n1 by NAT_1:11;
        then
A15java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
.CastNode(|*.v :ef1
. ( )v by84
          .= CastNode(N,v) by A3
          .  byDef16java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        1<=n1 by NAT_1:    java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
        then
A16           as- ofX :;
          .  
A17:    nextnode is elementary by A2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
1=L  ,:1
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A18:    len(L) >1 by A4,A15,A16,A17,XXREAL_0:1;
A19  existence
the_right_argument_of H implies the_right_argument_of H in the LTLold of
        nextnode
        proofA10 Ain  : 4;
          set H2 = the_right_argument_of H;
          java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 21
A20:      H in the LTLold of nextnode and
A21:      H is Until and
A22:      w0|=H2;
          the LTLoldend;
ofjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 63
          :  uniona [X;
A23:      1<= m and
A24:      m<n1 and
A25:      ( not H
          CastNode.m )
          sethence proof
          reconsider mm1 as Nat by A23thenA such
          set Nm1= (f|**mm1).N;
          set m1 = m+1;
A26:      Nm1 in LN by A3,FUNCT_2:5;
          consider N1,N2 such that
A27:      N1 = L.m and
A28:      N2 = L.(m+1) and
A29:             contradiction
A30thencunionua  A8,,XBOOLE_133,ZFMISC_1:74;
           =CastNodeN,v  MODELC_2def1;
A31:      1<=m1 & m1<=n1 by A23,A24,NAT_1:13;
          then
A32:      N2 = CastNode((f|**CastNat(m1-1)).N,      ssume  rngITjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
            . ((f|*mm1+).,)by MODELC_2:def 1
            .= CastNode((f*(f|**A29:      (union ua)` is compact by,A27,:9,XBOOLE_1;
            =(f*)N,)  ,:java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
            .= CastNode(chosen_succ(w0,v,U,CastNode(Nm1,v)),v) by A26,Def36
            .= chosen_succ(w0,v,U,N1) by A30,Def16;
          m-1<n1-1 by A24,XREAL_1:14;
          then
A33:      N1 is non elementary by A2,A4,A30,Def48;
          chosen_formula(U,N1) = H
          proof
            set G     ;
            set M2 = the LTLold of N2;
            set M1 = the LTLold of N1;
            set M0 = the LTLnew of N1;
 A33endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
 M2=M1\ G}
java.lang.StringIndexOutOfBoundsException: Range [26, 17) out of bounds for length 17
              now
                percases;
                suppose
                  not G is Until & w0 |= *SuccNode1(G,N1) or G is
                  Until & w0 |/= the_right_argument_of   ;
                     ,A35: ;
                 thesis A32,34D;
                end;
                
     ( G  letXbeempty Fbe N,X)) java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
                  java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 26
              N2 = SuccNode2(G,N1) by A32,A36,Def35    ex best.       &=a/binYA2:java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
                  hencethesis byA34D;
                end;
end
              hence thesis;
end
A37:        ( not H in M1)& H in M2 by A25,A27,A28,Def16;
            now
              assume H <> G;
              then not H in {G} by TARSKI:def 1;
              hence contradiction by A37,A35,XBOOLE_0:def 3;
            end;
            java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25
          end;
          then
A38:      N2 = SuccNode2(H,N1) by A21,A22,A32,Def35;
A39:      CastNode(L.(len(L)),v) = nextnode by A16,Def16;
          N1 = CastNode(L.m,v) & N2 = CastNode(L.(m+1),v) by A27,A28,Def16;
          then N2 is_succ_of N1,H by A25,A29,Th28;
          then
A40:      H in the LTLnew of N1;
          the LTLnew of nextnode = {} by A17;
          then
          the LTLnew of CastNode(L.m1,v) c= the LTLold of CastNode(L.(len
          (L)),v) by A5,java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
          then
A41:      the LTLnew of N2 c= the LTLold of nextnode by A28,A39,Def16;
          the LTLold of CastNode(L           Gm) jk  j< holdsxb
) A5,A,24Th31java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
          then
:    =the:the  X (topology X  java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
          LTLNew2 H = {H2} by A21,Def2;
          then
A43:      the LTLnew of N2 = ((the LTLnew of N1  st[n,]
N1 ,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
              java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 26
            suppose
              H2 in the LTLold of N1;
              hence thesis by A42;
            end;
            suppose
A44:          not H2 in the LTLold of N1      defpred P2atmeans IntegralM.1 =artial_Sums)$1java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
              H2in     ,9)byA5java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 
              A17     open
              hence thesis by A41: 1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
            end;
end;
          hence thesis;
          WW java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 76
        chosen_run(w,v,Uthen consider  beA22GXcthe  O-()
        ,A4thenF)java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 71
        hence thesis by      then consider  SubsetXthat
      end;
      suppose
 isjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        then the LTLnew of N = the LTLnew         y = U \/ {[#]X} as Subset of One-Poi
        then chosen_next(w0,v,U,s)= N by A2,Def49;
        then s1 = CastNode(N,v) by Def50
           ;
        n java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 15
      end;
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    hencethesis;
  end;
  hence thesis;
end;

theorem Th75:
  w |= v implies w is-accepted  
A38    f. in f by ,,FUNCT_13;
  set LS = LTLStates(v);
  set LT = Tran_LTLXBOOLE_1:1;
  set IS = InitS_LTLxin E holds #  summable)impliesexIbeExtREAL_sequence  for  Nat
  set FS = FinalS_LTL(v);
  assume
A1: w |= v;
  ex run be sequence of LS st run.0 in IS & for n holds [[run.n,CastSeq:E=dom(.) and
  AtomicFamily).n],run.(n+1)] in LT & for FSet being set st      let Pbe object;
  k ElementofNAT:un.in FSet}is infinite set
  proof
set   v
    deffunc R(set) = java.lang.StringIndexOutOfBoundsException: Range [58, 31) out of bounds for length 51
A2: for x st x in NAT holds R(x) in LS;
    ex run being sequence  java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 53
    ) from FUNCT_2:sch 11(A2);
 runsequenceof such
: st inholds (;
 N)=(.vjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
:forn  isstrictover&n java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    elementary strict LTLnode over v

      let n;
e;
      java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 12
  java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 58
      N  v) 
A5:   N = run.n and
:  strictv
      reconsider N [#]X in {[#]X} by TARSKI
      the LTLnew of A3: the topology of On-oint_CompactificationX  ( topologyof X)/
        .= {} by Def11;
      hence thesis byadditivessumethat
    end;
      in#X&q[java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    proof
      let n;
      reconsider n as Element of NAT by X java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
      run.n = R(n) :in#X
      hence thesis by MODELC_1:def 2;
    end;
A8: for n holds Run(
    proof
      let n;
      set Rn = Runthus openjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
      reconsider    P[X  java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 41
      set n1=n+1;
      set w1 = Shift(w,n);
A9:   run.   is A6
      Run(n) = CastNode(chosen_run(w,v,chf:;
      
A10:  w1 |= * ('X' Rn) by A1,Th73;
      run.n1 = chosen_run(w,v,chf).n1 by java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 15
=,v,) D;
      then Run [X} 50
      hence thesis by A10,Th69;
    end;
A11: for n holds CastSeq(w,AtomicFamily).n in Label_(Run(n+1))
    proof
      let n;
      reconsider n as Element of NAT by ORDINAL1:def 12;
      set Rn1 = Run(n+1);
      set w1= Shift(w,n);
      set X = CastSeqwA.      thesis ,A17;
    thesisby A11,;
CastSeqw1) wA\ MODELC_2;
      then
A12:  CastSeq(w1,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 24
;
A13:     n, be Nat;
A14:   # [X   1;
        F2 byjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
Neg_atomic_LTL:java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 33
        then consider a being object such that
A15:    a in Neg_atomic_LTL(Rn1) /\ X by XBOOLE_0e;
        a in Neg_atomic_LTL(Rn1) by A15,XBOOLE_0:def 4;
           reconsider asjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 76
A16:    x = a  \[]X `by,28java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 4
        ('not' x) in * Rn1 by A17,Lm1
        then w1 |= ('not' x) by A13;
        then
A18:    w1 |/= x by MODELC_2:A5 hetopologyof-Point_CompactificationX)=(he topologyof )\ java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
        a in X by A15,XBOOLE_0:def 4;
h   ,16,18,ODELC_2:;
      end;
) java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
      proof
        let a be object;
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 36
thenxbeing-ormula()=dom((FF.)0  A8;
A19:    x = a & x is atomic and
x intheLTLold ofRn1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
        x in * Rn1 by A20 then[] #Xjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 32
        then w1 |= x by A13;
        hence thesis by A12,A19,MODELC_2:63;
      endA:X9 =[] and
      hence thesis by A14;
    end;

    proof
n;
        beingnonempty stnon inclX
      set R = Run(n);
      reconsider R as elementary strict java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 26
      set n1=n+1;
      set r = run.n;
.;
  n1;
      set       let x  be
      y [, gA],r1;
      reconsider R1 as elementary strict LTLnode over v by A4;
      [r, gA] in [: LS, AtomicFamily :] by ZFMISC_1A7:   =Q/ #(OnePoint_Compactification)|)by PRE_TOPC:def4
      then [[r, gA],r1] in [:[: LS, AtomicFamily :],LS:] by java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 42
      then
A22:  y is        [X #Xjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
      reconsider r1 as            /[])/{ A7A8
      reconsider r as elementary strict LTLnode over    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A23:  R1 is_next_of R    then reconsider
R   r1 by Def16
      hence thesis by A22,A23;
    end;
 n, holdsH  A1,Th2;
the_right_argument_of H implies the_right_argument_of H in the LTLold of Run(n+
    1)
    
      let n;
      let H;
      set n1 =n+1;
      Run(n1) = CastNode(chosen_run(w,v,chf).n1,v) by A7;
      hence thesis by A1,Th74;
    end;
A25: for FSet be set st FSet in FS holds {k where k is Element of NAT:run.
    k in FSet} is infinite set
    proof
      let FSet be set;
      set FK = {k where k is Element of NAT:run.k in FSet};
assumeFSet inFS;
      then consider x being Element of bool LS such that
A26:  FSet = x and
A27:  ex F st F is_subformula_of v & F is Until & x= FinalS_LTL(F,v);
      consider F such that
      F is_subformula_of v and
A28:  F is Until and
A29:  x= FinalS_LTL(F,v) by A27;
      set F2 = the_right_argument_of F;
      set F1 =       (FF.1#x)j  (Fm)j.byMESFUNC5def ;
A30:  F = F1 'U' F2 by A28,MODELC_2:8;
      now
        assume not FK is infinite set;
        then consider L such that
A31:    FK = rng L by FINSEQ_1:52;
        ex m st for k st m<=k holds not k in FK
        proof
A32:      len L = 0 or 0< 0+len L;
          now
            per cases by A32,NAT_1:19;
            suppose
A33:          1<=len L;
              set LEN = len L;
              FK c= REAL
              proof
                let a be object;
                assume a in FK;
                then consider k being Element of NAT such that
A34:      a=k & run.k in FSet;
                 k in REAL by XREAL_0:def 1;
                hence thesis  A34;
java.lang.StringIndexOutOfBoundsException: Range [36, 14) out of bounds for length 18
              then reconsider L as FinSequence of REAL by A31,FINSEQ_1:def 4;
              set realMAX = max L;
              set iMAX = [/ realMAX \];
              set natMAX = iMAX +1;
              0<=realMAX
              proof
                set b = L.LEN;
                LEN in Seg (len L) by A33,FINSEQ_1:1;
                then LEN in dom L by FINSEQ_1:def 3;
                then b in rng L by FUNCT_1:3;
                then ex k being Element of NAT st k=b & run.k in FSet by A31;
                hence thesis by A33,RFINSEQ2:1;
              end;
              then reconsider iMAX as Nat by INT_1:53;
              iMAX +1 is Nat;
              then reconsider natMAX as Nat;
              for k st natMAX<=k holds not k in FK
              proof
                let k;
                assume
A35:            natMAX <= k;
                now
                  assume k in FK;
                  then consider i1 being object such that
A36:              then
A37:              k = L.i1 by A31,FUNCT_1:def 3;
java.lang.StringIndexOutOfBoundsException: Range [41, 18) out of bounds for length 57
 A36,def java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
                  then 1<=i1 & i1<=LEN by FINSEQ_1:1;
                  then k <= realMAX by A37,RFINSEQ2:1;
                  hence contradiction by A35,INT_1:32,XXREAL_0:2;
                end;
                hence thesis;
              end;
              hence thesis;
            end;
            suppose
              len L=0;
              then L = {};
              then for k st 0<=k holds not k in FK by ,3A33,A34,A36,;
              hence thesis;
            end;
          end;
          hence thesis;
        end;
        thenjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 33
A38:    for k st m<=k holds not k in FK;
A39:    for  then ProjMap2,n). FF.)nby A8java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
        LTLold of Run(k)
        proof
          let k;
          assume m<=k;
          then
A40:      not k in FK by A38;
          reconsider k as Element of NAT by ORDINAL1:def 12;
          set r = run.k;
          reconsider r as elementary strict LTLnode over v by A4;
          now
            assume not (F in the LTLold of CastNode(r,v) & not F2 in the
            LTLold of CastNode(r,v));
            then r in FSet by A26,A29;
            hence contradiction by A40;
          ;
          hence thesis;
        end;
       setw1 =Shift(,);
        set m1=m+1;
A41:    w1 |= * Run(m1) by A8;
        m<=m1 by NAT_1:11;
        then F in the LTLold of Run(m1) by A39;
        then F in * Run(m1) by Lm1;
        then w1 |= F by A41;
        then consider h such that      ((F.1).1.x < (FF.n1)j1.x by A6,43A40,;
        for j being Nat st j<h holds Shift(w1,j) |= F1 and
:(h | F2 byA30MODELC_268;
        set m2=m+h;
         m3 =m2+;
        m3 = m+(h+1);
        en
        then
A43:    F in the LTLold of Run(m3) & not F2 in the LTLold of Run(m3) by A39;
        Shift(w,m2) |= F2 by A42,MODELC_2:80;
hencecontradiction  by A24,28A43;
      end;
      hence thesis;
    end;
    run.0 = chosen_run(w,v,chf).0 by A7
      .= init v by Def50;
        (n)x.< ;
    hence thesis by A21,A25;
  endtake nn
  hence thesis;
end;

theorem
  w is-accepted-by BAutomaton(v) iff w |= v by Th68,Th75;

Messung
CHZG
8210010094

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

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,055
#Domains=861,536