return to top
source
Returns true if e is of the form Nat
true
e
Nat
Returns true if e is of the form Int
Int
Returns true if e is of the form @instHAdd Nat instAddNat
@instHAdd Nat instAddNat
Returns true if e is instLENat
instLENat
Returns some (a, b) if e is of the form
some (a, b)
@HAdd.hAdd Nat Nat Nat (instHAdd Nat instAddNat) a b
Returns true if e is of the form
@HAdd.hAdd Nat Nat Nat (instHAdd Nat instAddNat) _ _
Returns some k if e @OfNat.ofNat Nat _ (instOfNatNat k)
some k
@OfNat.ofNat Nat _ (instOfNatNat k)
Quote e using 「 and 」 if e is an arithmetic term that is being treated as a variable.
「
」
gcdExt a b returns the triple (g, α, β) such that
gcdExt a b
(g, α, β)
g = gcd a b
g ≥ 0
g = α * a + β * β