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.HodgeConjecture.HeckeCycles.Source.PELLevel |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FilledLocal |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PEL.PrincipalOpen |
| 4 | |
| 5 | /-! # Marked Away Level -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.MarkedAwayLevel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pull back the actual marked principal PEL level to the source away |
| 12 | group, retaining the rational-membership and assembly identifications. -/ |
| 13 | |
| 14 | attribute [local instance 2000] Subgroup.toGroup Prod.instGroup |
| 15 | open scoped Classical _root_.NumberField |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FactorTheta.CM.RationalWeilFactorization |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RationalAwayTopology.CM |
| 19 | |
| 20 | namespace CM |
| 21 | |
| 22 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 23 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 24 | (L : GeometricSource.CM.LinePeriod E B places d) {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hb : P.b = B.b) |
| 25 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 26 | |
| 27 | local instance markedAwayGroup : Group (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 28 | Subgroup.toGroup (FactorTheta.CM.RationalWeilFactorization.Away E L f) |
| 29 | |
| 30 | local instance markedAwayMonoid : Monoid (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 31 | (markedAwayGroup E L f).toMonoid |
| 32 | |
| 33 | local instance markedAwayMulOneClass : MulOneClass (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 34 | (markedAwayGroup E L f).toMulOneClass |
| 35 | |
| 36 | def map : FactorTheta.CM.RationalWeilFactorization.Away E L f →ₜ* P.FiniteSpecialUnitary where |
| 37 | toFun a := PELFiniteGroup.CM.pel E |
| 38 | (OppositeCoordinates.CM.coordinates E L.coordinates) P hb a.val.1.val |
| 39 | map_one' := (PELFiniteGroup.CM.pel E |
| 40 | (OppositeCoordinates.CM.coordinates E L.coordinates) P hb).map_one |
| 41 | map_mul' a b := (PELFiniteGroup.CM.pel E |
| 42 | (OppositeCoordinates.CM.coordinates E L.coordinates) P hb).map_mul a.val.1.val b.val.1.val |
| 43 | continuous_toFun := by |
| 44 | have hs : Continuous (fun a : SourceFinite.Product.CM.Away E |
| 45 | (OppositeCoordinates.CM.coordinates E L.coordinates) f => |
| 46 | (a.val : SourceFinite.Product.CM.FiniteGroup E |
| 47 | (OppositeCoordinates.CM.coordinates E L.coordinates))) := continuous_subtype_val |
| 48 | exact (PELFiniteGroup.CM.pel E |
| 49 | (OppositeCoordinates.CM.coordinates E L.coordinates) P hb).continuous.comp |
| 50 | (hs.comp (RationalAwayCoordinates.CM.native_continuous E L f)) |
| 51 | |
| 52 | variable {J : Type*} [Fintype J] [DecidableEq J] [Submodule.IsLattice ℚ P.lattice] |
| 53 | (b : Module.Basis J ℤ P.lattice) (N : ℕ) (hN : 0 < N) |
| 54 | |
| 55 | def level : OpenSubgroup (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 56 | (CMExtraction.PEL.PrincipalOpen.Approximation.pelPrincipalOpenSubgroup E P b N hN).comap |
| 57 | (map E L P hb f).toMonoidHom (map E L P hb f).continuous |
| 58 | |
| 59 | theorem rational_mem (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : |
| 60 | FactorTheta.CM.RationalWeilFactorization.away E L f g ∈ level E L P hb f b N hN ↔ |
| 61 | FilledLocal.CM.PEL.hom E (OppositeCoordinates.CM.coordinates E L.coordinates) P hb f g ∈ |
| 62 | P.adelicPrincipalLevel N := Iff.rfl |
| 63 | |
| 64 | theorem assemble_away (a : FactorTheta.CM.RationalWeilFactorization.Away E L f) : |
| 65 | IntrinsicActiveClosure.CM.Intrinsic.assemble E L f (1, a) = (RationalAwayTopology.CM.nativeCoordinates E L f a).val := by |
| 66 | have h := SourceFinite.Product.CM.equivalence_apply E |
| 67 | (OppositeCoordinates.CM.coordinates E L.coordinates) f 1 (RationalAwayTopology.CM.nativeCoordinates E L f a) |
| 68 | refine h.trans ?_ |
| 69 | have hi := congrArg (RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace |
| 70 | (SourceFinite.Product.CM.levels E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 71 | (QadicPlace.CM.place E f)) |
| 72 | (QadicSpecialLinear.CM.equivalence E |
| 73 | (OppositeCoordinates.CM.coordinates E L.coordinates) f).symm.map_one |
| 74 | have hi' := hi.trans (RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace |
| 75 | (SourceFinite.Product.CM.levels E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 76 | (QadicPlace.CM.place E f)).map_one |
| 77 | exact (congrArg (fun g => g * (RationalAwayTopology.CM.nativeCoordinates E L f a).val) hi').trans (one_mul _) |
| 78 | |
| 79 | end CM |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.MarkedAwayLevel |