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.Modeled.FixedTransverseCoordinates |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ActiveModeledBoundaryChart |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.Coordinates |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.UnitLabelsUnused |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.TransverseBoundaryOpen |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.RefinedNormalOpen |
| 7 | |
| 8 | /-! # Fixed Normal Boundary Open -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.FixedNormalBoundaryOpen.Construction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Adapt the full boundary to a specified normal equation without replacing that equation. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | /-- A boundary-tangent derivative taking the given equation to one |
| 21 | supplies actual pointed coordinates retaining that equation and every |
| 22 | original boundary label. This includes labels absent from the point. -/ |
| 23 | theorem exists_fixed_normal_boundary_open |
| 24 | {k : Type u} [Field k] (R : CommRingCat.{u}) [Algebra k R] |
| 25 | {ι : Type v} [Fintype ι] (w : ι → R) (M : Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 26 | (E : Derivation k R R) (hE : E ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w) |
| 27 | (z : R) (hz : E z = 1) (p : PrimeSpectrum R) : |
| 28 | Nonempty (TransverseBoundaryOpen.Construction.TransverseBoundaryOpenChart k R w z p) := by |
| 29 | classical |
| 30 | have hbound : Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w (Ideal.span {z}) 1 = ⊤ := by |
| 31 | change Relative.LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k w (Ideal.span {z}) = ⊤ |
| 32 | have h := Relative.LogarithmicIdeal.Construction.relative_logarithmic_derivation_mem_first k w (Ideal.span {z}) |
| 33 | ⟨E, hE⟩ (Ideal.mem_span_singleton_self z) |
| 34 | rw [hz] at h |
| 35 | exact Ideal.eq_top_of_isUnit_mem _ h isUnit_one |
| 36 | obtain ⟨C⟩ := ActiveModeledBoundaryChart.Construction.exists_active_modeled_boundary_open_chart R w M (Ideal.span {z}) 1 p hbound |
| 37 | let A := Localization.Away C.denominator |
| 38 | let E' := Etale.Derivation.Construction.extendEtaleRingDerivation (S := A) E |
| 39 | have hEfull : E' ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k (fun j => algebraMap R A (w j)) := |
| 40 | Relative.LogarithmicBoundary.Construction.extendEtaleRingDerivation_relative_logarithmic (S := A) k w ⟨E, hE⟩ |
| 41 | have hEa : E' ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k |
| 42 | (fun j : C.active => algebraMap R A (w j.val)) := fun j => hEfull j.val |
| 43 | have hza : E' (algebraMap R A z) = 1 := by |
| 44 | change Etale.Derivation.Construction.extendEtaleRingDerivation (S := A) E (algebraMap R A z) = 1 |
| 45 | rw [Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hz, map_one] |
| 46 | have hzn : E' (algebraMap R A z) ∉ C.point.asIdeal := by |
| 47 | rw [hza] |
| 48 | intro h1 |
| 49 | exact C.point.isPrime.ne_top (Ideal.eq_top_of_isUnit_mem _ h1 isUnit_one) |
| 50 | obtain ⟨D, f, d, φ, η, hφ, hg, hZ, hW, hη⟩ := |
| 51 | Modeled.FixedTransverseCoordinates.Construction.exists_modeled_fixed_transverse_coordinates C.model C.point.asIdeal |
| 52 | C.active_equations_mem E' hEa (algebraMap R A z) hzn |
| 53 | let U := Localization.Away f |
| 54 | let gA : A →ₐ[k] U := IsScalarTower.toAlgHom k A U |
| 55 | let g : R →ₐ[k] U := gA.comp (IsScalarTower.toAlgHom k R A) |
| 56 | let e : C.model.boundaryIndices ↪ Fin d ⊕ Option C.model.boundaryIndices := |
| 57 | ⟨fun s => Sum.inr (some s), fun _ _ h => Option.some.inj (Sum.inr.inj h)⟩ |
| 58 | let N := C.model.replaceCoordinates gA φ hφ hg e hW |
| 59 | have hn : ∀ j, N.coordinate j ≠ some (Sum.inr none) := |
| 60 | C.model.replaceCoordinates_unused gA φ hφ hg e hW (Sum.inr none) (by |
| 61 | intro s hs |
| 62 | have hbad : some s = none := Sum.inr.inj hs |
| 63 | cases hbad) |
| 64 | have hu (j : ι) (hj : j ∉ C.active) : IsUnit (g (w j)) := |
| 65 | (C.inactive_units j hj).map gA.toRingHom |
| 66 | let N' := Etale.BoundaryModel.Construction.EtaleBoundaryModel.extendUnitLabels (fun j => g (w j)) C.active N hu |
| 67 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom gA.toRingHom)) := |
| 68 | RefinedNormalOpen.Construction.refinedNormalOpen_isOpenImmersion D (algebraMap R A z) f |
| 69 | have ho : IsOpenImmersion (Spec.map (CommRingCat.ofHom g.toRingHom)) := by |
| 70 | change IsOpenImmersion (Spec.map |
| 71 | (CommRingCat.ofHom (algebraMap R A) ≫ CommRingCat.ofHom gA.toRingHom)) |
| 72 | rw [Spec.map_comp] |
| 73 | infer_instance |
| 74 | obtain ⟨Q, hQ⟩ := RefinedNormalOpen.Construction.refinedNormalOpen_lifts_prime D (algebraMap R A z) f C.point η hη |
| 75 | have hQI : Q.asIdeal.comap gA.toRingHom = C.point.asIdeal := congrArg PrimeSpectrum.asIdeal hQ |
| 76 | have hpI : C.point.asIdeal.comap (algebraMap R A) = p.asIdeal := |
| 77 | congrArg PrimeSpectrum.asIdeal C.point_over |
| 78 | have hQp : PrimeSpectrum.comap g.toRingHom Q = p := by |
| 79 | apply PrimeSpectrum.ext |
| 80 | change Q.asIdeal.comap (gA.toRingHom.comp (algebraMap R A)) = p.asIdeal |
| 81 | rw [← Ideal.comap_comap, hQI, hpI] |
| 82 | let chart : Etale.BoundaryModel.Construction.EtaleBoundaryOpenChart k R w p := |
| 83 | { carrier := .of U |
| 84 | algebra := inferInstance |
| 85 | map := g |
| 86 | isOpenImmersion := ho |
| 87 | point := Q |
| 88 | point_over := hQp |
| 89 | model := N' } |
| 90 | exact ⟨{ chart := chart |
| 91 | normalIndex := Sum.inr none |
| 92 | normal_eq := hZ |
| 93 | normal_unused := N.extendUnitLabels_unused (fun j => g (w j)) C.active hu |
| 94 | (Sum.inr none) hn }⟩ |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Resolution.Blowups.FixedNormalBoundaryOpen.Construction |