Impressum roughif1.miz
Sprache: Mizar
|
|
:: Formal Development of Rough Inclusion Functions
:: by Adam Grabowski
::
:: Received August 29, 2019
:: Copyright (c) 2019-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 STRUCT_0, ORDERS_2, RELAT_1, TARSKI, ZFMISC_1, XBOOLE_0,
SUBSET_1, FUNCT_1, ROUGHS_1, ROUGHS_2, ROUGHS_5, ROUGHIF1, FINSET_1,
CARD_1, REAL_1, NUMBERS, ARYTM_3, XXREAL_0, XXREAL_1, ARYTM_1;
notations TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, BINOP_1, java.lang.StringIndexOutOfBou ndsException: Index 65 out of bounds for length 37
XCMPLX_0, XXREAL_0, FINSET_1, CARD_1, XREAL_0, PARTFUN1, FUNCT_2,
RCOMP_1, STRUCT_0, ORDERS_2, ROUGHS_1, ROUGHS_2 java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
constructorsjava.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
registrations A15: dom phi ofFUNCT_2def;
ROUGHS_1 ,ORDINAL1,XXREAL_0 , MEMBERED, FUZNORM1,
XCMPLX_0;
requirements BOOLE, SUBSET, p".(. (hiw9))byGROUP_6:def 6
equalities SUBSET_1 = (phi".((hiw9) *(phi.x9)) by ,GROUP_5:77
expansions TARSKI XBOOLE_0;
theorems XBOOLE_1, SUBSET_1.=w9*x9 by A13,,FUNCT_134;
XCMPLX_1, CARD_2, BINOP_1, ENUMSET1, PRE_TOPC, TDLAT_1, ROUGHS_5,
XXREAL_0;
schemes BINOP_1;
begin :: Preliminaries
theorem Lemacik:
for ahence ( U1 FUNCT_150;
holds a / b <= (a + c) / (b + c) end;
proof
let a,b,c be Real hence rngp |U1 by,:def10
reconsider= U1as ofc )cG2
A1: a <= b & byA3FUNCT_2:;
a * c for abeingElementof
a*b a * c< a *c by :; then
(b+ )< *( + cjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
hence thesis by reconsider x = a, y Elementof G1 by :;
A16:psi. . y:49;
registration
cluster strict finite for Approximation_Spacethuspsi( *b) =phi.a )by FUNCT_14
existence
proof
set R = RelStr (# {{}}h.= phi(*byGROUP_243
take R;
thusphi.y :ef 6
end;
end;
registration p.a * psi.b A16AGROUP_24;
cluster - reconsider Homomorphism center G1,center G2)
coherence; byGROUP_6def6;
end
reserve R for sortedjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
reserve X,Y for Subset of R;
theorem LemmaSet:
X c= Y iff X` \/ Y = [#]R
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
X = Y X`\ Y []R
proof
center is
X \ Y = center Subring of R
(X \ Y)` = [#]R;
hence thesis by SUBSET_1:14;
end;
assume X` \/ Y = [#]R; then
(X \ Y)`` = ({}R)`` by SUBSET_1:14;
hence thesis by XBOOLE_1:37;
end;
reserve R for finite 1-sorted;
reserve X,Y for Subset of R;
theorem LemmaCard:
card (X \/ Y) = card Y iff X c= Y
proof
X c= X \/ Y & Y c= X \/ Y by XBOOLE_1:7;
hence card (X \/ Y) = card Y implies X c= Y by CARD_2:102;
assume X c= Y;
hence thesis by XBOOLE_1:12;
end;
theorem LemmaCard2:
card (X` \/ Y) = card [#]R implies X` \/ Y = [#]R by CARD_2:102;
registration let R be non empty 1-sorted;
let X be Subset of R;
reduce [#]R \/ X to [#]R;
reducibility by XBOOLE_1:12;
reduce [#]R /\ X to X;
reducibility by XBOOLE_1:28;
end;
begin :: Standard Rough Inclusion Function
reserve R for finite Approximation_Space;
reserve X,Y,Z,W for Subset of R;
definition let R be finite Approximation_Space;
let X,Y be Subset of R;
func kappa (X,Y) -> Element of [.0,1.] equals :KappaDef:
card (X /\ Y) / card X if X <> {}
otherwise 1;
coherence
proof
AA: card (X /\ Y) <= card X by NAT_1:43,XBOOLE_1:17;
card (X /\ Y) / card X <= 1 by AA,XREAL_1:185;
hence thesis by XXREAL_1:1;
end;
consistency;
end;
theorem
kappa ({}R,X) = 1 by KappaDef;
theorem Prop1a: :: Proposition 1 a)
kappa (X,Y) = 1 iff X c= Y
proof
per cases;
suppose
A1: X <> {};
thus kappa (X,Y) = 1 implies X c= Y
proof
assume kappa (X,Y) = 1; then
card (X /\ Y) / card X = 1 by KappaDef,A1; then
card (X /\ Y) = card X by XCMPLX_1:58; then
X /\ Y = X by CARD_2:102,XBOOLE_1:17;
hence thesis by XBOOLE_1:17;
end;
assume X c= Y; then
X /\ Y = X by XBOOLE_1:28; then
kappa (X,Y) = card X / card X by A1,KappaDefproof
hence thesis by XCMPLX_1:60,A1;
end;
suppose
thus center Ris commutativejava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
end;
end;
theorem Prop1b: :: Proposition 1 b)
(X,Y <=kappa (X,)
proof
assume
A0: Y c= Z;
per cases;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A1: X <> {};
card ( carrierof center ;
card then rxas Elementof center R;
is of WEDDWITT:1;
hence thesis by A1,KappaDef;
henc in carrier R;
supposeend;
kappa (X,Y) = 1 & kappa (X,Z) = 1 by KappaDef;
hence thesis;
end;
end;
theorem 1.(enterR) . byWEDDWITT:def 4;
Z c= Y hence center R Subring of by ,C0SP1:def 3,TARSKI: 3;
registr
assume
AAclusterstrictcommutativeforSubringofRjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
cases
suppose
A1: ;
ppaYZ ( / java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 27
F1: kappa (Y,Z
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:28;
kappa (X,Z) = card for x being Element of R
hence thesis by A1,XREAL_1: java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 21
end;
forjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 26
hence x
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
suppose={& = {;
hence thesis;
suppose Xjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
x beingobject
carrier java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
end;
end;
Prop1d:java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
kappa X /Z =kappa X)+kappa (X,)
proof
;
suppose
:X< {
A1: kappa xinthe R
A2: reconsider =xas ;
A3: kappa ( X/ )/cardX K;
X /\ (Y \/ Z) = (X /\ Y) \/ (X /\ Z) by XBOOLE_1:23; java.lang.StringIndexOutOfBoundsException: Range [0, 63) out of bounds for length 57
;
( carrierofcenterR=the by :;
hence thesis by A2,A3,A1,XCMPLX_1:62;
end;
suppose
: X{;then
A3: kappa (XR =R
kappa (X, Y) = 1 & kappa (X, java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 5
hence by A3
end;
;
theorem Prop1e: :: binary variant of Proposition 1 e)
X <> {} begin:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
kappa (X,Y orm
assume
A0: (0.(R, m )=lenA
A1:kappa (, \/Z ( \( /Z) XbyKappaDef
.= card ((java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A2: be java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
XZ java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
(X/ )\( /Z)=card ( \Y X/\Z)
by CARD_2:40,A0,XBOOLE_1:76;
hence then A5: width(R, mlMATRIX_020java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
begin (0.(R, m,len A))*A = (0.(R, m,len A) + 0.(R, m,len A))*A by MATRIX_3:4
definition let java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 61
mode preRoughInclusionFunction)A,MATRIX_1def4MATRIX_4:;
Function of [:bool the carrier of then 0.(R, m,width A) = B + (B - B):3
[.0,1.];
end;
definition let R be 1-sorted;
mode preRIF of of ;
end;
e R( >nonempty -,
F(Subset of A8:m =0
,f2beingpreRIFof R)st
(for x,y set RHS = 0.(R,;
for ,y beingSubset )holdsf2.x, (xy)) holds
=f2
proof
{ lenLHS
A1 by :ef 3;
A2:( ,being ofR)holds f2.,)=x,);
for x,y being. LHS4;
f2 thenA10:i Nat ij] LHS
proof
let x,y be Element of bool the carrier of R();
f1.(x,)=F,y)byA1
.= f2.(x,y) by A2;
end;
hence thesis java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 59
end;
definition let R be finite Approximation_Space;
IFof means::
for x,y being java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 6
existence
proof
(Subset RR ($$)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
l , ,;
for x,y A1 =0.w ,;
f.(x,y) = F(x,y) from BINOP_1:java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 30
consider f
A3:
[.0,1.] suchA4:len(0(, ,)= byMATRIX_0:ef;
A1: for x,y being Element :len(*0(,An)=enAbyMATRIX_3:ef4
f(y (,)
take f;
by
end;
uniqueness
proof
( ,R) = kappa($,2;
for f1, f2 hence thesis by A3,MATRIX_0:def 3;
(for x A>;
(for (for xjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 72
f1 =f2
hence thesis;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
begin :: Defining Two New RIFs
definition let. 0.widthAn) :20java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
let X,Y be Subset java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 8
func kappa_1 (X,Y) -> A10: len (0.(R,width A,n)
Y (\ )if \ > }
otherwise 1;
coherence
proof
Y/(\ ) .1]
proof
RHS=(Rl ,);
card Y / card (X \/ Y) <= 1 by XREAL_1: A11: len LHS = len A & width LHS = width (0.RwAn)
hence thesis by XXREAL_1:110;
end
hence thesis by XXREAL_1:1;
end;
consistency;
func kappa_2 (X,Y) -> Element of [.0,1.] equals
card (X` \/ Y) / card ([#]R);
coherence
proof
card (X` \/ Y) / card ([#]R) in [.0,1.]
proof
card (X` \/ Y) / card ([#]R) <= 1 by XREAL_1:183
hence thesis XXREAL_1:1;
end;
hence thesis;
end;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 4
definition let R be finite Approximation_Space;
func kappa_1 - preRIF R :efKappa1java.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 49
, beingSubset ofRholdsit.x,)=kappa_1 xy;
existence
deffunc F(Subset ofend;
ex f being Function of [ LHS len LHS java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 47
[0,. st
forend;
f.(x,y) = F(x,y) from BINOP_1:java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 6
Function of [: ,k,m,n
for Abeing m,,
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 56
f.(x,y) = F(x,y);
take f;
thus thesis by A1;
end;
uniqueness
proof
deffunc F(Subset of java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 5
for f1, java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 27
Function of [:bool the set p = mlt(Line(0.(R,m), i), Col)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
[0,.
(for x,y being Subset of R holds f1.(x,y) = F(
(for x,y being Subset of R holds f2A3:i9 ;
f1 = f2 from BinOpEq;
hence thesis;
end;
func kappa_2 R -> preRIF of R means :DefKappa2:
for x,y being Subset of holdsit.x,)=kappa_2 xy;
existence
proof
deffunc F(Subset of R,Subset.=len A by :5
ex f (, ):ef8;
[0.
for x,y being Elementproof
.xy (,y
consider f being
then ,:def7
[.=. ,:1
A1: for x,y ;
f.(x,y) java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
ake f;
thus thesis by A1;
end;
uniqueness
proof
deffuncF of RS of R $,2;
for f1, f2 being
Function of [:bool the carrier of3,MATRIX_0:def 8;
[.0,1.] st
(for x, Subset Rf1.x,y) F(x,))java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
(for x,y being Subset of R holds f2.(x,y) = F reconsidera1=Line0.(,m),i., a2 (,k.9
java.lang.StringIndexOutOfBoundsException: Range [37, 8) out of bounds for length 44
hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 37
(Y c java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
proof
per cases;
suppose
A1: X \/ Y <> {} & Y <> {}; then
a : indomp;
thus kappa_1
assume kappa_1 (X :lenLineA )=widthby :ef 7
cardY card X\ XCMPLX_1:58,1
hence thesis by LemmaCard;
end;
assume X c= Y; then
card (X\ )= Y by 12java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
A1:0,B1java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
end;
suppose
A1: X \/ Y <> {} & Y = {}; then
kappa_1 (X,Y) = card Y i9 in by A3F:ef3
inSegmlen (,,k)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
hence thesis by A1;
end;
suppose
X \/ Y = {};
hence thesis by Kappa1
end;
end;
theorem Prop11b: :: rif_1 for kappa_2A8:(.Rn,k.=0.R
proof
proof
XY java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 41
proof
assume kappa_2 then A9:i9 0(n java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 53
card in(.R) A1,FINSEQ_1def 3
i,] [ (,)Seg(idth(,):java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
end;
assume X c= Y[k 0.Rn)by MATRIX_0:def4;
X /Y=[] ;
hence thesis by XCMPLX_1:60;
end;
theorem LemmaProp4a:
kappa_1 (X, java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 59
proof
assume kappa_1as R ,;
card Y / cardthusp a1 by A3,:java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
hence thesis;
end;
theorem then width = 0by java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 38
X <> {} implies ( i9 in Seg len p by A ;
proof
assume
;
thus kappa_1 (X,Y) = 0 implies Y = {} by LemmaProp4a;
assume
:={;
kappa_1 (X,Y) = card Y / card (X \/ Y) by Kappa1java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
. /card ( /Y)by A2java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
.=0Rby,:35;
end;
theorem Prop4b: :: Proposition 4 b)
kappa_2(X,Y) = 0 ,kmnbeingNat
proof
thus kappa_2(X,Y) iin dom1(,) i dom
proof
assume
ac: kappa_2i,mnbeNat;
X` = beMatrixof m,nRjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
X`` = ({}R)`;
hencethesisby ;
end;
assume
A2: X = [#]R & Y = {}; then
X` = ({}R)``;
A2;
end;
theorem Prop2b:
Y c= Z implies kappa_1 (X,Y) <= kappa_1 (X,Z)
proof
assume
:Y c=Z;then
B3: card Z . 1.,m)byMATRIX_0 java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
.= card Y + card (Z len 1.,) A1:3;
ZA:card < X \ Y) by NAT_1:,:;
ZC: X \/ Z = X \/ (Y \/ (Z \ Y)) by A0,XBOOLE_1:45
.= X \/ Y \/ (Z \ Y) dom q = Seg len q by FINSEQ_1
casesjava.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
suppose
AA: X \/ Y A6iin ( 1.(,) A5,:24;
kappa_1 (X : [,] 1.R,m)
(card (X i,in[d1(m,( .R): A1A,87java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
card Z / (card (X \/ Y) + card ;
card Z (X\ )/( \))byCARD_243AXREAL_1;then
kappa_1 (X,Y =1R A7M:ef3;
yss,B3X
hence thesis by A8: pjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
X = {}then[,]in [dom1.R,) ( 1.(m)]byA1,ZFMISC_187
byA0java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
T1: X \/ YT1: X \/ Y
T3:X\ < { }java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
(, / card(X \/ java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 57
.=1 CMPLX_160T3;
hence thesis by T1,Kappa1;
end;
end;
theorem Prop3b:
Y c= Z implies java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 23
assume Y c= Z; then
X` /Yc=X \Zby :;
hence thesis by XREAL_1:72,NAT_1: (Ai * 1Rn,)=A * (i* (i,java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
end;
theorem Lemma2:
kappa_1 ({}R,X) = 1
proof
{R c= X;
hence thesis by Prop11a;
end;
theorem Lemma3:
kappa_2 ({}R,X) = 1
proof
{}R c= X;
hence thesis by Prop11b;
perc;
definition let R be non empty A3 > 0java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
let f be preRIF of R;
attr f is satisfying_RIF1 means. by: java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
forXY Subsetof .(Y X ;
attr f is satisfying_RIF2 means
for XYZbeingSubset
Y c= Z =Segn :;
attr f is satisfying_RIF3 means
of st
X <> {} holds f.(X,{}R) = 0;
means
for X,Y being Subset of R st
f.(X,Y) = 0 holds X misses Y;
end;
:: Towards weak quasi-RIFs, will be developed later on
definition let proof
let be of R;
attr f is. n MATRIX_024java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
for X,Y being Subset of R st X c=thenA8 kk 1., :;
attr f is satisfying_RIF01 means
for X,Y being Subset of R thus q.k = (1.(R,n)) * (k,A2,ATRIX_0:java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
attr f is satisfying_RIF2* means
,Y,Z SubsetofR java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
.(Y,)=1holds .X,)< f.X,Z;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
:: rif1 -> (rif2 iff rif2*)
:: qRifs are rif0 and rif2*
:: weak qRIFs are rif0 and rif2
letRbenon ;
cluster satisfying_RIF1 -> A12: dom 1.(R,n) = Seg (len 1.(R,n)) b:
for preRIF of R;
A13 dom q len q byFINSEQ_1d 3
cluster .= Seg 1.R,)by :ef8
for preRIFof ;
coherence;
endjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 52
registration..8java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
cluster kappa R -> satisfying_RIF1;
proof
set ;
for X, (((,) (1Rn,) FVSUM_1d 9
proof
let X,Y be end;
thus f.(XY) X c= java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
roof
assume f.(X,Y) = 1; then.=dom by FINSEQ_1:def 3;
kappa(X,Y) = 1 by DefKappa;
hence thesis by Prop1a;
end;
assume X
kappa(X,Y) = 1 by Prop1a;
hence thesis by DefKappa;
end;
hence thesis;
end;
cluster appa R - satisfying_RIF2;
forB being Matrix ,nR
proof
setA(* A*)*B
let X,Y,java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
assume Y c java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 33
(,Y<(,Zby
f.(X,Y) <= kappa (X,Z) by DefKappa;
hence thesis by DefKappa;
end;
>
coherence
proof
setf java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
for X,Y being Subset of R width (A*r) = width A by MATRIX_3:def 6
proof
let X,Y .lenBbyA,java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 45
f.Y java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 37
proof
assume f.(X,Y) = 1; then
kappa_1 (X,Y) = 1 by DefKappa1;
hence thesis by Prop11a;
end;
assume X c= .= A2MATRIX_0
XY by Prop11a;
hence thesis by DefKappa1;
end;
thesis;
end;
end;
suppose A >;:: textbook case
proof
f ;
let X,Y,Z be Subset of R;
assume Y c= Z; MATRIX_023
kappa_1 (X,Y) <= len (rB MATRIX_025java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
.XY =(, ;
hence thesis by DefKappa1;
end;
cluster kappa_2 R -> satisfying_RIF1; :: Proposition 3
proof
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 22
for X,Y being RholdsfXY =
=*B)byM
. java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 48
thusf(Y java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 37
proof
assume f.(X,Y j stij Indices
kappa_2 (X,
hence ;
end;
assume X c= Y; then
(, java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
by;
end;
hence thesis;
end;
: Seg] 4
coherence
set f = kappa_2 R;
Y, Rjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 23
kappa_2 (X,Y) <= kappa_2 (X,Z) by Prop3b; then
f.(X,Y) <= kappa_2 (X,Z) by DefKappa2;
hence thesis by DefKappa2;
end;
end;
registration let R;
cluster satisfying_RIF1 satisfying_RIF2 for preRIF of R;
existence
proof
take kappa R;
thus thesis;
end;
end;
theorem RIF2Iff:
for f being satisfying_RIF1 preRIF of R holds
f is satisfying_RIF2 iff f is satisfying_RIF2*
proof
let f be satisfying_RIF1 preRIF of R;
thus f is satisfying_RIF2 implies f is satisfying_RIF2*
proof
assume
A1: f is satisfying_RIF2;
let X,Y,Z be Subset of R;
assume f.(Y,Z) = 1; then
Y c= Z by RIF1Def;
hence thesis by A1;
end;
assume
A2: f is satisfying_RIF2*;
let X,Y,Z be Subset of R;
assume Y c= Z; then
f.(Y,Z) = 1 by RIF1Def;
hence thesis by A2;
end;
registration let R;
cluster satisfying_RIF2 -> satisfying_RIF2* for
satisfying_RIF1 preRIF of R;
coherence by RIF2Iff;
cluster satisfying_RIF2* -> satisfying_RIF2 for
satisfying_RIF1 preRIF of R;
coherence by RIF2Iff;
end;
registration let R;
cluster kappa R -> satisfying_RIF0 satisfying_RIF2*;
coherence;
end;
registration let R;
cluster satisfying_RIF0 satisfying_RIF1 satisfying_RIF2 satisfying_RIF2* for
preRoughInclusionFunction of R;
existence
proof
take kappa R;
thus thesis;
end;
end;
definition let R;
mode RoughInclusionFunction of R is
satisfying_RIF1 satisfying_RIF2 preRoughInclusionFunction of R;
end;
definition let R;
mode quasi-RoughInclusionFunction of R is
satisfying_RIF0 satisfying_RIF2* preRIF of R;
mode weak_quasi-RoughInclusionFunction of R is
satisfying_RIF2 preRIF of R;
end;
definition let R;
mode RIF of R is RoughInclusionFunction of R;
qRIF Ris-R;
mode wqRIF of LineAri =(B,j;
end;
begin :: Proposition 2
:: The following three should be obvious (Proposition 3)
:: kappa R is RIF of R;
:: kappa_1 R is RIF of R;
:: kappa_2 R is RIF of R;
theorem :: Proposition 2 a), binary case
X.=r*,(r) d 8
kappa (X.= B ;
proof
assume
A1: X <> {} & Z \/ W = [#]R & Z misses W;
3 X,)=card ( /\ W) / card X by A1
A6: X = java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 64
.= X /\ Z \/ X /\ W by XBOOLE_1:23;
A4: card (X /\ Z) + card (X /\ W) = card X by by;
appa XZ)+XW)=
card (X /\ Z) / card X + card (mltL(Ari)ColBj) A11FINSEQ_1 3;
. card X /cardX A4,:62java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
hence thesis XCMPLX_1:A1
end;
theorem java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 24
k (X,)=0 impliesX misses Y
proof
assume
A1: kappa (X,Y) = 0;
per cases;
suppose
; then
kappa (X,Y) = card (X /\ Y) / card X by java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 28
hence thesisbyA1,A2;
end;
suppose X = {};
hence thesis;
end;
end;
theorem Prop2b: ::: Proposition 2 b)
X <> {} implies (kappa (X,Y) = 0 iff X misses Y)
proof
assume
AA: X <> {};
thus kappa (X,Y) = 0 implies X misses Y by LemmaProp2b;
assume X misses Y; then
card (X /\ Y) / card X = 0;
hence thesis by AA,KappaDef;
end;
theorem Prop2c: :: Proposition 2 c)
X <> {} implies kappa (X,{}R) = 0
proof
assume X <> {}; then
kappa (X, theniin dom LHS &jin widthLHSby :7
hence thesis;
end;
theorem :: Proposition 2 d)
X < }&X misses Y
kappa (X, Z \ ind by: ;
proof
assume
A1: X <> {} [,9]in IndicesA MATRIX_0:def4;
D1: kappa (X,Y) = 0 by Prop2b;
: XZ) =kappa X Z/\ Y)\ Z\Y) by :java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
.= kappa (, Z/\ Y)+kappa (X,Z \ )
i][A)S((*))] by ,17,FMISC_187;
kappa (X,Z /\hence ii9 IndicesA MATRIX_0:ef4;
D5:kappa XZ \Y 0 by :;
:kappa( / =(,)+ Y
kappa A18 =*ii9 =(**ii)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
by,D3,X:java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
end;
Test1:
Z misses W implieshence i9 Indices(*B :def4
proof
assume
;
per cases;
suppose
S3: Y /\end;
A1: Yconsider ,being R such that
:( \ )/ W Y / by XBOOLE_1:78,0;
card Y* by A18MATRIX_3def6;
\ W /card(Y \ Z < card Y / W)/ card Y
by A1,XREAL_1:118; A25: Line(A*r,i).i9aa2 &Col(,j.i9 =bb2 A15,18A20,A23;
card ((Y \/ Z) /\ W) / card (Y \/ Z thus (Line(,),ol(r*,j).9
,W < kappa (, W) by A1,appaDef;
end;
= (a1 r)*bb2 by A24,ROUP_1 3
Z0: Y /\ W = {} & Y \/ Z <> {} & Y <> {}; then
Z1: Y misses W; then
Y \/ Z misses W by A0,XBOOLE_1:70; then
kappa (Y \/ Z, W) = 0 hence mlt(ine(,i,Col(*B,j)=mlt(ine(ri,Col(B,)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
hence thesis by Z1,Z0, end;
end;
suppose
Z0: Y /\ W = (lt(LineAi)Colr*j) FVSUM_1d
kappa Y\ Z ) =0 by A0,Prop2bjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
by KappaDefjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
end;
suppose
Y /\ W = {} & Y \/ Z hence A*rB) A*r*Bby A7M:1java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
Y {}& Z ={;
hence thesis;
end;
end;
Test2::: Proposition 2 e)
Z misses W implies kappa (Y, W) <= forA being Matrix of R
proof
assume
A0: holds (r1A)r2= r1*(A*)
per java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 5
suppose
S3: let A MatrixofR;
:Y < }by ;
per cases;
suppose
Y =len A MATRIX_3def
kappa =len(Ar2 MATRIX_3defjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
thesis :1;
end;
suppose
b1: not Y c= Z; = width A by MATRIX_3:def 5
B1: Y \ Z <> {} by XBOOLE_1:37;
B2: ( \ Z)/\ Y/\ W) \ (Z /\ W) by XBOOLE_1:111
.= Y /\ W by A0;
( \Z = card Y NAT_1:43,XBOOLE_1:36;then
card (Y /\ W) / card Y <= card (Y /\ W) / card (Y \ Z for i, being Nat st [i,j]inIndices(r1A*r2
by :,B1;then
kappa (Y,W)
hence i, beNat;
;
;
suppose
:Y/ = {} & /Z> Y< }
Y misses W; then
kappaassume A3 ij (*(r2*A)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
:1;
end;
. :rA, widthr*)]by A1,A2,: java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
Y/ ={}&Y\ Z < { &Y = };
hence thesis;
end;
suppose
Y /\ W = {} & Y \/ Z = {}; then
= { &Z= {;
hence thesis;
.=[dom (r1(*A)Seg width(*r2*A):java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
end;
theorem :: Proposition 2 e)
Z misses W implies
kappa Y\ Z ) < kappa (Y, W) <= kappa (Y \ Z,W) by Test1,Test2;
Y misses Z & Z c= . (* A*ij)) by GROUP_1d java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
proof
assume
A0: Y misses Z & Z c= W;
per cases;
suppose
AA Y< {;
Y /\ W c= Y by XBOOLE_1:17; ;
T2: card (Y /\ W) / card:: MATRIX_5:24 generalized and weakened
theorem :
T4: rbeingElementof R
holdsr*0.R,) 0.R,)
T3: cardjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
T1: (Y \/ Z) forjNat ij .Rn)
.=( / W \/ Z byA0,:
kappa (
KT2java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
hence thesis by KappaDef, hence (r*0.(R,n)) * (i,j) = rR, (ij)byjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
end;
suppose
Y = {}; then
kappa (Y \/ ;
0(n .Rn 27java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
end;
end;
Test2AAA:
Z& cWY )> java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 62
proof
A0: Y misses Zjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
per cases;
Y <> {};
thus thesis by A0,XBOOLE_1:83;
end;
suppose
set L=r*,=r(*)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
end;
end;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 27
esY&Z=implies
kappa ( :len B= 0by,A2,:25;
begin :: Proposition 4
let R;
let X be non empty :=A6defjava.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 49
cluster. ,A4def ;
coherence by Prop2c;
end;
theorem Kappa1RIF4:
kappa_1 (X,Y) ;
proof
assume
A1: kappa_1 (X,Y) = 0;
per cases;
suppose X <> {}; then
Y = {} by A1,Prop4a;
hence thesis;
end;
suppose X = {};
hence thesis;
end;
end;
theorem A10: len LHS java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 50
kappa_2 (X,Y) = 0 implies X misses Y
proof
(,Y=0 java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
X = [#]R & Y = {} by Prop4b;
hence thesis;
end;
registration let R; :: Proposition 4 c)
cluster kappa R -> satisfying_RIF4;
coherenceforijst[j Indicesjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
proof
let X,Y be Subset of R;
assume ( ij ;
kappa ( i RHS
hence java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 11
;
cluster kappa_1 R - [len,java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 69
coherence
proof
let X,Y be .byjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
assume kjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 38
X
hence thesis by Kappa1RIF4
end;
cluster kappa_2 R -> satisfying_RIF4 = [Seglen (r*(A*B)),Seg width (r*(A*B)):]
coherence
proof
etX, be Subset of ;
assume (kappa_2 R).( .=[Seg len (*)Segwidth (A*)] by MATRIX_35
kappa_2 (, DefKappa2
hence thesis by Kappa2RIF4;. AB defjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
end;
end;
:: Proposition 4 d)
kappa(X,Y) <= java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 11
proof
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
A0: X <> {}; then
WA
U1: let java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
J0: card Y <= card (X \/ Y[,]:(AAB: 4java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
X/Y= /Y\ :;then
ij9 d java.lang.StringIndexOutOfBoundsException: Range [45, 42) out of bounds for length 66
:51;
(X /\ Y) misses A18 A)j9=(,j9 A16Mjava.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 61
:cardY=( \Y (Y \ Cjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
( /Y`=X \Y`53
(X \/ Y)` \/ Y = (.=( *A). by51;
.= (X` \/ Y) /\ [#]R by PRE_TOPC:2
. X )\ byjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 56
:`\ X )\=(\Y)\ by39java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
( /Y`c `by:,;
(X \/ Y)` misses Y by SummltLrA,) (,j)d 9
:(`\Y ( /` C40;
card (X /\ Y) / card X <= (.= r*Sum(mlt(Line,i j) 73
(Xcard(\)by,,U1;
kappa (X,Y) <= (card (X /\ Y) +.=r(AB*ij) A,java.lang.StringIndexOutOfBoundsException: Range [63, 59) out of bounds for length 65
(\ Y A0D3
hence kappa(X,Y) <= kappa_1(X,Y) java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 8
( /`\( /Y)=#R:;
card
hence thesis by D5,A0,J0,Lemacik,WA;
end;
suppose
X = {}; then
b3: X = {}R; then
kappa_1(X,Y) = 1 by Lemma2;
hence let A be Matrix R;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
end;
theorem :: Proposition 4 e)
kappa_1 (X,Y) =
proof
per cases;
suppose
A1: thuslen-rA) (r*)4
( /YY (\ )\ X\Y
.= card Y / card (X \/ Y) by XBOOLE_1:21thuslenr)= A java.lang.StringIndexOutOfBoundsException: Range [41, 37) out of bounds for length 44
hence thesis by A1,Kappa1;
end;
suppose
A1: X = {}; then
AA: X c= Y;
kappa (X \/ Y, Y) = 1 by Prop1a,A1;
hence thesis by Prop11a,AA;
end;
end;
LemmaKap1:
kappa(X,Y) = kappa(X,X /\ Y)
proof
per cases;
suppose
S0: X <> {}; then
kappa (X,X /\ Y) = card (X /\ (X /\ Y)) / card X by KappaDef
.= card (X /\ X /\ Y) / card X by XBOOLE_1:16;
hence thesis by S0,KappaDef;
end;
suppose
S1: X = {}; then
kappa (X,Y) = 1 by KappaDef;
hence thesis by S1,KappaDef;
end;
end;
LemmaKap2:
kappa_1(X,X /\ Y) = kappa_1(X \ Y,X /\ Y)
proof
per cases;
suppose
S0: X \ end;
S2: X <> {};
S3: kappa_1 (X,X /\ Y) = card (X /\ Y) / card (X \/ (X /\ Y))
by Kappa1,S0
.= card (X /\ Y) / card X by XBOOLE_1:22;
(X \ Y) \/ (X /\ Y) = X by XBOOLE_1:51;
hence thesis by S3,S2,Kappa1;
end;
suppose
S0: X \/ (X /\ Y) = {}; then
S4: kappa_1(X,X /\ Y) = 1 by Kappa1;
(X \ Y) \/ (X /\ Y) = X by XBOOLE_1:51
.= X \/ (X /\ Y) by XBOOLE_1:22;
,,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
end;
end;
LemmaKap3:
X,/ ) X, /\ java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
proof
per cases;
suppose
:X /(X \Y >{
S3: kappa_1 (X,X /\ Y) = card (X /\ Y) / card (X \/ (X /\ Y))
by Kappa1
.= card (X /\ Y) / card X by XBOOLE_1:22;
X <> {} by S0; then
kappa(X,X /\ Y) = card (X /\ (X /\ Y)) / card X by KappaDef
.= card (X /\ X /\ Y) / card X by XBOOLE_1:16;
hence thesis by S3;
end;
suppose
S0: X \/ (X /\ Y) = {}; then
S3: kappa_1 (X,X /\ Y) = 1 by Kappa1;
X = {} by assume A3: [i,(-)A;
by ,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
end;
end;
Lemma4f1:
(, [], /java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
proof
kappa ([#]R, X` \/ Y) = card ([#]R /\ (X` \/ Y)) / :A: java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
by KappaDef
.= card (X` \/ Y) / card ([#]R);
hence thesis;
end;
Lemma4f2:
kappa ([#]R, X` \/ Y) = kappa ([#]R,X`) + kappa ([#]R, X /\ Y)
proof
a0: X` misses X by XBOOLE_1:85;
X` \/ Y = [#]R /\ (X` \/ Y)
.= (X` \/ X) /\ (X` \/ Y) by PRE_TOPC:2
.= X` \/ (X /\ Y) by XBOOLE_1:24; then
A1: card (X` \/ Y) = card (X`) + card (X /\ Y) by a0,CARD_2:40,XBOOLE_1:74;
kappa ([#]R, X` \/ Y) = card ([#]R /\ (X` \/ Y)) / card [#]R by KappaDef
.= (card ([#]R /\ X`) / card [#]R) + card (X /\ Y) / card [#]R
by XCMPLX_1:62,A1
.= kappa ([#]R,X`) + card (X /\ Y /\ [#]R) / card [#]R by KappaDef
.= kappa ([#]R,X`) + kappa ([#]R, X /\ Y) by KappaDef;
hence thesis;
end;
theorem :: Proposition 4 f)
kappa_2 (X,Y) = kappa ([#]R, X` \/ Y) =
kappa ([#]R,X`) + kappa ([#]R, X /\ Y) by Lemma4f1,Lemma4f2;
theorem :: Proposition 4 g)
kappa(X,Y) = kappa(X,X /\ Y) = kappa_1(X,X /\ Y) = kappa_1(X \ Y,X /\ Y)
by LemmaKap1,LemmaKap2,LemmaKap3;
theorem :: Proposition 4 h)
X \/ Y = [#]R implies kappa_1(X,Y) = kappa_2(X,Y)
proof
assume
AB: X \/ Y = [#]R;
X`` \/ Y = [#]R by AB; then
F1: card Y = card (X` \/ Y) by XBOOLE_1:12,LemmaSet;
per cases;
suppose
X \/ Y <> {};
thus thesis by F1,AB,Kappa1;
end;
suppose X \/ Y = {};
hence thesis by AB;
end;
end;
theorem :: false for X = {}!
X <> {} implies 1 - kappa (X,Y) = kappa (X,Y`)
proof
assume
A1: X <> {};
a2: Y \/ ([#]R \ Y) = [#]R by XBOOLE_1:45;
kappa (X,Y \/ = [Seg len ,SegA]by : 3
by A1,Prop1e.=[domr)S (r*A: A1A,: java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
kappaXY)+kappa (XY)=1bya2P;
hence thesis;
end;
:
:: are distinct -- Example 1 and 2 translated
:: calculations in Mizar seem to be too complex, my propositions are a bit
:: shorter than in the original
definition let X be set;
func DiscreteApproxSpace X -> strict RelStr equals
RelStr (# X, id X #);
coherence;
end;
registration let X be set;
DiscreteApproxSpace - ;
coherence;
end;
registration let X be non empty set;
cluster DiscreteApproxSpace X -> non java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
coherence;
;
registration let X be ::: similar to MATRIX_3:18
X >;
coherence;
end;
definition
func ExampleRIFSpace -> strict finite java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 0
DiscreteApproxSpace forD non set
correctness;
end;
theorem:java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
X, being ExampleRIFSpace
st X = {1, et be non et;
kappa (X,Y) <> kappa (Y,X)
proof
let X,Y be Subset of A1: Indices M = [: Seg 1,Seg 1 :] & 1 1
assume
A1: X ={,}&2,;then
A3: card Y = 3 by CARD_2:58;
Z1: kappa (Y,X) = card (Y /\ X) / card Y by KappaDef, M*(, < * ( 11)** i)
set U = the carrier of ExampleRIFSpace;
2 in Y & not 1 in Y by A1,ENUMSET1:def 1; then
X / proof
A4: card (X /\ Y) = 1 by CARD_1:30;
kappa (X,Y) = card (X /\ Y) / card X by KappaDef, assume i]in M;
.=1/ 2 by ,1,ARD_2:7
hence thesis by A3, FINSEQ_1:2,: ;
end;
theorem :: Example 1, kappa is not monotone wrt 1st coordinate
XYU of
st X =e;
(,)< YU
proof
let X,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A1: X = {1, .L) **(.)*>java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A3: card Y = 3empty;
1(1 :Seg1,Seg:&1 Seg1
X / by224,def;
R1: card (X /\ U) = 1 by CARD_1:30;
X :,;
R0: U = {2} \/ {4,5} by A1,ENUMSET1:2;
ro: 2 in Y by A1,ENUMSET1:def 1;
: Y : ;
not 5 in Y by A1,ENUMSET1:def 1; then
rr: Y misses {4,5} java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
M1 java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 31
.= Y /\ {2} by rr; then
Y /holds M1* MATRIX_320java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
Th36
x java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 28
kappa YU R3A,;
hence thesis by W4;
end;
theorem :: Example 2, simplified: all three RIFs are different
,Y
st X = {1,2} & Y = {2,3,4} holds
kappa (X,Y), kappa_1 (X,Y), kappa_2 (X,Y) are_mutually_distinct
let X,Yjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
forr java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
1 X ={,}& ={,,} then
A3: card Y = 3 by CARD_2:58;
set U = the carrier of ExampleRIFSpace;
1,2,3,4,5 let r,s be ElementR;
setset M <*< >>, M1 =<< (r s) >* **s*r >;
2 in Y & not 1 in Y by A1,ENUMSET1:def 1; then
X /\ Y = {2} by ZFMISC_1:54,A1; java.lang.StringIndexOutOfBoundsException: Range [2, 40) out of bounds for length 36
:X/ )=1 CARD_130java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
a5: X\ Y= 1, /( \/ {3,} A1E:
.= { : r*M) :1,1)] java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
.= {1,2} \/ {3,4} by ZFMISC_1:9
.= {1,2
in{,5} 2 in {3,4,5} by ENUMSET1:def 1; then
in1 1 ,java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 57
WW: 3 in {3,4,5} & 4 in
X 1,}\ 34,} 1, A1
.= {3,4,5} by XBOOLE_1:88,W2; then
X` \/ Y =. M1 * (ij A349java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
.= {2} \/ ({3,4} \/ {3,4,5}) by XBOOLE_1:4
.= {2} forijNat ij]Ijava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 47
X` \/ Y = {2,3,4,5} by ENUMSET1:4; then
W3: card (X` \/ A4[,] (*;
W4: kappa (X,Y) = card (X /\ Y) / card X by KappaDef, A5: ( )S 1,Seg1: :24
.= 1 / 2 by A4,A1,CARD_2:57;
kappa_1 (X,Y) =
=3 / A3a5:;
hence thesis by ZFMISC_1:def 5,W4,W3;
end;
4.1Annas
:: A Comparative Study of Some Generalized Rough Approximations"
:: Fundamenta Informaticae, 51(2002), pp. 103-119
theorem ::: Theorem 4.1 c) from Gomolinska's "A Comparative Study...".s*r49
forR Approximation_Space
u java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 2
x,y being Subset of:: http://creativecommons.org/licenses/by-sa/3.0/.
u u in
holds kappa (y, x) > 0
proof
be
u be Element ofjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
x,beSubset iji java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
assume
:uin
Rxuis java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Range [13, 7) out of bounds for length 61
t
=.)by24java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
kappa (y,x) <> 0 by AB,AA,LemmaProp2b;
hence thesis i]in[)eg: java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 53
FINSEQ_121
theorem:
Rfinitehence thesis by A2,A1,FDIFF_2
u ofR,
xjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
u in (Flip .=-cos.x/(sin)2:
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 26
proof
x,y be Subset ( (`Z).x =./(.)
).
(java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
(java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 5
v being Element ofjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A3
thus by Prop1a:java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
end xb/(os(*xetRbenon ZeroOneStr;
¤ Dauer der Verarbeitung: 0.19 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|