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.RepresentationTheory.Theta.AdelicSupport |
| 2 | import Mathlib.NumberTheory.Padics.HeightOneSpectrum |
| 3 | |
| 4 | /-! # Integral Adeles -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.IntegralAdeles.PoissonAutomorphyConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integral finite adeles as a product of compact local integer rings. -/ |
| 11 | |
| 12 | open scoped Classical RestrictedProduct |
| 13 | open IsDedekindDomain IsDedekindDomain.HeightOneSpectrum |
| 14 | |
| 15 | def integralProductHomeomorph : |
| 16 | (∀ v : AdelicSupport.PoissonAutomorphyConstruction.FinitePlace, v.adicCompletionIntegers ℚ) ≃ₜ AdelicSupport.PoissonAutomorphyConstruction.integralAdele := |
| 17 | (RestrictedProduct.isEmbedding_structureMap |
| 18 | (R := fun v : AdelicSupport.PoissonAutomorphyConstruction.FinitePlace => v.adicCompletion ℚ) |
| 19 | (A := fun v => (v.adicCompletionIntegers ℚ : Set (v.adicCompletion ℚ))) |
| 20 | (𝓕 := Filter.cofinite)).toHomeomorph.trans |
| 21 | (Homeomorph.setCongr (by |
| 22 | rw [RestrictedProduct.range_structureMap] |
| 23 | rfl)) |
| 24 | |
| 25 | theorem integralProductHomeomorph_apply |
| 26 | (x : ∀ v : AdelicSupport.PoissonAutomorphyConstruction.FinitePlace, v.adicCompletionIntegers ℚ) (v : AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : |
| 27 | (integralProductHomeomorph x).val v = (x v).val := rfl |
| 28 | |
| 29 | instance localIntegerCompact (v : AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : |
| 30 | CompactSpace (v.adicCompletionIntegers ℚ) := by |
| 31 | let : Algebra ℤ (v.adicCompletionIntegers ℚ) := Ring.toIntAlgebra _ |
| 32 | let : Fact (Rat.HeightOneSpectrum.primesEquiv v).val.Prime := |
| 33 | ⟨(Rat.HeightOneSpectrum.primesEquiv v).property⟩ |
| 34 | exact (Rat.HeightOneSpectrum.adicCompletionIntegers.padicIntEquiv v).toHomeomorph.symm.compactSpace |
| 35 | |
| 36 | instance integralAdeleCompact : CompactSpace AdelicSupport.PoissonAutomorphyConstruction.integralAdele := |
| 37 | integralProductHomeomorph.compactSpace |
| 38 | |
| 39 | theorem isCompact_integralAdele : IsCompact (AdelicSupport.PoissonAutomorphyConstruction.integralAdele : Set PoissonAutomorphyNormalizationData.AQf) := |
| 40 | isCompact_iff_compactSpace.mpr (inferInstanceAs (CompactSpace AdelicSupport.PoissonAutomorphyConstruction.integralAdele)) |
| 41 | |
| 42 | theorem localInteger_dense_intCast (v : AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : |
| 43 | DenseRange (fun n : ℤ => (n : v.adicCompletionIntegers ℚ)) := by |
| 44 | let : Algebra ℤ (v.adicCompletionIntegers ℚ) := Ring.toIntAlgebra _ |
| 45 | let : Fact (Rat.HeightOneSpectrum.primesEquiv v).val.Prime := |
| 46 | ⟨(Rat.HeightOneSpectrum.primesEquiv v).property⟩ |
| 47 | let e := Rat.HeightOneSpectrum.adicCompletionIntegers.padicIntEquiv v |
| 48 | have h := e.symm.surjective.denseRange.comp PadicInt.denseRange_intCast e.symm.continuous |
| 49 | simpa only [Function.comp_def, map_intCast] using h |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.RepresentationTheory.Theta.IntegralAdeles.PoissonAutomorphyConstruction |