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.NumberTheory.PadicHodge.IntegralComparison.Presentation.FamilyMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresentationRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presentation.ResolutionCoordinates |
| 4 | |
| 5 | /-! # Restriction Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presentation.RestrictionCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restricting presentation cochains gives the actual restriction of sections on the frame tuple products. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {C D : Type (max u v)} [Category.{v} C] [Category.{v} D] |
| 18 | [HasBinaryProducts C] [HasBinaryProducts D] (G : C ⥤ D) {ι : Type v} |
| 19 | (F : ι → C) (H : ι → D) (a : ∀ i, G.obj (F i) ⟶ H i) |
| 20 | (n : ℕ) (t : Fin (n + 1) → ι) |
| 21 | (b : G.obj (TupleProducts.family F n t) ⟶ TupleProducts.family H n t) |
| 22 | (hb : ∀ j, b ≫ Pi.π (fun j => H (t j)) j = G.map (Pi.π (fun j => F (t j)) j) ≫ a (t j)) |
| 23 | |
| 24 | include hb in |
| 25 | theorem universal : (fun j => (FamilyMap.Family.map G F H a).app |
| 26 | (op (TupleProducts.family F n t)) (ResolutionCoordinates.universalTuple F n t j)) = |
| 27 | (fun j => (CoveringPresentationPresheaf.presentations H).map b.op |
| 28 | (ResolutionCoordinates.universalTuple H n t j)) := by |
| 29 | funext j |
| 30 | apply ULift.ext |
| 31 | refine Sigma.ext (by rfl) ?_ |
| 32 | exact heq_of_eq (hb j).symm |
| 33 | |
| 34 | variable (R : Type (max u v)) [CommRing R] (M : Dᵒᵖ ⥤ ModuleCat.{max u v} R) |
| 35 | (f : (AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R (CoveringPresentationPresheaf.presentations H)).X n ⟶ M) |
| 36 | |
| 37 | include hb in |
| 38 | theorem presheaf : ResolutionCoordinates.presheaf F R n (G.op ⋙ M) |
| 39 | ((Cech.PresentationRestriction.map R G (FamilyMap.Family.map G F H a)).f n ≫ |
| 40 | Functor.whiskerLeft G.op f) t = |
| 41 | M.map b.op (ResolutionCoordinates.presheaf H R n M f t) := by |
| 42 | let U := op (TupleProducts.family F n t) |
| 43 | let x := ResolutionCoordinates.universalTuple F n t |
| 44 | let y := ResolutionCoordinates.universalTuple H n t |
| 45 | have ha := Cech.PresentationMap.map_generator R (FamilyMap.Family.map G F H a) n U x |
| 46 | have hy : ((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R (CoveringPresentationPresheaf.presentations H)).X n).map b.op |
| 47 | (ModuleCat.freeMk y) = ModuleCat.freeMk (fun j => (CoveringPresentationPresheaf.presentations H).map b.op (y j)) := |
| 48 | ModuleCat.free_map_apply (R := R) |
| 49 | (↾fun z : Fin (n + 1) → (CoveringPresentationPresheaf.presentations H).obj |
| 50 | (op (TupleProducts.family H n t)) => |
| 51 | fun j => (CoveringPresentationPresheaf.presentations H).map b.op (z j)) y |
| 52 | have hu := congrArg (ModuleCat.freeMk (R := R)) (universal G F H a n t b hb) |
| 53 | have hf := congrArg (fun c => c (ModuleCat.freeMk y)) (f.naturality b.op) |
| 54 | refine (ResolutionCoordinates.presheaf_apply F R n (G.op ⋙ M) _ t).trans ?_ |
| 55 | exact (congrArg (f.app (G.op.obj U)) (ha.trans (hu.trans hy.symm))).trans |
| 56 | (hf.trans (congrArg (M.map b.op) (ResolutionCoordinates.presheaf_apply H R n M f t).symm)) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presentation.RestrictionCoordinates |