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.Open.CechInvariant |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.SquareNormalization |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Ordinary.SquareGluing |
| 4 | |
| 5 | /-! # Gluing Normalization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.GluingNormalization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Open restriction and ordinary geometric gluing use the same comparison |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.AlgebraicGeometry |
| 16 | |
| 17 | section |
| 18 | |
| 19 | /-- Changing the endpoint and overlap presentations retains the gluing square. -/ |
| 20 | theorem iso_transition_square {C : Type*} [Category C] |
| 21 | {S₁ S₂ T₁ T₂ U₁ U₂ V₁ V₂ : C} |
| 22 | (a₁ : S₁ ≅ T₁) (a₂ : S₂ ≅ T₂) (b₁ : T₁ ≅ U₁) (b₂ : T₂ ≅ U₂) |
| 23 | (c₁ : V₁ ≅ U₁) (c₂ : V₂ ≅ U₂) (β : S₁ ≅ V₁) (γ : S₂ ≅ V₂) |
| 24 | (s : V₁ ⟶ V₂) (t : U₁ ⟶ U₂) |
| 25 | (hβ : β = a₁ ≪≫ b₁ ≪≫ c₁.symm) (hγ : γ = a₂ ≪≫ b₂ ≪≫ c₂.symm) |
| 26 | (hs : s ≫ c₂.hom = c₁.hom ≫ t) : |
| 27 | a₁.hom ≫ (b₁.hom ≫ t ≫ b₂.inv) = (β.hom ≫ s ≫ γ.inv) ≫ a₂.hom := by |
| 28 | rw [hβ, hγ] |
| 29 | simp only [Iso.trans_hom, Iso.trans_inv, Iso.symm_hom, Iso.symm_inv, Category.assoc, |
| 30 | Iso.inv_hom_id, Category.comp_id] |
| 31 | slice_rhs 4 5 => exact hs |
| 32 | simp only [Category.assoc, Iso.inv_hom_id_assoc] |
| 33 | |
| 34 | end |
| 35 | |
| 36 | universe u |
| 37 | |
| 38 | variable {X Z X' Z' : Scheme.{u}} |
| 39 | (p q : Z ⟶ X) (p' q' : Z' ⟶ X') (iX : X' ⟶ X) (iZ : Z' ⟶ Z) |
| 40 | [IsOpenImmersion iX] [IsOpenImmersion iZ] |
| 41 | (hp : iZ ≫ p = p' ≫ iX) (hq : iZ ≫ q = q' ≫ iX) (M : X.Modules) |
| 42 | (σ : (Scheme.Modules.pullback p).obj M ≅ (Scheme.Modules.pullback q).obj M) |
| 43 | |
| 44 | /-- Each actual open square factors through the ordinary geometric pullback square. -/ |
| 45 | theorem square_component : |
| 46 | (SquareBaseChange.leftSquare p p' iZ iX hp).app M = |
| 47 | (Scheme.Modules.pullback p').mapIso ((Scheme.Modules.restrictFunctorIsoPullback iX).app M) ≪≫ |
| 48 | (Ordinary.SquareGluing.pullbackSquare p p' iX iZ hp).app M ≪≫ |
| 49 | ((Scheme.Modules.restrictFunctorIsoPullback iZ).app ((Scheme.Modules.pullback p).obj M)).symm := by |
| 50 | rw [SquareNormalization.leftSquare_eq_standard] |
| 51 | apply Iso.ext |
| 52 | rfl |
| 53 | |
| 54 | /-- Gluing on the actual pulled-back sheaf, using standard geometric composition maps. -/ |
| 55 | def pullbackGluing : |
| 56 | (Scheme.Modules.pullback p').obj ((Scheme.Modules.pullback iX).obj M) ≅ |
| 57 | (Scheme.Modules.pullback q').obj ((Scheme.Modules.pullback iX).obj M) := |
| 58 | (Ordinary.SquareGluing.pullbackSquare p p' iX iZ hp).app M ≪≫ |
| 59 | (Scheme.Modules.pullback iZ).mapIso σ ≪≫ |
| 60 | ((Ordinary.SquareGluing.pullbackSquare q q' iX iZ hq).app M).symm |
| 61 | |
| 62 | /-- The restriction-to-pullback isomorphism retains the full original gluing morphism. -/ |
| 63 | theorem compatible : |
| 64 | (Scheme.Modules.pullback p').map ((Scheme.Modules.restrictFunctorIsoPullback iX).app M).hom ≫ |
| 65 | (pullbackGluing p q p' q' iX iZ hp hq M σ).hom = |
| 66 | (CechInvariant.gluing p q p' q' iX iZ hp hq M σ).hom ≫ |
| 67 | (Scheme.Modules.pullback q').map ((Scheme.Modules.restrictFunctorIsoPullback iX).app M).hom := by |
| 68 | exact iso_transition_square |
| 69 | ((Scheme.Modules.pullback p').mapIso ((Scheme.Modules.restrictFunctorIsoPullback iX).app M)) |
| 70 | ((Scheme.Modules.pullback q').mapIso ((Scheme.Modules.restrictFunctorIsoPullback iX).app M)) |
| 71 | ((Ordinary.SquareGluing.pullbackSquare p p' iX iZ hp).app M) |
| 72 | ((Ordinary.SquareGluing.pullbackSquare q q' iX iZ hq).app M) |
| 73 | ((Scheme.Modules.restrictFunctorIsoPullback iZ).app ((Scheme.Modules.pullback p).obj M)) |
| 74 | ((Scheme.Modules.restrictFunctorIsoPullback iZ).app ((Scheme.Modules.pullback q).obj M)) |
| 75 | ((SquareBaseChange.leftSquare p p' iZ iX hp).app M) |
| 76 | ((SquareBaseChange.leftSquare q q' iZ iX hq).app M) |
| 77 | ((Scheme.Modules.restrictFunctor iZ).map σ.hom) ((Scheme.Modules.pullback iZ).map σ.hom) |
| 78 | (square_component p p' iX iZ hp M) (square_component q q' iX iZ hq M) |
| 79 | ((Scheme.Modules.restrictFunctorIsoPullback iZ).hom.naturality σ.hom) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.GluingNormalization |