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.Coordinate.SurfaceOrderTree |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.AdaptedDerivativeNeighborhood |
| 3 | |
| 4 | /-! # Order Open Chart -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Surface.OrderOpenChart.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual open order-reduction charts around derivative points of a smooth surface. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | structure SurfaceOrderOpenChart (k R : Type u) [CommRing k] [CommRing R] [Algebra k R] |
| 17 | (J : Ideal R) (b : ℕ) where |
| 18 | carrier : CommRingCat.{u} |
| 19 | algebra : Algebra k carrier |
| 20 | map : R →ₐ[k] carrier |
| 21 | isOpenImmersion : IsOpenImmersion (Spec.map (CommRingCat.ofHom map.toRingHom)) |
| 22 | tree : Blowups.Smooth.AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree k b carrier (J.map map.toRingHom) |
| 23 | |
| 24 | attribute [instance] SurfaceOrderOpenChart.algebra SurfaceOrderOpenChart.isOpenImmersion |
| 25 | |
| 26 | def SurfaceOrderOpenChart.openRange {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] |
| 27 | {J : Ideal R} {b : ℕ} (C : SurfaceOrderOpenChart k R J b) : TopologicalSpace.Opens (PrimeSpectrum R) := |
| 28 | (Spec.map (CommRingCat.ofHom C.map.toRingHom)).opensRange |
| 29 | |
| 30 | variable (k : Type u) [Field k] [CharZero k] [IsAlgClosed k] |
| 31 | (R : CommRingCat.{u}) [Algebra k R] [Algebra.Smooth k R] |
| 32 | |
| 33 | /-- A nonvanishing derivative of an actual maximal-contact section gives |
| 34 | an affine open order-reduction chart containing the specified original point. |
| 35 | The equation is retained through both principal localizations and coordinate adaptation. -/ |
| 36 | theorem surface_derivative_order_open_chart (hd : ringKrullDim R ≤ 2) |
| 37 | (J : Ideal R) (n : ℕ) (D : Derivation k R R) (z : R) |
| 38 | (hz : z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) |
| 39 | (q : PrimeSpectrum R) (hDz : D z ∉ q.asIdeal) : |
| 40 | ∃ C : SurfaceOrderOpenChart k R J (n + 1), q ∈ C.openRange := by |
| 41 | let A := DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z |
| 42 | obtain ⟨Q, hQ⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime (D z) q hDz |
| 43 | obtain ⟨t, ht, d, ψ, hψ, hψk, hψX⟩ := AdaptedDerivativeNeighborhood.Construction.derivativeNeighborhood_exists_adapted_coordinates D z Q.asIdeal |
| 44 | let S := Localization.Away t |
| 45 | let f : R →ₐ[k] S := (IsScalarTower.toAlgHom k A S).comp (IsScalarTower.toAlgHom k R A) |
| 46 | have hopen : IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) := by |
| 47 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom (algebraMap R A))) := |
| 48 | IsOpenImmersion.of_isLocalization (D z) |
| 49 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom (algebraMap A S))) := |
| 50 | IsOpenImmersion.of_isLocalization t |
| 51 | change IsOpenImmersion (Spec.map (CommRingCat.ofHom (algebraMap R A) ≫ |
| 52 | CommRingCat.ofHom (algebraMap A S))) |
| 53 | rw [Spec.map_comp] |
| 54 | infer_instance |
| 55 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) := hopen |
| 56 | have het : Etale (Spec.map (CommRingCat.ofHom f.toRingHom)) := inferInstance |
| 57 | have hf : f.toRingHom.Etale := (HasRingHomProperty.Spec_iff (P := @Etale)).mp het |
| 58 | have hdim : ringKrullDim S ≤ 2 := (Affine.OpenDimension.Construction.ringKrullDim_le_of_spec_openImmersion f.toRingHom).trans hd |
| 59 | have hzmap := Ideal.mem_map_of_mem f.toRingHom hz |
| 60 | rw [Blowups.Smooth.DifferentialMap.Construction.smooth_iteratedRelativeDifferentialIdeal_map k f hf J n] at hzmap |
| 61 | have hfx : f z = algebraMap R S z := (IsScalarTower.algebraMap_apply R A S z).symm |
| 62 | have hzcoord : ψ (MvPolynomial.X (Sum.inr ())) ∈ |
| 63 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (J.map f.toRingHom) n := by |
| 64 | rw [hψX, ← hfx] |
| 65 | exact hzmap |
| 66 | obtain ⟨T⟩ := Coordinate.SurfaceOrderTree.Construction.exists_surface_order_tree_of_coordinate_map k (.of S) ψ hψ hψk |
| 67 | hdim (J.map f.toRingHom) n (Sum.inr ()) hzcoord |
| 68 | let C : SurfaceOrderOpenChart k R J (n + 1) := ⟨.of S, inferInstance, f, hopen, T⟩ |
| 69 | obtain ⟨P, hP⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime t Q ht |
| 70 | refine ⟨C, ?_⟩ |
| 71 | change q ∈ Set.range (PrimeSpectrum.comap f.toRingHom) |
| 72 | refine ⟨P, PrimeSpectrum.ext ?_⟩ |
| 73 | have hPI : P.asIdeal.comap (algebraMap A S) = Q.asIdeal := congrArg PrimeSpectrum.asIdeal hP |
| 74 | have hQI : Q.asIdeal.comap (algebraMap R A) = q.asIdeal := congrArg PrimeSpectrum.asIdeal hQ |
| 75 | change P.asIdeal.comap ((algebraMap A S).comp (algebraMap R A)) = q.asIdeal |
| 76 | rw [← Ideal.comap_comap, hPI, hQI] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Resolution.Blowups.Surface.OrderOpenChart.Construction |