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.Boundary.CoefficientOpenChart |
| 2 | |
| 3 | /-! # Boundary Coefficient Neighborhood -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Modeled.BoundaryCoefficientNeighborhood.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Construct the complete pointed boundary-compatible coefficient neighborhood. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | theorem exists_modeled_boundary_coefficient_open_chart |
| 16 | {k : Type u} [Field k] (R : CommRingCat.{u}) [Algebra k R] |
| 17 | {ι : Type v} [Fintype ι] (w : ι → R) (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 18 | (J : Ideal R) (n : ℕ) (p : PrimeSpectrum R) |
| 19 | (hJ : J.map (algebraMap R (Localization.AtPrime p.asIdeal)) ≤ |
| 20 | IsLocalRing.maximalIdeal (Localization.AtPrime p.asIdeal) ^ (n + 1)) |
| 21 | (hbound : Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J (n + 1) = ⊤) : |
| 22 | Nonempty (Boundary.CoefficientOpenChart.Construction.BoundaryCoefficientOpenChart k R w J n p) := by |
| 23 | classical |
| 24 | let : Algebra.Smooth k R := M.smooth |
| 25 | obtain ⟨C, z, E, f, hz, hzq, _, hE, ⟨N⟩, ⟨B⟩, η, hη⟩ := |
| 26 | ActiveModeledBoundaryFiber.Construction.exists_active_modeled_boundary_fiber R w M J n p hJ hbound |
| 27 | let A := Localization.Away C.denominator |
| 28 | let U := Localization.Away f |
| 29 | let gA : A →ₐ[k] U := IsScalarTower.toAlgHom k A U |
| 30 | let g : R →ₐ[k] U := IsScalarTower.toAlgHom k R U |
| 31 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom (algebraMap A U))) := |
| 32 | RefinedNormalOpen.Construction.refinedNormalOpen_isOpenImmersion E z f |
| 33 | have ho : IsOpenImmersion (Spec.map (CommRingCat.ofHom g.toRingHom)) := by |
| 34 | have he : CommRingCat.ofHom g.toRingHom = |
| 35 | CommRingCat.ofHom (algebraMap R A) ≫ CommRingCat.ofHom (algebraMap A U) := |
| 36 | congrArg CommRingCat.ofHom (IsScalarTower.algebraMap_eq R A U) |
| 37 | rw [he, Spec.map_comp] |
| 38 | infer_instance |
| 39 | have hgA : gA.toRingHom.Etale := (HasRingHomProperty.Spec_iff (P := @Etale)).mp |
| 40 | (inferInstance : Etale (Spec.map (CommRingCat.ofHom (algebraMap A U)))) |
| 41 | let : Algebra.Smooth k A := Algebra.Smooth.comp k R A |
| 42 | have hJmap : (J.map (algebraMap R A)).map gA.toRingHom = J.map g.toRingHom := by |
| 43 | change (J.map (algebraMap R A)).map (algebraMap A U) = J.map (algebraMap R U) |
| 44 | rw [Ideal.map_map, ← IsScalarTower.algebraMap_eq R A U] |
| 45 | have hz' : algebraMap A U z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (J.map g.toRingHom) n := by |
| 46 | have h := Ideal.mem_map_of_mem gA.toRingHom hz |
| 47 | rw [Blowups.Smooth.DifferentialMap.Construction.smooth_iteratedRelativeDifferentialIdeal_map k gA hgA (J.map (algebraMap R A)) n, hJmap] at h |
| 48 | exact h |
| 49 | obtain ⟨Q, hQ⟩ := RefinedNormalOpen.Construction.refinedNormalOpen_lifts_prime E z f C.point η hη |
| 50 | have hQI : Q.asIdeal.comap (algebraMap A U) = C.point.asIdeal := |
| 51 | congrArg PrimeSpectrum.asIdeal hQ |
| 52 | have hpI : C.point.asIdeal.comap (algebraMap R A) = p.asIdeal := |
| 53 | congrArg PrimeSpectrum.asIdeal C.point_over |
| 54 | have hQp : PrimeSpectrum.comap g.toRingHom Q = p := by |
| 55 | apply PrimeSpectrum.ext |
| 56 | change Q.asIdeal.comap (algebraMap R U) = p.asIdeal |
| 57 | rw [IsScalarTower.algebraMap_eq R A U, ← Ideal.comap_comap, hQI, hpI] |
| 58 | have hzQ : algebraMap A U z ∈ Q.asIdeal := by |
| 59 | change z ∈ Q.asIdeal.comap (algebraMap A U) |
| 60 | rw [hQI] |
| 61 | exact hzq |
| 62 | have hEfull : E ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k (fun j => algebraMap R A (w j)) := by |
| 63 | intro j |
| 64 | by_cases hj : j ∈ C.active |
| 65 | · exact hE ⟨j, hj⟩ |
| 66 | · rw [Ideal.span_singleton_eq_top.mpr (C.inactive_units j hj)] |
| 67 | trivial |
| 68 | have hD := RefinedNormalDerivative.Construction.refinedNormalDerivation_relative_logarithmic |
| 69 | (fun j => algebraMap R A (w j)) E hEfull z f |
| 70 | have hew : (fun j => algebraMap A U (algebraMap R A (w j))) = (fun j => g (w j)) := by |
| 71 | funext j |
| 72 | exact (IsScalarTower.algebraMap_apply R A U (w j)).symm |
| 73 | rw [hew] at hD |
| 74 | exact ⟨{ carrier := .of U |
| 75 | algebra := inferInstance |
| 76 | map := g |
| 77 | isOpenImmersion := ho |
| 78 | point := Q |
| 79 | point_over := hQp |
| 80 | normal := algebraMap A U z |
| 81 | normal_mem := hz' |
| 82 | normal_mem_point := hzQ |
| 83 | derivative := RefinedNormalDerivative.Construction.refinedNormalDerivation E z f |
| 84 | derivative_normal := RefinedNormalDerivative.Construction.refinedNormalDerivation_equation E z f |
| 85 | derivative_tangent := hD |
| 86 | ambientModel := N |
| 87 | coefficientModel := B }⟩ |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Resolution.Blowups.Modeled.BoundaryCoefficientNeighborhood.Construction |