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.AbelianModuli.ReferenceFamily.FieldRelativePELAction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.UnramifiedQuasiFinite |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.ActionFieldFaithfulness |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.FaithfulPullbackParameter |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.TypeParameterNoetherian |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SchemeUnramifiedFieldCriterion |
| 7 | |
| 8 | /-! # Action Unramified -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.ActionUnramified |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The constructed all-test PEL-action parameter is formally unramified |
| 15 | over its original noetherian base, including at nonreduced tests. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | theorem exists_global_unramified_relative_pel_action_representation |
| 23 | {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 24 | [NumberField.IsCMField E] [CommRing R] [Algebra ℚ R] |
| 25 | {s N : ℕ} (P : Datum.RankThreePELDatum E s) |
| 26 | (iotaO : NumberField.RingOfIntegers E →+* R) |
| 27 | (M : Over (Spec (.of R))) [IsNoetherian M.left] |
| 28 | (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel (3 * s) P.polarizationType N M.left) |
| 29 | (D : PELModuli.IntegralModel.CM.GeneratorReconstruction.CMIntegralGeneratorData E) |
| 30 | (hc : ∀ x : M.left, IsUnit (D.conductor : M.left.presheaf.stalk x)) : |
| 31 | ∃ Z : Over M.left, IsNoetherian Z.left ∧ |
| 32 | LocallyOfFiniteType Z.hom ∧ QuasiCompact Z.hom ∧ IsSeparated Z.hom ∧ |
| 33 | FormallyUnramified Z.hom ∧ |
| 34 | ∃ u : (PELModuli.IntegralModel.Relative.ActionFunctor.relativePELActionFunctor P iotaO M A).obj (op Z), |
| 35 | ∀ (T : Over M.left), Function.Bijective |
| 36 | (fun f : T ⟶ Z => (PELModuli.IntegralModel.Relative.ActionFunctor.relativePELActionFunctor P iotaO M A).map f.op u) := by |
| 37 | obtain ⟨Z, hn, hft, hqc, hsep, u, hclass⟩ := |
| 38 | Global.RelativePELAction.exists_global_relative_pel_action_representation P iotaO M A D hc |
| 39 | let := hft |
| 40 | let := hqc |
| 41 | have hu : FormallyUnramified Z.hom := by |
| 42 | apply HilbertConstruction.SchemeUnramifiedFieldCriterion.formallyUnramified_of_fieldPullbacks Z.hom |
| 43 | intro K _ k |
| 44 | have hN : IsNoetherian |
| 45 | (pullback ((Over.pullback k).obj Z).hom ((Over.pullback k).obj Z).hom) := |
| 46 | HilbertConstruction.Finite.TypeParameterNoetherian.finiteTypeParameter_pullback_selfProduct_noetherian Z k |
| 47 | apply HilbertConstruction.RigidParameterDiagonal.fieldFaithfulParameter_formallyUnramified ((Over.pullback k).obj Z) |
| 48 | apply HilbertConstruction.Field.FaithfulPullbackParameter.fieldFaithfulParameter_pullback |
| 49 | intro F _ T _ s a b hab |
| 50 | let V : Over M.left := Over.mk (T.hom ≫ k) |
| 51 | let W : Over M.left := Over.mk (s ≫ V.hom) |
| 52 | let c : W ⟶ V := Over.homMk s rfl |
| 53 | have he : c ≫ a = c ≫ b := Over.OverMorphism.ext hab |
| 54 | apply (hclass V).injective |
| 55 | apply Subtype.ext |
| 56 | apply Integral.ActionFieldFaithfulness.integralAction_eq_of_field_restriction A.abelian k T s |
| 57 | have hv := congrArg |
| 58 | (fun f : W ⟶ Z => (PELModuli.IntegralModel.Relative.ActionFunctor.relativePELActionFunctor P iotaO M A).map f.op u) he |
| 59 | have hr := congrArg Subtype.val hv |
| 60 | change PELModuli.IntegralModel.Integral.ActionScheme.restrictIntegralAction A.abelian u.val (c ≫ a) = |
| 61 | PELModuli.IntegralModel.Integral.ActionScheme.restrictIntegralAction A.abelian u.val (c ≫ b) at hr |
| 62 | exact (PELModuli.IntegralModel.Integral.ActionScheme.restrictIntegralAction_comp A.abelian c a u.val).symm.trans |
| 63 | (hr.trans (PELModuli.IntegralModel.Integral.ActionScheme.restrictIntegralAction_comp A.abelian c b u.val)) |
| 64 | exact ⟨Z, hn, hft, hqc, hsep, hu, u, hclass⟩ |
| 65 | |
| 66 | theorem exists_field_unramified_relative_pel_action_representation |
| 67 | {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 68 | [NumberField.IsCMField E] [Field K] [CharZero K] |
| 69 | {s N : ℕ} (P : Datum.RankThreePELDatum E s) |
| 70 | (iotaO : NumberField.RingOfIntegers E →+* K) |
| 71 | (M : Over (Spec (.of K))) [IsNoetherian M.left] |
| 72 | (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel (3 * s) P.polarizationType N M.left) : |
| 73 | ∃ Z : Over M.left, IsNoetherian Z.left ∧ |
| 74 | LocallyOfFiniteType Z.hom ∧ QuasiCompact Z.hom ∧ IsSeparated Z.hom ∧ |
| 75 | FormallyUnramified Z.hom ∧ LocallyQuasiFinite Z.hom ∧ |
| 76 | ∃ u : (PELModuli.IntegralModel.Relative.ActionFunctor.relativePELActionFunctor P iotaO M A).obj (op Z), |
| 77 | ∀ (T : Over M.left), Function.Bijective |
| 78 | (fun f : T ⟶ Z => (PELModuli.IntegralModel.Relative.ActionFunctor.relativePELActionFunctor P iotaO M A).map f.op u) := by |
| 79 | let D := Classical.choice (PELModuli.IntegralModel.CM.GeneratorReconstruction.cm_integral_generator_data_exists E) |
| 80 | obtain ⟨Z, hn, hft, hqc, hsep, hu, u, hclass⟩ := |
| 81 | exists_global_unramified_relative_pel_action_representation P iotaO M A D |
| 82 | (fun x => FieldRelativePELAction.positive_integer_unit_in_field_base_stalk M.hom D.conductor |
| 83 | (Nat.pos_of_ne_zero D.conductor_ne_zero) x) |
| 84 | let := hft |
| 85 | let := hu |
| 86 | exact ⟨Z, hn, hft, hqc, hsep, hu, HilbertConstruction.UnramifiedQuasiFinite.locallyQuasiFinite_of_unramified Z.hom, u, hclass⟩ |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.ActionUnramified |