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.Terms |
| 2 | |
| 3 | /-! # Augmentation Degree -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.AugmentationDegree.ProjectiveCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The degree-zero Čech term is the original homogeneous module piece. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | universe u v w |
| 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 | |
| 20 | theorem inversionMonomial_empty : LaurentMonomials.ProjectiveCech.inversionMonomial (σ := σ) R ∅ = 1 := by |
| 21 | simp [LaurentMonomials.ProjectiveCech.inversionMonomial, LaurentExponents.ProjectiveCech.inversionExponent] |
| 22 | |
| 23 | theorem emptyChart_fraction (k : ℕ) (m : M) : |
| 24 | Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial (σ := σ) R ∅) k m = |
| 25 | Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial (σ := σ) R ∅) 0 m := by |
| 26 | have h := Presentations.Module.Fractions.GradedModules.moduleFractionMap_raise (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial (σ := σ) R ∅) 0 k m |
| 27 | simpa only [Nat.zero_add, inversionMonomial_empty, one_pow, one_smul] using h |
| 28 | |
| 29 | def emptyModuleChartEquiv : M ≃ₗ[R] Graded.ModuleRestriction.ProjectiveCech.ModuleChart (σ := σ) R M ∅ := |
| 30 | LinearEquiv.ofBijective (Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial (σ := σ) R ∅) 0) ⟨by |
| 31 | intro x y hxy |
| 32 | have hz : Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial (σ := σ) R ∅) 0 (x - y) = 0 := by |
| 33 | rw [map_sub, hxy, sub_self] |
| 34 | obtain ⟨l, hl⟩ := (Presentations.Module.Fractions.GradedModules.moduleFractionMap_eq_zero (R := R) _ 0 _).mp hz |
| 35 | simp only [inversionMonomial_empty, one_pow, one_smul] at hl |
| 36 | exact sub_eq_zero.mp hl, by |
| 37 | intro x |
| 38 | obtain ⟨k, m, hm⟩ := Presentations.Module.Fractions.GradedModules.moduleFractionMap_surj (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial (σ := σ) R ∅) x |
| 39 | exact ⟨m, (emptyChart_fraction R M k m).symm.trans hm⟩⟩ |
| 40 | |
| 41 | variable (ℳ : ℤ → Submodule R M) |
| 42 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 43 | |
| 44 | theorem emptyModuleChartEquiv_degree (d : ℤ) (m : M) : |
| 45 | emptyModuleChartEquiv (σ := σ) R M m ∈ Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree (σ := σ) R M ℳ ∅ d ↔ m ∈ ℳ d := by |
| 46 | constructor |
| 47 | · intro hx |
| 48 | obtain ⟨k, n, hn, he⟩ := (Localized.DegreePieces.GradedModules.mem_localizedDegreePiece_iff (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ |
| 49 | (LaurentMonomials.ProjectiveCech.inversionMonomial R ∅) (∅ : Finset σ).card (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R ∅) d _).mp hx |
| 50 | rw [emptyChart_fraction R M k n] at he |
| 51 | have hnm : n = m := (emptyModuleChartEquiv (σ := σ) R M).injective he |
| 52 | simpa only [Finset.card_empty, Nat.cast_zero, mul_zero, add_zero, hnm] using hn |
| 53 | · intro hm |
| 54 | apply Localized.DegreePieces.GradedModules.moduleFractionMap_mem_degree ℳ _ _ d 0 m |
| 55 | simpa only [Nat.cast_zero, zero_mul, add_zero] using hm |
| 56 | |
| 57 | def emptyModuleChartDegreeEquiv (d : ℤ) : ℳ d ≃ₗ[R] Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree (σ := σ) R M ℳ ∅ d := |
| 58 | LinearEquiv.ofBijective |
| 59 | (((emptyModuleChartEquiv (σ := σ) R M).toLinearMap.comp (ℳ d).subtype).codRestrict |
| 60 | (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree (σ := σ) R M ℳ ∅ d) (fun m => (emptyModuleChartEquiv_degree (σ := σ) R M ℳ d m.val).mpr m.property)) |
| 61 | ⟨by |
| 62 | intro x y hxy |
| 63 | apply Subtype.ext |
| 64 | apply (emptyModuleChartEquiv (σ := σ) R M).injective |
| 65 | exact congrArg (fun z : Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree (σ := σ) R M ℳ ∅ d => z.val) hxy, by |
| 66 | intro x |
| 67 | let m := (emptyModuleChartEquiv (σ := σ) R M).symm x.val |
| 68 | have hm : m ∈ ℳ d := (emptyModuleChartEquiv_degree (σ := σ) R M ℳ d m).mp |
| 69 | (by simpa only [m, LinearEquiv.apply_symm_apply] using x.property) |
| 70 | exact ⟨⟨m, hm⟩, Subtype.ext ((emptyModuleChartEquiv (σ := σ) R M).apply_symm_apply x.val)⟩⟩ |
| 71 | |
| 72 | def moduleCechAugmentationEquiv (d : ℤ) : ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d 0 ≃ₗ[R] ℳ d := by |
| 73 | let : Unique {s : Finset σ // s.card = 0} := |
| 74 | { default := ⟨∅, Finset.card_empty⟩ |
| 75 | uniq := fun s => Subtype.ext (Finset.card_eq_zero.mp s.property) } |
| 76 | exact (ModuleCech.Terms.ProjectiveCech.moduleCechTermEquiv (σ := σ) R M ℳ d 0).trans |
| 77 | ((LinearEquiv.piUnique R (fun s : {s : Finset σ // s.card = 0} => Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree (σ := σ) R M ℳ s.val d)).trans |
| 78 | (emptyModuleChartDegreeEquiv (σ := σ) R M ℳ d).symm) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.AugmentationDegree.ProjectiveCech |