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.PoincareBundle.Geometric.InvariantMorphismExt |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Recovered.OrdinaryDatum |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Ordinary.LineDescentUniqueness |
| 4 | |
| 5 | /-! # Pullback Faithful -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.PullbackFaithful |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Faithfully flat affine pullback detects equality of maps into line bundles |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Recovered.OrdinaryDatum.Ordinary OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechInvariant OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization |
| 20 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Ordinary.GlobalLineDescent |
| 21 | |
| 22 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) (P : Bundles.LineBundle Y) |
| 23 | |
| 24 | /-- The original line has its tautological recovery on the cover. -/ |
| 25 | def canonicalRecovery : (Scheme.Modules.pullback f).obj P.sheaf ≅ (Recovered.OrdinaryDatum.Ordinary.baseDatum f P.sheaf).obj PUnit.unit := Iso.refl _ |
| 26 | |
| 27 | /-- This actual tautological recovery respects the full geometric gluing square. -/ |
| 28 | theorem canonicalRecovery_compatible : |
| 29 | (Scheme.Modules.pullback (pullback.fst f f)).map (canonicalRecovery f P).hom ≫ |
| 30 | (Geometric.CechInvariant.relationGluing f (Recovered.OrdinaryDatum.Ordinary.baseDatum f P.sheaf)).hom = |
| 31 | (Cech.MateNormalization.standardGluing f (pullback.fst f f) (pullback.snd f f) pullback.condition).hom.app P.sheaf ≫ |
| 32 | (Scheme.Modules.pullback (pullback.snd f f)).map (canonicalRecovery f P).hom := by |
| 33 | change (Scheme.Modules.pullback (pullback.fst f f)).map (𝟙 _) ≫ _ = |
| 34 | _ ≫ (Scheme.Modules.pullback (pullback.snd f f)).map (𝟙 _) |
| 35 | erw [(Scheme.Modules.pullback (pullback.fst f f)).map_id, |
| 36 | (Scheme.Modules.pullback (pullback.snd f f)).map_id, Category.id_comp, Category.comp_id] |
| 37 | exact Recovered.OrdinaryDatum.Ordinary.baseDatum_gluing f P.sheaf |
| 38 | |
| 39 | variable [IsAffineHom f] [Flat f] [Surjective f] [IsLocallyNoetherian Y] |
| 40 | |
| 41 | /-- Effective geometric descent identifies the original line with its actual canonical invariant. -/ |
| 42 | def canonicalInvariantIso : P.sheaf ≅ (Ordinary.GlobalLineDescent.descendedLine f (Recovered.OrdinaryDatum.Ordinary.baseDatum f P.sheaf) (P.isLine.pullback f)).sheaf := |
| 43 | (Ordinary.LineDescentUniqueness.existsUnique_iso f (Recovered.OrdinaryDatum.Ordinary.baseDatum f P.sheaf) (P.isLine.pullback f) |
| 44 | P (canonicalRecovery f P) (canonicalRecovery_compatible f P)).choose |
| 45 | |
| 46 | /-- Actual faithfully flat affine pullback detects equality of arbitrary sheaf maps into a line bundle. -/ |
| 47 | theorem hom_ext {M : Y.Modules} (a b : M ⟶ P.sheaf) |
| 48 | (h : (Scheme.Modules.pullback f).map a = (Scheme.Modules.pullback f).map b) : a = b := |
| 49 | Geometric.InvariantMorphismExt.hom_ext_of_recovery f (pullback.fst f f) (pullback.snd f f) |
| 50 | pullback.condition ((Recovered.OrdinaryDatum.Ordinary.baseDatum f P.sheaf).obj PUnit.unit) (Geometric.CechInvariant.relationGluing f (Recovered.OrdinaryDatum.Ordinary.baseDatum f P.sheaf)) |
| 51 | (canonicalInvariantIso f P) a b h |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.PullbackFaithful |