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.AbelianModuli.ReferenceFamily.Intrinsic.CechDifferential |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.FunctionGluing |
| 3 | |
| 4 | /-! # Cech Potential Mem -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily.Holomorphic.CechPotentialMem |
| 11 | |
| 12 | /-! A native holomorphic primitive is a literal family of holomorphic |
| 13 | functions whose pair differences equal the original regular cocycle. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.FunctionGluing |
| 16 | |
| 17 | theorem cechPair_mem {X : Scheme.{0}} {I : Type} (U : I → X.Opens) (i j : I) (x : X) |
| 18 | (hi : x ∈ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i)) |
| 19 | (hj : x ∈ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex j)) : |
| 20 | x ∈ Cech.ExtensionCoordinates.cechIntersection U 1 (Cech.PairCoordinates.cechPairIndex i j) := by |
| 21 | rw [Cech.PairCoordinates.cechIntersection_pair] |
| 22 | exact ⟨(Cech.PairCoordinates.cechIntersection_singleton U i) ▸ hi, (Cech.PairCoordinates.cechIntersection_singleton U j) ▸ hj⟩ |
| 23 | |
| 24 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) {I : Type} (U : I → V.carrier.Opens) |
| 25 | |
| 26 | structure HolomorphicCechPrimitive (z : Γ(Cech.TermModules.cechTermModule V.carrier U 1, ⊤)) where |
| 27 | coefficient (i : I) : DivisorClass.Chern.Holomorphic.Exponential.HolomorphicFunction (E := V.analyticModel) |
| 28 | (M := DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation (Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i))) |
| 29 | difference (i j : I) (x : V.analyticSpace) |
| 30 | (hi : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i)) |
| 31 | (hj : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex j)) : |
| 32 | Intrinsic.CechDifferential.nativeCechValue V U 1 ⊤ z (Cech.PairCoordinates.cechPairIndex i j) x ⟨by trivial, cechPair_mem U i j _ hi hj⟩ = |
| 33 | coefficient j ⟨x, hj⟩ - coefficient i ⟨x, hi⟩ |
| 34 | |
| 35 | namespace HolomorphicCechPrimitive |
| 36 | |
| 37 | variable {V U} {z : Γ(Cech.TermModules.cechTermModule V.carrier U 1, ⊤)} (D : HolomorphicCechPrimitive V U z) |
| 38 | |
| 39 | def localPotential (W : V.carrier.Opens) (a : Γ(Cech.TermModules.cechTermModule V.carrier U 0, W)) |
| 40 | (r : Γ(V.carrier, W)) (i : I) : DivisorClass.Chern.Holomorphic.Exponential.HolomorphicFunction (E := V.analyticModel) |
| 41 | (M := DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation (W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i))) := |
| 42 | Intrinsic.CechDifferential.nativeCechCoefficient V U 0 W a (Cech.PairCoordinates.cechSingletonIndex i) - |
| 43 | DivisorClass.Chern.Holomorphic.RegularEvaluation.regularSectionHolomorphicEvaluation V (W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i)) |
| 44 | (V.carrier.presheaf.map (homOfLE (show W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i) ≤ W from inf_le_left)).op r) * |
| 45 | DivisorClass.Chern.HolomorphicSection.Data.holomorphicOpenRestriction (show DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation |
| 46 | (W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i)) ≤ |
| 47 | DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation (Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i)) from |
| 48 | fun _ hx => hx.2) (D.coefficient i) |
| 49 | |
| 50 | theorem localPotential_value (W : V.carrier.Opens) (a : Γ(Cech.TermModules.cechTermModule V.carrier U 0, W)) |
| 51 | (r : Γ(V.carrier, W)) (i : I) (x : V.analyticSpace) |
| 52 | (hx : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i)) : |
| 53 | D.localPotential W a r i ⟨x, hx⟩ = |
| 54 | Intrinsic.CechDifferential.nativeCechValue V U 0 W a (Cech.PairCoordinates.cechSingletonIndex i) x hx - |
| 55 | RepresentationTheory.Theta.Geometric.Complex.SectionEvaluation.complexSectionValue x.left W hx.1 r * D.coefficient i ⟨x, hx.2⟩ := by |
| 56 | change Intrinsic.CechDifferential.nativeCechCoefficient V U 0 W a (Cech.PairCoordinates.cechSingletonIndex i) ⟨x, hx⟩ - |
| 57 | DivisorClass.Chern.Holomorphic.RegularEvaluation.regularSectionHolomorphicEvaluation V (W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i)) |
| 58 | (V.carrier.presheaf.map (homOfLE (show W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i) ≤ W from inf_le_left)).op r) |
| 59 | ⟨x, hx⟩ * D.coefficient i ⟨x, hx.2⟩ = _ |
| 60 | rw [Intrinsic.CechDifferential.nativeCechCoefficient_value] |
| 61 | congr 2 |
| 62 | exact (Intrinsic.FrameEvaluation.sectionEvaluationOn_native V.presentation (W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i)) _ ⟨x, hx⟩).trans |
| 63 | (RepresentationTheory.Theta.Geometric.Complex.SectionEvaluation.complexSectionValue_restrict x.left W _ inf_le_left hx r) |
| 64 | |
| 65 | end HolomorphicCechPrimitive |
| 66 | |
| 67 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily.Holomorphic.CechPotentialMem |
| 68 | |
| 69 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily.Holomorphic.CechPotentialMem.HolomorphicCechPrimitive |
| 70 | |
| 71 | /-! The literal extension equation and a holomorphic Cech primitive make |
| 72 | the local scalar potentials agree on every native overlap. -/ |
| 73 | |
| 74 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.FunctionGluing |
| 75 | |
| 76 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {I : Type} {U : I → V.carrier.Opens} |
| 77 | {z : Γ(Cech.TermModules.cechTermModule V.carrier U 1, ⊤)} (D : HolomorphicCechPrimitive V U z) |
| 78 | |
| 79 | theorem localPotential_compatible (W : V.carrier.Opens) |
| 80 | (a : Γ(Cech.TermModules.cechTermModule V.carrier U 0, W)) (r : Γ(V.carrier, W)) |
| 81 | (heq : (Cech.ModuleDifferential.cechModuleDifferential V.carrier U 0).app W a = |
| 82 | r • (Cech.TermModules.cechTermModule V.carrier U 1).presheaf.map W.leTop.op z) |
| 83 | (i j : I) (x : V.analyticSpace) |
| 84 | (hi : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i)) |
| 85 | (hj : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex j)) : |
| 86 | D.localPotential W a r i ⟨x, hi⟩ = D.localPotential W a r j ⟨x, hj⟩ := by |
| 87 | rw [D.localPotential_value, D.localPotential_value] |
| 88 | let q := Cech.PairCoordinates.cechPairIndex i j |
| 89 | have hx : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ W ⊓ Cech.ExtensionCoordinates.cechIntersection U 1 q := |
| 90 | ⟨hi.1, cechPair_mem U i j _ hi.2 hj.2⟩ |
| 91 | have h0 := Intrinsic.CechDifferential.nativeCechValue_congr_index V U 0 W a (Cech.PairCoordinates.cechPairIndex_face_zero i j) x |
| 92 | (show ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.ExtensionCoordinates.cechFaceIndex 0 0 q) from |
| 93 | ⟨hx.1, Cech.ExtensionCoordinates.cechIntersection_le_face U 0 0 q hx.2⟩) hj |
| 94 | have h1 := Intrinsic.CechDifferential.nativeCechValue_congr_index V U 0 W a (Cech.PairCoordinates.cechPairIndex_face_one i j) x |
| 95 | (show ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.ExtensionCoordinates.cechFaceIndex 0 1 q) from |
| 96 | ⟨hx.1, Cech.ExtensionCoordinates.cechIntersection_le_face U 0 1 q hx.2⟩) hi |
| 97 | have hd := (Intrinsic.CechDifferential.nativeCechValue_differential_zero V U W a q x hx).trans (congrArg₂ (· - ·) h0 h1) |
| 98 | have hs := (congrArg (fun b : Γ(Cech.TermModules.cechTermModule V.carrier U 1, W) => |
| 99 | Intrinsic.CechDifferential.nativeCechValue V U 1 W b q x hx) heq).trans |
| 100 | ((Intrinsic.CechDifferential.nativeCechValue_smul V U 1 W r _ q x hx).trans |
| 101 | (congrArg (RepresentationTheory.Theta.Geometric.Complex.SectionEvaluation.complexSectionValue x.left W hx.1 r * ·) |
| 102 | (Intrinsic.CechDifferential.nativeCechValue_restrict V U 1 (show W ≤ ⊤ from le_top) z q x hx))) |
| 103 | have h := hd.symm.trans hs |
| 104 | change Intrinsic.CechDifferential.nativeCechValue V U 0 W a (Cech.PairCoordinates.cechSingletonIndex j) x hj - |
| 105 | Intrinsic.CechDifferential.nativeCechValue V U 0 W a (Cech.PairCoordinates.cechSingletonIndex i) x hi = |
| 106 | RepresentationTheory.Theta.Geometric.Complex.SectionEvaluation.complexSectionValue x.left W hi.1 r * |
| 107 | Intrinsic.CechDifferential.nativeCechValue V U 1 ⊤ z (Cech.PairCoordinates.cechPairIndex i j) x ⟨by trivial, cechPair_mem U i j _ hi.2 hj.2⟩ at h |
| 108 | rw [D.difference i j x hi.2 hj.2] at h |
| 109 | linear_combination -h |
| 110 | |
| 111 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily.Holomorphic.CechPotentialMem.HolomorphicCechPrimitive |
| 112 | |
| 113 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily.Holomorphic.CechPotentialMem |
| 114 | |
| 115 | /-! Compatible local Cech potentials glue to an actual holomorphic |
| 116 | function on every prescribed native algebraic open. -/ |
| 117 | |
| 118 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.FunctionGluing |
| 119 | |
| 120 | theorem cechSingleton_cover {X : Scheme.{0}} {I : Type} (U : I → X.Opens) (hU : iSup U = ⊤) |
| 121 | (x : X) : ∃ i, x ∈ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i) := by |
| 122 | have hx : x ∈ iSup U := hU.symm ▸ (show x ∈ (⊤ : X.Opens) from trivial) |
| 123 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp hx |
| 124 | exact ⟨i, (Cech.PairCoordinates.cechIntersection_singleton U i).symm ▸ hi⟩ |
| 125 | |
| 126 | namespace HolomorphicCechPrimitive |
| 127 | |
| 128 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {I : Type} {U : I → V.carrier.Opens} |
| 129 | {z : Γ(Cech.TermModules.cechTermModule V.carrier U 1, ⊤)} (D : HolomorphicCechPrimitive V U z) (hU : iSup U = ⊤) |
| 130 | (W : V.carrier.Opens) (a : Γ(Cech.TermModules.cechTermModule V.carrier U 0, W)) (r : Γ(V.carrier, W)) |
| 131 | (heq : (Cech.ModuleDifferential.cechModuleDifferential V.carrier U 0).app W a = |
| 132 | r • (Cech.TermModules.cechTermModule V.carrier U 1).presheaf.map W.leTop.op z) |
| 133 | |
| 134 | include hU heq |
| 135 | |
| 136 | theorem exists_potential : |
| 137 | ∃ f : DivisorClass.Chern.Holomorphic.Exponential.HolomorphicFunction (E := V.analyticModel) (M := DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W), |
| 138 | ∀ (i : I) (x : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation |
| 139 | (W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i))), |
| 140 | f ⟨x.val, x.property.1⟩ = D.localPotential W a r i x := by |
| 141 | let A (i : I) := DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation |
| 142 | (W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i)) |
| 143 | have hcover : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W ≤ iSup A := by |
| 144 | intro x hx |
| 145 | obtain ⟨i, hi⟩ := cechSingleton_cover U hU (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x) |
| 146 | exact Opens.mem_iSup.mpr ⟨i, hx, hi⟩ |
| 147 | obtain ⟨f, hf⟩ := DivisorClass.Chern.Holomorphic.FunctionGluing.exists_holomorphicFunction_glue A (D.localPotential W a r) |
| 148 | (D.localPotential_compatible W a r heq) |
| 149 | exact ⟨DivisorClass.Chern.HolomorphicSection.Data.holomorphicOpenRestriction hcover f, hf⟩ |
| 150 | |
| 151 | def potential : DivisorClass.Chern.Holomorphic.Exponential.HolomorphicFunction (E := V.analyticModel) (M := DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen V.presentation W) := |
| 152 | Classical.choose (D.exists_potential hU W a r heq) |
| 153 | |
| 154 | theorem potential_value (i : I) (x : V.analyticSpace) |
| 155 | (hx : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ W ⊓ Cech.ExtensionCoordinates.cechIntersection U 0 (Cech.PairCoordinates.cechSingletonIndex i)) : |
| 156 | D.potential hU W a r heq ⟨x, hx.1⟩ = |
| 157 | Intrinsic.CechDifferential.nativeCechValue V U 0 W a (Cech.PairCoordinates.cechSingletonIndex i) x hx - |
| 158 | RepresentationTheory.Theta.Geometric.Complex.SectionEvaluation.complexSectionValue x.left W hx.1 r * D.coefficient i ⟨x, hx.2⟩ := |
| 159 | (Classical.choose_spec (D.exists_potential hU W a r heq) i ⟨x, hx⟩).trans |
| 160 | (D.localPotential_value W a r i x hx) |
| 161 | |
| 162 | end HolomorphicCechPrimitive |
| 163 | |
| 164 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily.Holomorphic.CechPotentialMem |
| 165 | |
| 166 | end |
| 167 | |
| 168 | end OAI |