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.Cech.OneCocycleValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.UnitCechClasses |
| 3 | import Mathlib.AlgebraicGeometry.Restrict |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Cech.Add |
| 5 | |
| 6 | /-! # Closed -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RegularPair.Closed |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Original regular sections on pair intersections define the |
| 15 | native abelian Cech cocycle when they satisfy the triple equation. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | variable (X : Scheme.{0}) |
| 20 | |
| 21 | theorem regularSectionRestrict_comp {U V W : X.Opens} (h : V ≤ U) (j : W ≤ V) (s : Γ(X, U)) : |
| 22 | X.presheaf.map (homOfLE j).op (X.presheaf.map (homOfLE h).op s) = |
| 23 | X.presheaf.map (homOfLE (j.trans h)).op s := by |
| 24 | rw [← CommRingCat.comp_apply, ← CategoryTheory.Functor.map_comp] |
| 25 | rfl |
| 26 | |
| 27 | variable {I : Type} (U : I → X.Opens) (v : ∀ i j : I, Γ(X, U i ⊓ U j)) |
| 28 | |
| 29 | def regularPairCechCochain : DivisorClass.Chern.Abelian.CechCoordinates.AbelianCechCochain (X := X.toPresheafedSpace.carrier) |
| 30 | (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf).obj U 1 := fun a => |
| 31 | X.presheaf.map (homOfLE (le_inf (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 0) (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 1))).op (v (a 0) (a 1)) |
| 32 | |
| 33 | def RegularPairCocycle : Prop := ∀ i j l : I, |
| 34 | X.presheaf.map (homOfLE (show (U i ⊓ U j) ⊓ U l ≤ U i ⊓ U j from inf_le_left)).op (v i j) + |
| 35 | X.presheaf.map (homOfLE (show (U i ⊓ U j) ⊓ U l ≤ U j ⊓ U l from |
| 36 | le_inf (inf_le_left.trans inf_le_right) inf_le_right)).op (v j l) = |
| 37 | X.presheaf.map (homOfLE (show (U i ⊓ U j) ⊓ U l ≤ U i ⊓ U l from |
| 38 | le_inf (inf_le_left.trans inf_le_left) inf_le_right)).op (v i l) |
| 39 | |
| 40 | theorem regularPairCechCochain_closed (hv : RegularPairCocycle X U v) : |
| 41 | DivisorClass.Chern.Abelian.CechCoordinates.abelianCechDelta (X := X.toPresheafedSpace.carrier) (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf).obj U 1 |
| 42 | (regularPairCechCochain X U v) = 0 := by |
| 43 | apply Cech.OneCocycleValues.abelianCech_one_closed_of_transition (X := X.toPresheafedSpace.carrier) |
| 44 | intro a |
| 45 | have hle : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a ≤ (U (a 0) ⊓ U (a 1)) ⊓ U (a 2) := |
| 46 | le_inf (le_inf (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 0) (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 1)) (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 2) |
| 47 | have h := congrArg (fun s => X.presheaf.map (homOfLE hle).op s) (hv (a 0) (a 1) (a 2)) |
| 48 | rw [map_add, regularSectionRestrict_comp, regularSectionRestrict_comp, regularSectionRestrict_comp] at h |
| 49 | change X.presheaf.map _ (X.presheaf.map _ (v (a 1) (a 2))) + |
| 50 | X.presheaf.map _ (X.presheaf.map _ (v (a 0) (a 1))) = |
| 51 | X.presheaf.map _ (X.presheaf.map _ (v (a 0) (a 2))) |
| 52 | exact (congrArg₂ (· + ·) (regularSectionRestrict_comp X _ _ _) (regularSectionRestrict_comp X _ _ _)).trans |
| 53 | ((add_comm _ _).trans (h.trans (regularSectionRestrict_comp X _ _ _).symm)) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | section |
| 58 | |
| 59 | /-! An actual regular pair cocycle defines a native degree-one sheaf |
| 60 | class. A zero class supplies a literal primitive on the original cover. -/ |
| 61 | |
| 62 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 63 | |
| 64 | variable (X : Scheme.{0}) {I : Type} (U : I → X.Opens) (hU : iSup U = ⊤) |
| 65 | (v : ∀ i j : I, Γ(X, U i ⊓ U j)) (hv : RegularPairCocycle X U v) |
| 66 | |
| 67 | def regularPairSheafClass : CategoryTheory.Sheaf.H (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf) 1 := |
| 68 | DivisorClass.Chern.Abelian.CechClasses.abelianCechSheafClass U (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf) hU 0 (regularPairCechCochain X U v) |
| 69 | (regularPairCechCochain_closed X U v hv) |
| 70 | |
| 71 | theorem regularPairSheafClass_zero_boundary |
| 72 | (hz : regularPairSheafClass X U hU v hv = |
| 73 | (0 : (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X.toPresheafedSpace.carrier) 1).obj |
| 74 | (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf))) : |
| 75 | ∃ c : DivisorClass.Chern.Abelian.CechCoordinates.AbelianCechCochain (X := X.toPresheafedSpace.carrier) (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf).obj U 0, |
| 76 | DivisorClass.Chern.Abelian.CechCoordinates.abelianCechDelta (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf).obj U 0 c = regularPairCechCochain X U v := |
| 77 | Cech.Add.cech_one_boundary_of_sheaf_class_zero U (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf) hU |
| 78 | (regularPairCechCochain X U v) (regularPairCechCochain_closed X U v hv) hz |
| 79 | |
| 80 | end |
| 81 | |
| 82 | /-! A native Cech boundary for regular pair sections gives actual |
| 83 | regular primitives on the original opens, with the transition sign. -/ |
| 84 | |
| 85 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 86 | |
| 87 | variable (X : Scheme.{0}) {I : Type} (U : I → X.Opens) (v : ∀ i j : I, Γ(X, U i ⊓ U j)) |
| 88 | |
| 89 | def RegularPairPrimitive (s : ∀ i : I, Γ(X, U i)) : Prop := ∀ i j : I, |
| 90 | v i j = X.presheaf.map (homOfLE (show U i ⊓ U j ≤ U i from inf_le_left)).op (s i) - |
| 91 | X.presheaf.map (homOfLE (show U i ⊓ U j ≤ U j from inf_le_right)).op (s j) |
| 92 | |
| 93 | theorem regularPairPrimitive_of_cech_boundary |
| 94 | (c : DivisorClass.Chern.Abelian.CechCoordinates.AbelianCechCochain (X := X.toPresheafedSpace.carrier) (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf).obj U 0) |
| 95 | (hc : DivisorClass.Chern.Abelian.CechCoordinates.abelianCechDelta (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf).obj U 0 c = regularPairCechCochain X U v) : |
| 96 | ∃ s : ∀ i : I, Γ(X, U i), RegularPairPrimitive X U v s := by |
| 97 | obtain ⟨s, hs⟩ := Cech.Add.cech_zero_eq_localSections U (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf) c |
| 98 | let r : ∀ i : I, Γ(X, U i) := fun i => s i |
| 99 | refine ⟨fun i => -r i, fun i j => ?_⟩ |
| 100 | let a : Fin 2 → I := Fin.cases i (fun _ => j) |
| 101 | have h0 : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a ≤ U i := AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 0 |
| 102 | have h1 : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a ≤ U j := AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 1 |
| 103 | have hp : U i ⊓ U j ≤ AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a := by |
| 104 | intro x hx |
| 105 | apply (AlgebraicTopology.DeRham.Comparison.SmoothCech.mem_cechIntersection U a x).mpr |
| 106 | intro t |
| 107 | exact Fin.cases hx.1 (fun _ => hx.2) t |
| 108 | have hd : X.presheaf.map (homOfLE h1).op (r j) - X.presheaf.map (homOfLE h0).op (r i) = |
| 109 | X.presheaf.map (homOfLE (le_inf h0 h1)).op (v i j) := by |
| 110 | have h := congrFun hc a |
| 111 | rw [← hs, DivisorClass.Chern.Cech.LocalSections.abelianCechLocalSections_delta] at h |
| 112 | exact h |
| 113 | have h := congrArg (fun w => X.presheaf.map (homOfLE hp).op w) hd |
| 114 | rw [map_sub, regularSectionRestrict_comp, regularSectionRestrict_comp, regularSectionRestrict_comp] at h |
| 115 | have hr : X.presheaf.map (homOfLE (hp.trans (le_inf h0 h1))).op (v i j) = v i j := by |
| 116 | change X.presheaf.map (𝟙 (.op (U i ⊓ U j))) (v i j) = v i j |
| 117 | exact X.presheaf.map_id_apply _ _ |
| 118 | rw [hr] at h |
| 119 | change v i j = X.presheaf.map (homOfLE inf_le_left).op (-r i) - |
| 120 | X.presheaf.map (homOfLE inf_le_right).op (-r j) |
| 121 | rw [map_neg, map_neg] |
| 122 | exact h.symm.trans (by abel) |
| 123 | |
| 124 | theorem regularPairPrimitive_of_sheafClass_zero (hU : iSup U = ⊤) (hv : RegularPairCocycle X U v) |
| 125 | (hz : regularPairSheafClass X U hU v hv = |
| 126 | (0 : (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X.toPresheafedSpace.carrier) 1).obj |
| 127 | (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf))) : |
| 128 | ∃ s : ∀ i : I, Γ(X, U i), RegularPairPrimitive X U v s := by |
| 129 | obtain ⟨c, hc⟩ := regularPairSheafClass_zero_boundary X U hU v hv hz |
| 130 | exact regularPairPrimitive_of_cech_boundary X U v c hc |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RegularPair.Closed |