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.ClosedDolbeault |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.VariableMetricAdjoint |
| 3 | import Mathlib.Analysis.InnerProductSpace.LinearPMap |
| 4 | |
| 5 | /-! # Hilbert Adjoint -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicMetric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native Hilbert adjoint for any actual metric agrees with its constructed smooth codifferential. -/ |
| 12 | |
| 13 | open _root_.TopologicalSpace Set |
| 14 | open scoped _root_.Manifold |
| 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 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 21 | {u : Holomorphic.Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace} |
| 22 | (h : Data.HolomorphicLineMetricData u) |
| 23 | |
| 24 | theorem Data.HolomorphicLineMetricData.dolbeaultGraphMap_pair (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) |
| 25 | (b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 1) : |
| 26 | inner ℂ (h.dolbeaultGraphMap V a).2 (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 1 b) = |
| 27 | inner ℂ (h.dolbeaultGraphMap V a).1 |
| 28 | (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 0 (h.degreeCodifferential V 0 b)) := by |
| 29 | change inner ℂ (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 1 (HolomorphicLine.DolbeaultZero.holomorphicLineDolbeaultZero u ⊤ a)) _ = |
| 30 | inner ℂ (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 0 a) _ |
| 31 | rw [Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion_inner, Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion_inner] |
| 32 | exact h.degreeCodifferential_pair_right V 0 (HolomorphicLine.AntiForms.holomorphicLineAntiZeroEquiv u ⊤ a) b |
| 33 | |
| 34 | theorem Data.HolomorphicLineMetricData.closedDolbeault_graph_pair |
| 35 | (z : Holomorphic.IntegralPairZero.HolomorphicFormL2With V h 0 × Holomorphic.IntegralPairZero.HolomorphicFormL2With V h 1) |
| 36 | (hz : z ∈ (h.closedDolbeault V).graph) (b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 1) : |
| 37 | inner ℂ z.2 (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 1 b) = |
| 38 | inner ℂ z.1 (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 0 (h.degreeCodifferential V 0 b)) := by |
| 39 | rw [h.closedDolbeault_graph_closure] at hz |
| 40 | let S : Set (Holomorphic.IntegralPairZero.HolomorphicFormL2With V h 0 × Holomorphic.IntegralPairZero.HolomorphicFormL2With V h 1) := |
| 41 | {w | inner ℂ w.2 (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 1 b) = |
| 42 | inner ℂ w.1 (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 0 (h.degreeCodifferential V 0 b))} |
| 43 | have hS : IsClosed S := isClosed_eq (continuous_snd.inner continuous_const) |
| 44 | (continuous_fst.inner continuous_const) |
| 45 | have hs : Set.range (h.dolbeaultGraphMap V) ⊆ S := by |
| 46 | rintro _ ⟨a, rfl⟩ |
| 47 | exact h.dolbeaultGraphMap_pair V a b |
| 48 | exact closure_minimal hs hS hz |
| 49 | |
| 50 | theorem Data.HolomorphicLineMetricData.closedDolbeault_domain_pair |
| 51 | (x : (h.closedDolbeault V).domain) (b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 1) : |
| 52 | inner ℂ (h.closedDolbeault V x) (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 1 b) = |
| 53 | inner ℂ x.val (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 0 (h.degreeCodifferential V 0 b)) := |
| 54 | h.closedDolbeault_graph_pair V (x.val, h.closedDolbeault V x) ((h.closedDolbeault V).mem_graph x) b |
| 55 | |
| 56 | theorem Data.HolomorphicLineMetricData.closedDolbeault_domain_pair_left |
| 57 | (b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 1) (x : (h.closedDolbeault V).domain) : |
| 58 | inner ℂ (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 0 (h.degreeCodifferential V 0 b)) x.val = |
| 59 | inner ℂ (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 1 b) (h.closedDolbeault V x) := by |
| 60 | have hp := congrArg (starRingEnd ℂ) (h.closedDolbeault_domain_pair V x b) |
| 61 | exact (inner_conj_symm (𝕜 := ℂ) |
| 62 | (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 0 (h.degreeCodifferential V 0 b)) x.val).symm.trans |
| 63 | (hp.symm.trans (inner_conj_symm (𝕜 := ℂ) |
| 64 | (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 1 b) (h.closedDolbeault V x))) |
| 65 | |
| 66 | def Data.HolomorphicLineMetricData.dolbeaultHilbertAdjoint : |
| 67 | Holomorphic.IntegralPairZero.HolomorphicFormL2With V h 1 →ₗ.[ℂ] Holomorphic.IntegralPairZero.HolomorphicFormL2With V h 0 := (h.closedDolbeault V).adjoint |
| 68 | |
| 69 | theorem Data.HolomorphicLineMetricData.dolbeaultHilbertAdjoint_isClosed : |
| 70 | (h.dolbeaultHilbertAdjoint V).IsClosed := |
| 71 | LinearPMap.adjoint_isClosed (h.closedDolbeault_domain_dense V) |
| 72 | |
| 73 | theorem Data.HolomorphicLineMetricData.dolbeaultHilbertAdjoint_smooth_mem |
| 74 | (b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 1) : |
| 75 | Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 1 b ∈ (h.dolbeaultHilbertAdjoint V).domain := |
| 76 | LinearPMap.mem_adjoint_domain_of_exists _ |
| 77 | ⟨Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 0 (h.degreeCodifferential V 0 b), |
| 78 | h.closedDolbeault_domain_pair_left V b⟩ |
| 79 | |
| 80 | def Data.HolomorphicLineMetricData.dolbeaultHilbertAdjointSmoothInclusion : |
| 81 | HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 1 →ₗ[ℂ] (h.dolbeaultHilbertAdjoint V).domain := |
| 82 | (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 1).codRestrict _ (h.dolbeaultHilbertAdjoint_smooth_mem V) |
| 83 | |
| 84 | theorem Data.HolomorphicLineMetricData.dolbeaultHilbertAdjoint_smooth_apply |
| 85 | (b : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 1) : |
| 86 | h.dolbeaultHilbertAdjoint V (h.dolbeaultHilbertAdjointSmoothInclusion V b) = |
| 87 | Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion V h 0 (h.degreeCodifferential V 0 b) := |
| 88 | LinearPMap.adjoint_apply_eq (h.closedDolbeault_domain_dense V) _ |
| 89 | (h.closedDolbeault_domain_pair_left V b) |
| 90 | |
| 91 | theorem Data.HolomorphicLineMetricData.dolbeaultHilbertAdjoint_domain_dense : |
| 92 | Dense ((h.dolbeaultHilbertAdjoint V).domain : Set (Holomorphic.IntegralPairZero.HolomorphicFormL2With V h 1)) := by |
| 93 | apply (Holomorphic.IntegralPairZero.holomorphicFormL2WithInclusion_dense V h 1).mono |
| 94 | rintro _ ⟨b, rfl⟩ |
| 95 | exact h.dolbeaultHilbertAdjoint_smooth_mem V b |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicMetric |