:: TREES_2 semantic presentation :: Showing IDV graph ... (Click the Palm Trees again to close it)
theorem Th1: :: TREES_2:1 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th2: :: TREES_2:2 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm1:
for x being set
for v being FinSequence holds len (v ^ <*x*>) = (len v) + 1
theorem :: TREES_2:3 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th4: :: TREES_2:4 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TREES_2:5 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th6: :: TREES_2:6 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th7: :: TREES_2:7 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines = TREES_2:def 1 :
theorem :: TREES_2:8 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th9: :: TREES_2:9 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TREES_2:10 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines finite-order TREES_2:def 2 :
:: deftheorem Def3 defines Chain TREES_2:def 3 :
:: deftheorem Def4 defines Level TREES_2:def 4 :
:: deftheorem defines succ TREES_2:def 5 :
theorem :: TREES_2:11 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TREES_2:12 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TREES_2:13 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines -level TREES_2:def 6 :
theorem :: TREES_2:14 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TREES_2:15 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TREES_2:16 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TREES_2:17 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TREES_2:18 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th19: :: TREES_2:19 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th20: :: TREES_2:20 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th21: :: TREES_2:21 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th22: :: TREES_2:22 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def7 defines Branch-like TREES_2:def 7 :
theorem Th23: :: TREES_2:23 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th24: :: TREES_2:24 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th25: :: TREES_2:25 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th26: :: TREES_2:26 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th27: :: TREES_2:27 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th28: :: TREES_2:28 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th29: :: TREES_2:29 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th30: :: TREES_2:30 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm2:
for X being set st X is finite holds
ex n being Nat st
for k being Nat st k in X holds
k <= n
theorem Th31: :: TREES_2:31 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: TREES_2:32 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def8 defines DecoratedTree-like TREES_2:def 8 :
:: deftheorem Def9 defines ParametrizedSubset TREES_2:def 9 :
theorem Th33: :: TREES_2:33 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines Leaves TREES_2:def 10 :
:: deftheorem Def11 defines | TREES_2:def 11 :
theorem Th34: :: TREES_2:34 :: Showing IDV graph ... (Click the Palm Tree again to close it)
definition
let T be
DecoratedTree;
let p be
FinSequence of
NAT ;
let T1 be
DecoratedTree;
assume A1:
p in dom T
;
func T with-replacement p,
T1 -> DecoratedTree means :: TREES_2:def 12
(
dom it = (dom T) with-replacement p,
(dom T1) & ( for
q being
FinSequence of
NAT holds
( not
q in (dom T) with-replacement p,
(dom T1) or ( not
p is_a_prefix_of q &
it . q = T . q ) or ex
r being
FinSequence of
NAT st
(
r in dom T1 &
q = p ^ r &
it . q = T1 . r ) ) ) );
existence
ex b1 being DecoratedTree st
( dom b1 = (dom T) with-replacement p,(dom T1) & ( for q being FinSequence of NAT holds
( not q in (dom T) with-replacement p,(dom T1) or ( not p is_a_prefix_of q & b1 . q = T . q ) or ex r being FinSequence of NAT st
( r in dom T1 & q = p ^ r & b1 . q = T1 . r ) ) ) )
uniqueness
for b1, b2 being DecoratedTree st dom b1 = (dom T) with-replacement p,(dom T1) & ( for q being FinSequence of NAT holds
( not q in (dom T) with-replacement p,(dom T1) or ( not p is_a_prefix_of q & b1 . q = T . q ) or ex r being FinSequence of NAT st
( r in dom T1 & q = p ^ r & b1 . q = T1 . r ) ) ) & dom b2 = (dom T) with-replacement p,(dom T1) & ( for q being FinSequence of NAT holds
( not q in (dom T) with-replacement p,(dom T1) or ( not p is_a_prefix_of q & b2 . q = T . q ) or ex r being FinSequence of NAT st
( r in dom T1 & q = p ^ r & b2 . q = T1 . r ) ) ) holds
b1 = b2
end;
:: deftheorem defines with-replacement TREES_2:def 12 :
theorem Th35: :: TREES_2:35 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th36: :: TREES_2:36 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th37: :: TREES_2:37 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th38: :: TREES_2:38 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines branchdeg TREES_2:def 13 :
Lm3:
for f being Function holds (pr1 (dom f),(rng f)) .: f = dom f
Lm4:
for f being Function holds
( dom f is finite iff f is finite )