Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.NumberTheory.Quaternion.Arithmetic.IntegralBlockComplement |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.CompactBlockPowers |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.PrimeBlockPowerOpenness |
| 4 | |
| 5 | /-! # Prime Block Compact Projection -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.PrimeBlockCompactProjection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! If arithmetic points have an open closure in one residue-prime |
| 12 | block and integral complementary coordinates, the subgroup supported |
| 13 | on that block is open inside the block. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | open IsDedekindDomain Set Filter _root_.Topology |
| 17 | |
| 18 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} {ι : Type*} [Fintype ι] |
| 19 | |
| 20 | theorem primeBlock_comap_isOpen_of_open_compact_projection |
| 21 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (v : ι → HeightOneSpectrum (𝓞 F)) |
| 22 | (v₀ : HeightOneSpectrum (𝓞 F)) (q : ℕ) (hq : LocalCompletion.residuePrime v₀ = q) |
| 23 | (H : Subgroup (∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i)))) |
| 24 | (hH : IsClosed (H : Set (∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i))))) |
| 25 | (Γ : Subgroup (IntegralBlockComplement.integralBlockComplement G v (fun i => LocalCompletion.residuePrime (v i) = q) × |
| 26 | IntegralBlockComplement.localBlockPoints G v (fun i => LocalCompletion.residuePrime (v i) = q))) |
| 27 | (hΓ : ∀ g ∈ Γ, IntegralBlockComplement.insertIntegralBlockComplement G v _ g ∈ H) |
| 28 | (hP : IsOpen ((Γ.map (MonoidHom.snd _ _)).topologicalClosure : |
| 29 | Set (IntegralBlockComplement.localBlockPoints G v (fun i => LocalCompletion.residuePrime (v i) = q)))) : |
| 30 | IsOpen (H.comap (IntegralBlockComplement.insertLocalBlock G v (fun i => LocalCompletion.residuePrime (v i) = q)) : |
| 31 | Set (IntegralBlockComplement.localBlockPoints G v (fun i => LocalCompletion.residuePrime (v i) = q))) := by |
| 32 | let p := fun i => LocalCompletion.residuePrime (v i) = q |
| 33 | let e := IntegralBlockComplement.insertIntegralBlockComplement G v p |
| 34 | let j := IntegralBlockComplement.insertLocalBlock G v p |
| 35 | have hnear : ∀ᶠ g in 𝓝 (1 : ∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i))), |
| 36 | g ∈ H → PrimeBlockDecomposition.localPrimeBlock G v q g ∈ H := by |
| 37 | filter_upwards [PrimeBlockDecomposition.localPrimeBlock_eventually_mem G v H hH] with g hg hgm |
| 38 | exact hg hgm q |
| 39 | obtain ⟨N, hN, hpow⟩ := CompactBlockPowers.compact_factor_eventually_power_mem_of_open_projection |
| 40 | e (IntegralBlockComplement.insertIntegralBlockComplement_continuous G v p) |
| 41 | j (IntegralBlockComplement.insertLocalBlock_continuous G v p) (PrimeBlockDecomposition.localPrimeBlock G v q) |
| 42 | (IntegralBlockComplement.localPrimeBlock_insertIntegralBlockComplement G v q) H hH hnear Γ hΓ hP |
| 43 | exact PrimeBlockPowerOpenness.primeBlock_isOpen_of_eventually_pow_mem G v₀ (fun i : {i : ι // p i} => v i.val) |
| 44 | (fun i => hq.trans i.property.symm) (H.comap j) |
| 45 | (hH.preimage (IntegralBlockComplement.insertLocalBlock_continuous G v p)) N hN hpow |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.Quaternion.Arithmetic.PrimeBlockCompactProjection |