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.OpenPullbackCoherence |
| 4 | |
| 5 | /-! # Intrinsic Open Square -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.IntrinsicOpenSquare.PicardIntrinsicOpenSquare |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Identifying the standard geometric open pullback square with its |
| 12 | adjoint construction, by the native composition laws. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.GlobalFunctions.PicardFunctions |
| 19 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.ModuleHomSheaf.PicardModuleHomSheaf |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.OpenPullbackCoherence.PicardOpenPullbackCoherence |
| 22 | |
| 23 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) |
| 24 | |
| 25 | theorem canonical_conjugate : |
| 26 | conjugateEquiv |
| 27 | ((Scheme.Modules.pullbackPushforwardAdjunction f).comp |
| 28 | (Scheme.Modules.restrictAdjunction (f ⁻¹ᵁ U).ι)) |
| 29 | ((Scheme.Modules.restrictAdjunction U.ι).comp |
| 30 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U))) |
| 31 | (Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f U).inv = |
| 32 | (Picard.PoincareBundle.Open.Adjunction.pushforwardSquareIso f U).hom := by |
| 33 | let af := Scheme.Modules.pullbackPushforwardAdjunction f |
| 34 | let ag := Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U) |
| 35 | let ax := Scheme.Modules.pullbackPushforwardAdjunction (f ⁻¹ᵁ U).ι |
| 36 | let ay := Scheme.Modules.pullbackPushforwardAdjunction U.ι |
| 37 | let rx := Scheme.Modules.restrictAdjunction (f ⁻¹ᵁ U).ι |
| 38 | let ry := Scheme.Modules.restrictAdjunction U.ι |
| 39 | let ac := Scheme.Modules.pullbackPushforwardAdjunction ((f ⁻¹ᵁ U).ι ≫ f) |
| 40 | let ad := Scheme.Modules.pullbackPushforwardAdjunction ((f ∣_ U) ≫ U.ι) |
| 41 | let tx := Scheme.Modules.restrictFunctorIsoPullback (f ⁻¹ᵁ U).ι |
| 42 | let ty := Scheme.Modules.restrictFunctorIsoPullback U.ι |
| 43 | let t₁ := Functor.whiskerLeft (Scheme.Modules.pullback f) tx.inv |
| 44 | let t₂ := (Scheme.Modules.pullbackComp (f ⁻¹ᵁ U).ι f).inv |
| 45 | let t₃ := (Scheme.Modules.pullbackCongr (morphismRestrict_ι f U).symm).inv |
| 46 | let t₄ := (Scheme.Modules.pullbackComp (f ∣_ U) U.ι).hom |
| 47 | let t₅ := Functor.whiskerRight ty.hom (Scheme.Modules.pullback (f ∣_ U)) |
| 48 | have h₁ : conjugateEquiv (af.comp rx) (af.comp ax) t₁ = 𝟙 _ := by |
| 49 | change conjugateEquiv (af.comp rx) (af.comp ax) |
| 50 | (Functor.whiskerLeft (Scheme.Modules.pullback f) (rx.leftAdjointUniq ax).inv) = _ |
| 51 | rw [conjugateEquiv_whiskerLeft, OpenPullbackCoherence.PicardOpenPullbackCoherence.conjugate_leftAdjointUniq_inv] |
| 52 | exact Functor.whiskerRight_id _ |
| 53 | have h₅ : conjugateEquiv (ay.comp ag) (ry.comp ag) t₅ = 𝟙 _ := by |
| 54 | change conjugateEquiv (ay.comp ag) (ry.comp ag) |
| 55 | (Functor.whiskerRight (ry.leftAdjointUniq ay).hom (Scheme.Modules.pullback (f ∣_ U))) = _ |
| 56 | rw [conjugateEquiv_whiskerRight, OpenPullbackCoherence.PicardOpenPullbackCoherence.conjugate_leftAdjointUniq_hom] |
| 57 | exact Functor.whiskerLeft_id _ |
| 58 | have h₂ : conjugateEquiv (af.comp ax) ac t₂ = |
| 59 | (Scheme.Modules.pushforwardComp (f ⁻¹ᵁ U).ι f).hom := |
| 60 | Scheme.Modules.conjugateEquiv_pullbackComp_inv (f ⁻¹ᵁ U).ι f |
| 61 | have h₃ : conjugateEquiv ac ad t₃ = |
| 62 | (Scheme.Modules.pushforwardCongr (morphismRestrict_ι f U).symm).hom := |
| 63 | OpenPullbackCoherence.PicardOpenPullbackCoherence.conjugate_pullbackCongr_inv (morphismRestrict_ι f U).symm |
| 64 | have h₄ : conjugateEquiv ad (ay.comp ag) t₄ = |
| 65 | (Scheme.Modules.pushforwardComp (f ∣_ U) U.ι).inv := |
| 66 | OpenPullbackCoherence.PicardOpenPullbackCoherence.conjugate_pullbackComp_hom (f ∣_ U) U.ι |
| 67 | have hc := OpenPullbackCoherence.PicardOpenPullbackCoherence.conjugate_five (af.comp rx) (af.comp ax) ac ad (ay.comp ag) (ry.comp ag) |
| 68 | t₁ t₂ t₃ t₄ t₅ |
| 69 | change conjugateEquiv (af.comp rx) (ry.comp ag) (t₅ ≫ t₄ ≫ t₃ ≫ t₂ ≫ t₁) = _ |
| 70 | rw [hc, h₁, h₂, h₃, h₄, h₅, Category.id_comp, Category.comp_id] |
| 71 | rfl |
| 72 | |
| 73 | theorem canonical_eq_adjoint : |
| 74 | (Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f U).symm = |
| 75 | Picard.PoincareBundle.Open.Adjunction.adjointPullbackSquare f U := by |
| 76 | apply Iso.ext |
| 77 | apply (conjugateEquiv |
| 78 | ((Scheme.Modules.pullbackPushforwardAdjunction f).comp |
| 79 | (Scheme.Modules.restrictAdjunction (f ⁻¹ᵁ U).ι)) |
| 80 | ((Scheme.Modules.restrictAdjunction U.ι).comp |
| 81 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)))).injective |
| 82 | exact (canonical_conjugate f U).trans |
| 83 | ((conjugateEquiv _ _).apply_symm_apply (Picard.PoincareBundle.Open.Adjunction.pushforwardSquareIso f U).hom).symm |
| 84 | |
| 85 | theorem canonical_rightMate_isIso : |
| 86 | IsIso (Picard.PoincareBundle.DescentRestriction.rightMate |
| 87 | (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 88 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)) |
| 89 | (Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f U).symm) := by |
| 90 | rw [canonical_eq_adjoint] |
| 91 | exact Picard.PoincareBundle.Open.Adjunction.rightMate_isIso f U |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.IntrinsicOpenSquare.PicardIntrinsicOpenSquare |