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.Grassmann.ParameterScheme |
| 2 | import Mathlib.LinearAlgebra.Quotient.Basic |
| 3 | |
| 4 | /-! # Linear Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.LinearCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Changing coordinates in the ambient finite free module preserves the actual |
| 12 | Grassmannian quotient and its rank. This transports the constructed affine |
| 13 | classification to any module supplied with coordinate equivalences. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u v w |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] |
| 21 | variable {V : Type v} [AddCommGroup V] [Module R V] |
| 22 | variable {W : Type w} [AddCommGroup W] [Module R W] {r : ℕ} |
| 23 | |
| 24 | def grassmannLinearTransport (e : V ≃ₗ[R] W) (N : Module.Grassmannian R V r) : |
| 25 | Module.Grassmannian R W r where |
| 26 | toSubmodule := N.toSubmodule.map e.toLinearMap |
| 27 | finite_quotient := Module.Finite.equiv (Submodule.Quotient.equiv _ _ e rfl) |
| 28 | projective_quotient := Module.Projective.of_equiv (Submodule.Quotient.equiv _ _ e rfl) |
| 29 | rankAtStalk_eq p := |
| 30 | (congrFun (Module.rankAtStalk_eq_of_equiv (Submodule.Quotient.equiv _ _ e rfl)) p).symm.trans |
| 31 | (N.rankAtStalk_eq p) |
| 32 | |
| 33 | theorem grassmannLinearTransport_inverse (e : V ≃ₗ[R] W) (N : Module.Grassmannian R V r) : |
| 34 | grassmannLinearTransport e.symm (grassmannLinearTransport e N) = N := by |
| 35 | apply Module.Grassmannian.ext |
| 36 | change (N.toSubmodule.map e.toLinearMap).map e.symm.toLinearMap = N.toSubmodule |
| 37 | rw [← Submodule.map_comp] |
| 38 | have he : e.symm.toLinearMap.comp e.toLinearMap = LinearMap.id := by |
| 39 | apply LinearMap.ext |
| 40 | exact e.symm_apply_apply |
| 41 | rw [he, Submodule.map_id] |
| 42 | |
| 43 | def grassmannLinearEquiv (e : V ≃ₗ[R] W) : |
| 44 | Module.Grassmannian R V r ≃ Module.Grassmannian R W r where |
| 45 | toFun := grassmannLinearTransport e |
| 46 | invFun := grassmannLinearTransport e.symm |
| 47 | left_inv := grassmannLinearTransport_inverse e |
| 48 | right_inv := grassmannLinearTransport_inverse e.symm |
| 49 | |
| 50 | variable {ι ν : Type u} [Fintype ι] [Fintype ν] [DecidableEq ι] [DecidableEq ν] |
| 51 | variable {S : Scheme.{u}} (A : CommRingCat.{u}) (f : Spec A ⟶ S) |
| 52 | variable {L : Type u} [AddCommGroup L] [Module A L] |
| 53 | |
| 54 | def grassmannCoordinateAffinePointEquiv (e : L ≃ₗ[A] (ν → A)) : |
| 55 | Module.Grassmannian A L (Fintype.card ι) ≃ |
| 56 | (Over.mk f ⟶ ParameterScheme.grassmannParameterScheme (ι := ι) (ν := ν) S) := |
| 57 | (grassmannLinearEquiv e).trans (ParameterScheme.grassmannParameterAffinePointEquiv A f) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.LinearCoordinates |