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.Isogenies.NeighborCounting.EquivariantFrobeniusFactors |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.MixedLineFactors |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.XYIntrinsicKernel |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EquivariantFrobeniusKernel |
| 5 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompositeKernelSquare |
| 6 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.FrobeniusComparison |
| 7 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.ActiveCoordinates |
| 8 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PrescribedCompositePointIsogeny |
| 9 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.MixedLineInclusion |
| 10 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PrescribedPointIsogeny |
| 11 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PointQuotientWitness |
| 12 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OperatorSpecification |
| 13 | |
| 14 | /-! # XY Factors -/ |
| 15 | |
| 16 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.XYFactors |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | /-! The independent X quotient and the actual native Frobenius have |
| 21 | the same full kernel. Their constructed full PEL quotient isomorphism |
| 22 | supplies the actual Frobenius comparison for the mixed operators. -/ |
| 23 | |
| 24 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 25 | open _root_.CategoryTheory.MonoidalCategory |
| 26 | open scoped _root_.CategoryTheory.MonObj |
| 27 | |
| 28 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OperatorSpecification.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.QuotientTargets OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PointQuotientWitness |
| 29 | |
| 30 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 31 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 32 | variable {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 33 | variable {iota : E →+* K} {κ : K →+* ℂ} |
| 34 | variable {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 35 | variable {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 36 | variable {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 37 | |
| 38 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.FrobeniusComparison.X |
| 39 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PELTargetComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActionFamilyComparison.Family |
| 40 | |
| 41 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 42 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 43 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 44 | (C0 : D.CompactKernelPrescription j iota hsplit labels) |
| 45 | {x y : D.OrdinaryPoint} |
| 46 | (QX : D.PrescribedOrdinaryQuotient x q (D.prescribedFullXKernel j iota hsplit labels O C0 x) y) |
| 47 | (hFrob : ∀ (T : Over D.integralGeometricBase.left) |
| 48 | (a : T ⟶ (D.pointDatum x.val).data.polarized.abelian.scheme), |
| 49 | D.prescribedFullXKernel j iota hsplit labels O C0 x T a ↔ D.relativeFrobeniusKernelCondition x T a) |
| 50 | |
| 51 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.ActiveCoordinates.X OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PrescribedPointIsogeny |
| 52 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PrescribedCompositePointIsogeny OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EquivariantFrobeniusKernel.Y |
| 53 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.MixedLineInclusion OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveMixedLineTransport |
| 54 | |
| 55 | variable (J : AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.ActiveEtaleLine q) {z : D.OrdinaryPoint} |
| 56 | (QY : D.PrescribedOrdinaryQuotient y (q ^ 1) |
| 57 | (D.prescribedFullYKernel j iota hsplit labels O C0 y |
| 58 | (ActiveCoordinates.X.canonicalXLineEquiv j hsplit labels O C0 QX hFrob J)) z) |
| 59 | |
| 60 | attribute [local irreducible] FrobeniusComparison.X.canonicalXFrobeniusComparison |
| 61 | PrescribedPointIsogeny.prescribedPointIsogeny |
| 62 | PrescribedCompositePointIsogeny.prescribedCompositePointIsogeny |
| 63 | Intrinsic.ActiveChart.nativeActiveChart Intrinsic.BlockKernelExhaustion.nativeBlockEmbedding |
| 64 | AbelianScheme.FrobeniusKernel.CMPointsLines.Construction.l45FrobeniusLineEquiv AbelianScheme.FrobeniusKernel.ChosenSourceIso.Construction.frobeniusSourceActiveSplitting |
| 65 | |
| 66 | theorem canonicalXY_native_factor |
| 67 | (T : Over D.integralGeometricBase.left) |
| 68 | (a : T ⟶ (D.pointDatum x.val).data.polarized.abelian.scheme) |
| 69 | (ha : a ^ (q ^ 2) = 1) |
| 70 | (hp : a ≫ (D.pointDatum x.val).data.action.map |
| 71 | (j.projector iota hsplit 2 (labels (0, false))) = a) : |
| 72 | type_of% ( |
| 73 | let g := PrescribedPointIsogeny.prescribedPointIsogeny QY |
| 74 | let c := FrobeniusComparison.X.canonicalXFrobeniusComparison j hsplit labels O C0 QX hFrob |
| 75 | EquivariantFrobeniusFactors.Y.equivariant_frobenius_Y_active_factor |
| 76 | j iota hsplit (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q) |
| 77 | (D.pointDatum x.val).data.polarized (D.pointDatum y.val).data.polarized |
| 78 | (D.pointDatum x.val).data.action (D.pointDatum y.val).data.action c s labels |
| 79 | (AbelianScheme.FrobeniusKernel.ChosenOrdinaryKernels.Construction.activeOrdinarySplitting (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q) q (O.splitting x 1 0)) (O.splitting y 1 0) |
| 80 | (C0 y 1) g.isogeny.hom J (ActiveCoordinates.X.canonicalXLineEquiv j hsplit labels O C0 QX hFrob J) |
| 81 | (ActiveCoordinates.X.canonicalXLineEquiv_eq_targetLine j hsplit labels O C0 QX hFrob J) |
| 82 | (PrescribedPointIsogeny.prescribedPointIsogeny_kernel_iff QY) (show 1 ≤ 2 by decide) T a ha hp) := by |
| 83 | let g := PrescribedPointIsogeny.prescribedPointIsogeny QY |
| 84 | let c := FrobeniusComparison.X.canonicalXFrobeniusComparison j hsplit labels O C0 QX hFrob |
| 85 | exact EquivariantFrobeniusFactors.Y.equivariant_frobenius_Y_active_factor |
| 86 | j iota hsplit (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q) |
| 87 | (D.pointDatum x.val).data.polarized (D.pointDatum y.val).data.polarized |
| 88 | (D.pointDatum x.val).data.action (D.pointDatum y.val).data.action c s labels |
| 89 | (AbelianScheme.FrobeniusKernel.ChosenOrdinaryKernels.Construction.activeOrdinarySplitting (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q) q (O.splitting x 1 0)) (O.splitting y 1 0) |
| 90 | (C0 y 1) g.isogeny.hom J (ActiveCoordinates.X.canonicalXLineEquiv j hsplit labels O C0 QX hFrob J) |
| 91 | (ActiveCoordinates.X.canonicalXLineEquiv_eq_targetLine j hsplit labels O C0 QX hFrob J) |
| 92 | (PrescribedPointIsogeny.prescribedPointIsogeny_kernel_iff QY) (show 1 ≤ 2 by decide) T a ha hp |
| 93 | |
| 94 | theorem canonicalXY_active_factor |
| 95 | (T : Over D.integralGeometricBase.left) |
| 96 | (a : T ⟶ (D.pointDatum x.val).data.polarized.abelian.scheme) |
| 97 | (ha : a ^ (q ^ 2) = 1) |
| 98 | (hp : a ≫ (D.pointDatum x.val).data.action.map |
| 99 | (j.projector iota hsplit 2 (labels (0, false))) = a) : |
| 100 | type_of% ( |
| 101 | let f := PrescribedPointIsogeny.prescribedPointIsogeny QX |
| 102 | let g := PrescribedPointIsogeny.prescribedPointIsogeny QY |
| 103 | let c := FrobeniusComparison.X.canonicalXFrobeniusComparison j hsplit labels O C0 QX hFrob |
| 104 | CompositeKernelSquare.composite_kernel_iff_of_square |
| 105 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q) (D.pointDatum x.val).data.polarized.abelian).hom c.abelian.hom f.isogeny.hom g.isogeny.hom |
| 106 | (FrobeniusComparison.X.canonicalXFrobenius_projection j hsplit labels O C0 QX hFrob) |
| 107 | (PrescribedCompositePointIsogeny.prescribedCompositePointIsogeny QX QY).isogeny.hom |
| 108 | (PrescribedCompositePointIsogeny.prescribedCompositePointIsogeny_hom QX QY) a _ |
| 109 | (canonicalXY_native_factor j hsplit labels O C0 QX hFrob J QY T a ha hp)) := by |
| 110 | let f := PrescribedPointIsogeny.prescribedPointIsogeny QX |
| 111 | let g := PrescribedPointIsogeny.prescribedPointIsogeny QY |
| 112 | let c := FrobeniusComparison.X.canonicalXFrobeniusComparison j hsplit labels O C0 QX hFrob |
| 113 | exact CompositeKernelSquare.composite_kernel_iff_of_square |
| 114 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q) (D.pointDatum x.val).data.polarized.abelian).hom c.abelian.hom f.isogeny.hom g.isogeny.hom |
| 115 | (FrobeniusComparison.X.canonicalXFrobenius_projection j hsplit labels O C0 QX hFrob) |
| 116 | (PrescribedCompositePointIsogeny.prescribedCompositePointIsogeny QX QY).isogeny.hom |
| 117 | (PrescribedCompositePointIsogeny.prescribedCompositePointIsogeny_hom QX QY) a _ |
| 118 | (canonicalXY_native_factor j hsplit labels O C0 QX hFrob J QY T a ha hp) |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.XYFactors |