Skip to content

Commit

Permalink
Solve the easy part of #254 (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben-VandeVelde authored Dec 2, 2024
1 parent 36d6cb4 commit 6fa656e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions FLT/NumberField/AdeleRing.lean
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ theorem Rat.AdeleRing.zero_discrete : ∃ U : Set (AdeleRing ℚ),
-- h2 says that no prime divides the denominator of x
-- so x is an integer
-- and the goal is that there exists an integer `y` such that `y = x`.
suffices ∀ p : ℕ, p.Prime → ¬(p ∣ x.den) by
use x.num
rw [← den_eq_one_iff]
contrapose! this
exact ⟨x.den.minFac, Nat.minFac_prime this, Nat.minFac_dvd _⟩
sorry -- issue #254
obtain ⟨y, rfl⟩ := intx
simp only [abs_lt] at h1
Expand Down

0 comments on commit 6fa656e

Please sign in to comment.