let A, B be Element of LTLB_WFF ; for F being Subset of LTLB_WFF st F \/ {A} |-0 B holds
F |-0 A => B
let F be Subset of LTLB_WFF; ( F \/ {A} |-0 B implies F |-0 A => B )
assume
F \/ {A} |-0 B
; F |-0 A => B
then consider f being FinSequence of LTLB_WFF such that
A1:
f . (len f) = B
and
A2:
1 <= len f
and
A3:
for i being Nat st 1 <= i & i <= len f holds
prc0 f,F \/ {A},i
;
defpred S1[ Nat] means ( 1 <= $1 & $1 <= len f implies F |-0 A => (f /. $1) );
A4:
for i being Nat st ( for j being Nat st j < i holds
S1[j] ) holds
S1[i]
proof
let i be
Nat;
( ( for j being Nat st j < i holds
S1[j] ) implies S1[i] )
assume A5:
for
j being
Nat st
j < i holds
S1[
j]
;
S1[i]
per cases
( i = 0 or not i < 1 )
by NAT_1:14;
suppose
not
i < 1
;
S1[i]assume that A6:
1
<= i
and A7:
i <= len f
;
F |-0 A => (f /. i)per cases
( f . i in LTL0_axioms or f . i in F \/ {A} or ex j, k being Nat st
( 1 <= j & j < i & 1 <= k & k < i & ( f /. j,f /. k MP_rule f /. i or f /. j,f /. k MP0_rule f /. i or f /. j,f /. k IND0_rule f /. i ) ) or ex j being Nat st
( 1 <= j & j < i & ( f /. j NEX0_rule f /. i or f /. j REFL0_rule f /. i ) ) )
by A3, A6, A7, Def29;
suppose
ex
j,
k being
Nat st
( 1
<= j &
j < i & 1
<= k &
k < i & (
f /. j,
f /. k MP_rule f /. i or
f /. j,
f /. k MP0_rule f /. i or
f /. j,
f /. k IND0_rule f /. i ) )
;
F |-0 A => (f /. i)then consider j,
k being
Nat such that A15:
1
<= j
and A16:
j < i
and A17:
1
<= k
and A18:
k < i
and A19:
(
f /. j,
f /. k MP_rule f /. i or
f /. j,
f /. k MP0_rule f /. i or
f /. j,
f /. k IND0_rule f /. i )
;
j <= len f
by A7, A16, XXREAL_0:2;
then A20:
F |-0 A => (f /. j)
by A5, A15, A16;
k <= len f
by A7, A18, XXREAL_0:2;
then A21:
F |-0 A => (f /. k)
by A5, A17, A18;
per cases
( f /. j,f /. k MP_rule f /. i or f /. j,f /. k MP0_rule f /. i or f /. j,f /. k IND0_rule f /. i )
by A19;
suppose
f /. j,
f /. k MP0_rule f /. i
;
F |-0 A => (f /. i)then consider C,
D being
Element of
LTLB_WFF such that A24:
f /. j = 'G' C
and A25:
f /. k = 'G' (C => D)
and A26:
f /. i = 'G' D
;
B1:
{} LTLB_WFF c= F
;
{} LTLB_WFF |-0 (f /. k) => ((f /. j) => (f /. i))
by th267, LTLAXIO1:60, A24, A25, A26;
then B2:
F |-0 (f /. k) => ((f /. j) => (f /. i))
by mon, B1;
(A => (f /. k)) => (((f /. k) => ((f /. j) => (f /. i))) => (A => ((f /. j) => (f /. i)))) is
LTL_TAUT_OF_PL
by th16;
then
(A => (f /. k)) => (((f /. k) => ((f /. j) => (f /. i))) => (A => ((f /. j) => (f /. i)))) in LTL_axioms
by LTLAXIO1:def 17;
then
F |-0 (A => (f /. k)) => (((f /. k) => ((f /. j) => (f /. i))) => (A => ((f /. j) => (f /. i))))
by th15;
then
F |-0 ((f /. k) => ((f /. j) => (f /. i))) => (A => ((f /. j) => (f /. i)))
by th11a, A21;
then B3:
F |-0 A => ((f /. j) => (f /. i))
by B2, th11a;
(A => ((f /. j) => (f /. i))) => ((A => (f /. j)) => (A => (f /. i))) is
LTL_TAUT_OF_PL
by th17;
then
(A => ((f /. j) => (f /. i))) => ((A => (f /. j)) => (A => (f /. i))) in LTL_axioms
by LTLAXIO1:def 17;
then
F |-0 (A => ((f /. j) => (f /. i))) => ((A => (f /. j)) => (A => (f /. i)))
by th15;
then
F |-0 (A => (f /. j)) => (A => (f /. i))
by th11a, B3;
hence
F |-0 A => (f /. i)
by th11a, A20;
verum end; suppose
f /. j,
f /. k IND0_rule f /. i
;
F |-0 A => (f /. i)then consider C,
D being
Element of
LTLB_WFF such that A24:
f /. j = 'G' (C => D)
and A25:
f /. k = 'G' (C => ('X' C))
and A26:
f /. i = 'G' (C => ('G' D))
;
(A => (f /. j)) => ((A => (f /. k)) => (A => ((f /. j) '&&' (f /. k)))) is
LTL_TAUT_OF_PL
by LTLAXIO2:40;
then
(A => (f /. j)) => ((A => (f /. k)) => (A => ((f /. j) '&&' (f /. k)))) in LTL_axioms
by LTLAXIO1:def 17;
then
F |-0 (A => (f /. j)) => ((A => (f /. k)) => (A => ((f /. j) '&&' (f /. k))))
by th15;
then
F |-0 (A => (f /. k)) => (A => ((f /. j) '&&' (f /. k)))
by th11a, A20;
then B10:
F |-0 A => ((f /. j) '&&' (f /. k))
by th11a, A21;
B12:
{} LTLB_WFF c= F
;
{} LTLB_WFF |- (f /. j) => ((f /. k) => (f /. i))
by th20, A24, A25, A26;
then
{} LTLB_WFF |- ((f /. j) '&&' (f /. k)) => (f /. i)
by LTLAXIO1:48;
then B11:
F |-0 ((f /. j) '&&' (f /. k)) => (f /. i)
by mon, B12, th267;
(A => ((f /. j) '&&' (f /. k))) => ((((f /. j) '&&' (f /. k)) => (f /. i)) => (A => (f /. i))) is
LTL_TAUT_OF_PL
by th16;
then
(A => ((f /. j) '&&' (f /. k))) => ((((f /. j) '&&' (f /. k)) => (f /. i)) => (A => (f /. i))) in LTL_axioms
by LTLAXIO1:def 17;
then
F |-0 (A => ((f /. j) '&&' (f /. k))) => ((((f /. j) '&&' (f /. k)) => (f /. i)) => (A => (f /. i)))
by th15;
then
F |-0 (((f /. j) '&&' (f /. k)) => (f /. i)) => (A => (f /. i))
by th11a, B10;
hence
F |-0 A => (f /. i)
by th11a, B11;
verum end; end; end; end; end; end;
end;
A37:
for i being Nat holds S1[i]
from NAT_1:sch 4(A4);
B = f /. (len f)
by A1, A2, Lm1;
hence
F |-0 A => B
by A2, A37; verum