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.Picard.Homomorphisms.KernelCharacters |
| 2 | |
| 3 | /-! # Frobenius Characters -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.FrobeniusCharacters |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Specialize the actual Picard-kernel character embedding to relative |
| 10 | Frobenius, with its canonical group structures and geometric hypotheses. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 22 | variable (A : Over (Spec (.of k))) [GrpObj A] |
| 23 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 24 | |
| 25 | def frobeniusPicardKernelCharacterEmbedding |
| 26 | (R : CommHopfAlgCat k) |
| 27 | (i : ((hopfSpec (.of k)).obj (op R)).X ≅ Kernel.Construction.kernelScheme (Frobenius.Construction.relativeFrobenius p Fact.out |
| 28 | (Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) A)) [IsMonHom i.hom] : |
| 29 | {q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass (Frobenius.Construction.frobeniusTwist p Fact.out |
| 30 | (Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) A).left // |
| 31 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Frobenius.Construction.relativeFrobenius p Fact.out |
| 32 | (Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) A).left q = |
| 33 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass A.left} ↪ GroupLike k R := by |
| 34 | let hS := Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p) |
| 35 | let F := Frobenius.Construction.relativeFrobenius p Fact.out hS A |
| 36 | have hf := Quotient.Construction.relativeFrobenius_finiteLocallyFree_quotient p Fact.out hS A |
| 37 | have : IsFinite F.left := hf.1.1 |
| 38 | have : Flat F.left := hf.1.2.1 |
| 39 | have : Surjective F.left := hf.2.1 |
| 40 | have hK := Kernel.Construction.kernelScheme_finiteLocallyFree F hf.1 |
| 41 | have : IsFinite (Kernel.Construction.kernelScheme F).hom := hK.1 |
| 42 | have : IsAffine (Kernel.Construction.kernelScheme F).left := isAffine_of_isAffineHom (Kernel.Construction.kernelScheme F).hom |
| 43 | have : IsProper (Frobenius.Construction.frobeniusTwist p Fact.out hS A).hom := |
| 44 | inferInstanceAs (IsProper (CategoryTheory.Limits.pullback.snd A.hom |
| 45 | (Frobenius.Construction.absoluteFrobenius p Fact.out (Spec (.of k)) hS))) |
| 46 | have : IsLocallyNoetherian (Frobenius.Construction.frobeniusTwist p Fact.out hS A).left := |
| 47 | LocallyOfFiniteType.isLocallyNoetherian (Frobenius.Construction.frobeniusTwist p Fact.out hS A).hom |
| 48 | exact KernelCharacters.Construction.picardKernelCharacterEmbedding F R i |
| 49 | |
| 50 | end Construction |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.FrobeniusCharacters |