Skip to content

Commit fb1d6f4

Browse files
authored
Add n≮0 to Data.Nat.Properties
1 parent 1a91258 commit fb1d6f4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ Other minor changes
692692

693693
* Added new proofs in `Data.Nat.Properties`:
694694
```agda
695+
n≮0 : n ≮ 0
695696
n+1+m≢m : n + suc m ≢ m
696697
m*n≡0⇒m≡0 : .{{_ : NonZero n}} → m * n ≡ 0 → m ≡ 0
697698
```

src/Data/Nat/Properties.agda

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,9 @@ _>?_ = flip _<?_
396396
------------------------------------------------------------------------
397397
-- Other properties of _<_
398398

399+
n≮0 : {n} n ≮ 0
400+
n≮0 ()
401+
399402
n≮n : n n ≮ n
400403
n≮n n = <-irrefl (refl {x = n})
401404

0 commit comments

Comments
 (0)