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.AlgebraicGeometry.PELModuli.CMPoints.LocalPadic |
| 2 | import Mathlib.Topology.Clopen |
| 3 | |
| 4 | /-! # Qadic Completion Integers -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QadicCompletionIntegers.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The completion equivalence attached to a q-adic field embedding |
| 11 | preserves the actual valuation rings. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.NumberField IsDedekindDomain |
| 15 | |
| 16 | theorem closed_iff {X : Type*} [TopologicalSpace X] (S T : Set X) |
| 17 | (hS : IsClopen S) (hT : IsClopen T) : IsClosed {x | x ∈ S ↔ x ∈ T} := by |
| 18 | have he : {x | x ∈ S ↔ x ∈ T} = (S ∩ T) ∪ (Sᶜ ∩ Tᶜ) := by |
| 19 | ext x |
| 20 | simp only [Set.mem_ofPred_eq, Set.mem_union, Set.mem_inter_iff, Set.mem_compl_iff] |
| 21 | tauto |
| 22 | rw [he] |
| 23 | exact (hS.isClosed.inter hT.isClosed).union (hS.compl.isClosed.inter hT.compl.isClosed) |
| 24 | |
| 25 | variable {K : Type} [Field K] [NumberField K] {q : ℕ} [Fact q.Prime] |
| 26 | |
| 27 | theorem integral_iff (f : K →+* ℚ_[q]) (x : (PELModuli.CMPoints.LocalPadic.embeddingPlace f).adicCompletion K) : |
| 28 | x ∈ (PELModuli.CMPoints.LocalPadic.embeddingPlace f).adicCompletionIntegers K ↔ |
| 29 | ‖PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv f x‖ ≤ 1 := by |
| 30 | let v := PELModuli.CMPoints.LocalPadic.embeddingPlace f |
| 31 | have hclosed : IsClosed {x : v.adicCompletion K | |
| 32 | x ∈ v.adicCompletionIntegers K ↔ ‖PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv f x‖ ≤ 1} := by |
| 33 | apply closed_iff |
| 34 | · exact Valued.isClopen_valuationSubring _ |
| 35 | · have h : IsClopen {y : ℚ_[q] | ‖y‖ ≤ 1} := by |
| 36 | simpa only [Metric.closedBall, dist_zero_right] using |
| 37 | (IsUltrametricDist.isClopen_closedBall (0 : ℚ_[q]) (one_ne_zero : (1 : ℝ) ≠ 0)) |
| 38 | exact h.preimage (PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv_continuous f) |
| 39 | refine (v.denseRange_algebraMap K).induction_on x hclosed ?_ |
| 40 | intro a |
| 41 | change Valued.v (a : v.adicCompletion K) ≤ 1 ↔ |
| 42 | ‖PELModuli.CMPoints.LocalPadic.embeddingCompletionHom f |
| 43 | (FinitePlace.embedding (PELModuli.CMPoints.LocalPadic.embeddingPlace f) a)‖ ≤ 1 |
| 44 | rw [PELModuli.CMPoints.LocalPadic.embeddingCompletionHom_coe] |
| 45 | rw [HeightOneSpectrum.adicCompletion.valued_coe] |
| 46 | exact (PELModuli.CMPoints.LocalPadic.embedding_valuation_equiv f).le_one_iff_le_one |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QadicCompletionIntegers.CM |