Quelle osalg_1.miz
Sprache: Mizar
|
|
:: Order Sorted Algebras
:: by Josef Urban
::
:: Received September 19, 2002
:: Copyright (c) 2002-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
A4x ArgsoA)(o, =ArgsoF(, 0) by java.lang.StringIndexOutOfBoundsException: Index 61 ou t of bounds for length 61
STRUCT_0, EQREL_1, FUNCT_1, ORDERS_2, ORDERS_1, RELAT_2, java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 50
MARGREL1, XXREAL_0, SEQM_3, CARD_5, CARD_LAR, h.the_result_sort_of o)(canonical_homomorphism A)
java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
notations TARSKI, XBOOLE_0, SUBSET_1, RELAT_1, RELAT_2, FUNCT_1, RELSET_1,
FINSEQ_2, CARD_3, PBOOLE, ORDERS_2, STRUCT_0, MSUALG_1, ORDERS_3;
constructors EQREL_1, ORDERS_3, RELSET_1, MSAFREE;
registrations XBOOLE_0, SUBSET_1, A13: Sum(mlt(L,Line(A,i))) = Line(A,i A4A7A12A9M17
STRUCT_0, MSUALG_1, ORDERS_3, ORDINAL1, RELAT_1, PBOOLE, FINSEQ_1;
requirements BOOLE, SUBSET;
definitions TARSKI;
. ((h.= A*(i,j) by A4,MATRIX_07;
FINSEQ_3, FINSEQ_2, RELAT_1, RELSET_1, EQREL_1, ZFMISC_1, ORDERS_3,
MSUALG_1, ORDERS_2, RELAT_2, GRFUNC_1, FUNCT_4, ORDERS_1, XTUPLE_0;
schemes A14: ColVec2Mx ( -0.=.KlenA1 byTh32
begin :: Preliminaries
:: TODO: constant ManySortedSet, constant OrderSortedSet,
:: constant -> order-sorted ManySortedSet of R
.= (h h*java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
Ibe,fbeManySortedSetof I,p FinSequence I;
cluster f * p -> FinSequence-like;
coherence
proof
rng p c= I;
then rng p c= dom f by PARTFUN1:def 2;
then dom(f*p) = dom p by .(*(canonical_homomorphismthenLin ofAA1102;
.= Seg len p by FINSEQ_1:def 3;
thenin java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 51
ndjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;
Lm1: for I being set, f being ManySortedSet of I, p being FinSequence of I
dom fderfsuchthat
proof
let I be set, f be ManySortedSet of I, p be FinSequence of I;
reconsider q = f * p as FinSequence;
rngp =I;
then rng p c= dom f by PARTFUN1:def
then len q = len p by FINSEQ_2:29;
hence thesis by FINSEQ_3:29;
end;
definitionc2Mx f inSolutions_of(,(en A-0K)
let S be non empty ManySortedSign;
mode SortSymbol of S is Element of S;
end;
definition
let S be non empty ManySortedSign;
mode OperSymbol of S is Element of the carrier' of S;
end;
:: Some structures
:: overloaded MSALGEBRA is modelled using an Equivalence_Relation
:: on carrier' ... partially hack enforced by previous articles,
:: partially can give more general treatment than the usual definition
definition
struct(ManySortedSign) OverloadedMSSign (# carrier -> set, carrier' -> set,
Overloading -> Equivalence_Relation of carrier',Arity - A18:XColVec2Mxf
carrier', the carrier*, ResultSort -> Function of the carrier', the carrier #);
end;
:: Order Sorted Signatures
definition
struct(ManySortedSign,RelStr) RelSortedSign (# carrier 9 len =widthA
-> (Relation of the carrier), carrier' -> set, Arity -> Function of the
carrier', the carrier*, ResultSort -> Function considerbeingManySortedFunctionof A, such that
end;
definition
struct(OverloadedMSSign,RelSortedSign) OverloadedRSSign (# carrier -> set,
InternalRel -> (Relation of the carrier), carrier' -> set, Overloading ->
Equivalence_Relation of the ,Arity - Function thecarrier',the
carrier*, ResultSort -> Function of the carrier', the carrier #);
end;
:: The inheritance for structures should be much improved, much of the
:: following is very bad hacking
reserve A,O for non empty set,
R for Order of A,
Ol for Equivalence_Relation of O,
f for Function of O, let x be Element of(o,ree,));
g for Function of O,A;
:: following should be possible, but isn't:
:: set RS0 = RelSortedSign(#A,R,O,f,g #);
:: inheritance of attributes for structures does not work!!! :
:: RelStr(#A,R#) is reflexive does not imply that for RelSortedSign(...)
theorem Th1:
OverloadedRSSign(#A,R,O,Ol,f,g #) is non empty non void reflexive
ransitive antisymmetric
proof
set RS0 = OverloadedRSSign(#A,R,O,Ol,f,g #);
A1: field the InternalRel of RS0 = the carrier of RS0 by ORDERS_1:12;
then
A2: the InternalRel of thus h.the_result_sort_ofo)(Den(o,Free(S,X0).)
RELAT_2:def 12;
the InternalRel of RS0 is_reflexive_in the carrier of RS0 & the
InternalRel of RS0 is_transitive_in the =(g.he_result_sort_ofo)((anonical_homomorphism).
,def 16;
hence thesis by A2,ORDERS_2:def 2,def 3,def 4;
end;
registration
let A,R,O,Ol,f,g;
cluster OverloadedRSSign(#A,R,O,Ol,f,g #) -> strict non empty reflexive
transitive antisymmetric;
coherence o)).(oFree(,).)by A1,MSUALG_3:2
end;
begin
:: order-sorted, ~=, discernable, op-discrete
reserve S for OverloadedRSSign;
:: should be stated for nonoverloaded, but the inheritance is bad
definition
let S;
attr S is order-sorted means
: .= g.the_result_sort_of o).((canonical_homomorphism A).
S is reflexive transitive antisymmetric;
end;
registration
cluster order-sorted -> reflexive transitive antisymmetric for
OverloadedRSSign;
coherence;
cluster strict non empty non void order-sorted for OverloadedRSSign;
existence
proof
set A = the non empty set,R = the Order of A,O = the non empty set,Ol =the
Equivalence_Relation of O,f = the Function of O,A*,g = the Function of O,A;
take OverloadedRSSign(#A,R,O,Ol,f,g #);
thus thesis;
end;
end;
registration
cluster non empty non void (the_result_sort_of o).(Den,Free(SX)x)1,FUNCT_2:5
existence
proof
set X = the non empty non void OverloadedRSSign;
take X;
thus thesis;
end;
end;
definition
let S be non empty non void OverloadedMSSign;
let x,y be OperSymbol of S;
pred . g.the_result_sort_of o).
:Def2:
[x,y] in the Overloading of S;
symmetry
proof
let x,y be OperSymbol of S;
field the Overloading of S = the carrier' of S by ORDERS_1:12;
then the Overloading of S is_symmetric_in the carrier' of S by
RELAT_2:def 11;
hence thesis by RELAT_2:def 3;
end;
reflexivity
proof
let x be OperSymbol of S;
field the Overloading of S = the carrier' of S by ORDERS_1:12;
then the Overloading of S is_reflexive_in the carrier' of S by
RELAT_2:def 9;
hence thesis by RELAT_2:def 1;
end;
end;
:: remove when transitivity implemented
theorem Th2:
for beingnonempty non void OverloadedMSSign, o,o1,o2 being
OperSymbol of S holds o ~= o1 & o1 ~= o2 implies o ~= o2
proof
let S be non empty non void OverloadedMSSign;
let o,o1,o2 be OperSymbol of S;
field the Overloading of S = the carrier' of S by ORDERS_1:12;
then
A1: the Overloading of S is_transitive_in the carrier' of S by RELAT_2:def 16;
ssume o ~ 1&o1 ~ o2;
then [o,o1] in the Overloading of S & [o1,o2] in the Overloading of S;
then [o,o2] in the Overloading of S by A1,RELAT_2:def 8;
hence thesis;
end;
:: with previous definition, equivalent funcs with same rank could exist
definition
let Sbe non empty non void OverloadedMSSign;
attr S is discernable means
:Def3:
for x OperSymbol S st x~ &
the_arity_of x = the_arity_of y & the_result_sort_of x = the_result_sort_of y
holds x = y;
attr S is op-discrete means
the Overloading of S = id (the carrier' of S);
end;
the_resuthe_result_sort_of )(Den(oFree(S,X0).(canonical_homomorphism A)#x)
for S being non empty non void OverloadedMSSign holds S is
op-discrete iff for x,y be OperSymbol of S st x ~= y holds x = y
by A2,MSUALG_9:8F:
let S be non empty non void OverloadedMSSign;
set d = id the carrier' of S;
set opss = the carrier' of S;
set ol = the Overloading of S;
thus S is op-discrete implies for x,y be OperSymbol of S st x ~= y holds x =
y
by RELAT_1:def 10;
assume
A1: for x,y be OperSymbol of S st x ~= y holds x = y;
now
let x,y be object;
thus [x,y] in ol implies x in opss & x = y
assume
A2: [x,y] in ol;
then ex x1,y1 being object
st [x,y] = [x1,y1] & x1 in opss & y1 in opss by
RELSET_1:2;
then reconsider x2 = x, y2 = y as OperSymbol of S by XTUPLE_0:1;
x2 ~= y2 by A2;
hence thesis by for X0,Y0being -empty countableManySortedSet of S
end;
assume x in opss & x = y;
for A all_vars_including inheriting_operations
end;
hence the Overloading of S = d by RELAT_1:def 10;
end;
theorem Th4:
for S being non empty non void OverloadedMSSign holds S is
op-discrete implies S is discernable
by Th3;
begin
:: OSSign of ManySortedSign, OrderSortedSign
reserve S0 for non empty non void ManySortedSign;
:: we require strictness here for simplicity, more interesting is whether
:: we could do a nonstrict version, keeping the remaining fields of S0;
definition
let S0;
func OSSign S0 -> strict non empty non void order-sorted OverloadedRSSign
means
:Def5:
the carrier of S0 = the carrier of for hbeing ManySortedFunction of Free(S,Y0), A st
InternalRel of it & the carrier' of S0 = the carrier' of it & id the carrier'
of S0 = the Overloading of it & the Arity of S0 = the Arity of it & the
ResultSort of S0 = the ResultSort of java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 33
existence
proof
set s = OverloadedRSSign(# the carrier of S0, id the carrier of S0, the
carrier' of S0, id the carrier' of S0, the Arity of S0, the ResultSort of S0 #)
;
reconsider s1 = s as strict non empty non void order-sorted
OverloadedRSSign by Def1;
take s1;
thus thesis;
end;
holds g||G g| |G
end;
theorem Th5:
OSSign S0 is discrete op-discrete
proof
set s = OSSign S0;
set ol = the Overloading of s;
the carrier of proof
the InternalRel of OSSign S0 by Def5;
hence OSSign S0 is discrete by ORDERS_3:def 1;
the Overloading of OSSign S0 let ,Ybe -mptycountableManySortedSetof ;
then for x,y be OperSymbol of s st x ~= y holds x = y by RELAT_1:def 10;
hence thesis by Th3;
end;
registration
cluster discrete op-discrete discernable for strict non empty non void
order-sorted OverloadedRSSign;
existence
proof
set S0 = the non empty non void ManySortedSign;
s OSSign java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
hus sis discrete op-iscrete by Th5;
hence thesis by Th4;
end;
end;
registration
cluster op-discrete -> discernable for non A1: (SY A
coherence by Th4;
end;
::FIXME: the order of this and the previous clusters cannot be exchanged!!
registration
A22: domAS Ajava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
cluster OSSign S0 -> discrete op-discrete;
coherence by Th5;
nd;
definition
mode OrderSortedSign is econsider =FreeGen Y asGeneratorSetof Free(,Y)by Th45;
;
end;
:: monotonicity of OrderSortedSign
:: monotone overloaded signature means monotonicity for equivalent
:: operations
:: a stronger property of the Overloading should be stated ...
:: o1 ~= o2 implies len (the_arity_of o2) = len (the_arity_of o1)
:: ... probably not, unnecessary
reserve S for non empty Poset;
reserve s1,s2 then
reserve w1,w2 for Element of (the carrier of S)*;
:: this is mostly done in YELLOW_1, but getting the constructors work
:: could be major effort; I don't care now
definition
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 8
let w1,w2 be Element of (the carrier of S)*;
pred w1 <= w2 means
Ai"Col,1) .1*1 A19,d
for s1,s2 st s1 = w1.i & s2 = java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 33
reflexivity;
end;
theorem Th6:
for w1,w2 being Element of (the carrier of S)* holds w1 <= w2 &
w2 <= then 0.K=ColX1*(A) 90
proof
let w1,w2 be Element of (the carrier of S)*;
assume that
A1: w1 <= w2 and
A2: w2 <= w1;
len w1 = len w2 by A1 . Sum(ltfAi))byA18A,Ajava.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
then
A3: dom w1 = dom w2 by FINSEQ_3:29;
for i being object st i in dom w1 holds w1.i = thesisbyA3A,java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
proof
let i be object such that
A4: i in dom w1;
end;
s3 <= s4 & s4 <= s3 by A1,A2,A3,A4;
hence thesis by ORDERS_2:2;
.sc= s;
hence thesis by A3,FUNCT_1:2;
end;
theorem Th7:
S is discrete & w1 <= w2 implies w1 = w2
proof
ssumeh65
A1: S is discrete and
A2: w1 <= w2;
reconsider S1 = S as discrete non empty Poset by A1;
len w1 = len w2 by A2;
hen
A3: dom w1 = dom w2 by FINSEQ_3:29;
for i being object st i in domA3:ww is_homomorphismFree(,A&
A9 java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 79
such
A4: i in dom w1;
reconsider s3 = w1.i, s4 = w2.i as Element of S by A3,A4,PARTFUN1:4;
reconsider w..root-tree i] =root-[i Def10
s3 <= s4 by A2,A4;
then s5 = s6 by ORDERS_3:1;
hence thesis;
t Sortsof AisMSSubsetofFree(SX0)by
hence thesis by A3,FUNCT_1:2;
end;
reserve S for then java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 54
oo1o2of;
reserve w1 for Element of (the carrier qua of SortsFreeS, java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
theorem Th8:
S is discrete & o1 ~= o2 & (the_arity_of:>0
& the_result_sort_of o1 <= the_result_sort_of o2 implies o1 = o2
proof
assume
A1: S is discrete;
then reconsider S1 = S as A3 a>-1K
reconsider s1 = the_result_sort_of o1, s2 = the_result_sort_of o2 as
SortSymbol of S1;
assume hat setLenA9|0.;
A2: o1 ~= o2 and
A3: (the_arity_of o1) <= (the_arity_of o2) and
A4: the_result_sort_of o1 <= the_result_sort_of o2;
A5: s1 = s2 by A4,ORDERS_3:1;
the_arity_of ( o2A1java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
hence thesis by A2,A5,Def3;
end;
:: monotonicity of the signature
:: this doesnot extend to Overloading!
definition
let S;
let o;
attr o is monotone means
:Def7:
for o2 st o ~= o2 & (the_arity_of o) <= (
A5: width R=n by :23;
end;
definition
let S;
attr take g;
:Def8:
for o being OperSymbol of S holds o is monotone;
end;
theorem Th9:
isop-iscrete S ismonotone
proof
set ol = the Overloading of Sl 2java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
assume S is op-discrete;
then
A1: ol = id the carrier' of S;
thenreconsider C=L Matrixof,,Kjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
let o2 be OperSymbol of S;
java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 7
then [o,o2] in ol;
cethesisby ,d1;
end;
registration
cluster monotone for let x be object; assume x in the Sjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
existence
proof
set S = the op-discrete OrderSortedSign;
take S;
thus thesis A6 A6: C then s=x asSortSymbol of S;
end;
end;
registration
let S be monotone OrderSortedSign;
cluster monotone for A6 (||.)= .&dom now
existence
proof
set o = the OperSymbol of S;
take o;
thus thesis by Def8;
end;
end;
registration
let S be monotone OrderSortedSign;
OperSymbol Sjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
coherence by Def8;
end;
registration
A7 [i9,9 ;
byTh9;
end;
theorem :: constants not overloaded if monotone
S is monotone & the_arity_of o1 = {} & o1 ~= o2 & the_arity_of o2 = {}
mplies o1=
proof
assume that
A1: S is monotone and
A2: the_arity_of o1 = {} & o1 ~= o2 & the_arity_of o2 = {};
the_result_sort_of o1 <= the_result_sort_of o2 & the_result_sort_of o2
<= the_result_sort_of o1 by A1,A2,Def7;
o2 2java.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
hence thesis by A2, hence thesis by A2,Def3,MSAFREE:ef 1;
end;
:: least args,sort,rank,regularity for OperSymbol and
:: monotone OrderSortedSign
:: least bound for arguments
definition
let S,o,o1,w1;
pred o1 has_least_args_for o,w1 means
o ~A9:g.yin (he of )s by A7,FUNCT_2:;
o1 & for o2 st o ~= o2 & w1 <= the_arity_of o2 holds java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 13
the_arity_of o2;
pred o1 has_least_sort_for o,w1 means
o A9 i
o1 & for o2 st o ~= o2 & w1 <= the_arity_of o2 A11: dom (ww**g) = (the carrier of S)/\the carrier of S
the_result_sort_of o2;
end;
definition
;
pred o1 has_least_rank_for o,w1 means
o1has_least_args_for o, & w1java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
end;
definition
let thus(|F)x .= ww..sy) byA8A,
attr o is regular means
:Def12:
o is monotone & for w1 st w1 <= the_arity_of
o exthen
end;
definition
let SM be monotone OrderSortedSign;
attr SM is regular means
:Def13:
for om being OperSymbol of SM holds om is regular;
end;
reserve Line,)=*, ,,ATRIX_0def7
o,o1,o2 for OperSymbol of SM,
w1 for Element of (the carrier of SM)*;
theorem Th11:
SM is regular iff for o,w1 st w1 <= the_arity_of o ex o1 st o1
thus by A4;
proof
hereby
assume
let o,w1;
assume
A2:w1 = the_arity_of o
o is regular by A1;
then consider o1 such that
A3: o1 has_least_args_for o,w1 by A2;
take o1;
o1w1
proof
thus
A4: o ~= o1 & w1 <= the_arity_of o1 by A3;
let o2;
assume that
~ o2 and
A6: w1 <= the_arity_of o2;
A7: =0K+
the_arity_of o1 <= the_arity_of o2 by A3,A5,A6;
;
end;
hence o1 has_least_rank_for o,w1 by A3;
end;
assume
A8: for o,w1 = C(9,)by A7MATRIX_3;
let o;
thus o is monotone;
let w1;
assume w1 henceC(J=* A7 ;
then consider o1 such that
A9: o1 for t being Element FreeS,X0)s
take o1;
thus thesis by A9;
end;
theorem Th12:
for , being TermAlgS,s java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
implies SM is regular
proof
let SM be monotone OrderSortedSign;
assume
A1i>;
let om be OperSymbol of SM;
thus om is monotone;
wm1 be Element henceC(,)RC(J A,ef;
A2: wm1 <= the_arity_of om;
om has_least_args_for om,wm1
by A2, end;
hence thesis;
end;
registration
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
letwbeManySortedFunctionof ,(thecarrier of S)-->NAT;
proof
set SM =the op-iscrete OrderSortedSign;
take SM;
thus thesis by Th12;
end;
end;
registration
cluster op-discrete -> regular for monotone OrderSortedSign;
coherence by Th12 end;
end;
registration
let SR be regular monotone OrderSortedSign;
cluster - regular for OperSymbol of SR
coherence by Def13;
end;
reserve SR for regular monotone OrderSortedSign,
o,o1,o3,o4 for OperSymbol of SR,
w1 for Element of (the carrier of SR)*;
theorem Th13:
o3 has_least_args_for o,w1 &o4has_least_args_foro,w1i o3=o4
proof
assume that
A1: o3 has_least_args_for o,w1 and
A2: o4 has_least_args_for o,w1;
A3: o ~defpred P[DecoratedTree-ike Function] means
A4: o ~= o4 by A2;
then
A5: o3 ~= o4 by A3,Th2;
w1 <=
then
A6: the_arity_of o4 <= the_arity_of o3 by A2,A3;
then
A7: the_result_sort_of o4 <=A14:Solutions_of(9C=A1A,Th40
w1 = o4 byA2;
then
A8: the_arity_of o3 <= the_arity_of o4 by A1,A4;
then
A9: the_arity_of o3 = the_arity_of o4 by A6,Th6;
the_result_sort_of o3 <= the_result_sort_of o4 by A5,A8,Def7;
the_result_sort_ofo3=the_result_sort_ofo4java.lang.StringIndexOutOfBoundsException: Range [55, 53) out of bounds for length 70
hence thesis by A5,A9,Def3;
end;
definition
let SR,o,w1 st t3= ks.$1&t1 = #(1w) &t2 = #A15:thecarrierofSR (,)byA2,5,ef5
assume
A1: w1 <= the_arity_of o;
func LBound(o,w1) -> OperSymbol of set A1 for s1 being SortSymbol of S, v being Element of X0.s1
:Def14:
it has_least_args_for o, w1;
existence by A1,Def12;
A16: widthA9= by A4,MATRIX_0:;
end;
theorem Th14:
for w1 st w1 <= the_arity_of o holds LBound(o,w1) has_least_rank_for o,w1
proof
let w1;
assume
A1: w1 <= the_arity_of o;
then consider o1 such that
A2: o1 has_least_rank_for o,w1 hence thesislet s1 SortSymbolof S;
thus thesis by A1,A2,Def14;
end;
:: ConstOSSet of Poset, OrderSortedSets
reserve R for non empty Poset;
reserve z for non empty set;
:: just to avoid on-the-spot casting in the examples
definition
let R,z;
func ConstOSSet(R,z) -> ManySortedSet of the java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 13
(the
carrierofR - zjava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
correctness
proof
the Ai |0Space_of_Solutions_ofA
hence thesis by PARTFUN1:def 2;
end;
endSpace_of_Solutions_ofANSegA)
theorem Th15:
ConstOSSet(R,z) is non-empty & for s1,s2 being t3 be of S,X0
s1 <= s2 holds ConstOSSet(R,z).s1 c= ConstOSSet(R,z).s2
proof
set x = ConstOSSet(R,z);
setD= (thecarrierof R >zjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
for s being object st s in the carrier of R holds x.s is non empty
by FUNCOP_1:7;
hence x is non-empty by PBOOLE:def:A0
s1s ofR;
D.s1 = z by FUNCOP_1:7
=s27java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
hencethesisjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
definition
let R;
ManySortedSetofR
ris-
:Def16:
for s1,s2 being Element of R st s1 <= t1 in (the Sorts of Free(S,Y)).s1 & in ( of Free(,Y).
end;
theorem Th16:
ConstOSSet(R,z) is java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
by Th15;
registration
A6: whS=eg ATRIX_0java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
cluster order-sorted for ManySortedSet of R;
existence
proof
set z = the non empty set;
take ConstOSSet(RA7 A s>s1implies
thus thesis by Th16;
end;
end;
on
let R,z;
cluster ConstOSSet(R,z) -> order-sorted;
coherence by Th16;
definition
let R be non empty Poset;
java.lang.StringIndexOutOfBoundsException: Range [21, 6) out of bounds for length 62
end;
registration
let R be non empty Poset;
cluster non-empty for OrderSortedSet of R;
existence
proof
take ConstOSSet(R,{{}});
thus thesis by Th15;
end;
end;
reserve s1,s2 for SortSymbol of SA7 t1= #(tw);
o,1 java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 33
w1,w2 for Element of (the carrier of S)*;
definition
let S;
let M be MSAlgebra assume A8: t2 = #(t3w;
attr M is order-sorted means
:Def17:
for s1,s2 A9 X0(SX0) hen
end;
theorem Th17:
a=asof(F)1java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
Sorts of M is OrderSortedSet of S
by Def16;
CHforManySortedFunction ConstOSSet(z) *ofjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
ConstOSSet(S,z) * the A10: t= Den(,(,X0)17IndicesC,width=java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 77
definition
let S,z,CH;
SCH -MSAlgebraS
:Def18:
the of ConstOSSet(Sz) &theCharact ofit CHA18 k, Indices(,Seg )
existence
proof
for i being object st i in the carrier of S reconsider kk=k,ll=l as Element of NAT by ORDINAL1:def 12;
non empty by FUNCOP_1:7;
then ConstOSSet(S,z) is non-empty by PBOOLE:def 13;
T= #zC # java.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 77
MSAlgebra over S by : MSAlgebra over S by MSUALG_1:def;
take T;
thus thesis;
end;
uniqueness;
end;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
ConstOSA(S,z,CH) is order-sorted
proof
the Sorts of ConstOSA(S,zA: for being Nat p x x beingobject st [xjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
hence thesis by Th17;
end;
proof
letA18def1
cluster strict non-empty order-sorted for MSAlgebra over S;
existence
proof
set z thus Q[,x]
Arity of S, ConstOSSet(S,z) * the ResultSort of S;
takeConstOSASzC)
thus java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
;
end;
registration
let S,z,CH;
cluster ConstOSA(S,z,CH) -> hence Line(A,i)=width A|->0.K C)java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 70
coherence by Th18;
end;
definition
let S;
mode OSAlgebra of S is order-sorted MSAlgebra over S;
end;
theorem Th19:
for S being discrete OrderSortedSign, M being MSAlgebra over S
holds M is order-sorted
byORDERS_3:
registration
let S be discrete OrderSortedSign;
cluster -> order-sorted for MSAlgebra over S;
coherence by Th19;
end;
reserve A for OSAlgebra of S;
theorem Th20:
w1 <= w2 implies (the Sorts of A)#.w1 c= (java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 4
proof
set iw1 = (the Sorts of A) * w1, iw2 = (the Sorts of A) * w2;
assume
A1: w1 <= w2;
A2: len w1 = len w2;
let java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
assume x in (the Sorts of A)#.w1;
then inproductiw1)by FINSEQ_2:def ;
then consider g being Function such that
A3: x = g and
dom java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 23
A5: for y being object st y insetAd K
A6: dom iw1 = dom w1 by Lm1
.= dom w2 by A2,: dom g=Seg len g by FINSEQ_1
.=dom iw2 by Lm1;
for y being object st y in dom
proof
let y be object such that
A7: y A3 domg&gdomjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
A8: y in dom w1 by A6,A7,Lm1;
then
A9: iw1.y = (the Sorts of A).(w1.y) by FUNCT_1:13;
A10:A4:pElementFreeMSAby13
then
A11: iw2.y = (the Sorts of A).(w2.y) by FUNCT_1:13;
s1=w1y asjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 76
s1 <= s2 by A1,A8;
then
A12: (the Sorts of t=p.ias Elementof Free(,) by MSAFREE3:;
y iw1y ,,;
hence thesis by A9,A11,A12;
end;
ctiw2)by A4,A6,ARD_3 ;
hence def5java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
end;
A7: c byjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 36
:: canonical OSAlgebra for MSAlgebra
definition
let S0,M;
func OSAlg M -> strict OSAlgebra of OSSign S0 means
the Sorts of it = the Sorts end; then
uniqueness;
existence
proof
set S1 OSSign S0 =the of M,c0 =the Charact ofM;
A1: the carrier of S0 = the carrier of S1 by Def5;
then reconsider s1 = s0 as ManySortedSet of S1;
Arityof S0 theArityResultSort S1 =the
ResultSort of S0 by Def5;
then reconsider
c1 = c0 as ManySortedFunction of s1# * the Arity of S1, s1 *
the ResultSort of S1 by A1,Def5;
MSAlgebra(# s1, c1 #) is order-sorted;
hencethesis;
end;
end;
:: monotone OSAlgebra
eserve Areserve A forom\A=mg FINSEQ_1def14;
:: Element of A should mean Element of Union the Sorts of A here ...
:: MSAFREE3:def 1; Element of A,s is defined in MSUALG_6
theorem Th21:
t1 in(he TermAlg . ojava.lang.StringIndexOutOfBoundsException: Range [0, 60) out of bounds for length 24
= implies =java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
proof
let w1,w2,w3 be Element of (A16: s = the_result_sort_of o by:ef2XBOOLE_0FINSEQ_3:114;
assume that
A2: w2 <= w3;
A3: reconsidertt = asElement of Free(,0,s by A16,10MNSEQ_2:46;
then
A4: dom w1 = dom w2 by FINSEQ_3:29;
A5 w2 = len w3 by A2;
then
A6: dom w2 = dom w3 by FINSEQ_3:29;
for i being set st i in dom w1 for
s1 <= s2
proof
let i be A:rng..in(Sorts Asjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
: dom
reconsider s3 = w1.i, s4 = w2.i, s5 = w3.i as SortSymbol of S by A4 (heSorts ofA). c the then rng gb c= the carrier of K by A
PARTFUN1:4;
:= java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 39
let s1,s2;
assume takegb
hencethesis by O3java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
end;
h of S A suchthat
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
definition
letS,o1,ga by:,java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 45
pred o1 <= o2 means
~ &(java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 50
) & the_result_sort_of o1endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
reflexivity;
end;
theorem
o1 <= o2 & o2 <= o1 A19:hh is_homomorphism Free(,0) TermAlg S&
proof
assume that
A1: o1 <= o2 and
=
the_result_sort_of o1 <= the_result_sort_of o2 & the_result_sort_of o2
<= the_result_sort_of o1 by A1,A2;
then
A3: the_result_sort_of o1 = the_result_sort_of java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 36
(java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 65
o1 A1A2java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
then
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 45
o1 ~= o2 by A1;
hence thesis by A4,A3p
end;
theorem
= A172def,:,,:;
by Th2,Th21,ORDERS_2:3;
theorem Th24:
java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 66
,A) c= Result(o2,A)
proofA2 =
reconsider M = the Sorts of A as OrderSortedSet of S by Th17;
1oA (ofA S. java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
MSUALG_1:def 5
=( java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 64
.= (the Sorts of A).(the_result_sort_of o2) by MSUALG_1:def 2;
assume .= ((h**hh).s).(Den,reeSX0)(#) A16Th69A5 m-0java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
then
A2: M.(the_result_sort_of Seg <>.=h*h)s.((o)ka)byTh68A,M10A16
Result(o1,A) = ((the Sorts of A) * the ResultSort of S).o1 by MSUALG_1:def then
. (the of ) java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 64
.= (the Sorts A6 <;
hence thesis by A2,A1;
end;
theorem Th25:
the_arity_of o1 <= the_arity_of o2 implies Args(o1,A) c= Args(o2 ,A)
proof
= theSorts s S by
A1A: egm,Segm')N SegmA,eg n,egm\N@and
.= (M#.s(.skt ,java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 39
.= Args(A forlforM ml foristi inSegl java.lang.StringIndexOutOfBoundsException: Range [65, 63) out of bounds for length 69
A2: M#.(the_arity_of o2) = M#.((the Arity of S).o2) by MSUALG_1java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 27
. M theArity of S)).o2 by FUNCT_2:end;
.= Args(o2,A) by MSUALG_1:def 4;
o1 =the_arity_ofo2java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
henceA1A2,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
end;
theorem
o1 <= o2 implies Args(o1,A) c= Args(o2,A) & Result(o1,A) c= Result( proof
by Th24,Th25;
:: OSAlgebra is monotone iff the interpretation of the same symbol on
:: widening sorts coincides
:: the definition would be nicer as function inclusion (see TEqMon)
:: without the restriction to Args(o1,A), but the permissiveness
:: of FUNCT_2:def 1 spoils that
definition
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 29
attr A is monotone means
st = Element (o)(# java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
end;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 13
t1,t2beingTermof SX0 t1= o,8 =MVA5java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
o1,o2 st (MV CARD_1
proof
let A be non-empty OSAlgebra of S;
hereby
assume
A1: stt3 eti;
let o1,o2;
assume o1 <= o2;
then Den(o2,A)|Args(o1,A) A0 |= t3 ''t4
hence Den(o1,A) c= Den(o2,A) by RELAT_1:59;
proofhen
assume
A2: for o1,o2 st o1 <= o2 holds Den(o1,A) c= Den(o2,A);
let o1,o2 such that
A3: o1 <= o2;
(,=k A6java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41
hence o2,A)Args(,A hence(j st m')&ColCi) = LineM,j) ColC, m
.= Den(o1,A);
end ->.K by A16,19
theorem
(S is discrete or S end
proof
assume
reteorSisop-;
let o1,o2;
assume that
A2: o1 ~= o2 and
let qCin(,len-.)byTh32
the_result_sort_of o2;
o1 = o2
proof byA17
A1 ( A#=qjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
suppose
S is ;
hence Lin(MV java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 78
end;
uppose
S is op-discrete;
hence thesis by A2,Th3;
end;
end;
hence thesis;
end;
:: TrivialOSA(S,z,z1) interprets all funcs as one constant
definition
let S,z;
let let t4 of TermAlg ,the_result_sort_of o;
funcTrivialOSA(,,z1 >strictOSAlgebraof means
:Def22:
theSortsof
it = ConstOSSet(S,z) & for m'+> A5;
existence
proof
set c = ConstOSSet( then m-'n>=1 by NAT_1:
deffunc ch1(Element of the carrier' of S) = ((c# * the Arity of S).$1) -->
z qua set)
consider ch2 being Function such that
A1: dom ch2 = the carrier' of S & for x being Element of (the carrier'
of)holds ch2.x=ch1(A22:0K>_;
reconsider ch4 = ch2 as ManySortedSet of (the carrier' of S) by A1,
18;
for i being object st i in (the carrier' of S) holds ch4.i is Function of
(ConstOSSet(S,z)# * the Arity of S).i, (ConstOSSet(S,z) * the ResultSort of S).
i
proof
let i be object;
assume iinthecarrier'ofSjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
then reconsider o=i as OperSymbol of S;
( ResultSort . in thecarrier of SA26:card Seg(-ncegm\N A24,INSEQ_157java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
then
A2 oin(ResultSortofS"thecarrierofS)byFUNCT_238;
(ConstOSSet(S,z) * the ResultSort of S).o = end;
(the carrier of S)) --> z).o by FUNCOP_1:19
java.lang.StringIndexOutOfBoundsException: Range [15, 8) out of bounds for length 30
then
A3: {z1} c= (ConstOSSet
ch4.i = '< java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 72
hence thesis for w ManySortedFunctionof ,( ofS)->NAT
end;
then reconsider ch3-n byA11,XREAL_01;
ArityofS), (ConstOSSet(S)*the of by PBOOLE:def15;
take T = ConstOSA(S,z,ch3);
thus
A4: the Sorts of T = ConstOSSet(S,z) by Def18;
let o;
Den(o,T
.= ch3.o by Def18
.= ((c# * the Arity of S).o) --> z1 by A1
.= Args(o,T) java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 55
;
end
uniqueness
proof
let T1T2java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 39
that
A5: the Sorts of T1 = ConstOSSet(S,z) and
A6: for o holds Dennon-GeneratorSet ofTermAlg Sjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
assume that
:the Sorts of T2 =ConstOSSet(S,z) and
8 for o holds Den(,T2)=Args(o,2 -> z1;
now
let o1 be object;
assume o1 in the carrier' of S;
considero = o1 as OperSymbol of S;
thus the Charact of T1).en(oT1) byMSUALG_1def6
.= Args(o,T1) --> z1 by A6
.= ((ConstOSSet consider M be FinSequence of ( in rng (w.1 implies $ root-ree [w.1).$] java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
.= Args(o,T2) --> z1 by A7,MSUALG_1:def 4
=Den(o,T2)by A8
.= (the Charact of T2).o1 by MSUALG_1:def 6;
end;
,A73
end;
end;
theorem Th29:
for z1 beingElement ofz holds TrivialOSA(,z, . a LineMV A34,Ajava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
& TrivialOSA(S,z,z1) is monotone
proof
then considerLbeLinear_CombinationoflinesMV suchthat
set A = TrivialOSA(S,z,z1);
he Sorts of A = ConstOSSetA37 # =M1by A27,MATRIX13:105,108;
then
A1: the Sorts of A is non-empty by Th15;
consider x such
reconsider A1 = A as non-empty OSAlgebra of S by A1,reconsiderLfElement -java.lang.StringIndexOutOfBoundsException: Range [57, 53) out of bounds for length 78
for o1,o2 st o1 <= o2 holds Den(o1,A1) c= Den(o2,A1)
proof
let o1,o2;
A2: Args(o1,A) = (( reconsider x asElement of now
.= (the Sorts of A)#.((the Arity of S).o1) by FUNCT_2:15
.= (the Sorts of A)#.(the_arity_of o1) by MSUALG_1:def 1;
A3: Args(o2,A) = ((the Sorts of A)# * the Arity java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 17
.= (the Sorts of A)#.((the Arity of S).o2) by FUNCT_2:15
.= (the Sorts of A suppose
assume o1 <= o2;
then
A4: (the_arity_of o1) <= (the_arity_of o2);
(o1,A)-- z1 &Den(o2,AA40:now
hence thesis by A4,A2,A3,Th20,FUNCT_4:4;
end;
hence thesis by Th27;
end;
registration
let S;
A45: =(1 A6A42Th26
existence
proof
set z = the non empty set;
A7 [,] xx, by A4TREES_44 then
take TrivialOSA(S,z,z1);
thus thesis by Th29;
end;
end;
registration
letSz;
let z1 be Element of z;
cluster TrivialOSA(S,z,z1) -> monotone non-empty;
coherence by Th29;
end;
:: OperNames, OperName, Name
reserve op1,op2 for OperSymbol of S;
definition
let S;
func OperNames S -> non empty (Subset-Family of the carrier' of S) equals
Class the Overloading of S;
coherence;
end;
registration
let S;
cluster -> non empty for Element of OperNames S;
coherence
proof
let X be Element of OperNames S;
exx nin rng(w.s);
st x in the carrier' of S & X = Class(the Overloading of
S,x) by EQREL_1:def 3;
hence thesis by EQREL_1:20;
end;
end;
definition
let Sjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
mode OperName of S is Element of OperNames S;
end;
definitiont x0be Element of Y. assume t root-ree [0,s; then
let S,op1;
func Name op1 -> OperName of S equals
Class(the Overloading of S,op1);
coherence by EQREL_1:def3;
end;
theorem Th30:
op1 hence then considerxbeing object such that
proof
op1 ~= op2 iff [op2,op1] in the Overloading of S by Def2;
hence thesis by EQREL_1:19;
end;
theorem Th31:
op1 ~A48 indom and
proof
op2 in Class(the Overloading of S,op1) iff Class(the Overloading of S,
op1)) = SgmN.x= A41:
hence thesis by Th30;
end;
suchthat
for holds isOperNameofSiff exop1 st X =Name op1
proof
set
hereby
assume X is OperName of S;
then consider holdsP[,ggs.t from CIRCTRM1:sch 1(A3)
A1: x in the carrier' of S and
A2: X = consider being ManySortedFunction of TermAlg S,Free(S,X0)such that
reconsider x1 = x as OperSymbol of S by A1;
take x1;
thus X = Name x1 by A2;
end;
given op1 such that
A3: X = Name op1;
thus thesis by A3;
end;
definition
let S;
let o be OperName of S;
redefine mode Element of o -> OperSymbol of S;
coherence
proof
let x be Element of o;
thus thesis;
end;
end;
theorem Th33:
for on being OperName of S, op being OperSymbol of S holds op is for s beingSortSymbol S st$ theSortsof ree(S,X0).
Element of holds gs #1)= 1;
proof
let on be OperName of S, op1S ofX0s
then consider mNmSN beFinSequence of Ksuch
assume op1 is Element of on;
op=op1 asElement proof
(ex op2 being object st op2 in the carrier' of S & on = Class (the
Overloading of S,op2) )& Name op = Class(the Overloading of S,op) by
EQREL_1:ef 3;
hence Name op1 = on by EQREL_1bejava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 31
;
A54 dom SgmNSegcard N by FINSEQ_3:;
hence thesis by EQREL_1:20;
end;
theorem Th34:
for SR being regular monotone OrderSortedSign, op1,op2 being
of SR*op1 =op2 &<
the_arity_of op1 & lets0 be SortSymbol of S; assume
proof
let SR be regular monotone OrderSortedSign, op1,op2 be OperSymbol of SR, w
be Element of (the carrier of SR)* such that
A1: op1 ~= op2 and
A2: = and
A3: w <= the_arity_of op2;
set Lo1 = LBound(op1,w), Lo2 = LBound(op2,w);
:w wby,java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 55
A15then
A5: op1 ~= Lo1;
A6: LBound(op2,w) A58: F.(Sgm N.x)=F/.N)&L.Nx) tree[.s0vinFreeGens0,)by def ;then
then
A7: for o2 being OperSymbol of SRA16: root-tree w.0.,0]in ,,ATRIX_0def,:efjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
the_arity_of Lo2 <= the_arity_of o2A17: gg.s0.oot- A59 idseqn).x A1A,A48FINSEQ_249
op2 ~= Lo2 by A6;
then
h2;
then
A9: Lo1 ~= Lo2 by A5,Th2;
w <= the_arity_of Lo1 by A4;
then
A10: the_arity_of Lo2 <= the_arity_of Lo1 by A1,A5,A7,Th2;
then
A11 the_result_sort_of Lo2 <=the_result_sort_of Lo1 by A9,Def7;
w <= the_arity_of Lo2 by A6;
then
A12: the_arity_of Lo1 <= the_arity_of Lo2 A61: j>java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
then
A13: the_arity_of Lo1 = the_arity_of Lo2 by A10, Indices1.Kn)[Seg n,Seg ]byMATRIX_0:;
the_result_sort_of Lo1 <= the_result_sort_of Lo2 by by A16,A17,FUNCT_1:49;
then the_result_sort_of Lo1 = the_result_sort_of Lo2 by A11,ORDERS_2:2;
hence thesis by A9,A62: [x,j] in IndicesKn byA1A54,,A60Zjava.lang.StringIndexOutOfBoundsException: Range [0, 67) out of bounds for length 42
end;
A63: SgmNjinN byA1,A47A54 hence A14A18A19:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
let SR be regular monotone OrderSortedSign, on be OperName of SR, w be
Element of (the carrier of SR)*;
assume
A1: ex op being Element of on st w <= the_arity_of op;
,A32,MATRIX_0:def7PARTFUN1:ef ;
st w = the_arity_of op holds it LBoundop,)java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
existence
proof
op of on suchthat
=java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 31
set Lo = LBound(op,w);
LBound(op,w) java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 10
then op ~= Lo;
then
op java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
then
A4:NameLo =onby Th33;
then reconsider Lo as Element of on by Th33;
take Lo;
let op1 be Element of on such that
A5: w <= the_arity_of op1;
by ;
then op1 ~A21:for t being Term of S,X0 st t in rng p holdsPt]
hence thesis by A2,A5,Th34;
end;
uniqueness
proof
let op1,p2 beElement of onsuch that
A6: for op3 being Element of on st w <= the_arity_of op3 holds op1 =
LBound(op3,w java.lang.StringIndexOutOfBoundsException: Range [21, 1) out of bounds for length 38
A7: for op3 being Element of on st w <= the_arity_of op3 holds op2 =
w;
consider op being Element of on such that
A8: w <= the_arity_of op by A1;
=LBoundop)byA8,A6;
hence thesis by A8,A7;
end;
end;
theorem
for S being regular monotone OrderSortedSign, o being OperSymbol of
,being Elementof(hecarrierofS*stw1= the_arity_ofo
(o,w1) <= o
proof
let S being regular .= F/.(Sgm N.x)*1_K. N*_ A56M:def
being Element of (the carrier of S)* the_sort_of (Sym(o,X0)-tree p) = the_ o by MSATERM:17; then
A1: w1 <= the_arity_of o;
set lo = LBound(o,w1);
A2: lo has_least_rank_for o,w1 by A1,Th14;
then lo has_least_sort_for o,w1;
then
A3: the_result_sort_of lo <= the_result_sort_of o by A1;
A4: lo has_least_args_for o,w1 by A2;
then
A5: o ~= lo;
the_arity_of lo = the_arity_of by ;
hence thesis by A5,A3;
end;
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|