import Thesis.Applications import Thesis.BernoulliIntegrality /-! # Base tower integrality when the index is prime to `p` For an admissible even index `2k`, von Staudt–Clausen already supplies the `p`-adic integrality when `2k` is not divisible by `p`. The complementary case `p ∣ 2k` requires the separate Kummer-type refinement and is not claimed here. -/ namespace Thesis open scoped BigOperators variable {p : ℕ} [Fact p.Prime] /-- The `p ∤ n` half of the base case of Lemma 4.8, stated directly for the cyclotomic tower in the project. -/ theorem cyclotomicTowerValue_integral_base_of_not_dvd_index {k : ℕ} (hn : AdmissibleIndex p (2 * k)) (hpn : ¬ p ∣ 2 * k) : PadicIntegral p (cyclotomicTowerValue p 0 (2 * k)) := by have hn1 : 2 * k ≠ 1 := by omega rw [cyclotomicTowerValue_zero_of_ne_one (p := p) hn1] exact BernoulliDist.padicIntegral_neg_bernoulli_two_mul_div hn.2.2 hpn end Thesis