refactor(library/init/nat): make \nat notation available at top level
This commit is contained in:
parent
51e0d31304
commit
840ef98829
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,6 @@ import data.int.order data.nat.div
|
||||||
open [coercions] [reduce-hints] nat
|
open [coercions] [reduce-hints] nat
|
||||||
open [declarations] nat (succ)
|
open [declarations] nat (succ)
|
||||||
open eq.ops
|
open eq.ops
|
||||||
notation `ℕ` := nat
|
|
||||||
|
|
||||||
namespace int
|
namespace int
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,9 @@ prelude
|
||||||
import init.wf init.tactic init.num
|
import init.wf init.tactic init.num
|
||||||
open eq.ops decidable or
|
open eq.ops decidable or
|
||||||
|
|
||||||
|
notation `ℕ` := nat
|
||||||
|
|
||||||
namespace nat
|
namespace nat
|
||||||
notation `ℕ` := nat
|
|
||||||
|
|
||||||
/- basic definitions on natural numbers -/
|
/- basic definitions on natural numbers -/
|
||||||
inductive le (a : ℕ) : ℕ → Prop :=
|
inductive le (a : ℕ) : ℕ → Prop :=
|
||||||
|
|
Loading…
Reference in a new issue