:: PRE_CIRC semantic presentation  Show TPTP formulae Show IDV graph for whole article:: Showing IDV graph ... (Click the Palm Trees again to close it)

scheme :: PRE_CIRC:sch 1
FraenkelFinIm{ F1() -> non empty finite set , F2( set ) -> set , P1[ set ] } :
{ F2(x) where x is Element of F1() : P1[x] } is finite
proof end;

theorem :: PRE_CIRC:1  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem :: PRE_CIRC:2  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for f being Function
for x, y being set st dom f = {x} & rng f = {y} holds
f = {[x,y]}
proof end;

theorem Th3: :: PRE_CIRC:3  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for f, g, h being Function st f c= g holds
f +* h c= g +* h
proof end;

theorem :: PRE_CIRC:4  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for f, g, h being Function st f c= g & dom f misses dom h holds
f c= g +* h
proof end;

registration
cluster non empty finite natural-membered set ;
existence
ex b1 being set st
( b1 is finite & not b1 is empty & b1 is natural-membered )
proof end;
end;

notation
let A be non empty finite real-membered set ;
synonym max A for upper_bound A;
end;

definition
let A be non empty finite real-membered set ;
:: original: max
redefine func max A -> real number means :Def1: :: PRE_CIRC:def 1
( it in A & ( for k being real number st k in A holds
k <= it ) );
compatibility
for b1 being real number holds
( b1 = max A iff ( b1 in A & ( for k being real number st k in A holds
k <= b1 ) ) )
proof end;
coherence
max A is real number
;
end;

:: deftheorem Def1 defines max PRE_CIRC:def 1 :
for A being non empty finite real-membered set
for b2 being real number holds
( b2 = max A iff ( b2 in A & ( for k being real number st k in A holds
k <= b2 ) ) );

registration
let X be non empty finite natural-membered set ;
cluster max X -> natural ;
coherence
max X is natural
proof end;
end;

