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.Adeles.LocalNorms |
| 2 | import OAI.NumberTheory.Adeles.LocalDensity |
| 3 | |
| 4 | /-! # Local Integers -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Adeles.LocalIntegers.CompletionFactors |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integral elements and their images under the canonical local norms. -/ |
| 11 | |
| 12 | open _root_.NumberField IsDedekindDomain HeightOneSpectrum |
| 13 | open scoped _root_.NumberField _root_.Topology OAI.NumberTheory.Adeles.LocalCompletions.CompletionFactors.FiniteLiesOver WithZero |
| 14 | |
| 15 | variable {F E : Type*} [Field F] [NumberField F] |
| 16 | [Field E] [NumberField E] [Algebra F E] |
| 17 | (v : HeightOneSpectrum (𝓞 F)) (w : HeightOneSpectrum (𝓞 E)) |
| 18 | [w.asIdeal.LiesOver v.asIdeal] |
| 19 | |
| 20 | /-- A global algebraic integer has locally integral norm. -/ |
| 21 | theorem finiteLocalNorm_global_integer (x : 𝓞 E) : |
| 22 | LocalNorms.CompletionFactors.finiteLocalNorm v w (algebraMap E (w.adicCompletion E) (x : E)) ∈ |
| 23 | v.adicCompletionIntegers F := by |
| 24 | have hx : IsIntegral ℤ (algebraMap E (w.adicCompletion E) (x : E)) := |
| 25 | x.isIntegral_coe.map (IsScalarTower.toAlgHom ℤ E (w.adicCompletion E)) |
| 26 | have hn := Algebra.isIntegral_norm (v.adicCompletion F) hx |
| 27 | exact (Valuation.valuationSubring.integers |
| 28 | (Valued.v : Valuation (v.adicCompletion F) ℤᵐ⁰)).isIntegral_iff_v_le_one.mp |
| 29 | (hn.tower_top (A := v.adicCompletionIntegers F)) |
| 30 | |
| 31 | /-- The local field norm preserves the valuation rings. -/ |
| 32 | theorem finiteLocalNorm_integer (x : w.adicCompletion E) |
| 33 | (hx : x ∈ w.adicCompletionIntegers E) : |
| 34 | LocalNorms.CompletionFactors.finiteLocalNorm v w x ∈ v.adicCompletionIntegers F := by |
| 35 | have hc : IsClosed {y : w.adicCompletion E | |
| 36 | LocalNorms.CompletionFactors.finiteLocalNorm v w y ∈ v.adicCompletionIntegers F} := |
| 37 | (Valued.isClosed_valuationSubring (v.adicCompletion F)).preimage |
| 38 | (LocalNorms.CompletionFactors.continuous_finiteLocalNorm v w) |
| 39 | have hs : Set.range (algebraMap (𝓞 E) (w.adicCompletion E)) ⊆ |
| 40 | {y | LocalNorms.CompletionFactors.finiteLocalNorm v w y ∈ v.adicCompletionIntegers F} := by |
| 41 | rintro y ⟨a, rfl⟩ |
| 42 | change LocalNorms.CompletionFactors.finiteLocalNorm v w (algebraMap (𝓞 E) (w.adicCompletion E) a) ∈ |
| 43 | v.adicCompletionIntegers F |
| 44 | rw [IsScalarTower.algebraMap_apply (𝓞 E) E (w.adicCompletion E)] |
| 45 | exact finiteLocalNorm_global_integer v w a |
| 46 | exact closure_minimal hs hc (LocalDensity.CompletionFactors.local_integer_mem_closure w x hx) |
| 47 | |
| 48 | /-- Integral local units are sent to integral local units. -/ |
| 49 | theorem finiteLocalIdeleNorm_integral_unit (a : (w.adicCompletion E)ˣ) |
| 50 | (ha : a ∈ (Submonoid.ofClass (w.adicCompletionIntegers E)).units) : |
| 51 | LocalNorms.CompletionFactors.finiteLocalIdeleNorm v w a ∈ (Submonoid.ofClass (v.adicCompletionIntegers F)).units := |
| 52 | ⟨finiteLocalNorm_integer v w a.val ha.1, finiteLocalNorm_integer v w a.inv ha.2⟩ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.Adeles.LocalIntegers.CompletionFactors |