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.CoordinateCenterChart |
| 2 | |
| 3 | /-! # Center Coordinate Completion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.CenterCoordinateCompletion.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Complete a boundary-adapted center frame to actual étale ambient coordinates. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (k : Type u) [CommRing k] |
| 16 | |
| 17 | /-- Complete the adapted center frame relative to the original ground |
| 18 | ring. The original center ideal and every boundary equation become exact |
| 19 | coordinate subsets on an actual affine open through the original point. -/ |
| 20 | theorem complete_boundary_adapted_center_open_chart |
| 21 | (R : CommRingCat.{u}) [Algebra k R] [Algebra.Smooth k R] |
| 22 | (I : Ideal R) {n : ℕ} (w : Fin n → R) (p : PrimeSpectrum R) |
| 23 | (C : AdaptedCenterChart.Construction.BoundaryAdaptedCenterOpenChart k R I w p) : |
| 24 | Nonempty (CoordinateCenterChart.Construction.BoundaryCoordinateCenterOpenChart k R I w p) := by |
| 25 | classical |
| 26 | let A := C.carrier |
| 27 | have het : Etale (Spec.map (CommRingCat.ofHom C.map.toRingHom)) := inferInstance |
| 28 | have hf : C.map.toRingHom.Etale := (HasRingHomProperty.Spec_iff (P := @Etale)).mp het |
| 29 | let : Algebra.Smooth k A := Blowups.Etale.RefinementHelpers.Construction.smooth_target_of_etale_algHom k C.map hf |
| 30 | obtain ⟨t, ht, d, φ, hφ, hφk, hX⟩ := AdaptedEtaleFrame.Construction.exists_adapted_etale_frame |
| 31 | C.derivations C.generators C.dual C.point.asIdeal |
| 32 | let S := Localization.Away t |
| 33 | let f₂ : A →ₐ[k] S := IsScalarTower.toAlgHom k A S |
| 34 | let f : R →ₐ[k] S := f₂.comp C.map |
| 35 | have hopen : IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) := by |
| 36 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom f₂.toRingHom)) := IsOpenImmersion.of_isLocalization t |
| 37 | change IsOpenImmersion (Spec.map (CommRingCat.ofHom C.map.toRingHom ≫ CommRingCat.ofHom f₂.toRingHom)) |
| 38 | rw [Spec.map_comp] |
| 39 | infer_instance |
| 40 | obtain ⟨Q, hQ⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime t C.point ht |
| 41 | have hpoint : PrimeSpectrum.comap f.toRingHom Q = p := by |
| 42 | apply PrimeSpectrum.ext |
| 43 | change Q.asIdeal.comap ((algebraMap A S).comp C.map.toRingHom) = p.asIdeal |
| 44 | have hQI : Q.asIdeal.comap (algebraMap A S) = C.point.asIdeal := congrArg PrimeSpectrum.asIdeal hQ |
| 45 | have hCp : C.point.asIdeal.comap C.map.toRingHom = p.asIdeal := congrArg PrimeSpectrum.asIdeal C.point_over |
| 46 | rw [← Ideal.comap_comap, hQI, hCp] |
| 47 | let τ := Fin d ⊕ C.indices |
| 48 | let e : C.indices ↪ τ := ⟨Sum.inr, Sum.inr_injective⟩ |
| 49 | let B : Finset τ := Finset.univ.image e |
| 50 | have hmapI : I.map f.toRingHom = Ideal.span (Set.range (fun j => algebraMap A S (C.generators j))) := by |
| 51 | change I.map ((algebraMap A S).comp C.map.toRingHom) = _ |
| 52 | rw [← Ideal.map_map, ← C.centerSpan, Ideal.map_span, ← Set.range_comp] |
| 53 | rfl |
| 54 | have hcoordI : (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal B).map φ = |
| 55 | Ideal.span (Set.range (fun j => algebraMap A S (C.generators j))) := by |
| 56 | rw [CoordinateCenterChart.Construction.subsetCoordinateIdeal_map_embedded_family e φ] |
| 57 | apply congrArg Ideal.span |
| 58 | apply congrArg Set.range |
| 59 | funext j |
| 60 | exact hX j |
| 61 | refine ⟨{ carrier := .of S |
| 62 | algebra := inferInstance |
| 63 | map := f |
| 64 | isOpenImmersion := hopen |
| 65 | point := Q |
| 66 | point_over := hpoint |
| 67 | indices := τ |
| 68 | finite := inferInstance |
| 69 | decidableEq := inferInstance |
| 70 | coordinateMap := φ |
| 71 | coordinateEtale := hφ |
| 72 | coordinateGround := hφk |
| 73 | centerIndices := B |
| 74 | centerIdeal := hmapI.trans hcoordI.symm |
| 75 | boundaryIndex := C.boundaryIndex.trans e |
| 76 | boundary_in_center := ?_ |
| 77 | boundaryCoordinates := ?_ }⟩ |
| 78 | · intro j |
| 79 | exact Finset.mem_image.mpr ⟨C.boundaryIndex j, Finset.mem_univ _, rfl⟩ |
| 80 | · intro j |
| 81 | change φ (MvPolynomial.X (Sum.inr (C.boundaryIndex j))) = f (w j) |
| 82 | rw [hX, C.boundaryCoordinates] |
| 83 | rfl |
| 84 | |
| 85 | /-- Any finite smooth boundary frame contained in an actual framed center |
| 86 | admits simultaneous center and boundary coordinates near every point of |
| 87 | the center, with all original equations and point maps retained. -/ |
| 88 | theorem exists_boundary_coordinate_center_open_chart |
| 89 | (R : CommRingCat.{u}) [Algebra k R] [Algebra.Smooth k R] |
| 90 | {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 91 | (g : ι → R) (D : ι → Derivation k R R) |
| 92 | (hD : ∀ i j, D i (g j) = if i = j then 1 else 0) |
| 93 | {n : ℕ} (w : Fin n → R) (E : Fin n → Derivation k R R) |
| 94 | (hE : ∀ i j, E i (w j) = if i = j then 1 else 0) |
| 95 | (hw : ∀ i, w i ∈ Ideal.span (Set.range g)) |
| 96 | (p : PrimeSpectrum R) (hgp : Ideal.span (Set.range g) ≤ p.asIdeal) : |
| 97 | Nonempty (CoordinateCenterChart.Construction.BoundaryCoordinateCenterOpenChart k R (Ideal.span (Set.range g)) w p) := by |
| 98 | obtain ⟨C⟩ := AdaptedCenterExistence.Construction.exists_boundary_adapted_center_open_chart k n R g D hD w E hE hw p hgp |
| 99 | exact complete_boundary_adapted_center_open_chart k R _ w p C |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.CenterCoordinateCompletion.Construction |