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.RationalAwayTopology |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuaternionClosure |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RotatedActiveDensity |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.InducedProductCompatibility |
| 5 | |
| 6 | /-! # Rational Density -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RationalDensity |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Density of the actual rational source in its active SL3 factor and |
| 13 | commuting away range, with the topology of the other finite places. -/ |
| 14 | |
| 15 | attribute [local instance 2000] Subgroup.toGroup Prod.instGroup |
| 16 | open scoped Classical _root_.NumberField _root_.Matrix |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 18 | |
| 19 | namespace CM |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RationalAwayTopology.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FactorTheta.CM.RationalWeilFactorization |
| 21 | |
| 22 | private theorem subgroupClosure {X A B Γ : Type*} |
| 23 | [Group X] [Group A] [Group B] [Group Γ] |
| 24 | [TopologicalSpace X] [TopologicalSpace A] [TopologicalSpace B] |
| 25 | [IsTopologicalGroup X] [IsTopologicalGroup A] |
| 26 | (p : A →* B) (r : Γ →* X × A) (s : Γ →* X × B) |
| 27 | (hc : ∀ g, Prod.map id p (r g) = s g) (hp : Topology.IsInducing p) |
| 28 | (x : X) (hx : (x, (1 : B)) ∈ closure (Set.range s)) : |
| 29 | (x, (1 : A)) ∈ r.range.topologicalClosure := |
| 30 | CMExtraction.InducedProductCompatibility.Approximation.compatible_induced_supported_closure p r s hc hp x hx |
| 31 | |
| 32 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 33 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 34 | (L : GeometricSource.CM.LinePeriod E B places d) {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 35 | |
| 36 | local instance awayGroup : Group (FactorTheta.CM.RationalWeilFactorization.Away E L f) := Subgroup.toGroup (FactorTheta.CM.RationalWeilFactorization.Away E L f) |
| 37 | local instance awayMulOneClass : MulOneClass (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 38 | SubmonoidClass.toMulOneClass (FactorTheta.CM.RationalWeilFactorization.Away E L f) |
| 39 | local instance sourceMulOneClass : |
| 40 | MulOneClass (Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 41 | (show Group (Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f) from Prod.instGroup).toMulOneClass |
| 42 | local instance awayTopologicalGroup : IsTopologicalGroup (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 43 | RationalAwayTopology.CM.topologicalGroup E L f |
| 44 | |
| 45 | local instance sourceTopologicalGroup : |
| 46 | IsTopologicalGroup (Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 47 | Prod.instIsTopologicalGroup |
| 48 | |
| 49 | abbrev binary_mem_closure (A : Matrix.SpecialLinearGroup (Fin 2) ℚ_[q]) := |
| 50 | subgroupClosure (RationalAwayTopology.CM.coordinates E L f) (RationalAwayTopology.CM.rational E L f) |
| 51 | (SourceAdelic.Projection.CM.rational E (OppositeCoordinates.CM.coordinates E L.coordinates) f) |
| 52 | (RationalAwayTopology.CM.compatible E L f) (RationalAwayTopology.CM.coordinates_inducing E L f) (CMExtraction.Quaternion.QuadraticUnitary.activeBinaryBlock A) |
| 53 | (QuaternionClosure.CM.binary_mem_closure_restricted E |
| 54 | (OppositeCoordinates.CM.coordinates E L.coordinates) f A) |
| 55 | |
| 56 | theorem dense : DenseRange (RationalAwayTopology.CM.rational E L f) := by |
| 57 | let γ : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b := |
| 58 | CMExtraction.ActiveRotation.Approximation.positiveRotationUnitary E (NumberField.IsCMField.complexConj E).toRingHom B.b |
| 59 | have hγ : (RationalAwayTopology.CM.rational E L f γ).1 = CMExtraction.ActiveRotation.Approximation.positiveRotation ℚ_[q] := CMExtraction.ActiveRotation.Approximation.positiveRotation_map E f |
| 60 | apply CMExtraction.RotatedActiveDensity.Approximation.denseRange_product_of_binary_and_rotation (RationalAwayTopology.CM.rational E L f) (RationalAwayTopology.CM.away_surjective E L f) γ hγ |
| 61 | · intro x |
| 62 | simpa only [CMExtraction.ActiveRotation.Approximation.activeBinaryBlock_forward] using |
| 63 | binary_mem_closure E L f (Matrix.SpecialLinearGroup.transvection (show (0 : Fin 2) ≠ 1 by decide) x) |
| 64 | · intro x |
| 65 | simpa only [CMExtraction.ActiveRotation.Approximation.activeBinaryBlock_backward] using |
| 66 | binary_mem_closure E L f (Matrix.SpecialLinearGroup.transvection (show (1 : Fin 2) ≠ 0 by decide) x) |
| 67 | |
| 68 | end CM |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RationalDensity |