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.AbelianModuli.HilbertConstruction.Scalar.LinearProjectiveIdentity |
| 2 | |
| 3 | /-! # Projective Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.ProjectiveComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual linear projective coordinate maps compose as their |
| 10 | coefficient transformations do, and ignore a common unit scalar |
| 11 | in the inverse coefficient map. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 17 | |
| 18 | theorem gradedLinearCoordinateMap_comp |
| 19 | (f g : (Fin (n + 1) →₀ R) →ₗ[R] (Fin (n + 1) →₀ R)) : |
| 20 | (GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap g).comp (GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap f) = GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap (g.comp f) := by |
| 21 | apply GradedRingHom.ext |
| 22 | intro p |
| 23 | exact AlgHom.congr_fun (CoordinateSubstitution.polynomialLinearSubstitution_comp f g) p |
| 24 | |
| 25 | theorem affineLinearCoordinateIso_trans |
| 26 | (e f : (Fin (n + 1) →₀ R) ≃ₗ[R] (Fin (n + 1) →₀ R)) : |
| 27 | (Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n (e.trans f)).hom = |
| 28 | (Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n e).hom ≫ (Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n f).hom := by |
| 29 | apply Over.OverMorphism.ext |
| 30 | change Proj.map (GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap (e.trans f).symm.toLinearMap) _ = |
| 31 | Proj.map (GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap e.symm.toLinearMap) _ ≫ |
| 32 | Proj.map (GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap f.symm.toLinearMap) _ |
| 33 | have h : (e.trans f).symm.toLinearMap = e.symm.toLinearMap.comp f.symm.toLinearMap := by |
| 34 | ext x |
| 35 | rfl |
| 36 | simp only [← Proj.map_comp, gradedLinearCoordinateMap_comp, h] |
| 37 | |
| 38 | theorem affineLinearCoordinateIso_symm_hom |
| 39 | (e : (Fin (n + 1) →₀ R) ≃ₗ[R] (Fin (n + 1) →₀ R)) : |
| 40 | (Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n e.symm).hom = (Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n e).inv := rfl |
| 41 | |
| 42 | theorem affineLinearCoordinateIso_eq_of_inverse_unit_smul |
| 43 | (e f : (Fin (n + 1) →₀ R) ≃ₗ[R] (Fin (n + 1) →₀ R)) (a : Rˣ) |
| 44 | (h : e.symm.toLinearMap = (a : R) • f.symm.toLinearMap) : |
| 45 | (Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n e).hom = (Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n f).hom := by |
| 46 | have hscalar : (f.symm.trans e).symm.toLinearMap = (a : R) • LinearMap.id := by |
| 47 | apply LinearMap.ext |
| 48 | intro x |
| 49 | change f (e.symm x) = (a : R) • x |
| 50 | have hx : e.symm x = (a : R) • f.symm x := LinearMap.congr_fun h x |
| 51 | rw [hx, f.map_smul, f.apply_symm_apply] |
| 52 | have hz : (Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n (f.symm.trans e)).hom = 𝟙 _ := |
| 53 | Over.OverMorphism.ext (Scalar.LinearProjectiveIdentity.affineLinearCoordinateIso_eq_id_of_inverse_scalar (f.symm.trans e) a hscalar) |
| 54 | rw [affineLinearCoordinateIso_trans, affineLinearCoordinateIso_symm_hom] at hz |
| 55 | apply (cancel_epi (Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n f).inv).mp |
| 56 | rw [(Relative.LinearCoordinateIsomorphism.affineLinearCoordinateIso n f).inv_hom_id] |
| 57 | exact hz |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.ProjectiveComposition |