fix(library/data/nat/div): notation should be local

This commit is contained in:
Leonardo de Moura 2014-11-22 17:33:42 -08:00
parent ab9c51bd4b
commit 616f2d9b82

View file

@ -399,7 +399,7 @@ private definition pair_nat.lt : nat × nat → nat × nat → Prop := measure p
private definition pair_nat.lt.wf : well_founded pair_nat.lt :=
intro_k (measure.wf pr₂) 20 -- Remark: we use intro_k to be able to execute gcd efficiently in the kernel
instance pair_nat.lt.wf -- Remark: instance will not be saved in .olean
infixl `≺`:50 := pair_nat.lt
infixl [local] `≺`:50 := pair_nat.lt
private definition gcd.lt.dec (x y₁ : nat) : (succ y₁, x mod succ y₁) ≺ (x, succ y₁) :=
mod_lt (succ_pos y₁)