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.Picard.Homomorphisms.SchemePullback |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.PicardSheaf |
| 3 | import Mathlib.Algebra.Category.Grp.FilteredColimits |
| 4 | import Mathlib.Algebra.Category.Grp.Colimits |
| 5 | import Mathlib.Algebra.Category.Grp.EquivalenceGroupAddGroup |
| 6 | import Mathlib.Algebra.Category.Grp.Limits |
| 7 | import Mathlib.CategoryTheory.Sites.PreservesSheafification |
| 8 | import Mathlib.Algebra.Group.TransferInstance |
| 9 | |
| 10 | /-! # Group Sheafification -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.GroupSheafification |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! The group structure on the underlying type-valued fppf sheafification. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 19 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.PicardSheaf |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | namespace Construction |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable {S : Scheme.{u}} |
| 28 | |
| 29 | instance picardSheafificationCommGroupColimits : |
| 30 | CategoryTheory.Limits.HasColimitsOfSize.{u + 1, u + 1} CommGrpCat.{u + 1} := |
| 31 | Adjunction.has_colimits_of_equivalence commGroupAddCommGroupEquivalence.functor |
| 32 | |
| 33 | def picardTypeSheafifyEquiv (P : (Over S)ᵒᵖ ⥤ CommGrpCat.{u + 1}) (T : (Over S)ᵒᵖ) : |
| 34 | (sheafify (Scheme.fppfTopology.over S) (P ⋙ forget CommGrpCat)).obj T ≃ |
| 35 | (sheafify (Scheme.fppfTopology.over S) P).obj T := |
| 36 | ((sheafifyComposeIso (Scheme.fppfTopology.over S) (forget CommGrpCat) P).app T).toEquiv |
| 37 | |
| 38 | instance picardTypeSheafifyCommGroup (P : (Over S)ᵒᵖ ⥤ CommGrpCat.{u + 1}) (T : (Over S)ᵒᵖ) : |
| 39 | CommGroup ((sheafify (Scheme.fppfTopology.over S) (P ⋙ forget CommGrpCat)).obj T) := |
| 40 | (picardTypeSheafifyEquiv P T).commGroup |
| 41 | |
| 42 | def picardTypeSheafifyMulEquiv (P : (Over S)ᵒᵖ ⥤ CommGrpCat.{u + 1}) (T : (Over S)ᵒᵖ) : |
| 43 | (sheafify (Scheme.fppfTopology.over S) (P ⋙ forget CommGrpCat)).obj T ≃* |
| 44 | (sheafify (Scheme.fppfTopology.over S) P).obj T := |
| 45 | (picardTypeSheafifyEquiv P T).mulEquiv |
| 46 | |
| 47 | theorem picardTypeSheafifyEquiv_unit (P : (Over S)ᵒᵖ ⥤ CommGrpCat.{u + 1}) |
| 48 | (T : (Over S)ᵒᵖ) (x : P.obj T) : |
| 49 | picardTypeSheafifyEquiv P T ((toSheafify (Scheme.fppfTopology.over S) |
| 50 | (P ⋙ forget CommGrpCat)).app T x) = |
| 51 | (toSheafify (Scheme.fppfTopology.over S) P).app T x := by |
| 52 | have h := congrArg (fun a => a.app T) (sheafComposeIso_hom_fac |
| 53 | (Scheme.fppfTopology.over S) (forget CommGrpCat) P) |
| 54 | exact ConcreteCategory.congr_hom h x |
| 55 | |
| 56 | def picardTypeSheafifyUnitHom (P : (Over S)ᵒᵖ ⥤ CommGrpCat.{u + 1}) (T : (Over S)ᵒᵖ) : |
| 57 | P.obj T →* (sheafify (Scheme.fppfTopology.over S) (P ⋙ forget CommGrpCat)).obj T where |
| 58 | toFun := (toSheafify (Scheme.fppfTopology.over S) (P ⋙ forget CommGrpCat)).app T |
| 59 | map_one' := by |
| 60 | apply (picardTypeSheafifyEquiv P T).injective |
| 61 | rw [picardTypeSheafifyEquiv_unit] |
| 62 | exact ((toSheafify (Scheme.fppfTopology.over S) P).app T).hom.map_one.trans |
| 63 | (picardTypeSheafifyMulEquiv P T).map_one.symm |
| 64 | map_mul' a b := by |
| 65 | apply (picardTypeSheafifyEquiv P T).injective |
| 66 | rw [picardTypeSheafifyEquiv_unit] |
| 67 | change _ = picardTypeSheafifyMulEquiv P T (_ * _) |
| 68 | rw [(picardTypeSheafifyMulEquiv P T).map_mul] |
| 69 | change _ = picardTypeSheafifyEquiv P T (_ ) * picardTypeSheafifyEquiv P T (_) |
| 70 | rw [picardTypeSheafifyEquiv_unit, picardTypeSheafifyEquiv_unit] |
| 71 | exact ((toSheafify (Scheme.fppfTopology.over S) P).app T).hom.map_mul a b |
| 72 | |
| 73 | end Construction |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.GroupSheafification |