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.Surface.OrderOpenChart |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Curve.CenterPointedFrame |
| 3 | |
| 4 | /-! # Surface Order Tree -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.SurfaceOrderTree.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite actual maximal-order reduction on arbitrary smooth affine surfaces. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (k : Type u) [Field k] [CharZero k] [IsAlgClosed k] |
| 17 | (R : CommRingCat.{u}) [Algebra k R] [Algebra.Smooth k R] |
| 18 | |
| 19 | /-- A finite differential bound supplies an actual open order-reduction |
| 20 | chart at every prime of a smooth affine surface. -/ |
| 21 | theorem smooth_surface_order_open_chart_at (hd : ringKrullDim R ≤ 2) |
| 22 | (J : Ideal R) (n : ℕ) (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J (n + 1) = ⊤) |
| 23 | (q : PrimeSpectrum R) : |
| 24 | ∃ C : Surface.OrderOpenChart.Construction.SurfaceOrderOpenChart k R J (n + 1), q ∈ C.openRange := by |
| 25 | classical |
| 26 | let I := Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n |
| 27 | by_cases hIq : I ≤ q.asIdeal |
| 28 | · have hI : Relative.DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k I = ⊤ := |
| 29 | (Curve.IntrinsicStep.Construction.first_iteratedRelativeDifferentialIdeal k J n).trans hbound |
| 30 | obtain ⟨D, z, hDz⟩ := Curve.CenterPointedFrame.Construction.exists_derivative_outside_center_prime k I q.asIdeal hIq hI |
| 31 | exact Surface.OrderOpenChart.Construction.surface_derivative_order_open_chart k R hd J n D z.val z.property q hDz |
| 32 | · obtain ⟨a, ha, haq⟩ : ∃ a ∈ I, a ∉ q.asIdeal := by |
| 33 | by_contra! h |
| 34 | exact hIq h |
| 35 | let S := Localization.Away a |
| 36 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 37 | have hf : f.toRingHom.Etale := RingHom.etale_algebraMap.mpr (Algebra.Etale.of_isLocalizationAway a) |
| 38 | have ht : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (J.map f.toRingHom) n = ⊤ := by |
| 39 | rw [← DifferentialMap.Construction.smooth_iteratedRelativeDifferentialIdeal_map k f hf J n] |
| 40 | exact Ideal.eq_top_of_isUnit_mem _ (Ideal.mem_map_of_mem f.toRingHom ha) |
| 41 | (IsLocalization.Away.algebraMap_isUnit a) |
| 42 | let T : AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree k (n + 1) (.of S) (J.map f.toRingHom) := |
| 43 | .terminal (by simpa only [Nat.add_sub_cancel] using ht) |
| 44 | let C : Surface.OrderOpenChart.Construction.SurfaceOrderOpenChart k R J (n + 1) := |
| 45 | ⟨.of S, inferInstance, f, IsOpenImmersion.of_isLocalization a, T⟩ |
| 46 | obtain ⟨P, hP⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime a q haq |
| 47 | refine ⟨C, ?_⟩ |
| 48 | change q ∈ Set.range (PrimeSpectrum.comap (algebraMap R S)) |
| 49 | exact ⟨P, hP⟩ |
| 50 | |
| 51 | /-- Every bounded ideal on a smooth affine surface has a finite tree of |
| 52 | actual permissible smooth blowups and finite jointly surjective étale |
| 53 | refinements whose leaves have strictly lower maximal order. -/ |
| 54 | theorem exists_smooth_surface_order_reduction_tree (hd : ringKrullDim R ≤ 2) |
| 55 | (J : Ideal R) (n : ℕ) (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J (n + 1) = ⊤) : |
| 56 | Nonempty (AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree k (n + 1) R J) := by |
| 57 | classical |
| 58 | choose C hC using smooth_surface_order_open_chart_at k R hd J n hbound |
| 59 | have hcover : Set.univ ⊆ ⋃ p, ((C p).openRange : Set (PrimeSpectrum R)) := by |
| 60 | intro p _ |
| 61 | exact Set.mem_iUnion.mpr ⟨p, hC p⟩ |
| 62 | obtain ⟨s, hs⟩ := isCompact_univ.elim_finite_subcover |
| 63 | (fun p => ((C p).openRange : Set (PrimeSpectrum R))) (fun p => (C p).openRange.isOpen) hcover |
| 64 | have hsurj (p : PrimeSpectrum R) : ∃ i : s, ∃ q : PrimeSpectrum (C i.val).carrier, |
| 65 | PrimeSpectrum.comap (C i.val).map.toRingHom q = p := by |
| 66 | obtain ⟨i, hi, hp⟩ := Set.mem_iUnion₂.mp (hs (Set.mem_univ p)) |
| 67 | exact ⟨⟨i, hi⟩, hp⟩ |
| 68 | have het (i : s) : (C i.val).map.toRingHom.Etale := by |
| 69 | have h : Etale (Spec.map (CommRingCat.ofHom (C i.val).map.toRingHom)) := inferInstance |
| 70 | exact (HasRingHomProperty.Spec_iff (P := @Etale)).mp h |
| 71 | exact ⟨.refineEtale s (fun i => (C i.val).carrier) (fun i => (C i.val).map) |
| 72 | het hsurj (fun i => (C i.val).tree)⟩ |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.SurfaceOrderTree.Construction |