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.Dual.UnitCechCoefficients |
| 2 | import Mathlib.Algebra.Category.Ring.Limits |
| 3 | import Mathlib.Algebra.Category.Ring.Adjunctions |
| 4 | import Mathlib.CategoryTheory.Sites.Whiskering |
| 5 | |
| 6 | /-! # Unit Cech Classes -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.UnitCechClasses |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The cohomology class of actual normalized dual-number transition |
| 13 | units is unchanged by actual normalized changes of local frame. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 16 | |
| 17 | variable {X : TopCat.{0}} |
| 18 | |
| 19 | def ringAdditiveSheaf (R : TopCat.Sheaf CommRingCat.{0} X) : TopCat.Sheaf AddCommGrpCat.{0} X := |
| 20 | (sheafCompose (Opens.grothendieckTopology X) (forget₂ RingCat AddCommGrpCat)).obj |
| 21 | ((sheafCompose (Opens.grothendieckTopology X) (forget₂ CommRingCat RingCat)).obj R) |
| 22 | |
| 23 | variable (R : TopCat.Sheaf CommRingCat.{0} X) {I : Type} (U : I → Opens X) |
| 24 | |
| 25 | def dualUnitCechClass (hU : iSup U = ⊤) (u : UnitCechCoefficients.DualUnitCechCoefficients R.obj U) |
| 26 | (hu : UnitCechCoefficients.DualUnitCechNormalized R.obj U u) (hc : UnitCechCoefficients.DualUnitCechCocycle R.obj U u) : |
| 27 | CategoryTheory.Sheaf.H (ringAdditiveSheaf R) 1 := |
| 28 | DivisorClass.Chern.Abelian.CechClasses.abelianCechSheafClass U (ringAdditiveSheaf R) hU 0 (UnitCechCoefficients.dualUnitCechAdditive R.obj U u) |
| 29 | (UnitCechCoefficients.dualUnitCechAdditive_closed R.obj U u hu hc) |
| 30 | |
| 31 | theorem dualUnitCech_gauge_boundary (u v : UnitCechCoefficients.DualUnitCechCoefficients R.obj U) |
| 32 | (hu : UnitCechCoefficients.DualUnitCechNormalized R.obj U u) |
| 33 | (g : ∀ i, (DualNumber (R.obj.obj (op (U i))))ˣ) (hg : ∀ i, (g i).val.fst = 1) |
| 34 | (hv : ∀ a : Fin 2 → I, v a = u a * |
| 35 | UnitCechCoefficients.dualCechRestrict R.obj (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 1) (g (a 1)) / |
| 36 | UnitCechCoefficients.dualCechRestrict R.obj (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 0) (g (a 0))) : |
| 37 | DivisorClass.Chern.Abelian.CechCoordinates.abelianCechDelta (ringAdditiveSheaf R).obj U 0 |
| 38 | (DivisorClass.Chern.Cech.LocalSections.abelianCechLocalSections U (ringAdditiveSheaf R) (fun i => (g i).val.snd)) = |
| 39 | UnitCechCoefficients.dualUnitCechAdditive R.obj U v - UnitCechCoefficients.dualUnitCechAdditive R.obj U u := by |
| 40 | funext a |
| 41 | erw [DivisorClass.Chern.Cech.LocalSections.abelianCechLocalSections_delta] |
| 42 | have h := congrArg (fun w : (DualNumber (R.obj.obj (op (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a))))ˣ => w.val.snd) (hv a) |
| 43 | rw [UnitCoordinates.dualUnit_snd_gauge _ _ _ (hu a) |
| 44 | (UnitCechCoefficients.dualCechRestrict_fst R.obj _ _ (hg _)) (UnitCechCoefficients.dualCechRestrict_fst R.obj _ _ (hg _))] at h |
| 45 | change R.obj.map (homOfLE (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 1)).op (g (a 1)).val.snd - |
| 46 | R.obj.map (homOfLE (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 0)).op (g (a 0)).val.snd = |
| 47 | (v a).val.snd - (u a).val.snd |
| 48 | rw [h, UnitCechCoefficients.dualCechRestrict_snd, UnitCechCoefficients.dualCechRestrict_snd] |
| 49 | abel |
| 50 | |
| 51 | theorem dualUnitCechClass_gauge (hU : iSup U = ⊤) (u v : UnitCechCoefficients.DualUnitCechCoefficients R.obj U) |
| 52 | (hu : UnitCechCoefficients.DualUnitCechNormalized R.obj U u) (hv : UnitCechCoefficients.DualUnitCechNormalized R.obj U v) |
| 53 | (hcu : UnitCechCoefficients.DualUnitCechCocycle R.obj U u) (hcv : UnitCechCoefficients.DualUnitCechCocycle R.obj U v) |
| 54 | (g : ∀ i, (DualNumber (R.obj.obj (op (U i))))ˣ) (hg : ∀ i, (g i).val.fst = 1) |
| 55 | (he : ∀ a : Fin 2 → I, v a = u a * |
| 56 | UnitCechCoefficients.dualCechRestrict R.obj (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 1) (g (a 1)) / |
| 57 | UnitCechCoefficients.dualCechRestrict R.obj (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 0) (g (a 0))) : |
| 58 | dualUnitCechClass R U hU v hv hcv = dualUnitCechClass R U hU u hu hcu := by |
| 59 | let F := ringAdditiveSheaf R |
| 60 | let : AddCommGroup (CategoryTheory.Sheaf.H F 1) := Cech.Add.cechClassAddCommGroup F 1 |
| 61 | have hku := UnitCechCoefficients.dualUnitCechAdditive_closed R.obj U u hu hcu |
| 62 | have hkv := UnitCechCoefficients.dualUnitCechAdditive_closed R.obj U v hv hcv |
| 63 | have hz := DivisorClass.Chern.Cech.SheafBoundaries.abelianCechSheafClass_eq_zero_of_boundary U F hU 0 |
| 64 | (UnitCechCoefficients.dualUnitCechAdditive R.obj U v - UnitCechCoefficients.dualUnitCechAdditive R.obj U u) |
| 65 | (Cech.Add.cechSub_closed U F.obj 1 _ _ hkv hku) |
| 66 | (DivisorClass.Chern.Cech.LocalSections.abelianCechLocalSections U F (fun i => (g i).val.snd)) |
| 67 | (dualUnitCech_gauge_boundary R U u v hu g hg he) |
| 68 | exact sub_eq_zero.mp ((Cech.Add.cechSheafClass_sub U F hU 0 _ _ hkv hku).symm.trans hz) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.UnitCechClasses |