Package monoid-mult-add-def: Definition of monoid multiplication by repeated addition

Information

namemonoid-mult-add-def
version1.8
descriptionDefinition of monoid multiplication by repeated addition
authorJoe Leslie-Hurd <joe@gilith.com>
licenseMIT
provenanceHOL Light theory extracted on 2014-11-04
checksum28ae32b6949c8c5e109501f0cfd9b98ce171b31a
requiresbool
list
monoid-witness
showAlgebra.Monoid
Data.Bool
Data.List

Files

Defined Constant

Theorems

z x. multAdd z x [] = z

z x h t.
    multAdd z x (h :: t) = multAdd (if h then z + x else z) (x + x) t

External Type Operators

External Constants

Assumptions

() = λp. p ((select) p)

() = λp. p = λx.

() = λp q. p q p

() = λp q. (λf. f p q) = λf. f

() = λp. q. (x. p x q) q

b f. fn. fn [] = b h t. fn (h :: t) = f h t (fn t)