:: QC_LANG4 semantic presentation

theorem Th1: :: QC_LANG4:1
canceled;

theorem Th2: :: QC_LANG4:2
canceled;

theorem Th3: :: QC_LANG4:3
canceled;

theorem Th4: :: QC_LANG4:4
for b1 being Nat
for b2 being FinSequence ex b3 being FinSequence st
( b3 = b2 | (Seg b1) & b3 is_a_prefix_of b2 )
proof end;

theorem Th5: :: QC_LANG4:5
canceled;

theorem Th6: :: QC_LANG4:6
for b1 being non empty set
for b2 being FinSequence of b1
for b3, b4 being FinSequence
for b5 being Nat st b5 + 1 <= len b2 & b3 = b2 | (Seg (b5 + 1)) & b4 = b2 | (Seg b5) holds
ex b6 being Element of b1 st b3 = b4 ^ <*b6*>
proof end;

theorem Th7: :: QC_LANG4:7
for b1 being non empty set
for b2 being FinSequence of b1
for b3 being FinSequence st 1 <= len b2 & b3 = b2 | (Seg 1) holds
ex b4 being Element of b1 st b3 = <*b4*>
proof end;

registration
let c1 be non empty set ;
cluster finite ParametrizedSubset of a1;
existence
ex b1 being DecoratedTree of c1 st b1 is finite
proof end;
end;

theorem Th8: :: QC_LANG4:8
for b1 being DecoratedTree
for b2 being FinSequence of NAT holds b1 . b2 = (b1 | b2) . {}
proof end;

theorem Th9: :: QC_LANG4:9
for b1 being finite-branching DecoratedTree
for b2 being Element of dom b1 holds succ b1,b2 = b1 * (b2 succ )
proof end;

theorem Th10: :: QC_LANG4:10
for b1 being finite-branching DecoratedTree
for b2 being Element of dom b1 holds dom (b1 * (b2 succ )) = dom (b2 succ )
proof end;

theorem Th11: :: QC_LANG4:11
for b1 being finite-branching DecoratedTree
for b2 being Element of dom b1 holds dom (succ b1,b2) = dom (b2 succ )
proof end;

theorem Th12: :: QC_LANG4:12
for b1 being finite-branching DecoratedTree
for b2 being Element of dom b1
for b3 being Nat holds
( b2 ^ <*b3*> in dom b1 iff b3 + 1 in dom (b2 succ ) )
proof end;

theorem Th13: :: QC_LANG4:13
for b1 being finite-branching DecoratedTree
for b2 being FinSequence
for b3 being Nat st b2 ^ <*b3*> in dom b1 holds
b1 . (b2 ^ <*b3*>) = (succ b1,b2) . (b3 + 1)
proof end;

theorem Th14: :: QC_LANG4:14
for b1 being finite-branching DecoratedTree
for b2, b3 being Element of dom b1 st b2 in succ b3 holds
b1 . b2 in rng (succ b1,b3)
proof end;

theorem Th15: :: QC_LANG4:15
for b1 being finite-branching DecoratedTree
for b2 being Element of dom b1
for b3 being set st b3 in rng (succ b1,b2) holds
ex b4 being Element of dom b1 st
( b3 = b1 . b4 & b4 in succ b2 )
proof end;

scheme :: QC_LANG4:sch 1
s1{ F1() -> non empty set , F2() -> Element of F1(), F3( set ) -> FinSequence of F1() } :
ex b1 being finite-branching DecoratedTree of F1() st
( b1 . {} = F2() & ( for b2 being Element of dom b1
for b3 being Element of F1() st b3 = b1 . b2 holds
succ b1,b2 = F3(b3) ) )
proof end;

theorem Th16: :: QC_LANG4:16
for b1 being Tree
for b2 being Element of b1 holds ProperPrefixes b2 is finite Chain of b1
proof end;

theorem Th17: :: QC_LANG4:17
for b1 being Tree holds b1 -level 0 = {{} }
proof end;

theorem Th18: :: QC_LANG4:18
for b1 being Nat
for b2 being Tree holds b2 -level (b1 + 1) = union { (succ b3) where B is Element of b2 : len b3 = b1 }
proof end;

