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.SheafCohomology.Projective.PullbackFrameComposition |
| 2 | |
| 3 | /-! # Unit Composition -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.Pullback.UnitComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Canonical structure-sheaf frames respect monoidal comparisons of |
| 10 | composite pullbacks. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.PullbackFrameComposition |
| 15 | universe u |
| 16 | |
| 17 | local instance (X : Scheme.{u}) : MonoidalCategory X.Modules := AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 18 | local instance {X Y : Scheme.{u}} (f : X ⟶ Y) : (Scheme.Modules.pullback f).Monoidal := |
| 19 | AlgebraicGeometry.SheafCohomology.Projective.PullbackTensorGeneral.Scheme.Modules.pullbackMonoidal f |
| 20 | |
| 21 | theorem pullbackUnitIso_comparison {X T U : Scheme.{u}} (f : T ⟶ X) (g : U ⟶ T) (h : U ⟶ X) |
| 22 | (α : Scheme.Modules.pullback f ⋙ Scheme.Modules.pullback g ≅ Scheme.Modules.pullback h) |
| 23 | [α.hom.IsMonoidal] : |
| 24 | (α.app (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X)).hom ≫ (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackUnitIso h).hom = |
| 25 | (Scheme.Modules.pullback g).map (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackUnitIso f).hom ≫ |
| 26 | (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackUnitIso g).hom := by |
| 27 | let qX := AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso X |
| 28 | let qT := AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso T |
| 29 | let qU := AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso U |
| 30 | let ef := (Functor.Monoidal.εIso (Scheme.Modules.pullback f)).symm |
| 31 | let eg := (Functor.Monoidal.εIso (Scheme.Modules.pullback g)).symm |
| 32 | let eh := (Functor.Monoidal.εIso (Scheme.Modules.pullback h)).symm |
| 33 | have hf := congrArg Iso.hom (AlgebraicGeometry.SheafCohomology.Projective.PullbackUnitMonoidal.Scheme.Modules.pullback_monoidalUnitObjIso f) |
| 34 | have hg := congrArg Iso.hom (AlgebraicGeometry.SheafCohomology.Projective.PullbackUnitMonoidal.Scheme.Modules.pullback_monoidalUnitObjIso g) |
| 35 | have hh := congrArg Iso.hom (AlgebraicGeometry.SheafCohomology.Projective.PullbackUnitMonoidal.Scheme.Modules.pullback_monoidalUnitObjIso h) |
| 36 | change ef.hom ≫ qT.hom = (Scheme.Modules.pullback f).map qX.hom ≫ |
| 37 | (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackUnitIso f).hom at hf |
| 38 | change eg.hom ≫ qU.hom = (Scheme.Modules.pullback g).map qT.hom ≫ |
| 39 | (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackUnitIso g).hom at hg |
| 40 | change eh.hom ≫ qU.hom = (Scheme.Modules.pullback h).map qX.hom ≫ |
| 41 | (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackUnitIso h).hom at hh |
| 42 | have he := congrArg Iso.hom (AlgebraicGeometry.SheafCohomology.Projective.PullbackFrameComposition.pullbackComp_monoidalUnitIso f g h α) |
| 43 | change eh.hom = (α.app (𝟙_ X.Modules)).inv ≫ |
| 44 | (Scheme.Modules.pullback g).map ef.hom ≫ eg.hom at he |
| 45 | have he' : (α.app (𝟙_ X.Modules)).hom ≫ eh.hom = |
| 46 | (Scheme.Modules.pullback g).map ef.hom ≫ eg.hom := by |
| 47 | rw [he] |
| 48 | simp |
| 49 | apply (cancel_epi ((Scheme.Modules.pullback g).map ((Scheme.Modules.pullback f).map qX.hom))).1 |
| 50 | simp only [← Category.assoc] |
| 51 | have hn := α.hom.naturality qX.hom |
| 52 | change (Scheme.Modules.pullback g).map ((Scheme.Modules.pullback f).map qX.hom) ≫ |
| 53 | (α.app (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X)).hom = |
| 54 | (α.app (𝟙_ X.Modules)).hom ≫ (Scheme.Modules.pullback h).map qX.hom at hn |
| 55 | rw [hn] |
| 56 | simp only [Category.assoc] |
| 57 | rw [← hh] |
| 58 | simp only [← Category.assoc] |
| 59 | rw [he'] |
| 60 | simp only [Category.assoc] |
| 61 | rw [hg] |
| 62 | rw [← Category.assoc, ← Functor.map_comp, hf, Functor.map_comp] |
| 63 | simp only [Category.assoc] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.RepresentationTheory.Theta.Geometric.Pullback.UnitComposition |