mirror of
https://github.com/Smaug123/agdaproofs
synced 2025-10-15 00:18:39 +00:00
Definitions for the reals, classically (#95)
This commit is contained in:
@@ -84,3 +84,7 @@ cancelInequalityLeft {a} {succ b} {succ c} pr = succPreservesInequality q'
|
||||
<NProp : {a b : ℕ} → .(a <N b) → a <N b
|
||||
<NProp {zero} {succ b} a<b = succIsPositive _
|
||||
<NProp {succ a} {succ b} a<b = succPreservesInequality (<NProp (canRemoveSuccFrom<N a<b))
|
||||
|
||||
zeroLeast : {m n : ℕ} → m <N n → 0 <N n
|
||||
zeroLeast {zero} m<n = m<n
|
||||
zeroLeast {succ m} {succ n} m<n = le n (applyEquality succ (Semiring.sumZeroRight ℕSemiring n))
|
||||
|
Reference in New Issue
Block a user