The areas / V15. Real analysis in one variable
Mathlib.Topology.Instances.Irrational
10 declarations and 1 deprecated aliases. Mathlib docs · Source
Topology of irrational numbers
In this file we prove the following theorems:
-
IsGδ.setOfPred_irrational,dense_irrational,eventually_residual_irrational: irrational numbers form a dense Gδ set; -
Irrational.eventually_forall_le_dist_cast_div,Irrational.eventually_forall_le_dist_cast_div_of_denom_le;Irrational.eventually_forall_le_dist_cast_rat_of_denom_le: a sufficiently small neighborhood of an irrational number is disjoint with the set of rational numbers with bounded denominator.
We also provide OrderTopology, NoMinOrder, NoMaxOrder, and DenselyOrdered
instances for {x // Irrational x}.
Tags
irrational, residual
theorem IsGδ.setOfPred_irrational E1 #
IsGδ {x | Irrational x}
theorem dense_irrational E1 #
Dense {x | Irrational x}
theorem eventually_residual_irrational E1 #
∀ᶠ (x : ℝ) in residual ℝ, Irrational x
instance Irrational.instOrderTopologySubtypeReal E0 #
OrderTopology { x // Irrational x }
instance Irrational.instNoMaxOrderSubtypeReal E0 #
NoMaxOrder { x // Irrational x }
instance Irrational.instNoMinOrderSubtypeReal E0 #
NoMinOrder { x // Irrational x }
instance Irrational.instDenselyOrderedSubtypeReal E0 #
DenselyOrdered { x // Irrational x }
theorem Irrational.eventually_forall_le_dist_cast_div E1 #
∀ {x : ℝ}, Irrational x → ∀ (n : ℕ), ∀ᶠ (ε : ℝ) in nhds 0, ∀ (m : ℤ), ε ≤ dist x (↑m / ↑n)
theorem Irrational.eventually_forall_le_dist_cast_div_of_denom_le E1 #
∀ {x : ℝ}, Irrational x → ∀ (n : ℕ), ∀ᶠ (ε : ℝ) in nhds 0, ∀ k ≤ n, ∀ (m : ℤ), ε ≤ dist x (↑m / ↑k)
theorem Irrational.eventually_forall_le_dist_cast_rat_of_den_le E1 #
∀ {x : ℝ}, Irrational x → ∀ (n : ℕ), ∀ᶠ (ε : ℝ) in nhds 0, ∀ (r : ℚ), r.den ≤ n → ε ≤ dist x ↑r
Deprecated aliases
| Name | New name | Since |
|---|---|---|
IsGδ.setOf_irrational | IsGδ.setOfPred_irrational | 2026-07-09 |