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.IntegralPoincare.Relation |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Family.QuotientProduct |
| 3 | |
| 4 | /-! # Poincare Quotient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual dual and abelian quotients construct their product |
| 11 | quotient, with the prescribed Poincare relation as its exact kernel pair. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | |
| 18 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 19 | [CommRing R] {s L N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 20 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Q : Over (Spec (.of R))} |
| 21 | [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 22 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (hU : U.IsFine) |
| 23 | (π : X ⟶ Q) [IsFinite π.left] [Etale π.left] [Surjective π.left] |
| 24 | (hk : IsKernelPair π.left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left |
| 25 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left) |
| 26 | |
| 27 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribed_poincare_product_quotient {S : Scheme.{0}} (b : S ⟶ Spec (.of R)) |
| 28 | (D A : Over ((Over.pullback b).obj Q).left) |
| 29 | (qd : ((Over.pullback b).obj U.prescribedDualTotalSpace).left ⟶ D.left) |
| 30 | (qa : ((Over.pullback b).obj U.prescribedTotalSpace).left ⟶ A.left) |
| 31 | (hd : IsPullback ((Over.pullback b).map U.prescribedDualProjection).left qd |
| 32 | ((Over.pullback b).map π).left D.hom) |
| 33 | (ha : IsPullback ((Over.pullback b).map U.prescribedProjection).left qa |
| 34 | ((Over.pullback b).map π).left A.hom) |
| 35 | (hqd : IsKernelPair qd ((Over.pullback b).map (DescentCocycleChange.DescentCocycle.source π U.prescribedDualProjection)).left |
| 36 | ((Over.pullback b).map (U.prescribedDualOverlapTarget hU π hk)).left) |
| 37 | (hqa : IsKernelPair qa ((Over.pullback b).map (DescentCocycleChange.DescentCocycle.source π U.prescribedProjection)).left |
| 38 | ((Over.pullback b).map (U.prescribedOverlapTarget hU π hk)).left) : |
| 39 | ∃ q : ((Over.pullback b).obj U.prescribedPoincareSpace).left ⟶ (D ⊗ A).left, |
| 40 | q ≫ (fst D A).left = ((Over.pullback b).map U.prescribedPoincareDual).left ≫ qd ∧ |
| 41 | q ≫ (snd D A).left = ((Over.pullback b).map U.prescribedPoincareAbelian).left ≫ qa ∧ |
| 42 | IsPullback ((Over.pullback b).map U.prescribedPoincareProjection).left q |
| 43 | ((Over.pullback b).map π).left (D ⊗ A).hom ∧ |
| 44 | IsFinite q ∧ Etale q ∧ Surjective q ∧ |
| 45 | IsKernelPair q ((Over.pullback b).map (DescentCocycleChange.DescentCocycle.source π U.prescribedPoincareProjection)).left |
| 46 | ((Over.pullback b).map (U.prescribedPoincareTarget π hU hk)).left := by |
| 47 | let F := Over.pullback b |
| 48 | have hp : IsPullback (F.map U.prescribedPoincareDual).left (F.map U.prescribedPoincareAbelian).left |
| 49 | (F.map U.prescribedDualProjection).left (F.map U.prescribedProjection).left := |
| 50 | (U.prescribedPoincare_square.map F).map (Over.forget S) |
| 51 | obtain ⟨q, h₁, h₂, hc⟩ := Family.QuotientProduct.family_quotient_product_cartesian (F.map π).left |
| 52 | (F.map U.prescribedDualProjection).left (F.map U.prescribedProjection).left D A qd qa hd ha _ _ hp |
| 53 | have hap : (F.map U.prescribedPoincareDual).left ≫ (F.map U.prescribedDualProjection).left = |
| 54 | (F.map U.prescribedPoincareProjection).left := by |
| 55 | rw [← Over.comp_left, ← F.map_comp] |
| 56 | rw [hap] at hc |
| 57 | have : IsFinite (F.map π).left := MorphismProperty.of_isPullback (Specialization.base_change_square b π) |
| 58 | (inferInstanceAs (IsFinite π.left)) |
| 59 | have : Etale (F.map π).left := MorphismProperty.of_isPullback (Specialization.base_change_square b π) |
| 60 | (inferInstanceAs (Etale π.left)) |
| 61 | have : Surjective (F.map π).left := MorphismProperty.of_isPullback (Specialization.base_change_square b π) |
| 62 | (inferInstanceAs (Surjective π.left)) |
| 63 | have hf : IsFinite q := MorphismProperty.of_isPullback hc (inferInstanceAs (IsFinite (F.map π).left)) |
| 64 | have het : Etale q := MorphismProperty.of_isPullback hc (inferInstanceAs (Etale (F.map π).left)) |
| 65 | have hsur : Surjective q := MorphismProperty.of_isPullback hc (inferInstanceAs (Surjective (F.map π).left)) |
| 66 | have hs₁ := congrArg (fun m => (F.map m).left) (U.prescribedPoincareOverlapDual_source π) |
| 67 | have hs₂ := congrArg (fun m => (F.map m).left) (U.prescribedPoincareOverlapAbelian_source π) |
| 68 | have ht₁ := congrArg (fun m => (F.map m).left) (U.prescribedPoincareTarget_dual π hU hk) |
| 69 | have ht₂ := congrArg (fun m => (F.map m).left) (U.prescribedPoincareTarget_abelian π hU hk) |
| 70 | simp only [F.map_comp, Over.comp_left] at hs₁ hs₂ ht₁ ht₂ |
| 71 | have he := Family.QuotientProduct.family_quotient_product_coequalizes D A qd qa q _ _ h₁ h₂ |
| 72 | _ _ _ _ hqd.w hqa.w _ _ _ _ hs₁ hs₂ ht₁ ht₂ |
| 73 | have hsource : IsPullback (F.map (DescentCocycleChange.DescentCocycle.base π U.prescribedPoincareProjection)).left |
| 74 | (F.map (DescentCocycleChange.DescentCocycle.source π U.prescribedPoincareProjection)).left (F.map π).left |
| 75 | ((F.map U.prescribedPoincareProjection).left ≫ (F.map π).left) := by |
| 76 | have h := (((IsPullback.of_hasPullback (U.prescribedPoincareProjection ≫ π) π).flip).map F).map |
| 77 | (Over.forget S) |
| 78 | change IsPullback _ _ _ (F.map (U.prescribedPoincareProjection ≫ π)).left at h |
| 79 | rw [F.map_comp, Over.comp_left] at h |
| 80 | exact h |
| 81 | have ht : (F.map (U.prescribedPoincareTarget π hU hk)).left ≫ |
| 82 | (F.map U.prescribedPoincareProjection).left = |
| 83 | (F.map (DescentCocycleChange.DescentCocycle.base π U.prescribedPoincareProjection)).left := by |
| 84 | rw [← Over.comp_left, ← F.map_comp, U.prescribedPoincareTarget_projection] |
| 85 | exact ⟨q, h₁, h₂, hc, hf, het, hsur, Family.QuotientOf.kernelPair_of_cartesian_relation _ _ _ _ hc _ _ _ hsource ht he⟩ |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |