fix(library/data/nat/div): notation should be local
This commit is contained in:
parent
ab9c51bd4b
commit
616f2d9b82
1 changed files with 1 additions and 1 deletions
|
@ -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₁)
|
||||
|
|
Loading…
Reference in a new issue