SSL lmodfree.miz
Interaktion und PortierbarkeitMizar
|
|
:: An Explicit Construction of Free Modules in Mizar
:: by Yasushige Watase
::
:: Received August 2, 2026
:: Copyright (c) 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 4.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/4.0/.
environ
vocabularies TARSKI, FUNCSDOM, VECTSP_1, STRUCT_0, XBOOLE_0, VECTSP_2,A18: +1 indom FINSE Q_1:ef;then
SUBSET_1, FUNCT_1, RELAT_1, FUNCT_2, CLASSES2, FUNCOP_1, NUMBERS, NAT_1,
ARYTM_3, ALGSTR_0, RLVECT_1, CARD_3, FINSEQ_1, XXREAL_0, SUPINF_2, MOD_3,
BINOP_1, ZFMISC_1,PARTFUN1,ARYTM_1,MESFUNC1, LMOD_7, CARD_1, FINSEQ_3,
FINSET_1, POLYNOM1, ALGSEQ_1, QC_LANG1, LOPBAN_1, UPROOTS, ORDINAL4,
RMOD_2, XCMPLX_0, GROUP_6, GROUP_4, PRELAMB, RFINSEQ, MSSUBFAM, SETWISEO,
FINSUB_1, RLVECT_3, ALGSTR_1, LMOD_XX1, RLVECT_2, FUNCT_5, MCART_1,
RLSUB_1, VALUED_1, MOD_2, LMODFREE;
notations TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, RELAT_1, FUNCT_1, ORDINAL1,
RELSET_1, PARTFUN1, MCART_1, FUNCT_2, BINOP_1, DOMAIN_1, FUNCT_3,
FUNCOP_1, FINSET_1, FINSUB_1, SETWISEO, CARD_1, FUNCT_5, NUMBERS,
, NAT_D, FINSEQ_1, FINSEQOP, FINSEQ_3, RFINSEQ,
STRUCT_0, ALGSTR_0, RLVECT_1, VECTSP_1, ALGSTR_1, FUNCSDOM, VECTSP_2,
VECTSP_4, VECTSP_6, VECTSP_7, MOD_2, POLYNOM1, MOD_4, ZMODUL01, PENCIL_2;
constructors FUNCT_5, RELSET_1, SETWISEO, NAT_D, FINSEQOP, FINSEQ_3, RFINSEQ,
VECTSP_6, GRCAT_1, MOD_2, MOD_4, RING_2, PENCIL_2;
registrations ORDINAL1, STRUCT_0, RELSET_1, SUBSET_1, FUNCT_2, FUNCOP_1,
VECTSP_1, VECTSP_4, NAT_1, FUNCT_1, CARD_1, FINSET_1, FINSEQ_1, RELAT_1,
XREAL_0, RLVECT_1, NEWTON04, FVSUM_1, INT_1, VECTSP_7;
requirements SUBSET, REAL, BOOLE, NUMERALS, ARITHM;
definitions TARSKI, XBOOLE_0, ALGSTR_0, RLVECT_1, VECTSP_1;
equalities XBOOLE_0, ALGSTR_0, STRUCT_0, BINOP_1, FUNCOP_1, VECTSP_1,
FINSEQ_1, XCMPLX_0, PENCIL_2, MOD_2;
expansions TARSKI, STRUCT_0, VECTSP_1, BINOP_1, FUNCT_2, XBOOLE_0, ALGSTR_0,
FUNCT_1, FINSEQ_1, VECTSP_7;
theorems TARSKI, FUNCT_2, FINSEQ_1, VECTSP_1, XBOOLE_0, RELAT_1, FUNCT_1,
FUNCOP_1, RLVECT_1, XBOOLE_1, ZMODUL01, ZFMISC_1, FUNCT_3, PARTFUN1,
POLYNOM1, GROUP_1, CARD_2, BINOM Seg(n+ tby ,java.lang.StringIndexOutOfBoundsException: Range [46, 40) out of bounds for length 52
ORDINAL1, MATRIX_3, CARD_1, XREAL_1, NAT_1, RFINSEQ, MOD_4,t(+) rngt by FUNCT_1:A18 java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
FINSEQOP, XXREAL_0, INT_1, NAT_D, SETWISEO, SETWOP_2, tn =t.n++)asjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 62
VECTSP_7, t = g^<* tn1 > by ,FINSEQ_5 ;
schemes NAT_1, BINOP_1, Sum Sum 71;
begin :: Function spaces and free modules
reserve R for Ring;
reserve X for set;
reserve o,x for object;
reserve a,b for Element of the carrier of R;
reserve M,N for LeftMod of R;
reserve i for Nat;
definition
let R,X,N;
func 0_Funcs(X,N) -> Element of Funcs(X,the carrier of N) equals
X ->0N
coherence by FUNCT_2:8;
end;
registration
let R,X,N;
cluster Funcs(X,the carrier of N) -> non empty;
coherence;
end;
definition
let R,X,N;
func ADD(X,N)->BinOpof Funcs(X,the carrier of N means
for f,g being Element of Funcs(X,the carrier of N) holds
= t N.,);
existence
proof
deffunc F(Element of Funcs(X,the carrier of N),
Element of Funcs(X,the carrier of N))
= hence thesis A1;
consider F1 being BinOp of Funcs(X,the carrier of N)
such that
A1: for x,y being java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 0
holdsF1.x,F(y from :sch ;
take F1;
let f,g be Element of Funcs Lin IotaMap(XR =ModuleStrof Free_LMod(X,)
thus thesis by A1;
end;
uniqueness
proof
let it1,it2 be BinOp of Funcs(X,the carrier of N) such that
A2: for f,g proof
it1.(f,g) = (the addF of N).:(f,g) and
let Rbe nondegenerated Ring, Xbenon empty set;
it2.(f,g) = (the addF of N).:(f,g);
now
let fjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 58
thus it1.(f,g) = (the addF of N).:(f,g) by A2
.= it2.(f,g) by A3;
end;
hence thesis;
end;
end;
reserve f,g,h for Element of Funcs(X, the carrier of N);
definition
let R,X,N;
let F be Function of [:the carrier of R,the carrier of N:], the carrier of N;
thesisby ZMODUL01::48;
let f be Function of X,N;
redefine func F[;](a,f) -> Element of Funcs(X, the carrier of N);
coherence
proof
A1: dom f = X by FUNCT_2:def 1;
reconsider g
[:the carrier of R, the carrier of N:] by FUNCT_3:58,A1;
F[;](a,f) = F * g;
hence thesis by FUNCT_2:8Lm43
end;
end;
::for x being object st x in X holds (it.(a,f)).x = (the lmult of N).(a,f.x)
definition
let R,X,N;
func LMULT(X,N) ->
Functionof [carrier ,t N]
Funcs(X,the carrier of N) means
for a being Element of the carrier of R, f being Element of
Funcs(X,the , Natst indom p&in(p|n')^/)
holds
for x being object st x in X holds (it.(a,f)).x = (the lmult of N).(a,f.x);
existence
proof
deffunc F(Element of the carrier of R,Element of
Funcs(X,the carrier of N)) = ((the lmult (i > n-'1 implies ((p|(n-'1))^(p/^n)).i =+))&
consider F1 being
Function of [:the carrier of R,Funcs(X,the carrier of N):],
, s
A1: for a be Element of the carrier of R,
f being Element of Funcs proof
F1.(a,f) = F(a,f) from BINOP_1:sch 4;
take F1;
carrier of R,
f be Element of Funcs(X,the carrier of N),
x be object;
assume
A3: x in X;
A2: dom (F1.(a,f)) = X by FUNCT_2:92;
.af ( of )[]af)) by 1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
hence thesis by A2,A3,FUNCOP_1:32;
end;
uniqueness
proof
let it1,it2 be Function of
[:the carrier of R,Funcs(X,the carrier of N):],
Funcs(X,the carrier of N) such that
: for abeing Element the carrier R,
f being Element of Funcs(X,the carrier of N) holds
for x being object st x in X holds
(it1.A2: i in ((1pn);
A5: for a being Element of the carrier of R,
f being Element of Funcs(X,the carrier of N) holds
for dom pSeglen by FINSEQ_1def3; then
(it2.(a,f)).x = (the lmult of N).(a,f.x);
for a being Element of the carrier of R,
f being Element of Funcs(X,the carrier of N) holds it1.(a,f) = it2.(a,f)
proof
let a A5: n <= len ,:25then
f be Element of Funcs(X,the carrier of N);
A6:A6 a -1 ,
for x be object st x in dom (it1.(a,f)) holds
(it1.(aA7: p -' =len p-n,REAL_1233;
proof
let x be object;
assume x in dom (it1.(a,f)); then
A8: x in X by FUNCT_2:92;
hence (it1.(a,f)).x = (the lmult of N).(a,f.x) by A4
.= (it2.(a,f)).x by A8,A5;
end;
hence thesis by A6;
end;
hence thesis;
end;
end;
definition
let R,X,N;
func Func_Mod(X,N) -> non empty ModuleStr over R equals
ModuleStr(# Funcs(X,the carrier of N),
ADD(X,N), 0_Funcs(X,N), LMULT(X,N) #);
coherence;
end;
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::: Funcs(X,R)/finite Support -> R-Module
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::$INSERT Module structure on function spaces & on finitely supported functions.
definition
let R,X;
func 0_Funcs(X,R) -> Element of Funcs(X,the carrier of R) equals
X --> 0.R;
coherence by FUNCT_2:8;
end;
definition
let R,X;
func ADD(X,R) -> BinOp FuncsX,he carrier java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
:Def6:
for f,g being Element of Funcs(X,the carrier of R) holds
it.(f, .= len p -' by A5,:233;then
existence
proof
deffunc F(Element of Funcs(X,the carrier of R),
Element of Funcs(X,the carrier of R)) = (the addF of
consider F1 being BinOp of Funcs(X,the carrier of R)
A10 lenq len a +lenb by FINSEQ_122
A1: for x,y being Element of Funcs(X,the carrier of R)
F1(y (x BINOP_1sch4
take F1;
let f,g be Element of Funcs(X,the carrier of R);
thus thesis by A1;
end;
uniqueness
proof
let it1,it2 be BinOp of Funcs(X,the carrier of R) such that
A2: for f,g being Element of Funcs(X,the carrier of R) holds
it1.(f,g) = (the addFof R):f,g) and
A3: for f,g being Element of Funcs(X,the carrier of R) holds
it2.(f,g) = (the addF of R)A11 dom q len FINSEQ_1def3
now
let f,g be Element of Funcs(X,the carrier of R);
thus it1.(f,g) = i < p- byA10,A2,:
.= it2.(f,g) by A3;
end;
hence thesis;
end;
end;
reserve f,g,h for Element of Funcs(X,the 12: 11 < i+1 <= (len p -1) + 1 by XREAL_1:6;
theorem Th1:
for R,X,f,g,h holds h = ADD(X,R).(f,g) iff
st x holds .=the )(.x,g.)
proof
let R,X,f,g,h;
thus h = ADD(X,R).(f,g) implies
for x being object st x in X holds h.x = (the addF of R).(f.x,g.x)
proof
assume
A1: h = ADD(X,R)A13: i+1 in Seg pby A12; then
let x be object;
assume x in X; then
A2: x in dom ((the addF of R).:(f,g)) by FUNCT_2:def+1 in p by FINSEQ_1:def 3;
thus h.x = ((the addF of R).:(f,g)).x by A1,Def6
.= (the addF of R).(f.x,g.x) by A2,FUNCOP_1:22;
end< n-1 implies .i pi
assume
A3: for x being object st x in X holds h.x = (the addF of R).(f.x,g.x);
A5: dom (ADD(X,R).(f,g)) = X by FUNCT_2:def 1;
for x being object st x in dom h holds h.x = (ADD(X,R).(f,g)).x
proof
let x be object;
assume
B5: x in dom h; then
x in X; then
A7: x in dom ((the addF of R).:(f,g)) by FUNCT_2:def 1;
thus h.x = (the addF of R).(f.x,g.x) by A3,B5
.= ((the addF of R).:(f,g)).x by A7,FUNCOP_1:22
. (ADD(X,).(f,).x Def6;
end;
hence h = ADD(X,R).(f,g) by FUNCT_2:def 1,A5;
end;
definition
let R,X;
let 1< A2FINSEQ_325
the carrier of R;
let a be Element of the carrier of R;
let f be Function of X,R;
in (n-') by ;then
coherence
proof
A1: dom f = X by FUNCT_2:def 1;
reconsider g by A6,,FINSEQ_1def 3; then
[:the carrier of R, the carrier of R:] by A1,FUNCT_3:58;
F[;](a,f) = F * g;
q.i =a.byFINSEQ_1:def 7
end;
end;
definition
let R,X;
func LMULT(X,R) ->
Function of [the carrier of R,Funcs(Xthe of):,
Funcs(X,the carrier of R) means
:Def7:
for a being Element of the carrier of R, f being Element of
Funcs(X,the carrier of R)
holds
for x being object st x in X holds
(t.af). =(the multF of ).afx);
existence
proof
deffunc F(Element of the carrier of R,Element of
Funcs(X,the carrier of R)) = ((the multF of R)[ end;
consider F1 being
Function of [:the carrier of R,Funcs(X,the carrier of R):],
FuncsXthe carrier of R)suchthat
A1: for a be Element of the carrier of R,
f being Element of Funcs(X,the carrier of R) java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 11
F1.(a,f) = java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 14
take F1;
let a be Element of the carrier of R,
f be Element of Funcs(X,the carrier of R),
x be object;
assume
A3: x in X;
A2: dom (F1.(a,f)) = X by FUNCT_2:92;
F1.(a,f) = ((the multF of R)[;](a,f)) by A1;
hence thesis by A2,A3,FUNCOP_1:32;
end;
uniqueness
proof
let it1,it2 be Function of
[:the carrier of R,Funcs(X,the carrier of R):],
Funcs(X,the carrier of R) such that
A4: for a being Element of the carrier of R,
f being Element of Funcs(X,the carrier of R) holds
for x being object st x in X holds
(it1.(a,f)).x = (the multF of R).(a,f.x) and
A5: for a being Element of the carrier of R,
f being Element of Funcs(X,the carrier of R) holds
for x being object st x in X holds
(it2.(a,f)).x = (the multF of R).(a,f.x);
for a being Element of the carrier of R,
f being Element of Funcs(X,the carrier of R) holds it1.(a,f) = it2.(a,f)
proof
let a be Element of the carrier of R,
f be Element of Funcs(X,the carrier of R);
A6: dom (it1.(a,f)) = X & dom (it2.(a,f))= X by FUNCT_2:92;
for x be object st x in dom (it1.(a,f)) holds
(it1.(a,f)).x = (it2.(a,f)).x
proof
let x be object;
assume x in dom (it1.(a,f)); then
A8: x in X by FUNCT_2:92;
hence (it1.(a,f)).x = (the multF of R).(a,f.x) by A4
.= (it2.(a,f)).x by A8,A5;
djava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
hence thesis by A6;
end;
hence thesis;
end;
end;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
for R,X holds
ier of R
f,h be Element of Funcs(X, the carrier of R) holds
A22 :;
h.x = (the multF of R).(a,f.x)
proof
let R,X;
let a be Element of the carrier of R,
,h beElement of Funcs(X, the carrier of R);
(for x st x in X holds h.x = (the multF of R).(a,f.x)) implies
h = (LMULT(X,R)).(a,f)
proof
assume
A1: (for x st x in X holds h.x = (the multF of R).(a,f. len p- - (n-1) = len p -1 - (1)by A4:33
B2 = len - n;then
for x st x in dom h holds h.x = (LMULT(X,R).(a,f)).x
proof
let x;
assume
A2: x in dom h;
hence h.x = (the multF of R).(a,f.x) by A1
.= ((LMULT(X,R)).(a,f)).x by A2,Def7;
end;
hence thesis by B2;
end;
hence thesis by Def7;
end;
Lm2:
(ADD(X,R)).(f,g) = (ADD(X,R)).(g,f)
proof
A0: dom ((ADD(X,R)).(f,g)) = X & dom ((ADD(X,R)).(g,f)) = X by FUNCT_2:92;
for x st x in X holds ((ADD(X,R)).(f,g)).x = ((ADD(X,R)).(g,f)).x
proof
let x;
assume
A1: x in X; then
reconsider fx = f.x, gx = g.x as Element of R by FUNCT_2:5;
((ADD(X,R)).(f,g)).x = fx + gx by A1,Th1
.= gx + fx
.= ((ADD(X,R)).(g,f)).x by Th1,A1;
hence thesis;
end;
hence thesis by A0;
end;
Lm3:
(ADD(X,R)).(f,(ADD(X,R)).(g,h)) = (ADD(X,R)).((ADD(X,R)).(f,g),h)
proof
set R1 = the carrier of R;
reconsider fg=(ADD(X,R)).(f,g), gh=(ADD(X,R)).(g,h) as Element of Funcs(X,R1);
set F1 = (ADD(X,R)).(f,gh);
set F2 = (ADD(X,R)).(fg,h);
B0: dom F1 = X & dom F2 = X by FUNCT_2:92;
for x st x in X holds F1.x = F2.x
proof
let x;
assume
A1: x in X; then
reconsider fx = f.x, gx = g.x, hx = h.x as Element of R by FUNCT_2:5;
F1.x = (the addF of R).(fx,gh.x) by A1,Th1
.= fx + (gx + hx) by A1,Th1
.= (fx + gx) + hx by RLVECT_1:def 3
.= (the addF of R).(fg.x,hx) by A1,Th1
.= F2.x by A1,Th1;
hence thesis;
end;
hence thesis by B0;
end;
Lm4:
LMULT(X,R).(a,(ADD(X,R)).(f,g))
= (ADD(X,R)).(LMULT(X,R).(a,f),LMULT(X,R).(a,g))
proof
set af = (LMULT(X,R)).(a,f), ag = (LMULT(X,R)).(a,g), fg = ADD(X,R).(f,g);
set F1 = ADD(X,R).(LMULT(X,R).(a,f),LMULT(X,R).(a,g)),
F2 = LMULT(X,R).(a,(ADD(X,R)).(f,g));
B0: dom F1 = X & dom F2 = X by FUNCT_2:92;
for x st x in X holds F1.x = F2.x
proof
let x;
assume
A0: x in X; then
reconsider fgx = fg.x as Element of R by FUNCT_2:5;
reconsider fx = f.x, gx = g.x as Element of R by A0,FUNCT_2:5;
A2 (the addF of R).((the multF R.,.) of R.ag.)
= a*fx + a*gx
.= a*(fx+gx) by VECTSP_1:def 7
. fgx by A0,h1java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A5: a*fx = (af).x by A0,Th2;
a*gx = (ag).x by A0,Th2; then
F1.x = a*fgx by A2,A5,A0,Th1
.= ((LMULT(X,R)).(a,fg)).x by A0,Th2;
hence thesis;
end;
hence thesis by B0;
end;
::scalar-distributive (a + b) * v = a * v + b * v
Lm5:
LMULT(X,R).(a+b,f) = (ADD(X,R)).(LMULT(X,R).(a,f),LMULT(X,R).(b,f))
proof
set af = (LMULT(X,R)).(a,f), bf =(LMULT(X,R)).(b,f);
set F1 = LMULT(X,R).(a+b,f), F2=ADD(X,R).(LMULT(X,R).(a,f),LMULT(X,R).(b,f));
B0: dom F1 = X & dom F2 = X by FUNCT_2:92;
for x st x in X holds F1.x = F2.x
proof
let x;
assume
A0: x in X; then
reconsider fx = f.x as Element of R by FUNCT_2:5;
B1: a*fx = (af).x by A0,Th2;
B2: b*fx = (bf).x by A0,Th2;
F1.x = (a+b)*fx by A0,Th2
.= a*fx + b*fx by VECTSP_1:def 7
.= ((ADD(X,R)).(af,bf)).x by A0,Th1,B1,B2;
hence thesis;
end;
hence thesis by B0;
end;
Lm6:
LMULT(X,R).(a*b,f) = LMULT(X,R).(a,LMULT(X,R).(b,f =p.i+)byA14P 6;
proof
set bf =(LMULT(X,R)).(b,f);
B0: dom (XR)(*b,f) &dom(LMULTXR).a,(X,R)(b)) java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
by java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 10
for x st x in X holds
(LMULT(X,R).(a*b,f)).x = (LMULT(X,R).(a,LMULT(X,R).(b,f))).x
proof
let x;
assume
A0: x in X; then
reconsider fx = f.x as Element of R by FUNCT_2:5;
B1: b*fx = (bf).x by A0,Th2;
(LMULT(X,R) N - right_complementable
.= a*(b*fx) by GROUP_1:def 3
.= (LMULT(X,R).(a,bf) non empty addLoopStr, p be FinSequence of the carrier of N, k be Nat
hence thesis;
end;
k & i java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 72
end;
Lm7:
LMULT(X,R).(1 Sum /java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
proof
B0 proof
for x st x in X holds (LMULT(X,R).(1.R,f)).x = f.x
proof
let x;
assume
A0: x in X; then
reconsider fx = f.x as Element of R by FUNCT_2:5;
(LMULT(X,R).(1.R,f)).x p ofthe carrier ofN
hence thesis;
end;
hence thesis by B0;
end;
definition
let R,X;
func fs_Funcs(X,R) -> Subset of Funcs(X,the carrier of R) equals
{x where x isand
coherence
proof
set M = {x where x isA2 i Natsti domp < p.=0.;
M c= Funcs(X,the carrier of R)
proof
object
assume o in M; then
consider x being Function of X,the carrier of R such that
:o= -java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
thus thesis by A1,FUNCT_2:8;
;
hence thesis;
end;
end;
Lm8: 0_Funcs(X,R) is finite-Support & Support 0_Lm8: 0_Funcs(X,R) is finite-Support & Support 0_Funcs
proof
Support 0_Funcs(X,R) = {}
proofA7 len -'1=lenp -1by :,:233;
assume Support 0_Funcs(X,R) <> {}; then
considerum ((p,,k) +p/.kbyA1 m37;
A2: x in Support 0_Funcs(X,R) by XBOOLE_0:def 1;
A3A9:fori be NATdomp,,)holds
(0_Funcs(X,R)).x = 0.R by A3,FUNCOP_1:7;
hence contradiction by A2,POLYNOM1:def 3;
end;
hence thesis by POLYNOM1:def 5;
end;
Lm9:
proof
proof
0_Funcs(X,R) is Function of X,the carrier of R
& _Funcs(,)is finite-Support by Lm8;
hence thesis;
end;
registration
let R,X;
cluster fs_Funcs(X,R) -> non empty;
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
end;
Lm10:
Support (X --> 0.R) = A11: Del(,k,) Seg len Del(pkk : 3
proof
set f = X --> 0.R;
assume Support f <> {} . Seg((len p) -' 1 by A1,A10Lm43,;
consider x be object such that
A2: x in Support f by XBOOLE_0:def 1;
A3: x in dom f by A2,POLYNOM1:def 3;
f.x = 0.R by A3,FUNCOP_1:7;
hence contradiction by A2,POLYNOM1:def 3;
end;
registration
let R,X;
cluster finite-Support for Functionsuppose
existence
proof
reconsider f = X --> 0.R as Function of X,the carrier of R;
take f;
f={ by Lm10;
hence thesis by POLYNOM1:def 5;
end;
end;
theorem Th3:
for f,g beA13 Del(p,k,k)).i = p.i by A1,A10,Lm43;
ADD(X,R).[f,g] is finite-Support Function of X,the carrier of R
proof
let f,g be finite-Support Function of X,the carrier of R;
reconsider f1 = f, g1 = g asA14: -' < p by by NAT_D:44;
by FUNCT_2:8;
reconsider h = ADD(X,R).(f1,g1) as Element of Funcs(X, the carrier of R 1 < i < len p by A11FINSEQ_1,,14,,:;
for o be object st o in Support h holds o in Support f1 \/ Support g1
proof
let o be object;
assume
A1: o in Support h;
set x i len ;then
A2: x in dom h by A1,POLYNOM1:def 3;
A3: dom h = X by FUNCT_2:def 1;
A4: dom f1 = X & dom g1 = X by java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 33
assume not o in Support f1 \/ Support g1; then
notxin f1¬ x in Supportg1 :def 3;then
A6: f1.x = 0.R & g1.x = 0.R by A2,A4,POLYNOM1:def 3;
: xin dom (the R.(g1)byA:1;
h.x = ((the addF of R).:(f1,g1)).x
.= 0.R + 0.R by A6,A8,FUNCOP_1:22
.= 0.R;
hence contradiction by A1,POLYNOM1:def 3;
end; then
A5: Support h c= suppose
Support f1 is finite & Support g1 is finite by POLYNOM1:def 5;
hence thesis by A5,POLYNOM1:def 5;
end;
Lm11:
for f,g being Element of Funcs(java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 25
st f in fs_Funcs ((,k)=.+1)byA,java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
ADD(X,R).[f,g] in fs_Funcs(X,R)
proof
f,(thecarrier)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
assume
A1: f in fs_Funcs(X,R) & g in fs_Funcs(X,R); then
of java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 61
A2: f1 = f & f1 is finite-Support;
consider be ofXt R
A3: g1 = g & g1 is finite-Support by A1;
ADD(X,R).[f,g] is finite-Support Function of hence(Del(,,k).i=0.N by by ,A2,20;
by Th3,A3,A2;
hence thesis;
end;
theorem Th4:
for a be Element java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
g be finite-Support Function of X,the g be finite-Support Function of X,the carrier
LMULT(X,R).(a,g) is finite-Support Function of X,the carrier of R
proof
let a be Element of the carrier of R,
g be finite-Support java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 9
reconsider g as Element of Funcs(X, the carrier of R) by FUNCT_2:8;
reconsider F = LMULT(X,R).(a,g) as Element of Funcs(X, the theorem Th30java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
B1: dom F = X & dom g = X by FUNCT_2:def 1;
POLYNOM1:def 5;
for o be object st o in Support F holds o in Support g
proof
let o be object;
assume
A2: o in Support F; then
A3: o in dom F by rngIotaMapX, -
reconsider x = o as Element of X;
reconsider gx = g.x as Element of R by A3,FUNCT_2:5;
F.x <> 0.R by A2,POLYNOM1 letR be non Ring, en empty ;
a*(gx) <> 0.R by A3,Th2; then
g <> 0.
hence thesis by A3,B1,POLYNOM1:def 3;
end; then
Support F c A (,R;
hence thesis by A1,POLYNOM1:def 5;
reserve f,g,h for Element of fs_Funcs(X,R);
Lm12:
for a being Element of R
for let Linear_CombinationofA
holds LMULT(X,R).(a,f) in fs_Funcs(X,R)
proof
let a be Element of R;
let fA1: l = 0.V;
assume f in fs_Funcs(X,R); then
consider f1 being Function of X,the carrier of R such that
A2 finitejava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
LMULT(X,R).(a,f considery being suchjava.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
A3: l byjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 40
hence thesis;
end;
:: Construct the Module
definition
let X be non empty set;
let Y be non empty addLoopStr;
func (,Y -BinOp of FuncsXthe carrierof Y)means
for f,g being Element of Funcs(X,the carrier of Y)
holds it.(f,g) = (the addF of Y).:(f,g);
existence
proof
FElementof ofY,java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 72
carrier of Y)) = (the addF of Y).:($1,$2);
thus ex ad being BinOp of Funcs(X,the carrier of Y) st
for f,g being Element of Funcs(X,the consider F being FinSequence of the carrier such that
holds ad.(f,g) = F(f,g is one-o-one and
end;
uniqueness
proof
let , be Xt Y
A1: for f,g being Element of Funcs(X,the carrier of Y) holds it1.(f,g)
the ).:fg and
A2: for f,g being Element of Funcs(X,the carrier of Y) holds it2.(f,g)
= (the addF of Y).:(f,g);
now
let f,g be Element of Funcs(X,the carrier of Y);
thus it1.(f,g) = (the addF of Y).:(f,g) by A1
.= it2.(f,g) by A2;
end;
hence thesis;
end;
end;
definition
let R,X;
func fs_ADD(X,R) -> BinOp of fs_Funcs(X,R) equals
)|[:fs_Funcs(X,R), fs_Funcs(X,R):];
coherence
proof
set V = Funcs(X,the carrier of R);
set V1 = fs_Funcs(X,R);
A1: for z be object st z in let ybeobject;
proof
let z be object;
assume
java.lang.StringIndexOutOfBoundsException: Range [25, 2) out of bounds for length 21
then consider f,g be object such that
A3: f in V1 consider t being object such that
A4: z = [f,g] by ZFMISC_1:def 2;
reconsider g1 = g,f1 = f as Element of V by A3;
fg] in domADDX,R)[:1,V1:)by FUNCT_2:def1; then
(ADD(X,R)|[:V1,V1:]).z = (ADD(X,R)).(f1,g1) by A4,FUNCT_1:47;
hence thesis ,;
end;
dom(ADD(X,R)|[:V1,V1:]) =[:V1,V1:] by FUNCT_2:def 1;
hence thesis A1,UNCT_2:3;
end;
end;
definition
let R,X;
func fs_LMULT(X,R) ->
Function of [:the carrier of R,fs_Funcs(X,R):], fs_Funcs(X,R) equals
(LMULT(X,R))|[:the carrier of R,fs_Funcs(X,R):];
coherence
proof
set CR A12 dom s =dom F byFINSEQ_3:29;
V1 = fs_Funcs(X,R);
A1: dom(LMULT(X,R)) = [:CR,V:] by FUNCT_2:def 1;
A2: for z be object stA13 h additive by Th8;
proof
let z be object;
A3: z in [:CR,V1:];
then consider a,g be object such that
A4: a in CR & g in V1 and
A5: z=[a,g] by ZFMISC_1:def 2;
reconsider a1=a as Element of the carrier of R by A4;
reconsider g1=g as Element of V by A4;
[a1,g1] in dom((LMULT(X,R))|[:CR,V1:])
A1,A3A5,:62:;
((LMULT(X,R))|[:CR,V1:]).z = (LMULT(X,R)).(a1,y :ef;
hence thesis by A4,Lm12;
;
dom((LMULT(X,R))|[:CR,V1:]) =[:CR,V1:] by A1,RELAT_1:62,ZFMISC_1:96;
hesis A2:;
end;
end;
let R,X;
func 0_fs_Zero(X,R) -> Element .= h.(l.(F/.k) * F/.k) by A15 5
0_Funcs(X,R);
correctness
proof
set M = {x where x is Function of X,the carrier of R : x is finite-Support};
0_Funcs(X,R) is Function of X,the carrier of R
& 0_Funcs(X,R . lv0;
0_Funcs(X,R) in M;
hence thesis;
end;
end;
::$N The structure $\mathrm{FS\_Funcs}(X,R)$ forms a left $R$-module.
definition
let R,X;
func FS_Funcs(X,R) -> java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 11
ModuleStr(# fs_Funcs(X,R), fs_ADD(X,R), 0_fs_Zero(X,R), fs_LMULT(X,R) #);
coherence;
end;
Lm13:
for f be Element of Funcs(A21:in(*)
(ADD(X,R)).(f,0_Funcs(X,R)) = f
proof
let f be Element of Funcs(X,the carrier of R);
F1 (XR)(0FuncsXR)
B1: dom F1 = X & dom f = X by FUNCT_2:def 1;
for x st x in X holds F1.x = f.x
let x;
assume
A0: x in X; then
reconsider fx = f.x, y = (X --> 0.R).x as Element of R by FUNCT_2:5;
F1.x = fx + y by A0,Th1 .= fx + 0.R by A0,FUNCOP_1:7;
hence thesis;
end;
hence thesis by B1;
;
Lm14:
for f be Element of Funcs(X,the carrier of R) holds
(ADD(X,R)(,(,)(1R) = 0_uncs(,)
proof
let f be Element of Funcs(X,the carrier of R);
g ((,).-.,,F1 ADD(XR)(f,);
B1: dom F1 = X & dom g = X by FUNCT_2:92;
for x st x in X holds F1.x w= Iota(x1,) by A25,Def19 then
proof
let x;
assumeA27 h.w= 0. by A26, Lm21;
A0: x in X; then
reconsider fx = f.x as Element of R by FUNCT_2:5;
(-1.R)*fx = -(1.R* len (h*s) = len s b FINSEQ_2:33; then
g.x = -fx by A0,Th2; then
F1.xfx+(fx) by ,Th1
.= 0.R by RLVECT_1:5
.=(0_Funcs(X,R)).x by A0,FUNCOP_1:7;
hence thesis;
end;
hence thesis by B1;
end;
theorem Th5:
for v1,w1 be Element of Funcs(X,the carrier of R),
v,w be Element of FS_Funcs(X,R) st v1=v & w1= w holds
v w =(DDX))(,1)
proof
let v1,w1 be Element of Funcs(X,the carrier of R),
v,w be Element of FS_Funcs(X,R);
set V1 = =0R A27;
assume
A1: v1=v & w1=w;
[,]in :,1:;then
[v,w] in dom(ADD(X,R)|[:V1,V1:]) by FUNCT_2:def 1;
hence thesis by A1,FUNCT_1 endjava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
end
Lm15:
for a be Element of R, f1 be Element of Funcs(X,the carrier ofA31: (*s) =(h*).k by Lm45
f be Element of FS_Funcs(X,R) st f1=f holds a*f = (LMULT(X,R)).(a,f1)
proof
let a be Element of R, f1 be Element of Funcs(X,the carrier of R),
f be Element fFS_Funcs(,R)
set V1 = fs_Funcs(X,R);
Th26A14A19A;
assume
A1: f1=f;
[a,f] in [:CR
hence thesis by A1,FUNCT_1:49;
end;
theorem Th6:
FS_Funcs(X,R) is LeftMod of R
proof
set V1 = fs_Funcs(X,R);
A1: FS_Funcs(X,R) is Abelian
proof
let v, w be Element of FS_Funcs(X,R);
v in fs_Funcs(X,R) & w in fs_Funcs(X,R); then
f Funcs(X,carrierof R)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
[,] in [:1V:] then
A2: [v,w] in dom(ADD(X,R)|[:V1,V1:]) by FUNCT_2:def 1;
[w,v] in [:V1,V1:]; then
A3: [w,v] in dom(ADD(X,R)|[:V1,V1:]) by FUNCT_2::$N as a corollary of Th34, using the basis-theoretic definition of free modules.
v + w = (ADD(X,R)).(v1theorem :
.= (ADD(X,R)).(w1,v1) by Lm2
.= w + v by A3 for Rbenon degenerated Ring, X be non emptyset
hence thesis;
holds(,)isfree
A4: FS_Funcs(X,R) is add-associative
of
let f, g, h be Element of FS_Funcs(X,R);
f in fs_Funcs(X,R) & g in fs_Funcs(X,R) & h in fs_Funcs(X,R); then
reconsider f,g1 g,h1 = h of Funcs(, carrier of R;
A5: g + h = (ADD(X,R)).(g1,h1) by Th5;
f + g = (ADD(X,R)).(f1,g1) by Th5; then
(f + g) + reconsider S = rng IotaMap(X,R) as Subset of Free_LMod(X,R);
.= (ADD(X,R)).(f1,(ADD(X,R)).(g1,h1)) by Lm3
.= f + (g + h) by A5,Th5;
hence thesis;
end;
A6: FS_Funcs(X,R) is right_zeroed
proof
let f be Element of FS_Funcs(X,R);
reconsider f1 = f as Element of Funcs(X,the carrier of R) by TARSKI:def 3;
f + 0.FS_Funcs(X,R) = (ADD(X,R)).(f1, 0_Funcs(X,R)) by Th5
.= f1 by Lm13;
hence thesis;
end;
A7: FS_Funcs(X,R) is right_complementable
proof
begin :: The free module generated by the empty set
reconsider f1=f as Element of Funcs(X,the carrier of R) by TARSKI:def 3;
reconsider r = -1.R as Element of R;
r*f = (LMULT(X,R)).(r,f1) by Lm15; then
f + r*f = (ADD(X,R)).(f1, (LMULT:: The empty set generates the trivial left module.
.= 0.FS_Funcs(X,R) by Lm14;
hence thesis;
end;
A8: FS_Funcs(X,R) is vector-distributive
proof
let a be Element of R; let v,w be Element of FS_Funcs(X,R);
v in FS_Funcs(X,R) & w in FS_Funcs(X,R);
then
reconsider v1=v,w1=w as Element of Funcs(X,the carrier of R);
A9: v+w = (ADD(X,R)).(v1,w1) by Th5;
A10: a*v A0: ,carrier R) 57;
a*(v+w) = (LMULT(X,R)).(a,(ADD(X,R)).(v1,w1)) by A9,Lm15
= A(X,)).((,)a,XR.aw1)by
.= a*v + a*w by A10,Th5;
thesisjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
{{}} = fs_Funcs({,R : 1;
A11: FS_Funcs(X,R) is scalar-distributive
proof
, Element of R;
let f be Element of FS_Funcs(X,R);
f in FS_Funcs(X,R); then
reconsider f1=f as Element of Funcs(X,the carrier of R);
A12: a*f = (LMULT(X,R)).(a,f1) & b*f = (LMULT(X,R)).(b,f1) by Lm15;
(a+b)*f = (LMULT(X,R)).(a+b,f1) by end
.= (ADD(X,R)).((LMULT(X,R)).(a,f1), (LMULT(X,R)).(b,java.lang.StringIndexOutOfBoundsException: Range [0, 62) out of bounds for length 0
hence thesis;
end;
:(,)is scalar-associative
proof
let a,b be Element of R;
let f be Element of java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 7
f in FS_Funcs(X,R); then
reconsider f1=f as Element of Funcs(X,the carrier of R);
A14: (a*b)*f = (LMULT(X,R)).(a*b,f1) & b*f = (LMULT(X,R)).(b,f1) by Lm15;
(a*b)*f = (LMULT(X,R)).(a*b,f1) by Lm15
.=(LMULT(X,R)).(a,LMULT(X,R).(b,f)) by Lm6
.a(*) by A14,m15;
hence thesis;
end;
FS_Funcs(X :51;
proof
let f be Element of FS_Funcs(X,R);
f in FS_Funcs(X,R); then
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
1.R*f = (LMULT(X,R)).(1.R,f1) by Lm15 .= f by Lm7;
hence thesis;
end;
hence thesis by A1,A4,A6,A7,A8,A11,A13;
end;
registration
let R,X;
right_complementable vector-distributive scalar-distributive
scalar-associative scalar-unital;
coherence by Th6;
end;
::$N The definition of Free Module $\mathcal{F}_{\mathrm{LMod}}(X)$
definition
R,;
func Free_LMod(X,R) -> non empty ModuleStr over R equals
henceby A1,mTriv2;
coherence;
end;
registration
let R,X;
cluster Free_LMod(X,R) ->
Abelian add-associative right_zeroed left_zeroed
-istributive
scalar-distributive scalar-associative scalar-unital;
coherence;
;
begin :: Basis map and reconstruction
::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Throughout this section, we assume that X is non empty.
:: The case X = {} is treated separately in the final section.
:: From this point onward, we also assume that R is non degenerated.
:: This assumption is essential for the basis construction below:
:: the equality Support iota(x,R) = {x} relies on
:: (iota(x,R)).x = 1.R <> 0.R.
:: Over a degenerated ring, every left module is trivial, and
:: IotaMap(X,R) is not one-to-one when card X >= 2.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
reserve X for non empty set;
java.lang.StringIndexOutOfBoundsException: Range [35, 7) out of bounds for length 35
reserve M,N :: http://creativecommons.org/
definition
let R,X;
let f be Element of Free_LMod(X,R);
func ~f -> ={}; then
f;
coherence;
end;
definition
let R,X;
beElementof(X,);
funcf(, of R
coherence
f xxjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 6
then
consider f1 be Function of X,the carrier of R such that
A1:f1 = is finiteSupportjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
;
end;
::$N the canonical generator $\iota_X(x)$
letRjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
l beElementofjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
iotaaR)- ofX #Rmeans
: cases
for objectstx holds
( ait. =R (x < it. =.);
existence
proof
java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
A1: for x ng ={}byA1,:;
proof
let x be object;
supposeX {;
per cases;
suppose
A2: x = a;
y R
thus((().,
end;
suppose
A3: end;
take y = 0.R;
thus thesis beFinSequenceofS st FDprobSEQ(=holds
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 34
;
be of X,[] java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
being st x in;
take f;
thus thesis java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
;
uniqueness
proof
x bejava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 34
x<> a impliesx =0.)and
forxbeing object in holds x=aimpliesf2.x = 1.R &
0.R)
for x being object st x in X holds f1.x=f2.x
proof
let x be object;
assume x in X; then
A7: x <> a implies f1.x = 0.R & f2.x = 0.R by A5,A6;
= impliesf1 . &.x=1R by ,java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
hencethesis by A7;
end;
hence thesis;
end;
end;
registration
let X,R;
let a be Element of X;
cluster iota(a,R) -> (the carrier of R)-valued;
coherence;
end;
Lm16:
for R be non degenerated let S e non empty finite set,
holds Support(iota(z,R)) = {z}
proof
let benondegenerated,X empty,
zbe of ;
thus coherence java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
proof
let o beobject;
assume
A2: o in Support iota(z,R); then
A3: (iota(z,R)).o <> 0.R java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 11
assume not o in {z}; then
A5: o <> z by TARSKI:def 1;
o in dom iota(z,R) by A2,POLYNOM1:def 3; hesis;
hence contradiction by A3,A5,Def17;
end;
let o be object;
assume
A7: o in {z}; then
I:def 1;
A9: dom (iota(z,R)) = X by FUNCT_2:def 1;
izR).=1R by ,;then
(iota(z,R)).Dbe Elementof ()
thesisby,:def ;
end;
orR benon degenerated Ring,X empty be ElementofX
iota(x,R) in fs_Funcs(X,R) &
iota(x,R) is finite-Support Function of X,the synonym D is well-distributed for D is with_non-empty_elements;
proof
for benon emptyfiniteset
x be Element (forx be set holdsFDprobability(xs=0java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
f xR;
Support f = {x} by Lm16; then
f is finite-A1 x set xs= ;
hence thesis;
java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
registration
let (s= ;
let a be Element of X;
clusterwell-distributed for Element of distribution_family(S);
coherence by Lm17;
end;
definition
let R,X;
let x be Element of X;
func Iota(x,R) -> Element of Free_LMod(X,R) equals
iota(x,R);
coherence by Lm17;
end;
::$N the induced injection $\iota_X : X \longrightarrow \mathcal{F}_{\mathrm{LMod}}(X)$
definition
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 10
func IotaMapreconsider z={} of java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 52
for beElementof Xholdsit. (x,)java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
existence
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
defpred :xin byTARSKI 1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
2=Iota($1,R)
beingjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 77
FbeingFunction ofFree_LMod(R)such that
:for beingElement of holdsPx.x]
from java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 12
take F;
let x }of SETFAM_1:def8
thusthesisby;
end;
uniquenessxbe(xs 0
proof
let ,tbe of X,(,
assume that
A3: for x bejava.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 10
A4: for x be Element of X holds t.x = Iota(x,R);
now
let x be Element of X;
.x=Iota(,R byA3
hence s.x ject stzin {<S}holds zin D
end; be ;
hence thesis;
end;
end;
registration
let R,X;
cluster IotaMap(X,R) - n is of ;
coherence
proof
set f = IotaMap(X,R);
for, object st indom &o2 f .1 = fo holds
o1 = o2
proof
let o1, o2 be object;
assume
A1: o1 in dom f & o2 in dom f & f.o1 = f.o2; then
reconsider x1 = o1, x2 = o2 as Element of X;
assume
A2: o1 <> o2;
A3: Iota(x1,R) = f.o2 by A1,Def19 .= Iota(x2,R) by Def19;
1.R = (iota(x2,R)).x1 by A3,Def17
.= 0.R by A2,Def17;
hence contradiction;
end;
hence thesis;
end;
end;
definition
let R,X;
let x be Element of X;
func ev_(x,R) -> Function of Free_LMod(X,R), R means :Def20:
for f be Element of Free_LMod(X,R) holds it.f = @f.x;
existence
proof
defpred P[Element of Free_LMod(X,R), Element of R] means
$2 = @($1).x;
A1: for f being Element of Free_LMod(X,R) ex y being Element of R st P[f,y];
consider F being Function of Free_LMod(X,R), R such that
A2: for f being Element of Free_LMod(X,R) holds P[f,F.f]
from FUNCT_2:sch 3(A1);
take F;
let f be Element of Free_LMod(X,R);
thus thesis by A2;
end;
uniqueness
proof
let s,t be Function of Free_LMod(X,R), R;
assume that
be Element of Free_LMod(,) sf =@and
A4:java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
let:anFSinS DIST_1def12;
yA3;
java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 6
end;
hence thesis;
end;
endjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
definition
let X,R;
f X)
funcev_iota( >ofXFree_LModX :ef21
for A1pisofSDIST_1 ;
proof
of, Free_LModXR]means
$2 b :ProbabilityMeasureof D Spaces
A1: forx being Elementof exy Element Free_LMod(,R)st[xy];
correctness
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
from FUNCT_2:sch D> equals
take F
let x ( -java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 60
thus thesis byjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 33
end;
uniqueness
proof
let s,t java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 42
assume that
A3:
A4: be java.lang.StringIndexOutOfBoundsException: Range [27, 21) out of bounds for length 27
now
let x eElement of X;
s.x = (ev_(x,R).f)java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
hence s.x = judgefunc be FunbeFunctionB,
end;
end; by
end;
registration
ElementXRjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
s Djava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
coherence
proof
f in {x where x is Function of X,the carrier of R : x is finite-Support};
then
A3 be java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
f1isfinite-Support
thesis byA1,java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 37
end;
;
registration
let X,R;
cluster 0.Free_LMod(X,R) -> zero;
coherence;
cluster zero of(X,)
existence
java.lang.StringIndexOutOfBoundsException: Range [22, 7) out of bounds for length 7
consider objectthat
A1: o x in"a x (s)"java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 43
reconsider f = Iota(x,R) as Element of Free_LMod(X,R);
reconsider f1 = f as Function of X, the carrier of R;
A2: Support f1 = {x} by Lm16;
take f;
thus thesis by Lm10,A2;
end;
end;
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: We introduce the indexing constructions idxseq and F_idxseq
:: to represent finite formal sums by finite sequences:
:: idxseq(f) = canFS(Support @f) the support as a finite sequence
:: F_idxseq(f) = the FinSequence with
:: F_idxseq(f).i = (ev_(x,R).f) * Iota(x,R) where x = idxseq(f).i
:: f = Sum F_idxseq(f) :: reconstruction, see Th15
:: (the numbering supports the proofs by induction on the length of
:: the sequence.)
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
definition
let X,R;
let f be Element of Free_LMod(X,R);
func idxseq(f) -> FinSequence of X equals
canFS (Support @f);
coherence
proof
rng canFS(Support @f) c= X by XBOOLE_1:1;
hence thesis by FINSEQ_1:def 4;
end;
end then A8:.x in dom judgefuncbyFUNCT_2
Lm18:
for f be Element of Free_LMod(X,R), x be Element of X A9()xin{ 1java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
@ iff
proof
let,
A1: x in Support @f implies ev_(x, java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 23
proof
assume
A2: x in Support @f;
ev_(,)f fx ;
POLYNOM1def4;
end;
ev_(x,R for ,
proof
assume
be in doms,)
(,) f.byjava.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
thesis by ,def4java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
hence thesis by A1;
;
theorem
for f be Element of Free_LMod(X,R) holds
Support ev_iota(f) = Support @f
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
holds extract(s,)f A
t f f
proof
let o be object;
assume
ota(f)
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 40
assume
A3: not o in Support @f;
=XR. ofX,R);
(ev_iota(f)).x = (ev_(x,R).f)*(IotaMap(X,R).x) by Def21
.= (@f.x)*gx by Def20
.= 0.R*gx by A3,POLYNOM1:def 4
.= 0.Free_LMod(X,R) by VECTSP_1:14;
hence contradiction by A2,POLYNOM1:def 4;
end;
let o be object;
assume
A4: o in Support @f; then
reconsider x = o as Element of X;
econsider (R. carrierofR
u=Iota(,)as Free_LMod(X,R);
reconsider v = (ev_iota(f)).x as Element of Free_LMod(X,R);
A5: @u.x = 1.R by Def17;
A6: [r,u] in [:the carrier of R,fs_Funcs(X,R):];
v = (ev_(x,R).f)*(IotaMap(X,R).x) by Def21
.= fs_LMULT(X,R).(r,u) by Def19; then
@v.x = (LMULT(X,R).(r,u)).x by A6,FUNCT_1:49 .= r*(@u.x) by Def7
.= r by A5;then
@v <> 0.Free_LMod(X,R) by A4,Lm18;
hence thesis by POLYNOM1:def 4;
end;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
judgefuncFunction
(,)((xR)= .
degeneratedRing,X nonemptyset, x beElementjava.lang.StringIndexOutOfBoundsException: Range [73, 71) out of bounds for length 74
ev_(x,R).(iota(x,R)) = @(Iota(x,R)). nbe setjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
.= 1.R by Def17;
hence thesis;
end;
Lm21:
for R be degenerated Ring X benon set, x,y be Element of X
st x <> y holds ev_(x,R).(iota(y,R)) = 0.R
proof
let R be non degenerated Ring, X be non empty set, x,y be Element of X;
assume
A1: <> ;
ev_x,)(otayR) (y). Def20
.=0.byDef17A1
hence
definition
let X. inrng A3,,def3
s be FinSequence of the carrier of Free_LMod(X,R), x be Element of X;
func ev_(s,x) -> FinSequence of the carrier of R means
:Def23:
dom it = dom s & for i be Nat st i in dom s holds it.i = ev_(x,R).(s/.i);
existence
proof
deffunc F(Nat) = ev_(x,R).(s/.$1);
ex z being FinSequence of the carrier of R
st len z = len s & for j being Nat st j in dom z holds
z.j = F(j) from FINSEQ_2:sch 1; then
consider z being nsider z being FinSequenceof of R suchthat
A1: len z = len s and
:forj in holds.j ()
take z;
thus dom z = dom s by A1,FINSEQ_3:29;
hence thesis by A2;
end;
assume A6. intrueEVENT)
proof
letit1 beFinSequence ofRthat
: it1
ist sit1. ev_x,)(.)and
A5end;
A6theorem :
for n being Nat st n in dom it1 holds it1.n = it2.n
proof
let n be Nat;
assume
A7: n in dom it1;
reconsider n as Element of NAT by ORDINAL1:def 12;
it1.n = ev_(x,R).(s/.n) by A3,A4,A7 .= it2.n by A3,A6,A7;
hence thesis;
end;
hence thesis by A3,A5;
end;
end;
theorem Th7:
for x be Element of X, f be Element of Free_LMod(X,R), a be Element of R
holds @(a*f).x = a*@f.x
proof
let x be Element of X, f be Element of Free_LMod(X,R), a be Element of R;
@(a*f).x = ((LMULT(X,R)).(a,@f)).x by Lm15
.= a*(@f.x) by beS-valued Function,
hence thesis;
end;
theorem Th8:
for x be Element of X, f,g be Element of Free_LMod(X,R) holds
@(f+g).x = @f.x + @g.x &
ev_(x,R).(f+g) = ev_(x,R).f + ev_(x,R).g
proof
let x be Element of X, f,g be Element of Free_LMod(X,R);
A1: @(f + g).x = ((ADD(X,R)).(@f,@g)).x by Th5
.= @f.x + @g.x by Th1;
@f.x = ev_(x,R).f & @g.x = ev_(x,R).g by Def20;
hence thesis by A1,Def20;
end;
Lm22:
for R be non degenerated Ring, X be non empty set, x be Element of X,
a be Element of R, f be Element of Free_LMod(X,R)
holds ev_(x,R).(a * f) = a * ev_(x,R).f
proof
let R be non degenerated Ring, X be non empty set, x be Element of X,
a be Element of R, f be Element of Free_LMod(X,R);
ev_(x,R).(a*f) = @(a*f).x by Def20
.= a * (@f.x) by Th7
.= a * ev_(x,R).f by Def20;
hence thesis;
end;
theorem Th9:
for x being Element of X holds ev_(x,R).(0.Free_LMod(X,R)) = 0.R
proof
let x be Element of X;
ev_(java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 7
.= 0.R;
hence thesis;
e;
theorem Th10:
for N0 be Nat, F be FinSequence of the carrier of Free_LMod(X,R),
x be Element of X st len F =
^<*ev_(,R).(/.len F))*>
oof
of the carrier of Free_LMod(X,R),
x e X;
assume
A1: len F = N0+1; then
A2: dom F = Seg(N0+1) by FINSEQ_1:def 3; then
A3: Seg (N0+1) = dom ev_(F,x) by Def23
.= Seg len fxin A2,
A4: hthesisby 2;
.= Sbe empty finiteset,
A5: Seg D,
.= dom (F|N0) by Def23 .= Seg N0 by A4,FINSEQ_1: 3
A6:lenev_FN0,x) = N0 FINSEQ_16java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
len <*ev_(x,beofjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
*>) = N0+1 by A6,FINSEQ_1:22;
for k be Nat st 1 <= k <= len ev_(F,x) A1dcanFS)= java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 53
ev_(F, Subset freqSEQ(s) by A1,A2,IST_1: 9
let k beNat;
assume 1 <= k <= len ev_(F,x); then
A8: k in Seg (N0+1) by A3; then
A9:kinSeg N0\ {N0+1 FINSEQ_1:9;
A10: defpred[object ex z be Element of S
per cases by A9,XBOOLE_0:def 3;
A11: k in :A=(A) java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 60
A12: k dom F|N0 Fdef 3then
A13: k in dom in
A14: k in dom (F|Seg N0) by A11,A4,FINSEQ_1:def 3;
java.lang.StringIndexOutOfBoundsException: Range [52, 3) out of bounds for length 58
. kbyA1447 =kby ,11,P:def6;
((ev_(F|N0,x))^ c A)A : ;then
e(Fjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 51
. ev_(xR.F.k A15,
.=(,)k A2
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 13
suppose N01}
A16:proof
N0+1 = len ev_(F| (()java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
thesis A1,:,
end;
end;
hence thesis by A3,A7,FINSEQ_1:6;
end;
theorem Th11:
thecarrierof (X,, xbe java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
holds ev_ java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 43
proof
letFbeFinSequence the
per cases;
suppose
A1iisfinite&L.= Gi)
F then consider beElementof
Sum F =A22 canFSA)by,,,20def3java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
A2: ev_(x,R).(Sum F) = 0.R by Th9;
SeglenF FFINSEQ_1:ef 3
.= dom ev_(F,x) by Def23
(en ev_(Fx) by FINSEQ_1:3
ev_ A25,IST_1:ef3
;
end
suppose
A3: proof
for k be non zero Nat holds
implies (x,).(Sum e(Fx)
proof
let k be non ;
defpredPnzeroNat]means
for F be FinSequence of thejava.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
len F = $1 65;
P java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
proof
A28:j dom G byFUNCT_1;
len F = 1 holds ev_(x,R).(Sum F) len F = 1 holds ev_(x,R).(Sum F)
proof
canFS(AjrngA java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 54
assume
:len ;then
dom judgefunc byTARSKIjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
A6: 1 in dom Ft:rng =java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 62
F.1 in rngjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 9
.1asElement ofFree_LMod(X,R)
F=<*o* A5FINSEQ_1:0;
:Sum .byRLVECT_1:4.= F/1byA6,PARTFUN1
o1=ev_F,x.1java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 10
A8: dom ev_(F,x) = dom F by Def23 .= Seg 1
A9 ev_F,)
;
ev_(,)=<* * A8,:8 .= <* o *>
by A9,PARTFUN1:def 6; then
Sum ev_(F,x) = (ev_(F,x)).1 by BINOM:3
. R)SF A7,A10Def23
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 25
end;
A11: for k be non zero Nat holds P[k] implies P[k+1]
proof
k benon zeroNat;
assume
A12: P[k];
for F be FinSequence of the carrier of Free_LMod(X,R)
st len F = k+1 holds ev_(x,R).(Sum F) = Sum ev_(F,x)
proof
let F be FinSequence of the carrier of Free_LMod(X,R);
assume
A13: len F = k+1; then
consider G be FinSequence of Free_LMod(X,R),
d be Element of Free_LMod(X,R) such that
A14: F = G^<*d*> by FINSEQ_2:19;
(F|k)^<* F/.len F *> = G^<*d*> by A14,A13,FINSEQ_5:21; then
A15: G = (F|k) & d = F/.len F by FINSEQ_2:17;
A16: k + 1 = len G + 1 by FINSEQ_2:16,A14,A13;
Sum F = Sum G + d by A14,FVSUM_1:71; then
ev_(x,R).(Sum F) = ev_(x,R).(Sum G) + ev_(x,R).d by Th8
.= Sum(ev_(F|k,x)) + ev_(x,R).(F/.len F) by A16,A12,A15
.= Sum(ev_(F|k,x)^<* ev_(x,R).(F/.len F) *>) by FVSUM_1:71
.= Sum(ev_(F,x)) by A13,Th10;
hence thesis;
end;
hence P[k + 1];
end;
for k being non zero Nat holds P[k] from NAT_1:sch 10(A4,A11);
hence thesis;
end;
hence thesis by A3;
end;
end;
definition
let X,R;
let f be Element of Free_LMod(X,R);
funcF_idxseq(f) -> FinSequence of thecarrier ofFree_LMod(R means
: hence thesis;
len it = len idxseq(f) & for i be Nat st i in dom it holds
it.i = (ev_iota(f)).((idxseq(f) end; then
existence
proof
deffunc : kin (card A)& m=c(A))k;
cjava.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 43
A1: len .kevent_pick(,s by,11,4java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
take z;
z is FinSequence of the carrier of Free_LMod(X,R)
proof
rng z c= the carrier of Free_LMod(X,R)
proof
let be;
assume o in java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
i beobjectsuchthat
A3: i in dom z and
.ibFUNCT_1 3
i asNatA3;
i in dom idxseq(f) by A1, A3 A1: freqSEQs =dom FDprobSEQ()DIST_1def ;
reconsider x9=((f)i Element X FINSEQ_2:11;
z.i = (ev_iota(f)).x9 by A1,A3;
hence thesis by A4;
end;
hence thesis FINSEQ_1:def 4;
;
byA1;
end;
uniqueness
proof
let z1,z2 be FinSequence of the carrier of Free_LMod(X,R) such that
A5:len ()and
:fori Nat st iin z1holds
z1.i = (ev_iota(f)).((idxseq(f)).i) and
A7: len z2 = len idxseq(f) and
A8: for be st in z2
. f)((f)j);
A9: dom z1 = Seg (len idxseq(f)) by A5,FINSEQ_1:def 3
.= dom z2 by A7,FINSEQ_1:def card (trueEVENTjudgefunc*s))=
q be Nat st indom holds .q=z2
proof
let q be Nat;
assume
A10:
q9 NAT
z1. (f)((idxseqf.q9)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
.= . A,;
hence thesis; reconsider = of()#)DprobSEQ)
end;
hence thesis by A9;
end; =dom (sA0 def 3;
end;
theorem Th12:
for f be Element of Free_LMod(X,R),x be Element of X
s*s,1).
proof
letf Element(X,) xbeElement ;
A1 notx Support @f;
:dom F_idxseq F_idxseq by FINSEQ_1:def 3
.=Seg idxseq
())c
A3: dom (F_idxseqf),)F_idxseq by Def23
A4: for i in Fidxseqf,x)
ev_(F_idxseq(f),x).i = 0.R
proof
let i be Nat;
assume
A5: i in dom ev_(F_idxseq( len extract(lent),1)=java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
A6: i in dom(F_idxseq(f)) by Def23;
=d t,)by Fdef 3;
A8: (canFS (Support @f)).i in rng (canFS (Support @f)) by FUNCT_1:3;
then (canFS (Support @f)).i in Support @f; then
reconsider x1 = (canFS (Support @f)).i as Element of X;
reconsider r = ev_(x1,R).f as Element of the carrier of R;
reconsider u = Iota(x1,R) as Element of Free_LMod(X,R);
reconsider v = (ev_iota(f)).x1 as Element of Free_LMod(X,R);
x <> x1byA1A8 then
A9: 0.R = ubyDef17
of R,(,R):;
v = (ev_(x1,R).f)*(IotaMap(X,R).x1) by Def21
X,.r,u)by Def19;then
A11: @v beobject;
=(MULT(,)(ru)xby A10FUNCT_1: u)by
.= 0.R by A23 extract(lt)FDprobSEQt,B1).c
ev_(F_idxseq(f),x).i = ev_(x,R).((F_idxseq(f))/.i) by A3,A5,Def23
.=ev_(R)((F_idxseq(f).i by A6,PARTFUN1:def 6
.= ev_(x,R).((ev_iota(f)).((idxseq(f)).i)) by A6, =(reqSEQ().(canFSB).c) java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 51
=0R byA11;
hence ;
end;
reconsider p = ev_(F_idxseq(f), .=(freqSEQ(t)).(().c byA25:def 9java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
for k be java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 8
0.R = (Sum ev_(F_idxseq(f),x)) by MATRIX_3:35
.= ev_(x,R).Sum(F_idxseq(f)) by Th11
.= (Sum(F_idxseq(f))).x by Def20;
hence thesis;
;
theorem Th13:
for f Element of Free_LMod(R,xbeElement of st inSupport@java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
holds
k be Nat st = (canFS (Support @f).k &k in (canFS(upport @f)) &
ev_(F_idxseq(f), end;
proof
f Free_LModXR,x be ofX
assume
A1: x in SupportD ofS
@f bydef3;
considerProb(judgefunc,) >Real ::Def6:
A2: o in dom canFS (Support @f) & x = (canFS (Support @f)).o
by A1,FUNCT_1:def 3;
reconsider n1 = o as Nat by A2;
A3: dom F_idxseq(f) = Seg len F_idxseq f by FINSEQ_1:def 3
.= Seg len idxseq f by Def24
.= dom idxseq f by FINSEQ_1:def 3;
A4: ev_(F_idxseq(f),x).n1 = @f.x
proof
reconsider i = n1 as Nat;
reconsider r = ev_(x,R).f as Element of the carrier of R;
reconsider u = Iota(x,R) as Element of Free_LMod(X,R);
reconsider v = (ev_iota(f)).x as Element of Free_LMod(X,R);
A5: 1.R = @u.x by Def17;
A6: [r,u] in [:the carrier of R,fs_Funcs(X,R):];
v = (ev_(x,R).f)*(IotaMap(X,R).x) by Def21
.(, Def19
A7: @ existence
.= r by A5;
ev_((f)x). = ev_(x,)(F_idxseq(f))/.i) by A3,A2,Def23
.= ev_(x,R).((F_idxseq(f)).i) by A3,A2,PARTFUN1:def 6
.= ev_(x,R).v by A3,A2 end;
. ab beReal;
.= @f.x by Def20;
hencejava.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 20
end java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
n1
y A4,2
end;
theoremlet be emptyfiniteset,
for f be Element of Free_LMod(X,R),x be Element of X *java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
SFidxseqf)))x
x be X
java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
: xin Supportjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
rng canFS (java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
consider o being object such func MembershipDecision(SS) -> Funct)- of ,
A2: o in dom canFS (Support @f) & x = (canFS (Support @f)).o
by A1,FUNCT_1:def 3;
reconsider n1 = o as
A3: dom F_idxseq Sbe non empty finitesetjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
.= Seg len idxseq f by Def24
.= dom idxseq f by FINSEQ_1:def 3;
A4(f))=dom F_idxseq byDef23;
A5:n1in dom ev_F_idxseqf)x by A3A2;
A6: for i be Nat st i in dom ev_ BSbe ofS
ev_(F_idxseq(f),x).i = 0.R
proof
let i be Nat;
assume
A7: i in dom ev_(F_idxseq(f),x) & i <> inBSiffx Coim(f,TRUE
: BS {java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
A9: i in dom idxseq(f) by A3,Def23,A7; then
( S f). rngcanFS (Support @)byFUNCT_1:3;
then
(canFS Supportfx =TRUEby,d3
reconsider java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
reconsider assumef in {RUE}then
reconsider u = Iota(x1,R) as Element of Free_LMod(X by:;
reconsider v = (ev_iota(f)).x1 as Element of Free_LMod(X,R);
x <> x1 by A2,A7,A9,FUNCT_1 thesis by A2,TARSKI:;
A10: 0.R = @u.x by Def17;
A11: [r,u] in [:the carrier ;
v or benon finitesetjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
,u Def19
A12: @v.x
= (LMULT(X,R).(r,u)).x by A11,FUNCT_1:49 .= r*(@u.x) java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.= .R by A10;
ev_(F_idxseq(f),x).i = ev_(x,R).((F_idxseq(f))/.i) by A4,A7,Def23
.= ev_(x,R)
.= ev_(x,R).((ev_iota(f)).((idxseq(f)).java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
.= 0.R by( or (x)or .x :def 2;
hence thesis;
end;
consider k be Natsuchthat
A13: x p''q) =;
xseq()x. = @f.xbyA1,Th13;
A14: ev_(F_idxseq(f),x).n1 = @f.x by A2,A13,FUNCT_1:def 4;
ev_(_(f) (R.((f) Th11
. @F_idxseq).by
hence thesis assumep .x=TRUE
end;
::$MR Every element of $\mathrm{Free\_LMod}(X,R)$ is the sum of its canonical finite decomposition.
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
lement (R ()
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A1: dom @f = X by be setst
forobeing object st o in dom @f holds
@f.o = @(Sum(F_idxseq(f))).o
proof
let o be object;
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
reconsider x = o as Element of X;
per cases;
suppose o in java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 6
hence thesis by Th14;
end;
suppose
A4: not o in Support @A4: not o in ,BOOLEAN
@f.x = ev_ ( or )s)=(*,TRUE /Coim(*,
. Snonemptyfiniteset,
hence thesis;
end;
end; then
@f = @(Sum(F_idxseq(f))) by A1;
hence thesis;
end;
:
for x be Element of X, r be Element of R st r <> 0.R holds
Support @(r*Iota(x,R)) = {x}
proof
let x be Element of X, r be Element of R;
assume
A1: r< 0.;
A3: injava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 28
proof
let o be object;
assume
A2: o in Support @(r*Iota(x,R)); then
x1=o as ofX
A3 @rIotax,R).x1 =*(,R.x1byTh7
er cases;
suppose
o = x;
hence thesis by TARSKI:def 1;
end;
suppose
o <> x; then
@Iota(x,R).o = 0.R by A2,Def17;
hence thesis by A2,A3,POLYNOM1:def 4;
end;
end;
@Iota(x,R).x = 1.R by Def17; then
@(r*Iota(x,R)).x = r*1.R by Th7 .= r; then
x in Support @(r*Iota(x,R)) by A1,POLYNOM1:def 4;
hence thesis by ZFMISC_1:31;
end;
Lm24:
for f be Element of Free_LMod(X,R), i be Nat st i in dom idxseq(f) holds
Support @((F_idxseq(f))/.i) = { (idxseq f).i }
proof
let f be Element of Free_LMod(X,R), i be Nat;
assume
A1: i in dom idxseq f;
A2: dom F_idxseq f = Seg len F_idxseq f by FINSEQ_1:def 3
.= Seg len idxseq f by Def24
.= dom idxseq f by FINSEQ_1:def 3;
reconsider x9 = (idxseq(f)).i as Element of X by A1,FINSEQ_2:11;
rng canFS Support @f = Support @f by FUNCT_2:def 3; then
x9 in Support @f by A1,FUNCT_1:3; then
@f.x9 <> 0.R by POLYNOM1:def 4; then
A6: ev_(x9,R).f <> 0.R by Def20;
reconsider r = ev_(x9,R).f as Element of the carrier of R;
(F_idxseq(f))/.i = (F_idxseq(f)).i by A1,A2,PARTFUN1:def 6
.= (ev_iota(f)).x9 by A1,A2,Def24
.= (ev_(x9,R).f)*(IotaMap(X,R).x9) by Def21
.= r*Iota(x9,R) by Def19;
hence thesis by A6,Lm23;
end;
Lm25:
for f be Element of Free_LMod(X,R) holds
(ex x be Element of X st Support @f = {x}) iff len idxseq(f) = 1
proof
let f be Element of Free_LMod(X,R);
thus (ex x be Element of X st Support @f = {x}) implies len idxseq(f) = 1
proof
given x be Element of X such that
A1: Support @f = {x};
card canFS(Support @f) = card Support @f by FINSEQ_1:93
.= 1 by A1,CARD_1:30;
hence len idxseq(f) = 1;
end;
assume len idxseq(f) = 1; then
card(Support @f) = 1 by FINSEQ_1:93;
or ((x in dom g ) & (g.x in {TRUE})) by FUNCT_1:def 7,TARSKI:def 1; then
: Supportf a by CARD_242;
reconsiderx=aas Element XbyA4,ZFMISC_1:;
x;
thus Support @f = {x} by A4;
end;
Lm26:
for x be end;
Support @f = {x} holds f = (@f.x)*(IotaMap(X,R).x) & f = (F_idxseq(f)).1
& F_idxseq(f) = <* (() (f'or'){} :
of ,f Elementof Free_LModXR)java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
assume
A1: Support @f = {x}; then
considerx0 beElement ofX that
A2: Support @f = {x0};
A4: x = x0 by A1,A2,ZFMISC_1:3;
A5: idxseq( =1by A2Ljava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
dom F_idxseqA2d1;
.= Seg 1 by A5,Def24; then
A6: iff in dom f \domg byMARGREL1def 18;
A7: idxseq(f) = :in f''g){ x dom (''g)
A8 (F_idxseq(f).1 =((f).((idxseq(f).1)
.= f & )x TRUE iff
.=(f.)(otaMap(X,)x)by ,Def20;then
F_idxseq( in f''g"TRUE}iff
then
f = ( ''g){RUE}iff {RUE
hence by :44,A8,A5,FINSEQ_1:40,94, A1
end;
theorem :
forfgbeElement of (X,)
st Support @f misses Support @g holds
S @g Support f \ Support g
letf, of Free_LMod(,)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
assume
A1: Support @f misses Support @g;
thusSupport (+g c=( @)\ ( g
proof
let o be object;
A3: o in Support @(f+g); then
reconsider x = y=sx Element Sjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
x in (Support @f) \/ (Support @g)
roof
(Support f /Supportg);then
x in(Support @)¬ in (Support @g)by :def ;
then
5 fx =0R&@. R POLYNOM1:4
@(g. @fx + @g.x by Th8 .= .by A5;
hence contradiction by A3,POLYNOM1:def 4;
end;
hence thesis;
end;
eto object
assume o in (Support @f) \/ (Support @g); then
per cases by XBOOLE_0:def 3;
suppose
A7: o in Support @f; then
reconsider x = o as Element of X;
(g. @x+@.x ;
x Support gby A7,BOOLE_0:ef 4 then
@.x =0R POLYNOM1:def4
0. in f by :ef ;
hence by ,POLYNOM1:ef 4java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
endnot(x indom &fx {TRUE}) by A4,TARSKI:def 1;
suppose
A10: o in Support @g; then
reconsider x = o as Element of X;
A11: @(f+g).x = @f.x + @g.x by Th8;
inf A1A10,XBOOLE_0:def 4; java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
@f.x e;
.R >@.x+ @. by,def 4;
thesisA11:def 4java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
end;
end;
definition
let X,R,N;
let u be Function of X,N;
func @u -> Element of Funcs(X,[#]N) equals
u;
coherence by FUNCT_2:8;
end;
definition
let X,R,N;
let u be Function of X,N;
func ^u -> Element of Func_Mod(X,N) equals
u;
coherence by FUNCT_2:8;
end;
definition
let X,R,N;
let u be Element of Func_Mod(X,N);
func ^u -> Function of X,N equals
u;
coherence by FUNCT_2:66;
end;
begin :: Universal Mapping Property
reserve B,B1,B2 for Element of Fin X;
reserve f for Element of Free_LMod(X,R);
reservev ofX carrier;
definition
let R be non degenerated Ring, X be non empty set, N be LeftMod of R;
let v be Function of X, the carrier of N;
let f be Element of Free_LMod(X,R);
func TermFS(f,v) -> Function of X, the carrier of N means
:Def28:
for Element of X holds it. = @.x) v.;
existence
proof
deffunc F(Element of X) = (@f. beofD
consider g being Function of X, the carrier of N such that
A1: for x being Element of X holds g.x = F(x) from FUNCT_2:sch 4;
take g;
thus thesis by A1;
endSbe non finite,
uniqueness
proof
let g1, s be Elem ofDjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
assume that
A2: for x being Element of X holds g1.x = (@f.x) * (v.x) and
A3: for x being Element of X holds g2.x = (@f.x) * (v.x);
now let x be Element of X;
thus g1.x = (@f.x) * (v.x) by A2
.= g2.x by A3;
end;
hence g1 = g2;
end;
end;
definition
let R be non degenerated Ring, X be non empty set, N be LeftMod of R;
v be Function of X, thecarrier ;
let f be Element of Free_LMod(h ;
let B be Element of Fin X;
func PhiSet(v,f,B) -> Element of N equals
(the addF of N) $$ (B, TermFS(f,v)); end
;
end;
theorem Th17:
for x being Element of X holds PhiSet(v,f,{.x.}) = (@f.x) * (v.x)
proof
let x be Element of X card (trueEVENTjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
PhiSet(v,f,{.x.}) = PhiSet(v,f,{.x.}) = =oim(( & g*TRUE)
= @.) *(v.) by ;
hence thesis;
end;
Th18: ::: SETWOP_2:7 in other words
for X,Y be non empty set
for F be BinOp of Y
for t1,t2 be Function of X,Y
for B be Element of Fin X
st F is commutative & F is associative & F is having_a_unity &
(for x be Element of X st x in B holds t1.x = t2.x)
holds F $$ (B,t1) = F $$ (B,t2)
proof
let X,Y be non empty set;
FBinOp Y
t1t2 Function ,Y
let B be Element of Fin X;
that
A1: F is commutative & F is associative & F is having_a_unity and
A2: for x be Element of X st x in B holds t1.x = t2.x;
A4: B is Subset of X by FINSUB_1:16 be ,
A5: )=(dom )/\ B by RELAT_1:61
.= X /\ B by FUNCT_2:def 1
.= B by XBOOLE_1:28,A4
dom(t2B)=()/\B :java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
.= X / reconsider fs) as finite set;
.= B by XBOOLE_1:28,A4;
|= B
proof
for x be object :(f*, bool( s by ,java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
proof
let x be object;
assume
A7: x in dom (t1|B); then
reconsider x1 = x as Element of X-cardCfS)/len ) by A4,CMPLX_1:
(t1|B).x = java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 6
.= t2theorem Th27:
.= ( for S be non empty Sbe non empty set,
hencef, Function SBOOLEAN
end
thesis A5,A6;
end;
hence thesis by EqSampleSpaces of ,
end;
definition
empty set
letf be of (,)
SuppFinf) ->Element of Fin equals
upport @f;
FINSUB_1:5
end;
::$INSERT we define the induced homomorphism $\Phi(v):\mathrm{FS\_Funcs}(X,R)\to N$.
definition
l Rbe non Ring
v be Function thecarrierofN;
func Phi(v) -> Function of Free_LMod(X,R), the carrier of N means
: f be F of ,OOLEAN
for f being Element of Free_LMod(X,R) holds
(f)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
existence
(of X,) PhiSetv$,$);
=
A1: for f being Element of Free_LMod(X,R) holds h.f = F(f)
from FUNCT_2:sch 4;
take h;
thus thesis by A1;
end;
uniqueness
proof
let h1,h2 be Function of java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 34
assume that
A2: for f being Element of Free_LMod(X,
and
A3: for f being Element of Free_LMod(X,R) holds h2.f = PhiSet(v,f,SuppFin(f));
now let f be Element of Free_LMod(X,R);
thus h1. (,fSuppFin() by A2
.= h2.f by A3;
end;
hence h1 = h2;
end;
end
theorem Th19:
for R be non degenerated Ring, X be non emptyA7:domf =SbyFUNCT_2:;
v be Function of X, the carrier of N, x be Element of X holds
(().x)=vx
proof
let R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N, x be Element of X;
set fx = Iota(x,R);
SuppFin(fx) = {.x.} by Lm16; then
(Phi(v)).fx = PhiSet(v,fx,{.x.}) by Def31; then
(Phi(v)).(Iota(x,R))
.) Th17
. 1.R vx) by
.= v.x;
hence thesis;
end;
:: Additivity of Phi(v) can be intuitively understood
:: by reducing to the disjoint-support case.
theorem :::: Th20:
for be non Ring empty, N be LeftModof ,
vbe of X carrierofN ,gbe of Free_LModX,R)
st Support @f misses Support @g
((v)).(f+g) = (Phi(v)).f + (Phi(v)).g
proof
let R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N, f,g be Element of Free_LMod(X,R);
assume
A1: Th31
set F = the addF of N;
set Bf = SuppFin(f), Bg = SuppFin(g);
set tf = TermFS(f,v),tg'java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
A2 be of in holds. = tf.java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
let be Element of X;
assume x in Bf; then
A4: x Support @ byA1,:;
.x=((+g)x v.)by
)*(.)by Th8
.=(@f.+0.)*(.)by A4,POLYNOM1:def
.= tf.x by Def28;
hence thesis;
end;
: xbe Element X in holds th.x =tg.
xbe X;
meinBg
inSupport f A1,XBOOLE_0:3
th.x = (@(f+g).x) * (v.x) by Def28
.= (@f.x + @g.x) * (v.x) by Th8
.= (0.R + @g.x) * (v.x) by A7,POLYNOM1:def 4
.= tg.x by Def28;
hence thesis;
end;
end;
(Phi().f+)
= PhiSet(v,f end;
.= PhiSet(v,f+g,Bf \/ Bg) by A1,Th16
.= F.(PhiSet(v,f+g,Bf), PhiSet(v,f+g,Bg)) by A1,FVSUM_1:8,SETWOP_2:4
.= F.(PhiSet(v,f,Bf), PhiSet(v,g,Bg)) by FVSUM_1:8,A2,Th18,A8
.= F.((Phi(v)).f, PhiSet(v,g,Bg)) by Def31
.= (Phi(v)).f + (Phi(v)).g by Def31;
hence thesis;
end;
Lm27:
for R be non degenerated Ring, N be LeftMod of R holds
the_unity_wrt the addF of N = 0.N
proof
let R be non degenerated Ring, N be LeftMod of R;
set F = the addF of N;
for a be Element of N holds F.(0.N,a) = a & F.(a,0.N) = a
proof
let a be Element of N;
A1: F.(0.N,a) = 0.N + a .= a;
F.(a,0.N) = a + 0.N .= a;
hence thesis by A1;
end; then
0.N is_a_unity_wrt F by BINOP_1:3;
hence the_unity_wrt F = 0.N by BINOP_1:def 8;
end;
Lm28:
for R be non degenerated Ring, X be non empty set,
N be LeftMod of R, v be Function of X, the carrier of N,
f be Element of Free_LMod(X,R), B,C be Element of Fin X st B c= C &
(for x be Element of X st x in C \ B holds TermFS(f,v).x = 0.N) holds
PhiSet(v,f,B) = PhiSet(v,f,C)
proof
let R be non degenerated Ring, X be non empty set,
N be LeftMod of R, v be Function of X, the carrier of N,
f be Element of Free_LMod(X,R), B,C be Element of Fin X;
assume A, set,
A1: B c= C and
A2: for f, be SBOOLEAN
set F = the addF of N;
set t = TermFS(f,v);
reconsider Dproof
: B\ D A1,BOOLE_145
A6: B misses DbeEqSampleSpaces S,
per cases;
suppose
D = {}; then
byX:37java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
thesis
end;
suppose
A8: D <> {};
.:Njava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
proof
thus : c 0N
proof
let y be object;
y t.D;then
consider x being object such that
A12: x in dom t & x in D & y = t.x by FUNCT_1:def 6;
reconsider thensin x B ,FUNCT_3
t.x1 = 0.N by A2,A12;
hence thesis by A12,TARSKI:def 1;
end;
:D ofXFINSUB_116;
consider x being object such consider f be Function of Funcs(S,BOOLEA that
A15: x in D by A8,XBOOLE_0:def 1;
reconsider x1 = x as Element of X by A15,A14;
ex u being object st u in dom t & u in D & 0.N = t.u
proof
take x1;
dom t = X by FUNCT_2:def 1;
hence thesis by A15,A2;
end; then
A17: 0.N in t.:D by FUNCT_1:def 6;
let y be object;
assume y in {0.N};
hence thesis by A17,TARSKI:def 1;
end;
A19: F $$ (D,t) = 0.N
proof
set e = the_unity_wrt F;
t.:D = {e} by A9,Lm27; then
F $$ (D,t) = e by FVSUM_1:8,SETWOP_2:8
.= 0.N by Lm27;
hence thesis;
end;
PhiSet(v,f,C)
= (F $$ (B,t)) + 0.N by A19,A6,FVSUM_1:8,A5,SETWOP_2:4
.= PhiSet(v,f,B);
hence PhiSet(v,f,B) = PhiSet(v,f,C);
end;
end;
Lm29:
for R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N,
f be Element of Free_LMod(X,R), x be Element of X
st not x in Support @f
holds TermFS(f,v).x = 0.N
proof
let R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N,
f be Element of Free_LMod(X,R), x be Element of X;
assume not x in Support @f; then
@f.x = 0.R by POLYNOM1:def 4;
hence TermFS(f,v).x = (0.R) * (v.x) by Def28
.= 0.N by VECTSP_1:14;
end;
Lm30:
for R be non degenerated Ring, X be non empty set,
f,g be Element of Free_LMod(X,R), x be Element of X
st x in Support @(f+g)
holds x in (Support @f) \/ (Support @g)
proof
let R be non degenerated Ring, X be non empty set,
f,g be Element of Free_LMod(X,R), x be Element of X;
assume
A1: x in Support @(f+g);
assume not x in (Support @f) \/ (Support @g); then
not x in Support @f & not x in Support @g by XBOOLE_0:def 3; then
A3: @f.x = 0.R & @g.x = 0.R by POLYNOM1:def 4;
@(f+g).x = @f.x + @g.x by Th8
.= 0.R by A3;
hence contradiction by A1,POLYNOM1:def 4;
end;
Lm31:
for R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be let x be Element Funcs(,BOOLEAN;
xbe of (+gv).x = TermFS(f,v).x + TermFS(g,v).x
proof
let R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N, f,g be Element of Free_LMod(X,R),
x be Element of X;
TermFS(f+g,v).x = (@(f+g).x) * (v.x) by Def28
.= (@f.x + @g.x) * (v.x) by Th8
.=(@fx (v) +(gx) *(v.x)by VECTSP_1:ef 15
.= TermFS(f,v).x + (@g.x) * (v.x) by Def28
.= TermFS(f,v).x + TermFS(g,v).x by Def28;
for S be setjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
end;
Lm32:
for R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N, f,g be Element java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 32
B be Element of Fin X st D1 = $1 & ch = chi(D1,S 2 Prob,D);
proof
let R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N, f,g be Element of Free_LMod(X,R),
B be Element of Fin X;
set F = the addF of N;
set th = TermFS(f+g,v);
A1: for x be A1: now let x be object;
TermFS(f+g,v).x = (F.: (TermFS(f,v),TermFS(g,v))).x
proof
Element;
th fchixx,S as Function of SBOOLEAN by:11;
.= (F.: (TermFS(f,v),TermFS(g,v))).x by FUNCOP_1:37;
hence thesis;
end;
PhiSet(v,f,B) + PhiSet(v,g,B)
= F $$ (B, F.: (TermFS(f,v),TermFS(g,v))) by FVSUM_1:8,SETWOP_2:10
.= PhiSet(v,f+g,B) by FVSUM_1:8,A1,Th18;
hence thesis;
end;
theorem Th21:
for R robchD in XREAL_0: 1;
v be Function of X, the carrier of N, f,g be Element of Free_LMod(endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
holds (Phi(v)).(f+g) = (Phi(v)).f + (Phi(v)).g
proof
let R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N, f,g be Element of Free_LMod(X,R);
set Bf = SuppFin(f), Bg = SuppFin(g), Bh = SuppFin(f+g);
set B = Bf \/ Bg;
A1: Bh c= B by Lm30;
A2: PhiSet(v,f,Bf) = PhiSet(v,f,B)
proof
forfrom FUNCT_2:sch 1(A1);
roof
let x be st A misses B holds EP.(A/B A +
assume x in B \ Bf;
then not x in Bf by XBOOLE_0:def 5;
hence thesis by Lm29;
end;
hence thesis by XBOOLE_1:7,Lm28;
end;
A4: PhiSet(v,g,Bg) = PhiSet(v,g,B)
proof
for x be Element of X st x in B \ Bg holds TermFS(g,vproof
proof
let x be Element of X;
assume x in B \ Bg;
then in Bg by :ef5;
hence thesis by Lm29;
end;
hence thesis A5: = chi(A,S) & EP.A = Prob(chA,D);
end;
A6: PhiSet(v,f+g,Bh) = PhiSet(v,f+g,B)
proof
for x be Element of X st x in B \ Bh holds TermFS(f+g,v).x = 0.N
proof
let x Element X;
assume x in B \ Bh; then
not x in Bh by XBOOLE_0:def 5;
by java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
end;
hence thesis by A1,Lm28;
end;
(Phi(v)).(f+g) = PhiSet(v,f+g,B) by A6,Def31
.= PhiSet(v,f,Bf) + PhiSet(v,g,Bg) by A4,A2,Lm32
.= (Phi(v)).f + PhiSet(v,g,Bg) by Def31
.= (Phi(v)).f + (Phi(v)).g by Def31;
hence thesis;
end;
Lm33:
for R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N, f be Element of Free_LMod(X,R),
a be Element of R, x be Element of X
holds TermFS(a*f,v).x = a * (TermFS(f,v).x)
proof
let R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N, f be Element of Free_LMod(X,R),
a be Element of R, x be Element of X;
TermFS(a*f,v).x = (@(a*f).x) * (v.x) by Def28
.= (a * (@f.x)) * (v.x) by Th7
.= a * ((@f.x thus.( \/B =(hA,) +(hB,)
.= a * (TermFS(f,v).x) by Def28;
hence thesis;
end;
Lm34:
letA of S);
v be Function of X, the carrier of N, f be Element of Free_LMod(X,R),
a be Element of R, B be Element of Fin X
holds PhiSet(v,a*f,B) = a * PhiSet(v,f,B)
proof
let R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N, f be Element of Free_LMod(X,R),
abeElement of , be Element FinX
addFofN t =TermFSfv;
deffunc H(Element of N) = a * $1;
consider h being Function of the carrier of N, the carrier of N such java.lang.StringIndexOutOfBoundsException: Range [0, 78) out of bounds for length 26
A1: for y java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 5
A2: F is commutative & assume isnon-;
set e = the_unity_wrt F;
e = 0.N by Lm27; then
A4: h.e = a * (0.N) by A1
.= 0.N by VECTSP_1:14
.= e by Lm27;
A5: for d1, d2 being Element of N holds h.(F.(d1,d2)) = F.(h.d1, h.d2)
proof
let d1, d2 be Element of N;
h.(F.(d1,d2)) = a * (d1 + d2) by A1
.= a*d1 + a*d2 by VECTSP_1:def 14
.= (h.d1) + a*d2 by A1
.= F.(h.d1, h.d2) by A1;
hence thesis;
end;
h*t = TermFS(a*f,v)
proof
for x being Element of X holds (h*t).x = TermFS(a*f,v).x
proof
let x be Element of X;
(h*t).x = h.(t.x) by FUNCT_2:15
.= a * (t.x) by A1
. Lm33;
hence thesis;
end;
hence thesis;
end; then
PhiSet assume
= h.(PhiSet(v,f,B)) by A2,A4,A5,SETWOP_2:16
. PhiSet(fB A1
thesis;
;
theorem Th22:
for R be non degenerated Ring, X be non empty set, N be LeftMod of R,
beFunction ofX carrier of N f Elementof Free_LMod(X,R),
a be Element of R holds (Phi(v)).(a*f) = a * ((Phi(v)).f)
proof
let R be non degenerated Ring, X java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 8
v be Function ofend;
a be Element of R;
set Bf let Sbe non empty set
A1: PhiSet(v,f,Bf) = PhiSet(v,f,B)
proof
for x be Element of X st x in B \ st ch =(xS)& x=(D);
proof
let x be Element of X;
assume x in B \ Bf; thenassume
not x in Bf by XBOOLE_0:def 5;
hence TermFS(f,v).x = 0.N by Lm29 st ch= chi(,S)&F. Prob(D;
end;
hence thesis by XBOOLE_1:7,Lm28;
end;
A4: PhiSet(v,a*f,Baf) = PhiSet(v,a*f,B)
ch =chi(,)&G Prob(chD);
for x be Element of X st x in B inTrivialSigmaField()
proof
let x be Element of X;
assume x in B \ Baf; then
not x in Baf by XBOOLE_0:def 5;
hence TermFS(a*f,v)java.lang.StringIndexOutOfBoundsException: Range [28, 6) out of bounds for length 6
end;
hence thesis by XBOOLE_1:7,Lm28;
end;
(Phi(v)).(a*f) = PhiSet(v,a*f,B) by A4java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
a*(f,f) A1,m34
.= a * ((Phi(v)).f) by Def31;
henceletS non set
;
theorem ::::::: PENCIL_2?
for M be non empty addLoopStr
for p be FinSequence of the carrier of M D S be ofD
st k in dom p holds Del(p,k,k) = Del(p,k)
proof
let M be non empty addLoopStr benonfinitejava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A1: for a be set holds a=x implies f.a=TRUE
assume
A1: k in dom p; then
Seg len p <> {} by FINSEQ_1:def 3; then
A2: len p <> 0;
reconsider p0 = p as FinSequence of the carrier of M;
reconsider m = len p0 - 1 as Nat by A2;
A3: len p0 = m + 1;
A4: len p0 = m + 1 & k in dom p0 by java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 13
A5: 1 <= k <= len byA1,FINSEQ_3:25; then
A6: len (p0|(k-'1)) = k-'1 by NAT_D:A4:tin D &((S)D= t)byDIST_1:ef ;
A7: len (p0/^k) = len p0 - k by A5,RFINSEQ:def 1;
n .(anFSS) Nat;
.=(-')+(lenp0-k)byA5,java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
.= (k - (canFS(S)). = A7:
.= len p0 - 1;
A9: for i be et non empty
proof
let i be Nat;
assume
A10: i in dom Del(p,k,k); then
i in {x}by ARSKIdef ;
A12: 1 <= i <= len Delthus byA1;
per cases;
suppose
A13: < k; then
A14: i <= ()- Realequals
1 <= i by A10,FINSEQ_3:25; then
in Seg len (0|k-1)byA14A6
i in dom (p0|(k X be of ,
(Del(p,k,k)).java.lang.StringIndexOutOfBoundsException: Range [2, 26) out of bounds for length 24
.= p0.i by A14,FINSEQ_3:112;
hence (Del(p,k,k)).i = (Del(p0,k)).java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 21
end;
suppose
A16: k ;
A17: k <= i < f=(canFS "java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
A18: A2 dom t =Seg cardSD)by:ef 3;
k- k 30
-1<,,java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 48
len (p0 =SD \s"xbyFUNCT_170
p0(k1)) > 0 XREAL_150;then
()= byjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 47
A7: (f*(canFS))= dom( SD)by FUNCT_139;
=mbyA17:;then
mjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 39
(m-k) +1 > 0; then
reconsider s = (len p0) st SD = s"X & t = extract(s,SD) & x in X holds
:domp0/k) sby A7,INSEQ_1:3
= k')by,AT_D:44,59
A25 i=j +(k-'1);
A26: (len p0) -k -(i - (k-'1)) = (len p0) -i -1 by A18;
m i> 0 byA17,REAL_148 then
A28: j <= s by A24,A26,XREAL_1:49;
A29: i - k >= k-k by A16,XREAL_1:6;
i - (k-'1) - 1 = i -(k - 1) - 1 by A1,FINSEQ_3:25,XREAL_1:233
.=i -k then
i - DassumeA1:SD= s"X & = extract(,SD)&xin
1 <= j by A5,NAT_D:44,FINSEQ_1:59; then
A32: j in Seg s by A28; then
A33: (java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 6
j in dom (p0/^k) by A32,A7,FINSEQ_1:def
A35: (p0/^k).j = p0.(k+j) by FINSEQ_5:27;
A36: j = i - (k-'1) by proof
-' = -1 by ,:25X:33 java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
+j=i by
hence thesis by A17,A1,A3,FINSEQ_3:111,A33,A35;
end;
end;
dom Del(p,k,k)
= Seg len Del(p0,k) by A8,A4,FINSEQ_3:109,FINSEQ_1:def 3
.= dom Del(p0,k) by FINSEQ_1:def 3;
hence thesis by A9;
end;
Lm37:
for N be Abelian add-associative right_zeroed right_complementable
non empty addLoopStrjava.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 0
k be Nat st k in dom p holds
Sum p ((p,k) /k
proof
let N be Abelian add-associative right_zeroed right_complementable
non empty addLoopStr,
pbeof the carrier of N,
k be Nat;
set a = p|(k-'1), b = p/^k, c = <* p/.k *>;
assume
A1: k in dom p; then
1 <= k reconsider asSubsetof doms RELAT_1:;
p = (p|(k-'1))^<*p.k*>^(p/^k) by FINSEQ_5:84
.= a^c^b by A1,PARTFUN1:def 6; then
Sum p = Sum (a^c) + Sum b by RLVECT_1 of s XBOOLE_1:1
Sumb RLVECT_1:41
.= ( A1:fchi(X,S)&MembershipDecision() =;
.= Sum (Del(p,k,k)) + Sum c by RLVECT_1:41;
hence thesis by RLVECT_1:44;
end;
definition
let R be Ring, X be set, M.in f java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
let sxin by F36
attr u is universal means
ofR beFunction X carrierof
holds
ex F be Homomorphism of (id R), M,N st :xinSX
,f2 beHomomorphism of (dR,M, st *=v *u = v
.xinXA5,: 7;java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem Th23:
for R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N
holds Phi(v) is Homomorphism of (id R for S be finite set,
proof
let R be non degenerated Ring, X be java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 24
v be Function of X, the carrier of N;
set F = Phi(v);
A1: for SD1 = s1 = X&1=s1,SD1 &
F.(x+y) = (F.x) + (F.y) by Th21;
for a java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 7
F.(a*x) = ((id R).a) * (F.x) by Th22;
hence thesis by A1,MOD_4:def 17;
end;
theorem Th24:
for R be non degenerated Ring, X be non empty set, N be LeftMod java.lang.StringIndexOutOfBoundsException: Range [0, 69) out of bounds for length 38
v be Function of X, the carrier of then t(MembershipDecision()*) ;
holds (Phi( then:(MembershipDecisionX)s1
proof
let R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N;
for x be Element of X holds ((Phi(=len t2)( s2Th11,1;
proof
let x be Element of X;
(Phi() *IotaMapXR).x
=(()(IotaMap(,).)byFUNCT_2:15
.= (Phi(v)).(Iota(x,R)) by Def19
.= v.x by Th19;
hence thesis;
;
hence thesis;
end;
Lm38:
for R be non degenerated Ring, X be non empty set, N be LeftMod of R,
h be Homomorphism of (id R), Free_LMod(X,R), N
holds h.(0.Free_LMod(X,R)) = 0.N
proof
let R be non degenerated Ring, X be non empty set, N be LeftMod of R,
beof(d(XR,N;
set J = id R;
.0Free_LMod(X,) ((.)*(.XR))byVECTSP_1:
.= (J.(0.R)) * (h.(0.Free_LMod(X,R))) by MOD_4:def 17
.= 0.N by VECTSP_1:14;
hence thesis;
end;
registration
frequencyxt1 len s1
let h be Function of the carrier of M, the carrier of N;
of M;
cluster h*s -> FinSequence-like (the carrier of N)-java.lang.StringIndexOutOfBoundsException: Range [14, 1) out of bounds for length 53
coherence;
end;
theoremTh25:
,E nonjava.lang.StringIndexOutOfBoundsException: Range [23, 18) out of bounds for length 75
d be Element of D holds h*(p^<*d*>) = (h*p)^<*h.d*>
proof
let D,E be non empty set, h be Function of D,E, p be FinSequence of D,
d be Element of D;
set q = h*(p^<*d*>), r = (h*p)^<*h.d*>, i = len p + 1;
A1: len q = len(p^<*d*>) by FINSEQ_2:33;
A2: len(h*p) = len p by FINSEQ_2:33;
A3: len(p^<*d*>) = i by FINSEQ_2: A14:i in t1 &t1.in{} by FUNCT_1: ;
A4: dom q =Seg i by FINSEQ_1def ;
reconsider p1 = p^<*d*> as FinSequence of D;
A5: dom p1 = Seg i by A3, FINSEQ_1:def 3;
A6: for j be object st j in dom q holds : Seg cSD1 :
proof
let j be objectA16: canFS =SD1 by FINSEQ_1:4;
:p= p FINSEQ_1: 3java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
A8: Seg len(h*p) = theni indom () A14,A15,d3tjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
assume
A9: j in dom q; then
per cases by A4,A7,FINSEQ_2:7;
A10: j in dom p;
(hthenCoimt, emptyby XBOOLE_0:1
.= h.(p.j) by A10,FINSEQ_1:def 7
.= (h*p).j by A2,A7,A8,A10,FUNCT_1:12
leti ;
hence thesis;
end;
suppose
A11: j = i;
(h*(p^<*d*>)).j = h.(p1.j) by A5,A4,A9,FUNCT_1:13 .= asNat by
hence
end;
end;
len q = len (p^<*d*>) by FINSEQ_2:33 .= lenlen canFSS)=cardSD2 93;
.= len(h*p) + 1 by FINSEQ_2:33 .= len r by FINSEQ_2:16;
hence by,:29;
end;
forVnon emptyright_zeroedaddLoopStr,
W being non empty add-associative right_zeroed right_complementable
addLoopStr,
h being Function of the carrier of V, the carrier of W
st h is additive holds h.(0.V) = 0.W
proof
let V be non end;
W be non empty add-associative right_zeroed right_complementable
addLoopStr,
h be let S be non empfiniteset,
set 0.java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
assume
A1: h is additive;
h.z = h.(z+z) by RLVECT_1:def 4
.= h.z + h.z by A1;
hence thesis by RLVECT_1:9;
end;
theorem Th26:
for M,N being non empty add-associative right_zeroed right_complementable
addLoopStr,
h being Function of the carrier of M, the carrier of N,
such that A2:x in rng s by Def10java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
st isadditive
holdsA4:x =s.n by A2FUNCT_1:defjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
proof
M,Nbenon emptyjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 76
addLoopStr,
h be Function of the carrier of M, the carrier of N,
beFinSequence of carrier M
assume
A1: h is additive;
defpred P[Nat] means
for s being FinSequence of the carrier of M
st len s = $1 holds h.(Sum s) = Sum(h*s);
A2: P[0]
proof
let s be FinSequence of theend;
assume
A3: len s = 0; then
Sum s = 0.M by RLVECT_1:75; then
A5: h.(Sum s) SD1 beSubsetofs1suchthatA6:
s = <*>the carrier of M by A3; then
h*s = <*>the carriert2 beFinSequenceofS,
hence thesis by A5, RLVECT_1:43;
end;
n Nat Pn holdsPn1
let n be Nat;
assume
A7: P[n];
let s be FinSequence of the carrier of M;
set s0 = s|n;
assume
A8: len s = n+1; then
A9: len s0 = n by FINSEQ_1:59, NAT_1:11;
A10: 1 <= n+1 <= len s by A8, NAT_1:11 let S be empty finite ,
A11 /(+)=s.
n+1 in Seg besamplingRNGD,
n+1 in dom s by FINSEQ_1:def 3; then
reconsider v = s.(n+1) as Element of M by FINSEQ_2:11;
A12: h*s = h*(s0^<*v*>) by A8, A11,
.= (hjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
h.(Sum s) Prob(f,X) * ProbX f & MembershipDecisionX))java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
.= h.(Sum s0 + v) by FVSUM_1:71
.= h.(Sum s0) beEqSampleSpacesofS,
.= Sum(h*s0) + h.v by A7, A9
.= Sum(h*s) by A12,FVSUM_1:71;
hence thesis;
end;
: Nat Pn] from :ch 2(A2,;
len s is Nat;
hence thesis by A13;
end;
Lm40:
for R be non degenerated Ring SDbeSubset of dom such A1 =s" &t extract(s,) &
h be Homomorphism of (id R), Free_LMod(X,R)by ;
beFinSequence the carrier of Free_LMod(X,R)
holds h.(Sum s) = Sum(h*s)
proof
let R be non degenerated Ring, X be non empty set, N be LeftMod of R,
h be Homomorphism of id R, Free_LMod(X,R), N,
s A3:rng t c= X
defpred P[Nat] means
for s be java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 9
h.(Sum s) = Sum(h*s);
A1: P[0]
proof
let s be FinSequence of the carrier of Free_LMod(X,R);
assume
A2: len s = 0; then
s = <*>(the carrier of Free_LMod(X,R)); then
A3: Sum s = 0.Free_LMod(X,R) by RLVECT_1:43;
h*s = <*>(the = (SD)x
Sum(h*s) = 0.N by RLVECT_1:43;
thesisbyA3,;
end;
A4: for k be Nat st dom (canFS(SD)) (() by A6,INSEQ_1:3then
proof
let k be Nat;
assume
A5: P[k];
let s be FinSequence of the java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 31
assume
A6: len s = k+1; then
consider t be FinSequence of the carrier of Free_LMod(X,R),
d be Element of Free_LMod(X,R) such that
A7: s = t^ =(card ((*)/(lent (len t)/ls)by82
A8: k+1 = len t +1 by A6,A7,FINSEQ_2:16;
Sum s = Sum t + d by A7,FVSUM_1:71; then
A9: h.(Sum s) = h.(Sum t) + h.d by MOD_4:def 17;
A10:h*(<d* (h*t)^<*hd>by java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
thus.Sum s) ht)+h by AA8
.= Sum(h*s) by A7,A10,FVSUM_1:71;
t(trueEVENTf)/\ tX=t(f) byA12,1,;
java.lang.StringIndexOutOfBoundsException: Range [52, 5) out of bounds for length 61
P[len s];
hence thesis;
end;
Lm41:
for R be non degenerated Ring, X be non empty set, N be LeftMod of R,
be of( ,(X,) java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
st f1 * (IotaMap(X,R)) = v & f2 * (IotaMap(X,R)) = vend;
holds f1 = f2
proof
let R be non degenerated Ring, X be non empty set, N be LeftMod of R,
v be Function of X, the carrier of N,
f1,f2 be Homomorphism of (id R),Free_LMod(X,R), N;
assume that
A1: f1 * (IotaMap(X,R)) = v and
A2: f2 * (IotaMap(X,R)) = v;
for a being Element of Free_LMod(X,R) holds f1.a = f2.a
proof
let a be Element of Free_LMod(X,R);
set s = F_idxseq(a);
dom f1 = the carrier of Free_LMod(X,R) by FUNCT_2:def 1; then
A5: rng s c= dom f1;
dom f2 = the carrier of Free_LMod(X,R) by FUNCT_2:def 1; then
A6: rng s c= dom f2;
A7: f1*s = f2*s
proof
A8: dom (f1*s) = dom s by A5,RELAT_1:27
.= dom (f2*s) by A6,RELAT_1:27;
for i be object st i in dom (f1*s) holds (f1*s).i = (f2*s).i
proof
let i be object;
assume
A9: i in dom (f1*s); then
reconsider k = i as Nat;
A10: k in dom s by A9,FUNCT_1:11;
reconsider ak = s/.k as Element of Free_LMod(X,R);
A11: dom s = Seg len s by FINSEQ_1:def 3
.= Seg len idxseq a by Def24
.= dom idxseq a by FINSEQ_1:def 3; then
reconsider xk = (idxseq a).k as Element of X
by A9,FUNCT_1:11,FINSEQ_2:11;
A12: Support @ak = {xk} by A11,A9,FUNCT_1:11,Lm24;
reconsider r = @ak.xk as Element of R;
f1.(r * ((IotaMap(X,R)).xk)) = ((id R).r) * (f1.((IotaMap(X,R)).xk))
by MOD_4:def 17; then
A13: f1.ak = r * (f1.((IotaMap(X,R)).xk)) by A12,Lm26;
f2.(r * ((IotaMap(X,R)).xk)) = ((id R).r) * (f2.((IotaMap(X,R)).xk))
by MOD_4:def 17; then
A14: f2.ak = r * (f2.((IotaMap(X,R)).xk)) by A12,Lm26;
(f1*s).i = f1.(s.k) by A9,FUNCT_1:12
.= f1.ak by A10,PARTFUN1:def 6
.= r * (v.xk) by A13,A1,FUNCT_2:15
.= f2.ak by A14,A2,FUNCT_2:15
.= f2.(s.k) by A10,PARTFUN1:def 6
.= (f2*s).i by A8,A9,FUNCT_1:12;
hence thesis;
end;
hence thesis by A8;
end;
f1.a = f1.(Sum s) by Th15
.= Sum(f2*s) by A7,Lm40
.= f2.(Sum s) by Lm40
.= f2.a by Th15;
hence thesis;
end;
hence thesis;
end;
::$MR The map $\mathrm{IotaMap}(X,R)$ satisfies the universal mapping property of the free module on $X$.
theorem
for R be non degenerated Ring, X be non empty set
holds IotaMap(X,R) is universal
proof
let R be non degenerated Ring, X be non empty set;
let N be LeftMod of R, v be Function of X, the carrier of N;
reconsider F = Phi(v) as Homomorphism of (id R),Free_LMod(X,R), N by Th23;
take F;
thus F * (IotaMap(X,R)) = v by Th24;
let f1,f2 be Homomorphism of (id R),Free_LMod(X,R), N;
assume f1 * (IotaMap(X,R)) = v & f2 * (IotaMap(X,R)) = v;
hence thesis by Lm41;
end;
Lm42:
for R be non degenerated Ring, X be non empty set,
f be Element of Free_LMod(X,R),i be Nat st i in dom F_idxseq(f)
holds (F_idxseq(f))/.i in Lin(rng IotaMap(X,R))
proof
let R be non degenerated Ring, X be non empty set,
f be Element of Free_LMod(X,R), i be Nat;
assume
A1: i in dom F_idxseq(f);
set g = (F_idxseq(f))/.i;
A2: dom F_idxseq f = Seg len F_idxseq(f) by FINSEQ_1:def 3
.= Seg len idxseq(f) by Def24
.= dom idxseq(f) by FINSEQ_1:def 3;
reconsider x = (idxseq(f)).i as Element of X by A1,A2,FINSEQ_2:11;
A3: Support @g = {x} by A1,A2, Lm24;
set W = Lin(rng IotaMap(X,R));
IotaMap(X,R).x in W by FUNCT_2:4, VECTSP_7:8; then
(@g.x) * (IotaMap(X,R).x) in W by VECTSP_4:21;
hence thesis by A3, Lm26;
end;
begin :: Linear Independence and Basis
reserve a for Nat, p for FinSequence;
theorem Th28:
for R be non degenerated Ring, X be non empty set,
f be Element of Free_LMod(X,R) holds f in Lin(rng IotaMap(X,R))
proof
let R be non degenerated Ring, X be non empty set,
f be Element of Free_LMod(X,R);
set s = F_idxseq(f);
set W = Lin rng IotaMap(X,R);
A1: for i be Nat st i in dom s holds s/.i in W by Lm42;
Sum s in W
proof
defpred P[Nat] means
for t be FinSequence of the carrier of Free_LMod(X,R) st
len t = $1 &
(for j be Nat st j in dom t holds t/.j in W) holds Sum t in W;
A3: P[0]
proof
let t be FinSequence of the carrier of Free_LMod(X,R);
assume that
A4: len t = 0 and
for j be Nat st j in dom t holds t/.j in W;
Sum t = 0.(Free_LMod(X,R)) by A4, RLVECT_1:75;
hence thesis by VECTSP_4:17;
end;
A5: for n be Nat st P[n] holds P[n+1]
proof
let n be Nat;
assume
A6: P[n];
let t be FinSequence of the carrier of Free_LMod(X,R);
assume that
A7: len t = n+1 and
A8: for j be Nat st j in dom t holds t/.j in W;
set g0 = t | Seg n;
A9: g0 is FinSequence by FINSEQ_1:15;
A10: rng g0 c= the carrier of Free_LMod(X,R);
reconsider g = g0 as FinSequence of the carrier of Free_LMod(X,R)
by A9, A10, FINSEQ_1:def 4;
A11: n <= len t by A7, NAT_1:11; then
A12: len g = n by FINSEQ_1:17;
A13: for j be Nat st j in dom g holds g/.j in W
proof
let j be Nat;
assume
A14: j in dom g; then
A15: j in Seg n by FINSEQ_1:17, A11;
Seg n c= Seg(n+1) by NAT_1:11,FINSEQ_1:5; then
j in Seg(n+1) by A15; then
A16: j in dom t by A7, FINSEQ_1:def 3;
g/.j = g.j by A14, PARTFUN1:def 6
.= t.j by A15, FUNCT_1:49
.= t/.j by A16, PARTFUN1:def 6;
hence thesis by A16, A8;
end;
A17: Sum g in W by A6, A12, A13;
n+1 in Seg len t by A7,FINSEQ_1:4; then
A18: n+1 in dom t by FINSEQ_1:def 3; then
t/.(n+1) in W by A8; then
A20: t.(n+1) in W by A18, PARTFUN1:def 6;
Seg(n+1) = dom t by A7,FINSEQ_1:def 3; then
A21: t = t | Seg(n+1);
t.(n+1) in rng t by FUNCT_1:3,A18; then
reconsider tn = t.(n+1) as Element of Free_LMod(X,R);
t = g^<* t.(n+1) *> by A18, FINSEQ_5:10, A21; then
Sum t = Sum g + tn by FVSUM_1:71;
hence Sum t in W by A17, A20, VECTSP_4:20;
end;
for k being Nat holds P[k] from NAT_1:sch 2(A3, A5); then
P[len s];
hence thesis by A1;
end;
hence thesis by Th15;
end;
theorem Th29:
for R be non degenerated Ring, X be non empty set holds
Lin rng IotaMap(X,R) = the ModuleStr of Free_LMod(X,R)
proof
let R be non degenerated Ring, X be non empty set;
reconsider V = Free_LMod(X,R) as strict LeftMod of R;
reconsider W = Lin(rng IotaMap(X,R)) as strict Submodule of V;
for v being Vector of V holds v in W iff v in V by Th28;
hence thesis by ZMODUL01:48;
end;
Lm43:
for M be non empty addLoopStr, p be FinSequence of the carrier of M,
n,i be Nat st n in dom p & i in dom ((p|(n-'1))^(p/^n)) holds
(i <= n-'1 implies ((p|(n-'1))^(p/^n)).i = p.i) &
(i > n-'1 implies ((p|(n-'1))^(p/^n)).i = p.(i+1)) &
i+1 in dom p & len ((p|(n-'1))^(p/^n)) = len p -1
proof
let M be non empty addLoopStr, p be FinSequence of the carrier of M,
n,i be Nat;
set a = p|(n-'1), b = p/^n, q = a^b;
assume that
A1: n in dom p and
A2: i in dom ((p|(n-'1))^(p/^n));
dom p = Seg len p by FINSEQ_1:def 3; then
A4: 1 <= n <= len p by A1,FINSEQ_1:1;
A5: n <= len p by A1,FINSEQ_3:25; then
A6: len a = n-'1 by FINSEQ_1:59,NAT_D:44;
A7: len p -'n = len p - n by A5,XREAL_1:233;
A8: len b = (len p) - n by A5,RFINSEQ:def 1
.= len p -'n by A5,XREAL_1:233; then
A9: dom b = Seg (len p -' n) by FINSEQ_1:def 3;
A10: len q = len a + len b by FINSEQ_1:22
.= n -'1 + (len p - n) by A6,A8,A5,XREAL_1:233
.= (n - 1) + (len p - n) by A4,XREAL_1:233
.= len p - 1;
A11: dom q = Seg len q by FINSEQ_1:def 3; then
1 <= i <= len p -1 by A10,A2,FINSEQ_1:1; then
A12: 1+1 <= i+1 <= (len p -1) + 1 by XREAL_1:6;
1 <= i+1 by NAT_1:14; then
A13: i+1 in Seg len p by A12; then
A14: i+1 in dom p by FINSEQ_1:def 3;
A15: i <= n-'1 implies q.i = p.i
proof
assume
A16: i <= n-'1;
1 <= i by A2,FINSEQ_3:25; then
i in Seg(n-'1) by A16; then
i in dom a by A6,FINSEQ_1:def 3; then
q.i = a.i by FINSEQ_1:def 7
.= p.i by A16,FINSEQ_3:112;
hence thesis;
end;
i > n-'1 implies q.i = p.(i+1)
proof
assume
A18: i > n-'1; then
reconsider j = i - (n-'1) as Nat by NAT_1:21;
A19: i - (n-'1) > (n -' 1)-(n -' 1) by A18,XREAL_1:14; then
A20: j >= 1 by NAT_1:14;
A21: i <= len p -1 by A11,A10,A2,FINSEQ_1:1;
A22: len a + 0 < len a + j by A19,XREAL_1:8;
A23: i <= len (a^b) by A11,A2,FINSEQ_1:1;
A24: j + n = i -(n-1) + n by A4,XREAL_1:233 .= i +1;
len p -1 - (n-'1) = len p -1 - (n-1) by A4,XREAL_1:233
.= len p - n; then
j <= len p - n by A21,XREAL_1:6; then
A25: j in dom b by A20,A9,A7; then
(p/^n).j = (p/^n)/.j by PARTFUN1:def 6
.= p/.(i+1) by A24,FINSEQ_5:27,A25
.= p.(i+1) by A14,PARTFUN1:def 6;
hence thesis by FINSEQ_1:24,A6,A22,A23;
end;
hence thesis by A15,A13,FINSEQ_1:def 3, A10;
end;
Lm45:
for N be Abelian add-associative right_zeroed right_complementable
non empty addLoopStr, p be FinSequence of the carrier of N, k be Nat
st k in dom p & (for i be Nat st i in dom p & i <> k holds p.i = 0.N)
holds Sum p = p/.k
proof
let N be Abelian add-associative right_zeroed right_complementable
non empty addLoopStr,
p be FinSequence of the carrier of N,
k be Nat;
assume that
A1: k in dom p and
A2: for i be Nat st i in dom p & i <> k holds p.i = 0.N;
A3: dom p = Seg len p by FINSEQ_1:def 3;
A6: 1 <= k <= len p by A3,A1,FINSEQ_1:1;
Seg len p <> {} by A1,FINSEQ_1:def 3; then
len p <> 0; then
A7: len p -'1 = len p - 1 by NAT_1:14,XREAL_1:233;
A8: Sum p = Sum (Del(p,k,k)) + p/.k by A1, Lm37;
A9: for i be Element of NAT st i in dom Del(p,k,k) holds
(Del(p,k,k)).i = 0.N
proof
let i be Element of NAT;
assume
A10: i in dom Del(p,k,k);
A11: dom Del(p,k,k) = Seg len Del(p,k,k) by FINSEQ_1:def 3
.= Seg ((len p) -' 1) by A1,A10,Lm43,A7;
per cases;
suppose
A12: i <= k-'1; then
A13: (Del(p,k,k)).i = p.i by A1,A10,Lm43;
k <= len p by A1,FINSEQ_3:25; then
A14: k-'1 <= len p by NAT_D:44;
1 <= i <= len p by A11,FINSEQ_1:1,A10,A14,A12,XXREAL_0:2;
then
i in Seg len p; then
A15: i in dom p by FINSEQ_1:def 3;
A16: k-1 < k by XREAL_1:30;
i <= k -1 by A12,A6,XREAL_1:233;
hence (Del(p,k,k)).i = 0.N by A13,A2,A15,A16;
end;
suppose
A18: i > k-'1; then
A19: (Del(p,k,k)).i = p.(i+1) by A1,A10,Lm43;
A20: i+1 in dom p by A1,A10,Lm43;
k -1 < i by A6,XREAL_1:233,A18; then
i+1 <> k;
hence (Del(p,k,k)).i = 0.N by A19,A2,A20;
end;
end;
Sum Del(p,k,k) = 0.N by A9,MATRIX_3:35;
hence Sum p = p/.k by A8;
end;
theorem Th30:
for R be non degenerated Ring, X be non empty set holds
rng IotaMap(X,R) is linearly-independent
proof
let R be non degenerated Ring, X be non empty set;
set V = Free_LMod(X,R);
set A = rng IotaMap(X,R);
for l being Linear_Combination of A st Sum l = 0.V holds Carrier l = {}
proof
let l be Linear_Combination of A;
assume
A1: Sum l = 0.V;
assume Carrier l <> {}; then
consider y being object such that
A3: y in Carrier l by XBOOLE_0:def 1;
reconsider v0 = y as Element of V by A3;
A4: Carrier l c= A by VECTSP_6:def 4;
consider x0 being object such that
A5: x0 in dom IotaMap(X,R) & IotaMap(X,R).x0 = v0 by A3,A4,FUNCT_1:def 3;
reconsider x = x0 as Element of X by A5;
consider F being FinSequence of the carrier of V such that
A6: F is one-to-one and
A7: rng F = Carrier l and
A8: Sum l = Sum (l (#) F) by VECTSP_6:def 6;
set s = l (#) F;
set h = ev_(x,R);
A9: rng s c= dom h
proof
let y be object;
assume y in rng s; then
consider t being object such that
A11: t in dom s & s.t = y by FUNCT_1:def 3;
y in the carrier of V by A11,FINSEQ_2:11;
hence thesis by FUNCT_2:def 1;
end;
len s = len F by VECTSP_6:def 5; then
A12: dom s = dom F by FINSEQ_3:29;
A13: h is additive by Th8;
A14: h.(Sum s) = 0.R by Th9,A8,A1;
consider k being object such that
A15: k in dom F & F.k = v0 by A3,A7,FUNCT_1:def 3;
len s = len F by VECTSP_6:def 5; then
A16: dom s = Seg len F by FINSEQ_1:def 3 .= dom F by FINSEQ_1:def 3;
A17: v0 = Iota(x,R) by A5,Def19;
A18: (F/.k) = v0 by A15,PARTFUN1:def 6;
A19: (h*s).k = h.(s.k) by A15,A16,FUNCT_1:13
.= h.(l.(F/.k) * F/.k) by A15,A16,VECTSP_6:def 5
.= l.v0 * h.v0 by A18,Lm22
.= l.v0 * 1.R by Lm20,A17
.= l.v0;
A20: for i be Nat st i in dom (h*s) & i <> k holds (h*s).i = 0.R
proof
let i be Nat;
assume that
A21: i in dom (h*s) and
A22: i <> k;
A23: i in dom F by A21,A9,RELAT_1:27,A12; then
reconsider w = F.i as Element of V by FINSEQ_2:11;
w in Carrier l by A7,A23,FUNCT_1:3; then
consider z being object such that
A25: z in dom IotaMap(X,R) & IotaMap(X,R).z = w by A4,FUNCT_1:def 3;
reconsider x1 = z as Element of X by A25;
A26: x1 <> x by A5,A6,A23,A15,A22,A25;
w = Iota(x1,R) by A25,Def19; then
A27: h.w = 0.R by A26, Lm21;
len (h*s) = len s by FINSEQ_2:33; then
i in dom s by A21,FINSEQ_3:29; then
(h*s).i = h.(s.i) by FUNCT_1:13
.= h.((l.w) * w) by A23, VECTSP_6:8
.= (l.w) *(h.w) by Lm22
.= 0.R by A27;
hence thesis;
end;
A30: k in dom (h*s) by A15,A16,A9,RELAT_1:27; then
A31: Sum(h*s) = (h*s)/.k by A20, Lm45
.= (h*s).k by A30,PARTFUN1:def 6;
l.v0 <> 0.R by A3,VECTSP_6:2;
hence contradiction by A13,Th26,A14,A19,A31;
end;
hence thesis;
end;
theorem Th31:
for R be non degenerated Ring, X be non empty set holds
rng IotaMap(X,R) is base by Th29,Th30;
::$N as a corollary of Th34, using the basis-theoretic definition of free modules.
theorem Th32:
for R be non degenerated Ring, X be non empty set
holds Free_LMod(X,R) is free
proof
let R be non degenerated Ring, X be non empty set;
reconsider S = rng IotaMap(X,R) as Subset of Free_LMod(X,R);
S is base by Th31;
hence thesis;
end;
begin :: The free module generated by the empty set
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: The empty set generates the trivial left module.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
LmTriv:
fs_Funcs({},R) = {{}} & 0_Funcs({},R) = {}
proof
A0: Funcs({},the carrier of R) = {{}} by FUNCT_5:57;
0_Funcs({},R) is finite-Support & Support 0_Funcs({},R) = {} by Lm8; then
0_Funcs({},R) in fs_Funcs({},R); then
{{}} c= fs_Funcs({},R) by TARSKI:def 1;
hence thesis by A0;
end;
LmTriv2:
fs_ADD({},R) = op2 & fs_LMULT({},R) = pr2(the carrier of R,{0})
proof
fs_Funcs({},R) = {{}} by LmTriv;
hence thesis by FUNCT_2:51;
end;
theorem ThTriv1:
FS_Funcs({},R) = TrivialLMod(R)
proof
A1: the carrier of FS_Funcs({},R) = the carrier of TrivialLMod(R) by LmTriv;
the addF of FS_Funcs({},R) = op2 by LmTriv2;
hence thesis by A1,LmTriv2;
end;
theorem Th33:
Free_LMod({},R) is free
proof
set V = TrivialLMod(R);
B0: Free_LMod({},R) = TrivialLMod(R) by ThTriv1;
reconsider W1 = V as strict Subspace of V by VECTSP_4:24;
reconsider W2 = (0).V as strict Subspace of V;
the carrier of W2 = {0.V} by VECTSP_4:def 3
.= {0}; then
W1 = W2 by VECTSP_4:29; then
{}(the carrier of V) is base by VECTSP_7:9;
hence thesis by B0;
end;
theorem Th34:
for R be non degenerated Ring, X be set
holds Free_LMod(X,R) is free
proof
let R be non degenerated Ring, X be set;
per cases;
suppose X <> {};
hence thesis by Th32;
end;
suppose X = {};
hence thesis by Th33;
end;
end;
registration
let R be non degenerated Ring, X be set;
cluster Free_LMod(X,R) -> free;
coherence by Th34;
end;
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.93Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-11-24)
¤
*Eine klare Vorstellung vom Zielzustand
|
|
2026-11-24
|