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.Global.ResidualNeighborhood |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Locally.PrincipalRegular |
| 3 | |
| 4 | /-! # Principal Comaximal Factors -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Locally |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local principality descends over open covers and passes to comaximal factors. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf.of_openCover {X : Scheme} (I : X.IdealSheafData) |
| 15 | (C : X.OpenCover) (hlocal : ∀ i, PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf (I.comap (C.f i))) : |
| 16 | PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf I := by |
| 17 | intro x |
| 18 | obtain ⟨i, y, hy⟩ := C.exists_eq x |
| 19 | obtain ⟨W, hyW, r, hr⟩ := hlocal i y |
| 20 | let : IsOpenImmersion W.2.fromSpec := W.2.isOpenImmersion_fromSpec |
| 21 | let j := W.2.fromSpec ≫ C.f i |
| 22 | have he : I.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {r}) := by |
| 23 | rw [Scheme.IdealSheafData.comap_comp, Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel, hr] |
| 24 | refine ⟨Affine.OpenBoundaryTransport.Construction.specOpenImage Γ(C.X i, W) j, ?_, (Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv Γ(C.X i, W) j).symm r, |
| 25 | Affine.OpenBoundaryTransport.Construction.specOpenSectionEquiv_equation Γ(C.X i, W) j I r he⟩ |
| 26 | rw [Affine.OpenBoundaryTransport.Construction.specOpenImage_eq_opensRange] |
| 27 | have hyr : y ∈ W.2.fromSpec.opensRange := by rw [W.2.opensRange_fromSpec]; exact hyW |
| 28 | obtain ⟨z, hz⟩ := hyr |
| 29 | exact ⟨z, (congrArg (C.f i) hz).trans hy⟩ |
| 30 | |
| 31 | theorem PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf.comaximal_left_factor |
| 32 | {X : Scheme} (K L : X.IdealSheafData) (hKL : K ⊔ L = ⊤) |
| 33 | (hlocal : PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf (K * L)) : PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf K := by |
| 34 | let U : Bool → X.Opens := fun b => if b then K.support.compl else L.support.compl |
| 35 | let C : X.OpenCover := Scheme.Cover.mkOfCovers Bool (fun b => U b) |
| 36 | (fun b => (U b).ι) (by |
| 37 | intro x |
| 38 | by_cases hx : x ∈ K.support |
| 39 | · have hy := Global.ResidualNeighborhood.Construction.idealSheaf_support_subset_complement_of_sup_top K L hKL hx |
| 40 | exact ⟨false, ⟨⟨x, hy⟩, rfl⟩⟩ |
| 41 | · exact ⟨true, ⟨⟨x, hx⟩, rfl⟩⟩) (fun _ => inferInstance) |
| 42 | apply PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf.of_openCover K C |
| 43 | intro b |
| 44 | change Bool at b |
| 45 | cases b with |
| 46 | | false => |
| 47 | have h := hlocal.comap (U false).ι |
| 48 | change PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf (K.comap (U false).ι) |
| 49 | have ht : L.comap (U false).ι = ⊤ := Global.ResidualNeighborhood.Construction.idealSheaf_comap_supportComplement_eq_top L |
| 50 | rw [IdealSheaf.ProductPullback.Construction.idealSheaf_comap_mul, ht] at h |
| 51 | simpa only [← Scheme.IdealSheafData.one_eq_top, mul_one] using h |
| 52 | | true => |
| 53 | change PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf (K.comap (Scheme.Opens.ι (X := X) K.support.compl)) |
| 54 | rw [Global.ResidualNeighborhood.Construction.idealSheaf_comap_supportComplement_eq_top] |
| 55 | exact PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf.top _ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Resolution.Blowups.Locally |