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.CMExtraction.CoordinateCalibration |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.JointDepth |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.AdmissibleAwayLevel |
| 4 | |
| 5 | /-! # Preprime Calibration -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PreprimeCalibration.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! A retained normalized test, calibrated source level, and joint principal |
| 14 | depth. All fields are chosen before a finite prime or a local lift. -/ |
| 15 | |
| 16 | open scoped Classical _root_.Matrix |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CoordinateCalibration.Multiplicity OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.AdmissibleAwayLevel.Approximation OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.JointDepth.TestTransport |
| 19 | |
| 20 | attribute [local instance] Intrinsic.Multiplicity.nativePlaceDecidableEq Intrinsic.Multiplicity.nativeTripleDecidableEq |
| 21 | |
| 22 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 23 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 24 | (hμ : P.μ = E.val.toRingHom) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 25 | {MpR MpF MpA : Type} [Group MpR] [Group MpF] [Group MpA] |
| 26 | (W : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.WeilData (Fin s × Fin 3) MpR MpF MpA) |
| 27 | |
| 28 | structure RetainedPreprimeData where |
| 29 | coordinates : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ) |
| 30 | pairing : ∀ x y, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.coordinatePairing (coordinates x) (coordinates y) = |
| 31 | Algebra.trace ℚ E (P.imaginaryScalar * Intrinsic.Multiplicity.nativeTensorPairing E P v x y) |
| 32 | thetaTest : Intrinsic.NonzeroTest.NativeThetaTest E P hP hμ v hv coordinates pairing |
| 33 | calibration : RationalTest.Intrinsic.RationalTestCalibration E P hP hμ v hv coordinates pairing W thetaTest.test |
| 34 | depth : ℕ |
| 35 | depth_pos : 0 < depth |
| 36 | projective_dvd : PEL.ChosenProjectiveDepth.TestTransport.pelProjectiveDepth E P coordinates W thetaTest.test |
| 37 | (AdmissibleAwayLevel.Approximation.admissible_lattice_fg E P hP) (AdmissibleAwayLevel.Approximation.admissible_lattice_span E P hP) |
| 38 | (Intrinsic.NonzeroTest.nativeThetaTest_ne_zero E P hP hμ v hv coordinates pairing thetaTest) |
| 39 | thetaTest.support thetaTest.level thetaTest.level_pos thetaTest.period ∣ depth |
| 40 | source_depth : ∀ N : ℕ, depth ∣ N → ∀ g : CM.FiniteAway.Approximation.CMFiniteSU E P hP, |
| 41 | CM.AwayPELLevel.Approximation.cmOriginalPELHomeomorph E P hP g ∈ P.adelicPrincipalLevel N → g ∈ calibration.sourceLevel |
| 42 | |
| 43 | end |
| 44 | |
| 45 | /-! Build the joint pre-prime data from an actually calibrated source level. -/ |
| 46 | |
| 47 | open scoped Classical _root_.Matrix |
| 48 | |
| 49 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CoordinateCalibration.Multiplicity OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.AdmissibleAwayLevel.Approximation OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.JointDepth.TestTransport |
| 50 | |
| 51 | attribute [local instance] Intrinsic.Multiplicity.nativePlaceDecidableEq Intrinsic.Multiplicity.nativeTripleDecidableEq |
| 52 | |
| 53 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 54 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 55 | (hμ : P.μ = E.val.toRingHom) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 56 | {MpR MpF MpA : Type} [Group MpR] [Group MpF] [Group MpA] |
| 57 | (W : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.WeilData (Fin s × Fin 3) MpR MpF MpA) |
| 58 | |
| 59 | def retainedPreprimeOfCalibration |
| 60 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 61 | (he : ∀ x y, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.coordinatePairing (e x) (e y) = |
| 62 | Algebra.trace ℚ E (P.imaginaryScalar * Intrinsic.Multiplicity.nativeTensorPairing E P v x y)) |
| 63 | (T : Intrinsic.NonzeroTest.NativeThetaTest E P hP hμ v hv e he) |
| 64 | (R : RationalTest.Intrinsic.RationalTestCalibration E P hP hμ v hv e he W T.test) : |
| 65 | RetainedPreprimeData E P hP hμ v hv W := by |
| 66 | let h := JointDepth.TestTransport.exists_retained_joint_depth E P hP e W T.test |
| 67 | (AdmissibleAwayLevel.Approximation.admissible_lattice_fg E P hP) (AdmissibleAwayLevel.Approximation.admissible_lattice_span E P hP) |
| 68 | (Intrinsic.NonzeroTest.nativeThetaTest_ne_zero E P hP hμ v hv e he T) |
| 69 | T.support T.level T.level_pos T.period R.sourceLevel |
| 70 | exact { |
| 71 | coordinates := e |
| 72 | pairing := he |
| 73 | thetaTest := T |
| 74 | calibration := R |
| 75 | depth := h.choose |
| 76 | depth_pos := h.choose_spec.1 |
| 77 | projective_dvd := h.choose_spec.2.1 |
| 78 | source_depth := h.choose_spec.2.2 } |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PreprimeCalibration.Intrinsic |