Skip to content

Commit

Permalink
If q : ℚ is in the lower cut of a real, real-ℚ q is less than tha…
Browse files Browse the repository at this point in the history
…t real, and analogously for the upper cut (#1294)

And the analogous statement for upper cuts.
  • Loading branch information
lowasser authored Feb 8, 2025
1 parent ec00ed0 commit 535aa73
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/real-numbers/strict-inequality-real-numbers.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,27 @@ module _
tr (is-in-upper-cut-ℝ x) (inv (neg-neg-ℚ p)) p-in-ux))
```

### If a rational is in the lower cut of `x`, then it is strictly less than `x`

```agda
le-lower-cut-real-ℚ :
{l : Level} (q : ℚ) (x : ℝ l) is-in-lower-cut-ℝ x q le-ℝ (real-ℚ q) x
le-lower-cut-real-ℚ q x =
forward-implication (is-rounded-lower-cut-ℝ x q)
```

### If a rational is in the upper cut of `x`, then it is strictly greater than `x`

```agda
le-upper-cut-real-ℚ :
{l : Level} (q : ℚ) (x : ℝ l) is-in-upper-cut-ℝ x q le-ℝ x (real-ℚ q)
le-upper-cut-real-ℚ q x H =
elim-exists
( le-ℝ-Prop x (real-ℚ q))
( λ p (p<q , p∈ux) intro-exists p (p∈ux , p<q))
( forward-implication (is-rounded-upper-cut-ℝ x q) H)
```

## References

{{#bibliography}}

0 comments on commit 535aa73

Please sign in to comment.