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 Mathlib.Geometry.Manifold.MFDeriv.NormedSpace |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.Holomorphic |
| 4 | import Mathlib.Analysis.Calculus.FDeriv.RestrictScalars |
| 5 | |
| 6 | /-! # Intrinsic Derivative Scalars -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicDerivativeScalars |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Real and complex derivatives in the same genuine manifold charts |
| 14 | |
| 15 | For a complex differentiable manifold map, the real derivative is precisely |
| 16 | the restriction of its complex derivative. The proof computes both actual |
| 17 | manifold derivatives in their shared preferred charts and invokes the ordinary |
| 18 | Fréchet derivative scalar-restriction theorem. The native scheme-point case |
| 19 | then follows from the proved analyticity of actual scheme morphisms. |
| 20 | -/ |
| 21 | |
| 22 | open scoped ContDiff _root_.Manifold |
| 23 | open _root_.CategoryTheory _root_.AlgebraicGeometry ChartedSpace |
| 24 | |
| 25 | section Generic |
| 26 | |
| 27 | variable {E F : Type*} |
| 28 | variable [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 29 | variable [IsScalarTower ℝ ℂ E] |
| 30 | variable [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] |
| 31 | variable [IsScalarTower ℝ ℂ F] |
| 32 | variable {M N : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 33 | variable [TopologicalSpace N] [ChartedSpace F N] |
| 34 | |
| 35 | set_option backward.isDefEq.respectTransparency false in |
| 36 | /-- In the same actual preferred charts, the real manifold derivative of a |
| 37 | complex `C¹` map is the scalar restriction of its complex manifold derivative. |
| 38 | The displayed model identifications are the defining tangent-space synonyms. -/ |
| 39 | theorem real_mfderiv_eq_complex_restrictScalars {f : M → N} {x : M} |
| 40 | (hf : ContMDiffAt (𝓘(ℂ, E)) (𝓘(ℂ, F)) 1 f x) : |
| 41 | (show E →L[ℝ] F from mfderiv (𝓘(ℝ, E)) (𝓘(ℝ, F)) f x) = |
| 42 | (show E →L[ℂ] F from mfderiv (𝓘(ℂ, E)) (𝓘(ℂ, F)) f x).restrictScalars ℝ := by |
| 43 | have hc := hf.mdifferentiableAt one_ne_zero |
| 44 | have hr := (OAI.Analysis.DifferentialForms.Manifold.Holomorphic.contMDiffAt_real_of_complex hf).mdifferentiableAt one_ne_zero |
| 45 | let c : E → F := fun z => chartAt F (f x) (f ((chartAt E x).symm z)) |
| 46 | have hcd : DifferentiableAt ℂ c (chartAt E x x) := by |
| 47 | simpa only [c, writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, |
| 48 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 49 | Function.comp_def, id_eq, Set.range_id, differentiableWithinAt_univ] |
| 50 | using hc.differentiableWithinAt_writtenInExtChartAt |
| 51 | have hcr : (show E →L[ℝ] F from mfderiv (𝓘(ℝ, E)) (𝓘(ℝ, F)) f x) = |
| 52 | fderiv ℝ c (chartAt E x x) := by |
| 53 | simpa only [c, writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, |
| 54 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 55 | Function.comp_def, id_eq, Set.range_id, fderivWithin_univ] using hr.mfderiv_abuse |
| 56 | have hcc : (show E →L[ℂ] F from mfderiv (𝓘(ℂ, E)) (𝓘(ℂ, F)) f x) = |
| 57 | fderiv ℂ c (chartAt E x x) := by |
| 58 | simpa only [c, writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, |
| 59 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 60 | Function.comp_def, id_eq, Set.range_id, fderivWithin_univ] using hc.mfderiv_abuse |
| 61 | rw [hcr, hcc] |
| 62 | exact hcd.fderiv_restrictScalars ℝ |
| 63 | |
| 64 | set_option backward.isDefEq.respectTransparency false in |
| 65 | /-- The same identity on actual tangent vectors, through the defining model |
| 66 | identifications. This form is convenient for identifying tangent ranges. -/ |
| 67 | theorem real_mfderiv_apply_eq_complex {f : M → N} {x : M} |
| 68 | (hf : ContMDiffAt (𝓘(ℂ, E)) (𝓘(ℂ, F)) 1 f x) (v : E) : |
| 69 | (mfderiv (𝓘(ℝ, E)) (𝓘(ℝ, F)) f x) v = |
| 70 | (mfderiv (𝓘(ℂ, E)) (𝓘(ℂ, F)) f x) v := by |
| 71 | exact congrArg (fun L : E →L[ℝ] F => L v) (real_mfderiv_eq_complex_restrictScalars hf) |
| 72 | |
| 73 | end Generic |
| 74 | |
| 75 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 76 | variable [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] |
| 77 | |
| 78 | local notation "ModelX" => (Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ) |
| 79 | local notation "ModelY" => (Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ) |
| 80 | |
| 81 | set_option backward.isDefEq.respectTransparency false in |
| 82 | /-- The actual real derivative of an algebraic map on native complex points |
| 83 | is the restriction of its actual complex derivative. -/ |
| 84 | theorem real_mfderiv_nativeScheme_map_eq_restrictScalars (φ : X ⟶ Y) |
| 85 | (x : SchemePointHomeomorphs.schemeComplexPoints X) : |
| 86 | (show ModelX →L[ℝ] ModelY from |
| 87 | mfderiv (𝓘(ℝ, ModelX)) (𝓘(ℝ, ModelY)) (SchemePointHomeomorphs.schemeComplexPoints.map φ) x) = |
| 88 | (show ModelX →L[ℂ] ModelY from |
| 89 | mfderiv (𝓘(ℂ, ModelX)) (𝓘(ℂ, ModelY)) (SchemePointHomeomorphs.schemeComplexPoints.map φ) x).restrictScalars ℝ := |
| 90 | real_mfderiv_eq_complex_restrictScalars (IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map φ 1).contMDiffAt |
| 91 | |
| 92 | set_option backward.isDefEq.respectTransparency false in |
| 93 | /-- Equality of the actual real and complex derivative values of a native |
| 94 | scheme map, used to identify its real and complex normal quotients. -/ |
| 95 | theorem real_mfderiv_nativeScheme_map_apply (φ : X ⟶ Y) |
| 96 | (x : SchemePointHomeomorphs.schemeComplexPoints X) (v : ModelX) : |
| 97 | (mfderiv (𝓘(ℝ, ModelX)) (𝓘(ℝ, ModelY)) (SchemePointHomeomorphs.schemeComplexPoints.map φ) x) v = |
| 98 | (mfderiv (𝓘(ℂ, ModelX)) (𝓘(ℂ, ModelY)) (SchemePointHomeomorphs.schemeComplexPoints.map φ) x) v := |
| 99 | real_mfderiv_apply_eq_complex (IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map φ 1).contMDiffAt v |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicDerivativeScalars |