let S be non empty non void ManySortedSign ; for A being non-empty MSAlgebra over S
for V being Variables of A
for t being c-Term of A,V
for f being ManySortedFunction of V, the Sorts of A
for s being SortSymbol of S
for v being Element of V . s st t = root-tree [v,s] holds
root-tree ((f . s) . v) is_an_evaluation_of t,f
let A be non-empty MSAlgebra over S; for V being Variables of A
for t being c-Term of A,V
for f being ManySortedFunction of V, the Sorts of A
for s being SortSymbol of S
for v being Element of V . s st t = root-tree [v,s] holds
root-tree ((f . s) . v) is_an_evaluation_of t,f
let V be Variables of A; for t being c-Term of A,V
for f being ManySortedFunction of V, the Sorts of A
for s being SortSymbol of S
for v being Element of V . s st t = root-tree [v,s] holds
root-tree ((f . s) . v) is_an_evaluation_of t,f
let t be c-Term of A,V; for f being ManySortedFunction of V, the Sorts of A
for s being SortSymbol of S
for v being Element of V . s st t = root-tree [v,s] holds
root-tree ((f . s) . v) is_an_evaluation_of t,f
let f be ManySortedFunction of V, the Sorts of A; for s being SortSymbol of S
for v being Element of V . s st t = root-tree [v,s] holds
root-tree ((f . s) . v) is_an_evaluation_of t,f
let s be SortSymbol of S; for v being Element of V . s st t = root-tree [v,s] holds
root-tree ((f . s) . v) is_an_evaluation_of t,f
let x be Element of V . s; ( t = root-tree [x,s] implies root-tree ((f . s) . x) is_an_evaluation_of t,f )
assume A1:
t = root-tree [x,s]
; root-tree ((f . s) . x) is_an_evaluation_of t,f
set vt = root-tree ((f . s) . x);
A2:
dom (root-tree ((f . s) . x)) = elementary_tree 0
by TREES_4:3;
hence
dom (root-tree ((f . s) . x)) = dom t
by A1, TREES_4:3; MSATERM:def 9 for p being Node of (root-tree ((f . s) . x)) holds
( ( for s being SortSymbol of S
for v being Element of V . s st t . p = [v,s] holds
(root-tree ((f . s) . x)) . p = (f . s) . v ) & ( for s being SortSymbol of S
for x being Element of the Sorts of A . s st t . p = [x,s] holds
(root-tree ((f . s) . x)) . p = x ) & ( for o being OperSymbol of S st t . p = [o, the carrier of S] holds
(root-tree ((f . s) . x)) . p = (Den (o,A)) . (succ ((root-tree ((f . s) . x)),p)) ) )
let p be Node of (root-tree ((f . s) . x)); ( ( for s being SortSymbol of S
for v being Element of V . s st t . p = [v,s] holds
(root-tree ((f . s) . x)) . p = (f . s) . v ) & ( for s being SortSymbol of S
for x being Element of the Sorts of A . s st t . p = [x,s] holds
(root-tree ((f . s) . x)) . p = x ) & ( for o being OperSymbol of S st t . p = [o, the carrier of S] holds
(root-tree ((f . s) . x)) . p = (Den (o,A)) . (succ ((root-tree ((f . s) . x)),p)) ) )
reconsider e = p as empty FinSequence of NAT by A2, TARSKI:def 1, TREES_1:29;
A3:
t . {} = [x,s]
by A1, TREES_4:3;
let o be OperSymbol of S; ( t . p = [o, the carrier of S] implies (root-tree ((f . s) . x)) . p = (Den (o,A)) . (succ ((root-tree ((f . s) . x)),p)) )
assume
t . p = [o, the carrier of S]
; (root-tree ((f . s) . x)) . p = (Den (o,A)) . (succ ((root-tree ((f . s) . x)),p))
then the carrier of S =
(t . e) `2
.=
s
by A3
;
hence
(root-tree ((f . s) . x)) . p = (Den (o,A)) . (succ ((root-tree ((f . s) . x)),p))
by Lm7; verum