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.Resolution.Blowups.Etale.ModuleDerivations |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Relative.LogarithmicBoundary |
| 3 | |
| 4 | /-! # Logarithmic Coordinate Generators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.LogarithmicCoordinateGenerators.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite coordinate generators for the logarithmic differential ideal on an étale chart. -/ |
| 11 | |
| 12 | variable {σ k R : Type*} [Field k] [CommRing R] [Fintype σ] [DecidableEq σ] |
| 13 | [Algebra (MvPolynomial σ k) R] [Algebra.Etale (MvPolynomial σ k) R] |
| 14 | [Algebra k R] [IsScalarTower k (MvPolynomial σ k) R] |
| 15 | |
| 16 | def etaleLogarithmicPartial (B : Finset σ) (i : σ) : Derivation k R R := |
| 17 | (if i ∈ B then algebraMap (MvPolynomial σ k) R (MvPolynomial.X i) else 1) • |
| 18 | Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i |
| 19 | |
| 20 | omit [Fintype σ] in |
| 21 | theorem etaleLogarithmicPartial_logarithmic (B : Finset σ) (i : σ) : |
| 22 | etaleLogarithmicPartial (k := k) (R := R) B i ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k |
| 23 | (fun j : B => algebraMap (MvPolynomial σ k) R (MvPolynomial.X j.val)) := by |
| 24 | intro j |
| 25 | change (if i ∈ B then algebraMap (MvPolynomial σ k) R (MvPolynomial.X i) else 1) * |
| 26 | Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i |
| 27 | (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j.val)) ∈ _ |
| 28 | rw [Blowups.Etale.TransverseHypersurfaceCoordinates.Construction.etaleRelativePartial_X] |
| 29 | by_cases hij : i = j.val |
| 30 | · subst i |
| 31 | rw [ite_eq_left rfl, ite_eq_left j.property, mul_one] |
| 32 | exact Ideal.mem_span_singleton_self _ |
| 33 | · rw [ite_eq_right hij, mul_zero] |
| 34 | exact Ideal.zero_mem _ |
| 35 | |
| 36 | theorem firstRelativeLogarithmicDifferentialIdeal_coordinate_generators |
| 37 | (B : Finset σ) (J : Ideal R) : |
| 38 | Relative.LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k |
| 39 | (fun j : B => algebraMap (MvPolynomial σ k) R (MvPolynomial.X j.val)) J = |
| 40 | J ⊔ Ideal.span (Set.range (fun t : σ × J => etaleLogarithmicPartial (k := k) B t.1 t.2.val)) := by |
| 41 | let L := J ⊔ Ideal.span (Set.range (fun t : σ × J => etaleLogarithmicPartial (k := k) B t.1 t.2.val)) |
| 42 | apply le_antisymm |
| 43 | · apply sup_le le_sup_left |
| 44 | apply Ideal.span_le.mpr |
| 45 | rintro _ ⟨⟨D, p⟩, rfl⟩ |
| 46 | change D.val p.val ∈ L |
| 47 | rw [Blowups.Etale.ModuleDerivations.Construction.etale_relative_derivation_apply (σ := σ)] |
| 48 | apply Ideal.sum_mem |
| 49 | intro i _ |
| 50 | have hi : etaleLogarithmicPartial (k := k) B i p.val ∈ L := |
| 51 | Submodule.mem_sup_right (Ideal.subset_span ⟨⟨i, p⟩, rfl⟩) |
| 52 | by_cases hB : i ∈ B |
| 53 | · obtain ⟨r, hr⟩ := Ideal.mem_span_singleton.mp (D.property ⟨i, hB⟩) |
| 54 | change D.val (algebraMap (MvPolynomial σ k) R (MvPolynomial.X i)) = |
| 55 | algebraMap (MvPolynomial σ k) R (MvPolynomial.X i) * r at hr |
| 56 | rw [hr] |
| 57 | have he : algebraMap (MvPolynomial σ k) R (MvPolynomial.X i) * r * |
| 58 | Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i p.val = |
| 59 | r * etaleLogarithmicPartial (k := k) B i p.val := by |
| 60 | simp only [etaleLogarithmicPartial, ite_eq_left hB, Derivation.smul_apply, smul_eq_mul] |
| 61 | ring |
| 62 | rw [he] |
| 63 | exact L.mul_mem_left r hi |
| 64 | · have he : etaleLogarithmicPartial (k := k) B i p.val = |
| 65 | Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i p.val := by |
| 66 | simp only [etaleLogarithmicPartial, ite_eq_right hB, one_smul] |
| 67 | rw [he] at hi |
| 68 | exact L.mul_mem_left _ hi |
| 69 | · apply sup_le (Relative.LogarithmicIdeal.Construction.le_firstRelativeLogarithmicDifferentialIdeal k _ J) |
| 70 | apply Ideal.span_le.mpr |
| 71 | rintro _ ⟨⟨i, p⟩, rfl⟩ |
| 72 | exact Relative.LogarithmicIdeal.Construction.relative_logarithmic_derivation_mem_first k _ J |
| 73 | ⟨_, etaleLogarithmicPartial_logarithmic B i⟩ p.property |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Resolution.Blowups.LogarithmicCoordinateGenerators.Construction |