theorem Th19: :: QC_LANG4:19
for b1 being finite-branching Tree
for b2 being Nat holds b1 -level b2 is finite
proof end;

theorem Th20: :: QC_LANG4:20
for b1 being finite-branching Tree holds
( b1 is finite iff ex b2 being Nat st b1 -level b2 = {} )
proof end;

theorem Th21: :: QC_LANG4:21
for b1 being finite-branching Tree st not b1 is finite holds
ex b2 being Chain of b1 st not b2 is finite
proof end;

theorem Th22: :: QC_LANG4:22
for b1 being finite-branching Tree st not b1 is finite holds
ex b2 being Branch of b1 st not b2 is finite
proof end;

theorem Th23: :: QC_LANG4:23
for b1 being Tree
for b2 being Chain of b1
for b3 being Element of b1 st b3 in b2 & not b2 is finite holds
ex b4 being Element of b1 st
( b4 in b2 & b3 is_a_proper_prefix_of b4 )
proof end;

theorem Th24: :: QC_LANG4:24
for b1 being Tree
for b2 being Branch of b1
for b3 being Element of b1 st b3 in b2 & not b2 is finite holds
ex b4 being Element of b1 st
( b4 in b2 & b4 in succ b3 )
proof end;

theorem Th25: :: QC_LANG4:25
for b1 being Function of NAT , NAT st ( for b2 being Nat holds b1 . (b2 + 1) <= b1 . b2 ) holds
ex b2 being Nat st
for b3 being Nat st b2 <= b3 holds
b1 . b3 = b1 . b2
proof end;

scheme :: QC_LANG4:sch 2
s2{ F1() -> non empty set , F2() -> finite-branching DecoratedTree of F1(), F3( Element of F1()) -> Nat } :
F2() is finite
provided
E22: for b1, b2 being Element of dom F2()
for b3 being Element of F1() st b2 in succ b1 & b3 = F2() . b2 holds
F3(b3) < F3((F2() . b1))
proof end;

theorem Th26: :: QC_LANG4:26
for b1 being non empty set
for b2 being DecoratedTree of b1
for b3 being set st b3 in rng b2 holds
b3 is Element of b1
proof end;

theorem Th27: :: QC_LANG4:27
for b1 being non empty set
for b2 being DecoratedTree of b1
for b3 being set st b3 in dom b2 holds
b2 . b3 is Element of b1
proof end;

theorem Th28: :: QC_LANG4:28
for b1, b2 being Element of QC-WFF st b1 is_subformula_of b2 holds
len (@ b1) <= len (@ b2)
proof end;

theorem Th29: :: QC_LANG4:29
for b1, b2 being Element of QC-WFF st b1 is_subformula_of b2 & len (@ b1) = len (@ b2) holds
b1 = b2
proof end;

definition
let c1 be Element of QC-WFF ;
func list_of_immediate_constituents c1 -> FinSequence of QC-WFF equals :Def1: :: QC_LANG4:def 1
<*> QC-WFF if ( a1 = VERUM or a1 is atomic )
<*(the_argument_of a1)*> if a1 is negative
<*(the_left_argument_of a1),(the_right_argument_of a1)*> if a1 is conjunctive
otherwise <*(the_scope_of a1)*>;
coherence
( ( ( c1 = VERUM or c1 is atomic ) implies <*> QC-WFF is FinSequence of QC-WFF ) & ( c1 is negative implies <*(the_argument_of c1)*> is FinSequence of QC-WFF ) & ( c1 is conjunctive implies <*(the_left_argument_of c1),(the_right_argument_of c1)*> is FinSequence of QC-WFF ) & ( c1 = VERUM or c1 is atomic or c1 is negative or c1 is conjunctive or <*(the_scope_of c1)*> is FinSequence of QC-WFF ) )
;
consistency
for b1 being FinSequence of QC-WFF holds
( ( ( c1 = VERUM or c1 is atomic ) & c1 is negative implies ( b1 = <*> QC-WFF iff b1 = <*(the_argument_of c1)*> ) ) & ( ( c1 = VERUM or c1 is atomic ) & c1 is conjunctive implies ( b1 = <*> QC-WFF iff b1 = <*(the_left_argument_of c1),(the_right_argument_of c1)*> ) ) & ( c1 is negative & c1 is conjunctive implies ( b1 = <*(the_argument_of c1)*> iff b1 = <*(the_left_argument_of c1),(the_right_argument_of c1)*> ) ) )
by QC_LANG1:51;
end;

