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 | /- |
| 2 | Copyright 2026 The Formal Conjectures Authors. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | This file has been modified. |
| 5 | -/ |
| 6 | import OAI.AlgebraicGeometry.ClosedImmersion.NormalCoordinates |
| 7 | |
| 8 | /-! # Normal Coordinates At -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open _root_.AlgebraicGeometry |
| 15 | |
| 16 | /-! |
| 17 | # Normal coordinates for smooth closed immersions |
| 18 | |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.Topology Filter |
| 22 | |
| 23 | variable (X Y : Over (Spec ↧ℂ)) |
| 24 | (i : Y ⟶ X) (m d : ℕ) |
| 25 | [SmoothOfRelativeDimension m Y.hom] [SmoothOfRelativeDimension d X.hom] |
| 26 | [IsClosedImmersion i.left] (z : ComplexPoint.Basic.ComplexSchemePoint Y) |
| 27 | |
| 28 | /-- The normal parametrization is complex analytic at its center. -/ |
| 29 | theorem ComplexPoint.Basic.ComplexSchemePoint.analyticAt_closedImmersionNormalChart : |
| 30 | AnalyticAt ℂ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalChart X Y i m d z) |
| 31 | (ComplexPoint.Basic.ComplexSchemePoint.localChart Y m z z, 0) := by |
| 32 | let P := ComplexPoint.Basic.ComplexSchemePoint.closedImmersionDerivativeProjection X Y i m d z |
| 33 | exact ((ComplexPoint.Basic.ComplexSchemePoint.analyticAt_inclusionInComplexCharts X Y i m d z).comp |
| 34 | (f := (ContinuousLinearMap.fst ℂ (Fin m → ℂ) P.ker)) |
| 35 | (x := (ComplexPoint.Basic.ComplexSchemePoint.localChart Y m z z, 0)) |
| 36 | ((ContinuousLinearMap.fst ℂ (Fin m → ℂ) P.ker).analyticAt _)).add |
| 37 | ((P.ker.subtypeL.analyticAt _).comp |
| 38 | ((ContinuousLinearMap.snd ℂ (Fin m → ℂ) P.ker).analyticAt _)) |
| 39 | |
| 40 | /-- The inverse normal coordinates are complex analytic as well, by the analytic inverse |
| 41 | function theorem applied to the invertible complex derivative. -/ |
| 42 | theorem ComplexPoint.Basic.ComplexSchemePoint.analyticAt_closedImmersionNormalChart_symm : |
| 43 | AnalyticAt ℂ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalChart X Y i m d z).symm |
| 44 | (ComplexPoint.Basic.ComplexSchemePoint.localChart X d (ComplexPoint.Basic.Point.map i z) (ComplexPoint.Basic.Point.map i z)) := by |
| 45 | let P := ComplexPoint.Basic.ComplexSchemePoint.closedImmersionDerivativeProjection X Y i m d z |
| 46 | let e := ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalChart X Y i m d z |
| 47 | have ha := ComplexPoint.Basic.ComplexSchemePoint.analyticAt_inclusionInComplexCharts X Y i m d z |
| 48 | have hd := (Analysis.Foundations.SplitDerivativeNormalChart.HasStrictFDerivAt.add_kernel ha.hasStrictFDerivAt) P |
| 49 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionDerivativeProjection_leftInverse X Y i m d z) |
| 50 | have hder : fderiv ℂ e (ComplexPoint.Basic.ComplexSchemePoint.localChart Y m z z, 0) = |
| 51 | ((Analysis.Foundations.SplitDerivativeNormalChart.ContinuousLinearMap.splitKernelEquiv (fderiv ℂ (ComplexPoint.Basic.ComplexSchemePoint.inclusionInComplexCharts X Y i m d z) |
| 52 | (ComplexPoint.Basic.ComplexSchemePoint.localChart Y m z z))) P |
| 53 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionDerivativeProjection_leftInverse X Y i m d z)).toContinuousLinearMap := |
| 54 | hd.hasFDerivAt.fderiv |
| 55 | have h := e.analyticAt_symm' |
| 56 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalChart_mem_source X Y i m d z) |
| 57 | (ComplexPoint.Basic.ComplexSchemePoint.analyticAt_closedImmersionNormalChart X Y i m d z) hder |
| 58 | simpa only [e, ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalChart_apply, Submodule.coe_zero, add_zero, |
| 59 | ComplexPoint.Basic.ComplexSchemePoint.inclusionInComplexCharts_at_center] using h |
| 60 | |
| 61 | theorem ComplexPoint.Basic.ComplexSchemePoint.closedImmersionFlatteningChart_mem_source : |
| 62 | ComplexPoint.Basic.Point.map i z ∈ |
| 63 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionFlatteningChart X Y i m d z).source := |
| 64 | ⟨⟨ComplexPoint.Basic.ComplexSchemePoint.mem_localChart_source X d (ComplexPoint.Basic.Point.map i z), |
| 65 | ComplexPoint.Basic.ComplexSchemePoint.closedImmersionNormalChart_mem_target X Y i m d z⟩, |
| 66 | (ComplexPoint.Basic.ComplexSchemePoint.exists_open_normalCriterion X Y i m d z).choose_spec.2.1⟩ |
| 67 | |
| 68 | /-- The chart flattens the whole geometric support. -/ |
| 69 | theorem ComplexPoint.Basic.ComplexSchemePoint.closedImmersionFlatteningChart_mem_range_iff (y : ComplexPoint.Basic.ComplexSchemePoint X) |
| 70 | (hy : y ∈ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionFlatteningChart X Y i m d z).source) : |
| 71 | y ∈ Set.range (ComplexPoint.Basic.Point.map i) ↔ |
| 72 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionFlatteningChart X Y i m d z y).2 = 0 := |
| 73 | (ComplexPoint.Basic.ComplexSchemePoint.exists_open_normalCriterion X Y i m d z).choose_spec.2.2 y hy.2 |
| 74 | |
| 75 | theorem ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart_mem_source : |
| 76 | ComplexPoint.Basic.Point.map i z ∈ |
| 77 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart X Y i m d z).source := by |
| 78 | rw [ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart_source] |
| 79 | exact ComplexPoint.Basic.ComplexSchemePoint.closedImmersionFlatteningChart_mem_source X Y i m d z |
| 80 | |
| 81 | /-- The support is exactly the zero-normal plane throughout the chart source. -/ |
| 82 | theorem ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart_mem_range_iff (y : ComplexPoint.Basic.ComplexSchemePoint X) |
| 83 | (hy : y ∈ (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart X Y i m d z).source) : |
| 84 | y ∈ Set.range (ComplexPoint.Basic.Point.map i) ↔ |
| 85 | (ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart X Y i m d z y).2 = 0 := by |
| 86 | rw [ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart_source] at hy |
| 87 | simpa only [ComplexPoint.Basic.ComplexSchemePoint.closedImmersionStandardFlatteningChart_apply, ContinuousLinearEquiv.map_eq_zero_iff] using |
| 88 | ComplexPoint.Basic.ComplexSchemePoint.closedImmersionFlatteningChart_mem_range_iff X Y i m d z y hy |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry |