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.FormalGeometry.Completion.FrobeniusRationalUnit |
| 2 | import Mathlib.RingTheory.TensorProduct.Maps |
| 3 | |
| 4 | /-! # Frobenius Unit -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.FrobeniusUnit |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual geometric Frobenius is a unit in the full geometric |
| 11 | endomorphism algebra, via the algebra map induced by base change. -/ |
| 12 | |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 17 | open scoped _root_.CategoryTheory.Obj TensorProduct |
| 18 | |
| 19 | namespace Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (k : Type u) [Field k] |
| 24 | (A : Over (Spec (CommRingCat.of k))) [GrpObj A] [IsCommMonObj A] |
| 25 | |
| 26 | local instance geometricEndRing : Ring (Endomorphisms.Construction.AlgebraicEnd (Frobenius.Construction.geometricFiberOver k A)) := |
| 27 | Endomorphisms.Construction.algebraicEndRing _ |
| 28 | |
| 29 | local instance geometricEndAddCommGroup : AddCommGroup (Endomorphisms.Construction.AlgebraicEnd (Frobenius.Construction.geometricFiberOver k A)) := |
| 30 | (Endomorphisms.Construction.algebraicEndRing _).toAddCommGroup |
| 31 | |
| 32 | def rationalAlgebraicEndGeometricBaseChange : |
| 33 | Endomorphisms.Construction.RationalAlgebraicEnd A →ₐ[ℚ] Endomorphisms.Construction.RationalAlgebraicEnd (Frobenius.Construction.geometricFiberOver k A) := by |
| 34 | let : Ring (Endomorphisms.Construction.AlgebraicEnd (Frobenius.Construction.geometricFiberOver k A)) := Endomorphisms.Construction.algebraicEndRing _ |
| 35 | exact Algebra.TensorProduct.map (AlgHom.id ℚ ℚ) (Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange k A).toIntAlgHom |
| 36 | |
| 37 | theorem rationalAlgebraicEndGeometricBaseChange_tmul (r : ℚ) (f : Endomorphisms.Construction.AlgebraicEnd A) : |
| 38 | rationalAlgebraicEndGeometricBaseChange k A (r ⊗ₜ[ℤ] f) = |
| 39 | r ⊗ₜ[ℤ] Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange k A f := rfl |
| 40 | |
| 41 | variable [Fintype k] |
| 42 | |
| 43 | def geometricRationalAlgebraicFrobenius : Endomorphisms.Construction.RationalAlgebraicEnd (Frobenius.Construction.geometricFiberOver k A) := |
| 44 | (1 : ℚ) ⊗ₜ[ℤ] Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange k A (Endomorphisms.Construction.algebraicFrobenius k A) |
| 45 | |
| 46 | theorem rationalAlgebraicEndGeometricBaseChange_frobenius : |
| 47 | rationalAlgebraicEndGeometricBaseChange k A (Endomorphisms.Construction.rationalAlgebraicFrobenius k A) = |
| 48 | geometricRationalAlgebraicFrobenius k A := rfl |
| 49 | |
| 50 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] |
| 51 | |
| 52 | theorem geometricRationalAlgebraicFrobenius_isUnit : |
| 53 | IsUnit (geometricRationalAlgebraicFrobenius k A) := by |
| 54 | let : Ring (Endomorphisms.Construction.AlgebraicEnd (Frobenius.Construction.geometricFiberOver k A)) := Endomorphisms.Construction.algebraicEndRing _ |
| 55 | exact (FrobeniusRationalUnit.Construction.rationalAlgebraicFrobenius_isUnit k A).map |
| 56 | (rationalAlgebraicEndGeometricBaseChange k A).toMonoidHom |
| 57 | |
| 58 | def geometricRationalAlgebraicFrobeniusUnit : (Endomorphisms.Construction.RationalAlgebraicEnd (Frobenius.Construction.geometricFiberOver k A))ˣ := |
| 59 | (geometricRationalAlgebraicFrobenius_isUnit k A).unit |
| 60 | |
| 61 | theorem geometricRationalAlgebraicFrobeniusUnit_val : |
| 62 | (geometricRationalAlgebraicFrobeniusUnit k A).val = geometricRationalAlgebraicFrobenius k A := |
| 63 | (geometricRationalAlgebraicFrobenius_isUnit k A).unit_spec |
| 64 | |
| 65 | end Construction |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.FrobeniusUnit |