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.TransverseContainedCenterCoordinates |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ReplacementBoundaryEmbedding |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.AdjoinCoordinate |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.EquationCongruence |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.Coordinates |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.MixedBoundary.CenterCharts |
| 7 | |
| 8 | /-! # Contained Hypersurface Center Chart -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Adjoin a contained transverse hypersurface to common center and active boundary coordinates. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | /-- At a center point where the displayed old boundary is active, a |
| 21 | transverse contained equation can be adjoined to the boundary without |
| 22 | changing the actual center. All divided-label conditions remain exact. -/ |
| 23 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.active_contained_hypersurface_center_chart |
| 24 | {k : Type u} [Field k] {R : CommRingCat.{u}} [Algebra k R] |
| 25 | {ι : Type v} [DecidableEq ι] {w : ι → R} (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 26 | (C : Finset M.indices) (F : Finset ι) |
| 27 | (hF : ∀ j, j ∈ F ↔ ∃ s ∈ C, M.coordinate j = some s) |
| 28 | (p : PrimeSpectrum R) (hC : (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C).map M.map ≤ p.asIdeal) |
| 29 | (hw : ∀ j, w j ∈ p.asIdeal) (z : R) (hz : z ∈ (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C).map M.map) |
| 30 | (E : Derivation k R R) (hE : E ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w) (hEz : E z ∉ p.asIdeal) : |
| 31 | Nonempty (MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k R ((SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C).map M.map) |
| 32 | (fun j : Option ι => match j with | none => z | some j => w j) |
| 33 | (insert none (F.image some)) p) := by |
| 34 | classical |
| 35 | let : Algebra (MvPolynomial M.indices k) R := M.map.toAlgebra |
| 36 | let : IsScalarTower k (MvPolynomial M.indices k) R := |
| 37 | IsScalarTower.of_algebraMap_eq (fun c => (M.ground c).symm) |
| 38 | let : Algebra.Etale (MvPolynomial M.indices k) R := RingHom.etale_algebraMap.mp M.etale |
| 39 | have hB (s : M.indices) (hs : s ∈ M.boundaryIndices) : M.map (MvPolynomial.X s) ∈ p.asIdeal := by |
| 40 | obtain ⟨j, hj⟩ := (M.mem_boundaryIndices s).mp hs |
| 41 | apply (p.asIdeal.unit_mul_mem_iff_mem (M.multiplierUnit j)).mp |
| 42 | simpa only [M.equation j, hj] using hw j |
| 43 | have hEB (s : M.indices) (hs : s ∈ M.boundaryIndices) : |
| 44 | E (M.map (MvPolynomial.X s)) ∈ Ideal.span {M.map (MvPolynomial.X s)} := by |
| 45 | rw [M.logarithmic_coordinates] at hE |
| 46 | exact hE ⟨s, hs⟩ |
| 47 | obtain ⟨f, i, hf, hiB, φ, hφ, hzero, hrest, hcenter⟩ := |
| 48 | TransverseContainedCenterCoordinates.Construction.exists_transverse_contained_center_coordinates C M.boundaryIndices p.asIdeal hC hB z hz E hEB hEz |
| 49 | let A := Localization.Away f |
| 50 | let γ : R →ₐ[k] A := IsScalarTower.toAlgHom k R A |
| 51 | let e := ReplacementBoundaryEmbedding.Construction.replacementBoundaryEmbedding M.boundaryIndices i.val hiB |
| 52 | have he (s : M.boundaryIndices) : φ (MvPolynomial.X (e s)) = γ (M.map (MvPolynomial.X s.val)) := |
| 53 | hrest ⟨s.val, fun h => hiB (h.symm ▸ s.property)⟩ |
| 54 | have hground (c : k) : φ (MvPolynomial.C c) = algebraMap k A c := φ.commutes c |
| 55 | let N := M.replaceCoordinates γ φ.toRingHom hφ hground e he |
| 56 | have hnone (j : ι) : N.coordinate j ≠ some none := |
| 57 | M.replaceCoordinates_unused γ φ.toRingHom hφ hground e he none |
| 58 | (ReplacementBoundaryEmbedding.Construction.replacementBoundaryEmbedding_ne_none M.boundaryIndices i.val hiB) j |
| 59 | let v : Option ι → R := fun j => match j with | none => z | some j => w j |
| 60 | let N' := (N.adjoinEquation (γ z) none hnone hzero).congrEquations (fun j => γ (v j)) |
| 61 | (by intro j; cases j <;> rfl) |
| 62 | obtain ⟨Q, hQ⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime f p hf |
| 63 | let O : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryOpenChart k R v p := |
| 64 | { carrier := .of A |
| 65 | algebra := inferInstance |
| 66 | map := γ |
| 67 | isOpenImmersion := IsOpenImmersion.of_isLocalization f |
| 68 | point := Q |
| 69 | point_over := hQ |
| 70 | model := N' } |
| 71 | let K := Finset.univ.image (ReplacedCenterCoordinateIndices.Construction.centerReplacementCoordinateEmbedding C i) |
| 72 | refine ⟨{ chart := O |
| 73 | coordinates := K |
| 74 | center_eq := hcenter |
| 75 | divided_iff := ?_ }⟩ |
| 76 | intro j |
| 77 | cases j with |
| 78 | | none => |
| 79 | change none ∈ insert none (F.image some) ↔ ∃ s ∈ K, some none = some s |
| 80 | constructor |
| 81 | · intro _ |
| 82 | exact ⟨none, Finset.mem_image.mpr ⟨none, Finset.mem_univ _, rfl⟩, rfl⟩ |
| 83 | · intro _ |
| 84 | exact Finset.mem_insert_self _ _ |
| 85 | | some j => |
| 86 | change some j ∈ insert none (F.image some) ↔ |
| 87 | ∃ s ∈ K, (M.boundaryCoordinate j).map e = some s |
| 88 | have hmem : some j ∈ insert none (F.image some) ↔ j ∈ F := by simp |
| 89 | rw [hmem, hF j] |
| 90 | have h := ReplacementBoundaryEmbedding.Construction.replacement_boundary_center_iff C M.boundaryIndices i hiB (M.boundaryCoordinate j) |
| 91 | rw [M.boundaryCoordinate_map] at h |
| 92 | exact h.symm |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Resolution.Blowups |