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.IntegralPrescribed.PairRelation |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Family.QuotientPairRelation |
| 3 | |
| 4 | /-! # Pair Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual relative square of the scalar-changed family descends |
| 11 | to the relative square of the constructed family quotient. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | |
| 16 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 17 | [CommRing R] {s L N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 18 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Q : Over (Spec (.of R))} |
| 19 | [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 20 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (hU : U.IsFine) |
| 21 | (π : X ⟶ Q) [IsFinite π.left] [Etale π.left] [Surjective π.left] |
| 22 | (hk : IsKernelPair π.left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left |
| 23 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left) |
| 24 | |
| 25 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribed_pair_descends |
| 26 | {S : Scheme.{0}} (b : S ⟶ Spec (.of R)) |
| 27 | (A : Over ((Over.pullback b).obj Q).left) |
| 28 | (q : ((Over.pullback b).obj U.prescribedTotalSpace).left ⟶ A.left) |
| 29 | (hcart : IsPullback ((Over.pullback b).map U.prescribedProjection).left q |
| 30 | ((Over.pullback b).map π).left A.hom) |
| 31 | (hq : IsKernelPair q ((Over.pullback b).map (DescentCocycleChange.DescentCocycle.source π U.prescribedProjection)).left |
| 32 | ((Over.pullback b).map (U.prescribedOverlapTarget hU π hk)).left) : |
| 33 | ∃ q₂ : ((Over.pullback b).obj U.prescribedPairSpace).left ⟶ (A ⊗ A).left, |
| 34 | q₂ ≫ (fst A A).left = ((Over.pullback b).map U.prescribedPairFst).left ≫ q ∧ |
| 35 | q₂ ≫ (snd A A).left = ((Over.pullback b).map U.prescribedPairSnd).left ≫ q ∧ |
| 36 | IsPullback ((Over.pullback b).map U.prescribedPairProjection).left q₂ |
| 37 | ((Over.pullback b).map π).left (A ⊗ A).hom ∧ |
| 38 | Flat q₂ ∧ Surjective q₂ ∧ LocallyOfFinitePresentation q₂ ∧ |
| 39 | IsKernelPair q₂ ((Over.pullback b).map (DescentCocycleChange.DescentCocycle.source π U.prescribedPairProjection)).left |
| 40 | ((Over.pullback b).map (U.prescribedPairTarget π hU hk)).left := by |
| 41 | let F := Over.pullback b |
| 42 | have hp : IsPullback (F.map U.prescribedPairFst).left (F.map U.prescribedPairSnd).left |
| 43 | (F.map U.prescribedProjection).left (F.map U.prescribedProjection).left := |
| 44 | (U.prescribedPair_square.map F).map (Over.forget S) |
| 45 | obtain ⟨q₂, h₁, h₂, hc⟩ := Family.QuotientOf.family_quotient_pair_cartesian (F.map π).left |
| 46 | (F.map U.prescribedProjection).left A q hcart _ _ hp |
| 47 | have hap : (F.map U.prescribedPairFst).left ≫ (F.map U.prescribedProjection).left = |
| 48 | (F.map U.prescribedPairProjection).left := by |
| 49 | rw [← Over.comp_left, ← F.map_comp] |
| 50 | rw [hap] at hc |
| 51 | have : Flat (F.map π).left := MorphismProperty.of_isPullback (Specialization.base_change_square b π) |
| 52 | (inferInstanceAs (Flat π.left)) |
| 53 | have : Surjective (F.map π).left := MorphismProperty.of_isPullback (Specialization.base_change_square b π) |
| 54 | (inferInstanceAs (Surjective π.left)) |
| 55 | have : LocallyOfFinitePresentation (F.map π).left := MorphismProperty.of_isPullback |
| 56 | (Specialization.base_change_square b π) (inferInstanceAs (LocallyOfFinitePresentation π.left)) |
| 57 | refine ⟨q₂, h₁, h₂, hc, MorphismProperty.of_isPullback hc (inferInstanceAs (Flat (F.map π).left)), |
| 58 | MorphismProperty.of_isPullback hc (inferInstanceAs (Surjective (F.map π).left)), |
| 59 | MorphismProperty.of_isPullback hc (inferInstanceAs (LocallyOfFinitePresentation (F.map π).left)), ?_⟩ |
| 60 | have hs₁ := congrArg (fun f => (F.map f).left) (U.prescribedPairOverlapFst_source π) |
| 61 | have hs₂ := congrArg (fun f => (F.map f).left) (U.prescribedPairOverlapSnd_source π) |
| 62 | have ht₁ := congrArg (fun f => (F.map f).left) (U.prescribedPairTarget_fst π hU hk) |
| 63 | have ht₂ := congrArg (fun f => (F.map f).left) (U.prescribedPairTarget_snd π hU hk) |
| 64 | simp only [F.map_comp, Over.comp_left] at hs₁ hs₂ ht₁ ht₂ |
| 65 | have heq := Family.QuotientPairRelation.family_quotient_pair_coequalizes A q q₂ _ _ h₁ h₂ _ _ hq.w _ _ _ _ hs₁ hs₂ ht₁ ht₂ |
| 66 | have hsource : IsPullback (F.map (DescentCocycleChange.DescentCocycle.base π U.prescribedPairProjection)).left |
| 67 | (F.map (DescentCocycleChange.DescentCocycle.source π U.prescribedPairProjection)).left (F.map π).left |
| 68 | ((F.map U.prescribedPairProjection).left ≫ (F.map π).left) := by |
| 69 | have h := (((IsPullback.of_hasPullback (U.prescribedPairProjection ≫ π) π).flip).map F).map (Over.forget S) |
| 70 | change IsPullback _ _ _ (F.map (U.prescribedPairProjection ≫ π)).left at h |
| 71 | rw [F.map_comp, Over.comp_left] at h |
| 72 | exact h |
| 73 | have ht := congrArg (fun f => (F.map f).left) (U.prescribedPairTarget_projection π hU hk) |
| 74 | simp only [F.map_comp, Over.comp_left] at ht |
| 75 | rw [hap] at ht |
| 76 | exact Family.QuotientOf.kernelPair_of_cartesian_relation (F.map π).left (F.map U.prescribedPairProjection).left |
| 77 | (A ⊗ A).hom q₂ hc _ _ _ hsource ht heq |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |