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.HilbertScheme.Presentations.ModuleCech.Maps |
| 2 | |
| 3 | /-! # Exact Sequences -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.ExactSequences.ProjectiveCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Homogeneous Čech cochains lift through graded surjections and exact sequences. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial DirectSum |
| 12 | |
| 13 | universe u v w t |
| 14 | |
| 15 | variable {σ : Type u} |
| 16 | variable (R : Type v) [CommRing R] |
| 17 | variable {M : Type w} [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 18 | [IsScalarTower R (MvPolynomial σ R) M] |
| 19 | variable {N : Type t} [AddCommGroup N] [Module R N] [Module (MvPolynomial σ R) N] |
| 20 | [IsScalarTower R (MvPolynomial σ R) N] |
| 21 | variable (ℳ : ℤ → Submodule R M) (𝒩 : ℤ → Submodule R N) |
| 22 | |
| 23 | theorem moduleCechMap_lift_of_pointwise (f : M →ₗ[MvPolynomial σ R] N) (d : ℤ) (q : ℕ) |
| 24 | (y : Card.ProjectiveCech.ModuleCechFamily (σ := σ) R N) (hycard : Card.ProjectiveCech.ModuleCechCardSupported R N q y) |
| 25 | (hlift : ∀ s, ∃ x : Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M s, |
| 26 | x ∈ Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s d ∧ Localized.GradedExactness.GradedModules.awayModuleMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) f x = y s) : |
| 27 | ∃ x : Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M, |
| 28 | Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d x ∧ Card.ProjectiveCech.ModuleCechCardSupported R M q x ∧ Maps.ProjectiveCech.moduleCechMap R f x = y := by |
| 29 | choose x hx he using hlift |
| 30 | let x' : Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M := fun s => if s.card = q then x s else 0 |
| 31 | refine ⟨x', ?_, ?_, ?_⟩ |
| 32 | · intro s |
| 33 | change (if s.card = q then x s else 0) ∈ Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s d |
| 34 | split_ifs |
| 35 | · exact hx s |
| 36 | · exact Submodule.zero_mem _ |
| 37 | · intro s hs |
| 38 | exact ite_eq_right hs |
| 39 | · funext s |
| 40 | change Localized.GradedExactness.GradedModules.awayModuleMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) f (if s.card = q then x s else 0) = y s |
| 41 | split_ifs with hs |
| 42 | · exact he s |
| 43 | · rw [map_zero, hycard s hs] |
| 44 | |
| 45 | variable [Decomposition ℳ] [Decomposition 𝒩] |
| 46 | variable [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 47 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) 𝒩] |
| 48 | |
| 49 | theorem moduleCechMap_lift (f : M →ₗ[MvPolynomial σ R] N) |
| 50 | (hf : ∀ d m, m ∈ ℳ d → f m ∈ 𝒩 d) (hs : Function.Surjective f) (d : ℤ) (q : ℕ) |
| 51 | (y : Card.ProjectiveCech.ModuleCechFamily (σ := σ) R N) (hy : Card.ProjectiveCech.ModuleCechHomogeneous R N 𝒩 d y) |
| 52 | (hycard : Card.ProjectiveCech.ModuleCechCardSupported R N q y) : |
| 53 | ∃ x : Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M, |
| 54 | Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d x ∧ Card.ProjectiveCech.ModuleCechCardSupported R M q x ∧ Maps.ProjectiveCech.moduleCechMap R f x = y := by |
| 55 | apply moduleCechMap_lift_of_pointwise R ℳ f d q y hycard |
| 56 | intro s |
| 57 | obtain ⟨x, hx⟩ := Localized.GradedExactness.GradedModules.localizedDegreeMap_surjective (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ 𝒩 |
| 58 | (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R s) f hf hs d ⟨y s, hy s⟩ |
| 59 | exact ⟨x.val, x.property, congrArg Subtype.val hx⟩ |
| 60 | |
| 61 | variable {P : Type*} [AddCommGroup P] [Module R P] [Module (MvPolynomial σ R) P] |
| 62 | [IsScalarTower R (MvPolynomial σ R) P] |
| 63 | variable (ℙ : ℤ → Submodule R P) |
| 64 | |
| 65 | theorem moduleCechMap_kernel_lift (f : M →ₗ[MvPolynomial σ R] N) (g : N →ₗ[MvPolynomial σ R] P) |
| 66 | (hf : ∀ d m, m ∈ ℳ d → f m ∈ 𝒩 d) (hg : ∀ d n, n ∈ 𝒩 d → g n ∈ ℙ d) |
| 67 | (hex : Function.Exact f g) (d : ℤ) (q : ℕ) |
| 68 | (y : Card.ProjectiveCech.ModuleCechFamily (σ := σ) R N) (hy : Card.ProjectiveCech.ModuleCechHomogeneous R N 𝒩 d y) |
| 69 | (hycard : Card.ProjectiveCech.ModuleCechCardSupported R N q y) (hyzero : Maps.ProjectiveCech.moduleCechMap R g y = 0) : |
| 70 | ∃ x : Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M, |
| 71 | Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d x ∧ Card.ProjectiveCech.ModuleCechCardSupported R M q x ∧ Maps.ProjectiveCech.moduleCechMap R f x = y := by |
| 72 | apply moduleCechMap_lift_of_pointwise R ℳ f d q y hycard |
| 73 | intro s |
| 74 | have he := Localized.GradedExactness.GradedModules.localizedDegreeMap_exact (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ 𝒩 ℙ |
| 75 | (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R s) f g hf hg hex d |
| 76 | have hz : Localized.GradedExactness.GradedModules.localizedDegreeMap (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) 𝒩 ℙ (LaurentMonomials.ProjectiveCech.inversionMonomial R s) |
| 77 | (s.card : ℤ) (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R s) g hg d ⟨y s, hy s⟩ = 0 := |
| 78 | Subtype.ext (congrFun hyzero s) |
| 79 | obtain ⟨x, hx⟩ := (he ⟨y s, hy s⟩).mp hz |
| 80 | exact ⟨x.val, x.property, congrArg Subtype.val hx⟩ |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.ExactSequences.ProjectiveCech |