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.Comparison.Betti.Holomorphic.ScalarCoefficients |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.ManifoldHolomorphicModules |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.SectionCoordinates |
| 4 | import OAI.Analysis.DifferentialForms.Manifold.LocallyConstant |
| 5 | |
| 6 | /-! # Zero Functions -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.ZeroFunctions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual holomorphic zero-forms are precisely the standard holomorphic functions. -/ |
| 13 | |
| 14 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 15 | |
| 16 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 17 | |
| 18 | def complexConstantZeroCovector : ℂ →L[ℂ] (E [⋀^Fin 0]→L[ℝ] ℂ) where |
| 19 | toLinearMap := |
| 20 | { toFun := ContinuousAlternatingMap.constOfIsEmptyLIE ℝ E ℂ (Fin 0) |
| 21 | map_add' := by intros; ext; rfl |
| 22 | map_smul' := by intros; ext; rfl } |
| 23 | cont := (ContinuousAlternatingMap.constOfIsEmptyLIE ℝ E ℂ (Fin 0)).continuous |
| 24 | |
| 25 | variable [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 26 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 27 | |
| 28 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 29 | |
| 30 | def holomorphicFunctionZeroForm (f : C^∞⟮𝓘(ℂ, E), M; 𝓘(ℂ), ℂ⟯) : DeRhamComplex.forms E M 0 := by |
| 31 | have hf (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) {y : E} (hy : y ∈ e.target) : |
| 32 | ContDiffAt ℂ ∞ (fun z => f (e.symm z)) y := by |
| 33 | have hi : ContMDiffAt 𝓘(ℂ, E) 𝓘(ℂ, E) ∞ e.symm y := |
| 34 | contMDiffAt_symm_of_mem_maximalAtlas (IsManifold.subset_maximalAtlas he) hy |
| 35 | exact ((f.property _).comp y hi).contDiffAt |
| 36 | let s : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0 := |
| 37 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ofSmooth (Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.ofScalar f) (by |
| 38 | intro e he y hy |
| 39 | rw [Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.ofScalar_inChart] |
| 40 | exact ((complexConstantZeroCovector (E := E)).contDiff.contDiffAt.comp y |
| 41 | (hf e he hy.1)).restrict_scalars ℝ |>.contDiffWithinAt) |
| 42 | let p : Analysis.DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm E M 0 0 := ⟨s, fun _ _ _ _ => Analysis.DifferentialForms.Manifold.Bidegree.hasBidegree_zero (E := E) _⟩ |
| 43 | refine ⟨p, (ChartCoefficients.mem_forms_iff_coefficients_complex p).mpr ?_⟩ |
| 44 | intro e he y hy |
| 45 | change DifferentiableAt ℂ ((Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.ofScalar f).inChart e) y |
| 46 | rw [Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.ofScalar_inChart] |
| 47 | exact ((complexConstantZeroCovector (E := E)).differentiableAt.comp y |
| 48 | ((hf e he hy).differentiableAt (by simp))) |
| 49 | |
| 50 | theorem holomorphicFunctionZeroForm_apply (f : C^∞⟮𝓘(ℂ, E), M; 𝓘(ℂ), ℂ⟯) |
| 51 | (x : M) (v : Fin 0 → TangentSpace 𝓘(ℝ, E) x) : |
| 52 | DeRhamComplex.inclusion E M 0 (holomorphicFunctionZeroForm f) x v = f x := rfl |
| 53 | |
| 54 | variable [FiniteDimensional ℂ E] |
| 55 | |
| 56 | theorem holomorphicZeroForm_scalar_contMDiff (a : DeRhamComplex.forms E M 0) : |
| 57 | ContMDiff 𝓘(ℂ, E) 𝓘(ℂ) ∞ (fun x => DeRhamComplex.inclusion E M 0 a x 0) := by |
| 58 | intro x |
| 59 | let e := chartAt E x |
| 60 | have he : e ∈ atlas E M := chart_mem_atlas E x |
| 61 | have hx : x ∈ e.source := mem_chart_source E x |
| 62 | have hy : e x ∈ e.target := e.map_source hx |
| 63 | have hc := (ScalarCoefficients.form_scalarCoefficient_holomorphic a e he 0).contDiffAt |
| 64 | (e.open_target.mem_nhds hy) |
| 65 | have he' : ContMDiffAt 𝓘(ℂ, E) 𝓘(ℂ, E) ∞ e x := |
| 66 | contMDiffAt_of_mem_maximalAtlas (IsManifold.subset_maximalAtlas he) hx |
| 67 | apply (hc.contMDiffAt.comp x he').congr_of_eventuallyEq |
| 68 | filter_upwards [e.open_source.mem_nhds hx] with y hy |
| 69 | change DeRhamComplex.inclusion E M 0 a y 0 = (DeRhamComplex.inclusion E M 0 a).val.inChart e (e y) 0 |
| 70 | rw [Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_zero_apply, e.left_inv hy] |
| 71 | |
| 72 | def holomorphicZeroFormFunction (a : DeRhamComplex.forms E M 0) : C^∞⟮𝓘(ℂ, E), M; 𝓘(ℂ), ℂ⟯ := |
| 73 | ⟨fun x => DeRhamComplex.inclusion E M 0 a x 0, holomorphicZeroForm_scalar_contMDiff a⟩ |
| 74 | |
| 75 | def holomorphicZeroFormsFunctionEquiv : |
| 76 | C^∞⟮𝓘(ℂ, E), M; 𝓘(ℂ), ℂ⟯ ≃ₗ[C^∞⟮𝓘(ℂ, E), M; 𝓘(ℂ), ℂ⟯] DeRhamComplex.forms E M 0 where |
| 77 | toFun := holomorphicFunctionZeroForm |
| 78 | invFun := holomorphicZeroFormFunction |
| 79 | left_inv f := by apply ContMDiffMap.ext; intro x; rfl |
| 80 | right_inv a := by |
| 81 | apply HolomorphicPullback.inclusion_injective 0 |
| 82 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 83 | intro x |
| 84 | ext v |
| 85 | change DeRhamComplex.inclusion E M 0 a x 0 = DeRhamComplex.inclusion E M 0 a x v |
| 86 | congr 1 |
| 87 | exact Subsingleton.elim _ _ |
| 88 | map_add' f g := by |
| 89 | apply HolomorphicPullback.inclusion_injective 0 |
| 90 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 91 | intro x |
| 92 | ext v |
| 93 | rfl |
| 94 | map_smul' f g := by |
| 95 | apply HolomorphicPullback.inclusion_injective 0 |
| 96 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 97 | intro x |
| 98 | ext v |
| 99 | rfl |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.ZeroFunctions |