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.Relative.DifferentialEquiv |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.ModuleDerivations |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.Shear |
| 4 | |
| 5 | /-! # Shear Partial -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.ShearPartial.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical coordinate partial after a shear is the sum of two original partials. -/ |
| 12 | |
| 13 | variable {σ k R S : Type*} [Field k] [CommRing R] [CommRing S] |
| 14 | [Algebra (MvPolynomial σ k) R] [Algebra.Etale (MvPolynomial σ k) R] |
| 15 | [Algebra (MvPolynomial σ k) S] [Algebra.Etale (MvPolynomial σ k) S] |
| 16 | [Algebra k R] [Algebra k S] |
| 17 | [IsScalarTower k (MvPolynomial σ k) R] [IsScalarTower k (MvPolynomial σ k) S] |
| 18 | [DecidableEq σ] |
| 19 | |
| 20 | /-- The sum of the two original coordinate partials differentiates the fixed |
| 21 | coordinate to one and every sheared complement to zero. -/ |
| 22 | theorem etale_shear_sum_partial_coordinates (i j : σ) (hij : i ≠ j) (a : σ) : |
| 23 | (DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i + DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) j) |
| 24 | (if a = j then |
| 25 | algebraMap (MvPolynomial σ k) R (MvPolynomial.X j) - |
| 26 | algebraMap (MvPolynomial σ k) R (MvPolynomial.X i) |
| 27 | else algebraMap (MvPolynomial σ k) R (MvPolynomial.X a)) = |
| 28 | if i = a then 1 else 0 := by |
| 29 | by_cases haj : a = j |
| 30 | · subst a |
| 31 | simp [TransverseHypersurfaceCoordinates.Construction.etaleRelativePartial_X, hij, Ne.symm hij] |
| 32 | · rw [ite_eq_right haj, Derivation.add_apply, TransverseHypersurfaceCoordinates.Construction.etaleRelativePartial_X, |
| 33 | TransverseHypersurfaceCoordinates.Construction.etaleRelativePartial_X, ite_eq_right (Ne.symm haj), add_zero] |
| 34 | |
| 35 | /-- On a copy with the sheared coordinate presentation, the canonical partial |
| 36 | in the fixed direction is the transported sum of the two original partials. -/ |
| 37 | theorem etale_shear_partial_formula (e : R ≃ₐ[k] S) (i j : σ) (hij : i ≠ j) |
| 38 | (hcoords : ∀ a : σ, algebraMap (MvPolynomial σ k) S (MvPolynomial.X a) = |
| 39 | e (if a = j then algebraMap (MvPolynomial σ k) R (MvPolynomial.X j) - |
| 40 | algebraMap (MvPolynomial σ k) R (MvPolynomial.X i) |
| 41 | else algebraMap (MvPolynomial σ k) R (MvPolynomial.X a))) (x : R) : |
| 42 | DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := S) i (e x) = |
| 43 | e (DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i x + |
| 44 | DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) j x) := by |
| 45 | let D := DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i + DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) j |
| 46 | have he : Relative.DifferentialEquiv.Construction.transportRelativeDerivation e D = DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := S) i := by |
| 47 | apply ModuleDerivations.Construction.etale_relative_derivation_ext (σ := σ) |
| 48 | intro a |
| 49 | rw [hcoords a, Relative.DifferentialEquiv.Construction.transportRelativeDerivation_map] |
| 50 | change e (D _) = _ |
| 51 | rw [etale_shear_sum_partial_coordinates i j hij a] |
| 52 | rw [← hcoords a, TransverseHypersurfaceCoordinates.Construction.etaleRelativePartial_X] |
| 53 | split_ifs <;> simp |
| 54 | rw [← he, Relative.DifferentialEquiv.Construction.transportRelativeDerivation_map] |
| 55 | rfl |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.ShearPartial.Construction |