:: BINOM semantic presentation
:: deftheorem Def1 BINOM:def 1 :
canceled;
:: deftheorem Def2 BINOM:def 2 :
canceled;
:: deftheorem Def3 defines add-cancelable BINOM:def 3 :
theorem Th1: :: BINOM:1
theorem Th2: :: BINOM:2
scheme :: BINOM:sch 2
s2{
F1()
-> non
empty set ,
F2()
-> non
empty set ,
F3()
-> Element of
F2(),
F4()
-> Function of
[:F1(),F2():],
F2() } :
ex
b1 being
Function of
[:NAT ,F1():],
F2() st
for
b2 being
Element of
F1() holds
(
b1 . 0,
b2 = F3() & ( for
b3 being
Nat holds
b1 . (b3 + 1),
b2 = F4()
. b2,
(b1 . b3,b2) ) )
scheme :: BINOM:sch 3
s3{
F1()
-> non
empty set ,
F2()
-> non
empty set ,
F3()
-> Element of
F2(),
F4()
-> Function of
[:F2(),F1():],
F2() } :
ex
b1 being
Function of
[:F1(),NAT :],
F2() st
for
b2 being
Element of
F1() holds
(
b1 . b2,0
= F3() & ( for
b3 being
Nat holds
b1 . b2,
(b3 + 1) = F4()
. (b1 . b2,b3),
b2 ) )
theorem Th3: :: BINOM:3
theorem Th4: :: BINOM:4
theorem Th5: :: BINOM:5
theorem Th6: :: BINOM:6
:: deftheorem Def4 defines + BINOM:def 4 :
theorem Th7: :: BINOM:7
:: deftheorem Def5 defines |^ BINOM:def 5 :
theorem Th8: :: BINOM:8
theorem Th9: :: BINOM:9
theorem Th10: :: BINOM:10
theorem Th11: :: BINOM:11
theorem Th12: :: BINOM:12
definition
let c1 be non
empty LoopStr ;
func Nat-mult-left c1 -> Function of
[:NAT ,the carrier of a1:],the
carrier of
a1 means :
Def6:
:: BINOM:def 6
for
b1 being
Element of
a1 holds
(
a2 . 0,
b1 = 0. a1 & ( for
b2 being
Nat holds
a2 . (b2 + 1),
b1 = b1 + (a2 . b2,b1) ) );
existence
ex b1 being Function of [:NAT ,the carrier of c1:],the carrier of c1 st
for b2 being Element of c1 holds
( b1 . 0,b2 = 0. c1 & ( for b3 being Nat holds b1 . (b3 + 1),b2 = b2 + (b1 . b3,b2) ) )
uniqueness
for b1, b2 being Function of [:NAT ,the carrier of c1:],the carrier of c1 st ( for b3 being Element of c1 holds
( b1 . 0,b3 = 0. c1 & ( for b4 being Nat holds b1 . (b4 + 1),b3 = b3 + (b1 . b4,b3) ) ) ) & ( for b3 being Element of c1 holds
( b2 . 0,b3 = 0. c1 & ( for b4 being Nat holds b2 . (b4 + 1),b3 = b3 + (b2 . b4,b3) ) ) ) holds
b1 = b2
func Nat-mult-right c1 -> Function of
[:the carrier of a1,NAT :],the
carrier of
a1 means :
Def7:
:: BINOM:def 7
for
b1 being
Element of
a1 holds
(
a2 . b1,0
= 0. a1 & ( for
b2 being
Nat holds
a2 . b1,
(b2 + 1) = (a2 . b1,b2) + b1 ) );
existence
ex b1 being Function of [:the carrier of c1,NAT :],the carrier of c1 st
for b2 being Element of c1 holds
( b1 . b2,0 = 0. c1 & ( for b3 being Nat holds b1 . b2,(b3 + 1) = (b1 . b2,b3) + b2 ) )
uniqueness
for b1, b2 being Function of [:the carrier of c1,NAT :],the carrier of c1 st ( for b3 being Element of c1 holds
( b1 . b3,0 = 0. c1 & ( for b4 being Nat holds b1 . b3,(b4 + 1) = (b1 . b3,b4) + b3 ) ) ) & ( for b3 being Element of c1 holds
( b2 . b3,0 = 0. c1 & ( for b4 being Nat holds b2 . b3,(b4 + 1) = (b2 . b3,b4) + b3 ) ) ) holds
b1 = b2
end;
:: deftheorem Def6 defines Nat-mult-left BINOM:def 6 :
:: deftheorem Def7 defines Nat-mult-right BINOM:def 7 :
:: deftheorem Def8 defines * BINOM:def 8 :
:: deftheorem Def9 defines * BINOM:def 9 :
theorem Th13: :: BINOM:13
theorem Th14: :: BINOM:14
theorem Th15: :: BINOM:15
Lemma16:
for b1 being non empty LoopStr
for b2 being Element of b1
for b3 being Nat holds (b3 + 1) * b2 = b2 + (b3 * b2)
by Def6;
Lemma17:
for b1 being non empty LoopStr
for b2 being Element of b1
for b3 being Nat holds b2 * (b3 + 1) = (b2 * b3) + b2
by Def7;
theorem Th16: :: BINOM:16
theorem Th17: :: BINOM:17
theorem Th18: :: BINOM:18
theorem Th19: :: BINOM:19
theorem Th20: :: BINOM:20
theorem Th21: :: BINOM:21
theorem Th22: :: BINOM:22
definition
let c1 be non
empty unital doubleLoopStr ;
let c2,
c3 be
Element of
c1;
let c4 be
Nat;
func c2,
c3 In_Power c4 -> FinSequence of the
carrier of
a1 means :
Def10:
:: BINOM:def 10
(
len a5 = a4 + 1 & ( for
b1,
b2,
b3 being
Nat st
b1 in dom a5 &
b3 = b1 - 1 &
b2 = a4 - b3 holds
a5 /. b1 = ((a4 choose b3) * (a2 |^ b2)) * (a3 |^ b3) ) );
existence
ex b1 being FinSequence of the carrier of c1 st
( len b1 = c4 + 1 & ( for b2, b3, b4 being Nat st b2 in dom b1 & b4 = b2 - 1 & b3 = c4 - b4 holds
b1 /. b2 = ((c4 choose b4) * (c2 |^ b3)) * (c3 |^ b4) ) )
uniqueness
for b1, b2 being FinSequence of the carrier of c1 st len b1 = c4 + 1 & ( for b3, b4, b5 being Nat st b3 in dom b1 & b5 = b3 - 1 & b4 = c4 - b5 holds
b1 /. b3 = ((c4 choose b5) * (c2 |^ b4)) * (c3 |^ b5) ) & len b2 = c4 + 1 & ( for b3, b4, b5 being Nat st b3 in dom b2 & b5 = b3 - 1 & b4 = c4 - b5 holds
b2 /. b3 = ((c4 choose b5) * (c2 |^ b4)) * (c3 |^ b5) ) holds
b1 = b2
end;
:: deftheorem Def10 defines In_Power BINOM:def 10 :
theorem Th23: :: BINOM:23
theorem Th24: :: BINOM:24
theorem Th25: :: BINOM:25
theorem Th26: :: BINOM:26