:: MSATERM semantic presentation
:: Showing IDV graph ... (Click the Palm Trees again to close it)
Lm1:
for n being set
for p being FinSequence st n in dom p holds
ex k being Nat st
( n = k + 1 & k < len p )
:: deftheorem Def1 defines -Terms MSATERM:def 1 :
:: deftheorem Def2 defines ArgumentSeq MSATERM:def 2 :
theorem Th1: :: MSATERM:1
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
Lm3:
now
let S be non
empty non
void ManySortedSign ;
:: thesis: for V being V3 ManySortedSet of the carrier of S
for x being set holds
( ( x in Terminals (DTConMSA V) implies ex s being SortSymbol of S ex v being Element of V . s st x = [v,s] ) & ( for s being SortSymbol of S
for a being Element of V . s st x = [a,s] holds
x in Terminals (DTConMSA V) ) )let V be
V3 ManySortedSet of the
carrier of
S;
:: thesis: for x being set holds
( ( x in Terminals (DTConMSA V) implies ex s being SortSymbol of S ex v being Element of V . s st x = [v,s] ) & ( for s being SortSymbol of S
for a being Element of V . s st x = [a,s] holds
x in Terminals (DTConMSA V) ) )let x be
set ;
:: thesis: ( ( x in Terminals (DTConMSA V) implies ex s being SortSymbol of S ex v being Element of V . s st x = [v,s] ) & ( for s being SortSymbol of S
for a being Element of V . s st x = [a,s] holds
x in Terminals (DTConMSA V) ) )set X =
V;
set G =
DTConMSA V;
A1:
Terminals (DTConMSA V) = Union (coprod V)
by MSAFREE:6;
A2:
dom (coprod V) = the
carrier of
S
by PBOOLE:def 3;
let s be
SortSymbol of
S;
:: thesis: for a being Element of V . s st x = [a,s] holds
x in Terminals (DTConMSA V)let a be
Element of
V . s;
:: thesis: ( x = [a,s] implies x in Terminals (DTConMSA V) )assume
x = [a,s]
;
:: thesis: x in Terminals (DTConMSA V)then
x in coprod s,
V
by MSAFREE:def 2;
then
x in (coprod V) . s
by MSAFREE:def 3;
hence
x in Terminals (DTConMSA V)
by A1, A2, CARD_5:10;
:: thesis: verum
end;
Lm4:
now
let S be non
empty non
void ManySortedSign ;
:: thesis: for A being MSAlgebra of S
for V being V3 ManySortedSet of the carrier of S
for x being set holds
( ( not x in Terminals (DTConMSA (the Sorts of A \/ V)) or ex s being SortSymbol of S ex a being set st
( a in the Sorts of A . s & x = [a,s] ) or ex s being SortSymbol of S ex v being Element of V . s st x = [v,s] ) & ( for s being SortSymbol of S holds
( ( for a being set st a in the Sorts of A . s & x = [a,s] holds
x in Terminals (DTConMSA (the Sorts of A \/ V)) ) & ( for a being Element of V . s st x = [a,s] holds
x in Terminals (DTConMSA (the Sorts of A \/ V)) ) ) ) )let A be
MSAlgebra of
S;
:: thesis: for V being V3 ManySortedSet of the carrier of S
for x being set holds
( ( not x in Terminals (DTConMSA (the Sorts of A \/ V)) or ex s being SortSymbol of S ex a being set st
( a in the Sorts of A . s & x = [a,s] ) or ex s being SortSymbol of S ex v being Element of V . s st x = [v,s] ) & ( for s being SortSymbol of S holds
( ( for a being set st a in the Sorts of A . s & x = [a,s] holds
x in Terminals (DTConMSA (the Sorts of A \/ V)) ) & ( for a being Element of V . s st x = [a,s] holds
x in Terminals (DTConMSA (the Sorts of A \/ V)) ) ) ) )let V be
V3 ManySortedSet of the
carrier of
S;
:: thesis: for x being set holds
( ( not x in Terminals (DTConMSA (the Sorts of A \/ V)) or ex s being SortSymbol of S ex a being set st
( a in the Sorts of A . s & x = [a,s] ) or ex s being SortSymbol of S ex v being Element of V . s st x = [v,s] ) & ( for s being SortSymbol of S holds
( ( for a being set st a in the Sorts of A . s & x = [a,s] holds
x in Terminals (DTConMSA (the Sorts of A \/ V)) ) & ( for a being Element of V . s st x = [a,s] holds
x in Terminals (DTConMSA (the Sorts of A \/ V)) ) ) ) )let x be
set ;
:: thesis: ( ( not x in Terminals (DTConMSA (the Sorts of A \/ V)) or ex s being SortSymbol of S ex a being set st
( a in the Sorts of A . s & x = [a,s] ) or ex s being SortSymbol of S ex v being Element of V . s st x = [v,s] ) & ( for s being SortSymbol of S holds
( ( for a being set st a in the Sorts of A . s & x = [a,s] holds
x in Terminals (DTConMSA (the Sorts of A \/ V)) ) & ( for a being Element of V . s st x = [a,s] holds
x in Terminals (DTConMSA (the Sorts of A \/ V)) ) ) ) )set X = the
Sorts of
A \/ V;
set G =
DTConMSA (the Sorts of A \/ V);
A1:
Terminals (DTConMSA (the Sorts of A \/ V)) = Union (coprod (the Sorts of A \/ V))
by MSAFREE:6;
A2:
dom (coprod (the Sorts of A \/ V)) = the
carrier of
S
by PBOOLE:def 3;
hereby :: thesis: for s being SortSymbol of S holds
( ( for a being set st a in the Sorts of A . s & x = [a,s] holds
x in Terminals (DTConMSA (the Sorts of A \/ V)) ) & ( for a being Element of V . s st x = [a,s] holds
x in Terminals (DTConMSA (the Sorts of A \/ V)) ) )
assume
x in Terminals (DTConMSA (the Sorts of A \/ V))
;
:: thesis: ( ex s being SortSymbol of S ex a being set st
( a in the Sorts of A . s & x = [a,s] ) or ex s being SortSymbol of S ex v being Element of V . s st x = [v,s] )then consider s being
set such that A3:
(
s in dom (coprod (the Sorts of A \/ V)) &
x in (coprod (the Sorts of A \/ V)) . s )
by A1, CARD_5:10;
reconsider s =
s as
SortSymbol of
S by A3, PBOOLE:def 3;
(coprod (the Sorts of A \/ V)) . s = coprod s,
(the Sorts of A \/ V)
by MSAFREE:def 3;
then consider a being
set such that A4:
(
a in (the Sorts of A \/ V) . s &
x = [a,s] )
by A3, MSAFREE:def 2;
(the Sorts of A \/ V) . s = (the Sorts of A . s) \/ (V . s)
by PBOOLE:def 7;
then
(
a in the
Sorts of
A . s or
a in V . s )
by A4, XBOOLE_0:def 2;
hence
( ex
s being
SortSymbol of
S ex
a being
set st
(
a in the
Sorts of
A . s &
x = [a,s] ) or ex
s being
SortSymbol of
S ex
v being
Element of
V . s st
x = [v,s] )
by A4;
:: thesis: verum
end;
let s be
SortSymbol of
S;
:: thesis: ( ( for a being set st a in the Sorts of A . s & x = [a,s] holds
x in Terminals (DTConMSA (the Sorts of A \/ V)) ) & ( for a being Element of V . s st x = [a,s] holds
x in Terminals (DTConMSA (the Sorts of A \/ V)) ) )A5:
(the Sorts of A \/ V) . s = (the Sorts of A . s) \/ (V . s)
by PBOOLE:def 7;
let a be
Element of
V . s;
:: thesis: ( x = [a,s] implies x in Terminals (DTConMSA (the Sorts of A \/ V)) )assume A8:
x = [a,s]
;
:: thesis: x in Terminals (DTConMSA (the Sorts of A \/ V))
a in (the Sorts of A \/ V) . s
by A5, XBOOLE_0:def 2;
then
x in coprod s,
(the Sorts of A \/ V)
by A8, MSAFREE:def 2;
then
x in (coprod (the Sorts of A \/ V)) . s
by MSAFREE:def 3;
hence
x in Terminals (DTConMSA (the Sorts of A \/ V))
by A1, A2, CARD_5:10;
:: thesis: verum
end;
theorem Th2: :: MSATERM:2
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:3
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th4: :: MSATERM:4
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th5: :: MSATERM:5
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th6: :: MSATERM:6
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:7
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th8: :: MSATERM:8
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:9
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th10: :: MSATERM:10
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
:: deftheorem defines -term MSATERM:def 3 :
:: deftheorem defines -term MSATERM:def 4 :
theorem Th11: :: MSATERM:11
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:12
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:13
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
Lm7:
for x being set holds not x in x
;
:: deftheorem Def5 defines the_sort_of MSATERM:def 5 :
theorem Th14: :: MSATERM:14
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th15: :: MSATERM:15
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:16
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th17: :: MSATERM:17
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th18: :: MSATERM:18
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th19: :: MSATERM:19
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th20: :: MSATERM:20
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th21: :: MSATERM:21
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
Lm8:
for S being non empty non void ManySortedSign
for V being V3 ManySortedSet of the carrier of S
for o being OperSymbol of S
for a being ArgumentSeq of Sym o,V holds
( len a = len (the_arity_of o) & dom a = dom (the_arity_of o) & ( for i being Nat st i in dom a holds
ex t being Term of S,V st
( t = a . i & t = a /. i & the_sort_of t = (the_arity_of o) . i & the_sort_of t = (the_arity_of o) /. i ) ) )
theorem Th22: :: MSATERM:22
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:23
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th24: :: MSATERM:24
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:25
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th26: :: MSATERM:26
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:27
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
:: deftheorem defines CompoundTerm MSATERM:def 6 :
:: deftheorem defines SetWithCompoundTerm MSATERM:def 7 :
theorem :: MSATERM:28
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
Lm9:
for n being Nat
for p being FinSequence st n < len p holds
( n + 1 in dom p & p . (n + 1) in rng p )
theorem Th29: :: MSATERM:29
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
:: deftheorem Def8 defines Variables MSATERM:def 8 :
theorem Th30: :: MSATERM:30
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
:: deftheorem Def9 defines is_an_evaluation_of MSATERM:def 9 :
theorem Th31: :: MSATERM:31
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th32: :: MSATERM:32
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th33: :: MSATERM:33
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th34: :: MSATERM:34
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th35: :: MSATERM:35
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th36: :: MSATERM:36
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th37: :: MSATERM:37
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th38: :: MSATERM:38
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
:: deftheorem Def10 defines @ MSATERM:def 10 :
theorem Th39: :: MSATERM:39
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:40
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:41
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:42
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: MSATERM:43
:: Showing IDV graph ... (Click the Palm Tree again to close it) 