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.FiniteDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Dimension |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.GeometricQuotientSheafCokernel |
| 4 | |
| 5 | /-! # Kernel Quotient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Field.KernelQuotient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Construct the actual finite-flat subgroup quotient over a field, |
| 12 | retaining its dimension, projection, and complete scheme-theoretic kernel. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {k : Type u} [Field k] {g : ℕ} |
| 20 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 21 | (H : Grp (Over (Spec (.of k)))) (i : H.X ⟶ A.scheme) [IsMonHom i] |
| 22 | |
| 23 | def fieldKernelQuotient (hi : IsClosedImmersion i.left) |
| 24 | (hH : IsFinite H.X.hom ∧ Flat H.X.hom ∧ LocallyOfFinitePresentation H.X.hom) : |
| 25 | AbelianScheme.FrobeniusKernel.GeometricQuotient.Construction.GeometricKernelQuotient A H i := Classical.choice (by |
| 26 | let A' : Quotients.FiniteDescent.AbelianQuotient.Construction.AbelianScheme (Spec (.of k)) := { |
| 27 | toOver := A.scheme |
| 28 | group := A.group |
| 29 | commutative := A.commutative |
| 30 | proper := A.proper |
| 31 | smooth := inferInstance |
| 32 | connected := A.connected } |
| 33 | obtain ⟨B, f, hf, hfinite, hsurj, hkernel, _⟩ := |
| 34 | Quotients.FiniteDescent.Scheme.Construction.exists_abelian_scheme_quotient (Spec (.of k)) A' H.X i hi hH |
| 35 | exact ⟨⟨B, f, hf, hfinite.1, hfinite.2.1, hfinite.2.2, hsurj, hkernel⟩⟩) |
| 36 | |
| 37 | variable {A H i} |
| 38 | |
| 39 | def fieldAbelian (Q : AbelianScheme.FrobeniusKernel.GeometricQuotient.Construction.GeometricKernelQuotient A H i) : |
| 40 | AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k)) := by |
| 41 | let B : Picard.PoincareBundle.Epi.Construction.AbelianScheme (Spec (.of k)) := { |
| 42 | toOver := Q.target.toOver |
| 43 | group := Q.target.group |
| 44 | commutative := Q.target.commutative |
| 45 | proper := Q.target.proper |
| 46 | smooth := Q.target.smooth |
| 47 | geometricallyConnected := Q.target.connected } |
| 48 | exact AbelianScheme.IsogenyQuotient.Dimension.Construction.abelianQuotientWithDimension A B Q.projection |
| 49 | |
| 50 | def fieldIsogeny (Q : AbelianScheme.FrobeniusKernel.GeometricQuotient.Construction.GeometricKernelQuotient A H i) : |
| 51 | AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A (fieldAbelian Q) where |
| 52 | hom := Q.projection |
| 53 | preservesGroup := Q.groupHom |
| 54 | finite := Q.finite |
| 55 | flat := Q.flat |
| 56 | surjective := Q.surjective |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Field.KernelQuotient |