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.FormCompletion |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicLine.DolbeaultZero |
| 3 | import Mathlib.Topology.Algebra.Module.ContinuousLinearMap.PiProd |
| 4 | |
| 5 | /-! # Dolbeault Graph -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.DolbeaultGraph |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The closed relation obtained from the actual smooth Dolbeault graph. |
| 12 | Its first projection has dense range. Single-valuedness requires a separate |
| 13 | closability argument and is not part of this construction. -/ |
| 14 | |
| 15 | open _root_.TopologicalSpace |
| 16 | open scoped _root_.Manifold |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | |
| 22 | attribute [local instance] NormedSpace.complexToReal |
| 23 | |
| 24 | theorem linearGraphClosure_approximation {A F G : Type*} [AddCommMonoid A] [Module ℂ A] |
| 25 | [NormedAddCommGroup F] [NormedSpace ℂ F] [NormedAddCommGroup G] [NormedSpace ℂ G] |
| 26 | (f : A →ₗ[ℂ] F) (g : A →ₗ[ℂ] G) |
| 27 | (z : (LinearMap.range (f.prod g)).topologicalClosure) (ε : ℝ) (hε : 0 < ε) : |
| 28 | ∃ a : A, dist z.val.1 (f a) < ε ∧ dist z.val.2 (g a) < ε := by |
| 29 | have hz : z.val ∈ closure (Set.range (f.prod g)) := z.property |
| 30 | obtain ⟨p, ⟨a, rfl⟩, ha⟩ := Metric.mem_closure_iff.mp hz ε hε |
| 31 | exact ⟨a, max_lt_iff.mp ha⟩ |
| 32 | |
| 33 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 34 | (u : Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace) |
| 35 | |
| 36 | def holomorphicDolbeaultGraphMap : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0 →ₗ[ℂ] |
| 37 | FormCompletion.HolomorphicFormL2 V u 0 × FormCompletion.HolomorphicFormL2 V u 1 := |
| 38 | (FormCompletion.holomorphicFormL2Inclusion V u 0).prod |
| 39 | ((FormCompletion.holomorphicFormL2Inclusion V u 1).comp (HolomorphicLine.DolbeaultZero.holomorphicLineDolbeaultZero u ⊤)) |
| 40 | |
| 41 | theorem holomorphicDolbeaultGraphMap_apply (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) : |
| 42 | holomorphicDolbeaultGraphMap V u s = (FormCompletion.holomorphicFormL2Inclusion V u 0 s, |
| 43 | FormCompletion.holomorphicFormL2Inclusion V u 1 (HolomorphicLine.DolbeaultZero.holomorphicLineDolbeaultZero u ⊤ s)) := rfl |
| 44 | |
| 45 | theorem holomorphicDolbeaultGraphMap_injective : |
| 46 | Function.Injective (holomorphicDolbeaultGraphMap V u) := by |
| 47 | intro a b h |
| 48 | exact FormCompletion.holomorphicFormL2Inclusion_injective V u 0 (congrArg Prod.fst h) |
| 49 | |
| 50 | def holomorphicDolbeaultGraphClosure : |
| 51 | Submodule ℂ (FormCompletion.HolomorphicFormL2 V u 0 × FormCompletion.HolomorphicFormL2 V u 1) := |
| 52 | (LinearMap.range (holomorphicDolbeaultGraphMap V u)).topologicalClosure |
| 53 | |
| 54 | abbrev HolomorphicDolbeaultGraph := holomorphicDolbeaultGraphClosure V u |
| 55 | |
| 56 | theorem holomorphicDolbeaultGraphClosure_isClosed : |
| 57 | IsClosed (holomorphicDolbeaultGraphClosure V u : |
| 58 | Set (FormCompletion.HolomorphicFormL2 V u 0 × FormCompletion.HolomorphicFormL2 V u 1)) := |
| 59 | Submodule.isClosed_topologicalClosure _ |
| 60 | |
| 61 | instance holomorphicDolbeaultGraph_completeSpace : |
| 62 | CompleteSpace (HolomorphicDolbeaultGraph V u) := |
| 63 | inferInstanceAs (CompleteSpace (LinearMap.range (holomorphicDolbeaultGraphMap V u)).topologicalClosure) |
| 64 | |
| 65 | def holomorphicDolbeaultGraphInclusion : |
| 66 | HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0 →ₗ[ℂ] HolomorphicDolbeaultGraph V u := |
| 67 | (holomorphicDolbeaultGraphMap V u).codRestrict _ fun s => |
| 68 | (LinearMap.range (holomorphicDolbeaultGraphMap V u)).le_topologicalClosure ⟨s, rfl⟩ |
| 69 | |
| 70 | def holomorphicDolbeaultGraphSource : |
| 71 | HolomorphicDolbeaultGraph V u →L[ℂ] FormCompletion.HolomorphicFormL2 V u 0 := |
| 72 | (ContinuousLinearMap.fst ℂ _ _).comp (holomorphicDolbeaultGraphClosure V u).subtypeL |
| 73 | |
| 74 | def holomorphicDolbeaultGraphValue : |
| 75 | HolomorphicDolbeaultGraph V u →L[ℂ] FormCompletion.HolomorphicFormL2 V u 1 := |
| 76 | (ContinuousLinearMap.snd ℂ _ _).comp (holomorphicDolbeaultGraphClosure V u).subtypeL |
| 77 | |
| 78 | theorem holomorphicDolbeaultGraphSource_apply (z : HolomorphicDolbeaultGraph V u) : |
| 79 | holomorphicDolbeaultGraphSource V u z = z.val.1 := rfl |
| 80 | |
| 81 | theorem holomorphicDolbeaultGraphValue_apply (z : HolomorphicDolbeaultGraph V u) : |
| 82 | holomorphicDolbeaultGraphValue V u z = z.val.2 := rfl |
| 83 | |
| 84 | theorem holomorphicDolbeaultGraphSource_inclusion (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) : |
| 85 | holomorphicDolbeaultGraphSource V u (holomorphicDolbeaultGraphInclusion V u s) = |
| 86 | FormCompletion.holomorphicFormL2Inclusion V u 0 s := rfl |
| 87 | |
| 88 | theorem holomorphicDolbeaultGraphValue_inclusion (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0) : |
| 89 | holomorphicDolbeaultGraphValue V u (holomorphicDolbeaultGraphInclusion V u s) = |
| 90 | FormCompletion.holomorphicFormL2Inclusion V u 1 (HolomorphicLine.DolbeaultZero.holomorphicLineDolbeaultZero u ⊤ s) := rfl |
| 91 | |
| 92 | theorem holomorphicDolbeaultGraphSource_dense : DenseRange (holomorphicDolbeaultGraphSource V u) := by |
| 93 | apply (FormCompletion.holomorphicFormL2Inclusion_dense V u 0).mono |
| 94 | rintro _ ⟨s, rfl⟩ |
| 95 | exact ⟨holomorphicDolbeaultGraphInclusion V u s, rfl⟩ |
| 96 | |
| 97 | theorem holomorphicDolbeaultGraph_approximation (z : HolomorphicDolbeaultGraph V u) |
| 98 | (ε : ℝ) (hε : 0 < ε) : |
| 99 | ∃ s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ 0, |
| 100 | dist (holomorphicDolbeaultGraphSource V u z) (FormCompletion.holomorphicFormL2Inclusion V u 0 s) < ε ∧ |
| 101 | dist (holomorphicDolbeaultGraphValue V u z) |
| 102 | (FormCompletion.holomorphicFormL2Inclusion V u 1 (HolomorphicLine.DolbeaultZero.holomorphicLineDolbeaultZero u ⊤ s)) < ε := by |
| 103 | exact linearGraphClosure_approximation (FormCompletion.holomorphicFormL2Inclusion V u 0) |
| 104 | ((FormCompletion.holomorphicFormL2Inclusion V u 1).comp (HolomorphicLine.DolbeaultZero.holomorphicLineDolbeaultZero u ⊤)) z ε hε |
| 105 | |
| 106 | theorem holomorphicDolbeaultGraph_of_holomorphic (s : HolomorphicSection.Data.HolomorphicLineSection u ⊤) : |
| 107 | holomorphicDolbeaultGraphValue V u (holomorphicDolbeaultGraphInclusion V u |
| 108 | (HolomorphicLine.AntiForms.holomorphicLineSectionSmoothZeroForm u ⊤ s)) = 0 := by |
| 109 | rw [holomorphicDolbeaultGraphValue_inclusion, HolomorphicLine.DolbeaultZero.holomorphicLineDolbeaultZero_of_holomorphic, |
| 110 | map_zero] |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.DolbeaultGraph |