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.IntegralAuxiliary.ActionSpace |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RepresentedRelations |
| 3 | |
| 4 | /-! # Action Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.ActionPoints.IntegralAuxiliaryAction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pairs of a classifying map and locally constant labels give the |
| 11 | actual points of the integral auxiliary relation on reduced tests. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {R : Type} [CommRing R] {X T W : Over (Spec (.of R))} {g L : ℕ} |
| 16 | |
| 17 | theorem labels_comp (a : W ⟶ T) (f : T ⟶ ActionSpace.IntegralAuxiliaryAction.relation X g L) : |
| 18 | ActionSpace.IntegralAuxiliaryAction.labels X g L W (a ≫ f) = (ActionSpace.IntegralAuxiliaryAction.labels X g L T f).comap ⟨a.left, a.left.continuous⟩ := by |
| 19 | apply LocallyConstant.ext |
| 20 | intro x |
| 21 | rfl |
| 22 | |
| 23 | def pair (f : T ⟶ X) (b : LocallyConstant T.left (AbelianModuli.HilbertConstruction.Level.Parameters.LevelLabelAut g L)) : |
| 24 | T ⟶ ActionSpace.IntegralAuxiliaryAction.relation X g L := |
| 25 | prod.lift f ((AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv (Spec (.of R)) _ T).symm b) |
| 26 | |
| 27 | theorem pair_source (f : T ⟶ X) (b : LocallyConstant T.left (AbelianModuli.HilbertConstruction.Level.Parameters.LevelLabelAut g L)) : |
| 28 | pair f b ≫ ActionSpace.IntegralAuxiliaryAction.source X g L = f := prod.lift_fst _ _ |
| 29 | |
| 30 | theorem pair_labels (f : T ⟶ X) (b : LocallyConstant T.left (AbelianModuli.HilbertConstruction.Level.Parameters.LevelLabelAut g L)) : |
| 31 | ActionSpace.IntegralAuxiliaryAction.labels X g L T (pair f b) = b := by |
| 32 | change AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv (Spec (.of R)) _ T |
| 33 | (prod.lift f ((AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv (Spec (.of R)) _ T).symm b) ≫ prod.snd) = b |
| 34 | rw [prod.lift_snd] |
| 35 | exact (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv (Spec (.of R)) _ T).apply_symm_apply b |
| 36 | |
| 37 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 38 | {s N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 39 | {iotaO : NumberField.RingOfIntegers E →+* R} [IsReduced X.left] |
| 40 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (hU : U.IsFine) |
| 41 | |
| 42 | theorem pair_target [IsReduced T.left] (f : T ⟶ X) |
| 43 | (b : LocallyConstant T.left (AbelianModuli.HilbertConstruction.Level.Parameters.LevelLabelAut (3 * s) L)) : |
| 44 | pair f b ≫ ActionSpace.IntegralAuxiliaryAction.target U hU = U.auxiliaryRelabelAt hU f b := by |
| 45 | rw [ActionSpace.IntegralAuxiliaryAction.target_points, pair_source, pair_labels] |
| 46 | |
| 47 | theorem homRelation_iff [IsReduced T.left] (f k : T ⟶ X) : |
| 48 | AbelianModuli.ReferenceFamily.RepresentedRelations.homRelation (ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L) (ActionSpace.IntegralAuxiliaryAction.target U hU) f k ↔ |
| 49 | ∃ b : LocallyConstant T.left (AbelianModuli.HilbertConstruction.Level.Parameters.LevelLabelAut (3 * s) L), |
| 50 | U.auxiliaryRelabelAt hU f b = k := by |
| 51 | constructor |
| 52 | · rintro ⟨a, ha, hk⟩ |
| 53 | refine ⟨ActionSpace.IntegralAuxiliaryAction.labels X (3 * s) L T a, ?_⟩ |
| 54 | have he := ActionSpace.IntegralAuxiliaryAction.target_points U hU T a |
| 55 | rw [ha] at he |
| 56 | exact he.symm.trans hk |
| 57 | · rintro ⟨b, hb⟩ |
| 58 | exact ⟨pair f b, pair_source f b, (pair_target U hU f b).trans hb⟩ |
| 59 | |
| 60 | theorem homEquivalence (T : Over (Spec (.of R))) [IsReduced T.left] : |
| 61 | Equivalence (AbelianModuli.ReferenceFamily.RepresentedRelations.homRelation (ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L) (ActionSpace.IntegralAuxiliaryAction.target U hU) (T := T)) where |
| 62 | refl f := (homRelation_iff U hU f f).mpr ⟨1, U.auxiliaryRelabelAt_one hU f⟩ |
| 63 | symm := by |
| 64 | intro f k h |
| 65 | obtain ⟨b, hb⟩ := (homRelation_iff U hU f k).mp h |
| 66 | apply (homRelation_iff U hU k f).mpr |
| 67 | refine ⟨b⁻¹, ?_⟩ |
| 68 | rw [← hb, U.auxiliaryRelabelAt_mul hU, mul_inv_cancel, U.auxiliaryRelabelAt_one hU] |
| 69 | trans := by |
| 70 | intro f k j hfk hkj |
| 71 | obtain ⟨b, hb⟩ := (homRelation_iff U hU f k).mp hfk |
| 72 | obtain ⟨c, hc⟩ := (homRelation_iff U hU k j).mp hkj |
| 73 | apply (homRelation_iff U hU f j).mpr |
| 74 | refine ⟨b * c, ?_⟩ |
| 75 | rw [← U.auxiliaryRelabelAt_mul hU, hb, hc] |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.ActionPoints.IntegralAuxiliaryAction |