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.LocalDescentGluing |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.IntrinsicCompatibleBaseChange |
| 5 | |
| 6 | /-! # Open Descent Comparison -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.OpenDescentComparison.PicardOpenDescentComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Transporting a descent computed in native pullback frames to the |
| 13 | open-restriction comparison used for global gluing. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.GlobalFunctions.PicardFunctions |
| 20 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.ModuleHomSheaf.PicardModuleHomSheaf |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.NormalizedSquares.PicardNormalizedSquares |
| 23 | |
| 24 | theorem transport_square {C : Type*} [Category C] |
| 25 | {M N P Q M' N' P' Q' : C} |
| 26 | (a : M ⟶ N) (b : P ⟶ Q) (s : M ≅ P) (t : N ≅ Q) |
| 27 | (eM : M' ≅ M) (eN : N' ≅ N) (eP : P' ≅ P) (eQ : Q' ≅ Q) |
| 28 | (h : a ≫ t.hom = s.hom ≫ b) : |
| 29 | (eM.hom ≫ a ≫ eN.inv) ≫ (eN ≪≫ t ≪≫ eQ.symm).hom = |
| 30 | (eM ≪≫ s ≪≫ eP.symm).hom ≫ (eP.hom ≫ b ≫ eQ.inv) := by |
| 31 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc, Iso.inv_hom_id_assoc] |
| 32 | rw [← Category.assoc a t.hom, h, Category.assoc] |
| 33 | |
| 34 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) |
| 35 | |
| 36 | def relativeComparisonIso (M : Y.Modules) : |
| 37 | (Scheme.Modules.pullback (f ∣_ U)).obj (M.restrict U.ι) ≅ |
| 38 | ((Scheme.Modules.pullback f).obj M).restrict (f ⁻¹ᵁ U).ι := |
| 39 | (Scheme.Modules.pullback (f ∣_ U)).mapIso |
| 40 | ((Scheme.Modules.restrictFunctorIsoPullback U.ι).app M) ≪≫ |
| 41 | (NormalizedSquares.PicardNormalizedSquares.sectionSquareIso f U.ι (f ⁻¹ᵁ U).ι (f ∣_ U) (morphismRestrict_ι f U).symm).symm.app M ≪≫ |
| 42 | ((Scheme.Modules.restrictFunctorIsoPullback (f ⁻¹ᵁ U).ι).app |
| 43 | ((Scheme.Modules.pullback f).obj M)).symm |
| 44 | |
| 45 | theorem relativeComparison_eq (M : Y.Modules) : |
| 46 | relativeComparisonIso f U M = (Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f U).symm.app M := by |
| 47 | apply Iso.ext |
| 48 | dsimp only [relativeComparisonIso, Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso, NormalizedSquares.PicardNormalizedSquares.sectionSquareIso] |
| 49 | rfl |
| 50 | |
| 51 | def restrictedMorphism {M N : Y.Modules} |
| 52 | (a : (Scheme.Modules.pullback U.ι).obj M ⟶ (Scheme.Modules.pullback U.ι).obj N) : |
| 53 | M.restrict U.ι ⟶ N.restrict U.ι := |
| 54 | (Scheme.Modules.restrictFunctorIsoPullback U.ι).hom.app M ≫ a ≫ |
| 55 | (Scheme.Modules.restrictFunctorIsoPullback U.ι).inv.app N |
| 56 | |
| 57 | theorem descent_square_of_native {M N : Y.Modules} |
| 58 | (q : (Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) |
| 59 | (a : (Scheme.Modules.pullback U.ι).obj M ⟶ (Scheme.Modules.pullback U.ι).obj N) |
| 60 | (ha : (Scheme.Modules.pullback (f ∣_ U)).map a = |
| 61 | (NormalizedSquares.PicardNormalizedSquares.sectionSquareIso f U.ι (f ⁻¹ᵁ U).ι (f ∣_ U) (morphismRestrict_ι f U).symm).inv.app M ≫ |
| 62 | (Scheme.Modules.pullback (f ⁻¹ᵁ U).ι).map q ≫ |
| 63 | (NormalizedSquares.PicardNormalizedSquares.sectionSquareIso f U.ι (f ⁻¹ᵁ U).ι (f ∣_ U) (morphismRestrict_ι f U).symm).hom.app N) : |
| 64 | (Scheme.Modules.pullback (f ∣_ U)).map (restrictedMorphism U a) ≫ |
| 65 | (Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f U).inv.app N = |
| 66 | (Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f U).inv.app M ≫ |
| 67 | (Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι).map q := by |
| 68 | let Lg := Scheme.Modules.pullback (f ∣_ U) |
| 69 | let Li := Scheme.Modules.pullback (f ⁻¹ᵁ U).ι |
| 70 | let R := Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι |
| 71 | let α := NormalizedSquares.PicardNormalizedSquares.sectionSquareIso f U.ι (f ⁻¹ᵁ U).ι (f ∣_ U) (morphismRestrict_ι f U).symm |
| 72 | let β := Scheme.Modules.restrictFunctorIsoPullback U.ι |
| 73 | let γ := Scheme.Modules.restrictFunctorIsoPullback (f ⁻¹ᵁ U).ι |
| 74 | let eM := Lg.mapIso (β.app M) |
| 75 | let eN := Lg.mapIso (β.app N) |
| 76 | let eP := γ.app ((Scheme.Modules.pullback f).obj M) |
| 77 | let eQ := γ.app ((Scheme.Modules.pullback f).obj N) |
| 78 | have hn : α.hom.app N ≫ α.inv.app N = 𝟙 _ := (α.app N).hom_inv_id |
| 79 | have hs : Lg.map a ≫ (α.app N).inv = (α.app M).inv ≫ Li.map q := by |
| 80 | change Lg.map a ≫ α.inv.app N = α.inv.app M ≫ Li.map q |
| 81 | rw [ha] |
| 82 | simp only [Category.assoc] |
| 83 | rw [hn] |
| 84 | exact congrArg (fun r ↦ α.inv.app M ≫ r) (Category.comp_id (Li.map q)) |
| 85 | have hq : eP.hom ≫ Li.map q ≫ eQ.inv = R.map q := by |
| 86 | have hg : Li.map q ≫ γ.inv.app ((Scheme.Modules.pullback f).obj N) = |
| 87 | γ.inv.app ((Scheme.Modules.pullback f).obj M) ≫ R.map q := γ.inv.naturality q |
| 88 | change γ.hom.app ((Scheme.Modules.pullback f).obj M) ≫ |
| 89 | Li.map q ≫ γ.inv.app ((Scheme.Modules.pullback f).obj N) = R.map q |
| 90 | rw [hg] |
| 91 | exact (γ.app ((Scheme.Modules.pullback f).obj M)).hom_inv_id_assoc _ |
| 92 | have hc : Lg.map (restrictedMorphism U a) = eM.hom ≫ Lg.map a ≫ eN.inv := by |
| 93 | exact (Lg.map_comp _ _).trans (congrArg (fun r ↦ Lg.map (β.hom.app M) ≫ r) (Lg.map_comp _ _)) |
| 94 | have ht := transport_square (Lg.map a) (Li.map q) (α.app M).symm (α.app N).symm |
| 95 | eM eN eP eQ hs |
| 96 | have hM : (eM ≪≫ (α.app M).symm ≪≫ eP.symm).hom = |
| 97 | (Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f U).inv.app M := |
| 98 | congrArg Iso.hom (relativeComparison_eq f U M) |
| 99 | have hN : (eN ≪≫ (α.app N).symm ≪≫ eQ.symm).hom = |
| 100 | (Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f U).inv.app N := |
| 101 | congrArg Iso.hom (relativeComparison_eq f U N) |
| 102 | exact (congrArg₂ (fun r s ↦ r ≫ s) hc hN.symm).trans |
| 103 | (ht.trans (congrArg₂ (fun r s ↦ r ≫ s) hM hq)) |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.OpenDescentComparison.PicardOpenDescentComparison |