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.Smooth.CurveCoefficient |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.RetractionDimension |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.RetractionCoverage |
| 4 | |
| 5 | /-! # Surface Order Tree -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.SurfaceOrderTree.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite actual order-reduction trees on étale coordinate surfaces. -/ |
| 12 | |
| 13 | open _root_.Polynomial _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (k : Type u) [Field k] [CharZero k] [IsAlgClosed k] |
| 18 | |
| 19 | section Coordinates |
| 20 | |
| 21 | variable {σ : Type u} [Fintype σ] [DecidableEq σ] |
| 22 | (R : CommRingCat.{u}) [Algebra k R] [Algebra (MvPolynomial σ k) R] |
| 23 | [IsScalarTower k (MvPolynomial σ k) R] [Algebra.Etale (MvPolynomial σ k) R] |
| 24 | |
| 25 | /-- A coordinate maximal-contact equation on an actual étale surface |
| 26 | constructs a finite ambient order-reduction tree, including the complement |
| 27 | of the hypersurface and every point on the hypersurface. -/ |
| 28 | theorem exists_coordinate_surface_order_tree |
| 29 | (hd : ringKrullDim R ≤ 2) (J : Ideal R) (n : ℕ) (h : σ) |
| 30 | (hz : algebraMap (MvPolynomial σ k) R (MvPolynomial.X h) ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) : |
| 31 | Nonempty (Blowups.Smooth.AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree k (n + 1) R J) := by |
| 32 | let : Algebra.Smooth k (MvPolynomial σ k) := ⟨inferInstance, inferInstance⟩ |
| 33 | let : Algebra.Smooth k R := Algebra.Smooth.comp k (MvPolynomial σ k) R |
| 34 | let H := MvPolynomialRetraction.Construction.coordinateLineFiber (k := k) (R := R) h |
| 35 | let : Algebra.Smooth k H := RetractionDimension.Construction.coordinateLineFiber_smooth h |
| 36 | have hdH : ringKrullDim H ≤ 1 := |
| 37 | RetractionDimension.Construction.coordinateLineFiber_dimension_induction h 1 (by simpa using hd) |
| 38 | obtain ⟨V, cV, akV, aHV, aHPV, hkHV, hHPV, heV, g, hg, hgk, hcoord, _, e, hcomm⟩ := |
| 39 | MvPolynomialRetraction.Construction.exists_coordinate_retraction_neighborhood (k := k) (R := R) h |
| 40 | let f : R →ₐ[k] V := { g with commutes' := hgk } |
| 41 | let : Algebra.Smooth k V := Blowups.Etale.RefinementHelpers.Construction.smooth_target_of_etale_algHom k f hg |
| 42 | have hz' := Ideal.mem_map_of_mem g hz |
| 43 | rw [Blowups.Smooth.DifferentialMap.Construction.smooth_iteratedRelativeDifferentialIdeal_map k f hg J n, hcoord] at hz' |
| 44 | obtain ⟨T⟩ := Blowups.Smooth.CurveCoefficient.Construction.exists_retracted_curve_maximal_contact_tree k (.of H) (.of V) |
| 45 | hdH e (J.map g) n hz' |
| 46 | have hcover (q : PrimeSpectrum R) |
| 47 | (hq : algebraMap (MvPolynomial σ k) R (MvPolynomial.X h) ∈ q.asIdeal) : |
| 48 | ∃ _i : ULift.{u} Unit, ∃ Q : PrimeSpectrum V, PrimeSpectrum.comap g Q = q := by |
| 49 | obtain ⟨η, hη⟩ := RetractionCoverage.Construction.coordinate_retraction_lifts_hypersurface_point h |
| 50 | (algebraMap H[X] V X) g e hcomm q.asIdeal hq |
| 51 | refine ⟨⟨()⟩, ⟨RingHom.ker η, RingHom.ker_isPrime η⟩, PrimeSpectrum.ext ?_⟩ |
| 52 | ext x |
| 53 | change η (g x) = 0 ↔ x ∈ q.asIdeal |
| 54 | rw [show η (g x) = algebraMap R q.asIdeal.ResidueField x from RingHom.congr_fun hη x] |
| 55 | exact Ideal.algebraMap_residueField_eq_zero |
| 56 | obtain ⟨S, _⟩ := Blowups.Etale.HypersurfaceTreeCover.Construction.exists_control_tree_of_hypersurface_cover k R J |
| 57 | (algebraMap (MvPolynomial σ k) R (MvPolynomial.X h)) n T.blowupDepth hz |
| 58 | (ULift.{u} Unit) (fun _ => .of V) (fun _ => f) (fun _ => hg) hcover |
| 59 | (fun _ => T) (fun _ => le_rfl) |
| 60 | exact ⟨S⟩ |
| 61 | |
| 62 | end Coordinates |
| 63 | |
| 64 | variable {τ : Type} [Fintype τ] [DecidableEq τ] |
| 65 | (R : CommRingCat.{u}) [Algebra k R] |
| 66 | |
| 67 | /-- Explicit étale coordinate maps with finite small index types give |
| 68 | the same actual surface tree; lifting the indices preserves the ground map |
| 69 | and the chosen hypersurface equation exactly. -/ |
| 70 | theorem exists_surface_order_tree_of_coordinate_map |
| 71 | (ψ : MvPolynomial τ k →+* R) (hψ : ψ.Etale) |
| 72 | (hcoeff : ∀ c : k, ψ (MvPolynomial.C c) = algebraMap k R c) |
| 73 | (hd : ringKrullDim R ≤ 2) (J : Ideal R) (n : ℕ) (h : τ) |
| 74 | (hz : ψ (MvPolynomial.X h) ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) : |
| 75 | Nonempty (Blowups.Smooth.AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree k (n + 1) R J) := by |
| 76 | let E := MvPolynomial.renameEquiv k (Equiv.ulift : ULift.{u} τ ≃ τ) |
| 77 | let φ := ψ.comp E.toRingHom |
| 78 | have hφ : φ.Etale := RingHom.Etale.stableUnderComposition E.toRingHom ψ |
| 79 | (RingHom.Etale.of_bijective E.bijective) hψ |
| 80 | have hC (c : k) : φ (MvPolynomial.C c) = algebraMap k R c := by |
| 81 | change ψ (MvPolynomial.rename (Equiv.ulift : ULift.{u} τ ≃ τ) (MvPolynomial.C c)) = _ |
| 82 | rw [MvPolynomial.rename_C, hcoeff] |
| 83 | let : Algebra (MvPolynomial (ULift.{u} τ) k) R := φ.toAlgebra |
| 84 | let : IsScalarTower k (MvPolynomial (ULift.{u} τ) k) R := |
| 85 | IsScalarTower.of_algebraMap_eq (fun c => (hC c).symm) |
| 86 | let : Algebra.Etale (MvPolynomial (ULift.{u} τ) k) R := RingHom.etale_algebraMap.mp hφ |
| 87 | apply exists_coordinate_surface_order_tree k R hd J n (ULift.up h) |
| 88 | change ψ (MvPolynomial.rename (Equiv.ulift : ULift.{u} τ ≃ τ) (MvPolynomial.X (ULift.up h))) ∈ _ |
| 89 | rw [MvPolynomial.rename_X] |
| 90 | exact hz |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.SurfaceOrderTree.Construction |