let V be CTLModelStr ; for Kai being Function of atomic_WFF ,the BasicAssign of V
for n being Element of NAT ex f being Function of CTL_WFF ,the Assignations of V st f is-PreEvaluation-for n,Kai
let Kai be Function of atomic_WFF ,the BasicAssign of V; for n being Element of NAT ex f being Function of CTL_WFF ,the Assignations of V st f is-PreEvaluation-for n,Kai
defpred S1[ Element of NAT ] means ex f being Function of CTL_WFF ,the Assignations of V st f is-PreEvaluation-for $1,Kai;
A1:
for k being Element of NAT st S1[k] holds
S1[k + 1]
proof
let k be
Element of
NAT ;
( S1[k] implies S1[k + 1] )
assume
S1[
k]
;
S1[k + 1]
then consider h being
Function of
CTL_WFF ,the
Assignations of
V such that A2:
h is-PreEvaluation-for k,
Kai
;
S1[
k + 1]
proof
deffunc H1(
set )
-> set =
GraftEval V,
Kai,
h,
h,
k,
(CastCTLformula $1);
A3:
for
H being
set st
H in CTL_WFF holds
H1(
H)
in the
Assignations of
V
proof
let H be
set ;
( H in CTL_WFF implies H1(H) in the Assignations of V )
assume A4:
H in CTL_WFF
;
H1(H) in the Assignations of V
reconsider H =
H as
CTL-formula by A4, Th1;
A5:
H1(
H)
= GraftEval V,
Kai,
h,
h,
k,
H
by A4, Def24;
per cases
( len H > k + 1 or ( len H = k + 1 & H is atomic ) or ( len H = k + 1 & H is negative ) or ( len H = k + 1 & H is conjunctive ) or ( len H = k + 1 & H is ExistNext ) or ( len H = k + 1 & H is ExistGlobal ) or ( len H = k + 1 & H is ExistUntill ) or len H < k + 1 )
by Th2, XXREAL_0:1;
suppose
(
len H = k + 1 &
H is
conjunctive )
;
H1(H) in the Assignations of Vthen A9:
GraftEval V,
Kai,
h,
h,
k,
H = the
And of
V . (h . (the_left_argument_of H)),
(h . (the_right_argument_of H))
by Def28;
the_right_argument_of H in CTL_WFF
by Th1;
then A10:
h . (the_right_argument_of H) in the
Assignations of
V
by FUNCT_2:7;
the_left_argument_of H in CTL_WFF
by Th1;
then
h . (the_left_argument_of H) in the
Assignations of
V
by FUNCT_2:7;
then
[(h . (the_left_argument_of H)),(h . (the_right_argument_of H))] in [:the Assignations of V,the Assignations of V:]
by A10, ZFMISC_1:def 2;
hence
H1(
H)
in the
Assignations of
V
by A5, A9, FUNCT_2:7;
verum end; suppose
(
len H = k + 1 &
H is
ExistUntill )
;
H1(H) in the Assignations of Vthen A15:
GraftEval V,
Kai,
h,
h,
k,
H = the
EUntill of
V . (h . (the_left_argument_of H)),
(h . (the_right_argument_of H))
by Def28;
the_right_argument_of H in CTL_WFF
by Th1;
then A16:
h . (the_right_argument_of H) in the
Assignations of
V
by FUNCT_2:7;
the_left_argument_of H in CTL_WFF
by Th1;
then
h . (the_left_argument_of H) in the
Assignations of
V
by FUNCT_2:7;
then
[(h . (the_left_argument_of H)),(h . (the_right_argument_of H))] in [:the Assignations of V,the Assignations of V:]
by A16, ZFMISC_1:def 2;
hence
H1(
H)
in the
Assignations of
V
by A5, A15, FUNCT_2:7;
verum end; end;
end;
consider f being
Function of
CTL_WFF ,the
Assignations of
V such that A17:
for
H being
set st
H in CTL_WFF holds
f . H = H1(
H)
from FUNCT_2:sch 2(A3);
take
f
;
f is-PreEvaluation-for k + 1,Kai
A18:
for
H being
CTL-formula st
len H < k + 1 holds
f . H = h . H
for
H being
CTL-formula st
len H <= k + 1 holds
( (
H is
atomic implies
f . H = Kai . H ) & (
H is
negative implies
f . H = the
Not of
V . (f . (the_argument_of H)) ) & (
H is
conjunctive implies
f . H = the
And of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H)) ) & (
H is
ExistNext implies
f . H = the
EneXt of
V . (f . (the_argument_of H)) ) & (
H is
ExistGlobal implies
f . H = the
EGlobal of
V . (f . (the_argument_of H)) ) & (
H is
ExistUntill implies
f . H = the
EUntill of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H)) ) )
proof
let H be
CTL-formula;
( len H <= k + 1 implies ( ( H is atomic implies f . H = Kai . H ) & ( H is negative implies f . H = the Not of V . (f . (the_argument_of H)) ) & ( H is conjunctive implies f . H = the And of V . (f . (the_left_argument_of H)),(f . (the_right_argument_of H)) ) & ( H is ExistNext implies f . H = the EneXt of V . (f . (the_argument_of H)) ) & ( H is ExistGlobal implies f . H = the EGlobal of V . (f . (the_argument_of H)) ) & ( H is ExistUntill implies f . H = the EUntill of V . (f . (the_left_argument_of H)),(f . (the_right_argument_of H)) ) ) )
assume A21:
len H <= k + 1
;
( ( H is atomic implies f . H = Kai . H ) & ( H is negative implies f . H = the Not of V . (f . (the_argument_of H)) ) & ( H is conjunctive implies f . H = the And of V . (f . (the_left_argument_of H)),(f . (the_right_argument_of H)) ) & ( H is ExistNext implies f . H = the EneXt of V . (f . (the_argument_of H)) ) & ( H is ExistGlobal implies f . H = the EGlobal of V . (f . (the_argument_of H)) ) & ( H is ExistUntill implies f . H = the EUntill of V . (f . (the_left_argument_of H)),(f . (the_right_argument_of H)) ) )
A22:
H in CTL_WFF
by Th1;
then A23:
f . H =
H1(
H)
by A17
.=
GraftEval V,
Kai,
h,
h,
k,
H
by A22, Def24
;
A24:
(
H is
negative implies
f . H = the
Not of
V . (f . (the_argument_of H)) )
A28:
(
H is
ExistUntill implies
f . H = the
EUntill of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H)) )
proof
assume A29:
H is
ExistUntill
;
f . H = the EUntill of V . (f . (the_left_argument_of H)),(f . (the_right_argument_of H))
then
len (the_right_argument_of H) < len H
by Lm23;
then
len (the_right_argument_of H) <= k
by A21, Lm1;
then A30:
len (the_right_argument_of H) < k + 1
by NAT_1:13;
len (the_left_argument_of H) < len H
by A29, Lm23;
then
len (the_left_argument_of H) <= k
by A21, Lm1;
then
len (the_left_argument_of H) < k + 1
by NAT_1:13;
then A31:
h . (the_left_argument_of H) = f . (the_left_argument_of H)
by A18;
per cases
( len H <= k or len H = k + 1 )
by A21, NAT_1:8;
suppose
len H = k + 1
;
f . H = the EUntill of V . (f . (the_left_argument_of H)),(f . (the_right_argument_of H))then GraftEval V,
Kai,
h,
h,
k,
H =
the
EUntill of
V . (h . (the_left_argument_of H)),
(h . (the_right_argument_of H))
by A29, Def28
.=
the
EUntill of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H))
by A18, A31, A30
;
hence
f . H = the
EUntill of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H))
by A23;
verum end; end;
end;
A33:
(
H is
conjunctive implies
f . H = the
And of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H)) )
proof
assume A34:
H is
conjunctive
;
f . H = the And of V . (f . (the_left_argument_of H)),(f . (the_right_argument_of H))
then
len (the_right_argument_of H) < len H
by Lm23;
then
len (the_right_argument_of H) <= k
by A21, Lm1;
then A35:
len (the_right_argument_of H) < k + 1
by NAT_1:13;
len (the_left_argument_of H) < len H
by A34, Lm23;
then
len (the_left_argument_of H) <= k
by A21, Lm1;
then
len (the_left_argument_of H) < k + 1
by NAT_1:13;
then A36:
h . (the_left_argument_of H) = f . (the_left_argument_of H)
by A18;
per cases
( len H <= k or len H = k + 1 )
by A21, NAT_1:8;
suppose
len H = k + 1
;
f . H = the And of V . (f . (the_left_argument_of H)),(f . (the_right_argument_of H))then GraftEval V,
Kai,
h,
h,
k,
H =
the
And of
V . (h . (the_left_argument_of H)),
(h . (the_right_argument_of H))
by A34, Def28
.=
the
And of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H))
by A18, A36, A35
;
hence
f . H = the
And of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H))
by A23;
verum end; end;
end;
A38:
(
H is
ExistGlobal implies
f . H = the
EGlobal of
V . (f . (the_argument_of H)) )
A42:
(
H is
ExistNext implies
f . H = the
EneXt of
V . (f . (the_argument_of H)) )
(
H is
atomic implies
f . H = Kai . H )
hence
( (
H is
atomic implies
f . H = Kai . H ) & (
H is
negative implies
f . H = the
Not of
V . (f . (the_argument_of H)) ) & (
H is
conjunctive implies
f . H = the
And of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H)) ) & (
H is
ExistNext implies
f . H = the
EneXt of
V . (f . (the_argument_of H)) ) & (
H is
ExistGlobal implies
f . H = the
EGlobal of
V . (f . (the_argument_of H)) ) & (
H is
ExistUntill implies
f . H = the
EUntill of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H)) ) )
by A24, A33, A42, A38, A28;
verum
end;
hence
f is-PreEvaluation-for k + 1,
Kai
by Def27;
verum
end;
hence
S1[
k + 1]
;
verum
end;
A48:
S1[ 0 ]
for n being Element of NAT holds S1[n]
from NAT_1:sch 1(A48, A1);
hence
for n being Element of NAT ex f being Function of CTL_WFF ,the Assignations of V st f is-PreEvaluation-for n,Kai
; verum