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.Locally.PrincipalRegular |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.EqualityGluing |
| 3 | |
| 4 | /-! # Principal Ideal Cancellation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Locally.PrincipalIdealCancellation.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A nonzero locally principal factor cancels in equalities of actual native ideal sheaves. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem locallyPrincipal_idealSheaf_mul_left_injective |
| 15 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 16 | (K : X.IdealSheafData) (hK : K ≠ ⊥) (hlocal : PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf K) : |
| 17 | Function.Injective (fun I : X.IdealSheafData => K * I) := by |
| 18 | intro I J he |
| 19 | choose W hx r hr hgen using PrincipalRegular.Construction.locallyPrincipal_regular_generators K hK hlocal |
| 20 | let : ∀ x, IsOpenImmersion (W x).2.fromSpec := fun x => (W x).2.isOpenImmersion_fromSpec |
| 21 | let C : X.OpenCover := Scheme.Cover.mkOfCovers X (fun x => Spec Γ(X, W x)) |
| 22 | (fun x => (W x).2.fromSpec) (by |
| 23 | intro x |
| 24 | refine ⟨x, ?_⟩ |
| 25 | change x ∈ (W x).2.fromSpec.opensRange |
| 26 | rw [(W x).2.opensRange_fromSpec] |
| 27 | exact hx x) (fun _ => inferInstance) |
| 28 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_eq_of_openCover I J C |
| 29 | intro x |
| 30 | change X at x |
| 31 | let : Nonempty (W x).1 := ⟨⟨x, hx x⟩⟩ |
| 32 | have h := congrArg (fun N : X.IdealSheafData => N.ideal (W x)) he |
| 33 | change K.ideal (W x) * I.ideal (W x) = K.ideal (W x) * J.ideal (W x) at h |
| 34 | rw [hgen x] at h |
| 35 | have heq := Ideal.span_singleton_mul_right_injective |
| 36 | (nonZeroDivisors.ne_zero (hr x).mem_nonZeroDivisors) h |
| 37 | change I.comap (W x).2.fromSpec = J.comap (W x).2.fromSpec |
| 38 | rw [Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel, Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel, heq] |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Resolution.Blowups.Locally.PrincipalIdealCancellation.Construction |