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.PELModuli.IntegralModel.Picard.GlobalFunctions |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.ModuleHomSheaf |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.IntrinsicOpenSquare |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.AdjointSquareFactorization |
| 5 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.FaithfulPullbackUnit |
| 6 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.OpenFactorization |
| 7 | |
| 8 | /-! # Local Descent Gluing -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.LocalDescentGluing.PicardLocalDescentGluing |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Local descents through the actual open pullback comparisons glue to |
| 15 | one global morphism. All comparisons are the native geometric ones. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.GlobalFunctions.PicardFunctions |
| 22 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.ModuleHomSheaf.PicardModuleHomSheaf |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.AdjointSquareFactorization OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.IntrinsicOpenSquare.PicardIntrinsicOpenSquare |
| 25 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.FaithfulPullbackUnit.PicardFaithfulPullbackUnit OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.OpenFactorization.PicardOpenFactorization |
| 26 | |
| 27 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [Flat f] [Surjective f] |
| 28 | variable {M N : Y.Modules} (hN : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle N) |
| 29 | variable (q : (Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) |
| 30 | |
| 31 | include hN in |
| 32 | theorem existsUnique_hom_of_local_descent |
| 33 | {ι : Type*} (U : ι → Y.Opens) (hU : (⊤ : Y.Opens) ≤ iSup U) |
| 34 | (c : ∀ i, M.restrict (U i).ι ⟶ N.restrict (U i).ι) |
| 35 | (hc : ∀ i, |
| 36 | (Scheme.Modules.pullback (f ∣_ U i)).map (c i) ≫ |
| 37 | (Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f (U i)).inv.app N = |
| 38 | (Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f (U i)).inv.app M ≫ |
| 39 | (Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U i).ι).map q) : |
| 40 | ∃! a : M ⟶ N, (Scheme.Modules.pullback f).map a = q := by |
| 41 | let adj := Scheme.Modules.pullbackPushforwardAdjunction f |
| 42 | have : Mono (adj.unit.app N) := FaithfulPullbackUnit.PicardFaithfulPullbackUnit.unit_line_mono f hN |
| 43 | let b := adj.homEquiv _ _ q |
| 44 | let d (i) : (Scheme.Modules.pullback (U i).ι).obj M ⟶ |
| 45 | (Scheme.Modules.pullback (U i).ι).obj N := |
| 46 | ((Scheme.Modules.restrictFunctorIsoPullback (U i).ι).app M).homCongr |
| 47 | ((Scheme.Modules.restrictFunctorIsoPullback (U i).ι).app N) (c i) |
| 48 | have hd (i) : d i ≫ (Scheme.Modules.pullback (U i).ι).map (adj.unit.app N) = |
| 49 | (Scheme.Modules.pullback (U i).ι).map b := by |
| 50 | have := IntrinsicOpenSquare.PicardIntrinsicOpenSquare.canonical_rightMate_isIso f (U i) |
| 51 | have he := Isogenies.NeighborCounting.AdjointSquareFactorization.factorization_of_square adj |
| 52 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U i)) |
| 53 | (Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f (U i)).symm q (c i) (hc i) |
| 54 | exact Isogenies.NeighborCounting.AdjointSquareFactorization.transport_factorization (Scheme.Modules.restrictFunctorIsoPullback (U i).ι) |
| 55 | (c i) (adj.unit.app N) b he |
| 56 | obtain ⟨a, ha, hu⟩ := OpenFactorization.PicardOpenFactorization.existsUnique_open_factorization M (adj.unit.app N) b U hU d hd |
| 57 | have he (a : M ⟶ N) : adj.homEquiv _ _ ((Scheme.Modules.pullback f).map a) = a ≫ adj.unit.app N := by |
| 58 | rw [Adjunction.homEquiv_unit] |
| 59 | exact (adj.unit.naturality a).symm |
| 60 | refine ⟨a, (adj.homEquiv _ _).injective ((he a).trans ha), ?_⟩ |
| 61 | intro a' ha' |
| 62 | apply hu |
| 63 | exact (he a').symm.trans (congrArg (adj.homEquiv _ _) ha') |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.LocalDescentGluing.PicardLocalDescentGluing |