:: BILINEAR semantic presentation
:: deftheorem BILINEAR:def 1 :
canceled;
:: deftheorem defines NulForm BILINEAR:def 2 :
definition
let c
1 be non
empty LoopStr ;
let c
2, c
3 be non
empty VectSpStr of c
1;
let c
4, c
5 be
Form of c
2,c
3;
func a
4 + a
5 -> Form of a
2,a
3 means :
E1:
:: BILINEAR:def 3
for b
1 being
Vector of a
2for b
2 being
Vector of a
3 holds a
6 . [b1,b2] = (a4 . [b1,b2]) + (a5 . [b1,b2]);
existence
ex b1 being Form of c2,c3 st
for b2 being Vector of c2
for b3 being Vector of c3 holds b1 . [b2,b3] = (c4 . [b2,b3]) + (c5 . [b2,b3])
proof
set c
6 = the
carrier of c
2;
set c
7 = the
carrier of c
3;
set c
8 = the
carrier of c
1;
deffunc H
1(
Element of the
carrier of c
2,
Element of the
carrier of c
3)
-> Element of the
carrier of c
1 =
(c4 . [a1,a2]) + (c5 . [a1,a2]);
consider c
9 being
Function of
[:the carrier of c2,the carrier of c3:],the
carrier of c
1 such that
E1:
for b
1 being
Element of the
carrier of c
2for b
2 being
Element of the
carrier of c
3 holds c
9 . [b1,b2] = H
1(b
1,b
2)
from FUNCT_2:sch 8();
reconsider c
10 = c
9 as
Form of c
2,c
3 ;
take
c
10
;
thus
for b
1 being
Vector of c
2for b
2 being
Vector of c
3 holds c
10 . [b1,b2] = (c4 . [b1,b2]) + (c5 . [b1,b2])
by E1;
end;
uniqueness
for b1, b2 being Form of c2,c3 holds
( ( for b3 being Vector of c2
for b4 being Vector of c3 holds b1 . [b3,b4] = (c4 . [b3,b4]) + (c5 . [b3,b4]) & for b3 being Vector of c2
for b4 being Vector of c3 holds b2 . [b3,b4] = (c4 . [b3,b4]) + (c5 . [b3,b4]) ) implies ( b1 = b2 ) )
end;
:: deftheorem E1 defines + BILINEAR:def 3 :
definition
let c
1 be non
empty HGrStr ;
let c
2, c
3 be non
empty VectSpStr of c
1;
let c
4 be
Form of c
2,c
3;
let c
5 be
Element of c
1;
func a
5 * a
4 -> Form of a
2,a
3 means :
E2:
:: BILINEAR:def 4
for b
1 being
Vector of a
2for b
2 being
Vector of a
3 holds a
6 . [b1,b2] = a
5 * (a4 . [b1,b2]);
existence
ex b1 being Form of c2,c3 st
for b2 being Vector of c2
for b3 being Vector of c3 holds b1 . [b2,b3] = c5 * (c4 . [b2,b3])
uniqueness
for b1, b2 being Form of c2,c3 holds
( ( for b3 being Vector of c2
for b4 being Vector of c3 holds b1 . [b3,b4] = c5 * (c4 . [b3,b4]) & for b3 being Vector of c2
for b4 being Vector of c3 holds b2 . [b3,b4] = c5 * (c4 . [b3,b4]) ) implies ( b1 = b2 ) )
end;
:: deftheorem E2 defines * BILINEAR:def 4 :
definition
let c
1 be non
empty LoopStr ;
let c
2, c
3 be non
empty VectSpStr of c
1;
let c
4 be
Form of c
2,c
3;
func - a
4 -> Form of a
2,a
3 means :
E3:
:: BILINEAR:def 5
for b
1 being
Vector of a
2for b
2 being
Vector of a
3 holds a
5 . [b1,b2] = - (a4 . [b1,b2]);
existence
ex b1 being Form of c2,c3 st
for b2 being Vector of c2
for b3 being Vector of c3 holds b1 . [b2,b3] = - (c4 . [b2,b3])
uniqueness
for b1, b2 being Form of c2,c3 holds
( ( for b3 being Vector of c2
for b4 being Vector of c3 holds b1 . [b3,b4] = - (c4 . [b3,b4]) & for b3 being Vector of c2
for b4 being Vector of c3 holds b2 . [b3,b4] = - (c4 . [b3,b4]) ) implies ( b1 = b2 ) )
end;
:: deftheorem E3 defines - BILINEAR:def 5 :
:: deftheorem defines - BILINEAR:def 6 :
:: deftheorem defines - BILINEAR:def 7 :
definition
let c
1 be non
empty LoopStr ;
let c
2, c
3 be non
empty VectSpStr of c
1;
let c
4, c
5 be
Form of c
2,c
3;
redefine func - as a
4 - a
5 -> Form of a
2,a
3 means :
E4:
:: BILINEAR:def 8
for b
1 being
Vector of a
2for b
2 being
Vector of a
3 holds a
6 . [b1,b2] = (a4 . [b1,b2]) - (a5 . [b1,b2]);
coherence
c4 - c5 is Form of c2,c3
;
compatibility
for b1 being Form of c2,c3 holds
( b1 = c4 - c5 iff for b2 being Vector of c2
for b3 being Vector of c3 holds b1 . [b2,b3] = (c4 . [b2,b3]) - (c5 . [b2,b3]) )
end;
:: deftheorem E4 defines - BILINEAR:def 8 :
theorem E6: :: BILINEAR:1
theorem :: BILINEAR:2
theorem :: BILINEAR:3
proof
let c
1 be non
empty add-associative LoopStr ;
let c
2, c
3 be non
empty VectSpStr of c
1;
let c
4, c
5, c
6 be
Form of c
2,c
3;
now
let c
7 be
Vector of c
2;
let c
8 be
Vector of c
3;
thus ((c4 + c5) + c6) . [c7,c8] =
((c4 + c5) . [c7,c8]) + (c6 . [c7,c8])
by E1
.=
((c4 . [c7,c8]) + (c5 . [c7,c8])) + (c6 . [c7,c8])
by E1
.=
(c4 . [c7,c8]) + ((c5 . [c7,c8]) + (c6 . [c7,c8]))
by RLVECT_1:def 6
.=
(c4 . [c7,c8]) + ((c5 + c6) . [c7,c8])
by E1
.=
(c4 + (c5 + c6)) . [c7,c8]
by E1
;
end;
hence
(c4 + c5) + c
6 = c
4 + (c5 + c6)
by FUNCT_2:120;
end;
theorem :: BILINEAR:4
theorem :: BILINEAR:5
proof
let c
1 be non
empty right-distributive doubleLoopStr ;
let c
2, c
3 be non
empty VectSpStr of c
1;
let c
4 be
Element of c
1;
let c
5, c
6 be
Form of c
2,c
3;
now
let c
7 be
Vector of c
2;
let c
8 be
Vector of c
3;
thus (c4 * (c5 + c6)) . [c7,c8] =
c
4 * ((c5 + c6) . [c7,c8])
by E2
.=
c
4 * ((c5 . [c7,c8]) + (c6 . [c7,c8]))
by E1
.=
(c4 * (c5 . [c7,c8])) + (c4 * (c6 . [c7,c8]))
by VECTSP_1:def 11
.=
((c4 * c5) . [c7,c8]) + (c4 * (c6 . [c7,c8]))
by E2
.=
((c4 * c5) . [c7,c8]) + ((c4 * c6) . [c7,c8])
by E2
.=
((c4 * c5) + (c4 * c6)) . [c7,c8]
by E1
;
end;
hence
c
4 * (c5 + c6) = (c4 * c5) + (c4 * c6)
by FUNCT_2:120;
end;
theorem :: BILINEAR:6
theorem :: BILINEAR:7
theorem :: BILINEAR:8
E7:
now
let c
1 be non
empty 1-sorted ;
let c
2, c
3 be non
empty VectSpStr of c
1;
let c
4 be
Form of c
2,c
3;
let c
5 be
Element of the
carrier of c
2;
let c
6 be
Element of c
3;
E8:
dom c
4 = [:the carrier of c2,the carrier of c3:]
by FUNCT_2:def 1;
then consider c
7 being
Function such that
E9:
(
(curry c4) . c
5 = c
7 &
dom c
7 = the
carrier of c
3 &
rng c
7 c= rng c
4 )
and
for b
1 being
set holds
( b
1 in the
carrier of c
3 implies c
7 . b
1 = c
4 . [c5,b1] )
by FUNCT_5:36;
rng c
7 c= the
carrier of c
1
by E9, XBOOLE_1:1;
then reconsider c
8 = c
7 as
Function of the
carrier of c
3,the
carrier of c
1 by E9, FUNCT_2:4;
c
8 = (curry c4) . c
5
by E9;
hence
(curry c4) . c
5 is
Functional of c
3
;
consider c
9 being
Function such that
E10:
(
(curry' c4) . c
6 = c
9 &
dom c
9 = the
carrier of c
2 &
rng c
9 c= rng c
4 )
and
for b
1 being
set holds
( b
1 in the
carrier of c
2 implies c
9 . b
1 = c
4 . [b1,c6] )
by E8, FUNCT_5:39;
rng c
9 c= the
carrier of c
1
by E10, XBOOLE_1:1;
then reconsider c
10 = c
9 as
Function of the
carrier of c
2,the
carrier of c
1 by E10, FUNCT_2:4;
c
10 = (curry' c4) . c
6
by E10;
hence
(curry' c4) . c
6 is
Functional of c
2
;
end;
:: deftheorem defines FunctionalFAF BILINEAR:def 9 :
:: deftheorem defines FunctionalSAF BILINEAR:def 10 :
theorem E8: :: BILINEAR:9
proof
let c
1 be non
empty 1-sorted ;
let c
2, c
3 be non
empty VectSpStr of c
1;
let c
4 be
Form of c
2,c
3;
let c
5 be
Vector of c
2;
set c
6 =
FunctionalFAF c
4,c
5;
E9:
(
dom c
4 = [:the carrier of c2,the carrier of c3:] &
rng c
4 c= the
carrier of c
1 )
by FUNCT_2:def 1;
consider c
7 being
Function such that
E10:
(
(curry c4) . c
5 = c
7 &
dom c
7 = the
carrier of c
3 &
rng c
7 c= rng c
4 )
and
E11:
for b
1 being
set holds
( b
1 in the
carrier of c
3 implies c
7 . b
1 = c
4 . [c5,b1] )
by E9, FUNCT_5:36;
thus
(
dom (FunctionalFAF c4,c5) = the
carrier of c
3 &
rng (FunctionalFAF c4,c5) c= the
carrier of c
1 )
by E10;
let c
8 be
Vector of c
3;
thus
(FunctionalFAF c4,c5) . c
8 = c
4 . [c5,c8]
by E10, E11;
end;
theorem E9: :: BILINEAR:10
proof
let c
1 be non
empty 1-sorted ;
let c
2, c
3 be non
empty VectSpStr of c
1;
let c
4 be
Form of c
2,c
3;
let c
5 be
Vector of c
3;
set c
6 =
FunctionalSAF c
4,c
5;
E10:
(
dom c
4 = [:the carrier of c2,the carrier of c3:] &
rng c
4 c= the
carrier of c
1 )
by FUNCT_2:def 1;
consider c
7 being
Function such that
E11:
(
(curry' c4) . c
5 = c
7 &
dom c
7 = the
carrier of c
2 &
rng c
7 c= rng c
4 )
and
E12:
for b
1 being
set holds
( b
1 in the
carrier of c
2 implies c
7 . b
1 = c
4 . [b1,c5] )
by E10, FUNCT_5:39;
thus
(
dom (FunctionalSAF c4,c5) = the
carrier of c
2 &
rng (FunctionalSAF c4,c5) c= the
carrier of c
1 )
by E11;
let c
8 be
Vector of c
2;
thus
(FunctionalSAF c4,c5) . c
8 = c
4 . [c8,c5]
by E11, E12;
end;
theorem E10: :: BILINEAR:11
theorem E11: :: BILINEAR:12