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.PairSpace |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralPrescribed.RelationLift |
| 3 | |
| 4 | /-! # Pair Relation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The relative pair family inherits the actual prescribed transport |
| 11 | relation, with its two component maps into the original relation. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 16 | [CommRing R] {s L N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 17 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Q : Over (Spec (.of R))} |
| 18 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (π : X ⟶ Q) |
| 19 | |
| 20 | abbrev IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPairOverlap := DescentCocycleChange.DescentCocycle.overlap π U.prescribedPairProjection |
| 21 | |
| 22 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPairOverlapFst : U.prescribedPairOverlap π ⟶ U.prescribedOverlap π := |
| 23 | pullback.lift (DescentCocycleChange.DescentCocycle.source π U.prescribedPairProjection ≫ U.prescribedPairFst) |
| 24 | (DescentCocycleChange.DescentCocycle.base π U.prescribedPairProjection) |
| 25 | (by simpa only [Category.assoc] using DescentCocycleChange.DescentCocycle.source_condition π U.prescribedPairProjection) |
| 26 | |
| 27 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPairOverlapSnd : U.prescribedPairOverlap π ⟶ U.prescribedOverlap π := |
| 28 | pullback.lift (DescentCocycleChange.DescentCocycle.source π U.prescribedPairProjection ≫ U.prescribedPairSnd) |
| 29 | (DescentCocycleChange.DescentCocycle.base π U.prescribedPairProjection) (by |
| 30 | rw [Category.assoc, ← Category.assoc U.prescribedPairSnd, U.prescribedPairSnd_projection] |
| 31 | exact DescentCocycleChange.DescentCocycle.source_condition π U.prescribedPairProjection) |
| 32 | |
| 33 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedMulOverlap : U.prescribedPairOverlap π ⟶ U.prescribedOverlap π := |
| 34 | pullback.lift (DescentCocycleChange.DescentCocycle.source π U.prescribedPairProjection ≫ U.prescribedMul) |
| 35 | (DescentCocycleChange.DescentCocycle.base π U.prescribedPairProjection) (by |
| 36 | rw [Category.assoc, ← Category.assoc U.prescribedMul, U.prescribedMul_projection] |
| 37 | exact DescentCocycleChange.DescentCocycle.source_condition π U.prescribedPairProjection) |
| 38 | |
| 39 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPairOverlapFst_source : |
| 40 | U.prescribedPairOverlapFst π ≫ DescentCocycleChange.DescentCocycle.source π U.prescribedProjection = |
| 41 | DescentCocycleChange.DescentCocycle.source π U.prescribedPairProjection ≫ U.prescribedPairFst := pullback.lift_fst _ _ _ |
| 42 | |
| 43 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPairOverlapSnd_source : |
| 44 | U.prescribedPairOverlapSnd π ≫ DescentCocycleChange.DescentCocycle.source π U.prescribedProjection = |
| 45 | DescentCocycleChange.DescentCocycle.source π U.prescribedPairProjection ≫ U.prescribedPairSnd := pullback.lift_fst _ _ _ |
| 46 | |
| 47 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedMulOverlap_source : |
| 48 | U.prescribedMulOverlap π ≫ DescentCocycleChange.DescentCocycle.source π U.prescribedProjection = |
| 49 | DescentCocycleChange.DescentCocycle.source π U.prescribedPairProjection ≫ U.prescribedMul := pullback.lift_fst _ _ _ |
| 50 | |
| 51 | instance IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPairOverlap_reduced [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 52 | [IsFinite π.left] [Etale π.left] : IsReduced (U.prescribedPairOverlap π).left := by |
| 53 | let f := DescentCocycleChange.DescentCocycle.source π U.prescribedPairProjection |
| 54 | have h := (IsPullback.of_hasPullback (U.prescribedPairProjection ≫ π) π).map (Over.forget _) |
| 55 | have : IsFinite f.left := MorphismProperty.of_isPullback h.flip (inferInstanceAs (IsFinite π.left)) |
| 56 | have : Etale f.left := MorphismProperty.of_isPullback h.flip (inferInstanceAs (Etale π.left)) |
| 57 | exact Finite.EtaleReduced.finite_etale_isReduced f.left |
| 58 | |
| 59 | variable [NeZero L] [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 60 | (hU : U.IsFine) [IsFinite π.left] [Etale π.left] |
| 61 | (hk : IsKernelPair π.left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left |
| 62 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left) |
| 63 | |
| 64 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPairTarget : U.prescribedPairOverlap π ⟶ U.prescribedPairSpace := |
| 65 | U.prescribedPair_square.lift |
| 66 | (U.prescribedPairOverlapFst π ≫ U.prescribedOverlapTarget hU π hk) |
| 67 | (U.prescribedPairOverlapSnd π ≫ U.prescribedOverlapTarget hU π hk) (by |
| 68 | simp only [Category.assoc, U.prescribedOverlapTarget_base, |
| 69 | IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPairOverlapFst, IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPairOverlapSnd, DescentCocycleChange.DescentCocycle.base, pullback.lift_snd]) |
| 70 | |
| 71 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPairTarget_fst : U.prescribedPairTarget π hU hk ≫ U.prescribedPairFst = |
| 72 | U.prescribedPairOverlapFst π ≫ U.prescribedOverlapTarget hU π hk := |
| 73 | U.prescribedPair_square.lift_fst _ _ _ |
| 74 | |
| 75 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPairTarget_snd : U.prescribedPairTarget π hU hk ≫ U.prescribedPairSnd = |
| 76 | U.prescribedPairOverlapSnd π ≫ U.prescribedOverlapTarget hU π hk := |
| 77 | U.prescribedPair_square.lift_snd _ _ _ |
| 78 | |
| 79 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPairTarget_projection : |
| 80 | U.prescribedPairTarget π hU hk ≫ U.prescribedPairProjection = |
| 81 | DescentCocycleChange.DescentCocycle.base π U.prescribedPairProjection := by |
| 82 | change _ ≫ U.prescribedPairFst ≫ U.prescribedProjection = _ |
| 83 | rw [← Category.assoc, U.prescribedPairTarget_fst, Category.assoc, U.prescribedOverlapTarget_base] |
| 84 | exact pullback.lift_snd _ _ _ |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |