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