|
|
|
|
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) & l en(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 | | |