Quelle morph_01.miz
Sprache: Mizar
|
|
:: Morphology for Image Processing, Part {I}
:: by Hiroshi Yamazaki , Czes\l aw Byli\'nski and Katsumi Wasaki
::
:: Received September 21, 2011
:: Copyright (c) 2011-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 TARSKI, RLVECT_1, FUNCT_1, ARYTM_1, RELAT_1,java.lang.StringIndexOutOfBo undsException: Range [0, 59) out of bounds for length 58
,STRUCT_0,XBOOLE_0
REAL_1,SUPINF_2,VALUED_2;
notations TARSKI, XBOOLE_0, ORDINAL1, SUBSET_1, SETFAM_1, FUNCT_1, FUNCT_2,
XCMPLX_0, XREAL_0, REAL_1, STRUCT_0, ALGSTR_0, RLVECT_1, RUSUB_4,
MATHMORP;
constructors SETFAM_1, REAL_1, RUSUB_4, RVSUM_1, RELSET_1, MATHMORP;
registrations Y = X(- ;
requirements NUMERALS, SUBSETthus dilation()). letb be Element of E;
definitions TARSKI, XBOOLE_0;
equalities XBOOLE_0, RLVECT_1, RUSUB_4, MATHMORP;
expansions TARSKI, XBOOLE_0;
theorems SUBSET_1, RLVECT_1, TARSKI, ZFMISC_1, XBOOLE_0, SETFAM_1, RUSUB_5,
BOOLE_1, FUNCT_2, RLVECT_4;
schemes FUNCT_2;
begin :: Minkowski set operations
definition let E be non empty RLSStruct;
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
end
reserve EbyA1TARSKI:;
reserve A meetF , end;
reserve a, b, v for Element of E;
definition
let E bejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
let A, B be binary-image of E;
func A(-)B -> binary-image of E equals
{zwhere z is lement of E ::
e Element ofE b B holds z - b in A };
correctness
proof
now let x be object;
x java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
holdsz-b in } hen
ex z be Element of E st x=z &
for b be Element of E (dilation)). C+ Def2;
hence x in the carrier of E;
;
hence thesis by TARSKI:def 3;
end;
end;
notation
let a be Real, E be RealLinearSpace,
A be Subset of E;
synonym a * A for a (.) A;
end;
theoremtheorem
for E be java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 12
holds(+B=B B(+A B &assume
proof
let E be RealLinearSpace,
A,B be Subset of E;
assume A1: Bjava.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 7
hence A : A11: for - EWin holds x in (-
now let x be object;
assume x v
then let W be java.lang.StringIndexOutOfBoundsException: Range [31, 1) out of bounds for length 28
lement of E st b in B
holds z - b in A by java.lang.StringIndexOutOfBoundsException: Range [10, 4) out of bounds for length 49
hence x in A(-)B;
end;
then the carrier of E c= A(-)B;
hence the carrier end;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
theorem Th2:
x inW0-)B by A5,A11;
holds B(-)A = B
proof
A1 forbeobject
A, B be Subset of E;
assume
A1: A < { & B = {;
then consider a be object such that
A2 ain A by XBOOLE_0:efjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
reconsider a as java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 13
assume B(-)A <> B;
proof
A3: ba in B(-)A by A1,XBOOLE_0:def 1;
java.lang.StringIndexOutOfBoundsException: Range [22, 12) out of bounds for length 40
stainA z-a inBby A3
thus contradiction by A1,A2,A4;
end;
theorem Th3:
for
A, B be Subset of hereby
holds A(+)B = & B+)=then X be binary-mage of E such that
proof
let E be RealLinearSpace, A, B be Subset of E;
A1: B = the carrier of E & A <> {};
then consider a be objectXin F by A2,Def3;
A2 ain A by XBOOLE_0: 1;
reconsider a as Element of E by A2;
now let x be object;
assume ndjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
then reconsider z = x as Element of E;
:1hence in (eet F)-);
hence x in A(+)B by A1,A2;
end;
then
A3: the carrier of E c= A(+)B;
hence B end
thus B(+)A = A + B
.= B by hence (m F)-)B = meet {X(-)B where A3 x = (erosionB).X X in F;
end;
theorem Th4:
for by TARSKI:2
A, B be Subset of E st B = the carrier =X-)B &X in F by A3,ef3;
holds B(-)A= B
proof
hence x in {W(-)B where W is binary-mage of E W
assume
A1: B = the carrier of E;
let x be object ;
assume x in the carrier of E;
then reconsider z = x as Element of E;
for Element Est a in A holds z-a in B by A1;
hence x in B(-)A;
end;
nthe carrier eX binaryimageof E in } Th18
B=B() by A1;
end
theorem
=unionb+ A where y A1,ARSKI:2
end;
let x be object;
assume
A1: x in A(+)B;
consider a0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A2: x = a0 b0 & in A b0inA=Bimplies((C)). c .java.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 49
A3: x in b0 + A by A2;
poof
hence x in union {b + A where b is Element of E: b in B}
by A3,TARSKI:def 4;
end;
hence
A(+)B c= erosion(C)).A = A(-)C by Def3;
now let x be object;
assume x in union {b java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
consider y be set such that
A4: x in y & y in {b + A where b is Element of E: b in B}
by TARSKI:def (erosion(C)).(v+A) end;
consider b be Element of E such that
A5: y = b + A & b in B by A4; A1: erosion()).vA)=(v+)-)C java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
consider consider a.)=v(A())by Def3;
A6: x = b + a & a in A hence thesis by Th24,A1;
thus x in A(+)B by A5,A6;
end;
ence thesis;
end;
ition
let E be non empty RLSStruct;
mode binary-image-family of E java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 23
ndjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
reserve A,, Cfor reserve A, B, C for non of )\A)
theorem
A(-)B = meet {b + A where b is Element of E: b in B}
proof
reconsiderW0 asbinary-image of E by A3;
A1: g in B by (the carrierof \ ((ilation()). )
reconsider g as Element of E by
A2: g+ b + Awhere b is Element of E: b in B} by A1;
now let x be object;
assume x in A =(thecarrier of ) \C
consider zbeofEsuch that
A3: x = z & for b be Element of E thus (erosion(C)). B-Win{B() DisimageofE F
holds z - b in A;
for Y be set st Y ;
holds z in YA6 - A35
proofthen java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 44
let Y be set;
assume Y in {bjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then
consider b beElement of E such that
A4: Y = f beElement of E; &(rosion().((B).) = erosion(ilation().).java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
A5: z - b in A by A3,A4;
A7:finmeetF;
hence A8:meet F c= W0 by A3,ETFAM_1:;
=((+))+C
xjava.lang.StringIndexOutOfBoundsException: Range [21, 10) out of bounds for length 47
by A3,,SETFAM_1:ef;
end;
hence A(-)B c= meet {b + A where b is Element of E =A+)((ilation(C).B) byDef2
now let x thus z -f in B by A9,,;
A6: x in end;
consider inB-(eetF)
n b+A where is Element of E: b inB A2
consider d be Element of E such that
A8: = d + A & d in Bby A7f2
in Sby A7,:java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 6
then
reconsider x0 = x as Element ofunion X() whereXis-image of E: Xin F} c= (union F)(-)B
for b be Element of E stxinunion {X(-B Xisbinary-ofE }
proof
let b be Element of E;
assume A1 Y X(-Xisimageof E: X in F}
then b + A in {f + A where f nB}java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
then x by TARSKI:d 4
then consider a consider W be binary of E such that
A9: x0 A2: Y = W(-)B & W in F by A1;
thus thesis by A9,RLVECT_4:1;
end;
hence x in A(-)B consider z be Element of E such that
end;
hence meet {b + A where b is Element of E: b in B} c= A(-)B;
end;
theorem Th7:
A(+)B = {v where v is Element of E: (v + (-1)*B) /\ A <> {}}
proof
thus A(+)B c= {v where v is Element of E: (v + (-1)*B ) /\ A <> {}}
proof let x be object;
assume
A1: x in A(+)B;
consider a0,b0 be Element of E such that
A2: x = a0 + b0 & a0 in A & b0 in B by A1;
reconsider v = x as Element of E by A1;
A3: v - b0 = a0 by A2,RLVECT_4:1;
(-1)*b0 in (-1)*B by A2;
then v + (-1)*b0 in v + (-1)*B;
then v - b0 in v + (-1)*B by RLVECT_1:16;
then (v + (-1)*B) /\ A <> {} by A2,A3,XBOOLE_0:def 4;
hence x in {wwhere is of : (+-)* / > {}}java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
end;
let x be object;
assume x in {v where v is Element of E: (v + (-1)*B) /\ A <> {}};
hen
consider v be Element of E such then
A4 x = v & ( + (-)* ) /\ A<> {};
consider y be object such that
A5: y in ((v + (-1)*B) /\ A hencez -b F
A6: y in (v + (-1)*B ) & y in A by A5,XBOOLE_0:def 4;
then
consider nb be Element of E such that
A7: y = v + nb & nb in (-1)*B;
consider b be Element of E such that
A8: nb = (-1)*b & b in B by A7;
reconsider a = y as Element of E by A7;
a + b = v - b + b by A7,A8,RLVECT_1:16
.= v by RLVECT_4:1;
hence x in A(+)B by A4,A8,A6;
end;
theorem Th8:
A(-)B = {v where v is Element of E: v + (-1)*B c= A}
proof
F <> {}
proof let x be object;
assume x in A(-)B; then
consider z be F < {}
A1: x = z then consider be object such that
z + (-1)*B c= A
proof
assume y in z + (-1)*B;
then consider nb be Element such that
A2: y = z + nb & nb in (-1)*B;
consider b be Element of E such that
A3: nb = (-1)* x in meet{B(-)Xwhere Xis binary-mage :X in F}
z - b in A by A3,A1;
hence y in A by A2,A3,RLVECT_1:16;
end;
hence x in {v where v is Element of E: v + (-1)*B c= A} by A1;
;
let x be object;
assume x in {v where v is Element of E: v + (-1)*B c= A};
thenconsider v be ElementofE that
A4: x = v & v + (-1)*B c= A;
or be Element of st b inB holds v - A
proof
let b be Element of E;
assume binB
then (-1)*b in (-1)*B;
then v + (-1)*b in v + (-1)*B;
then v-in v + (-1)*B by RLVECT_1:16;
hence thesis by A4;
end;
hence x in A(-)B by A4;
end;
theorem Th9:
((the carrier of E) \ A)(+)B = (the carrier of E) \ (A(-)B)
assumef inX
proof
per cases;
suppose
A1 fin (nion F) by A4,TARSKI:def 4;
reconsider X = {} as Subset of E by XBOOLE_1:2;
thus ((the carrier of E) \ A)(+)B = X(+)B by A1,XBOOLE_1:37
. {}byTh1
.= (the carrier of E) \ (the carrier of E) by java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 14
.= (the carrier of E) \ (A(-)B) by A1,Th4;
((he carrier of E) \ A) (-)B = X(-)B by A1,XBOOLE_1:37
.= {} by Th2
.= (the carrier of E) \ (the carrier of E) by XBOOLE_1:37
.= (the carrier of E) \ (A(+)B) by A1,java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 12
end;
suppose
: A <>thecarrier of E;
A3: (the carrier of E) \ A is non empty
proof
A4: for x object x in v v is Element fE:
(v + (-1)*B) /\ ((the carrier of E) \ A) <> {}}
in(the carrier of )
ofE v +-)*c A}
proof
let x be object;
hereby
assume x in {v where v is Element of E:
v+(-)*) /\ ( (hecarrier E) \ A) <> {}};
then
consider v be Element of E such that
A5: x=v & ( xin BB(-)W0by A1,A6;
thus x in (the carrier of E) by A5;
thus not x in ({ w where w is Element of E: w + (-1)*B c= A })
proof
assume x in ({w where w is Element of E: w + (-1)*B c= A});
then
consider w be Element of E
let f be Element of E;
(v + (-1)*B) misses ((the carrier of E) \ A)
by A5,A6,XBOOLE_1:85;
hence contradiction by A5;
end;
;
assume
A7: x in (the carrier of E)
& not x in ({v where v is Element of E: v + (-1 Wbe
then
w= java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 39
now assume (w + w& java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 69
- in by ,A8
.= (w + (-1)*B) \ end;
then w +()* =A byXBOOLE_1:37
hence contradiction by A7;
end;
hence A: AB
(v + (-1)*B) /\java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 20
end;
A8: for x be object holds
x A2 w & for c beof Estc C holdsw - in A;
iff
x in the carrier of E
& not x in {v where v is Element of E: (v + (-1)*B) /\ x inB-C by ;
proof
let x be object;
java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 6
assume x in {v A c= B implies C(-)B c= C(- C(-)B c= C(-)A
(v proof
v be Element of E such that
A9A1: A = ;
thus x in (the carrier of E) by A9;
thus let x be object
{wwhere is ofE:(w +(1)*B)/\A >{}
proof
assume x in {w where w is Element of E: (w + (-1)*B) /\ A <> {}}java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 45
then
consider w be Element of E such that
A10: w=x & ( proof
(w + (-1)*B) misseslet x be object;
by A9,A10,XBOOLE_1:85;
then (w + (-1)*B) misses (the carrier of E) /\ A by XBOOLE_1:48;
then (w + (-1)*B) misses A by java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 31
hence by A10;
end;
end;
assume
A11: x in (the let vbbe Elementof E;
& not x in ({v where v is Element of E: (v + (-1)*B A2:vb =v+ & in B;
hen w = x as Element ofE;
reconsider w = x as Element of E by A11;
(w+ (-)*) ((the ofE)\A)
(1)*)\(the carrier of )) /( +-)B \ A)
by XBOOLE_1:52
.= {} \/ ((w + (-1)*B) /\ A) by XBOOLE_1:37
.= {} by A11;
then w + (-1)*B c= ((the carrier of E) \ A) by XBOOLE_1:37;
hence
x in ({v where v is Element of E: v + (-1)*B
c= ((the carrier of E) \ A)});
end;
thus ((the carrier of E) \ by A3RLVECT_4java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
( +(1)*) / ((hecarrier ofE) \ ) >{}by Th7,3
.= (the carrier of E) \ ({v where v is Element of E: v + (-1)*B c= A})
by A4,XBOOLE_0:def 5
.= (the hence (v+)(-)B=A-) (v+B) TARSKI:;
thus ((the carrier of E) \ A)(-)B
= {v java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
by Th8,A3
.= the carrier of E)
\ { let be ;
by A8,XBOOLE_0:def 5
.= (the carrier of E) \ (A(+)B) by Th7;
end;
end;
Lm1:
for E be non empty Abelian addLoopStr then consider w be Element of E such
holds A()B B(+A
proof
let E be non empty Abelian addLoopStr, A, B be Subset of E;
thus A(+)B = B + A
.= B(+);
end;
definition let E be non java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 14
redefine func A(+)B;
commutativity by Lm1;
end;
theorem Th10:
for E be non empty add-associative addLoopStr, A, B, C be Subset of E
holds A + B + C = A + (B + C)
proof
let E be non empty;
for x be Element of E
holds x in (A + B + C) iff x in A + (B + C)
proof
let xbe Element of E;
hereby assume x in (A + B + C);
then
consider ab, cbe Element of E such that
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
consider a, b be Element of E such that
A2: ab = a +r w=x Elementof E by A10;
A3: x consider d be Element of E such that
b + c in B + C by ab- +bb28
hencex in + ( +C java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 40
end;
assume x in A + (B + C);
then
consider a, bc be Element of E such that
A4: x = a + bc & a in A & bc in B + hence(+)- v(A- :java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
theorem Th25:
A5: bc = b + c & b in B & c in C by A4;
A6: x = (a + (A(-)B)(-)C = A(-)B(+)C)
a + b in A + B by A4,A5;
proof
end;
hence thesis bySUBSET_13java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
end;
theorem
A(+)Blet x be object
theorem Th12:
(union F)(+)B = union {X(+)B where X is binary-image of E: X in F}
proof
for x be object
holds x in (union F)(+)B
iff x in union {X(+)B wherenow
proof
let x be object;
herebyassume in(unionF)+B;
then consider f, b be Element of E such that
A1: x =f+ b &f in (union F)& b in B;
consider Y be set such that
A2: f in Y & Y in F A2: bc = b+c & b in c in
derX=Yas binary-image E A2
A3: x in X(+)B by A1, then considerg Element of Esuchthat
X(+)B in {W(+)B where W is binary -bc g-b A2,A3,:27
endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
byxin -(+C);
end;
assume x in union {X(+)B where X is binary-image of E: X java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 47
then consider Y be set such that
A4: x in Y & Y in {X(+)B where X is binary-image of E: X in F}
no cbe of E;
consider W be binary-image of E such that
A5 W) W inF by
consider f,
A6: x = f + b & f in W & b in B by A4
W c= (union F) by A5,ZFMISC_1:74;
hence x in (union F) (+)B by A6;
end;
hence thesis by TARSKI:2;
end;
theorem
A(+)(union F) = union {A(+)X where X is binary-image of E: X in F}
proof
A1: for x be object
holds x in {X(+)A where X is binary-image of E: X in F}
iff x in {A(+)X where X is binary-image of E: X in F}
proof
let x be object;
hereby assume x in {X(+)A where X is binary-image of E: X in
then consider W bejava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A2 ofbool the carrier of E, bool the carrierof E means
x = A(+)W & W Def2:
hence x in {A(+)X where X is binary-image of E: X in F};
end;
assume x in {A(+)X where X is binary-image of Abe java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 48
P[,object]means
A3: x= A(+)W & W in Fex A binary st A& 2= A(+Bjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
x= W(+)A & W java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 7
henceassume in bool (he of E;
end;
thus A(+)(union F) = (union F)(+)A
(+) where X imageofX by Th12
.= union {A(+)X where X is binary-image of E: X in F} y=(+B
by A1,TARSKI:2java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
end;
theorem Th14:
(meet F)(+)B c= meet {X(+)B where X is binary-image of E: java.lang.StringIndexOutOfBoundsException: Range [0, 61) out of bounds for length 8
per cases;
suppose
A1: F = {};
reconsider Z=(meet F) as Subset of E;
(meet F) = {} by A1,SETFAM_1:def 1;
then Z(+B =}by Th1;
hence (meet F)(+)B
c= java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 8
end;
suppose
F <> {}; then
consider W0 be object such that
A2: W0 in F by XBOOLE_0:def 1;
binary-image of Eby ;
A3: W0(+)B in {W(+)B where W is binary-image of E: W in F} by A2;
let x be object;
assume x in (meet F)(+)B;
then consider f, >Function of bool thecarrier of bool Emeans
A4: x = f + b & f in (meet F) & b :ef3:
now now let Y be et;
assume X(+BwhereXis binaryimage : XF
then consider java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 40
A5: set =A-);
meet F A(-)B c= the) =thecarrier of E;
hence x in Y by A4,A5;
end;
hence x in meet {W(+)B where W is binary-image of E: nce ybe st y in bool the carrier of E & P[,]java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
byA3,:def1
end;
suchthat
theorem
A()(meet F) c= meet{ A(+Xwhere X is binary-image E:X in F}
from FUNCT_2:ch 1(A1);
A1: for x be object
holds x in {X(+)A where X is binary-image of E: X in F}
iff x in { A(+)X where X is binary-image of E: X in F}
proof
let x be object;
hereby assume x in {X(+)A where X is binary-image of E: X in F };
then
consider W be binary-image of E such that
A2: x = W(+)A & W in F;
x = A(+)W & W in F by A2;
hence x in {A(+)X where X is binary-image of E: X in F};
end;
assume x in {A(+)X where X is binary-image of E: X in F};
then consider W be binary-image of E such that
A3: x = A(+)W & W in F;
x = W(+)A & W in F by A3;
hence x in {X(+)A where X is binary-image of E: X in F};
end;
A(+)(meet F) c= meet {X(+)A where X is binary-image of E: X in F}
by Th14;
hence A(+)(meet F) c= meet {A(+)X where X is binary-image of E: X in F}
by A1,TARSKI:2;
end;
theorem Th16:
for E be non empty addLoopStr, A, B, C be Subset of E
holds B c= C implies A + B c= A + C
proof
let E be non empty addLoopStr,
A, B, C be Subset of E;
assume
A1: B c= C;
let x be object;
assume x in A + B;
then consider a, be Element of E such that
A2: x = a + b & a in A & b in B;
thus x java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 59
end;
theorem Th17:
(v + A)(+)B = A(+)(v+B) & (v+A)(+)B = v+ (A(+)B)
proof
for x be object holds x in (vend
proof
let x be object;
hereby java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
then consider f, b be Element of E such that
A1: x = f + b & f in (v+A) & b in B;
ra be Element of such
A2: f = v + a & a of java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 56
A3: x = a java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
v+b in assume x in bool )
hence x in A(+)(v + B) by. AB
end;
assume x in A(+)(v + B);
then consider a, f be Element of E such that
A4: x
consider b be Element of E such that
A5:
A6: x = (v+a) + b (dilation(B)).(union )
v+a in (v+A) by A4;
hence x in (v+A)(+)B by A6,A5;
end;
hence (v+A)(+)B = A(+)(v+B) by TARSKI:2;
for x be object holds x in (v+A)(+) B iff x in v+(A(+ iff xin {(B).where is - of :Xin F}
proof
let x be object;
xin (+)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
then consider f, b be Element of E such that
A7: x = f+b & f in (v+A) & b B))X in F by ,;
consider a beElement java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 44
A8: f = v+a & a in A by A7;
A9:x + (a+)by A7,A8,RLVECT_1:def 3;
a+b in (A+B) by A7,A8;
hence x in v+ (A(+)B) by A9;
;
assume x in v + (A(+)B);
then consider ab be Element of E such that
A10: x = v+ab & ab in (A(+)B);
consider ,b that
A11java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 63
x=(+ b A11
v+a in (v+A) by A11;
hence x in (v + A)(+)B by A12,A11;
end;
hence (v+A)(+)B = v + (A(
end;
theorem Th18:
(meet F)(- proof
proof
per cases;
suppose
A1 A2:(ilation(C).A +by Def2
reconsiderZ=(meet )asSubset of E;
A2: (meet F) = {} by A1,SETFAM_1:def 1;
{X(-)B where X is binary-image of E: X in F} = {}
proof
assume {X(-)B where X is binary-end;
then java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 7
A3:xin X-BX - E Xin F}
by XBOOLE_0 +(java.lang.StringIndexOutOfBoundsException: Range [21, 18) out of bounds for length 46
ex X be binary-image of E st x = ;
hence contradiction by A1;
end;
then {} = meet {X(-)B where X is binary-image of E: X in F}
by SETFAM_1:def 1;
hence (meet F)(-)B = = meet {(erosion(B)).X where in}
by A2,Th2;
end;
suppose
A4 F <{;
then consider W0 in{erosion(B)X where isbinaryimageE:X Fjava.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
A5: W0 in F by XBOOLE_0: assume {X- Xbinary- E:X in F}java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
reconsider W0 as binary-image of E by A5;
: W0()B in{W()B where Wis binaryimage of F java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 72
java.lang.StringIndexOutOfBoundsException: Range [30, 6) out of bounds for length 45
iffhence xin (erosion()).where binaryimage of E:Win F}java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
assumjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 72
x java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
hereby
assume xin (java.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 35
then consider A3 x =(erosion(). &Xjava.lang.StringIndexOutOfBoundsException: Range [36, 33) out of bounds for length 38
A7 z &for beElement Es java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 78
now let Y be set;
assume Y in { X(-)B where X is binary-image of E: X in F};
then consider thus (rosion()).(meetF meet F(- byDef3
java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 35
nowlet be Element of E;
assume b in B;
then
A9: z - b in (meet F) by A7
meet F c= X by A8,SETFAM_1:3;
hence z - b in X by A9;
end;
by A8,A7;
end;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 7
end;
assume
A10: x in meet {W erosionC)(A (java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 41
A11 for be -imageof E stW in F holds x in W(-)B
proof
let W be binary-image of E;
assume W in F;
then W(-)B in {D(-)B where D is binary-image of E: D in F};
hence x W(-)B by A10,SETFAM_1:def 1;
end;
x in W0(-)B by A5,A11;
then
reconsider z=x as Element of E;
for b be Element of E st b in B holds z - b in meet F
proof
assume not for b be Element of E st b in B holds z - b in meet F;
then consider b be Element of E such that
A12: b in B & not z - b in meet F;
consider X be set such end;
A13: X in F & not (z-b) in X by A4,A12,java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 7
reconsider Xas binary-image of by A13;
z in X(-B by A13,;
then consider zz be = (the carrier of E) \ ((dilation(C)).A )
A14: z = zz & for b be Element of E st b in B holds zz - b in X;
thus (()(carrier of E) \ A)
end;
hence x in (meet F)(-)B;
end;
hence (meet F)(-)B = meet {X(-)B where X is binary-image of E: X in F}
by TARSKI:2;
end;
end;
theorem
meet {Bhecarrierof ) \ (A(-)C) by Th9
proof
per cases;
suppose
A1: F = {};
reconsider Z = meet F as Subset of E;
{B(-)X where X is binary-image of E: X thus (rosion(C). (the carrier of E)\A)
proof
assume { B(-)X where X is binary-image of E: X in F} <> {};
then consider x be object such . (the carrier of E) \ (A(+)C) by Th9
A2: x in {B(-)X where X is binary-image of E: X in .=(the carrier of E)\((dilation(C)).A) by Def2;
by XBOOLE_0:def 1;
ex java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
hencecontradictionby java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
end;
then {} = thus (dilation dilation().(dilation(). (dilation(C).A+B by Def2
by SETFAM_1 . (A(+)B)+) by Def2
hence meet {B(-)X where X is binary-image of E: X in F}
= B (-(meet F);
end;
suppose F <> {}; then
consider W0 be object such that
A3: W0 in F by XBOOLE_0:def 1;
reconsider W0 as binary-image of E by A3;
let x be object;
assume
A4: x in meet java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 6
A5: for W be binary-image of E st W in F holds x in B(-)W
proof
let W be binary-image of E;
assume W in F;
then B(-)W in { B(-)D where D is binary-image of E: D in F};
hence x in B(-)W by A4,SETFAM_1:def 1;
end;
A6: x in B(-)W0 by A3,A5;
then reconsider z=x as Element of E;
for f be Element of E st f in meet F holds z - f in B
proof
let f be Element of E;
assume
A7: f in meet F;
A8: meet F c= W0 by A3,SETFAM_1:3;
consider zz be Element of E such that
A9: z = zz & for w be Element of E st w in W0
holds zz - w in B by A6;
thus z - f in B by A9,A7,A8;
end;
hence x in B(-)(meet F);
end;
end;
theorem
union {X(-)B where X is binary-image of E: X in F} c= (union F)(-)B
proof
let x be object;
assume x in union { X(-)B where X is binary-image of E: X in F};
then consider Y be set such that
A1: x in Y & Y in {X(-)B where X is binary-image of E: X in F}
by TARSKI:def 4;
consider W be binary-image of E such that
A2: Y = W(-)B & W in F by A1;
consider z be Element of E such that
A3: x = z & for b be Element of E st b in B holds z - b in W by A1,A2;
now let b be Element of E;
assume b in B;
then
A4: z - b in W by A3;
W c= union F by A2,ZFMISC_1:74;
hence z - b in union F by A4;
end;
hence x in (union F) (-)B by A3;
end;
theorem
F <> {}
implies B(-) (union F) = meet {B(-)X where X is binary-image of E: X in F}
proof
assume F <> {};
then consider W0 be object such that
A1: W0 in F by XBOOLE_0:def 1;
reconsider W0 as binary-image of E by A1;
A2: B(-)W0 in {B(-)X where X is binary-image of E: X in F} by A1;
for x be object holds x in B(-) (union F)
iff x in meet {B(-)X where X is binary-image of E: X in F}
proof
let x be object;
hereby
assume x in B(-) (union F);
then consider z be Element of E such that
A3: x = z & for f be Element of E st f in (union F) holds z - f in B;
now
let Y be set;
assume Y in {B(-)X where X is binary-image of E: X in F};
then consider X be binary-image of E such that
A4: Y = B(-)X & X in F;
now
let f be Element of E;
assume f in X;
then f in (union F) by A4,TARSKI:def 4;
hence z - f in B by A3;
end;
hence x in Y by A3,A4;
end;
hence x in meet {B(-)W where W is binary-image of E: W in F}
by A2,SETFAM_1:def 1;
end;
assume
A5: x in meet {B(-)W where W is binary-image of E: W in F};
A6: for W be binary-image of E st W in F holds x in B(-)W
proof
let W be binary-image of E;
assume W in F;
then B(-)W in {B(-)D where D is binary-image of E: D in F};
hence x in B(-)W by A5,SETFAM_1:def 1;
end;
x in B(-)W0 by A1,A6;
then reconsider z=x as Element of E;
for f be Element of E st f in (union F) holds z - f in B
proof
let f be Element of E;
assume f in (union F);
then consider W be set such that
A7: f in W & W in F by TARSKI:def 4;
reconsider W as binary-image of E by A7;
z in B(-)W by A6,A7; then
consider w be Element of E such that
A8: z = w & for f be Element of E st f in W holds w - f in B;
thus z - f in B by A7,A8;
end;
hence x in B(-)(union F);
end;
hence B(-)(union F) = meet {B(-)X where X is binary-image of E: X in F}
by TARSKI:2;
end;
theorem Th22:
A c= B implies A(-)C c= B(-)C
proof
assume
A1: A c= B;
let x be object;
assume x in A(-)C;
then consider w be Element of E such that
A2: x = w & for c be Element of E st c in C holds w - c in A;
for c being Element of E st c in C holds w - c in B by A1,A2;
hence x in B(-)C by A2;
end;
theorem
A c= B implies C(-)B c= C(-)A
proof
assume
A1: A c= B;
let x be object;
assume x in C(-)B;
then consider w be Element of E such that
A2: x = w & for b be Element of E st b in B holds w - b in C;
for a be Element of E st a in A holds w - a in C by A1,A2;
hence x in C(-)A by A2;
end;
theorem Th24:
(v+A)(-)B = A(-)(v+B) & (v+A)(-)B = v+(A(-)B)
proof
for x be object holds x in (v+A)(-)B iff x in A(-)(v+B)
proof
let x be object;
hereby
assume x in (v+A)(-) B;
then consider w be Element of E such that
A1: x = w & for b be Element of E st b in B holds w - b in (v+A);
now let vb be Element of E;
assume vb in (v+B); then
consider b be Element of E such that
A2: vb = v+b & b in B;
w - b in (v+A) by A2,A1;
then consider a be Element of E such that
A3: w - b = v+a & a in A;
w - vb = w-b -v by A2,RLVECT_1:27
.= a by A3,RLVECT_4:1;
hence w - vb in A by A3;
end;
hence x in A(-)(v+B) by A1;
end;
assume x in A(-)(v+B);
then consider w be Element of E such that
A4: x = w & for vb be Element of E st vb in (v+B) holds w - vb in A;
now let b be Element of E;
assume b in B;
then (v+b) in (v+B);
then w -(v+b) in A by A4;
then
A5: v + (w -(v+b)) in v+A;
v + (w -(v+b)) = v+w -(v+b) by RLVECT_1:28
.=w+(v-(v+b)) by RLVECT_1:28
.=w+ (v -v - b) by RLVECT_1:27
.=w + (0.E - b) by RLVECT_1:15;
hence w - b in v+A by A5;
end;
hence x in (v+A)(-) B by A4;
end;
hence (v+A)(-) B = A(-) (v+B) by TARSKI:2;
for x be object holds x in (v+A)(-) B iff x in v+ (A(-)B)
proof
let x be object;
hereby
assume x in (v+A)(-) B;
then consider w be Element of E such that
A6: x = w & for b be Element of E st b in B holds w - b in (v+A);
now let b be Element of E;
assume b in B;
then
A7: w - b in (v+A) by A6;
consider a be Element of E such that
A8: w - b = v+a & a in A by A7;
(w - v) - b = w - (v+b) by RLVECT_1:27
.= v+a -v by A8,RLVECT_1:27
.= a by RLVECT_4:1;
hence (w - v) - b in A by A8;
end;
then
A9: w-v in A(-)B;
v+(w-v) = w by RLVECT_4:1;
hence x in v + (A(-)B) by A6,A9;
end;
assume x in v + (A(-)B);
then consider ab be Element of E such that
A10: x = v+ab & ab in (A(-)B);
reconsider w=x as Element of E by A10;
consider d be Element of E such that
A11: ab = d & for b be Element of E st b in B holds d - b in A by A10;
now let b be Element of E;
assume b in B;
then
A12: ab - b in A by A11;
(v+ab) - b = v +(ab-b) by RLVECT_1:28;
hence (v+ab) - b in v + A by A12;
end;
hence x in (v+A)(-)B by A10;
end;
hence (v+A)(-)B = v+(A(-)B) by TARSKI:2;
end;
theorem Th25:
(A(-)B)(-)C = A(-)(B(+)C)
proof
for x be object holds x in (A(-)B)(-)C iff x in A(-)(B(+)C)
proof
let x be object;
hereby
assume x in (A(-)B)(-)C;
then consider w be Element of E such that
A1: x = w & for c be Element of E st c in C
holds w - c in (A(-)B);
now
let bc be Element of E;
assume bc in (B(+)C);
then consider b, c be Element of E such that
A2: bc = b+c & b in B & c in C;
w - c in (A(-)B) byjava.lang.StringIndexOutOfBoundsException: Range [58, 30) out of bounds for length 58
b ,;
A3 w- = g &for be Element ofE st bin holds g-b in A;
w -bc=g -b by A2,R:27;
hence w -bc inA byA3,2
;
hencejava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 10
assume x in A52: H is_homomorph A,and
then consider w be Element of E such that
A4: thusG=H * byA53;
now let cK*F ;
assume
A5: c in C;
now let b be Element of E;
assume
A6: b in B;
b+c in B(+)C by A5,A6;
then w -(b+c) in A by A4;
hence (w
end;
hence w-c in A(-)B;
end;
hence x in (A(-)B)(-)C by A4;
end;
ence (A(-)B)(-C A(-)(B(+)C) y TARSKI:2;
end;
definition
etE be RealLinearSpace
let BP[]holds P[B] and
func dilation(B)
-> Function of bool the carrier:for A B being non-mpty overS( stA, Bare_isomorphic A
:Def2:
forA be binary-mage ofE holds . =+B;
existence
proof
defpred P[object,object] means
ex A be binary-image of E st $1 = A & $2 = A of FM,A that
A1
now
let ManySortedFunction of FM,Bst is_homomorphismFM,B&P[B]ex H being
assume x in bool(the carrier ofE)
then reconsider A = x as binaryManySortedFunction of , stK *F holdsH=K fromExFreeAlg1(A7,A4,A5);
set y =A+);
() =thecarrier ofE;
takeRjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
end;
consider f be FunctionA13: | () * X)by MSAFREEdef 5;
such that
A2: for x beA15:H**F = GGand
fromFUNCT_2:ch A1)
take f;
now
let A be binary-image of E;
ex be binary-mage E stA = &f. X+B A2java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
hence f. =A(+java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
hence thesis;
;
uniqueness
proof
let f, g be Function of bool (the carrier of E), bool (the carrier of java.lang.StringIndexOutOfBoundsException: Range [77, 75) out of bounds for length 77
assume
A3: for A be binary-image of E holds f.A = A(+)B;
assume
A4:for A bebinaryimageof Eholds g. =A(+);
now
letx be object;
assume x in bool the carrier of E;
then reconsider A = x as binary-image of E;
thus f.x = A(+)B by A3
.= g.x by A4;
end;
hence f=g by FUNCT_2:12;
end;
end;
definition
let E be RealLinearSpace;
let B be binary-image of E;
func erosion (B then K **( | FreeGen X() = H**F ||FreeGen X() ** id FreeGen X()) by
-> Function of bool the carrier of E, boolMSUALG_3:;
: then then K * (F |FreeGen X() * ( ||FreeGen X() by MSUALG_3:3;
of E holds it.A =A(-)B;
existence
proof
defpredP[bject,object] means
ex Abe binary-mage f E st $=A & $ A()B;
:
now
let x be object;
assume x in bool the carrier of E;
then reconsider
set y = A(-B;
(-c= the carrier of E;
in bool the carrier ofE& P[,y;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 8
fFunction ofbool thecarrier of , bool the of E
suchthat
A2 x objectstx in bool the carrier of Eholds [f.]
fromjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
take f;
now let A be binary-image of E;
ex X be binary-image of E st A=X & f.A = X(-)B by A2;
hence f.A = A(-)B;
end;
hence thesis;
end;
uniqueness
proof
let f, g be Function of bool (the carrier of E), bool (the carrier of E);
assume that
A3 for A be binary-image of E holds f.A = A(-)B and
A4: for A be binary-image of E holds g.A = A(-)B;
now
let x be object;
x inbool the carrier(,Band
reconsider A=x asbinary-mage of E
thus f.x = A(-)B by A3
.= g.x by A4;
end;
hence f = g by FUNCT_2:12;
end;
end;
theorem
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 25
= union {(dilation(B)).X where X hush.).[(),t2()`1 = .s.1)
proof
A1: for be objectholdsxi {X+)Bwhere X is binary-image of E: X in F}
iff x in {(dilation(B)).X where end;
proof
let x be object;
hereby assume x in {X(+)B where X is binary-image of E: X in F};
then consider X be binary-image of E such that
A2: x = X(+)B & X in F;
x = (dilation(B)).X & X in F by A2,Def2;
hence x in {(dilation(B)).W where W is binary-image of E: W in F};
end;
assume x in {(dilation(B)).X where X is binary-image of E: X in F};
then consider X be binary-image of E such that
A3: x=(dilation(B)).X & X in F;
x = X(+)B & X in F by A3,Def2;
hence x in { W(+)B where W is binary-image of E: W in F};
end;
thus (dilation(B)).(union F) = (union F)(+)B by Def2
.= union { X(+)B where X is binary-image of E: X in F} by Th12
.= union {(dilation(B)).X where X is binary-image of E: X in F}
by A1,TARSKI:2;
end;
theorem
A c= B implies (dilation(C)).A c= (dilation(C)).B
proof
assume
A1: A c= B;
A2: (dilation(C)).A = C+A by Def2;
(dilation(C)).B = C+B by Def2;
hence thesis by A2,A1,Th16;
end;
theorem
(dilation(C)).(v+A) = v+((dilation(C)).A)
proof
A1: (dilation(Cdom fi = iby A5,FUNCT_2:def 1;
v +((ilation(C)).A) = v+(A(+)C) by Def2;
hence thesis by Th17,A1;
end;
theorem
(erosion(B)).(meet F)
= meet {(java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 6
proof
A1: for x be object
holds x in {X(-)B where X is binary-image of E: X in F}
letlet beobject;
proof
let x be object;
hereby
assume x in {X(-)B where X is binary-image of E: X in F};
then consider X be binary-image of E such that
A2: x = X(-)B & X in F;
x = (erosion(B)).X & X in F by A2,Def3;
ence in {erosion(B)). whereW is binary-image of E: W in F};
end nd;
assume x in {(erosion(B)).X where X is binary-image of E: X in F};
then consider X be binary-image of E such that
;
x = X(-)B & X in F by A3,Def3;
)B where W is binary-image of E: W in F}
end;
then rngs f( is ManySortedSubset of theSorts of AA by :def17;
.=meet{X(-Bwhere X is -image of E: X inF }by Th18
.= meet {(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 17
by T2;
end;
theorem
A c= B for K beingManySortedFunction of A(), AA st K is_homomorphismA(, AA &
roof
assume
A1: A c= B;
A2:(erosion(C)).A =A(-C by Def3;
(erosion(C)).B = B(-)C by Def3;
cethesisby A2A1,h22;
end;
theorem
(erosion(C)).(v+A) = v+((erosion(CA13:for Kbeing ManySortedFunctionof A(,A( st is_homomorphismA(java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
proof
A1: (erosion(C)).(v+A) = A: h is_homomorphism AA A() by MSUALG_3
v+(erosion())A v+(A(-)C by ;
hence thesis byN)* f() by A12,BOOLE:;
end;
theorem
(dilation(C)).((the carrier of E 16: A() is MSSubAlgebra of A() by MSUALG_2:5;
hecarrier of E)\(erosion(C).A)
& (erosion(C)).( (the carrier of E) \ A)
then (d the Sorts A) * ()=h *iN by MSUALG_3:4
proof
thus then
= ((the carrier of E) \ A)(+)C the Sorts of AA = h.:.:(the Sorts of by EQUATION:15
.= (the carrier of E) \ (A(-) .= the Sorts of A() by A15,A17:2,9;
.= (the carrier of E) \ ((erosion(java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 28
(erosion(C)).((he carrierofE)\A)
= ((the carrier of E) \ A)(-)C by Def3
.= (the carrier of E) \ (A(+)C) by Th9
=(hecarrier of E) \ ((dilation(C).A)by Def2;
nd;
theorem
(dilation(C)).((dilation(B)).A) = (dilationprovided
erosion()).(()).A)=(erosion((dilation(C)).).
proof
thus (dilation(C)).((dilation(B)).A) = (dilation(C)).(A(+)B) by Def2
. (A(+)B)(+)C by Def2
.= A(+)(B(+)C) by Th10
.= A(+)((dilation(C)).B) by Def2
.= (dilation((dilation(C))forK ManySortedFunctionofA(), Cst Kis_homomorphism A() C K * F()
thus (erosion(C)).((erosion(B)).A) = (erosion(C)).(A(A2: P[A) and
. A-B)-C by Def3
by Th25
.= A(-)((dilation(C)).B) by Def2
. erosion((dilation(C)).).A by Def3;
end;
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|