chore(library/standard/data/nat/div): remove TODO
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
6cf73b51e2
commit
0df87bae24
1 changed files with 1 additions and 3 deletions
|
@ -663,9 +663,7 @@ have aux : ∀m, P m n, from
|
||||||
aux m
|
aux m
|
||||||
|
|
||||||
theorem gcd_succ (m n : ℕ) : gcd m (succ n) = gcd (succ n) (m mod succ n) :=
|
theorem gcd_succ (m n : ℕ) : gcd m (succ n) = gcd (succ n) (m mod succ n) :=
|
||||||
-- TODO: note, fails if "succ n" is not given explicitly
|
trans (gcd_def _ _) (if_neg (succ_ne_zero n) _ _)
|
||||||
-- remember that if_neg needs to infer "decidable" for n ~= 0
|
|
||||||
trans (gcd_def _ (succ n)) (if_neg (succ_ne_zero n) _ _)
|
|
||||||
|
|
||||||
theorem gcd_one (n : ℕ) : gcd n 1 = 1 := sorry
|
theorem gcd_one (n : ℕ) : gcd n 1 = 1 := sorry
|
||||||
-- (by simp) (gcd_succ n 0)
|
-- (by simp) (gcd_succ n 0)
|
||||||
|
|
Loading…
Reference in a new issue