norm_num
extension for integer div/mod and divides #
This file adds support for the %
, /
, and ∣
(divisibility) operators on ℤ
to the norm_num
tactic.
def
Mathlib.Meta.NormNum.evalIntMod.go
(a na : Q(ℤ))
(za : ℤ)
(pa : Q(IsInt «$a» «$na»))
(b : Q(ℤ))
:
Given a result for evaluating a b
in ℤ
, evaluate a % b
.
Equations
- One or more equations did not get rendered due to their size.
- Mathlib.Meta.NormNum.evalIntMod.go a na za pa b x✝ = none