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.SmoothScalarExterior |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicMetric.Connection |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicLine.AntiForms |
| 4 | |
| 5 | /-! # Covariant Derivative -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual smooth Chern covariant derivative on sections of the original holomorphic line bundle. -/ |
| 12 | |
| 13 | open _root_.TopologicalSpace _root_.CategoryTheory |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 21 | |
| 22 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 23 | [IsScalarTower ℝ ℂ E] [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 24 | {u : Holomorphic.Connecting.holomorphicUnitCohomology E M} (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (U : Opens M) |
| 25 | |
| 26 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.covariantDerivative_compatible (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U 0) : |
| 27 | (fun i => SmoothScalarExterior.openConnectionDerivative (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict inf_le_right (h.localConnection i)) (s.val i)) ∈ |
| 28 | HolomorphicLine.AntiForms.holomorphicLineSmoothFormSubmodule u U 1 := by |
| 29 | intro i j x hx hi hj |
| 30 | obtain ⟨Z, hZ, hxZ, l, hl⟩ := Holomorphic.ExponentialEpi.exists_holomorphicSubopenLog (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i j) ⟨x, hi, hj⟩ |
| 31 | let W := U ⊓ Z |
| 32 | have hWF : W ≤ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i ⊓ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j := |
| 33 | inf_le_right.trans hZ |
| 34 | have hWi : W ≤ U ⊓ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i := fun _ hy => ⟨hy.1, (hZ hy.2).1⟩ |
| 35 | have hWj : W ≤ U ⊓ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j := fun _ hy => ⟨hy.1, (hZ hy.2).2⟩ |
| 36 | let lW : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := W) := |
| 37 | (Holomorphic.Sheaves.holomorphicFunctionSheaf E M).obj.map (homOfLE (show W ≤ Z from inf_le_right)).op l |
| 38 | have hlW (y : W) : (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i j).val ⟨y.val, hWF y.property⟩ = |
| 39 | Complex.exp (lW y) := (hl ⟨y.val, y.property.2⟩).symm |
| 40 | let L := SmoothHolomorphicScalar.holomorphicFunctionAsSmoothOpen lW |
| 41 | have hs : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict hWj (s.val j) = |
| 42 | SmoothScalarForm.smoothScalarOpenFormMul (SmoothScalarExterior.smoothComplexOpenFunctionExp L) (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict hWi (s.val i)) := by |
| 43 | apply Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.ext |
| 44 | intro y |
| 45 | rw [SmoothScalarForm.smoothScalarOpenFormMul_apply] |
| 46 | change s.val j ⟨y.val, y.property.1, (hZ y.property.2).2⟩ = |
| 47 | Complex.exp (lW y) • s.val i ⟨y.val, y.property.1, (hZ y.property.2).1⟩ |
| 48 | rw [← hlW y] |
| 49 | exact s.property i j y.val y.property.1 (hWF y.property).1 (hWF y.property).2 |
| 50 | have hconn := h.localConnection_log_overlap i j W hWF lW hlW |
| 51 | have hd : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict hWj |
| 52 | (SmoothScalarExterior.openConnectionDerivative (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict inf_le_right (h.localConnection j)) (s.val j)) = |
| 53 | SmoothScalarForm.smoothScalarOpenFormMul (SmoothScalarExterior.smoothComplexOpenFunctionExp L) |
| 54 | (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict hWi |
| 55 | (SmoothScalarExterior.openConnectionDerivative (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict inf_le_right (h.localConnection i)) (s.val i))) := by |
| 56 | rw [SmoothScalarExterior.openConnectionDerivative_restrict, SmoothScalarExterior.openConnectionDerivative_restrict, |
| 57 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict_trans, Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict_trans, hs] |
| 58 | exact SmoothScalarExterior.openConnectionDerivative_exp_gauge_form _ _ L _ hconn |
| 59 | have hv := congrArg (fun a : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E W 1 => a ⟨x, hx, hxZ⟩) hd |
| 60 | simpa only [Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict_apply, SmoothScalarForm.smoothScalarOpenFormMul_apply, |
| 61 | show (SmoothScalarExterior.smoothComplexOpenFunctionExp L) ⟨x, hx, hxZ⟩ = |
| 62 | (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i j).val ⟨x, hi, hj⟩ from (hlW ⟨x, hx, hxZ⟩).symm] using hv |
| 63 | |
| 64 | def HolomorphicMetric.Data.HolomorphicLineMetricData.covariantDerivative : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U 0 →ₗ[ℂ] HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U 1 where |
| 65 | toFun s := ⟨fun i => SmoothScalarExterior.openConnectionDerivative |
| 66 | (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict inf_le_right (h.localConnection i)) (s.val i), h.covariantDerivative_compatible U s⟩ |
| 67 | map_add' s t := by |
| 68 | apply Subtype.ext |
| 69 | funext i |
| 70 | exact (SmoothScalarExterior.openConnectionDerivative (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict inf_le_right (h.localConnection i))).map_add (s.val i) (t.val i) |
| 71 | map_smul' z s := by |
| 72 | apply Subtype.ext |
| 73 | funext i |
| 74 | exact (SmoothScalarExterior.openConnectionDerivative (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict inf_le_right (h.localConnection i))).map_smul z (s.val i) |
| 75 | |
| 76 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.covariantDerivative_restrict {W : Opens M} (hWU : W ≤ U) |
| 77 | (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U 0) : |
| 78 | HolomorphicLine.AntiForms.holomorphicLineSmoothFormRestrict hWU (h.covariantDerivative U s) = |
| 79 | h.covariantDerivative W (HolomorphicLine.AntiForms.holomorphicLineSmoothFormRestrict hWU s) := by |
| 80 | apply Subtype.ext |
| 81 | funext i |
| 82 | change Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict (inf_le_inf_right _ hWU) |
| 83 | (SmoothScalarExterior.openConnectionDerivative (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict inf_le_right (h.localConnection i)) (s.val i)) = _ |
| 84 | rw [SmoothScalarExterior.openConnectionDerivative_restrict, Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict_trans] |
| 85 | rfl |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.DivisorClass.Chern |