Quelle msscyc_2.miz
Sprache: Mizar
|
|
:: The Correspondence Between Monotonic Many Sorted Signatures
:: and Well-Founded Graphs. {P}art {II}
:: by Czes{\l}aw Byli\'nski and Piotr Rudnicki
::
:: Received April 10, 1996
:: Copyright (c) 1996-2026 Association of Mizar Users
:: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.
environ
vocabularies NUMBERS, NAT_1, MSUALG_1, STRUCT_0, SUBSET_1, RELAT_1, FUNCT_1,
ZFMISC_1, TARSKI, MCART_1, XBOOLE_0, GRAPH_1, PBOOLE, XXREAL_0, MSAFREE,
MSAFREE2, WAYBEL_0, TREES_2, FINSEQ_1, GRAPH_2, ARYTM_3, MSATERM,
FINSET_1, TREES_1, TREES_9, TREES_4, MARGREL1, ORDINAL4, RFINSEQ,
ARYTM_1, CARD_1, PARTFUN1, FUNCT_6, TREES_3, TREES_A, MSSCYC_1, CARD_3,
UNIALG_2, MSSCYC_2;
notations TARSKI, XBOOLE_0, ZFMISC_1, XTUPLE_0, SUBSET_1, ORDINAL1, NUMBERS,
XCMPLX_0, NAT_1, MCART_1, STRUCT_0, RELAT_1, FUNCT_1, PARTFUN1, FUNCT_2,
RFINSEQ, FINSET_1, TREES_1, TREES_2, TREES_3, TREES_4, CARD_3, GRAPH_1,
GRAPH_2, PBOOLE, MSUALG_1, MSUALG_2, MSAFREE, MSAFREE2, XXREAL_2,
CIRCUIT1, TREES_9, MSATERM, MSSCYC_1, FINSEQ_1, XXREAL_0;
constructors WELLORD2, REAL_1, NAT_1, RFINSEQ, MSUALG_2, MSATERM, CIRCUIT1,
GRAPH_2, MSSCYC_1, XXREAL_2, RELSET_1, XTUPLE_0, XREAL_0;
registrations XBOOLE_0, ORDINAL1, FINSET_1, XREAL_0, NAT_1, MEMBERED,
FINSEQ_1, TREES_2, TREES_3, PRE_CIRC, STRUCT_0, GRAPH_1, MSUALG_1,
MSAFREE, MSATERM, MSAFREE2, MSSCYC_1, XXREAL_2, PBOOLE, RELSET_1,
FUNCT_1, TREES_1, CARD_2, XTUPLE_0;
requirements NUMERALS, REAL, BOOLE, SUBSET, ARITHM;
definitions TARSKI, MSAFREE2;
equalities MSAFREE2;
expansions TARSKI, MSAFREE2;
theorems TARSKI, NAT_1, MCART_1, ZFMISC_1, MSSCYC_1, FUNCT_6, CARD_1, CARD_3,
FUNCT_1, FUNCT_2, FINSEQ_1, FINSEQ_2, FINSEQ_3, FINSEQ_4, FINSEQ_5,
RFINSEQ, TREES_1, TREES_2, TREES_3, TREES_4, DTCONSTR, MSUALG_1, MSAFREE,
MSAFREE2, CIRCUIT1, TREES_9, MSATERM, XBOOLE_1, ORDINAL1, XREAL_1,
XXREAL_0, PARTFUN1, XXREAL_2, FINSET_1, CARD_2, XTUPLE_0;
schemes NAT_1, FINSEQ_1, FUNCT_2, RECDEF_1, FRAENKEL, TOPREAL1, PBOOLE,
XBOOLE_0;
begin
reserve k, n for Nat;
definition
let S be ManySortedSign;
defpred P[object] means
ex op, v being set st $ 1 = [op, v] & op in the carrier'
of S & v in the carrier of S & ex n being Nat, args being Element of (the
carrier of S)* st (the Arity of S).op = args & n in dom args & args.n = v;
func InducedEdges S -> set means
:Def1:
for x being object holds x in it iff ex
op, v being set st x = [op, v] & op in the carrier' of S & v in the carrier of
S & ex n being Nat, args being Element of (the carrier of S)* st (the Arity of
S).op = args & n in dom args & args.n = v;
existence
proof
set XX = [:the carrier' of S, the carrier of S:];
consider X being set such that
A1: for x being object holds x in X iff x in XX & P[x] from XBOOLE_0:sch
1;
take X;
let x be object;
thus x in X implies P[x] by A1;
assume
A2: P[x];
then x in XX by ZFMISC_1:def 2;
hence thesis by A1,A2;
end;
uniqueness
proof
for X1,X2 being set st ( for x being object holds x in X1 iff P[x])
& ( for Czes{\ :: Copyright (c) 1996-2026 Association of Mizar Users
x being object :: This code can be distributed under the GNU General Public Licence
from :: License version 3. 0 or later :: detailed in file COPYING.interpretation.
hence thesis;
end;
end;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
S being ManySortedSign holds InducedEdges S
carrier' of S, the carrier of S :]
proof
let S be ManySortedSign;
let x be object;
assume x in InducedEdges S;
then ex op, v being set st x = [op, v] & op in the carrier' of S & v in the
carrier of S & ex n being Nat, args being Element of (the carrier of S)* st (
the Arity of S).op = args & n in dom args & args.n = v by Def1;
hence thesis by ZFMISC_1:def 2;
end;
definition
let S be ManySortedSign;
set IE = InducedEdges S, IV = the carrier of S;
func InducedSource S -> Function of InducedEdges S, the carrier of S means
:
Def2: for e being object st e in InducedEdges S holds it.e = e` 2;
existence
proof
deffunc F(object)= $ 1 ` 2;
A1: for x being object st x in IE holds F(x) in IV
proof
let x be object;
assume
A2: x in IE;
IE c= [: the carrier' of S, IV :] by Th1;
hence thesis by A2,MCART_1: 10;
end;
ex f being Function of InducedEdges S,the carrier of S st
for x be object
st x in InducedEdges S holds f.x = F(x) from FUNCT_2:sch 2 (A1);
hence thesis;
end;
uniqueness
proof
let F1, F2 be Function of IE, IV such that
A3: for e being object st e in IE holds F1.e = e` 2 and
A4: for e being object st e in IE holds F2.e = e` 2;
A5: now
let x be object;
assume
A6: x in IE;
then F1.x = x` 2 by A3;
hence F1.x = F2.x by A4,A6;
end;
now
assume IV is empty;
then [:the carrier' of S, IV:] is empty by ZFMISC_1: 90;
hence IE is empty by Th1,XBOOLE_1: 3;
end;
then dom F1 = IE & dom F2 = IE by FUNCT_2:def 1;
hence F1 = F2 by A5,FUNCT_1: 2;
end;
set OS = the carrier' of S, RS = the ResultSort of S;
func InducedTarget S -> Function of InducedEdges S, the carrier of S means
:
Def3: for
e being object st e in InducedEdges S holds it.e = (the ResultSort of S)
.e` 1;
existence
proof
deffunc F(object) = RS.($ 1)` 1;
A7: for x being object st x in IE holds F(x) in IV
proof
let x be object;
assume
A8: x in IE;
IE c= [: OS, IV :] by Th1;
then x` 1 in OS & x` 2 in IV by A8,MCART_1: 10;
hence thesis by FUNCT_2: 5;
end;
ex f being Function of InducedEdges S, the carrier of S st for x be
object st x in InducedEdges S holds f.x = F(x) from FUNCT_2:sch 2 (A7);
hence thesis;
end;
uniqueness
proof
let F1, F2 be Function of IE, IV such that
A9: for e being object st e in IE holds F1.e = RS.e` 1 and
A10: for e being object st e in IE holds F2.e = RS.e` 1;
A11: now
let x be object;
assume
A12: x in IE;
then F1.x = RS.x` 1 by A9;
hence F1.x = F2.x by A10,A12;
end;
now
assume IV is empty;
then [:the carrier' of S, IV:] is empty by ZFMISC_1: 90;
hence IE is empty by Th1,XBOOLE_1: 3;
end;
then dom F1 = IE & dom F2 = IE by FUNCT_2:def 1;
hence F1 = F2 by A11,FUNCT_1: 2;
end;
end;
definition
let S be non empty ManySortedSign;
func InducedGraph S -> Graph equals
MultiGraphStruct ( # the carrier of S,
InducedEdges S, InducedSource S, InducedTarget S #);
coherence;
end;
theorem Th2:
for S being non void non empty ManySortedSign, X being
non-empty ManySortedSet of the carrier of S, v being SortSymbol of S, n st 1<=n
holds ( ex t being Element of (the Sorts of FreeMSA X).v st depth t = n) iff ( ex
c being directed Chain of InducedGraph S st len c = n & (vertex-seq c).(len c +
1) = v)
proof
let S be non void non empty ManySortedSign, X be non-empty ManySortedSet
of the carrier of S, v be SortSymbol of S, n;
assume
A1: 1<=n;
set G = InducedGraph S;
FreeMSA X = MSAlgebra( #FreeSort(X),FreeOper(X) #)by MSAFREE:def 14;
then
A2: (the Sorts of FreeMSA X).v = FreeSort(X,v) by MSAFREE:def 11;
A3: FreeSort(X,v) c= S-Terms X by MSATERM: 12;
thus ( ex t being Element of (the Sorts of FreeMSA X).v st depth t = n)
implies ex c being directed Chain of InducedGraph S st len c = n & (vertex-seq
c).(len c + 1) = v
proof
reconsider n1=n as Element of NAT by ORDINAL1:def 12;
set D = (the carrier' of G)*;
given t being Element of (the Sorts of FreeMSA X).v such that
A4: depth t = n;
t in FreeSort(X,v) by A2;
then reconsider t9 = t as Term of S, X by A3;
consider dt being finite DecoratedTree, tr being finite Tree such that
A5: dt = t & tr = dom dt and
A6: depth t = height tr by MSAFREE2:def 14;
not t is root by A1,A4,A5,A6,TREES_1: 42,TREES_9:def 1;
then consider o being OperSymbol of S such that
A7: t9.{} =[o, the carrier of S] by MSSCYC_1: 20;
consider a being ArgumentSeq of Sym(o,X) such that
A8: t = [o,the carrier of S]-tree a by A7,MSATERM: 10;
set args = the_arity_of o;
A9: dom a = dom args by MSATERM: 22;
consider p being FinSequence of NAT such that
A10: p in tr and
A11: len p = height tr by TREES_1:def 12;
consider i being Nat, T being DecoratedTree, q being Node of T
such that
A12: i < len a and
T = a.(i+ 1) and
A13: p = <*i*>^q by A1,A4,A5,A6,A10,A11,A8,CARD_1: 27,TREES_4: 11;
defpred P[Nat, set, set] means ex t1, t2 being Term of S, X st t1 = t|(p|
$ 1) & t2 = t|(p|($ 1+ 1)) & ex o being OperSymbol of S, rs1 being SortSymbol of S
, Ck being Element of D st Ck = $ 2 & $ 3 = <*[o,rs1]*>^Ck & [o,the carrier of S]
= t1.{} & rs1 = the_sort_of t2 & [o,rs1] in the carrier' of G;
1<=i+ 1 & i+ 1<=len a by A12,NAT_1: 11, 13;
then
A14: i+ 1 in dom args by A9,FINSEQ_3: 25;
then reconsider rs1 = args.(i+ 1) as SortSymbol of S by DTCONSTR: 2;
set e1 = [o,rs1];
A15: (the Arity of S).o = the_arity_of o by MSUALG_1:def 1;
then
A16: [o,rs1] in InducedEdges S by A14,Def1;
then reconsider E9 = the carrier' of G as non empty set;
reconsider e19 = e1 as Element of E9 by A14,A15,Def1;
reconsider C19 = <*e19*> as Element of D by FINSEQ_1:def 11;
A17: for k being Nat st 1 <= k & k < n1 for x being Element of
D ex y being Element of D st P[k,x,y]
proof
let k be Nat;
set pk9 = p/^k;
k<=k+ 1 by NAT_1: 13;
then
A18: Seg k c= Seg (k+ 1) by FINSEQ_1: 5;
k in NAT by ORDINAL1:def 12;
then
reconsider pk = p|k, pk1 = p|(k+ 1) as Node of t by A5,A10,MSSCYC_1: 19;
assume that
1 <= k and
A19: k < n1;
A20: len pk9 = n - k by A4,A6,A11,A19,RFINSEQ:def 1;
then
A21: len pk9 <> 0 by A19;
then
A22: 1 in dom pk9 by CARD_1: 27,FINSEQ_5: 6;
reconsider t1 = t9|pk, t2 = t9|pk1 as Term of S, X by MSATERM: 29;
p = pk^pk9 by RFINSEQ: 8;
then
A23: pk9 in tr|pk by A5,A10,TREES_1:def 6;
then
A24: pk9 in dom t1 by A5,TREES_2:def 10;
A25: k+ 1<=n by A19,NAT_1: 13;
then
A26: 1<=n-k by XREAL_1: 19;
now
assume t1 is root;
then dom t1 = elementary_tree 0 by TREES_9:def 1;
hence contradiction by A20,A26,A24,TREES_1: 42,def 12;
end;
then consider o being OperSymbol of S such that
A27: t1.{} =[o, the carrier of S] by MSSCYC_1: 20;
consider a being ArgumentSeq of Sym(o,X) such that
A28: t1 = [o,the carrier of S]-tree a by A27,MSATERM: 10;
A29: pk9| 1 = <*pk9. 1*> by A21,CARD_1: 27,FINSEQ_5: 20;
consider i being Nat, T being DecoratedTree, q being Node of
T such that
A30: i < len a and
T = a.(i+ 1) and
A31: pk9 = <*i*>^q by A21,A24,A28,CARD_1: 27,TREES_4: 11;
reconsider pk9 as Node of t1 by A5,A23,TREES_2:def 10;
reconsider p1 = pk9|( 0+ 1) as Node of t1 by MSSCYC_1: 19;
reconsider t29 = t1|p1 as Term of S, X;
A32: p|(k+ 1)|k = p|(k+ 1)|Seg k by FINSEQ_1:def 16
.= p|Seg (k+ 1)|Seg k by FINSEQ_1:def 16
.= p|Seg k by A18,FUNCT_1: 51
.= pk by FINSEQ_1:def 16;
set args = the_arity_of o;
let x be Element of D;
A33: dom a = dom args by MSATERM: 22;
A34: 1<=k+ 1 by NAT_1: 11;
then
A35: k+ 1 in dom p by A4,A6,A11,A25,FINSEQ_3: 25;
A36: len pk1 = k+ 1 by A4,A6,A11,A25,FINSEQ_1: 59;
then
A37: k+ 1 in dom pk1 by A34,FINSEQ_3: 25;
p1 = <*p.(k+ 1)*> by A4,A6,A11,A19,A22,A29,RFINSEQ:def 1
.= <*p/.(k+ 1)*> by A35,PARTFUN1:def 6
.= <*(p|(k+ 1))/.(k+ 1)*> by A37,FINSEQ_4: 70
.= <*pk1.(k+ 1)*> by A37,PARTFUN1:def 6;
then pk1 = pk^p1 by A36,A32,RFINSEQ: 7;
then
A38: t29 = t2 by TREES_9: 3;
1<=i+ 1 & i+ 1<=len a by A30,NAT_1: 11, 13;
then
A39: i+ 1 in dom args by A33,FINSEQ_3: 25;
then reconsider rs1 = args.(i+ 1) as SortSymbol of S by DTCONSTR: 2;
set e1 = [o,rs1];
A40: (the Arity of S).o = the_arity_of o by MSUALG_1:def 1;
then [o,rs1] in InducedEdges S by A39,Def1;
then reconsider E9 = the carrier' of G as non empty set;
reconsider e19 = e1 as Element of E9 by A39,A40,Def1;
reconsider x9 = x as FinSequence of E9 by FINSEQ_1:def 11;
reconsider y = <*e19*>^x9 as Element of D by FINSEQ_1:def 11;
take y;
take t1, t2;
thus t1 = t|(p|k) & t2 = t|(p|(k+ 1));
take o, rs1, x;
thus x = x & y = <*[o,rs1]*>^x;
thus [o,the carrier of S] = t1.{} by A27;
pk9| 1 = <*i*> by A31,A29,FINSEQ_1: 41;
then t29 = a.(i+ 1) by A28,A30,TREES_4:def 4;
hence rs1 = the_sort_of t2 by A33,A39,A38,MSATERM: 23;
thus thesis by A39,A40,Def1;
end;
consider C being FinSequence of D such that
A41: len C = n1 & (C. 1 = C19 or n1 = 0) & for k being Nat
st 1 <= k & k < n1 holds P[k,C.k,C.(k+ 1)] from RECDEF_1:sch 4(A17);
defpred Z[Nat] means 1<=$ 1 & $ 1<=n implies ex Ck being directed Chain of G
, t1 being Term of S, X st Ck = C.$ 1 & len Ck = $ 1 & t1 = t|(p|$ 1) & (
vertex-seq Ck).(len Ck + 1) = v & (vertex-seq Ck). 1 = the_sort_of t1;
A42: for i be Nat st Z[i] holds Z[i+ 1]
proof
let k;
assume
A43: 1<=k & k<=n implies ex Ck being directed Chain of G, t1 being
Term of S, X st Ck = C.k & len Ck = k & t1 = t|(p|k) & (vertex-seq Ck).(len Ck
+ 1) = v & (vertex-seq Ck). 1 = the_sort_of t1;
A44: k<=k+ 1 by NAT_1: 11;
assume that
1<=k+ 1 and
A45: k+ 1<=n;
A46: k<n by A45,NAT_1: 13;
per cases;
suppose
A47: k= 0;
reconsider C1 = <*e1*> as directed Chain of G by A16,MSSCYC_1: 5;
reconsider p1 = p|( 0+ 1) as Node of t by A5,A10,MSSCYC_1: 19;
reconsider:: :: Copyright (c) 1996- 2026 :: (Stowarzyszenie Uzytkownikow Mizara, Bialystok , :: This code can be distributed under the GNU General Public Licence
take :: licenses, or see http://www.gnu.org/licenses/gpl.html and:: http://creativecommons.org/licenses/by-sa/3.0/.
thus C1 = C.(k+1) by A1,A41,A47;
len =k+ A47,INSEQ_139java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
thusXCMPLX_0,NAT_1,MCART_1 STRUCT_0,RELAT_1,FUNCT_1,PARTFUN1, FUNCT_2,
reconsider p9=p as PartFunc of NAT, NAT;
A48: vertex-seq C1 = <*(the Source of G).e1, (the Target of G).e1*> by A16java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 71
MSSCYC_1constructorsWELLORD2 ,NAT_1,RFINSEQ ,MSATERM ,
(ertexseq )(=(ertex- C1)(+1)by FINSEQ_1:9
=(heTarget ofG. by
.=(the ResultSort S).11by ,Def3
=the ResultSort of S)o
.= the_result_sort_of o by MSUALG_1:def 2
.= the_sort_of t9 by A7,SATERM:17
.= v by A2, requirements NUMERALS,, BOOLE SUBSET ;
hence v- C1)(enC1 +)=v;
TARSKI ,MCART_1 ,MSSCYC_1,FUNCT_6, CARD_1,CARD_3,
.1*>
Q_1:41
:def 4;
vertex-seq C1)1=the of ).e1 A48
. `2by A16,
.= rs1
.= the_sort_of t2 by java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 0
hence thesis;ofS& the nbeingNat Element tjava.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
;
suppose
A51 k>;
consider t1, t2 being Term of S :ef1:
A52: t1 = t|(p|kop,v set stx=op,v] & inthecarrier in carrier
|(k+)) and
A54: S.=args& nindomargs & argsn=vjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
Element of D st consider Xbeing setsuchthat
{&rs1 = the_sort_of &[,s1]in the carrier G A41,46,,
NAT_1:14;
consider beingOperSymbol ,rs1 being of S,Ck9 being
Element inX Px]byA1
Ck9 =Ck&C.k+)=<[o,s1*^Ck9
A56: [othe carrier of ]=t1.}and
A57: rs1 = the_sort_of
A58: ors1]inthe carrier'of byA54;
A59:Gisnonvoid ;
reconsider C1 = <*[o,rs1]*> as directed Chain of G by A58,MSSCYC_1:5fXBOOLE_0:3java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
e1 o,]java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
A60: vertex-eqC1 <*the SourceofG.,(he of G).1* ,
:7;
consider Ck being directed Chain of G, t19 being thenex,v st =[op ]&op the' &vinthe
that
A61: Ck = C.k and
A62: len Ck = k and
A63: t19 = t|(p|k) and
A64: (vertex-seq Ck).(len Ck +1)=v and
A65: (vertex- carrier ofS&exn ,argsbeing Elementof tcarrier )* (
,:2;
(- ).len +1 v-eq .11)by :39
definition
.= (the set IE = InducedEdges carrierof java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
Def2 e objectst e in InducedEdges S holds it.e =e`
deffunc (objectobject)= $1 `2;
.= the_sort_of t1 by A56,MSATERM:17;
then reconsider
=^k directed byA51,62,A63,65A52,59,ARD_1:27
,MSSCYC_1:15;
takelet xbe ;
thus d =
thus d =len java.lang.StringIndexOutOfBoundsException: Range [34, 31) out of bounds for length 50
. k+1 by FINSEQ_1:39;
thus = t|p(+1) by A53;
thus endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
,MSSCYC_1:16;
(- C1)1 t SourceofG. byA60
.= A4:for being st einIE F2e=e`java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
he_sort_of by ;
hence A51,,59,ARD_127MSSCYC_116java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
IVisemptyjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
66 Z[0 ;
for k holds Z[k] from NAT_1:sch 2(A66, A42);
then
ex c being directed Chain of G, endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
F1 =F2 A5,FUNCT_1:2;
the_sort_of t1 by A1 end;
hence ;
end;
given beingdirected Chain of InducedGraph S such that
A67: len c = n and
A68: (vertex-seq c).(len c +1) = v;
set EG = the carrier' of G;
reconsider n1=n as Element of NAT by ORDINAL1:def 12;
deffunc F(object) = X.$1;
set TG = the Target of G;
set SG = the Source of G;
set D = S-Terms X;
set cS = the carrier of S;
A69: for e being object st e in cS holds F(e) <> {};
consider cX java.lang.StringIndexOutOfBoundsException: Range [50, 19) out of bounds for length 50
A70: for e being object st e in cS holds cX.e in F(e) from PBOOLE:sch 1 (
A69);
defpred P[Nat, set, set] means ex o being OperSymbol of S, rs1 being
SortSymbol of S, Ck, Ck1 being Term of S, X, a being ArgumentSeq of Sym(o,X) st
Ck = $2 & $3 = Ck1 & c.($1+1) = [o, rs1] & Ck1 = [o,cS]-tree a & (for i being
Nat st i in dom a ex t being Term of S,X st t = a.i & the_sort_of t = (
the_arity_of o).i & (the_sort_of t = rs1 & the_sort_of Ck = rs1 implies t = Ck)
& (the_sort_of t <> rs1 or the_sort_of Ck <> rs1 implies t = root-tree [cX.(
the_sort_of t), the_sort_of t]));
A71: c is FinSequence of the carrier' of InducedGraph S by MSSCYC_1:def 1;
A72: 1 in dom c by A1,A67,FINSEQ_3:25;
then reconsider EG as non empty set by A71;
c.1 in InducedEdges S by A71,A72,DTCONSTR:2;
then consider o, rs1 being set such that
A73: c.1 = [o, rs1] and
A74: o in the carrier' of S and
A75: rs1 in the carrier of S and
A76: ex n being Nat, args being Element of (the carrier of S)* st (the
Arity of S).o = args & n in dom args & args.n = rs1 by Def1;
reconsider rs1 as SortSymbol of S by A75;
reconsider o as OperSymbol of S by A74;
deffunc F(Nat) = root-tree [cX.((the_arity_of o).$1),(the_arity_of o).$1];
consider a being FinSequence such that
A77: len a = len the_arity_of o & for k be Nat st k in dom a holds a.k
= F(k) from FINSEQ_1:sch 2;
A78: dom a = Seg len a by FINSEQ_1:def 3;
A79: for i being Nat st i in dom a ex t being Term of S,X st t = a.i &
the_sort_of t = (the_arity_of o).i
proof
let i be Nat;
assume
A80: i in dom a;
set s = (the_arity_of o).i;
dom the_arity_of o = Seg len the_arity_of o by FINSEQ_1:def 3;
then reconsider s as SortSymbol of S by A77,A78,A80,DTCONSTR:2;
set x = cX.((the_arity_of o).i);
reconsider x as Element of X.s by A70;
reconsider t = root-tree [x,s] as Term of S,X by MSATERM:4;
take t;
thus t = a.i by A77,A80;
thus thesis by MSATERM:14;
end;
A81: dom a = Seg len the_arity_of o by A77,FINSEQ_1:def 3;
reconsider a as ArgumentSeq of Sym(o,X) by A77,A79,MSATERM:24;
set C1 = [o,the carrier of S]-tree a;
reconsider C1 as Term of S, X by MSATERM:1;
A82: for k being Nat st 1 <= k & k < n1 for x being Element of D
ex y being Element of D st P[k,x,y]
proof
let k be Nat;
assume that
1 <= k and
A83: k < n1;
A84: 1<=k+1 by NAT_1:11;
k+1<=n by A83,NAT_1:13;
then k+1 in dom c by A67,A84,FINSEQ_3:25;
then reconsider ck1 = c.(k+1) as Element of EG by A71,DTCONSTR:2;
let x be Element of D;
consider o, rs1 being set such that
A85: ck1 = [o,rs1] and
A86: o in the carrier' of S and
A87: rs1 in cS and
ex n being Nat, args being Element of (the carrier of S)* st (the
Arity of S).o = args & n in dom args & args.n = rs1 by Def1;
reconsider rs1 as SortSymbol of S by A87;
reconsider o as OperSymbol of S by A86;
set DA = dom the_arity_of o;
set ar = the_arity_of o;
defpred P[object, object] means
(ar.$1 = rs1 & the_sort_of x = rs1 implies $2 =
x) & (ar.$1 <> rs1 or the_sort_of x <> rs1 implies $2 = root-tree [cX.(ar.$1),
ar.$1]);
A88: for e being object st e in DA ex u being object st u in D & P[e,u]
proof
let e be object;
assume
A89: e in DA;
per cases;
suppose
A90: ar.e = rs1 & the_sort_of x = rs1;
take x;
thus thesis by A90;
end;
suppose
A91: ar.e <> rs1 or the_sort_of x <> rs1;
reconsider s = (the_arity_of o).e as SortSymbol of S by A89,DTCONSTR:2;
reconsider x = cX.((the_arity_of o).e) as Element of X.s by A70;
reconsider t = root-tree [x,s] as Term of S,X by MSATERM:4;
take t;
thus thesis by A91;
end;
end;
consider a being Function of DA,D such that
A92: for e being object st e in DA holds P[e,a.e] from FUNCT_2:sch 1 (
A88);
DA = Seg len ar by FINSEQ_1:def 3;
then reconsider a as FinSequence of D by FINSEQ_2:25;
A93: dom a = DA by FUNCT_2:def 1;
now
let i be Nat;
assume
A94: i in dom a;
then reconsider t = a.i as Term of S,X by DTCONSTR:2;
take t;
thus t = a.i;
per cases;
suppose
ar.i = rs1 & the_sort_of x = rs1;
hence the_sort_of t = ar.i by A92,A93,A94;
end;
suppose
A95: ar.i <> hence by FUNCT_25;
reconsiders=(he_arity_ofo. asSortSymbol S by A93,A94,
DTCONSTR:2;
A96: cX.((the_arity_of o).i) is Element of X.s by A70;
t = root-tree [cX.(ar.i),ar.i] by A92,A93,A94,A95;
hence the_sort_of t = ar.i by A96,MSATERM:14;
end;
;
then java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 6
reconsider =[,]treea as Term ofS, MSATERM:;
A10:for ebeing object stein IE F2e =RSe`
thusx = &y =y;
thus c.(k+1) = [o, rs1] by A85;
thusy=[,cS]-reea;
let i be ;
assume
A97: now
then reconsider t = a. :the carrier' of S,IV: is empty by ZFMISC_1:0;
take t;
thus =.i;
the_arity_of)ibyA97,:;
hence thesis by A92,A93,A97;
consider FinSequence Dsuchthat
A98:C=n1&(. )&for Natst 1
<k&k holdsPk,C.,.k+1)]from : 4(82;
defpred P[Nat] means 1<=$1 & $1<=n implies ex C0 InducedEdges S,InducedSource S, S #;
ofS =.1&o (.1)1&the_sort_of =
the_result_sort_ofo &height dom 1java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
A99: G is non void by A72;
:forkbe st P[k]holdsP[k+1]
proof
assume
A101 let S be non non emptyManySortedSign X ManySortedSet
of st =C &o= (.k)1&the_sort_of Ck=the_result_sort_of o &height
dom CkA1:1=n;
assume that
A102: 1<=k+1 and
A103: k+1<=n;
A104 then
A105:k<=+1 :11;
then
java.lang.StringIndexOutOfBoundsException: Range [18, 4) out of bounds for length 30
per c).(len c1)v
suppose
A107 reconsider n1= byORDINAL1def12;
take C1, o;
thusC1 .k)by,A98,107;
thus =n;
reconsider w = doms tin (X,v) by A2;
A108: dom doms a = dom a by TREES_3:37;
:def 4;
A5: and
, argsbeing of ( carrier of S) such
that
A109: (the Arity then consider o OperSymbol suchthat
A110: i in dom args and
args.i = rs1 byA7: t9.{ =o the carrier of S]by :20;
A111: dom args = Seg len args consider a of Sym(,)such
:args = the_arity_of o by A109,SUALG_1:ef 1;
then reconsider t = a. set =the_arity_ofo;
doms a)i=dom by A77,,110A112,111FUNCT_6;
then
A113: dom C1 = tree doms a A11:len =heighttr TREES_1d 12;
FUNCT_1: 3,TREES_4:;
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
A114 .i=root-tree [X.( o.)(he_arity_ofo. A77,A81
A111;
A115: now
t9 be finiteTreejava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
then consider j being Nat such that
A116: j in dom w and
A117: java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 8
reconsider t99 = a.j as Term then reconsider rs1 = args.(i+1) as of by :;
aj= roottree[.(the_arity_ofo.j)( ).j] A77
then
A118: t99=elementary_tree0 byTREES_4:;
w.j = dom t99 by A108,A116 e19=e1as ofE9 by A14A15,java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
hence height t9 <= height dt by A114,A117,A118,TREES_4:3;
end;
dom t = elementary_tree 0 by A114,TREES_4:3;
A17: for k st1< k &<n1for x Element of
end;
suppose
A119: k <> 0;
then
A120: 1<=k by NAT_1:14;
then k in dom c by A67,A106,FINSEQ_3:25;
then reconsider ck = c.k as Element of EG by A71,DTCONSTR:2;
consider Ck being Term of S, X, o being OperSymbol of S such that
A121: Ck = C.k and
A122: o = (c.k)`1 & the_sort_of Ck = the_result_sort_of o and
A123: height dom Ck = k by A101,A103,A105,A119,NAT_1:14,XXREAL_0:2;
reconsider kk=k as Element of NAT by ORDINAL1:def 12;
o1 S,rs1 of ,,Ck1
1<=i<i+ +< aby,:11,13
=.
A125: C.(+1) and
126 c.k+)=[1 rs1
:Ck1=[o1,S]- a and
A16:[I S by A14,Def1;
i t=(the_arity_ofo1). & (the_sort_of
impliest = &t>or >rs1
t=-[X. ) java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 76
NAT_1:14;
=.+1;
A129: k+1 in dom c by A67,A102,A103,FINSEQ_3:25;
then ck1 in EG by ,TCONSTR:2;
then consider o9/kjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
A130: ck1=[o9, rs19] and
A131: o9 in the
A132: ex n 1 =k and
S. in &n= ;
= A126A,;
take Ck1, o1;
Ck1=C.k1)byA125
o1=(.k)` ;
{ c] d 4;
A23: pk9 in tr|pk by A5,A10,TREES_1:def 6;
:;
ck1as EGD;
reconsider w = java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 10
dom=0 TREES_9d 1java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
,MSATERM:22;
A126A,1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
thenconsider ofoX)that
being oft java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 65
that
A136: ( ibeing ,T being DecoratedTree being of
A30: i <aand
A138: args.i =<> A,,2711java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
reconsider java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 61
: =by:3
o9byA136:1
S that
A141: t = a.i and =pSegk :51
A142 java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 32
=impliest=Ck9
t > java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 74
[cX + pA4A,11,25java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
reconsider dt
A143: dom doms a = =<.k+* A4,A11,A22 1
A144: now
;
assume .= <*(p|()
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 44
A1451=1&i= aA301113
146 .j 10java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
consider t99 being Term of e1=[;
A147: t99 = a.j and
the_sort_of=()jand
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 75
<java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 68
root[.t,t99 A;
A150: w.j = dom t99 by A143,A145,A147,FUNCT_6:22;
;
suppose
_of the_sort_ofCk9 = rs1;
hence height t9 <= height dt bythus =t(|k &t2 =t(p|(+1)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
A,,22,:ef;
;
orjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 59
end;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
(a. tA135A137A,,:;
then
A151: dom t in rng w by A143,A135,A133,A137,A140,A139,FUNCT_1:def 3;
the_sort_of Ck = (the ResultSort of S).(ck`1) by A122,MSUALG_1:def 2
.= TG.ck by Def3
.= (vertex-seq c).(kk+1) by A67,A99,A106,A120,CARD_1:27,MSSCYC_1:11
.= SG.ck1 by A67,A99,A102,A103,CARD_1:27,MSSCYC_1:11
.= ck1`2 by Def2
.= rs1 by A126;
hence thesis by A121,A123,A124,A134,A133,A136,A138,A142,A151,A144,
MSUALG_1:def 1,TREES_3:79;
end;
end;
set cn = c.len c;
n in dom c by A1,A67,CARD_1:27,FINSEQ_5:6;
then
A152: cn in InducedEdges S by A67,A71,DTCONSTR:2;
A153: P[ 0 ];
for k holds P[k] from NAT_1:sch 2(A153, A100);
then consider Cn being Term of S, X, o being OperSymbol of S such that
Cn = C.n and
A154: o = (c.n)`1 and
A155: the_sort_of Cn = the_result_sort_of o and
A156: height dom Cn = n by A1;
G is non void by A72;
then (vertex-seq c).(len c +1) = (the Target of G).(c.len c) by A1,A67,
CARD_1:27,MSSCYC_1:14
.= (the ResultSort of S).cn`1 by A152,Def3
.= the_result_sort_of o by A67,A154,MSUALG_1:def 2;
then reconsider Cn as Element of (the Sorts of FreeMSA X).v by A2,A68,A155,
MSATERM:def 5;
take Cn;
thus thesis by A156,MSAFREE2:def 14;
end;
theorem
for S being void non empty ManySortedSign holds S is monotonic iff
InducedGraph S is well-founded
proof
let S be void non empty ManySortedSign;
set G = InducedGraph S, OS = the carrier' of S, CA = the carrier of S, AR =
the Arity of S;
hereby
assume S is monotonic;
assume not G is well-founded;
then consider v being Element of the carrier of G such that
A1: for n being Nat ex c being directed Chain of G st c is
non empty & (vertex-seq c).(len c +1) = v & len c > n by MSSCYC_1:def 4;
consider e being directed Chain of G such that
A2: e is non empty and
(vertex-seq e).(len e +1) = v and
len e>0 by A1;
e is FinSequence of the carrier' of G by MSSCYC_1:def 1;
then
A3: rng e c= the carrier' of G by FINSEQ_1:def 4;
1 in dom e by A2,FINSEQ_5:6;
then e.1 in rng e by FUNCT_1:def 3;
then
ex op, v being set st e.1 = [op, v] & op in OS & v in CA & ex n being
Nat, args being Element of CA* st AR.op=args & n in dom args & D exybeing Element Dst Pk,x,
,Def1;
hence contradiction;
;
assume G A18 c=Seg k+1)by FINSEQ_1:;
let A be finitely-generated non
thus the of A is - byMSAFREE2:def 10;
end;
theoremA20: len =n -k by ,A6A11,,:ef
S non void non ManySortedSign S monotonic
holds A22: 1in dompk9byCARD_127F:;
proof
let benon void non ;
set Gp=pk^ by :;
assume S is ;
reconsider S asmonotonicnon void non empty ;
ite-ielding -MSAlgebra over S;
assume G isA25: k+1<n byA19,AT_113
then consider now
dom = 0 by TREES_9:def1;
non empty & (vertex-seq c).(len c +1)=v & len c>n by MSSCYC_1:def 4;
reconsider v as SortSymbol of S;
consider beingfinite empty of NAT that
heset of all
deptht is of(heSorts FreeEnv )v and
depth(,)=max by CIRCUIT1def 6;
max s is Nat by TARSKI:1;
then consider c being consider a being (X
c is non empty and
A3: (vertex-seq c).(len c +1) = v and
A4: len c>max s by A1;
,NAT_1:;
then consider
t being Element ( Sorts FreeMSA A.v
that
A5: depth t = len c by A3,Th2;
reconsidert9=t (heSortsof java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 61
ex being (he FreeMSAtheSorts A )
= .=p|Seg (1|egk FINSEQ_1:def 16
hence contradiction by A4,A5,XXREAL_2:def 8;
end;
theorem Th5:
for S being non void non empty ManySortedSign, X being non-empty
finite-yielding ManySortedSet of the carrier of S st S is finitely_operated for
n being Nat, v being SortSymbol of S holds {t where t is Element of (the Sorts
of FreeMSA X).v: depth t <= n} is finite
proof
let S be non void non empty ManySortedSign, X be non-empty finite-yielding
ManySortedSet of the carrier of S such that
A1: S is finitely_operated; by A3
,Def1;
hence contradiction;
end;
assume G is well-founded;
let A be finitely-generated non-empty MSAlgebra over S;
thus the Sorts of A is finite-yielding by MSAFREE2:def 10;
end;
theorem
for S being non void non empty ManySortedSign st S is monotonic
holds InducedGraph S is well-founded
proof
let S be non void non empty ManySortedSign;
set G = InducedGraph S;
assume S is monotonic;
then reconsider S as monotonic non void non empty ManySortedSign;
set A = the finite-yielding non-empty MSAlgebra over S;
assume G is non well-founded;
then consider v being Element of the carrier of G such that
A1: for n being Nat ex c being directed Chain of G st c is
non empty & (vertex-seq c).(len c +1)=v & len c>n by MSSCYC_1:def 4;
reconsider v as SortSymbol of S;
consider s being finite non empty Subset of NAT such that
A2: s = the set of all
depth t where t is Element of (the Sorts of FreeEnv A).v and
depth(v,A) = max s by CIRCUIT1:def 6;
max s is Nat by TARSKI:1;
then consider c being directed Chain of G such that
c is non empty and
A3: (vertex-seq c).(len c +1) = v and
A4: len c>max s by A1;
1<=len c by A4,NAT_1:14;
then consider
t being Element of (the Sorts of FreeMSA the Sorts of A).v such
that
A5: depth t = len c by A3,Th2;
reconsider t9 = t as Element of (the Sorts of FreeEnv A).v;
(ex t99 being Element of (the Sorts of FreeMSA the Sorts of A ).v st t9
= t99 & depth t9 = depth t99 )& depth t9 in s by A2,CIRCUIT1:def 5;
hence contradiction by A4,A5,XXREAL_2:def 8;
end;
theorem Th5:
for S being non void non empty ManySortedSign, X being non-empty
finite-yielding ManySortedSet of the carrier of S st S is finitely_operated for
n being Nat, v being SortSymbol of S holds {t where t is Element of (the Sorts
of FreeMSA X).v: depth t <= n} is finite
proof
let Sbe non void non empty , Xbe non-finite-
let ibe Nat;
A1: S is finitely_operated;
set SF set s = the_arity_ofo.;
defpred P[Nat] means for v beingSortSymbol of S holds {t where t is Element
of SF.v: depth t <= $1} is finite;
A2: FreeMSA X = MSAlgebra (#FreeSort(X), FreeOper(X)#) by MSAFREE:def 14;
:for beNatst P]holds P[+1java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
proof
deffunc F(set) = $1;
let n be A81: dom a = Seglen the_arity_of o by A77,INSEQ_1d 3
assume
A4: for v being SortSymbol of S holds {t where t is Element of SF.v:
depth t <= n} is finite;
let vbe SortSymbol of S
QZ[of.v]means depth $1 = n+1;
defpred P[Element of A82: for being Nat 1 = k & k<n1 x beingElement of D
defpred Q[Element of SF.v] means ex ybeingElementofD st[k,x,y]
set dn1 = {F(t) where t is Element proof
{F()wheret is Element ];
set den1 = {t where t is Element of SF.v: QZ[t]};
set ov ={o where is of S: = v};
A5:SFv = FreeSort(X,v)by ,MSAFREE:def 11;
ov is finite by A1,MSSCYC_1:def 5;
then consider ovs being FinSequence such that
A6: rng ovs = ov by FINSEQ_1:52;
deffunc F(set) = {t where t is Element of SF.v: depth t = n+1 & t.{} = [
ovs.$1,the carrier of S]};
consider dvs being FinSequence such that
A7: len dvs = len ovs & for k being Nat st k in dom dvs holds dvs.k =
F(k) from FINSEQ_1:sch 2;
A8: dom ovs = Seg len ovs & dom dvs = Seg len dvs by FINSEQ_1:def 3;
A9: FreeSort(X,v) c= S-Terms X by MSATERM:12;
A10: den1 c= Union dvs
proof
let x be object;
assume x in den1;
then consider t being Element of SF.v such that
A11: x = t and
A12: depth t = n+1;
t in FreeSort(X,v) by A5;
then reconsider t9 = t as Term of S, X by A9;
now
A13: ex dt being finite DecoratedTree, tt being finite Tree st dt = t &
tt = dom dt & depth t = height tt by MSAFREE2:def 14;
assume t9 is root;
hence contradiction by A12,A13,TREES_1:42,TREES_9:def 1;
end;
then consider o being OperSymbol of S such that
A14: t9.{} = [o,the carrier of S] by MSSCYC_1:20;
the_result_sort_of o = the_sort_of t9 by A14,MSATERM:17
.= v by A5,MSATERM:def 5;
then o in rng ovs by A6;
then consider k being object such that
A15: k in dom ovs and
A16: o = ovs.k by FUNCT_1:def 3;
dvs.k = {t1 where t1 is Element of SF.v: depth t1 = n+1 & t1.{} = [
ovs.k,the carrier of S]} by A7,A8,A15;
then
A17: t in dvs.k by A12,A14,A16;
dvs.k in rng dvs by A7,A8,A15,FUNCT_1:def 3;
then t in union rng dvs by A17,TARSKI:def 4;
hence thesis by A11,CARD_3:def 4;
end;
for k being object st k in dom dvs holds dvs.k is finite
proof
let k be object;
set dvsk = {t where t is Element of SF.v: depth t = n+1 & t.{} = [ovs.k,
the carrier of S]};
assume
A18: k in dom dvs;
then ovs.k in rng ovs by A7,A8,FUNCT_1:def 3;
then consider o being OperSymbol of S such that
A19: o = ovs.k and
the_result_sort_of o = v by A6;
set davsk = {[o,the carrier of S]-tree a where a is Element of (S-Terms
X)* : a is ArgumentSeq of Sym(o,X) & ex t being Element of SF.v st depth t = n+
1 & t = [o,the carrier of S]-tree a};
A20: dvsk c= davsk
proof
let x be object;
assume x in dvsk;
then consider t being Element of SF.v such that
A21: x = t and
A22: depth t = n+1 and
A23: t.{} = [o,the carrier of S] by A19;
t in FreeSort(X,v) by A5;
then reconsider t9 = t as Term of S, X by A9;
consider a being ArgumentSeq of Sym(o,X) such that
A24: t9 = [o,the carrier of S]-tree a by A23,MSATERM:10;
reconsider a9 = a as Element of (S-Terms X)* by FINSEQ_1:def 11;
[o,the carrier of S]-tree a9 in davsk by A22,A24;
hence thesis by A21,A24;
end;
deffunc F(Nat)= {t where t is Element of SF.((the_arity_of o)/.$1):
depth t <=n};
set avsk = {a where a is Element of (S-Terms X)* : a is ArgumentSeq of
Sym(o,X) & ex t being Element of SF.v st depth t = n+1 & t = [o,the carrier of
S]-tree a};
A25: avsk,davsk are_equipotent
proof
set Z = {[a,[o,the carrier of S]-tree a] where a is Element of (S
-Terms X)* : a is ArgumentSeq of Sym(o,X) & ex t being Element of SF.v st depth
t = n+1 & t = [o,the carrier of S]-tree a};
take Z;
hereby
let x be object;
assume x in avsk;
then consider a being Element of (S-Terms X)* such that
A26: x = a and
A27: a is ArgumentSeq of Sym(o,X) & ex t being Element of SF.v
st depth t = n+1 & t = [o,the carrier of S]-tree a;
reconsider y9 = [o,the carrier of S]-tree a as object;
take y9;
thus y9 in davsk by A27;
thus [x,y9] in Z by A26,A27;
end;
hereby
let y be object;
assume y in davsk;
then consider a being Element of (S-Terms X)* such that
A28: y = [o,the carrier of S]-tree a and
A29: a is ArgumentSeq of Sym(o,X) & ex t being Element of SF.v
st depth t = n+1 & t = [o,the carrier of S]-tree a;
reconsider a9 = a as object;
take a9;
thus a9 in avsk by A29;
thus [a9,y] in Z by A28,A29;
end;
let x,y,z,u be object;
assume [x,y] in Z;
then consider xa being of (-erms X* such that
A30: [x,y] = [xa,[o,the java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 15
A31: xa is ArgumentSeq of Sym(o,X) and
ex t being Element of SF.v st depth t = n+1 & t = [o,the carrier
of S]-tree xa;
A32: x =byA30XTUPLE_0:;
assume [z,u] in Z;
then consider za being Element of (S-Terms X)* such that
A33: [z,u] = [za,[o,the carrier of S]-tree za] and
A34: za is ArgumentSeq of Sym(o,
ex t being Element of java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
of S]-tree za;
A35: z = za by A33,XTUPLE_0:1;
hence x = z implies y = u by A30,A33,A32,XTUPLE_0:1;
A36: u = [o,the carrier of S]-tree then
A1: abs s ;
assume y = u;
hence thesis by A31,A34,A32,A37,A35,A36,TREES_4:15;let ofjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 10
A86: o in the carrier' of S and
consider nS being FinSequence such that
:len l of kbeing Nat st in nS
holds nS.k = F(k) from FINSEQ_1:schs)n|< A1;
A39: dom nS = take ;
A40: dom nS = Seg len let ;
A41: avsk c= product nS
proof
let x be object;
assume x in avsk;
then considera Element of STerms X* that
A42: x = a and
A43: a is ArgumentSeq of Sym(o,X) and
A44: ex t being Element of SF.v st depth t = n+1 & t = [o,the
carrier of S]-tree a;
reconsider a java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
A45: len a = len the_arity_of o & dom a = Seg len a by FINSEQ_1:def 3
,MSATERM:22;
now
let x be object;
assume
A46: x in dom a;
then A2: s1 is convergent&lim s1<1;
reconsider ak = a.k as Term of S, X by A46,MSATERM:22;
A47: the_sort_of ak = n >0by A1S12java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
SF.(thus s1.n=abs(s(+)abs(s. A1;
;
then reconsider ak as Element of SF.((the_arity_of o)/.k) by A47,
MSATERM:def 5;
depth ak < n+1 by A44,A46,MSSCYC_1:27;
then
A48: java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
set nSk = {tk where tk is Element of SF.((the_arity_of o)/.k): depth
tk <=n};
nSk = nS.x by A38,A40,A45,A46;
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 35
end;
8A39,CARD_3: 5java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
now
let x be object;
assume
A49: x in dom java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 8
henreconsiderk=x as ;
set nSk = {t where t is Element of SF.((java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 35
=;
nS.k = nSk by suppose
hence nS.x is finite by A4;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 10
then thesis;
then product nS is finite;
then davsk is finite by A25,A41,CARD_1:38;
hence thesis by A7,A18,A20;
end;
then
A50: Union dvs is finite by CARD_2:88;
defpred Z[Element of SF.v] means depth $1 <= n;
set dln = {t where t is Element of SF.v: Z[t]};
A51: {t where t is Element of SF.v: Z[t] or QZ[t]} = dln \/ den1 from
TOPREAL1:sch 1;
A52: for t being Element of SF.v holds P[t] iff Q[t] by NAT_1:8,12;
A53: dn1 = dn11 from FRAENKEL:sch 3(A52);
dln is finite by A4;
hence thesis by A53,A51,A50,A10;
end;
A54: P[ 0 ]
proof
let v be SortSymbol of S;
set dle0 = {t where t is Element of SF.v: depth t <= 0};
set d0 = {t where t is Element of SF.v: depth t = 0};
A55: dle0 c= d0
proof
let x be object;
assume x in dle0;
then consider t being Element of SF.v such that
A56: x = t and
A57: depth t <= 0;
depth t = 0 by A57;
hence thesis by A56;
end;
Constants(FreeMSA X, v) is finite & d0 = FreeGen(v, X) \/ Constants(
FreeMSA X, v) by A1,MSSCYC_1:25,26;
hence thesis by A55;
end;
thus for n being Nat holds P[n] from NAT_1:sch 2(A54, A3);
end;
theorem
for S being non void non empty ManySortedSign st S is
finitely_operated & InducedGraph S is well-founded holds S is monotonic
proof
let S be non void non empty ManySortedSign;
set G = InducedGraph S;
assume that
A1: S is finitely_operated and
A2: G is well-founded;
given A being finitely-generated non-empty MSAlgebra over S such that
A3: A is non finite-yielding;
set GS = the non-empty finite-yielding GeneratorSet of A;
reconsider gs = GS as non-empty finite-yielding ManySortedSet of the carrier
of S;
FreeMSA gs is non finite-yielding by A3,MSSCYC_1:23;
then the Sorts of FreeMSA gs is non finite-yielding;
then consider v being object such that
A4: v in the carrier of S and
A5: (the Sorts of FreeMSA gs).v is non finite by FINSET_1:def 5;
reconsider v as SortSymbol of S by A4;
consider n being Nat such that
A6: for c being directed Chain of G st c is non empty & (vertex-seq c).(
len c +1) = v holds len c <= n by A2,MSSCYC_1:def 4;
set V = (the Sorts of FreeMSA gs).v;
set Vn = {t where t is Element of V : depth t<=n};
Vn is finite by A1,Th5;
then not V c= Vn by A5;
then consider t being object such that
A7: t in V and
A8: not t in Vn;
reconsider t as Element of V by A7;
A9: not depth t<=n by A8;
then 1 <=depth t by NAT_1:14;
then ex d being directed Chain of InducedGraph S st len d = depth t & (
vertex-seq d).(len d +1) = v by Th2;
hence contradiction by A6,A9,CARD_1:27;
end;
¤ Dauer der Verarbeitung: 0.63 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland
|
|
2026-11-23
|