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.SourceFinite.Topology |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEquiv |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedAwayComparison |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ActiveAwayProjection |
| 5 | |
| 6 | /-! # Projection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.Projection.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The source's actual selected local projection and complementary |
| 13 | restricted product, with exact rational-coordinate identities. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticForms.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ActiveAwayProjection.Approximation |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QadicPlace.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceFinite.Product.CM |
| 21 | |
| 22 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 23 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} (C : GeometricSource.CM.SymplecticCoordinates E B places) |
| 24 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 25 | |
| 26 | abbrev Away := CMExtraction.RestrictedAwaySame.Approximation.RestrictedAway |
| 27 | (fun v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace (Source.QuadraticConjugation.CM.Field.RealField E) => |
| 28 | RepresentationTheory.Theta.Adelic.IntegralTopology.localSUIntegral (Source.QuadraticConjugation.CM.Field.RealField E) (Source.QuadraticForms.CM.hermitianForm E C).val (.inr v)) |
| 29 | (Source.QadicPlace.CM.place E f) |
| 30 | |
| 31 | def localProjection : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU |
| 32 | (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.localizedForm (Source.QuadraticConjugation.CM.Field.RealField E) (Source.QuadraticForms.CM.hermitianForm E C).val (.inr (Source.QadicPlace.CM.place E f))) →ₜ* |
| 33 | Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] := |
| 34 | ⟨(Source.QadicSpecialLinear.CM.equivalence E C f).toMonoidHom, |
| 35 | Source.QadicTopology.CM.equivalence_continuous E C f⟩ |
| 36 | |
| 37 | def projection := |
| 38 | CMExtraction.ActiveAwayProjection.Approximation.activeAwayProjection (Source.QuadraticConjugation.CM.Field.RealField E) (d := Source.QuadraticConjugation.CM.Field.discriminant E C) |
| 39 | (Source.QuadraticForms.CM.hermitianForm E C) (Source.QadicPlace.CM.place E f) (localProjection E C f) |
| 40 | |
| 41 | def rational := |
| 42 | (CMExtraction.ActiveAwayProjection.Approximation.activeAwayProjection (Source.QuadraticConjugation.CM.Field.RealField E) (d := Source.QuadraticConjugation.CM.Field.discriminant E C) |
| 43 | (Source.QuadraticForms.CM.hermitianForm E C) (Source.QadicPlace.CM.place E f) (localProjection E C f)).toMonoidHom.comp |
| 44 | ((RepresentationTheory.Theta.Adelic.RationalSU.rationalFiniteSU (Source.QuadraticConjugation.CM.Field.RealField E) (Source.QuadraticForms.CM.hermitianForm E C)).comp |
| 45 | (Source.UnitaryMatrix.CM.hom E C)) |
| 46 | |
| 47 | theorem rational_first (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : |
| 48 | (rational E C f g).1 = Matrix.SpecialLinearGroup.map f g.val := |
| 49 | Source.QadicSpecialLinear.CM.rational_map E C f g |
| 50 | |
| 51 | theorem rational_away (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : |
| 52 | (rational E C f g).2 = RestrictedAwayComparison.CM.forget (SourceFinite.Product.CM.levels E C) (Source.QadicPlace.CM.place E f) |
| 53 | (SourceFinite.Product.CM.awayHom E C f g) := |
| 54 | (RestrictedAwayComparison.CM.forget_remove (SourceFinite.Product.CM.levels E C) (Source.QadicPlace.CM.place E f) |
| 55 | (Source.RationalLocal.CM.finiteHom E C g)).symm |
| 56 | |
| 57 | theorem rational_range : Set.range (rational E C f) = |
| 58 | Set.range (fun g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (Source.QuadraticForms.CM.hermitianForm E C).val => |
| 59 | projection E C f (RepresentationTheory.Theta.Adelic.RationalSU.rationalFiniteSU |
| 60 | (Source.QuadraticConjugation.CM.Field.RealField E) (Source.QuadraticForms.CM.hermitianForm E C) g)) := by |
| 61 | let t := fun g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (Source.QuadraticForms.CM.hermitianForm E C).val => |
| 62 | projection E C f (RepresentationTheory.Theta.Adelic.RationalSU.rationalFiniteSU |
| 63 | (Source.QuadraticConjugation.CM.Field.RealField E) (Source.QuadraticForms.CM.hermitianForm E C) g) |
| 64 | change Set.range (t ∘ Source.UnitaryEquiv.CM.equivalence E C) = Set.range t |
| 65 | exact (Source.UnitaryEquiv.CM.equivalence E C).surjective.range_comp t |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.Projection.CM |