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.Quotient.ModeledBoundaryCenterLift |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.PrincipalOpenFactorization |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Quotient.PrincipalOpenLift |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.Operations |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.EquationCongruence |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.Quotient.BoundaryCenterOpenSquare |
| 7 | |
| 8 | /-! # Mixed Boundary Center Lift -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Boundary-compatible centers on a smooth normal quotient lift using actual ambient open charts. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | theorem Quotient.MixedBoundaryCenterLift.Construction.quotient_mixed_boundary_center_chart_lifts |
| 21 | {k : Type u} [Field k] (R Q : CommRingCat.{u}) |
| 22 | [Algebra k R] [Algebra k Q] [Algebra.Smooth k R] |
| 23 | (q : R →ₐ[k] Q) (hq : Function.Surjective q) (z : R) |
| 24 | (hker : RingHom.ker q.toRingHom = Ideal.span {z}) |
| 25 | (D : Derivation k R R) (hDz : D z = 1) |
| 26 | {β : Type v} [Fintype β] (w : β → R) (K : Ideal Q) (F : Finset β) |
| 27 | (p : PrimeSpectrum R) (pQ : PrimeSpectrum Q) (hpQ : PrimeSpectrum.comap q.toRingHom pQ = p) |
| 28 | (C : MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k Q K (fun j => q (w j)) F pQ) : |
| 29 | Nonempty (MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k R (K.comap q.toRingHom) w F p) := by |
| 30 | classical |
| 31 | obtain ⟨s, hs, g, hg, hgf⟩ := PrincipalOpenFactorization.Construction.exists_pointed_principal_open_factorization Q C.chart.carrier |
| 32 | C.chart.map pQ C.chart.point C.chart.point_over |
| 33 | obtain ⟨r, rfl⟩ := hq s |
| 34 | let A := Localization.Away r |
| 35 | let T := Localization.Away (q r) |
| 36 | let f : R →ₐ[k] A := IsScalarTower.toAlgHom k R A |
| 37 | let a : Q →ₐ[k] T := IsScalarTower.toAlgHom k Q T |
| 38 | let q' : A →ₐ[k] T := Quotient.PrincipalOpenLift.Construction.quotientPrincipalOpenMap q r |
| 39 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) := |
| 40 | IsOpenImmersion.of_isLocalization r |
| 41 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom g.toRingHom)) := hg |
| 42 | have hgEt : g.toRingHom.Etale := |
| 43 | (HasRingHomProperty.Spec_iff (P := @Etale) (φ := CommRingCat.ofHom g.toRingHom)).mp inferInstance |
| 44 | let M := (C.chart.model.baseChange g hgEt).congrEquations (fun j => q' (f (w j))) (by |
| 45 | intro j |
| 46 | change Quotient.PrincipalOpenLift.Construction.quotientPrincipalOpenMap q r (algebraMap R A (w j)) = g (C.chart.map (q (w j))) |
| 47 | rw [Quotient.PrincipalOpenLift.Construction.quotientPrincipalOpenMap_constants] |
| 48 | exact (AlgHom.congr_fun hgf (q (w j))).symm) |
| 49 | have hK : K.map a.toRingHom = (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C.coordinates).map M.map := by |
| 50 | have hmaps : g.toRingHom.comp C.chart.map.toRingHom = a.toRingHom := congrArg AlgHom.toRingHom hgf |
| 51 | rw [← hmaps, ← Ideal.map_map, C.center_eq, Ideal.map_map] |
| 52 | rfl |
| 53 | have hr : r ∉ p.asIdeal := by |
| 54 | have he : pQ.asIdeal.comap q.toRingHom = p.asIdeal := congrArg PrimeSpectrum.asIdeal hpQ |
| 55 | rw [← he] |
| 56 | exact hs |
| 57 | obtain ⟨P, hP⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime r p hr |
| 58 | have hker' : RingHom.ker q'.toRingHom = Ideal.span {f z} := by |
| 59 | rw [Quotient.PrincipalOpenLift.Construction.quotientPrincipalOpenMap_kernel, hker, Ideal.map_span, Set.image_singleton] |
| 60 | rfl |
| 61 | have hqz : q z = 0 := by |
| 62 | have hz : z ∈ RingHom.ker q.toRingHom := by rw [hker]; exact Ideal.mem_span_singleton_self _ |
| 63 | exact hz |
| 64 | have hzp : z ∈ p.asIdeal := by |
| 65 | have he : pQ.asIdeal.comap q.toRingHom = p.asIdeal := congrArg PrimeSpectrum.asIdeal hpQ |
| 66 | rw [← he] |
| 67 | change q z ∈ pQ.asIdeal |
| 68 | rw [hqz] |
| 69 | exact pQ.asIdeal.zero_mem |
| 70 | have hI : (K.comap q.toRingHom).map f.toRingHom = |
| 71 | ((SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal C.coordinates).map M.map).comap q'.toRingHom := by |
| 72 | exact (Quotient.PrincipalOpenLift.Construction.quotientPrincipalOpenMap_center q hq r K).trans |
| 73 | (congrArg (fun J : Ideal T => J.comap q'.toRingHom) hK) |
| 74 | exact Quotient.BoundaryCenterOpenSquare.Construction.quotient_boundary_center_lift_on_open_square R (.of A) f q' |
| 75 | (Quotient.PrincipalOpenLift.Construction.quotientPrincipalOpenMap_surjective q hq r) z hker' D hDz w (K.comap q.toRingHom) |
| 76 | M C.coordinates F C.divided_iff hI p hzp P hP |
| 77 | |
| 78 | theorem MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts.quotientLift |
| 79 | {k : Type u} [Field k] (R Q : CommRingCat.{u}) |
| 80 | [Algebra k R] [Algebra k Q] [Algebra.Smooth k R] |
| 81 | (q : R →ₐ[k] Q) (hq : Function.Surjective q) (z : R) |
| 82 | (hker : RingHom.ker q.toRingHom = Ideal.span {z}) |
| 83 | (D : Derivation k R R) (hDz : D z = 1) |
| 84 | {β : Type v} [Fintype β] (w : β → R) (K : Ideal Q) (F : Finset β) |
| 85 | (hK : MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts k Q K (fun j => q (w j)) F) : |
| 86 | MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts k R (K.comap q.toRingHom) w F := by |
| 87 | intro p hp |
| 88 | have hqp : RingHom.ker q.toRingHom ≤ p.asIdeal := (Ideal.comap_mono bot_le).trans hp |
| 89 | let P : PrimeSpectrum Q := ⟨p.asIdeal.map q.toRingHom, Ideal.map_isPrime_of_surjective hq hqp⟩ |
| 90 | have hP : PrimeSpectrum.comap q.toRingHom P = p := by |
| 91 | apply PrimeSpectrum.ext |
| 92 | change (p.asIdeal.map q.toRingHom).comap q.toRingHom = p.asIdeal |
| 93 | rw [Ideal.comap_map_of_surjective q.toRingHom hq, ← RingHom.ker_eq_comap_bot, |
| 94 | sup_eq_left.mpr hqp] |
| 95 | have hKP : K ≤ P.asIdeal := by |
| 96 | change K ≤ p.asIdeal.map q.toRingHom |
| 97 | rw [← Ideal.map_comap_of_surjective q.toRingHom hq K] |
| 98 | exact Ideal.map_mono hp |
| 99 | obtain ⟨C⟩ := hK P hKP |
| 100 | exact Quotient.MixedBoundaryCenterLift.Construction.quotient_mixed_boundary_center_chart_lifts R Q q hq z hker D hDz w K F p P hP C |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.Resolution.Blowups |