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.Prescribed.ScalarGroupOperations |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Prescribed.ZeroDescent |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Prescribed.InverseDescent |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Prescribed.MultiplicationDescent |
| 5 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.GroupPair |
| 6 | |
| 7 | /-! # Group Descent -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Construct the commutative group structure on the actual arithmetic |
| 14 | family quotient, with the actual covering-family group comparison. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 20 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 21 | |
| 22 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 23 | [CommRing R] {s L N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 24 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Q : Over (Spec (.of R))} |
| 25 | [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 26 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (hU : U.IsFine) |
| 27 | (π : X ⟶ Q) [IsFinite π.left] [Etale π.left] [Surjective π.left] |
| 28 | (hk : IsKernelPair π.left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left |
| 29 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left) |
| 30 | |
| 31 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribed_group_descends (hrigid : U.PrescribedRigid) |
| 32 | {S : Scheme.{0}} (b : S ⟶ Spec (.of R)) |
| 33 | (A : Over ((Over.pullback b).obj Q).left) |
| 34 | (q : ((Over.pullback b).obj U.prescribedTotalSpace).left ⟶ A.left) |
| 35 | [Flat q] [Surjective q] [LocallyOfFinitePresentation q] |
| 36 | (hcart : IsPullback ((Over.pullback b).map U.prescribedProjection).left q |
| 37 | ((Over.pullback b).map π).left A.hom) |
| 38 | (hq : IsKernelPair q ((Over.pullback b).map (DescentCocycleChange.DescentCocycle.source π U.prescribedProjection)).left |
| 39 | ((Over.pullback b).map (U.prescribedOverlapTarget hU π hk)).left) : |
| 40 | ∃ gA : GrpObj A, (letI := gA; IsCommMonObj A) ∧ |
| 41 | ∃ e : (Relative.ScalarFunctor.relativeScalarFunctor b X).obj U.forgetAuxiliary.data.polarized.abelian.scheme ≅ |
| 42 | (Over.pullback ((Over.pullback b).map π).left).obj A, |
| 43 | e.hom.left ≫ pullback.fst A.hom ((Over.pullback b).map π).left = q ∧ |
| 44 | (letI := gA; IsMonHom e.hom) := by |
| 45 | let F := Over.pullback b |
| 46 | let H := Relative.ScalarFunctor.relativeScalarFunctor b X |
| 47 | let G := U.forgetAuxiliary.data.polarized.abelian.scheme |
| 48 | let u := (F.map π).left |
| 49 | have : Flat u := MorphismProperty.of_isPullback (Specialization.base_change_square b π) (inferInstanceAs (Flat π.left)) |
| 50 | have : Surjective u := MorphismProperty.of_isPullback (Specialization.base_change_square b π) (inferInstanceAs (Surjective π.left)) |
| 51 | have : LocallyOfFinitePresentation u := MorphismProperty.of_isPullback |
| 52 | (Specialization.base_change_square b π) (inferInstanceAs (LocallyOfFinitePresentation π.left)) |
| 53 | let e : H.obj G ≅ (Over.pullback u).obj A := |
| 54 | Over.isoMk hcart.flip.isoPullback hcart.flip.isoPullback_hom_snd |
| 55 | have he : e.hom.left ≫ pullback.fst A.hom u = q := hcart.flip.isoPullback_hom_fst |
| 56 | obtain ⟨z, hz, _⟩ := U.prescribed_zero_descends hU π hk hrigid b A q hcart hq |
| 57 | obtain ⟨d, hd, _⟩ := U.prescribed_inverse_descends hU π hk hrigid b A q hcart hq |
| 58 | obtain ⟨q₂, h₁, h₂, _, _, _, _, m, hm, _⟩ := |
| 59 | U.prescribed_multiplication_descends hU π hk hrigid b A q hcart hq |
| 60 | let qp := (Functor.LaxMonoidal.μ H G G).left ≫ q₂ |
| 61 | have hμ₁ : (Functor.LaxMonoidal.μ H G G).left ≫ (F.map U.prescribedPairFst).left = |
| 62 | (fst (H.obj G) (H.obj G)).left := |
| 63 | congrArg Over.Hom.left (Functor.Monoidal.μ_fst H G G) |
| 64 | have hμ₂ : (Functor.LaxMonoidal.μ H G G).left ≫ (F.map U.prescribedPairSnd).left = |
| 65 | (snd (H.obj G) (H.obj G)).left := |
| 66 | congrArg Over.Hom.left (Functor.Monoidal.μ_snd H G G) |
| 67 | have hp₁ : qp ≫ (fst A A).left = (fst (H.obj G) (H.obj G)).left ≫ q := by |
| 68 | change (_ ≫ q₂) ≫ _ = _ |
| 69 | rw [Category.assoc, h₁, ← Category.assoc, hμ₁] |
| 70 | have hp₂ : qp ≫ (snd A A).left = (snd (H.obj G) (H.obj G)).left ≫ q := by |
| 71 | change (_ ≫ q₂) ≫ _ = _ |
| 72 | rw [Category.assoc, h₂, ← Category.assoc, hμ₂] |
| 73 | have hz' : u ≫ z.left = (MonObj.one : 𝟙_ (Over ((F.obj X).left)) ⟶ H.obj G).left ≫ q := by |
| 74 | rw [U.prescribed_scalar_one b] |
| 75 | exact hz |
| 76 | have hd' : q ≫ d.left = (GrpObj.inv : H.obj G ⟶ H.obj G).left ≫ q := by |
| 77 | rw [U.prescribed_scalar_inverse b] |
| 78 | exact hd |
| 79 | have hm' : qp ≫ m.left = (MonObj.mul : H.obj G ⊗ H.obj G ⟶ H.obj G).left ≫ q := by |
| 80 | rw [U.prescribed_scalar_mul b] |
| 81 | change (_ ≫ q₂) ≫ _ = _ |
| 82 | rw [Category.assoc, hm, Category.assoc] |
| 83 | obtain ⟨gA, hgA, heG⟩ := Cartesian.GroupPair.commutative_group_descends_from_cartesian_operations u (H.obj G) A |
| 84 | e q he qp hp₁ hp₂ z m d hz' hm' hd' |
| 85 | exact ⟨gA, hgA, e, he, heG⟩ |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |