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 | /-! # Pair Differential -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.PairDifferential |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The first homogeneous Čech differential expresses equality of the two chart restrictions on a pairwise overlap. -/ |
| 10 | |
| 11 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.Terms.ProjectiveCech |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {σ : Type u} [LinearOrder σ] (R : Type v) [CommRing R] |
| 16 | variable (M : Type w) [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 17 | [IsScalarTower R (MvPolynomial σ R) M] |
| 18 | |
| 19 | def moduleCechPairRestrictionLeft (i j : σ) : HilbertScheme.Presentations.Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M {i} →ₗ[R] HilbertScheme.Presentations.Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M {i, j} := |
| 20 | HilbertScheme.Presentations.Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M (Finset.singleton_subset_iff.mpr (Finset.mem_insert_self i {j})) |
| 21 | |
| 22 | def moduleCechPairRestrictionRight (i j : σ) : HilbertScheme.Presentations.Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M {j} →ₗ[R] HilbertScheme.Presentations.Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M {i, j} := |
| 23 | HilbertScheme.Presentations.Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M (Finset.singleton_subset_iff.mpr (Finset.mem_insert_of_mem (Finset.mem_singleton_self j))) |
| 24 | |
| 25 | theorem moduleCechDifferential_pair (f : HilbertScheme.Presentations.ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) {i j : σ} (hij : i < j) : |
| 26 | HilbertScheme.Presentations.ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f {i, j} = |
| 27 | moduleCechPairRestrictionRight R M i j (f {j}) - moduleCechPairRestrictionLeft R M i j (f {i}) := by |
| 28 | have hi : HilbertScheme.Presentations.Cech.Signs.ProjectiveCech.alternatingSign R {i, j} i = 1 := by |
| 29 | simp only [HilbertScheme.Presentations.Cech.Signs.ProjectiveCech.alternatingSign, Finset.filter_insert, Finset.filter_singleton, |
| 30 | lt_irrefl, not_lt.mpr hij.le, ite_false, Finset.card_empty, pow_zero] |
| 31 | have hj : HilbertScheme.Presentations.Cech.Signs.ProjectiveCech.alternatingSign R {i, j} j = -1 := by |
| 32 | simp only [HilbertScheme.Presentations.Cech.Signs.ProjectiveCech.alternatingSign, Finset.filter_insert, Finset.filter_singleton, |
| 33 | hij, lt_irrefl, ite_true, ite_false, Finset.insert_empty, Finset.card_singleton, pow_one] |
| 34 | change (∑ k ∈ ({i, j} : Finset σ), HilbertScheme.Presentations.Cech.Signs.ProjectiveCech.alternatingSign R {i, j} k • |
| 35 | HilbertScheme.Presentations.Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M (Finset.erase_subset k {i, j}) (f (({i, j} : Finset σ).erase k))) = _ |
| 36 | rw [Finset.sum_pair hij.ne, hi, hj, one_smul, neg_one_smul] |
| 37 | have hei : ({i, j} : Finset σ).erase i = {j} := by simp [hij.ne] |
| 38 | have hej : ({i, j} : Finset σ).erase j = {i} := by |
| 39 | ext k |
| 40 | simp only [Finset.mem_erase, Finset.mem_insert, Finset.mem_singleton] |
| 41 | constructor |
| 42 | · rintro ⟨hkj, hki | hkj'⟩ |
| 43 | · exact hki |
| 44 | · exact (hkj hkj').elim |
| 45 | · intro hki |
| 46 | exact ⟨fun hkj => hij.ne (hki.symm.trans hkj), Or.inl hki⟩ |
| 47 | rw [sub_eq_add_neg] |
| 48 | exact congrArg₂ (fun x y : HilbertScheme.Presentations.Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M {i, j} => x + -y) |
| 49 | (HilbertScheme.Presentations.ModuleCech.Square.ProjectiveCech.moduleCechValue_congr R M f {i, j} (({i, j} : Finset σ).erase i) {j} |
| 50 | (Finset.erase_subset i {i, j}) _ hei) |
| 51 | (HilbertScheme.Presentations.ModuleCech.Square.ProjectiveCech.moduleCechValue_congr R M f {i, j} (({i, j} : Finset σ).erase j) {i} |
| 52 | (Finset.erase_subset j {i, j}) _ hej) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.PairDifferential |