Skip to content

Commit

Permalink
Be a bit lazier
Browse files Browse the repository at this point in the history
  • Loading branch information
Taneb committed Jan 30, 2025
1 parent d8d2001 commit a8224d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Data/Nat/Properties.agda
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ _≥?_ = flip _≤?_

≤-total : Total _≤_
≤-total m n with m ≤? n
... | yes m≤n = inj₁ m≤n
... | no m≰n = inj₂ (≰⇒≥ m≰n)
... | true because m≤n = inj₁ (invert m≤n)
... | false because m≰n = inj₂ (≰⇒≥ (invert m≰n))

------------------------------------------------------------------------
-- Structures
Expand Down

0 comments on commit a8224d2

Please sign in to comment.