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.Smooth.CoordinateMap |
| 2 | import Mathlib.RingTheory.Unramified.LocalStructure |
| 3 | import Mathlib.Algebra.MvPolynomial.Equiv |
| 4 | |
| 5 | /-! # Adapted Etale Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.AdaptedEtaleCoordinates.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Étale coordinates preserving a specified hypersurface equation. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | variable {k A : Type*} [CommRing k] [CommRing A] [Algebra k A] [Algebra.Smooth k A] |
| 16 | |
| 17 | /-- A smooth ambient algebra with a unit coordinate derivative has étale |
| 18 | polynomial neighborhoods in which that exact function is a distinguished |
| 19 | coordinate. The other coordinates are obtained relative to its affine line. -/ |
| 20 | theorem exists_adapted_etale_coordinates (D : Derivation k A A) (z : A) (hz : D z = 1) |
| 21 | (q : Ideal A) [q.IsPrime] : |
| 22 | ∃ f ∉ q, ∃ (n : ℕ) (φ : MvPolynomial (Fin n ⊕ Unit) k →+* Localization.Away f), |
| 23 | φ.Etale ∧ (∀ r : k, φ (C r) = algebraMap k (Localization.Away f) r) ∧ |
| 24 | φ (X (Sum.inr ())) = algebraMap A (Localization.Away f) z := by |
| 25 | let P := MvPolynomial Unit k |
| 26 | let : Algebra P A := (aeval (fun _ : Unit => z)).toRingHom.toAlgebra |
| 27 | let : IsScalarTower k P A := by |
| 28 | apply IsScalarTower.of_algebraMap_eq |
| 29 | intro r |
| 30 | change algebraMap k A r = aeval (fun _ : Unit => z) (C r) |
| 31 | simp |
| 32 | have hX : algebraMap P A (X ()) = z := by |
| 33 | change aeval (fun _ : Unit => z) (X ()) = z |
| 34 | rw [aeval_X] |
| 35 | let : Algebra.Smooth P A := Blowups.Smooth.CoordinateMap.Construction.smooth_over_coordinate D (by rw [hX]; exact hz) |
| 36 | obtain ⟨f, hf, n, a, ht, he⟩ := |
| 37 | Algebra.IsSmoothAt.exists_isStandardEtale_mvPolynomial (R := P) (S := A) (p := q) |
| 38 | let B := MvPolynomial (Fin n) P |
| 39 | let L := Localization.Away f |
| 40 | let : Algebra B L := a |
| 41 | let : SMul B L := a.toSMul |
| 42 | let : IsScalarTower P B L := ht |
| 43 | let : Algebra.IsStandardEtale B L := he |
| 44 | let ψ : B →+* L := @algebraMap B L inferInstance inferInstance a |
| 45 | let e := sumRingEquiv k (Fin n) Unit |
| 46 | let φ := ψ.comp e.toRingHom |
| 47 | refine ⟨f, hf, n, φ, ?_, ?_, ?_⟩ |
| 48 | · let U := MvPolynomial (Fin n ⊕ Unit) k |
| 49 | let : Algebra U B := e.toRingHom.toAlgebra |
| 50 | let : Algebra U L := φ.toAlgebra |
| 51 | let : IsScalarTower U B L := IsScalarTower.of_algebraMap_eq' rfl |
| 52 | let : Algebra.Etale U B := RingHom.Etale.of_bijective (f := e.toRingHom) e.bijective |
| 53 | exact Algebra.Etale.comp U B L |
| 54 | · intro r |
| 55 | change ψ (e (C r)) = algebraMap k L r |
| 56 | rw [sumRingEquiv_C] |
| 57 | calc |
| 58 | ψ (C (C r)) = algebraMap P L (C r) := |
| 59 | (IsScalarTower.algebraMap_apply P B L (C r)).symm |
| 60 | _ = algebraMap A L (algebraMap P A (C r)) := IsScalarTower.algebraMap_apply P A L (C r) |
| 61 | _ = algebraMap A L (algebraMap k A r) := by |
| 62 | congr 1 |
| 63 | exact (IsScalarTower.algebraMap_apply k P A r).symm |
| 64 | _ = _ := (IsScalarTower.algebraMap_apply k A L r).symm |
| 65 | · change ψ (e (X (Sum.inr ()))) = algebraMap A L z |
| 66 | rw [sumRingEquiv_X_inr] |
| 67 | calc |
| 68 | ψ (C (X ())) = algebraMap P L (X ()) := |
| 69 | (IsScalarTower.algebraMap_apply P B L (X ())).symm |
| 70 | _ = algebraMap A L (algebraMap P A (X ())) := IsScalarTower.algebraMap_apply P A L (X ()) |
| 71 | _ = _ := by rw [hX] |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Resolution.Blowups.AdaptedEtaleCoordinates.Construction |