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.TransverseCoordinateFiber |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.Operations |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.EquationCongruence |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.OpenChartComposition |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.ChartEtaleBaseChange |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.QuotientPrincipalOpenEquiv |
| 7 | import OAI.AlgebraicGeometry.Resolution.Blowups.PrincipalOpenFactorization |
| 8 | |
| 9 | /-! # Component Fiber -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Removing one boundary label and restricting to that component gives an actual boundary atlas. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.componentFiber |
| 22 | {k R : Type u} [Field k] [CommRing R] [Algebra k R] {β : Type v} |
| 23 | {w : Option β → R} (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R (Option β) w) : |
| 24 | LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k (.of (R ⧸ Ideal.span {w none})) |
| 25 | (fun j => Ideal.Quotient.mk (Ideal.span {w none}) (w (some j))) := by |
| 26 | cases hc : M.coordinate none with |
| 27 | | none => |
| 28 | have hspan : Ideal.span {w none} = ⊤ := by simpa only [hc] using M.component_ideal none |
| 29 | intro p |
| 30 | have h1 : Ideal.Quotient.mk (Ideal.span {w none}) (1 : R) = 0 := |
| 31 | Ideal.Quotient.eq_zero_iff_mem.mpr (by rw [hspan]; trivial) |
| 32 | have h10 : (1 : R ⧸ Ideal.span {w none}) = 0 := by simpa only [map_one] using h1 |
| 33 | exact False.elim (p.isPrime.one_notMem (h10.symm ▸ p.asIdeal.zero_mem)) |
| 34 | | some h => |
| 35 | let N := M.reindex (⟨some, Option.some_injective β⟩ : β ↪ Option β) |
| 36 | have hh : ∀ j, N.coordinate j ≠ some h := by |
| 37 | intro j hj |
| 38 | have he := M.distinct (some j) none h hj hc |
| 39 | cases he |
| 40 | have hspan : Ideal.span {w none} = Ideal.span {M.map (MvPolynomial.X h)} := by |
| 41 | simpa only [hc] using M.component_ideal none |
| 42 | have he := congrArg (fun I : Ideal R => LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k (.of (R ⧸ I)) |
| 43 | (fun j => Ideal.Quotient.mk I (w (some j)))) hspan |
| 44 | exact he.mpr (N.transverseCoordinateFiber h hh).hasEtaleBoundaryCharts |
| 45 | |
| 46 | theorem LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts.componentFiber |
| 47 | {k : Type u} [Field k] {R : CommRingCat.{u}} [Algebra k R] {β : Type v} |
| 48 | {w : Option β → R} (hboundary : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k R w) : |
| 49 | LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k (.of (R ⧸ Ideal.span {w none})) |
| 50 | (fun j => Ideal.Quotient.mk (Ideal.span {w none}) (w (some j))) := by |
| 51 | intro pQ |
| 52 | let Q := R ⧸ Ideal.span {w none} |
| 53 | let q : R →ₐ[k] Q := Ideal.Quotient.mkₐ k _ |
| 54 | let p := PrimeSpectrum.comap q.toRingHom pQ |
| 55 | obtain ⟨C⟩ := hboundary p |
| 56 | obtain ⟨r, hr, g, hg, hgf⟩ := PrincipalOpenFactorization.Construction.exists_pointed_principal_open_factorization R C.carrier |
| 57 | C.map p C.point C.point_over |
| 58 | let A := Localization.Away r |
| 59 | let f : R →ₐ[k] A := IsScalarTower.toAlgHom k R A |
| 60 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom g.toRingHom)) := hg |
| 61 | have hge : g.toRingHom.Etale := |
| 62 | (HasRingHomProperty.Spec_iff (P := @Etale) (φ := CommRingCat.ofHom g.toRingHom)).mp inferInstance |
| 63 | let M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k A (Option β) (fun j => f (w j)) := |
| 64 | (C.model.baseChange g hge).congrEquations (fun j => f (w j)) |
| 65 | (fun j => (AlgHom.congr_fun hgf (w j)).symm) |
| 66 | let H := A ⧸ Ideal.span {algebraMap R A (w none)} |
| 67 | let T := Localization.Away (Ideal.Quotient.mk (Ideal.span {w none}) r) |
| 68 | let e : H ≃ₐ[k] T := QuotientPrincipalOpenEquiv.Construction.normalQuotientPrincipalOpenEquiv k (w none) r |
| 69 | let a : Q →ₐ[k] T := IsScalarTower.toAlgHom k Q T |
| 70 | have hH : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k (.of H) |
| 71 | (fun j => Ideal.Quotient.mk (Ideal.span {algebraMap R A (w none)}) (f (w (some j)))) := M.componentFiber |
| 72 | have he : e.toAlgHom.toRingHom.Etale := RingHom.Etale.of_bijective e.bijective |
| 73 | have hT : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k (.of T) (fun j => a (q (w (some j)))) := by |
| 74 | have h := hH.etale_baseChange (S := .of T) e.toAlgHom he |
| 75 | convert h using 1 |
| 76 | funext j |
| 77 | exact ((QuotientPrincipalOpenEquiv.Construction.normalQuotientPrincipalOpenEquiv_mk k (w none) r (f (w (some j)))).trans |
| 78 | (Blowups.Quotient.PrincipalOpenLift.Construction.quotientPrincipalOpenMap_constants q r (w (some j)))).symm |
| 79 | have hrQ : Ideal.Quotient.mk (Ideal.span {w none}) r ∉ pQ.asIdeal := hr |
| 80 | obtain ⟨P, hP⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime _ pQ hrQ |
| 81 | obtain ⟨B⟩ := hT P |
| 82 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom a.toRingHom)) := |
| 83 | IsOpenImmersion.of_isLocalization (Ideal.Quotient.mk (Ideal.span {w none}) r) |
| 84 | exact ⟨B.comp a (fun j => q (w (some j))) (fun _ => rfl) pQ hP⟩ |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.Resolution.Blowups |