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.ContainedBoundaryComponentCenter |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.MixedCenterPointedRestriction |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.MixedCenterCoordinateChart |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.MixedCenterSupportCharts |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coefficient.ChartSupport |
| 6 | |
| 7 | /-! # Contained Boundary Component -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A boundary component containing a native center can be adjoined to its full global atlas. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | def CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.adjoin_boundary_component |
| 18 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {I : X.IdealSheafData} |
| 19 | {β : Type} [Fintype β] {D : β → X.IdealSheafData} |
| 20 | (A : CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) (H : X.IdealSheafData) (hHI : H ≤ I) |
| 21 | (B : MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f |
| 22 | (fun j : Option β => match j with | none => H | some l => D l) [Finset.univ]) : |
| 23 | CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I (fun j : Option β => match j with | none => H | some l => D l) := by |
| 24 | classical |
| 25 | let E : Option β → X.IdealSheafData := fun j => match j with | none => H | some l => D l |
| 26 | apply CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.ofCenterCharts f I E B |
| 27 | intro x hx |
| 28 | obtain ⟨i, p, hp⟩ := MonomialBoundaryAtlas.Construction.exists_point_on_chosen_affine_spec B.opens B.cover x |
| 29 | let U := B.opens i |
| 30 | let : Algebra ℂ Γ(X, U) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 31 | let : IsOpenImmersion U.2.fromSpec := U.2.isOpenImmersion_fromSpec |
| 32 | have hI : I.comap U.2.fromSpec = Affine.QuotientKernel.Construction.affineQuotientKernel (I.ideal U) := |
| 33 | Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel I U |
| 34 | have hw (l : β) : (D l).comap U.2.fromSpec = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {B.equations i (some l)}) := |
| 35 | (Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel (D l) U).trans |
| 36 | (congrArg Affine.QuotientKernel.Construction.affineQuotientKernel (B.component i (some l))) |
| 37 | have hIp : I.ideal U ≤ p.asIdeal := by |
| 38 | have hs := congrArg (fun K : (Spec (.of Γ(X, U))).IdealSheafData => |
| 39 | (K.support : Set (Spec (.of Γ(X, U))))) hI |
| 40 | rw [Scheme.IdealSheafData.support_comap, Coefficient.ChartSupport.Construction.affineQuotientKernel_support] at hs |
| 41 | change p ∈ PrimeSpectrum.zeroLocus (I.ideal U) |
| 42 | rw [← hs] |
| 43 | change U.2.fromSpec p ∈ I.support |
| 44 | rw [hp] |
| 45 | exact hx |
| 46 | obtain ⟨F, C⟩ := A.exists_pointed_restriction (.of Γ(X, U)) U.2.fromSpec |
| 47 | (Affine.ComplexNaturality.Construction.affineComplexScalars_spec f U).symm (I.ideal U) (fun l => B.equations i (some l)) hI hw p hIp |
| 48 | obtain ⟨C⟩ := C |
| 49 | let : Algebra ℂ C.chart.carrier := C.chart.algebra |
| 50 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom C.chart.map.toRingHom)) := C.chart.isOpenImmersion |
| 51 | have hc : MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts ℂ C.chart.carrier ((I.ideal U).map C.chart.map.toRingHom) |
| 52 | (fun l => C.chart.map (B.equations i (some l))) F := by |
| 53 | rw [C.center_eq] |
| 54 | exact C.chart.model.hasMixedCenterCharts C.coordinates F C.divided_iff |
| 55 | have hz : B.equations i none ∈ I.ideal U := by |
| 56 | apply hHI U |
| 57 | rw [B.component i none] |
| 58 | exact Ideal.mem_span_singleton_self _ |
| 59 | have hf : C.chart.map.toRingHom.Etale := |
| 60 | (HasRingHomProperty.Spec_iff (P := @Etale) (φ := CommRingCat.ofHom C.chart.map.toRingHom)).mp inferInstance |
| 61 | have hfull : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts ℂ C.chart.carrier |
| 62 | (fun j : Option β => match j with |
| 63 | | none => C.chart.map (B.equations i none) |
| 64 | | some l => C.chart.map (B.equations i (some l))) := by |
| 65 | convert (B.boundary i).etale_baseChange C.chart.map hf using 1 |
| 66 | funext j |
| 67 | cases j <;> rfl |
| 68 | have hcfull := hc.adjoin_boundary_component (C.chart.map (B.equations i none)) |
| 69 | (Ideal.mem_map_of_mem _ hz) hfull |
| 70 | have hIC : (I.ideal U).map C.chart.map.toRingHom ≤ C.chart.point.asIdeal := by |
| 71 | rw [Ideal.map_le_iff_le_comap] |
| 72 | exact hIp.trans_eq (congrArg PrimeSpectrum.asIdeal C.chart.point_over).symm |
| 73 | obtain ⟨M⟩ := hcfull C.chart.point hIC |
| 74 | have M' : MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart ℂ C.chart.carrier |
| 75 | ((I.ideal U).map C.chart.map.toRingHom) (fun l => C.chart.map (B.equations i l)) |
| 76 | (insert none (F.image some)) C.chart.point := by |
| 77 | convert M using 1 |
| 78 | first | rfl | (funext j; cases j <;> rfl) |
| 79 | let N := M'.comp (R := .of Γ(X, U)) (S := C.chart.carrier) |
| 80 | (I.ideal U) (B.equations i) (insert none (F.image some)) C.chart.map p C.chart.point_over |
| 81 | let V := MixedCenterCoordinateChart.Construction.GlobalMixedCenterOpenChart.ofNativeCoordinateChart f I E U (B.equations i) |
| 82 | (B.component i) _ p N |
| 83 | refine ⟨V, N.chart.point, ?_⟩ |
| 84 | exact (congrArg U.2.fromSpec N.chart.point_over).trans hp |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global |