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.DivisorClass.Chern.Holomorphic.ManifoldCoordinates |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Manifold.DolbeaultCharts |
| 3 | |
| 4 | /-! # Manifold Zero Forms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.ManifoldZeroForms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Original holomorphic functions give their actual nullary manifold covectors. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace _root_.ContinuousAlternatingMap |
| 13 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 20 | |
| 21 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 22 | [IsScalarTower ℝ ℂ E] {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 23 | [IsManifold 𝓘(ℂ, E) ∞ M] {U V : Opens M} |
| 24 | |
| 25 | theorem holomorphicManifoldZeroForm_smooth (g : Exponential.HolomorphicFunction (E := E) (M := U)) : |
| 26 | Analysis.DifferentialForms.Manifold.Algebra.IsSmoothManifoldFormOn (Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.ofScalar (E := E) (OpenExtension.holomorphicOpenExtend g)) (U : Set M) := by |
| 27 | intro e he |
| 28 | rw [Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.ofScalar_inChart] |
| 29 | exact (constOfIsEmptyLIE ℝ E ℂ (Fin 0)).contDiff.comp_contDiffOn |
| 30 | ((ManifoldCoordinates.holomorphicOpenExtend_chart_contDiff g e he).restrict_scalars ℝ) |
| 31 | |
| 32 | def holomorphicManifoldZeroForm (g : Exponential.HolomorphicFunction (E := E) (M := U)) : |
| 33 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E U 0 := |
| 34 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.ofRaw U (Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.ofScalar (OpenExtension.holomorphicOpenExtend g)) |
| 35 | (holomorphicManifoldZeroForm_smooth g) |
| 36 | |
| 37 | theorem holomorphicManifoldZeroForm_apply (g : Exponential.HolomorphicFunction (E := E) (M := U)) |
| 38 | (x : U) (v : Fin 0 → TangentSpace 𝓘(ℝ, E) (x : M)) : |
| 39 | holomorphicManifoldZeroForm g x v = g x := OpenExtension.holomorphicOpenExtend_apply g x x.property |
| 40 | |
| 41 | theorem holomorphicManifoldZeroForm_inChart (g : Exponential.HolomorphicFunction (E := E) (M := U)) |
| 42 | (e : OpenPartialHomeomorph M E) {y : E} (hy : e.symm y ∈ U) : |
| 43 | (holomorphicManifoldZeroForm g).extension.inChart e y = |
| 44 | constOfIsEmpty ℝ E (Fin 0) (OpenExtension.holomorphicOpenExtend g (e.symm y)) := by |
| 45 | unfold Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart |
| 46 | rw [Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.extension_apply _ ⟨e.symm y, hy⟩] |
| 47 | ext v |
| 48 | rfl |
| 49 | |
| 50 | theorem holomorphicManifoldZeroForm_d (g : Exponential.HolomorphicFunction (E := E) (M := U)) : |
| 51 | Open.ManifoldDolbeault.openManifoldDolbeaultD 0 0 0 (holomorphicManifoldZeroForm g) = 0 := by |
| 52 | apply (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.eq_zero_iff_inChartOn U _).mpr |
| 53 | intro e he |
| 54 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 55 | intro y |
| 56 | change (Open.ManifoldDolbeault.openManifoldDolbeaultD 0 0 0 (holomorphicManifoldZeroForm g)).extension.inChart e y = 0 |
| 57 | rw [Open.ManifoldDolbeault.openManifoldDolbeaultD_eq_local rfl (fun _ _ _ _ => Analysis.DifferentialForms.Manifold.Bidegree.hasBidegree_zero E _) e he y.property] |
| 58 | have heq : (holomorphicManifoldZeroForm g).extension.inChart e =ᶠ[𝓝 (y : E)] |
| 59 | (fun z => constOfIsEmpty ℝ E (Fin 0) (OpenExtension.holomorphicOpenExtend g (e.symm z))) := by |
| 60 | filter_upwards [(Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U).isOpen.mem_nhds y.property] with z hz |
| 61 | exact holomorphicManifoldZeroForm_inChart g e hz.2 |
| 62 | have hc : DifferentiableAt ℂ (OpenExtension.holomorphicOpenExtend g ∘ e.symm) (y : E) := |
| 63 | ((ManifoldCoordinates.holomorphicOpenExtend_chart_contDiff g e he).contDiffAt |
| 64 | ((Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U).isOpen.mem_nhds y.property)).differentiableAt (by simp) |
| 65 | have hz := (DolbeaultZeroForms.extDerivDoublePrime_zeroForm_eq_zero_iff (hc.restrictScalars ℝ)).mpr hc |
| 66 | unfold Analysis.DifferentialForms.Manifold.DolbeaultLocal.extDerivDoublePrime |
| 67 | rw [heq.fderiv_eq] |
| 68 | exact hz |
| 69 | |
| 70 | def holomorphicManifoldZeroFormLinear (U : Opens M) : |
| 71 | Exponential.HolomorphicFunction (E := E) (M := U) →ₗ[ℂ] Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E U 0 where |
| 72 | toFun := holomorphicManifoldZeroForm |
| 73 | map_add' f g := by |
| 74 | apply Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.ext |
| 75 | intro x |
| 76 | ext v |
| 77 | simp only [holomorphicManifoldZeroForm_apply, Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.add_apply, |
| 78 | ContinuousAlternatingMap.add_apply] |
| 79 | rfl |
| 80 | map_smul' c f := by |
| 81 | apply Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.ext |
| 82 | intro x |
| 83 | ext v |
| 84 | simp only [holomorphicManifoldZeroForm_apply, Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smul_apply, |
| 85 | ContinuousAlternatingMap.smul_apply] |
| 86 | rfl |
| 87 | |
| 88 | theorem holomorphicManifoldZeroFormLinear_injective (U : Opens M) : |
| 89 | Function.Injective (holomorphicManifoldZeroFormLinear (E := E) U) := by |
| 90 | intro f g h |
| 91 | apply ContMDiffMap.ext |
| 92 | intro x |
| 93 | have hv := congrArg (fun a : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E U 0 => a x 0) h |
| 94 | exact (holomorphicManifoldZeroForm_apply f x 0).symm.trans |
| 95 | (hv.trans (holomorphicManifoldZeroForm_apply g x 0)) |
| 96 | |
| 97 | theorem holomorphicManifoldZeroForm_restrict (h : V ≤ U) |
| 98 | (g : Exponential.HolomorphicFunction (E := E) (M := U)) |
| 99 | (g' : Exponential.HolomorphicFunction (E := E) (M := V)) |
| 100 | (hg : ∀ x : V, g' x = g (Opens.inclusion h x)) : |
| 101 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict h (holomorphicManifoldZeroForm g) = |
| 102 | holomorphicManifoldZeroForm g' := by |
| 103 | apply Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.ext |
| 104 | intro x |
| 105 | ext v |
| 106 | change holomorphicManifoldZeroForm g (Opens.inclusion h x) v = holomorphicManifoldZeroForm g' x v |
| 107 | rw [holomorphicManifoldZeroForm_apply, holomorphicManifoldZeroForm_apply, hg] |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.ManifoldZeroForms |