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.HolomorphicMetric.Multiplication |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.DegreeAdjointIntegral |
| 3 | |
| 4 | /-! # Variable Metric Adjoint -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual smooth Dolbeault codifferential and integration by parts for every constructed metric. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace |
| 13 | open scoped _root_.Manifold ContDiff ComplexConjugate |
| 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 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 20 | {u : Holomorphic.Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace} |
| 21 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (q : ℕ) |
| 22 | |
| 23 | def HolomorphicMetric.Data.HolomorphicLineMetricData.degreeCodifferential : |
| 24 | HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ (q + 1) →ₗ[ℂ] HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ q := |
| 25 | ((HolomorphicMetric.Data.holomorphicLineCanonicalMetric u).ratioFormMul V h q).comp |
| 26 | ((Holomorphic.DegreeCodifferential.holomorphicLineDegreeCodifferential V u q).comp |
| 27 | (h.ratioFormMul V (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u) (q + 1))) |
| 28 | |
| 29 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.degreeCodifferential_apply |
| 30 | (b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ (q + 1)) : |
| 31 | h.degreeCodifferential V q b = |
| 32 | (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u).ratioFormMul V h q |
| 33 | (Holomorphic.DegreeCodifferential.holomorphicLineDegreeCodifferential V u q |
| 34 | (h.ratioFormMul V (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u) (q + 1) b)) := rfl |
| 35 | |
| 36 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.degreeCodifferential_pair |
| 37 | (a : HolomorphicLine.AntiForms.HolomorphicLineAntiForm u ⊤ q) (b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ (q + 1)) : |
| 38 | h.formIntegralPair V (q + 1) b (HolomorphicLine.Dolbeault.holomorphicLineDolbeault u ⊤ q a).val = |
| 39 | h.formIntegralPair V q (h.degreeCodifferential V q b) a.val := by |
| 40 | let k := HolomorphicMetric.Data.holomorphicLineCanonicalMetric u |
| 41 | let rb := h.ratioFormMul V k (q + 1) b |
| 42 | calc |
| 43 | _ = k.formIntegralPair V (q + 1) rb (HolomorphicLine.Dolbeault.holomorphicLineDolbeault u ⊤ q a).val := |
| 44 | h.formIntegralPair_change_left V k (q + 1) b (HolomorphicLine.Dolbeault.holomorphicLineDolbeault u ⊤ q a).val |
| 45 | _ = Holomorphic.FormIntegralPair.holomorphicLineFormIntegralPair V u (q + 1) rb (HolomorphicLine.Dolbeault.holomorphicLineDolbeault u ⊤ q a).val := |
| 46 | Holomorphic.VariableMetricIntegral.holomorphicLineCanonicalMetric_formIntegralPair V (q + 1) rb (HolomorphicLine.Dolbeault.holomorphicLineDolbeault u ⊤ q a).val |
| 47 | _ = Holomorphic.FormIntegralPair.holomorphicLineFormIntegralPair V u q (Holomorphic.DegreeCodifferential.holomorphicLineDegreeCodifferential V u q rb) a.val := |
| 48 | Holomorphic.DegreeAdjointIntegral.holomorphicLineDegreeCodifferential_pair V u q a rb |
| 49 | _ = k.formIntegralPair V q (Holomorphic.DegreeCodifferential.holomorphicLineDegreeCodifferential V u q rb) a.val := |
| 50 | (Holomorphic.VariableMetricIntegral.holomorphicLineCanonicalMetric_formIntegralPair V q (Holomorphic.DegreeCodifferential.holomorphicLineDegreeCodifferential V u q rb) a.val).symm |
| 51 | _ = h.formIntegralPair V q (h.degreeCodifferential V q b) a.val := by |
| 52 | rw [h.formIntegralPair_change_left V k q, h.degreeCodifferential_apply] |
| 53 | rw [h.ratioFormMul_cancel] |
| 54 | |
| 55 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.degreeCodifferential_pair_right |
| 56 | (a : HolomorphicLine.AntiForms.HolomorphicLineAntiForm u ⊤ q) (b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ (q + 1)) : |
| 57 | h.formIntegralPair V (q + 1) (HolomorphicLine.Dolbeault.holomorphicLineDolbeault u ⊤ q a).val b = |
| 58 | h.formIntegralPair V q a.val (h.degreeCodifferential V q b) := by |
| 59 | have hp := congrArg (starRingEnd ℂ) (h.degreeCodifferential_pair V q a b) |
| 60 | rw [h.formIntegralPair_conj, h.formIntegralPair_conj] at hp |
| 61 | exact hp |
| 62 | |
| 63 | theorem Holomorphic.VariableMetricAdjoint.holomorphicLineCanonicalMetric_degreeCodifferential |
| 64 | (b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ (q + 1)) : |
| 65 | (HolomorphicMetric.Data.holomorphicLineCanonicalMetric u).degreeCodifferential V q b = |
| 66 | Holomorphic.DegreeCodifferential.holomorphicLineDegreeCodifferential V u q b := by |
| 67 | rw [HolomorphicMetric.Data.HolomorphicLineMetricData.degreeCodifferential_apply, |
| 68 | HolomorphicMetric.Data.HolomorphicLineMetricData.ratioFormMul_self, HolomorphicMetric.Data.HolomorphicLineMetricData.ratioFormMul_self] |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.DivisorClass.Chern |