Package group-mult-sub-def: Definition of group multiplication by repeated subtraction

Information

namegroup-mult-sub-def
version1.12
descriptionDefinition of group multiplication by repeated subtraction
authorJoe Leslie-Hurd <joe@gilith.com>
licenseMIT
provenanceHOL Light theory extracted on 2012-12-02
requiresbool
group-def
group-witness
list
showAlgebra.Group
Data.Bool
Data.List

Files

Defined Constant

Theorems

b n d f p. multSub b n d f p [] = if b then n - d else d - n

b n d f p h t.
    multSub b n d f p (h :: t) =
    let s p - f in multSub (¬b) d (if h then n - s else n) s f 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

p. (x. y. p x y) y. x. p x (y x)

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