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.TransverseContainedCenterPivot |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ReplacedCenterCoordinateIndices |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.CoordinateReplacement |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RelativePartialBaseChange |
| 5 | |
| 6 | /-! # Transverse Contained Center Coordinates -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.TransverseContainedCenterCoordinates.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual common coordinates for a contained transverse hypersurface and a boundary-compatible center. -/ |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | /-- A principal neighborhood retains the original center exactly, makes |
| 17 | the contained hypersurface a center coordinate, and preserves every other |
| 18 | coordinate. The replaced coordinate lies outside the entire active boundary. -/ |
| 19 | theorem exists_transverse_contained_center_coordinates |
| 20 | {σ k R : Type u} [Field k] [CommRing R] [Fintype σ] [DecidableEq σ] |
| 21 | [Algebra (MvPolynomial σ k) R] [Algebra.Etale (MvPolynomial σ k) R] |
| 22 | [Algebra k R] [IsScalarTower k (MvPolynomial σ k) R] |
| 23 | (C B : Finset σ) (q : Ideal R) [q.IsPrime] |
| 24 | (hC : Blowups.Etale.CoefficientStep.Construction.etaleCoordinateIdeal (K := k) (S := R) C ≤ q) |
| 25 | (hB : ∀ i ∈ B, algebraMap (MvPolynomial σ k) R (MvPolynomial.X i) ∈ q) |
| 26 | (z : R) (hz : z ∈ Blowups.Etale.CoefficientStep.Construction.etaleCoordinateIdeal (K := k) (S := R) C) |
| 27 | (E : Derivation k R R) |
| 28 | (hE : ∀ i ∈ B, E (algebraMap (MvPolynomial σ k) R (MvPolynomial.X i)) ∈ |
| 29 | Ideal.span {algebraMap (MvPolynomial σ k) R (MvPolynomial.X i)}) |
| 30 | (hEz : E z ∉ q) : |
| 31 | ∃ (f : R) (i : C), f ∉ q ∧ i.val ∉ B ∧ |
| 32 | ∃ φ : MvPolynomial (Option {j : σ // i.val ≠ j}) k →ₐ[k] Localization.Away f, |
| 33 | φ.toRingHom.Etale ∧ φ (MvPolynomial.X none) = algebraMap R (Localization.Away f) z ∧ |
| 34 | (∀ j : {j : σ // i.val ≠ j}, φ (MvPolynomial.X (some j)) = |
| 35 | algebraMap R (Localization.Away f) (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j.val))) ∧ |
| 36 | (Blowups.Etale.CoefficientStep.Construction.etaleCoordinateIdeal (K := k) (S := R) C).map (algebraMap R (Localization.Away f)) = |
| 37 | (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal (Finset.univ.image (ReplacedCenterCoordinateIndices.Construction.centerReplacementCoordinateEmbedding C i))).map φ.toRingHom := by |
| 38 | classical |
| 39 | obtain ⟨i, c, hiB, hc, hci, hDi⟩ := TransverseContainedCenterPivot.Construction.exists_transverse_contained_center_pivot C B q hC hB z hz E hE hEz |
| 40 | let f := c i * Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i.val z |
| 41 | have hf : f ∉ q := q.primeCompl.mul_mem hci hDi |
| 42 | let A := Localization.Away f |
| 43 | let : Algebra.Etale R A := Algebra.Etale.of_isLocalizationAway f |
| 44 | let : Algebra.Etale (MvPolynomial σ k) A := Algebra.Etale.comp (MvPolynomial σ k) R A |
| 45 | have hu : IsUnit (algebraMap R A (c i) * |
| 46 | algebraMap R A (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i.val z)) := by |
| 47 | rw [← map_mul] |
| 48 | exact IsLocalization.Away.algebraMap_isUnit f |
| 49 | have hupartial : IsUnit (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := A) i.val (algebraMap R A z)) := by |
| 50 | rw [Blowups.Etale.RelativePartialBaseChange.Construction.etaleRelativePartial_baseChange (S := R) (T := A)] |
| 51 | exact isUnit_of_mul_isUnit_right hu |
| 52 | let φ : MvPolynomial (Option {j : σ // i.val ≠ j}) k →ₐ[k] A := |
| 53 | Blowups.Etale.CoordinateReplacement.Construction.replacementCoordinateMap i.val (algebraMap R A z) |
| 54 | have hzero : φ (MvPolynomial.X none) = algebraMap R A z := |
| 55 | Blowups.Etale.CoordinateReplacement.Construction.replacementCoordinateMap_none i.val (algebraMap R A z) |
| 56 | have hrest (j : {j : σ // i.val ≠ j}) : φ (MvPolynomial.X (some j)) = |
| 57 | algebraMap R A (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j.val)) := by |
| 58 | rw [Blowups.Etale.CoordinateReplacement.Construction.replacementCoordinateMap_some] |
| 59 | exact IsScalarTower.algebraMap_apply (MvPolynomial σ k) R A (MvPolynomial.X j.val) |
| 60 | refine ⟨f, i, hf, hiB, φ, Blowups.Etale.CoordinateReplacement.Construction.replacementCoordinateMap_etale i.val _ hupartial, hzero, hrest, ?_⟩ |
| 61 | let g : C → A := fun j => algebraMap R A (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j.val)) |
| 62 | have hc' : (∑ j, algebraMap R A (c j) * g j) = algebraMap R A z := by |
| 63 | simpa only [map_sum, map_mul] using congrArg (algebraMap R A) hc |
| 64 | have hgen : (Blowups.Etale.CoefficientStep.Construction.etaleCoordinateIdeal (K := k) (S := R) C).map (algebraMap R A) = |
| 65 | Ideal.span (Set.range g) := by |
| 66 | have hroot : Blowups.Etale.CoefficientStep.Construction.etaleCoordinateIdeal (K := k) (S := R) C = |
| 67 | Ideal.span (Set.range (fun j : C => algebraMap (MvPolynomial σ k) R (MvPolynomial.X j.val))) := |
| 68 | Coordinate.CenterPermissibility.Construction.etaleSubsetCoordinateIdeal_eq_span (K := k) (S := R) C |
| 69 | have h := congrArg (fun I : Ideal R => I.map (algebraMap R A)) hroot |
| 70 | rw [Ideal.map_span, ← Set.range_comp] at h |
| 71 | exact h |
| 72 | have hrep := CenterGeneratorReplacement.Construction.centerReplacementFamily_span g (fun j => algebraMap R A (c j)) i |
| 73 | (algebraMap R A z) hc' (isUnit_of_mul_isUnit_left hu) |
| 74 | have hcoord := ReplacedCenterCoordinateIndices.Construction.replaced_center_coordinate_ideal C i |
| 75 | (fun j => algebraMap R A (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j))) |
| 76 | (algebraMap R A z) φ.toRingHom hzero hrest |
| 77 | exact hgen.trans (hrep.symm.trans hcoord.symm) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Resolution.Blowups.TransverseContainedCenterCoordinates.Construction |