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.ArithmeticGeometry.Descent.CMVariety.ChartEndomorphismDerivative |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialLocal |
| 3 | import Mathlib.Algebra.Module.ZLattice.Basic |
| 4 | |
| 5 | /-! # Chart Period Lattice -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.ChartPeriodLattice.Abelian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | The period lattice in the constructed chart tangent coordinates is the |
| 13 | actual native exponential lattice pulled back by the inverse-chart |
| 14 | derivative. A differentiable identity chart makes that derivative a real |
| 15 | linear isomorphism, so the chart lattice has a full integral basis. |
| 16 | -/ |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialLocal.Constructions.Exponential |
| 19 | open scoped _root_.Manifold ContDiff Classical |
| 20 | |
| 21 | variable {E V G : Type} |
| 22 | [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [CompleteSpace E] |
| 23 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 24 | [TopologicalSpace G] [ChartedSpace E G] [CommGroup G] |
| 25 | [LieGroup (𝓘(ℝ, E)) ∞ G] [T2Space G] |
| 26 | |
| 27 | def chartPeriodLattice (c : OpenPartialHomeomorph G V) : Submodule ℤ V := |
| 28 | ZLattice.comap ℝ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialLocal.Constructions.Exponential.expLattice (E := E) (C := G)) (ChartEndomorphismDerivative.Abelian.chartTangentMap (E := E) c).toLinearMap |
| 29 | |
| 30 | omit [FiniteDimensional ℝ E] in |
| 31 | theorem mem_chartPeriodLattice (c : OpenPartialHomeomorph G V) (v : V) : |
| 32 | v ∈ chartPeriodLattice (E := E) c ↔ ChartEndomorphismDerivative.Abelian.chartExponential (E := E) c v = 1 := Iff.rfl |
| 33 | |
| 34 | omit [FiniteDimensional ℝ E] [CompleteSpace E] [LieGroup (𝓘(ℝ, E)) ∞ G] [T2Space G] in |
| 35 | def chartTangentEquiv |
| 36 | (c : OpenPartialHomeomorph G V) (hc : c.MDifferentiable (𝓘(ℝ, E)) (𝓘(ℝ, V))) |
| 37 | (h1 : (1 : G) ∈ c.source) (h0 : c 1 = 0) : V ≃L[ℝ] E := |
| 38 | hc.symm.mfderiv (h0 ▸ c.map_source h1) |
| 39 | |
| 40 | omit [FiniteDimensional ℝ E] [CompleteSpace E] [LieGroup (𝓘(ℝ, E)) ∞ G] [T2Space G] in |
| 41 | theorem chartTangentEquiv_toContinuousLinearMap |
| 42 | (c : OpenPartialHomeomorph G V) (hc : c.MDifferentiable (𝓘(ℝ, E)) (𝓘(ℝ, V))) |
| 43 | (h1 : (1 : G) ∈ c.source) (h0 : c 1 = 0) : |
| 44 | (chartTangentEquiv c hc h1 h0).toContinuousLinearMap = ChartEndomorphismDerivative.Abelian.chartTangentMap (E := E) c := rfl |
| 45 | |
| 46 | /-- Compactness and connectedness of the actual native fiber supply the |
| 47 | central full integral lattice basis in its inverse-chart tangent coordinates. -/ |
| 48 | theorem exists_chart_period_basis [CompactSpace G] [ConnectedSpace G] |
| 49 | (c : OpenPartialHomeomorph G V) (hc : c.MDifferentiable (𝓘(ℝ, E)) (𝓘(ℝ, V))) |
| 50 | (h1 : (1 : G) ∈ c.source) (h0 : c 1 = 0) : |
| 51 | ∃ (n : ℕ) (b : Module.Basis (Fin n) ℤ (chartPeriodLattice (E := E) c)) |
| 52 | (e : (Fin n → ℝ) ≃L[ℝ] V), ∀ i, (b i : V) = e (Pi.single i 1) := by |
| 53 | let T := chartTangentEquiv c hc h1 h0 |
| 54 | let Λ := chartPeriodLattice (E := E) c |
| 55 | let : FiniteDimensional ℝ V := FiniteDimensional.of_injective T.toLinearMap T.injective |
| 56 | let : DiscreteTopology Λ := inferInstanceAs |
| 57 | (DiscreteTopology (ZLattice.comap ℝ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialLocal.Constructions.Exponential.expLattice (E := E) (C := G)) T.toLinearMap)) |
| 58 | let : IsZLattice ℝ Λ := inferInstanceAs |
| 59 | (IsZLattice ℝ (ZLattice.comap ℝ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialLocal.Constructions.Exponential.expLattice (E := E) (C := G)) T.toLinearMap)) |
| 60 | let b := Module.finBasis ℤ Λ |
| 61 | let e := (b.ofZLatticeBasis ℝ Λ).equivFun.symm.toContinuousLinearEquiv |
| 62 | refine ⟨Module.finrank ℤ Λ, b, e, ?_⟩ |
| 63 | intro i |
| 64 | change (b i : V) = (b.ofZLatticeBasis ℝ Λ).equivFun.symm (Pi.single i 1) |
| 65 | erw [Module.Basis.equivFun_symm_apply] |
| 66 | simp [Pi.single_apply] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.ArithmeticGeometry.Descent.CMVariety.ChartPeriodLattice.Abelian |