:: deftheorem Def1 defines list_of_immediate_constituents QC_LANG4:def 1 :
for b1 being Element of QC-WFF holds
( ( ( b1 = VERUM or b1 is atomic ) implies list_of_immediate_constituents b1 = <*> QC-WFF ) & ( b1 is negative implies list_of_immediate_constituents b1 = <*(the_argument_of b1)*> ) & ( b1 is conjunctive implies list_of_immediate_constituents b1 = <*(the_left_argument_of b1),(the_right_argument_of b1)*> ) & ( b1 = VERUM or b1 is atomic or b1 is negative or b1 is conjunctive or list_of_immediate_constituents b1 = <*(the_scope_of b1)*> ) );

theorem Th30: :: QC_LANG4:30
for b1 being Nat
for b2, b3 being Element of QC-WFF st b1 in dom (list_of_immediate_constituents b2) & b3 = (list_of_immediate_constituents b2) . b1 holds
b3 is_immediate_constituent_of b2
proof end;

theorem Th31: :: QC_LANG4:31
for b1 being Element of QC-WFF holds rng (list_of_immediate_constituents b1) = { b2 where B is Element of QC-WFF : b2 is_immediate_constituent_of b1 }
proof end;

definition
let c1 be Element of QC-WFF ;
func tree_of_subformulae c1 -> finite DecoratedTree of QC-WFF means :Def2: :: QC_LANG4:def 2
( a2 . {} = a1 & ( for b1 being Element of dom a2 holds succ a2,b1 = list_of_immediate_constituents (a2 . b1) ) );
existence
ex b1 being finite DecoratedTree of QC-WFF st
( b1 . {} = c1 & ( for b2 being Element of dom b1 holds succ b1,b2 = list_of_immediate_constituents (b1 . b2) ) )
proof end;
uniqueness
for b1, b2 being finite DecoratedTree of QC-WFF st b1 . {} = c1 & ( for b3 being Element of dom b1 holds succ b1,b3 = list_of_immediate_constituents (b1 . b3) ) & b2 . {} = c1 & ( for b3 being Element of dom b2 holds succ b2,b3 = list_of_immediate_constituents (b2 . b3) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def2 defines tree_of_subformulae QC_LANG4:def 2 :
for b1 being Element of QC-WFF
for b2 being finite DecoratedTree of QC-WFF holds
( b2 = tree_of_subformulae b1 iff ( b2 . {} = b1 & ( for b3 being Element of dom b2 holds succ b2,b3 = list_of_immediate_constituents (b2 . b3) ) ) );

theorem Th32: :: QC_LANG4:32
canceled;

theorem Th33: :: QC_LANG4:33
canceled;

theorem Th34: :: QC_LANG4:34
for b1 being Element of QC-WFF holds b1 in rng (tree_of_subformulae b1)
proof end;

theorem Th35: :: QC_LANG4:35
for b1 being Nat
for b2 being Element of QC-WFF
for b3 being Element of dom (tree_of_subformulae b2) st b3 ^ <*b1*> in dom (tree_of_subformulae b2) holds
ex b4 being Element of QC-WFF st
( b4 = (tree_of_subformulae b2) . (b3 ^ <*b1*>) & b4 is_immediate_constituent_of (tree_of_subformulae b2) . b3 )
proof end;

theorem Th36: :: QC_LANG4:36
for b1, b2 being Element of QC-WFF
for b3 being Element of dom (tree_of_subformulae b2) holds
( b1 is_immediate_constituent_of (tree_of_subformulae b2) . b3 iff ex b4 being Nat st
( b3 ^ <*b4*> in dom (tree_of_subformulae b2) & b1 = (tree_of_subformulae b2) . (b3 ^ <*b4*>) ) )
proof end;

theorem Th37: :: QC_LANG4:37
for b1, b2, b3 being Element of QC-WFF st b1 in rng (tree_of_subformulae b2) & b3 is_immediate_constituent_of b1 holds
b3 in rng (tree_of_subformulae b2)
proof end;

theorem Th38: :: QC_LANG4:38
for b1, b2, b3 being Element of QC-WFF st b1 in rng (tree_of_subformulae b2) & b3 is_subformula_of b1 holds
b3 in rng (tree_of_subformulae b2)
proof end;

theorem Th39: :: QC_LANG4:39
for b1, b2 being Element of QC-WFF holds
( b1 in rng (tree_of_subformulae b2) iff b1 is_subformula_of b2 )
proof end;

theorem Th40: :: QC_LANG4:40
for b1 being Element of QC-WFF holds rng (tree_of_subformulae b1) = Subformulae b1
proof end;

theorem Th41: :: QC_LANG4:41
for b1 being Element of QC-WFF
for b2, b3 being Element of dom (tree_of_subformulae b1) st b2 in succ b3 holds
(tree_of_subformulae b1) . b2 is_immediate_constituent_of (tree_of_subformulae b1) . b3
proof end;

theorem Th42: :: QC_LANG4:42
for b1 being Element of QC-WFF
for b2, b3 being Element of dom (tree_of_subformulae b1) st b2 is_a_prefix_of b3 holds
(tree_of_subformulae b1) . b3 is_subformula_of (tree_of_subformulae b1) . b2
proof end;

theorem Th43: :: QC_LANG4:43
for b1 being Element of QC-WFF
for b2, b3 being Element of dom (tree_of_subformulae b1) st b2 is_a_proper_prefix_of b3 holds
len (@ ((tree_of_subformulae b1) . b3)) < len (@ ((tree_of_subformulae b1) . b2))
proof end;

theorem Th44: :: QC_LANG4:44
for b1 being Element of QC-WFF
for b2, b3 being Element of dom (tree_of_subformulae b1) st b2 is_a_proper_prefix_of b3 holds
(tree_of_subformulae b1) . b3 <> (tree_of_subformulae b1) . b2
proof end;

theorem Th45: :: QC_LANG4:45
for b1 being Element of QC-WFF
for b2, b3 being Element of dom (tree_of_subformulae b1) st b2 is_a_proper_prefix_of b3 holds
(tree_of_subformulae b1) . b3 is_proper_subformula_of (tree_of_subformulae b1) . b2
proof end;

theorem Th46: :: QC_LANG4:46
for b1 being Element of QC-WFF
for b2 being Element of dom (tree_of_subformulae b1) holds
( (tree_of_subformulae b1) . b2 = b1 iff b2 = {} )
proof end;

theorem Th47: :: QC_LANG4:47
for b1 being Element of QC-WFF
for b2, b3 being Element of dom (tree_of_subformulae b1) st b2 <> b3 & (tree_of_subformulae b1) . b2 = (tree_of_subformulae b1) . b3 holds
not b2,b3 are_c=-comparable
proof end;

definition
let c1, c2 be Element of QC-WFF ;
func c1 -entry_points_in_subformula_tree_of c2 -> AntiChain_of_Prefixes of dom (tree_of_subformulae a1) means :Def3: :: QC_LANG4:def 3
for b1 being Element of dom (tree_of_subformulae a1) holds
( b1 in a3 iff (tree_of_subformulae a1) . b1 = a2 );
existence
ex b1 being AntiChain_of_Prefixes of dom (tree_of_subformulae c1) st
for b2 being Element of dom (tree_of_subformulae c1) holds
( b2 in b1 iff (tree_of_subformulae c1) . b2 = c2 )
proof end;
uniqueness
for b1, b2 being AntiChain_of_Prefixes of dom (tree_of_subformulae c1) st ( for b3 being Element of dom (tree_of_subformulae c1) holds
( b3 in b1 iff (tree_of_subformulae c1) . b3 = c2 ) ) & ( for b3 being Element of dom (tree_of_subformulae c1) holds
( b3 in b2 iff (tree_of_subformulae c1) . b3 = c2 ) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def3 defines -entry_points_in_subformula_tree_of QC_LANG4:def 3 :
for b1, b2 being Element of QC-WFF
for b3 being AntiChain_of_Prefixes of dom (tree_of_subformulae b1) holds
( b3 = b1 -entry_points_in_subformula_tree_of b2 iff for b4 being Element of dom (tree_of_subformulae b1) holds
( b4 in b3 iff (tree_of_subformulae b1) . b4 = b2 ) );

theorem Th48: :: QC_LANG4:48
canceled;

theorem Th49: :: QC_LANG4:49
for b1, b2 being Element of QC-WFF holds b1 -entry_points_in_subformula_tree_of b2 = { b3 where B is Element of dom (tree_of_subformulae b1) : (tree_of_subformulae b1) . b3 = b2 }
proof end;

theorem Th50: :: QC_LANG4:50
for b1, b2 being Element of QC-WFF holds
( b1 is_subformula_of b2 iff b2 -entry_points_in_subformula_tree_of b1 <> {} )
proof end;

theorem Th51: :: QC_LANG4:51
for b1 being Nat
for b2 being Element of QC-WFF
for b3, b4 being Element of dom (tree_of_subformulae b2) st b3 = b4 ^ <*b1*> & (tree_of_subformulae b2) . b4 is negative holds
( (tree_of_subformulae b2) . b3 = the_argument_of ((tree_of_subformulae b2) . b4) & b1 = 0 )
proof end;

theorem Th52: :: QC_LANG4:52
for b1 being Nat
for b2 being Element of QC-WFF
for b3, b4 being Element of dom (tree_of_subformulae b2) st b3 = b4 ^ <*b1*> & (tree_of_subformulae b2) . b4 is conjunctive & not ( (tree_of_subformulae b2) . b3 = the_left_argument_of ((tree_of_subformulae b2) . b4) & b1 = 0 ) holds
( (tree_of_subformulae b2) . b3 = the_right_argument_of ((tree_of_subformulae b2) . b4) & b1 = 1 )
proof end;

theorem Th53: :: QC_LANG4:53
for b1 being Nat
for b2 being Element of QC-WFF
for b3, b4 being Element of dom (tree_of_subformulae b2) st b3 = b4 ^ <*b1*> & (tree_of_subformulae b2) . b4 is universal holds
( (tree_of_subformulae b2) . b3 = the_scope_of ((tree_of_subformulae b2) . b4) & b1 = 0 )
proof end;

theorem Th54: :: QC_LANG4:54
for b1 being Element of QC-WFF
for b2 being Element of dom (tree_of_subformulae b1) st (tree_of_subformulae b1) . b2 is negative holds
( b2 ^ <*0*> in dom (tree_of_subformulae b1) & (tree_of_subformulae b1) . (b2 ^ <*0*>) = the_argument_of ((tree_of_subformulae b1) . b2) )
proof end;

Lemma47: for b1, b2 being set holds dom <*b1,b2*> = Seg 2
proof end;

theorem Th55: :: QC_LANG4:55
for b1 being Element of QC-WFF
for b2 being Element of dom (tree_of_subformulae b1) st (tree_of_subformulae b1) . b2 is conjunctive holds
( b2 ^ <*0*> in dom (tree_of_subformulae b1) & (tree_of_subformulae b1) . (b2 ^ <*0*>) = the_left_argument_of ((tree_of_subformulae b1) . b2) & b2 ^ <*1*> in dom (tree_of_subformulae b1) & (tree_of_subformulae b1) . (b2 ^ <*1*>) = the_right_argument_of ((tree_of_subformulae b1) . b2) )
proof end;

theorem Th56: :: QC_LANG4:56
for b1 being Element of QC-WFF
for b2 being Element of dom (tree_of_subformulae b1) st (tree_of_subformulae b1) . b2 is universal holds
( b2 ^ <*0*> in dom (tree_of_subformulae b1) & (tree_of_subformulae b1) . (b2 ^ <*0*>) = the_scope_of ((tree_of_subformulae b1) . b2) )
proof end;

theorem Th57: :: QC_LANG4:57
for b1, b2, b3 being Element of QC-WFF
for b4 being Element of dom (tree_of_subformulae b1)
for b5 being Element of dom (tree_of_subformulae b2) st b4 in b1 -entry_points_in_subformula_tree_of b2 & b5 in b2 -entry_points_in_subformula_tree_of b3 holds
b4 ^ b5 in b1 -entry_points_in_subformula_tree_of b3
proof end;

theorem Th58: :: QC_LANG4:58
for b1, b2, b3 being Element of QC-WFF
for b4 being Element of dom (tree_of_subformulae b1)
for b5 being FinSequence st b4 in b1 -entry_points_in_subformula_tree_of b2 & b4 ^ b5 in b1 -entry_points_in_subformula_tree_of b3 holds
b5 in b2 -entry_points_in_subformula_tree_of b3
proof end;

theorem Th59: :: QC_LANG4:59
for b1, b2, b3 being Element of QC-WFF holds { (b4 ^ b5) where B is Element of dom (tree_of_subformulae b1), B is Element of dom (tree_of_subformulae b2) : ( b4 in b1 -entry_points_in_subformula_tree_of b2 & b5 in b2 -entry_points_in_subformula_tree_of b3 ) } c= b1 -entry_points_in_subformula_tree_of b3
proof end;

theorem Th60: :: QC_LANG4:60
for b1 being Element of QC-WFF
for b2 being Element of dom (tree_of_subformulae b1) holds (tree_of_subformulae b1) | b2 = tree_of_subformulae ((tree_of_subformulae b1) . b2)
proof end;

theorem Th61: :: QC_LANG4:61
for b1, b2 being Element of QC-WFF
for b3 being Element of dom (tree_of_subformulae b1) holds
( b3 in b1 -entry_points_in_subformula_tree_of b2 iff (tree_of_subformulae b1) | b3 = tree_of_subformulae b2 )
proof end;

theorem Th62: :: QC_LANG4:62
for b1, b2 being Element of QC-WFF holds b1 -entry_points_in_subformula_tree_of b2 = { b3 where B is Element of dom (tree_of_subformulae b1) : (tree_of_subformulae b1) | b3 = tree_of_subformulae b2 }
proof end;

theorem Th63: :: QC_LANG4:63
for b1, b2, b3 being Element of QC-WFF
for b4 being Chain of dom (tree_of_subformulae b1) st b2 in { ((tree_of_subformulae b1) . b5) where B is Element of dom (tree_of_subformulae b1) : b5 in b4 } & b3 in { ((tree_of_subformulae b1) . b5) where B is Element of dom (tree_of_subformulae b1) : b5 in b4 } & not b2 is_subformula_of b3 holds
b3 is_subformula_of b2
proof end;

definition
let c1 be Element of QC-WFF ;
mode Subformula of c1 -> Element of QC-WFF means :Def4: :: QC_LANG4:def 4
a2 is_subformula_of a1;
existence
ex b1 being Element of QC-WFF st b1 is_subformula_of c1
;
end;

:: deftheorem Def4 defines Subformula QC_LANG4:def 4 :
for b1, b2 being Element of QC-WFF holds
( b2 is Subformula of b1 iff b2 is_subformula_of b1 );

definition
let c1 be Element of QC-WFF ;
let c2 be Subformula of c1;
mode Entry_Point_in_Subformula_Tree of c2 -> Element of dom (tree_of_subformulae a1) means :Def5: :: QC_LANG4:def 5
(tree_of_subformulae a1) . a3 = a2;
existence
ex b1 being Element of dom (tree_of_subformulae c1) st (tree_of_subformulae c1) . b1 = c2
proof end;
end;

:: deftheorem Def5 defines Entry_Point_in_Subformula_Tree QC_LANG4:def 5 :
for b1 being Element of QC-WFF
for b2 being Subformula of b1
for b3 being Element of dom (tree_of_subformulae b1) holds
( b3 is Entry_Point_in_Subformula_Tree of b2 iff (tree_of_subformulae b1) . b3 = b2 );

theorem Th64: :: QC_LANG4:64
canceled;

theorem Th65: :: QC_LANG4:65
for b1 being Element of QC-WFF
for b2 being Subformula of b1
for b3, b4 being Entry_Point_in_Subformula_Tree of b2 st b3 <> b4 holds
not b3,b4 are_c=-comparable
proof end;

definition
let c1 be Element of QC-WFF ;
let c2 be Subformula of c1;
func entry_points_in_subformula_tree c2 -> non empty AntiChain_of_Prefixes of dom (tree_of_subformulae a1) equals :: QC_LANG4:def 6
a1 -entry_points_in_subformula_tree_of a2;
coherence
c1 -entry_points_in_subformula_tree_of c2 is non empty AntiChain_of_Prefixes of dom (tree_of_subformulae c1)
proof end;
end;

:: deftheorem Def6 defines entry_points_in_subformula_tree QC_LANG4:def 6 :
for b1 being Element of QC-WFF
for b2 being Subformula of b1 holds entry_points_in_subformula_tree b2 = b1 -entry_points_in_subformula_tree_of b2;

theorem Th66: :: QC_LANG4:66
canceled;

theorem Th67: :: QC_LANG4:67
for b1 being Element of QC-WFF
for b2 being Subformula of b1
for b3 being Entry_Point_in_Subformula_Tree of b2 holds b3 in entry_points_in_subformula_tree b2
proof end;

theorem Th68: :: QC_LANG4:68
for b1 being Element of QC-WFF
for b2 being Subformula of b1 holds entry_points_in_subformula_tree b2 = { b3 where B is Entry_Point_in_Subformula_Tree of b2 : b3 = b3 }
proof end;

theorem Th69: :: QC_LANG4:69
for b1 being Element of QC-WFF
for b2, b3 being Subformula of b1
for b4 being Entry_Point_in_Subformula_Tree of b2
for b5 being Element of dom (tree_of_subformulae b2) st b5 in b2 -entry_points_in_subformula_tree_of b3 holds
b4 ^ b5 is Entry_Point_in_Subformula_Tree of b3
proof end;

theorem Th70: :: QC_LANG4:70
for b1 being Element of QC-WFF
for b2, b3 being Subformula of b1
for b4 being Entry_Point_in_Subformula_Tree of b3
for b5 being FinSequence st b4 ^ b5 is Entry_Point_in_Subformula_Tree of b2 holds
b5 in b3 -entry_points_in_subformula_tree_of b2
proof end;

theorem Th71: :: QC_LANG4:71
for b1 being Element of QC-WFF
for b2, b3 being Subformula of b1 holds { (b4 ^ b5) where B is Entry_Point_in_Subformula_Tree of b2, B is Element of dom (tree_of_subformulae b2) : b5 in b2 -entry_points_in_subformula_tree_of b3 } = { (b4 ^ b5) where B is Element of dom (tree_of_subformulae b1), B is Element of dom (tree_of_subformulae b2) : ( b4 in b1 -entry_points_in_subformula_tree_of b2 & b5 in b2 -entry_points_in_subformula_tree_of b3 ) }
proof end;

theorem Th72: :: QC_LANG4:72
for b1 being Element of QC-WFF
for b2, b3 being Subformula of b1 holds { (b4 ^ b5) where B is Entry_Point_in_Subformula_Tree of b2, B is Element of dom (tree_of_subformulae b2) : b5 in b2 -entry_points_in_subformula_tree_of b3 } c= entry_points_in_subformula_tree b3
proof end;

theorem Th73: :: QC_LANG4:73
for b1 being Element of QC-WFF
for b2, b3 being Subformula of b1 st ex b4 being Entry_Point_in_Subformula_Tree of b2ex b5 being Entry_Point_in_Subformula_Tree of b3 st b4 is_a_prefix_of b5 holds
b3 is_subformula_of b2
proof end;

theorem Th74: :: QC_LANG4:74
for b1 being Element of QC-WFF
for b2, b3 being Subformula of b1 st b2 is_subformula_of b3 holds
for b4 being Entry_Point_in_Subformula_Tree of b3 ex b5 being Entry_Point_in_Subformula_Tree of b2 st b4 is_a_prefix_of b5
proof end;