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.BoundedRelativeAction |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.ActionFunctor |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.LieRankRestriction |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.PEL.BaseChange |
| 5 | |
| 6 | /-! # Action Functor -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.ActionFunctor |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual integral PEL-action functor on a fixed varying polarized |
| 13 | family, with the constructed affine representing objects on reduced tests. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 20 | [CommRing R] {s N : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 21 | (iotaO : NumberField.RingOfIntegers E →+* R) (M : Over (Spec (.of R))) |
| 22 | (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel (3 * s) P.polarizationType N M.left) |
| 23 | |
| 24 | def relativePELActionSubfunctor : Subfunctor (Integral.ActionFunctor.integralActionFunctor A.abelian E) where |
| 25 | obj T := {ρ | AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation (A.pullback T.unop.hom) ρ ∧ |
| 26 | PEL.Has.HasIntegralLieRanks P R iotaO ((Over.map M.hom).obj T.unop) (A.abelian.pullback T.unop.hom) ρ} |
| 27 | map {T U} f := by |
| 28 | intro ρ hρ |
| 29 | refine ⟨RosatiRestriction.rosati_restrictIntegralAction A ρ hρ.1 f.unop, ?_⟩ |
| 30 | apply (Integral.LieRankRestriction.integralLieRanks_restrict_iff P iotaO M A.abelian ρ f.unop).mpr |
| 31 | exact PEL.BaseChange.integralLieRanks_pullback (P := P) (R := R) (iotaO := iotaO) |
| 32 | (X := (Over.map M.hom).obj T.unop) (Y := (Over.map M.hom).obj U.unop) |
| 33 | (A.abelian.pullback T.unop.hom) ρ hρ.2 |
| 34 | ((Over.map M.hom).map f.unop) |
| 35 | |
| 36 | def relativePELActionFunctor : (Over M.left)ᵒᵖ ⥤ Type := |
| 37 | (relativePELActionSubfunctor P iotaO M A).toFunctor |
| 38 | |
| 39 | theorem exists_affine_relative_pel_action_representation |
| 40 | [IsAffine M.left] [IsLocallyNoetherian M.left] (D : CM.GeneratorReconstruction.CMIntegralGeneratorData E) |
| 41 | (hPresentations : Presentations.Hilbert.EndomorphismEquationsInput.{0}) |
| 42 | (hc : ∀ x : M.left, IsUnit (D.conductor : M.left.presheaf.stalk x)) : |
| 43 | ∃ Z : Over M.left, IsReduced Z.left ∧ LocallyOfFiniteType Z.hom ∧ QuasiCompact Z.hom ∧ IsSeparated Z.hom ∧ |
| 44 | ∃ u : (relativePELActionFunctor P iotaO M A).obj (op Z), |
| 45 | ∀ (T : Over M.left) [IsReduced T.left], |
| 46 | Function.Bijective (fun f : T ⟶ Z => (relativePELActionFunctor P iotaO M A).map f.op u) := by |
| 47 | obtain ⟨Z, hr, hft, hqc, hsep, ρZ, hRos, hLie, hclass⟩ := |
| 48 | BoundedRelativeAction.exists_bounded_relative_pel_action_scheme D P iotaO M A hPresentations hc |
| 49 | let u : (relativePELActionFunctor P iotaO M A).obj (op Z) := ⟨ρZ, hRos, hLie⟩ |
| 50 | refine ⟨Z, hr, hft, hqc, hsep, u, fun T _ => ?_⟩ |
| 51 | apply (Function.bijective_iff_existsUnique _).mpr |
| 52 | intro ρ |
| 53 | obtain ⟨f, hf, huniq⟩ := (hclass T ρ.val).mp ρ.property |
| 54 | refine ⟨f, Subtype.ext hf, fun e he => huniq e ?_⟩ |
| 55 | exact congrArg Subtype.val he |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.ActionFunctor |