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.Cech.DimensionShift |
| 2 | |
| 3 | /-! # Degree Map Exactness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.DegreeMapExactness.ProjectiveCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Degreewise chart isomorphisms preserve and reflect exactness of actual projective Čech cochains. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | universe u v w t |
| 14 | |
| 15 | variable {σ : Type u} [LinearOrder σ] |
| 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 | variable [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 23 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) 𝒩] |
| 24 | variable (f : M →ₗ[MvPolynomial σ R] N) (hf : ∀ d m, m ∈ ℳ d → f m ∈ 𝒩 d) |
| 25 | |
| 26 | def moduleCechDegreeMap (d : ℤ) (s : Finset σ) : |
| 27 | Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s d →ₗ[R] Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R N 𝒩 s d := |
| 28 | Localized.GradedExactness.GradedModules.localizedDegreeMap (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ 𝒩 (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) |
| 29 | (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R s) f hf d |
| 30 | |
| 31 | omit [LinearOrder σ] [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) 𝒩] in |
| 32 | theorem moduleCechMap_homogeneous_injective (d : ℤ) |
| 33 | (hinj : ∀ s : Finset σ, Function.Injective (moduleCechDegreeMap R ℳ 𝒩 f hf d s)) |
| 34 | (x y : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) |
| 35 | (hx : ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d x) (hy : ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d y) |
| 36 | (hxy : ModuleCech.Maps.ProjectiveCech.moduleCechMap R f x = ModuleCech.Maps.ProjectiveCech.moduleCechMap R f y) : x = y := by |
| 37 | funext s |
| 38 | exact congrArg Subtype.val (hinj s (a₁ := ⟨x s, hx s⟩) (a₂ := ⟨y s, hy s⟩) |
| 39 | (Subtype.ext (congrFun hxy s))) |
| 40 | |
| 41 | omit [LinearOrder σ] [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) 𝒩] in |
| 42 | theorem moduleCechMap_homogeneous_lift (d : ℤ) |
| 43 | (hsurj : ∀ s : Finset σ, Function.Surjective (moduleCechDegreeMap R ℳ 𝒩 f hf d s)) |
| 44 | (q : ℕ) (y : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R N) (hy : ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R N 𝒩 d y) |
| 45 | (hyc : ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R N q y) : |
| 46 | ∃ x : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M, |
| 47 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d x ∧ ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M q x ∧ ModuleCech.Maps.ProjectiveCech.moduleCechMap R f x = y := by |
| 48 | apply ModuleCech.ExactSequences.ProjectiveCech.moduleCechMap_lift_of_pointwise R ℳ f d q y hyc |
| 49 | intro s |
| 50 | obtain ⟨x, hx⟩ := hsurj s ⟨y s, hy s⟩ |
| 51 | exact ⟨x.val, x.property, congrArg Subtype.val hx⟩ |
| 52 | |
| 53 | omit [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) 𝒩] in |
| 54 | theorem moduleCechExactAt_iff_of_degreeMap_bijective (d : ℤ) |
| 55 | (hbij : ∀ s : Finset σ, Function.Bijective (moduleCechDegreeMap R ℳ 𝒩 f hf d s)) (q : ℕ) : |
| 56 | DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M ℳ d q ↔ DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R N 𝒩 d q := by |
| 57 | constructor |
| 58 | · intro hM y hy hyc hyd |
| 59 | obtain ⟨x, hx, hxc, hxf⟩ := moduleCechMap_homogeneous_lift R ℳ 𝒩 f hf d |
| 60 | (fun s => (hbij s).2) q y hy hyc |
| 61 | have hxd : ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M x = 0 := by |
| 62 | apply moduleCechMap_homogeneous_injective R ℳ 𝒩 f hf d (fun s => (hbij s).1) |
| 63 | _ _ (ModuleCech.Card.ProjectiveCech.moduleCechDifferential_homogeneous R M ℳ d x hx) (fun _ => Submodule.zero_mem _) |
| 64 | change ModuleCech.Maps.ProjectiveCech.moduleCechMap R f (ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M x) = |
| 65 | ModuleCech.Maps.ProjectiveCech.moduleCechMap R f (0 : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) |
| 66 | rw [map_zero, ModuleCech.Maps.ProjectiveCech.moduleCechMap_differential, hxf, hyd] |
| 67 | obtain ⟨a, ha, hac, had⟩ := hM x hx hxc hxd |
| 68 | refine ⟨ModuleCech.Maps.ProjectiveCech.moduleCechMap R f a, ModuleCech.Maps.ProjectiveCech.moduleCechMap_homogeneous R ℳ 𝒩 f hf d a ha, |
| 69 | ModuleCech.Maps.ProjectiveCech.moduleCechMap_card R f (q - 1) a hac, ?_⟩ |
| 70 | rw [← ModuleCech.Maps.ProjectiveCech.moduleCechMap_differential, had, hxf] |
| 71 | · intro hN x hx hxc hxd |
| 72 | have hy := ModuleCech.Maps.ProjectiveCech.moduleCechMap_homogeneous R ℳ 𝒩 f hf d x hx |
| 73 | have hyc := ModuleCech.Maps.ProjectiveCech.moduleCechMap_card R f q x hxc |
| 74 | have hyd : ModuleCech.Card.ProjectiveCech.moduleCechDifferential R N (ModuleCech.Maps.ProjectiveCech.moduleCechMap R f x) = 0 := by |
| 75 | rw [← ModuleCech.Maps.ProjectiveCech.moduleCechMap_differential, hxd, map_zero] |
| 76 | obtain ⟨a, ha, hac, had⟩ := hN _ hy hyc hyd |
| 77 | obtain ⟨b, hb, hbc, hbf⟩ := moduleCechMap_homogeneous_lift R ℳ 𝒩 f hf d |
| 78 | (fun s => (hbij s).2) (q - 1) a ha hac |
| 79 | refine ⟨b, hb, hbc, ?_⟩ |
| 80 | apply moduleCechMap_homogeneous_injective R ℳ 𝒩 f hf d (fun s => (hbij s).1) |
| 81 | _ _ (ModuleCech.Card.ProjectiveCech.moduleCechDifferential_homogeneous R M ℳ d b hb) hx |
| 82 | rw [ModuleCech.Maps.ProjectiveCech.moduleCechMap_differential, hbf, had] |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.DegreeMapExactness.ProjectiveCech |