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.OrdinaryCoordinateLinear |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.QuotientGraphs |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Multiplicative |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FiniteTorsion |
| 5 | |
| 6 | /-! # Ordinary Kernel Specialization -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The identity factor of the constructed ordinary model has trivial |
| 13 | special Frobenius. Every integral etale graph character therefore |
| 14 | specializes to the identity-valued morphism. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.QuotientGraphs |
| 20 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | theorem OrdinaryKernelSpecialization.Lifts.perfectField_absoluteFrobenius_isIso (q : ℕ) [Fact q.Prime] |
| 25 | (k : Type u) [Field k] [CharP k q] [PerfectRing k q] : |
| 26 | IsIso (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius q (Fact.out : q.Prime) (Spec (.of k)) |
| 27 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec q k (CharP.cast_eq_zero k q))) := by |
| 28 | rw [Picard.Homomorphisms.Affine.Construction.absoluteFrobenius_spec q (Fact.out : q.Prime) k (CharP.cast_eq_zero k q)] |
| 29 | have h : Picard.Homomorphisms.Frobenius.Construction.powerRingHom q (Fact.out : q.Prime) k (CharP.cast_eq_zero k q) = |
| 30 | (frobeniusEquiv k q).toRingHom := RingHom.ext (fun _ => rfl) |
| 31 | rw [h] |
| 32 | have : IsIso (CommRingCat.ofHom (frobeniusEquiv k q).toRingHom) := |
| 33 | inferInstanceAs (IsIso (frobeniusEquiv k q).toCommRingCatIso.hom) |
| 34 | infer_instance |
| 35 | |
| 36 | variable (R L : Type) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 37 | [Field L] [Algebra R L] (q : ℕ) [Fact q.Prime] |
| 38 | (A : Grp (Over (Spec (.of R)))) (C : OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel R L q A) |
| 39 | [CharP (IsLocalRing.ResidueField R) q] |
| 40 | |
| 41 | theorem OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.identity_special_frobenius : |
| 42 | Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius q (Fact.out : q.Prime) |
| 43 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec q (IsLocalRing.ResidueField R) |
| 44 | (CharP.cast_eq_zero (IsLocalRing.ResidueField R) q)) |
| 45 | ((Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj C.identity.X) = 1 := |
| 46 | AbelianScheme.FrobeniusKernel.FiniteTorsion.Construction.trivialFrobenius_of_groupIso q (Fact.out : q.Prime) _ C.special |
| 47 | (AbelianScheme.FrobeniusKernel.Multiplicative.Construction.ordinaryMultiplicative_relativeFrobenius q (IsLocalRing.ResidueField R) 1) |
| 48 | |
| 49 | theorem OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.character_specializes_zero |
| 50 | [PerfectRing (IsLocalRing.ResidueField R) q] |
| 51 | {H : Over (Spec (.of R))} [Etale H.hom] (χ : H ⟶ C.identity.X) : |
| 52 | (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).map χ = 1 := by |
| 53 | have := OrdinaryKernelSpecialization.Lifts.perfectField_absoluteFrobenius_isIso q (IsLocalRing.ResidueField R) |
| 54 | have : Etale ((Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj H).hom := by |
| 55 | dsimp |
| 56 | infer_instance |
| 57 | exact QuotientGraphs.etale_to_frobenius_killed q (Fact.out : q.Prime) _ |
| 58 | (OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.identity_special_frobenius R L q A C) _ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting |