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.ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion |
| 2 | |
| 3 | /-! # Affine Charts -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ClosedImmersion.AffineCharts |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual scheme map in lifted affine charts is the original affine algebra comap. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion |
| 15 | |
| 16 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (φ : X ⟶ Y) |
| 17 | (V : Y.left.Opens) (hV : IsAffineOpen V) (hW : IsAffineOpen (φ.left ⁻¹ᵁ V)) |
| 18 | {n m : ℕ} |
| 19 | (e : OpenPartialHomeomorph |
| 20 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X (φ.left ⁻¹ᵁ V))) (Fin n → ℂ)) |
| 21 | (f : OpenPartialHomeomorph |
| 22 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra Y V)) (Fin m → ℂ)) |
| 23 | |
| 24 | theorem nativeAffineSchemeChartMap_eq (z : Fin n → ℂ) : |
| 25 | ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra Y V) |
| 26 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap Y V hV) f |
| 27 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map φ |
| 28 | ((ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X (φ.left ⁻¹ᵁ V)) |
| 29 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X (φ.left ⁻¹ᵁ V) hW) e).symm z)) = |
| 30 | f ((e.symm z).comp (ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion.nativeAffineOpenPullback φ V)) := by |
| 31 | rw [ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme_symm_apply] |
| 32 | change ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme _ _ f |
| 33 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map φ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap X (φ.left ⁻¹ᵁ V) hW (e.symm z))) = _ |
| 34 | rw [ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion.nativeAffineOpenPullback_point_square φ V hV hW] |
| 35 | exact ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme_apply (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra Y V) |
| 36 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap Y V hV) f ((e.symm z).comp (ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion.nativeAffineOpenPullback φ V)) |
| 37 | |
| 38 | theorem nativeAffineSchemeChartMap_contDiffAt |
| 39 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X (φ.left ⁻¹ᵁ V)) n) |
| 40 | (hf : f ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra Y V) m) |
| 41 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X (φ.left ⁻¹ᵁ V))) |
| 42 | (hx : x ∈ e.source) (hfx : x.comp (ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion.nativeAffineOpenPullback φ V) ∈ f.source) : |
| 43 | ContDiffAt ℂ ω (fun z => |
| 44 | ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra Y V) |
| 45 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap Y V hV) f |
| 46 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map φ |
| 47 | ((ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X (φ.left ⁻¹ᵁ V)) |
| 48 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X (φ.left ⁻¹ᵁ V) hW) e).symm z))) (e x) := by |
| 49 | simpa only [nativeAffineSchemeChartMap_eq] using |
| 50 | ComplexPoints.Analytic.SmoothClosedImmersion.contDiffAt_affineChartComap (ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion.nativeAffineOpenPullback φ V) e f he hf x hx hfx |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Comparison.Betti.ClosedImmersion.AffineCharts |