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.Cech.PairDifferential |
| 2 | |
| 3 | /-! # Pair Compatibility -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.PairCompatibility |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A homogeneous one-chart cochain lies in the first differential kernel precisely when its sections agree on every ordered pairwise overlap. -/ |
| 10 | |
| 11 | universe u v w |
| 12 | |
| 13 | variable {σ : Type u} [LinearOrder σ] (R : Type v) [CommRing R] |
| 14 | variable (M : Type w) [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 15 | [IsScalarTower R (MvPolynomial σ R) M] |
| 16 | variable (ℳ : ℤ → Submodule R M) |
| 17 | [SetLike.GradedSMul (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 18 | |
| 19 | theorem moduleCech_one_cocycle_iff (d : ℤ) (f : HilbertScheme.Presentations.ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d 1) : |
| 20 | HilbertScheme.Presentations.ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := σ) R M ℳ d 1 f = 0 ↔ |
| 21 | ∀ i j : σ, i < j → PairDifferential.moduleCechPairRestrictionLeft R M i j (f.val {i}) = |
| 22 | PairDifferential.moduleCechPairRestrictionRight R M i j (f.val {j}) := by |
| 23 | constructor |
| 24 | · intro hf i j hij |
| 25 | have hz : HilbertScheme.Presentations.ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f.val {i, j} = 0 := |
| 26 | congrArg (fun z : HilbertScheme.Presentations.ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d 2 => z.val {i, j}) hf |
| 27 | rw [PairDifferential.moduleCechDifferential_pair R M f.val hij] at hz |
| 28 | exact (sub_eq_zero.mp hz).symm |
| 29 | · intro h |
| 30 | apply Subtype.ext |
| 31 | funext s |
| 32 | by_cases hs : s.card = 2 |
| 33 | · obtain ⟨i, j, hij, rfl⟩ := Finset.card_eq_two.mp hs |
| 34 | rcases lt_or_gt_of_ne hij with hij | hji |
| 35 | · exact (PairDifferential.moduleCechDifferential_pair R M f.val hij).trans |
| 36 | (sub_eq_zero.mpr (h i j hij).symm) |
| 37 | · have he : HilbertScheme.Presentations.ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f.val {j, i} = 0 := |
| 38 | (PairDifferential.moduleCechDifferential_pair R M f.val hji).trans (sub_eq_zero.mpr (h j i hji).symm) |
| 39 | exact (congrArg (fun t : Finset σ => HilbertScheme.Presentations.ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f.val t = 0) |
| 40 | (Finset.pair_comm j i)).mp he |
| 41 | · exact HilbertScheme.Presentations.ModuleCech.Card.ProjectiveCech.moduleCechDifferential_card R M 1 f.val f.property.2 s hs |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.PairCompatibility |