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.Geometry.ComplexTorus.RiemannProjectivity.ProjectiveManifoldFinite |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCoordinatesM |
| 3 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreAt |
| 4 | |
| 5 | /-! # Holomorphic Graph At -/ |
| 6 | |
| 7 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicGraphAt.Constructions.HolomorphicGraphCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # RiemannProjectivity: projective coordinates of arbitrary holomorphic graphs -/ |
| 12 | |
| 13 | open Set Filter _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.Manifold _root_.Topology |
| 15 | open OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveGraph.Constructions OAI.Geometry.ComplexTorus.RiemannProjectivity.ProjectiveManifoldIs.Constructions.ProjectiveManifoldCone |
| 16 | attribute [local instance] Classical.propDecidable |
| 17 | |
| 18 | variable {X Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 19 | [IsIntegral Y.left] [Smooth Y.hom] {m n : ℕ} |
| 20 | |
| 21 | abbrev model (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] := |
| 22 | Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 23 | |
| 24 | def embedding (a : X ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) : |
| 25 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X → Projectivization ℂ (Fin (m + 1) → ℂ) := |
| 26 | fun x => (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph m).symm (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a x) |
| 27 | |
| 28 | omit [IsIntegral X.left] [Smooth X.hom] in |
| 29 | theorem embedding_closed (a : X ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) [IsClosedImmersion a.left] : |
| 30 | Topology.IsClosedEmbedding (embedding a) := |
| 31 | (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph m).symm.isClosedEmbedding.comp |
| 32 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion a) |
| 33 | |
| 34 | def affinePair (a : X ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) |
| 35 | (b : Y ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n)) (f : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X → AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) |
| 36 | (i : Fin (m + 1)) (j : Fin (n + 1)) (x : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : |
| 37 | (Fin m → ℂ) × (Fin n → ℂ) := |
| 38 | (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveGraph.Constructions.ProjectiveCoordinates.coordinatesOfSchemeMap a i x, AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveGraph.Constructions.ProjectiveCoordinates.coordinatesOfSchemeMap b j (f x)) |
| 39 | |
| 40 | theorem affinePair_mdifferentiableAt (a : X ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) |
| 41 | (b : Y ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n)) |
| 42 | (f : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X → AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) |
| 43 | (hf : MDifferentiable (𝓘(ℂ, model X)) (𝓘(ℂ, model Y)) f) |
| 44 | (i : Fin (m + 1)) (j : Fin (n + 1)) (x : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 45 | (hx : embedding a x ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source) |
| 46 | (hy : embedding b (f x) ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart j).source) : |
| 47 | MDifferentiableAt (𝓘(ℂ, model X)) (𝓘(ℂ, (Fin m → ℂ) × (Fin n → ℂ))) (affinePair a b f i j) x := |
| 48 | (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveGraph.Constructions.ProjectiveCoordinates.mdifferentiableAt_coordinatesOfSchemeMap a i hx).prodMk_space |
| 49 | ((AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveGraph.Constructions.ProjectiveCoordinates.mdifferentiableAt_coordinatesOfSchemeMap b j hy).comp x (hf x)) |
| 50 | |
| 51 | theorem affinePair_injective_derivative (a : X ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) |
| 52 | [IsClosedImmersion a.left] (b : Y ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n)) |
| 53 | (f : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X → AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) |
| 54 | (hf : MDifferentiable (𝓘(ℂ, model X)) (𝓘(ℂ, model Y)) f) |
| 55 | (i : Fin (m + 1)) (j : Fin (n + 1)) (x : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 56 | (hx : embedding a x ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source) |
| 57 | (hy : embedding b (f x) ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart j).source) : |
| 58 | Function.Injective (mfderiv (𝓘(ℂ, model X)) (𝓘(ℂ, (Fin m → ℂ) × (Fin n → ℂ))) |
| 59 | (affinePair a b f i j) x) := by |
| 60 | have hfst : MDifferentiable (𝓘(ℂ, (Fin m → ℂ) × (Fin n → ℂ))) (𝓘(ℂ, Fin m → ℂ)) Prod.fst := |
| 61 | mdifferentiable_iff_differentiable.mpr differentiable_fst |
| 62 | have hchain := mfderiv_comp x (hfst (affinePair a b f i j x)) |
| 63 | (affinePair_mdifferentiableAt a b f hf i j x hx hy) |
| 64 | have heq : Prod.fst ∘ affinePair a b f i j = AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveGraph.Constructions.ProjectiveCoordinates.coordinatesOfSchemeMap a i := rfl |
| 65 | rw [heq] at hchain |
| 66 | intro v w hvw |
| 67 | apply AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveGraph.Constructions.ProjectiveCoordinates.mfderiv_coordinatesOfSchemeMap_injective a i hx |
| 68 | rw [hchain] |
| 69 | exact congrArg (mfderiv (𝓘(ℂ, (Fin m → ℂ) × (Fin n → ℂ))) (𝓘(ℂ, Fin m → ℂ)) |
| 70 | Prod.fst (affinePair a b f i j x)) hvw |
| 71 | |
| 72 | def graph (a : X ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) |
| 73 | (b : Y ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n)) |
| 74 | (f : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X → AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) (x : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : |
| 75 | Projectivization ℂ (Fin (m + 1) × Fin (n + 1) → ℂ) := AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreAt.Constructions.Segre.segre (embedding a x) (embedding b (f x)) |
| 76 | |
| 77 | omit [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] in |
| 78 | theorem graph_continuous (a : X ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) [IsClosedImmersion a.left] |
| 79 | (b : Y ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n)) [IsClosedImmersion b.left] |
| 80 | (f : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X → AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) (hf : Continuous f) : Continuous (graph a b f) := |
| 81 | AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreAt.Constructions.Segre.continuous_segre.comp ((embedding_closed a).continuous.prodMk ((embedding_closed b).continuous.comp hf)) |
| 82 | |
| 83 | theorem graph_chart_data (a : X ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) [IsClosedImmersion a.left] |
| 84 | (b : Y ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n)) [IsClosedImmersion b.left] |
| 85 | (f : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X → AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) |
| 86 | (hf : MDifferentiable (𝓘(ℂ, model X)) (𝓘(ℂ, model Y)) f) |
| 87 | (ij : Fin (m + 1) × Fin (n + 1)) (x : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 88 | (hx : x ∈ ProjectiveManifoldIs.Constructions.ProjectiveManifoldCone.chartDomain (graph a b f) ij) : |
| 89 | MDifferentiableAt (𝓘(ℂ, model X)) (𝓘(ℂ, {k : Fin (m + 1) × Fin (n + 1) // k ≠ ij} → ℂ)) |
| 90 | (ProjectiveManifoldIs.Constructions.ProjectiveManifoldCone.chartMap (graph a b f) ij) x ∧ |
| 91 | Function.Injective (mfderiv (𝓘(ℂ, model X)) |
| 92 | (𝓘(ℂ, {k : Fin (m + 1) × Fin (n + 1) // k ≠ ij} → ℂ)) (ProjectiveManifoldIs.Constructions.ProjectiveManifoldCone.chartMap (graph a b f) ij) x) := by |
| 93 | obtain ⟨i, j⟩ := ij |
| 94 | have hxy := (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreAt.Constructions.Segre.inPatch_segre_iff i j _ _).mp hx |
| 95 | let F := AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreAt.Constructions.Segre.finAffineSegre i j ∘ affinePair a b f i j |
| 96 | have hdF : MDifferentiableAt (𝓘(ℂ, model X)) |
| 97 | (𝓘(ℂ, {k : Fin (m + 1) × Fin (n + 1) // k ≠ (i, j)} → ℂ)) F x := |
| 98 | ((mdifferentiable_iff_differentiable.mpr (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreAt.Constructions.Segre.differentiable_finAffineSegre i j)) |
| 99 | (affinePair a b f i j x)).comp x (affinePair_mdifferentiableAt a b f hf i j x hxy.1 hxy.2) |
| 100 | have hiF : Function.Injective (mfderiv (𝓘(ℂ, model X)) |
| 101 | (𝓘(ℂ, {k : Fin (m + 1) × Fin (n + 1) // k ≠ (i, j)} → ℂ)) F x) := by |
| 102 | rw [show F = AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreAt.Constructions.Segre.finAffineSegre i j ∘ affinePair a b f i j from rfl, mfderiv_comp x |
| 103 | ((mdifferentiable_iff_differentiable.mpr (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreAt.Constructions.Segre.differentiable_finAffineSegre i j)) _) |
| 104 | (affinePair_mdifferentiableAt a b f hf i j x hxy.1 hxy.2), mfderiv_eq_fderiv] |
| 105 | exact (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreAt.Constructions.Segre.fderiv_finAffineSegre_injective i j _).comp |
| 106 | (affinePair_injective_derivative a b f hf i j x hxy.1 hxy.2) |
| 107 | have heq : ProjectiveManifoldIs.Constructions.ProjectiveManifoldCone.chartMap (graph a b f) (i, j) =ᶠ[𝓝 x] F := by |
| 108 | filter_upwards [((AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveChart (i, j)).open_source.preimage |
| 109 | (graph_continuous a b f hf.continuous)).mem_nhds hx] with y hy |
| 110 | have hp := (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreAt.Constructions.Segre.inPatch_segre_iff i j _ _).mp hy |
| 111 | exact AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SegreAt.Constructions.Segre.projectiveChart_segre_fin i j hp.1 hp.2 |
| 112 | refine ⟨hdF.congr_of_eventuallyEq heq, ?_⟩ |
| 113 | rw [heq.mfderiv_eq (I := 𝓘(ℂ, model X)) |
| 114 | (I' := 𝓘(ℂ, {k : Fin (m + 1) × Fin (n + 1) // k ≠ (i, j)} → ℂ))] |
| 115 | exact hiF |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicGraphAt.Constructions.HolomorphicGraphCoordinates |