let V be CTLModelStr ; :: thesis: 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; :: thesis: 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:
S1[ 0 ]
A4:
for k being Element of NAT st S1[k] holds
S1[k + 1]
proof
let k be
Element of
NAT ;
:: thesis: ( S1[k] implies S1[k + 1] )
assume A5:
S1[
k]
;
:: thesis: S1[k + 1]
consider h being
Function of
CTL_WFF ,the
Assignations of
V such that A6:
h is-PreEvaluation-for k,
Kai
by A5;
S1[
k + 1]
proof
deffunc H1(
set )
-> set =
GraftEval V,
Kai,
h,
h,
k,
(CastCTLformula $1);
A7:
for
H being
set st
H in CTL_WFF holds
H1(
H)
in the
Assignations of
V
proof
let H be
set ;
:: thesis: ( H in CTL_WFF implies H1(H) in the Assignations of V )
assume A8:
H in CTL_WFF
;
:: thesis: H1(H) in the Assignations of V
reconsider H =
H as
CTL-formula by A8, Th1;
A9:
H1(
H)
= GraftEval V,
Kai,
h,
h,
k,
H
by A8, 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 A13:
(
len H = k + 1 &
H is
conjunctive )
;
:: thesis: H1(H) in the Assignations of V
the_left_argument_of H in CTL_WFF
by Th1;
then A14:
h . (the_left_argument_of H) in the
Assignations of
V
by FUNCT_2:7;
the_right_argument_of H in CTL_WFF
by Th1;
then
h . (the_right_argument_of H) in the
Assignations of
V
by FUNCT_2:7;
then A15:
[(h . (the_left_argument_of H)),(h . (the_right_argument_of H))] in [:the Assignations of V,the Assignations of V:]
by A14, ZFMISC_1:def 2;
GraftEval V,
Kai,
h,
h,
k,
H = the
And of
V . (h . (the_left_argument_of H)),
(h . (the_right_argument_of H))
by A13, Def28;
hence
H1(
H)
in the
Assignations of
V
by A9, A15, FUNCT_2:7;
:: thesis: verum end; suppose A20:
(
len H = k + 1 &
H is
ExistUntill )
;
:: thesis: H1(H) in the Assignations of V
the_left_argument_of H in CTL_WFF
by Th1;
then A21:
h . (the_left_argument_of H) in the
Assignations of
V
by FUNCT_2:7;
the_right_argument_of H in CTL_WFF
by Th1;
then
h . (the_right_argument_of H) in the
Assignations of
V
by FUNCT_2:7;
then A22:
[(h . (the_left_argument_of H)),(h . (the_right_argument_of H))] in [:the Assignations of V,the Assignations of V:]
by A21, ZFMISC_1:def 2;
GraftEval V,
Kai,
h,
h,
k,
H = the
EUntill of
V . (h . (the_left_argument_of H)),
(h . (the_right_argument_of H))
by A20, Def28;
hence
H1(
H)
in the
Assignations of
V
by A9, A22, FUNCT_2:7;
:: thesis: verum end; end;
end;
consider f being
Function of
CTL_WFF ,the
Assignations of
V such that A23:
for
H being
set st
H in CTL_WFF holds
f . H = H1(
H)
from FUNCT_2:sch 2(A7);
take
f
;
:: thesis: f is-PreEvaluation-for k + 1,Kai
A24:
for
H being
CTL-formula st
len H < k + 1 holds
f . H = h . H
f is-PreEvaluation-for k + 1,
Kai
proof
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;
:: thesis: ( 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 A27:
len H <= k + 1
;
:: thesis: ( ( 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)) ) )
A28:
H in CTL_WFF
by Th1;
then A29:
f . H =
H1(
H)
by A23
.=
GraftEval V,
Kai,
h,
h,
k,
H
by A28, Def24
;
A30:
(
H is
atomic implies
f . H = Kai . H )
A33:
(
H is
negative implies
f . H = the
Not of
V . (f . (the_argument_of H)) )
A37:
(
H is
conjunctive implies
f . H = the
And of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H)) )
proof
assume A38:
H is
conjunctive
;
:: thesis: f . H = the And of V . (f . (the_left_argument_of H)),(f . (the_right_argument_of H))
then
len (the_left_argument_of H) < len H
by Lm23;
then
len (the_left_argument_of H) <= k
by A27, Lm1;
then
len (the_left_argument_of H) < k + 1
by NAT_1:13;
then A39:
h . (the_left_argument_of H) = f . (the_left_argument_of H)
by A24;
len (the_right_argument_of H) < len H
by A38, Lm23;
then
len (the_right_argument_of H) <= k
by A27, Lm1;
then A40:
len (the_right_argument_of H) < k + 1
by NAT_1:13;
per cases
( len H <= k or len H = k + 1 )
by A27, NAT_1:8;
suppose
len H = k + 1
;
:: thesis: 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 A38, Def28
.=
the
And of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H))
by A24, A39, A40
;
hence
f . H = the
And of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H))
by A29;
:: thesis: verum end; end;
end;
A42:
(
H is
ExistNext implies
f . H = the
EneXt of
V . (f . (the_argument_of H)) )
A46:
(
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
assume A50:
H is
ExistUntill
;
:: thesis: f . H = the EUntill of V . (f . (the_left_argument_of H)),(f . (the_right_argument_of H))
then
len (the_left_argument_of H) < len H
by Lm23;
then
len (the_left_argument_of H) <= k
by A27, Lm1;
then
len (the_left_argument_of H) < k + 1
by NAT_1:13;
then A51:
h . (the_left_argument_of H) = f . (the_left_argument_of H)
by A24;
len (the_right_argument_of H) < len H
by A50, Lm23;
then
len (the_right_argument_of H) <= k
by A27, Lm1;
then A52:
len (the_right_argument_of H) < k + 1
by NAT_1:13;
per cases
( len H <= k or len H = k + 1 )
by A27, NAT_1:8;
suppose
len H = k + 1
;
:: thesis: 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 A50, Def28
.=
the
EUntill of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H))
by A24, A51, A52
;
hence
f . H = the
EUntill of
V . (f . (the_left_argument_of H)),
(f . (the_right_argument_of H))
by A29;
:: thesis: verum end; end;
end;
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 A30, A33, A37, A42, A46;
:: thesis: verum
end;
hence
f is-PreEvaluation-for k + 1,
Kai
by Def27;
:: thesis: verum
end;
hence
f is-PreEvaluation-for k + 1,
Kai
;
:: thesis: verum
end;
hence
S1[
k + 1]
;
:: thesis: verum
end;
for n being Element of NAT holds S1[n]
from NAT_1:sch 1(A1, A4);
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
; :: thesis: verum