Skip to content

Commit

Permalink
leftover from agda#2182: subtle naming 'bug'/anomaly
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmckinna committed Dec 28, 2023
1 parent 618a6a9 commit a4fbbc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Data/Nat/Divisibility.agda
Original file line number Diff line number Diff line change
Expand Up @@ -349,12 +349,12 @@ hasNonTrivialDivisor-≢ d≢n d∣n

hasNonTrivialDivisor-∣ : m HasNonTrivialDivisorLessThan n m ∣ o
o HasNonTrivialDivisorLessThan n
hasNonTrivialDivisor-∣ (hasNonTrivialDivisor d<n d∣m) n∣o
= hasNonTrivialDivisor d<n (∣-trans d∣m n∣o)
hasNonTrivialDivisor-∣ (hasNonTrivialDivisor d<n d∣m) m∣o
= hasNonTrivialDivisor d<n (∣-trans d∣m m∣o)

-- Monotonicity wrt ≤

hasNonTrivialDivisor-≤ : m HasNonTrivialDivisorLessThan n n ≤ o
m HasNonTrivialDivisorLessThan o
hasNonTrivialDivisor-≤ (hasNonTrivialDivisor d<n d∣m) m≤o
= hasNonTrivialDivisor (<-≤-trans d<n m≤o) d∣m
hasNonTrivialDivisor-≤ (hasNonTrivialDivisor d<n d∣m) n≤o
= hasNonTrivialDivisor (<-≤-trans d<n n≤o) d∣m

0 comments on commit a4fbbc6

Please sign in to comment.