Step * of Lemma bag-summation-constant-int

[T:Type]. ∀[a:ℤ]. ∀[bs:bag(T)].  (x∈bs). (#(bs) a) ∈ ℤ)
BY
(Auto THEN InstLemma `bag-summation-constant` [⌜T⌝;⌜ℤ-rng⌝;⌜bs⌝;⌜a⌝]⋅ THEN Auto) }

1
1. Type
2. : ℤ
3. bs bag(T)
4. Σ(x∈bs). (#(bs) ⋅ℤ-rng a) ∈ |ℤ-rng|
⊢ Σ(x∈bs). (#(bs) a) ∈ ℤ


Latex:


Latex:
\mforall{}[T:Type].  \mforall{}[a:\mBbbZ{}].  \mforall{}[bs:bag(T)].    (\mSigma{}(x\mmember{}bs).  a  =  (\#(bs)  *  a))


By


Latex:
(Auto  THEN  InstLemma  `bag-summation-constant`  [\mkleeneopen{}T\mkleeneclose{};\mkleeneopen{}\mBbbZ{}-rng\mkleeneclose{};\mkleeneopen{}bs\mkleeneclose{};\mkleeneopen{}a\mkleeneclose{}]\mcdot{}  THEN  Auto)




Home Index