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.IntegralComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Power |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.Labels |
| 4 | |
| 5 | /-! # Integral Marking -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IntegralMarking |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual ordered full marking on a good quotient is determined by |
| 12 | its generic marking. Constant level sections extend uniquely over the DVR; |
| 13 | naturality then determines the marking on every test scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IntegralComparison OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Power.Construction |
| 19 | |
| 20 | variable {R K : Type} [CommRing R] [IsDomain R] |
| 21 | variable [Field K] [Algebra R K] [IsFractionRing R K] |
| 22 | variable {d N n : ℕ} {A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d (Spec (.of R))} |
| 23 | |
| 24 | def constantLevelSection (α : A.FullLevel N) |
| 25 | (c : Multiplicative (Fin (2 * d) → ZMod N)) : |
| 26 | Over.mk (𝟙 (Spec (.of R))) ⟶ A.scheme := |
| 27 | (α.hom.app (.op (Over.mk (𝟙 _))) (LocallyConstant.const _ c)).val |
| 28 | |
| 29 | /-- Generic transport of each constant label forces the complete integral |
| 30 | marking to be the quotient marking constructed by the prime-to-n isogeny. -/ |
| 31 | theorem quotientLevel_eq_of_generic_marking |
| 32 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (hnN : Nat.Coprime n N) |
| 33 | (hkernel : ∀ (T : Over (Spec (.of R))) (a : T ⟶ A.scheme), |
| 34 | a ≫ f.hom = 1 → a ^ n = 1) |
| 35 | (α : A.FullLevel N) (β : B.FullLevel N) |
| 36 | (hgeneric : ∀ c : Multiplicative (Fin (2 * d) → ZMod N), |
| 37 | (Over.pullback (IntegralComparison.genericMap (R := R) (K := K))).map |
| 38 | (constantLevelSection α c ≫ f.hom) = |
| 39 | (Over.pullback (IntegralComparison.genericMap (R := R) (K := K))).map (constantLevelSection β c)) : |
| 40 | AbelianScheme.FrobeniusKernel.Power.Construction.quotientLevel f hnN hkernel α = β := by |
| 41 | apply AbelianModuli.ReferenceFamily.Frame.Labels.LevelCover.fullLevel_ext_on_constants |
| 42 | intro c |
| 43 | apply Subtype.ext |
| 44 | have : Flat (Over.mk (𝟙 (Spec (.of R)))).hom := by |
| 45 | change Flat (𝟙 (Spec (.of R))) |
| 46 | infer_instance |
| 47 | apply AbelianScheme.HomExtension.generic_fiber_map_injective (K := K) |
| 48 | (Over.mk (𝟙 (Spec (.of R)))) B.scheme |
| 49 | exact (congrArg (Over.pullback (IntegralComparison.genericMap (R := R) (K := K))).map |
| 50 | (AbelianScheme.FrobeniusKernel.Power.Construction.quotientLevel_transports f hnN hkernel α _ (LocallyConstant.const _ c))).trans (hgeneric c) |
| 51 | |
| 52 | /-- The resulting equality retains the complete ordered marking on arbitrary |
| 53 | tests, rather than only its geometric-point values. -/ |
| 54 | theorem marking_transport_from_generic |
| 55 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (hnN : Nat.Coprime n N) |
| 56 | (hkernel : ∀ (T : Over (Spec (.of R))) (a : T ⟶ A.scheme), |
| 57 | a ≫ f.hom = 1 → a ^ n = 1) |
| 58 | (α : A.FullLevel N) (β : B.FullLevel N) |
| 59 | (hgeneric : ∀ c : Multiplicative (Fin (2 * d) → ZMod N), |
| 60 | (Over.pullback (IntegralComparison.genericMap (R := R) (K := K))).map |
| 61 | (constantLevelSection α c ≫ f.hom) = |
| 62 | (Over.pullback (IntegralComparison.genericMap (R := R) (K := K))).map (constantLevelSection β c)) |
| 63 | (T : Over (Spec (.of R))) |
| 64 | (c : LocallyConstant T.left (Multiplicative (Fin (2 * d) → ZMod N))) : |
| 65 | (α.hom.app (.op T) c).val ≫ f.hom = (β.hom.app (.op T) c).val := by |
| 66 | exact (AbelianScheme.FrobeniusKernel.Power.Construction.quotientLevel_transports f hnN hkernel α (.op T) c).symm.trans |
| 67 | (congrArg (fun γ : B.FullLevel N => (γ.hom.app (.op T) c).val) |
| 68 | (quotientLevel_eq_of_generic_marking f hnN hkernel α β hgeneric)) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IntegralMarking |