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.HolomorphicLine.Bundle |
| 2 | |
| 3 | /-! # Data -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicSection.Data |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Actual holomorphic section coordinates of the constructed line bundle. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 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 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 21 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 22 | |
| 23 | abbrev holomorphicLineLocalSections (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) (U : Opens M) := |
| 24 | ∀ i : M, Holomorphic.Exponential.HolomorphicFunction (E := E) (M := ↥(U ⊓ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i)) |
| 25 | |
| 26 | def holomorphicLineSectionSubmodule (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) (U : Opens M) : |
| 27 | Submodule ℂ (holomorphicLineLocalSections u U) where |
| 28 | carrier := {s | ∀ (i j x : M) (hx : x ∈ U) |
| 29 | (hi : x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) (hj : x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j), |
| 30 | s j ⟨x, hx, hj⟩ = (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i j).val ⟨x, hi, hj⟩ * s i ⟨x, hx, hi⟩} |
| 31 | zero_mem' := by |
| 32 | intro i j x hx hi hj |
| 33 | exact (mul_zero _).symm |
| 34 | add_mem' := by |
| 35 | intro s t hs ht i j x hx hi hj |
| 36 | change s j ⟨x, hx, hj⟩ + t j ⟨x, hx, hj⟩ = _ * (s i ⟨x, hx, hi⟩ + t i ⟨x, hx, hi⟩) |
| 37 | rw [hs i j x hx hi hj, ht i j x hx hi hj, mul_add] |
| 38 | smul_mem' := by |
| 39 | intro z s hs i j x hx hi hj |
| 40 | change z * s j ⟨x, hx, hj⟩ = _ * (z * s i ⟨x, hx, hi⟩) |
| 41 | rw [hs i j x hx hi hj] |
| 42 | ring |
| 43 | |
| 44 | abbrev HolomorphicLineSection (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) (U : Opens M) := |
| 45 | holomorphicLineSectionSubmodule u U |
| 46 | |
| 47 | instance holomorphicLineSection_addCommGroup (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) (U : Opens M) : |
| 48 | AddCommGroup (HolomorphicLineSection u U) := Module.addCommMonoidToAddCommGroup ℂ |
| 49 | |
| 50 | @[ext] |
| 51 | theorem holomorphicLineSection_ext {u : Holomorphic.Connecting.holomorphicUnitCohomology E M} {U : Opens M} |
| 52 | {s t : HolomorphicLineSection u U} |
| 53 | (h : ∀ (i : M) (x : ↥(U ⊓ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i)), s.val i x = t.val i x) : s = t := by |
| 54 | apply Subtype.ext |
| 55 | funext i |
| 56 | exact ContMDiffMap.ext (h i) |
| 57 | |
| 58 | def holomorphicLineSectionRestrict {u : Holomorphic.Connecting.holomorphicUnitCohomology E M} {U V : Opens M} (h : V ≤ U) : |
| 59 | HolomorphicLineSection u U →ₗ[ℂ] HolomorphicLineSection u V where |
| 60 | toFun s := ⟨fun i => (Holomorphic.Sheaves.holomorphicFunctionSheaf E M).obj.map |
| 61 | (homOfLE (inf_le_inf_right (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) h)).op (s.val i), by |
| 62 | intro i j x hx hi hj |
| 63 | exact s.property i j x (h hx) hi hj⟩ |
| 64 | map_add' s t := by |
| 65 | apply holomorphicLineSection_ext |
| 66 | intro i x |
| 67 | rfl |
| 68 | map_smul' z s := by |
| 69 | apply holomorphicLineSection_ext |
| 70 | intro i x |
| 71 | rfl |
| 72 | |
| 73 | theorem holomorphicLineSectionRestrict_self {u : Holomorphic.Connecting.holomorphicUnitCohomology E M} {U : Opens M} |
| 74 | (s : HolomorphicLineSection u U) : holomorphicLineSectionRestrict le_rfl s = s := by |
| 75 | apply holomorphicLineSection_ext |
| 76 | intro i x |
| 77 | rfl |
| 78 | |
| 79 | theorem holomorphicLineSectionRestrict_comp {u : Holomorphic.Connecting.holomorphicUnitCohomology E M} {U V W : Opens M} |
| 80 | (hVU : V ≤ U) (hWV : W ≤ V) (s : HolomorphicLineSection u U) : |
| 81 | holomorphicLineSectionRestrict hWV (holomorphicLineSectionRestrict hVU s) = |
| 82 | holomorphicLineSectionRestrict (hWV.trans hVU) s := by |
| 83 | apply holomorphicLineSection_ext |
| 84 | intro i x |
| 85 | rfl |
| 86 | |
| 87 | end |
| 88 | |
| 89 | /-! Genuine holomorphic frame isomorphisms for the constructed line-bundle section coordinates. -/ |
| 90 | |
| 91 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 92 | open scoped _root_.Manifold ContDiff |
| 93 | |
| 94 | set_option backward.isDefEq.respectTransparency false |
| 95 | set_option backward.isDefEq.respectTransparency.types false |
| 96 | set_option backward.defeqAttrib.useBackward true |
| 97 | |
| 98 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 99 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 100 | |
| 101 | def holomorphicOpenRestriction {U V : Opens M} (h : V ≤ U) : |
| 102 | Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U) →+* Holomorphic.Exponential.HolomorphicFunction (E := E) (M := V) := |
| 103 | ((Holomorphic.Sheaves.holomorphicRingSheaf E M).obj.map (homOfLE h).op).hom |
| 104 | |
| 105 | variable (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) {U : Opens M} (i : M) |
| 106 | (hU : U ≤ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) |
| 107 | |
| 108 | def holomorphicLineSectionOfFrame (f : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) : HolomorphicLineSection u U := |
| 109 | ⟨fun j => holomorphicOpenRestriction (inf_le_inf_right (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j) hU) |
| 110 | (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i j).val * holomorphicOpenRestriction inf_le_left f, by |
| 111 | intro j k x hx hj hk |
| 112 | change (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i k).val ⟨x, hU hx, hk⟩ * f ⟨x, hx⟩ = |
| 113 | (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u j k).val ⟨x, hj, hk⟩ * |
| 114 | ((Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i j).val ⟨x, hU hx, hj⟩ * f ⟨x, hx⟩) |
| 115 | rw [← Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition_cocycle E M u i j k x (hU hx) hj hk] |
| 116 | ring⟩ |
| 117 | |
| 118 | def holomorphicLineSectionFrameValue (s : HolomorphicLineSection u U) : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U) := |
| 119 | holomorphicOpenRestriction (le_inf le_rfl hU) (s.val i) |
| 120 | |
| 121 | theorem holomorphicLineSectionFrameValue_ofFrame (f : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U)) : |
| 122 | holomorphicLineSectionFrameValue u i hU (holomorphicLineSectionOfFrame u i hU f) = f := by |
| 123 | apply ContMDiffMap.ext |
| 124 | intro x |
| 125 | change (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i i).val ⟨x.val, hU x.property, hU x.property⟩ * f x = f x |
| 126 | rw [Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition_self E M u i x.val (hU x.property), one_mul] |
| 127 | |
| 128 | theorem holomorphicLineSectionOfFrame_frameValue (s : HolomorphicLineSection u U) : |
| 129 | holomorphicLineSectionOfFrame u i hU (holomorphicLineSectionFrameValue u i hU s) = s := by |
| 130 | apply holomorphicLineSection_ext |
| 131 | intro j x |
| 132 | exact (s.property i j x.val x.property.1 (hU x.property.1) x.property.2).symm |
| 133 | |
| 134 | def holomorphicLineSectionFrameEquiv : |
| 135 | HolomorphicLineSection u U ≃ₗ[ℂ] Holomorphic.Exponential.HolomorphicFunction (E := E) (M := U) where |
| 136 | toFun := holomorphicLineSectionFrameValue u i hU |
| 137 | invFun := holomorphicLineSectionOfFrame u i hU |
| 138 | left_inv := holomorphicLineSectionOfFrame_frameValue u i hU |
| 139 | right_inv := holomorphicLineSectionFrameValue_ofFrame u i hU |
| 140 | map_add' _ _ := rfl |
| 141 | map_smul' _ _ := rfl |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicSection.Data |