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.AbelianScheme.TateComparison.BaseChange |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms |
| 3 | |
| 4 | /-! # Endomorphism Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EndomorphismComparison.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Identify TateComparison's natural endomorphisms of the point functor with |
| 11 | GeometricComparison/Completion's actual algebraic group endomorphisms, including rationalization. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 15 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.BaseChange OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction |
| 16 | |
| 17 | variable {S : Scheme} (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 18 | |
| 19 | def integralEquiv : AbelianScheme.TateComparison.End.IntegralEnd A ≃+* FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A where |
| 20 | toFun f := Additive.ofMul (Grp.ofHom (AbelianScheme.TateComparison.End.endSchemeMap A f)) |
| 21 | invFun f := AbelianScheme.TateComparison.End.endOfSchemeMap A f.toMul.hom.hom |
| 22 | left_inv f := AbelianScheme.TateComparison.End.endSchemeMap_injective A (AbelianScheme.TateComparison.End.endSchemeMap_ofSchemeMap A _) |
| 23 | right_inv f := by |
| 24 | apply Additive.toMul.injective |
| 25 | apply Grp.hom_ext |
| 26 | exact AbelianScheme.TateComparison.End.endSchemeMap_ofSchemeMap A f.toMul.hom.hom |
| 27 | map_add' f g := by |
| 28 | apply Additive.toMul.injective |
| 29 | apply Grp.hom_ext |
| 30 | exact AbelianScheme.TateComparison.BaseChange.endSchemeMap_add A f g |
| 31 | map_mul' f g := by |
| 32 | apply Additive.toMul.injective |
| 33 | apply Grp.hom_ext |
| 34 | exact AbelianScheme.TateComparison.BaseChange.endSchemeMap_mul A f g |
| 35 | |
| 36 | theorem integralEquiv_schemeMap (f : AbelianScheme.TateComparison.End.IntegralEnd A) : |
| 37 | (integralEquiv A f).toMul.hom.hom = AbelianScheme.TateComparison.End.endSchemeMap A f := rfl |
| 38 | |
| 39 | def integralAlgEquiv : AbelianScheme.TateComparison.End.IntegralEnd A ≃ₐ[ℤ] FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A where |
| 40 | __ := integralEquiv A |
| 41 | commutes' n := by |
| 42 | have hn : (algebraMap ℤ (AbelianScheme.TateComparison.End.IntegralEnd A)) n = (n : AbelianScheme.TateComparison.End.IntegralEnd A) := |
| 43 | map_intCast (algebraMap ℤ (AbelianScheme.TateComparison.End.IntegralEnd A)) n |
| 44 | change integralEquiv A ((algebraMap ℤ (AbelianScheme.TateComparison.End.IntegralEnd A)) n) = (n : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) |
| 45 | rw [hn] |
| 46 | exact map_intCast (integralEquiv A) n |
| 47 | |
| 48 | def rationalEquiv : AbelianScheme.TateComparison.End.RationalEnd A ≃ₐ[ℚ] FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd A := |
| 49 | Algebra.TensorProduct.congr (AlgEquiv.refl : ℚ ≃ₐ[ℚ] ℚ) (integralAlgEquiv A) |
| 50 | |
| 51 | theorem rationalEquiv_tmul (a : ℚ) (f : AbelianScheme.TateComparison.End.IntegralEnd A) : |
| 52 | rationalEquiv A (a ⊗ₜ[ℤ] f) = a ⊗ₜ[ℤ] integralEquiv A f := by |
| 53 | simp [rationalEquiv, integralAlgEquiv] |
| 54 | |
| 55 | theorem rationalEquiv_integral (f : AbelianScheme.TateComparison.End.IntegralEnd A) : |
| 56 | rationalEquiv A (AbelianScheme.TateComparison.End.endToRational A f) = (1 : ℚ) ⊗ₜ[ℤ] integralEquiv A f := |
| 57 | rationalEquiv_tmul A 1 f |
| 58 | |
| 59 | /-- An actual TateComparison denominator clearing is the identical clearing in |
| 60 | the endomorphism algebra used by GeometricComparison's Hecke realization. -/ |
| 61 | theorem transports_clearing (n : ℕ) (a : AbelianScheme.TateComparison.End.IntegralEnd A) (f : AbelianScheme.TateComparison.End.RationalEnd A) |
| 62 | (h : n • f = AbelianScheme.TateComparison.End.endToRational A a) : |
| 63 | n • rationalEquiv A f = (1 : ℚ) ⊗ₜ[ℤ] integralEquiv A a := by |
| 64 | exact (map_nsmul (rationalEquiv A) n f).symm.trans |
| 65 | ((congrArg (rationalEquiv A) h).trans (rationalEquiv_integral A a)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EndomorphismComparison.CM |