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.AbelianScheme.TateComparison.Correspondences |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.GenericIdentities |
| 3 | |
| 4 | /-! # Correspondence Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CorrespondenceRestriction.IsogenyQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restriction of an actual finite étale correspondence along a moduli |
| 11 | comparison. The source is a scheme-theoretic pullback. Its branch equivalence |
| 12 | preserves individual points and their target images, including repetitions. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Correspondences |
| 16 | |
| 17 | universe u |
| 18 | variable {B : Scheme.{u}} {X Y : Over B} |
| 19 | (C : AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence Y) (i : X ⟶ Y) |
| 20 | |
| 21 | abbrev restrictedCover : Over B := pullback C.source i |
| 22 | |
| 23 | abbrev restrictedSource : restrictedCover C i ⟶ X := pullback.snd C.source i |
| 24 | |
| 25 | instance restrictedSource_finite : IsFinite (restrictedSource C i).left := |
| 26 | MorphismProperty.of_isPullback (P := @IsFinite) |
| 27 | ((Over.forget B).map_isPullback (IsPullback.of_hasPullback C.source i)) C.finite |
| 28 | |
| 29 | instance restrictedSource_etale : Etale (restrictedSource C i).left := |
| 30 | MorphismProperty.of_isPullback (P := @Etale) |
| 31 | ((Over.forget B).map_isPullback (IsPullback.of_hasPullback C.source i)) C.etale |
| 32 | |
| 33 | abbrev restrictCorrespondence (target : restrictedCover C i ⟶ X) : AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence X where |
| 34 | cover := restrictedCover C i |
| 35 | source := restrictedSource C i |
| 36 | target := target |
| 37 | finite := inferInstance |
| 38 | etale := inferInstance |
| 39 | |
| 40 | variable (target : restrictedCover C i ⟶ X) |
| 41 | |
| 42 | def restrictionFiberEquiv {T : Over B} (x : T ⟶ X) : |
| 43 | (restrictCorrespondence C i target).Fiber x ≃ C.Fiber (x ≫ i) where |
| 44 | toFun z := ⟨z.val ≫ pullback.fst C.source i, by |
| 45 | rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 46 | exact congrArg (fun f => f ≫ i) z.property⟩ |
| 47 | invFun z := ⟨pullback.lift z.val x z.property, pullback.lift_snd _ _ _⟩ |
| 48 | left_inv z := by |
| 49 | apply Subtype.ext |
| 50 | apply pullback.hom_ext |
| 51 | · exact pullback.lift_fst _ _ _ |
| 52 | · exact (pullback.lift_snd _ _ _).trans z.property.symm |
| 53 | right_inv z := by |
| 54 | apply Subtype.ext |
| 55 | exact pullback.lift_fst _ _ _ |
| 56 | |
| 57 | theorem restrictionFiberEquiv_endpoint |
| 58 | (htarget : target ≫ i = pullback.fst C.source i ≫ C.target) |
| 59 | {T : Over B} (x : T ⟶ X) |
| 60 | (z : (restrictCorrespondence C i target).Fiber x) : |
| 61 | (restrictCorrespondence C i target).endpoint z ≫ i = |
| 62 | C.endpoint (restrictionFiberEquiv C i target x z) := by |
| 63 | change (z.val ≫ target) ≫ i = (z.val ≫ pullback.fst C.source i) ≫ C.target |
| 64 | rw [Category.assoc, htarget, Category.assoc] |
| 65 | |
| 66 | theorem restrictedCover_reduced [IsReduced X.left] [IsLocallyNoetherian X.left] : |
| 67 | IsReduced (restrictedCover C i).left := by |
| 68 | let : GeometricallyReduced (restrictedSource C i).left := |
| 69 | PELModuli.IntegralModel.GenericIdentities.geometricallyReduced_of_smooth (restrictedSource C i).left |
| 70 | exact GeometricallyReduced.isReduced_of_flat_of_isLocallyNoetherian |
| 71 | (restrictedSource C i).left |
| 72 | |
| 73 | /-- The only factorization needed for the target is that of its actual |
| 74 | map from the reduced source cover. This follows from reduction's universal |
| 75 | property when the comparison is the retained reduced model map. -/ |
| 76 | theorem exists_restricted_target [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 77 | (hlift : ∀ (T : Over B) [IsReduced T.left], |
| 78 | Function.Surjective (fun f : T ⟶ X => f ≫ i)) : |
| 79 | ∃ target : restrictedCover C i ⟶ X, |
| 80 | target ≫ i = pullback.fst C.source i ≫ C.target := by |
| 81 | let : IsReduced (restrictedCover C i).left := restrictedCover_reduced C i |
| 82 | exact hlift (restrictedCover C i) (pullback.fst C.source i ≫ C.target) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CorrespondenceRestriction.IsogenyQuotient |