Quelle compos_0.miz
Sprache: Mizar
|
|
:: Commands Structure
:: by Andrzej Trybulec
::
:: Received May 20, 2010
:: Copyright (c) 2010-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 SUBSET_1, XBOOLE_0, FUNCT_1, NUMBERS, CARD_3, ORDINAL1, CARD_1,
FUNCOP_1, RELAT_1, TARSKI, NAT_1, AMISTD_2, ZFMISC_1, AMI_1, ARYTM_3,
RECDEF_2, FINSEQ_1, UNIALG_1, VALUED_0, SCMPDS_5, FUNCT_4, COMPOS_0,
XTUPLE_0;
notations TARSKI, XBOOLE_0, ZFMISC_1, XTUPLE_0, XFAMILY, MCART_1, SUBSET_1,
SETFAM_1, ORDINAL1, PBOOLE, CARD_1, CARD_3, XXREAL_0, XCMPLX_0, RELAT_1,
FUNCT_1, PARTFUN1, NUMBERS, INT_1, NAT_1, NAT_D, FUNCOP_1, FUNCT_4,
FUNCT_7, FINSEQ_1, FUNCT_2, DOMAIN_1, VALUED_0, VALUED_1, RECDEF_2,
AFINSQ_1, STRUCT_0;
constructors SETFAM_1, DOMAIN_1, FUNCT_4, XXREAL_0, RELSET_1, FUNCT_7,
PRE_POLY, PBOOLE, AFINSQ_1, NAT_D, WELLORD2, STRUCT_0, XTUPLE_0, XFAMILY;
registrations XBOOLE_0, RELAT_1, FUNCT_1, ORDINAL1, XREAL_0, FINSEQ_1, CARD_3,
RELSET_1, PRE_POLY, AFINSQ_1, VALUED_1, NAT_1, CARD_1, VALUED_0,
XTUPLE_0;
requirements NUMERALS, BOOLE, SUBSET, ARITHM;
definitions TARSKI, FUNCT_1, XBOOLE_0, VALUED_0, CARD_3;
equalities ZFMISC_1, XTUPLE_0;
expansions TARSKI, FUNCT_1, XBOOLE_0;
theorems ZFMISC_1, TARSKI, CARD_3, FINSEQ_1, ENUMSET1, FUNCOP_1, FUNCT_1,
XBOOLE_0, XBOOLE_1, ORDINAL1, MCART_1, RECDEF_2, VALUED_1, FUNCT_7,
CHAIN_1, XTUPLE_0;
begin
reserve x,A for set,
i,j,k,m,n, l, l1, l2 for Nat;
reserve D for non empty set,
z for Nat;
definition
let S be set;
attr S is standard-ins means
:Def1:
ex X being non empty set
st S c= [: NAT,NAT*,X*:];
end;
registration
cluster {[ 0,{},{}]} -> standard-ins;
coherence
proof
take {{}};
A1: {{}} c= {{}}* by FINSEQ_1: 49,ZFMISC_1: 31;
A2: {{}} c= NAT* by FINSEQ_1: 49,ZFMISC_1: 31;
{[ 0,{},{}]} = [:{ 0},{{}},{{}}:] by MCART_1: 35;
hence {[ 0,{},{}]} c= [: NAT,NAT*,{{}}*:] by A1,A2,MCART_1: 73;
end;
cluster {[ 1,{},{}]} -> standard-ins;
coherence
proof
take {{}};
A3: {{}} c= {{}}* by FINSEQ_1: 49,ZFMISC_1: 31;
A4: {{}} c= NAT* by FINSEQ_1: 49,ZFMISC_1: 31;
{[ 1,{},{}]} = [:{ 1},{{}},{{}}:] by MCART_1: 35;
hence {[ 1,{},{}]} c= [: NAT,NAT*,{{}}*:] by A3,A4,MCART_1: 73;
end;
end;
notation
let x be object;
synonym InsCode x for x` 1_ 3;
synonym JumpPart x for x` 2_ 3;
synonym AddressPart x for x` 3_ 3;
end;
definition
let x be object;
redefine func InsCode x -> set;
coherence by TARSKI: 1;
redefine func JumpPart x -> set;
coherence by TARSKI: 1;
redefine func AddressPart x -> set;
coherence by TARSKI: 1;
end;
registration
cluster non empty standard-ins for set;
existence
proof
take {[ 0,{},{}]};
thus thesis;
end;
end;
registration
let S be non empty standard-ins set;
let I be Element of S;
cluster AddressPart I -> Function-like Relation-like for set;
coherence
proof
consider X being non empty set such that
A1: S c= [:NAT,NAT*,X*:] by Def1;
I in S;
then AddressPart I in X* by A1,RECDEF_2: 2;
hence thesis;
end;
cluster JumpPart I -> Function-like Relation-like for set;
coherence
proof
consider X being non empty set such that
A2: S c= [:NAT,NAT*,X*:] by Def1;
I in S;
then JumpPart I in NAT* by A2,RECDEF_2: 2;
hence thesis;
end;
end;
registration
let S be non empty standard-ins set;
let I be Element of S;
cluster AddressPart I -> FinSequence-like for Function;
coherence
proof
consider X being non empty set such that
A1: S c= [:NAT,NAT*,X*:] by Def1;
I in S;
then AddressPart I in X* by A1,RECDEF_2: 2;
hence thesis;
end;
cluster JumpPart I -> FinSequence-like for Function;
coherence
proof
consider X being non empty set such that
A2: S c= [:NAT,NAT*,X*:] by Def1;
I in S;
then JumpPart I in NAT* by A2,RECDEF_2: 2;
hence thesis;
end;
end;
registration
let S be non empty standard-ins set;
let x be Element of S;
cluster InsCode x -> natural;
coherence
proof
consider X being non empty set such that
A1: S c= [:NAT,NAT*,X*:] by Def1;
x in S;
then x` 1_ 3 in NAT by A1,RECDEF_2: 2;
hence thesis;
end;
end;
registration
cluster standard-ins -> Relation-like for set;
coherence;
end;
definition
let S be standard-ins set;
func InsCodes S -> set equals
proj1_3 S;
correctness;
end;
registration
let S be non empty standard-ins set;
cluster InsCodes S ->non empty;
coherence
proof
ex X being non empty set st S c= [: NAT,NAT*,X*:]
by Def1;
then reconsider II = dom S as Relation;
assume InsCodes S is empty;
then II = {};
hence contradiction;
end;
end;
definition
let S be non empty standard-ins set;
mode InsType of S is Element of InsCodes S;
end;
definition
let S be non empty standard-ins set;
let I be Element of S;
redefine func InsCode I -> InsType of S;
coherence
proof
consider X being non empty set such that
A1: S c= [:NAT,NAT*,X*:] by Def1;
I = [ I` 1_ 3, I` 2_ 3, I` 3_ 3 ] by A1,RECDEF_2: 3;
then [ I` 1_ 3, I` 2_ 3 ] in proj1 S by XTUPLE_0:def 12;
hence thesis by XTUPLE_0:def 12;
end;
end;
definition
let S be non empty standard-ins set;
let T be InsType of S;
func JumpParts T -> set equals
{ JumpPart I where I is Element of S: InsCode I = T };
coherence;
func AddressParts T -> set equals
{ AddressPart I where I is Element of S: InsCode I = T };
coherence;
end;
registration
let S be non empty standard-ins set;
let T be InsType of S;
cluster AddressParts T -> functional;
coherence
proof
let f be object;
assume f in AddressParts T;
then ex I being Element of S st f = AddressPart I & InsCode I = T;
hence thesis;
end;
cluster JumpParts T -> non empty functional;
coherence
proof
consider y being object such that
A1: [T,y] in proj1 S by XTUPLE_0:def 12;
consider x being object such that
A2: [[T,y],x] in S by A1,XTUPLE_0:def 12;
reconsider I = [T,y,x] as Element of S by A2;
InsCode I = T;
then JumpPart I in JumpParts T;
hence JumpParts T is non empty;
let f be object;
assume f in JumpParts T;
then ex I being Element of S st f = JumpPart I & InsCode I = T;
hence thesis;
end;
end;
definition
let S be non empty standard-ins set;
attr S is homogeneous means
:Def5:
for I, J being Element of S st InsCode I = InsCode J holds
dom JumpPart I = dom JumpPart J;
::$CD
attr S is J/A-independent means
:Def6:
for T being InsType of S,
f1,f2 being natural-valued Function st
f1 in JumpParts T & dom f1 = dom f2
for p being object st [T,f1,p] in S holds [T,f2,p] in S;
end;
Lm1:
for T being InsType of {[ 0,{},{}]}
holds JumpParts T = { 0}
proof
let T be InsType of {[ 0,{},{}]};
set A = { JumpPart I where I is Element of {[ 0,{},{}]}:
InsCode I = T };
{ 0} = A
proof
hereby
let a be object;
assume a in { 0};
then
A1: a = 0 by TARSKI:def 1;
A2: InsCodes {[ 0,{},{}]} = { 0} by MCART_1: 92;
A3: T = 0 by A2,TARSKI:def 1;
reconsider I = [ 0, 0, 0] as Element of {[ 0,{},{}]} by TARSKI:def 1;
A4: JumpPart I = 0;
InsCode I = 0;
hence a in A by A1,A3,A4;
end;
let a be object;
assume a in A;
then consider I being Element of {[ 0,{},{}]} such that
A5: a = JumpPart I & InsCode I = T;
I = [ 0,{},{}] by TARSKI:def 1;
then a = 0 by A5;
hence thesis by TARSKI:def 1;
end;
hence thesis;
end;
registration
cluster {[ 0,{},{}]} -> J/A-independent homogeneous;
coherence
proof
thus {[ 0,{},{}]} is J/A-independent
proof
;
f1,f2 be natural-valued Function such that
A1: f1 in JumpParts T and
A2: dom f1 = dom f2;
let p be object;
A3: f1 in { 0} by A1,Lm1;
f1 = 0 & f2 = 0 by A3,A2,CARD_3: 10;
hence thesis;
end;
for F being ordered E being ordered FieldExtension of F
I = [ 0,{},{}] & J = [ 0,{},{}] by TARSKI:def 1;
hence thesis;
end;
endjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
registration
cluster J/A-independent homogeneous for non empty standard-ins set;
proof
take S = {[0,{},{}]};
thus thesis;
end;
end;
registration
let S be homogeneous non empty standard
let T be InsType of S;
cluster JumpParts T -> with_common_domain;
coherence
proof
let f, g be Function;
assume that
A1: f in JumpParts T and
A2: g in JumpParts T;
A3: ex I being Element of S st f = JumpPart I & InsCode I = T by A1;
ex J let P be Orderof F Ordering of ;
hence thesis by A3,Def5;
end;
end;
registration
let S be non empty standard-ins set;
let I be Element of S;
cluster JumpPart I -> NAT-valued for Function;
coherence
proof let f be Function such that
A1: f = JumpPart I;
consider X being non emptyassume AS1:OextendsPjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
A2: S c= [:NAT,NAT*,X*:] by Def1;
I in S;
then JumpPart I in NAT* by A2,RECDEF_2:2;
hence thesis by A1,FINSEQ_1:def 11;assumeAS2:fisnontrivial;
end;
end;
Lm2:
:: Mozna by go po uogolnieniu przeniesc do CARD_3? !!!
for S be homogeneous non empty standard-ins set
beingElement ofS x st x in dom JumpPart I
holds (product" JumpParts InsCode I).x c= NAT
proof let S be homogeneous non empty standard-ins set;
let I being Element of S, x being set such java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 44
A1: x in dom JumpPart I;
JumpPart I in JumpParts InsCode I;
then dom product" JumpParts InsCode I = dom JumpPart I by CARD_3:100;
then
A2: (product" JumpParts InsCode I).x =
the set of all f.x where f the set of all f.x where f is
by A1,CARD_3:74;
let e be object;
assume e in (product" JumpParts InsCode I).x;
henconsider f being JumpParts InsCode that
A3: e = f.x by A2;
f in JumpParts InsCode I;
then ex J being Element of S st f = JumpPart J & InsCode J = InsCode I;
hence einNAT by A3,RDINAL1:ef 12java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
end;
Lm3:
for S be homogeneous non
st S is J/A-independent
for I being Element of S, x st x in dom JumpPart I
holds NAT c= (product" JumpParts InsCode I).x
proof let non empty standard-ns set such that
A1: S is J/A-independent;
consider D0 being non empty set such that
A2: S c= [:NAT,NAT*,D0*:] by Def1;
let I being Element of S, let I being Element of S, x=1;
A3: x in dom JumpPart I;
A4: JumpPart I in JumpParts InsCode I;
then
dom product" JumpParts InsCode I = dom JumpPart I by CARD_3:100;
then
A5: (product" JumpParts InsCode I).x =
the set of all f.x where f is Element of JumpParts InsCode I
by A3,CARD_3:74;
let e be object;
assume e in NAT;
then reconsider e as Element of NAT;
set g = (JumpPart I)+*(x,e) then A2:domf={}byFINSEQ_12,INSEQ_1:8java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
A6: dom g = dom JumpPart I by FUNCT_7:30;
I in S;
then [InsCode I,JumpPart I,AddressPart I] in S by A2,RECDEF_2:3;
then reconsider J = [InsCode I,g,AddressPart I] as Element of S
by A4,A1,A6;
J InsCode I
then JumpPart J in JumpParts InsCode I;
then reconsider g as Element of JumpParts InsCode I;
e = g.x by A3,FUNCT_7:31;
hence by A5;
end;
theorem Th1:
for S be standard-ins non empty set
for I,J being Element of S
st InsCode I = InsCode J & JumpPart I = JumpPart J &
AddressPart AddressPartjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
holds I = J
proof
let S be standard-ins non empty set;
of Sjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
consider X being non empty set such that
A1: S c= [:NAT,NAT*,X*:] by Def1;
A2: I in S;
J in S;
hence thesis by A2,A1,RECDEF_2:10;
end;
reserve y for set;
registration
f< 0. A1,A3RLVECT_14;
let T be InsType of S;
cluster JumpParts T -> product-like;
coherence
proof
consider y being object such that
A1: [T,y] in proj1 S by XTUPLE_0:def 12;
consider z being object such that
A2:[T,]z]in S by A1,TUPLE_0:ef12;
reconsider I = [T,y,z] as Element of S by A2;
A3: InsCode I = T;
A4: JumpPart I = y;
set f = (dom JumpPart I) --> NAT;
A5: dom hence Sum f O 0E A5,XBOOLE_0:ef5
for x being object holds x in JumpParts T iff
ex g being Function st x = g & dom g = dom f &
being sty in dom f g. in .java.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
proof let x be object;
thus x in JumpParts T implies
ex g beingIA:P[1]
for y being object st y in dom f holds g.y in f.y
proof assume x in JumpParts T;
then consider java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A6: x = JumpPart K and
A7: InsCode K = T;
take g JumpPart K;
thus x = g by A6;
thus
A8: dom g = dom f by A7,A3,Def5,A5;
let y be object;
assume
A9: y in dom f;
then . =NAT by A5,UNCOP_1:7;
hence g.y in f.y by A8,A9,FUNCT_1:102;
end;
given g java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 12
A10 = and
A11: dom g = dom f and
A12: for y being object st y in dom f holds g.y in f.y;
: dom g dom JumpPart I by,FUNCOP_113;
set J = [T,g,z];
A14: y in JumpParts T by A4,A3;
then
A15: dom g = Sum r in(E,) then
A16: for x being object st x in dom(product" JumpParts T)
holds g.x in (product"Sum h + r inO\ .E} + ObyH1Cjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
proof let x f = h + Sum r by ,:
assume
A17: x in dom(product" JumpParts T);
A18: NAT c= (product" JumpParts InsCode java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
f.x = NAT by A15,A13,A17,FUNCOP_1:7;
then g.x end;
hence g.x in (product" JumpParts T).x by A18;
end;
A19: g is natural-valued
end;
assume
A20: x in dom g;
then
A21: (product" JumpParts InsCode I).x c= NAT by Lm2,A13;
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
:P= &Ois;
end;
reconsider J as Element of S by A14,Def6,A19,A13;
A22: InsCode J = T;
g = J;
hence x in JumpParts T by A22,A10;
end;
then JumpParts T = product f by CARD_3:def 5;
rts ;
end;
end;
definition
let S be standard-ins set;
let I be Element nowlet be quadraticnon ofE;
attr I is ins-loc-free means
:Def7: JumpPart I is empty;
end;
registration
let S assume C0:Sum f=0. ;
let I be Element of S;
cluster JumpPart I -> natural-valued for Function;
coherence;
end;
definition
let S be homogeneous J/A-independent standard-ins non empty set;
et Element ofS;
let k be Nat;
func IncAddr(I,k) -> Element of S means
:Def8:
InsCode it = InsCode I &
AddressPart it = AddressPart then Sum f in O & not Sum f in {.} : ;
JumpPart it = k + JumpPart I;
existence
proof
consider D0 C0,ARSKI:ef 1;
A1: S c= [:NAT,NAT*,D0*:] by Def1;
set p = k + JumpPart I;
set f = product" JumpParts InsCode I; end;
A2: JumpPart I in JumpParts InsCode I;
A3: JumpParts InsCode I = product f by CARD_3:78;
A4: dom p = dom JumpPart I by VALUED_1:def 2;
then
A5: dom p = DOM JumpParts InsCode I by A2,hence for f being P-quadratic non empty FinSequencE
.= dom f by CARD_3:def 12;
for z being object st z in dom p holds p.z in f.z
proof
let z be object;
assume
A6: z in dom p;
reconsider z as Element of NAT by A6;
A7: f.z c= NAT by A6,A4,Lm2;
NAT c= f.z by A6,A4,Lm3;
then
A8: z= by A7;
reconsider il = (JumpPart I).z as Element of NAT by ORDINAL1:def 12;
p.z = k + il by A6,VALUED_1:def 2;
hence thesis by A8;
end;
then p inJumpParts I by A3,A5,CARD_3:9java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
then consider II being Element of S such that
A9: p = JumpPart II and
InsCode ibeElementof NAT;
A10: JumpPart I in JumpParts InsCode I;
[InsCode I, JumpPart I, AddressPart I] = I by A1,RECDEF_2:3;
then reconsider IT = [InsCode I, JumpPart II, AddressPart I]
as Element of S by A10,Def6,A4,A9;
ke;
thus InsCode IT = InsCode I;
thus AddressPart IT = AddressPart I;
thus JumpPart IT = k + JumpPart I by A9;
end
uniqueness by Th1;
end;
::$CT
theorem
for S ex non zeroElement ,
I being Element of S holds IncAddr(I, 0) = I
proof
let S be homogeneous J/A-independent standard-ins non empty set,
I be Element of S;
A1: InsCode IncAddr(Ijava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
A2: AddressPart IncAddr(I, 0) = AddressPart I by Def8;
t ncAddr0) = (0 qua Nat) JumpPart Iby Def8;
then
A4: dom JumpPart I = dom JumpPart IncAddr(I, 0) by VALUED_1:def 2;
for k indom holds
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
proof
let k be Natfor ,
assume k in dom JumpPart I;
hence (JumpPart IncAddr(I, 0)).k
=(0 qua Nat)+(umpPart I). ,Vdef 2
.= (JumpPart I).k;
end;
then JumpPart IncAddr(I, 0) = JumpPart I by A4;
hence thesis by A1,2,Th1;
end;
theorem Th3:
for S being homogeneous J/A-independent standard-ins non for a being Element of a^inF
I being Element of S st I is ins-loc-free holds IncAddr(I, k) = I
proof
let S be homogeneous J/A-independent standard-ins non empty set,
I be Element of S such that
A1: JumpPart I is empty;
ex g1,2 java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 51
A2: InsCode f = InsCode I by Def8;
A3: AddressPart f = AddressPart I by Def8;
:JumpPart f =k+JumpPart I byDef8java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
JumpPart f = JumpPart I by A1,A4;
hence thesis by A2,A3 ( being NATsti
end;
theorem
for S being homogeneous J/A-independent standard-ins non empty set,
I being Element of S
holds JumpParts ex b beingnonzeroElementof FAdj(F,},
proof
let S be homogeneous J/A-independent standard-ins non empty set,
I be Element of S;
J where is ofS
InsCode I = InsCode J }, B = { JumpPart J where J is Element of S:
InsCode IncAddr(I,k) = InsCode J };
A=B
proof
hereby
let a be object;
assume a in A;
then consider J being Element of S such that
A1: a = JumpPart J and
A2: InsCode J = InsCode I;
InsCode J = InsCode IncAddr(I,k) by A2(ibeing ofNATsti in domg2
hence a in B by A1;
end;
let ;
assume a in B;
then consider J being Element of S such that
A3: a = JumpPart J and
A4: InsCode J = InsCode IncAddr(I,k);
InsCode J = InsCode I by A4,Def8;
hence thesis by A3;
end;
hence thesis;
end;
theorem Th5:
for S being homogeneous J/A-independent standard-ins non empty set,
I, J being Element oflet F be ordered Field FieldExtension F;
ex k being Nat st IncAddr(I,k) = IncAddr(J,k) holds I = J
proof
Sbe homogeneous J/-ndependent standard-ns non empty java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
I, J be Element of S;
given k being Nat such that
A1: IncAddr(I,k) = IncAddr(J,let be P-uadratic non empty FinSequence ofF,a};
A2: InsCode I = InsCode IncAddr(I,k) by Def8
.= set K = FAdj(F,{a});
A3: AddressPart I = AddressPart IncAddr(I,k) by Def8
.= AddressPart J by A1,Def8;
A4: JumpPart IncAddr(I,k) = k + JumpPart I by Def8;
then
A5java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A6: JumpPart IncAddr(J,k) = k + JumpPart J by Def8;
then
A7:dom JumpPartJ = dom JumpPart IncAddr(,k) by VALUED_1:def 2;
A8: being P-uadratic nonempty (F,{a})
for x being object st x in dom JumpPart I holds
(umpPart I)x =(umpPart J)java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
proof
let x be object g1,2 being nonempty FinSequence of FAdj(F,{}
assume
A9: x in dom JumpPart I;
A10: (JumpPart IncAddr(I,k)).x = stSum =Sum g1 +@FAdj(F,a}),)*( ''Sum g2)&
by A4,A5,A9,VALUED_1:def 2;
A11: (JumpPart IncAddr(J,k)).x = k + (JumpPart J).x
A6,,7,:ef 2;
thus thesis by A1,A10,A11;
end;
then JumpPart I = JumpPart J by A8;
,3,h1java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
end;
theorem
java.lang.StringIndexOutOfBoundsException: Range [25, 5) out of bounds for length 69
I being Element of S
holds IncAddr(IncAddr(I,k),m) = st b in P &c1in &c2 F &
proof
let S be homogeneous J/A-independent standard-ins non empty set,
I be g1i b *(1^+c2^ *@FAdjF{}a^) java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
A1: InsCode IncAddr(IncAddr(I,k),m) = InsCode IncAddr(I,k) by Def8
.= InsCode IncAddr(I,k+m) by Def8;
A2: AddressPart IncAddr(IncAddr(I,k),m) = AddressPart IncAddr(I,k) by Def8
. AddressPart Iby
.= AddressPart IncAddr(I,k+m) by Def8;
AddrIncAddr(,)m =m + JumpPart IncAddr(,)byDef8;
A4: JumpPart IncAddr(I,k) = k + JumpPart I by Def8;
A5: JumpPart IncAddr(I,k+m) = k+m + JumpPart I by Def8;
then
:dom IncAddr(,+) =dom by: java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
JumpPart IncAddr(,)by ,ALUED_1:ef2
.= dom JumpPart IncAddr(IncAddr(I,k),m) by A3,VALUED_1:def 2;
for n being object st n in dom JumpPart IncAddr(IncAddr(I,k),m) 1in dom TARSKIdef1then
(JumpPart IncAddr(IncAddr(I,k),m)).n = (JumpPart IncAddr(I, consider d being f,b being Element of K such that
proof
let n be object;
assume
A7: n in JumpPart IncAddr(ncAddr(,)m;
then
A8: n in dom JumpPart IncAddr(I,k) by A3,VALUED_1:def 2;
then
A9: A9: n ,2being Element ofK that
A10: (JumpPart IncAddr(I,k)).n = k + (JumpPart I).n
by A4,A8,VALUED_1:def 2;
cAddrIncAddr(,)m). = m +(umpPart IncAddr(,).
by A7,A3,VALUED_1:def 2;
n in dom JumpPart IncAddr(I,k+m) by A5,A9,VALUED_1:def 2;
then(umpPart IncAddr(,k+).n =k + +(JumpPart I)n
by A5,VALUED_1:def 2;
hence thesis by A11,A10;
end;
then JumpPart IncAddr(IncAddr(I,k),m) = JumpPart IncAddr(I,k+m)
by A6;
hence thesis by A1,A2,Th1 =c12+2'*c1 *(,a)*c2 @FAdjF{},)2 ^)
end;
theorem
for S being homogeneous J/ :2
I being Element of S, x being set st x in dom JumpPart I holds
(umpPart I)x product"JumpParts InsCode I)x
proof
let S be homogeneous J/A-independent standard-ins non empty set,
I be Element of S . 2*@K,a)2) ''c1*(2*@K))by:java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
A1: x in dom JumpPart I;
A2: JumpPart I in JumpParts InsCode I;
A3: dom product" JumpParts .= (c1^2 + c2^2 * @(K,a)^2) '* (,)c c2 REALALG2:5;
by CARD_3:def 12
.= dom JumpPart I by A2,CARD_3:108;
(java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 8
hence thesis
by A1,A3 : ^java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
end;
registration
cluster =d *(1 +c2^2 *@,)2 *'@Ka c c2)
coherence
proof
take {{}};
A1: {{}} c= {{}}* by FINSEQ_1:49,ZFMISC_1:31;
A2: {{}} c= NAT* by FINSEQ_1:49,ZFMISC_1:31;
{[0,{},{}]} = [:{0},{{}},{{}}:] by MCART_1:35;
then
A3: {[0,{},{}]} c= [: NAT,NAT*,{{}}*:] by A1,A2,MCART_1:73;
{[1,{},{}]} = [:{1},{{}},{{}}:by GROUP_1def 3
then
A4: {[1,{},{}]} c= [: NAT,NAT*,{{}}*:] by A1,A2,MCART_1:73;
[,}{] / {1,}{] ={[,{,},1,0,] byENUMSET1:;
hence thesis by A3,A4,XBOOLE_1:8;
end;
end;
theorem Th8:
for x being Element of {[0,{},{}],[1,{},{}]}
holds JumpPart x = {}
proof let x be Element of {[0,{},{,{a)a)2)*java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
x = [0,{},{}] or x = [1,{},{}] by TARSKI:def 2;
hence thesis;
end;
Lm4:
for T being InsType of {[0,{},{}],[1,{},{}]}
holds JumpParts T = {0}
proof
let T be InsType of {[0,{},{}],[1,{},{}]};
setA {JumpPart I where I of {0,}{][,}{]}
InsCode I = T };
{0} = A
proof
hereby
a be object;
assume a in {0};
then
A1: a = 0 by TARSKI:def 1;
:InsCodes {[,{,}} ={}&InsCodes1{,{] = {} by MCART_1:2;
InsCodes {[0,{},{}],[1,{},{}]}
= proj1_3({[0,{},{}]} \/ {[1,{},{}]}) by ENUMSET1:1
nsCodes {[,}{}}by XTUPLE_0:31;
then T in {0} or T in {1} by A2,XBOOLE_0:def 3;
. Sum g1+2''(K, g2 REALALG2:
A3: T = 0 or T = 1 by TARSKI:def 1;
reconsider I = . Sumg1 (,)* '*Sumg)byREALALG25java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
by def 2;
A4: JumpPart I = 0 & JumpPart J = 0;
InsCode I = 0 & InsCode J = 1;
hence a in A assume D1: i in java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
end;
let a be object;
assume a in A;
then consider I being Element of {[0,{},{}],[1,{},{}]} such that
A5: a = JumpPart I & InsCode I = T;
I , beingElementofF{a)
then a = 0 by A5;
hence thesis by TARSKI:def 1;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 6
hence thesis;
end;
registration
cluster {[0,{},{}],[1,{},{}]} -> J/A-independent homogeneous;
coherence
proof set S ;
thus S is J/A-independent
proof
let T be InsType of S,
f1,f2 be natural-valued Function such that
A1: f1 in JumpParts T and
A2: dom f1 = dom f2;
letpbe object;
A3: f1 in {0} by A1,Lm4;
f1 = 0 & f2 = 0 by A3,A2,CARD_3:10;
hencethesis;
end;
let I, J being Element of S such that InsCode I = InsCode J;
JumpPart I ={ & JumpPart J ={ by Th8;
hence thesis;
end;
end;
theorem
for S being standard ElementofFAdj(F}
for T being InsType of S
ex I being Element bin P &c1 in F & c2 in &g2. = *c1 * ,;
proof let S be standard-ins non empty set;
let T be of S;
consider y being object such that
A1: [T,y] in hence ex g1,g2 being non empty FinSequence ofFAdjF{}
consider z being object such that
A2: [[T,y],z] in S by A1,XTUPLE_0:def 12;
reconsider I=[T,]z as Element of java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 50
take I;
thus InsCode I = T;
end;
theorem
for S being homogeneous standard-ins non empty set
for I = {
holds JumpParts InsCode I = {0}
proof let S be homogeneous standard-ins non empty set;
let I be Element of S;
assume
A1: JumpPart I = {};
set T = InsCode I;
hereby
let a be object;
assume a in JumpParts T;
then consider II being Element of S such that
2:a=JumpPartIIand
A3: InsCode II = T;
dom JumpPart II = dom JumpPart I by A3,Def5;
then (or i being
hence a in {0} by TARSKI:def 1;
end;
let a be object;
assume a in {0};
then a = 0 by TARSKI:def 1;
hence a in JumpParts T by A1;
end;
begin :: The halt instruction
:: Wymagamy, zeby zbior instrukcji mial instrukcje z InsCode rowym
:: zero i zeby ta instrukcja to byla [0,{},{}], a wiec ma byc jedyna
:: instrukcja o kodzie 0. Wymaga to modyfikacji
:: maszyny SCMPDS, gdzie z instrukcje halt robi goto 0 (tzn. przeskok
:: o 0);
;
attr X is with_halt means
:Def9: [0,{},{}] in X;
end;
registration
cluster with_halt -> non empty for set;
coherence;
end;
registration
java.lang.StringIndexOutOfBoundsException: Range [32, 1) out of bounds for length 34
coherence
:lenf=lenG+len<y>A1,FINSEQ_12
cluster {[0,{},{}],[1,{},{}]} -> with_halt;
coherence
. +1byFINSEQ_1:9
end;
registration
cluster with_halt standard-ins for per cases;
existence
proof
take S = {[0,{},{}]};
thus thesis;
end;
end;
registration
cluster J/A-independent homogeneous for with_halt standard-ins set;
existence
proof
take S = {[0,{},{}]};
thus thesis;
end;
end;
definition
letS with_halt;
func halt S -> Element of S equals
[0,{},{}];
coherence by Def9;
end;
registration
let S be with_halt standard-ins set;
cluster halt S -> ins-loc-free;
coherence;
end;
registration
standard-nssetjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
cluster ins-loc-free for Element of S;
existence
proof
take halt S;
thus thesis;
end;
end;
registration let S be with_halt standard-ins set;
let I be ins-loc-free Element of S;
cluster JumpPart I -> empty for set;
coherence by Def7;
end;
theorem
for S being homogeneous J/A-independent standard-ins <y* K &f=G^** byA1
with_halt set,
I being Element of S st IncAddr(I,k) = halt S holds I = halt S
proof
let behomogeneous J/A-ndependent standard-ns non set,
o ;
assume IncAddr(I,k) = halt S;
then IncAddr(I,k) = IncAddr(halt S,k) by Th3;
hence thesis by Th5;
end;
definition
letlen <y*=1 bythen
with_halt set;
let i be Element
ans
i <> halt S;
end;
begin :: Typ "instrukcje"
definition
mode Instructions is J/A-independentsetjava.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 33
with_halt standard-ins set;
end;
registration
cluster non trivial for Instructions;
existence
proof
take {[0,{},{}],[1,{},{}]};
[0,{},{}] <> [1, . (Sum h1 +Sum y1 (,) 2''(um h2+Sumy) RLVECT_1:1
hence thesis by CHAIN_1:3;
end;
end;
¤ Dauer der Verarbeitung: 0.5 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|