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.RegularPair.ClassAddition |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RegularPair.ClassZeroCriterion |
| 3 | |
| 4 | /-! # Class Difference -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RegularPair.ClassDifference |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Original regular pair cocycles with a literal local defect |
| 11 | coboundary define the same native degree-one sheaf class. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | variable (X : Scheme.{0}) {I : Type} (U : I → X.Opens) |
| 16 | (v w : ∀ i j : I, Γ(X, U i ⊓ U j)) |
| 17 | |
| 18 | theorem regularPairCocycle_sub (hv : Closed.RegularPairCocycle X U v) (hw : Closed.RegularPairCocycle X U w) : |
| 19 | Closed.RegularPairCocycle X U (fun i j => v i j - w i j) := by |
| 20 | intro i j l |
| 21 | simp only [map_sub] |
| 22 | have H := congrArg₂ (· - ·) (hv i j l) (hw i j l) |
| 23 | convert H using 1 |
| 24 | abel |
| 25 | |
| 26 | theorem regularPairCechCochain_sub : |
| 27 | Closed.regularPairCechCochain X U (fun i j => v i j - w i j) = |
| 28 | Closed.regularPairCechCochain X U v - Closed.regularPairCechCochain X U w := by |
| 29 | funext a |
| 30 | exact map_sub (X.presheaf.map (homOfLE |
| 31 | (le_inf (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 0) |
| 32 | (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 1))).op).hom _ _ |
| 33 | |
| 34 | local instance regularPairClassDifference_group : AddCommGroup (CategoryTheory.Sheaf.H (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf) 1) := |
| 35 | inferInstanceAs (AddCommGroup ((CategoryTheory.Sheaf.functorH |
| 36 | (Opens.grothendieckTopology X.toPresheafedSpace.carrier) 1).obj (Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf))) |
| 37 | |
| 38 | theorem regularPairSheafClass_sub (hU : iSup U = ⊤) |
| 39 | (hv : Closed.RegularPairCocycle X U v) (hw : Closed.RegularPairCocycle X U w) : |
| 40 | Closed.regularPairSheafClass X U hU (fun i j => v i j - w i j) (regularPairCocycle_sub X U v w hv hw) = |
| 41 | Closed.regularPairSheafClass X U hU v hv - Closed.regularPairSheafClass X U hU w hw := by |
| 42 | let F := Dual.UnitCechClasses.ringAdditiveSheaf X.sheaf |
| 43 | let a := Closed.regularPairCechCochain X U v |
| 44 | let b := Closed.regularPairCechCochain X U w |
| 45 | have ha := Closed.regularPairCechCochain_closed X U v hv |
| 46 | have hb := Closed.regularPairCechCochain_closed X U w hw |
| 47 | exact (Cech.Add.cechSheafClass_congr U F hU 0 _ (a - b) |
| 48 | (Closed.regularPairCechCochain_closed X U _ (regularPairCocycle_sub X U v w hv hw)) |
| 49 | (Cech.Add.cechSub_closed U F.obj 1 a b ha hb) (regularPairCechCochain_sub X U v w)).trans |
| 50 | (Cech.Add.cechSheafClass_sub U F hU 0 a b ha hb) |
| 51 | |
| 52 | theorem regularPairSheafClass_eq_of_localDefects (hU : iSup U = ⊤) |
| 53 | (hv : Closed.RegularPairCocycle X U v) (hw : Closed.RegularPairCocycle X U w) |
| 54 | (s : ∀ i, Γ(X, U i)) |
| 55 | (hs : ∀ i j, v i j - w i j = |
| 56 | X.presheaf.map (homOfLE (show U i ⊓ U j ≤ U j from inf_le_right)).op (s j) - |
| 57 | X.presheaf.map (homOfLE (show U i ⊓ U j ≤ U i from inf_le_left)).op (s i)) : |
| 58 | Closed.regularPairSheafClass X U hU v hv = Closed.regularPairSheafClass X U hU w hw := by |
| 59 | have hp : Closed.RegularPairPrimitive X U (fun i j => v i j - w i j) (fun i => -s i) := by |
| 60 | intro i j |
| 61 | rw [map_neg, map_neg] |
| 62 | exact (hs i j).trans (by abel) |
| 63 | have hz := (ClassZeroCriterion.regularPairSheafClass_eq_zero_iff_primitive X U (fun i j => v i j - w i j) |
| 64 | hU (regularPairCocycle_sub X U v w hv hw)).mpr ⟨fun i => -s i, hp⟩ |
| 65 | exact sub_eq_zero.mp ((regularPairSheafClass_sub X U v w hU hv hw).symm.trans hz) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RegularPair.ClassDifference |