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 Mathlib.Algebra.GroupWithZero.Action.Units |
| 3 | |
| 4 | /-! # Replacement Coordinate Unramified -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ReplacementCoordinateUnramified.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A unit coordinate derivative detects an unramified replacement coordinate map. -/ |
| 11 | |
| 12 | variable {σ K R B : Type*} [Field K] [CommRing R] [CommRing B] |
| 13 | [Algebra (MvPolynomial σ K) R] [Algebra.Etale (MvPolynomial σ K) R] |
| 14 | [Algebra K R] [IsScalarTower K (MvPolynomial σ K) R] |
| 15 | [Algebra K B] [Algebra B R] [IsScalarTower K B R] |
| 16 | [Fintype σ] [DecidableEq σ] |
| 17 | |
| 18 | /-- If a new coordinate has unit derivative in the replaced direction, |
| 19 | retaining all complementary coordinates leaves no relative differentials. -/ |
| 20 | theorem formallyUnramified_of_replacement_coordinate (i : σ) (z : R) |
| 21 | (hz : IsUnit (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := R) i z)) |
| 22 | (hcoords : ∀ j : σ, i ≠ j → ∃ b : B, |
| 23 | algebraMap (MvPolynomial σ K) R (MvPolynomial.X j) = algebraMap B R b) |
| 24 | (hnew : ∃ b : B, z = algebraMap B R b) : Algebra.FormallyUnramified B R := by |
| 25 | let D : Derivation K R (KaehlerDifferential B R) := |
| 26 | (KaehlerDifferential.D B R).restrictScalars K |
| 27 | have hother : ∀ j : σ, i ≠ j → |
| 28 | D (algebraMap (MvPolynomial σ K) R (MvPolynomial.X j)) = 0 := by |
| 29 | intro j hij |
| 30 | obtain ⟨b, hb⟩ := hcoords j hij |
| 31 | rw [hb] |
| 32 | exact (KaehlerDifferential.D B R).map_algebraMap b |
| 33 | have hDz : D z = 0 := by |
| 34 | obtain ⟨b, rfl⟩ := hnew |
| 35 | exact (KaehlerDifferential.D B R).map_algebraMap b |
| 36 | have hsum : (∑ j : σ, Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := R) j z • |
| 37 | D (algebraMap (MvPolynomial σ K) R (MvPolynomial.X j))) = |
| 38 | Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := R) i z • |
| 39 | D (algebraMap (MvPolynomial σ K) R (MvPolynomial.X i)) := by |
| 40 | apply Finset.sum_eq_single i |
| 41 | · intro j _ hji |
| 42 | rw [hother j (Ne.symm hji), smul_zero] |
| 43 | · intro hi |
| 44 | exact False.elim (hi (Finset.mem_univ i)) |
| 45 | have h := Blowups.Etale.ModuleDerivations.Construction.etale_coordinate_module_derivation_expansion (σ := σ) D z |
| 46 | rw [hDz, hsum] at h |
| 47 | have hi : D (algebraMap (MvPolynomial σ K) R (MvPolynomial.X i)) = 0 := |
| 48 | hz.smul_eq_zero.mp h.symm |
| 49 | have hcoord : ∀ j : σ, D (algebraMap (MvPolynomial σ K) R (MvPolynomial.X j)) = 0 := by |
| 50 | intro j |
| 51 | by_cases hij : i = j |
| 52 | · subst j |
| 53 | exact hi |
| 54 | · exact hother j hij |
| 55 | have hzero : ∀ x : R, KaehlerDifferential.D B R x = 0 := by |
| 56 | intro x |
| 57 | change D x = 0 |
| 58 | rw [Blowups.Etale.ModuleDerivations.Construction.etale_coordinate_module_derivation_expansion (σ := σ) D x] |
| 59 | apply Finset.sum_eq_zero |
| 60 | intro j _ |
| 61 | rw [hcoord j, smul_zero] |
| 62 | have htop : (⊤ : Submodule R (KaehlerDifferential B R)) ≤ ⊥ := by |
| 63 | rw [← KaehlerDifferential.span_range_derivation, Submodule.span_le] |
| 64 | rintro _ ⟨x, rfl⟩ |
| 65 | exact hzero x |
| 66 | constructor |
| 67 | apply (subsingleton_iff_forall_eq (0 : KaehlerDifferential B R)).mpr |
| 68 | intro x |
| 69 | exact htop (show x ∈ (⊤ : Submodule R (KaehlerDifferential B R)) from trivial) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Resolution.Blowups.ReplacementCoordinateUnramified.Construction |