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.CycleClass.Thom.Closed.ComplexImmersion |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.EquationNormalPair |
| 3 | import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas |
| 4 | |
| 5 | /-! # Manifold Equation Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ManifoldEquationCoordinates.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native manifold submersions give genuine normal coordinates for |
| 12 | their embedded zero locus. The derivative is the actual manifold |
| 13 | derivative, transported through the preferred ambient chart. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | open scoped ContDiff _root_.Manifold _root_.Topology |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.EquationNormalPair.Constructions |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 24 | |
| 25 | theorem exists_equation_normalPair (f : V.analyticSpace → (Fin p → ℂ)) |
| 26 | (x : Z.regularAnalyticSpace) |
| 27 | (hf : ContMDiffAt 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, Fin p → ℂ) ω f |
| 28 | (Z.regularComplementInclusion x)) |
| 29 | (hs : Function.Surjective (mfderiv 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, Fin p → ℂ) f |
| 30 | (Z.regularComplementInclusion x))) |
| 31 | (U : Opens V.analyticSpace) (hxU : Z.regularComplementInclusion x ∈ U) |
| 32 | (hzero : ∀ y ∈ U, y ∈ Set.range Z.regularComplementInclusion ↔ f y = 0) : |
| 33 | ∃ P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair Z.regularAnalyticModel (Fin p → ℂ) Z.regularComplementInclusion x, |
| 34 | P.neighborhood ⊆ U ∧ |
| 35 | P.ambientChart.MDifferentiable 𝓘(ℂ, V.analyticModel) |
| 36 | 𝓘(ℂ, Z.regularAnalyticModel × (Fin p → ℂ)) ∧ |
| 37 | ∀ y : P.neighborhood, P.normalCoordinate y = f y.val := by |
| 38 | let c := chartAt V.analyticModel (Z.regularComplementInclusion x) |
| 39 | let g : V.analyticModel → (Fin p → ℂ) := fun t => f (c.symm t) |
| 40 | have hgf : ContDiffAt ℂ ω g (c (Z.regularComplementInclusion x)) := |
| 41 | ComplexPoints.Analytic.ImmersionChartDerivative.contDiffAt_preferredChartMap hf |
| 42 | have hd := ComplexPoints.Analytic.ImmersionChartDerivative.mfderiv_eq_preferredChartDerivative (hf.mdifferentiableAt (by simp)) |
| 43 | change mfderiv 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, Fin p → ℂ) f (Z.regularComplementInclusion x) = |
| 44 | fderiv ℂ g (c (Z.regularComplementInclusion x)) at hd |
| 45 | have hgs : Function.Surjective (fderiv ℂ g (c (Z.regularComplementInclusion x))) := |
| 46 | (congrArg (fun L : V.analyticModel →L[ℂ] (Fin p → ℂ) => Function.Surjective L) hd).mp hs |
| 47 | have hk := (fderiv ℂ g (c (Z.regularComplementInclusion x))).toLinearMap.finrank_range_add_finrank_ker |
| 48 | rw [LinearMap.range_eq_top.mpr hgs, finrank_top, Module.finrank_fin_fun] at hk |
| 49 | have he : Module.finrank ℂ (fderiv ℂ g (c (Z.regularComplementInclusion x))).ker = |
| 50 | Module.finrank ℂ Z.regularAnalyticModel := by |
| 51 | have hz := Z.regularComplexDimension_add_codimension |
| 52 | change p + Module.finrank ℂ (fderiv ℂ g (c (Z.regularComplementInclusion x))).ker = |
| 53 | Module.finrank ℂ (Fin V.complexDimension → ℂ) at hk |
| 54 | rw [Module.finrank_fin_fun] at hk |
| 55 | change _ = Module.finrank ℂ (Fin Z.regularComplexDimension → ℂ) |
| 56 | rw [Module.finrank_fin_fun] |
| 57 | omega |
| 58 | have hx : Z.regularComplementInclusion x ∈ c.source ∩ (U : Set V.analyticSpace) := |
| 59 | ⟨mem_chart_source _ _, hxU⟩ |
| 60 | have hgzero : ∀ y ∈ c.source ∩ (U : Set V.analyticSpace), |
| 61 | y ∈ Set.range Z.regularComplementInclusion ↔ g (c y) = 0 := by |
| 62 | intro y hy |
| 63 | change _ ↔ f (c.symm (c y)) = 0 |
| 64 | rw [c.left_inv hy.1] |
| 65 | exact hzero y hy.2 |
| 66 | obtain ⟨P, hPU, hPd, hPn⟩ := EquationNormalPair.Constructions.exists_equation_normalPair |
| 67 | Z.regularComplementInclusion x c (mdifferentiable_chart _) |
| 68 | (c.source ∩ (U : Set V.analyticSpace)) (c.open_source.inter U.isOpen) hx |
| 69 | Set.inter_subset_left g hgf hgs hgzero (ContinuousLinearEquiv.ofFinrankEq he) |
| 70 | refine ⟨P, fun _ hy => (hPU hy).2, hPd, ?_⟩ |
| 71 | intro y |
| 72 | rw [hPn] |
| 73 | change f (c.symm (c y.val)) = f y.val |
| 74 | rw [c.left_inv (hPU y.property).1] |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.CycleClass.Thom.ManifoldEquationCoordinates.Constructions |