theorem :: PRE_CIRC:5  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for I being set
for MSS being ManySortedSet of I holds (MSS # ) . (<*> I) = {{} }
proof end;

scheme :: PRE_CIRC:sch 2
MSSLambda2Part{ F1() -> set , P1[ set ], F2( set ) -> set , F3( set ) -> set } :
ex f being ManySortedSet of F1() st
for i being Element of F1() st i in F1() holds
( ( P1[i] implies f . i = F2(i) ) & ( P1[i] implies f . i = F3(i) ) )
proof end;

definition
let I be set ;
let IT be ManySortedSet of I;
canceled;
attr IT is locally-finite means :: PRE_CIRC:def 3
for i being set st i in I holds
IT . i is finite;
end;

:: deftheorem PRE_CIRC:def 2 :
canceled;

:: deftheorem defines locally-finite PRE_CIRC:def 3 :
for I being set
for IT being ManySortedSet of I holds
( IT is locally-finite iff for i being set st i in I holds
IT . i is finite );

registration
let I be set ;
cluster V2 locally-finite ManySortedSet of I;
existence
ex b1 being ManySortedSet of I st
( b1 is non-empty & b1 is locally-finite )
proof end;
end;

definition
let I, A be set ;
:: original: -->
redefine func I --> A -> ManySortedSet of I;
coherence
I --> A is ManySortedSet of I
proof end;
end;

definition
let I be set ;
let M be ManySortedSet of I;
let A be Subset of I;
:: original: |
redefine func M | A -> ManySortedSet of A;
coherence
M | A is ManySortedSet of A
proof end;
end;

registration
let M be non-empty Function;
let A be set ;
cluster M | A -> non-empty ;
coherence
M | A is non-empty
proof end;
end;

theorem Th6: :: PRE_CIRC:6  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for I being non empty set
for B being V2 ManySortedSet of I holds not union (rng B) is empty
proof end;

theorem Th7: :: PRE_CIRC:7  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for I being set holds uncurry (I --> {} ) = {}
proof end;

theorem :: PRE_CIRC:8  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for I being non empty set
for A being set
for B being V2 ManySortedSet of I
for F being ManySortedFunction of I --> A,B holds dom (commute F) = A
proof end;

scheme :: PRE_CIRC:sch 3
LambdaRecCorrD{ F1() -> non empty set , F2() -> Element of F1(), F3( Nat, Element of F1()) -> Element of F1() } :
( ex f being Function of NAT ,F1() st
( f . 0 = F2() & ( for i being Nat holds f . (i + 1) = F3(i,(f . i)) ) ) & ( for f1, f2 being Function of NAT ,F1() st f1 . 0 = F2() & ( for i being Nat holds f1 . (i + 1) = F3(i,(f1 . i)) ) & f2 . 0 = F2() & ( for i being Nat holds f2 . (i + 1) = F3(i,(f2 . i)) ) holds
f1 = f2 ) )
proof end;

scheme :: PRE_CIRC:sch 4
LambdaMSFD{ F1() -> non empty set , F2() -> Subset of F1(), F3() -> ManySortedSet of F2(), F4() -> ManySortedSet of F2(), F5( set ) -> set } :
ex f being ManySortedFunction of F3(),F4() st
for i being Element of F1() st i in F2() holds
f . i = F5(i)
provided
A1: for i being Element of F1() st i in F2() holds
F5(i) is Function of F3() . i,F4() . i
proof end;

registration
let F be non-empty Function;
let f be Function;
cluster f * F -> non-empty ;
coherence
F * f is non-empty
proof end;
end;

theorem :: PRE_CIRC:9  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for I being set
for f being V2 ManySortedSet of I
for g being Function
for s being Element of product f st dom g c= dom f & ( for x being set st x in dom g holds
g . x in f . x ) holds
s +* g is Element of product f
proof end;

theorem :: PRE_CIRC:10  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being non empty set
for C being V2 ManySortedSet of A
for InpFs being ManySortedFunction of A --> B,C
for b being Element of B ex c being ManySortedSet of A st
( c = (commute InpFs) . b & c in C )
proof end;

theorem :: PRE_CIRC:11  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for I being set
for M being ManySortedSet of I
for x, g being Function st x in product M holds
x * g in product (M * g)
proof end;

theorem :: PRE_CIRC:12  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for a being set holds product (n |-> {a}) = {(n |-> a)}
proof end;

registration
let D be non empty set ;
cluster -> finite Element of FinTrees D;
coherence
for b1 being Element of FinTrees D holds b1 is finite
proof end;
end;

registration
let T be finite DecoratedTree;
let t be Element of dom T;
cluster T | t -> finite ;
coherence
T | t is finite
proof end;
end;

theorem Th13: :: PRE_CIRC:13  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for T being finite Tree
for p being Element of T holds T | p,{ t where t is Element of T : p is_a_prefix_of t } are_equipotent
proof end;

registration
let T be finite DecoratedTree;
let t be Element of dom T;
let T1 be finite DecoratedTree;
cluster T with-replacement t,T1 -> finite ;
coherence
T with-replacement t,T1 is finite
proof end;
end;

theorem Th14: :: PRE_CIRC:14  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for T, T1 being finite Tree
for p being Element of T holds T with-replacement p,T1 = { t where t is Element of T : not p is_a_prefix_of t } \/ { (p ^ t1) where t1 is Element of T1 : verum }
proof end;

theorem Th15: :: PRE_CIRC:15  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for T, T1 being finite Tree
for p being Element of T
for f being FinSequence of NAT st f in T with-replacement p,T1 & p is_a_prefix_of f holds
ex t1 being Element of T1 st f = p ^ t1
proof end;

theorem Th16: :: PRE_CIRC:16  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for p being Tree-yielding FinSequence
for k being Nat st k + 1 in dom p holds
(tree p) | <*k*> = p . (k + 1)
proof end;

theorem :: PRE_CIRC:17  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for q being DTree-yielding FinSequence
for k being Nat st k + 1 in dom q holds
<*k*> in tree (doms q)
proof end;

theorem Th18: :: PRE_CIRC:18  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for p, q being Tree-yielding FinSequence
for k being Nat st len p = len q & k + 1 in dom p & ( for i being Nat st i in dom p & i <> k + 1 holds
p . i = q . i ) holds
for t being Tree st q . (k + 1) = t holds
tree q = (tree p) with-replacement <*k*>,t
proof end;

theorem :: PRE_CIRC:19  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for e1, e2 being finite DecoratedTree
for x being set
for k being Nat
for p being DTree-yielding FinSequence st <*k*> in dom e1 & e1 = x -tree p holds
ex q being DTree-yielding FinSequence st
( e1 with-replacement <*k*>,e2 = x -tree q & len q = len p & q . (k + 1) = e2 & ( for i being Nat st i in dom p & i <> k + 1 holds
q . i = p . i ) )
proof end;

theorem :: PRE_CIRC:20  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for T being finite Tree
for p being Element of T st p <> {} holds
card (T | p) < card T
proof end;

theorem Th21: :: PRE_CIRC:21  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for f being Function holds Card f = Card (dom f)
proof end;

theorem Th22: :: PRE_CIRC:22  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for T, T1 being finite Tree
for p being Element of T holds (card (T with-replacement p,T1)) + (card (T | p)) = (card T) + (card T1)
proof end;

theorem :: PRE_CIRC:23  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for T, T1 being finite DecoratedTree
for p being Element of dom T holds (card (T with-replacement p,T1)) + (card (T | p)) = (card T) + (card T1)
proof end;

registration
let x be set ;
cluster root-tree x -> finite ;
coherence
root-tree x is finite
proof end;
end;

theorem :: PRE_CIRC:24  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being set holds card (root-tree x) = 1
proof end;