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.CycleClass.Thom.StalkPrimeQuotient |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Supports |
| 3 | |
| 4 | /-! # Support Quotient Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SupportQuotientPoints.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Points of the actual ambient prime quotient correspond exactly to |
| 11 | the original irreducible supports inside the parent and through the |
| 12 | chosen scheme point. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Supports |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable (X : Scheme) (D : IrreducibleCloseds X) (x : X) (hxD : x ∈ (D : Set X)) |
| 22 | |
| 23 | theorem quotientSupportMap_injective : Function.Injective (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupportMap X D x hxD) := |
| 24 | ((Geometric.GenericPoint.reducedSupportScheme D).fromSpecStalk (IntersectionGeometry.supportPreimage D x hxD)).isEmbedding.injective.comp |
| 25 | (Spec.map (StalkPrimeQuotient.Constructions.SupportScheme.quotientStalkEquiv X D x hxD).symm.toCommRingCatIso.hom).isOpenEmbedding.injective |
| 26 | |
| 27 | theorem quotientSupport_injective : Function.Injective (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport X D x hxD) := by |
| 28 | intro q t h |
| 29 | apply quotientSupportMap_injective X D x hxD |
| 30 | apply (Geometric.GenericPoint.reducedSupportι D).isClosedEmbedding.injective |
| 31 | exact (StalkPrimeQuotient.Constructions.SupportScheme.supportPoint_quotientSupport X D x hxD q).symm.trans |
| 32 | ((congrArg IntersectionGeometry.supportPoint h).trans (StalkPrimeQuotient.Constructions.SupportScheme.supportPoint_quotientSupport X D x hxD t)) |
| 33 | |
| 34 | theorem quotientSupport_subset_parent (q : Spec (.of (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X D x hxD))) : |
| 35 | (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport X D x hxD q : Set X) ⊆ D := |
| 36 | (Intersection.Supports.supportPoint_mem_iff_subset ⟨D, D.isClosed⟩ (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport X D x hxD q)).mp |
| 37 | (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport_mem_parent X D x hxD q) |
| 38 | |
| 39 | theorem point_mem_quotientSupport (q : Spec (.of (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X D x hxD))) : |
| 40 | x ∈ (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport X D x hxD q : Set X) := by |
| 41 | let z := Geometric.GenericPoint.reducedSupportι D (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupportMap X D x hxD q) |
| 42 | have hr : z ∈ Set.range (X.fromSpecStalk x) := |
| 43 | ⟨(Spec.map (CommRingCat.ofHom (algebraMap (X.presheaf.stalk x) (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X D x hxD)))) q, |
| 44 | (congrArg (fun f => f q) (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupportMap_ambient X D x hxD)).symm⟩ |
| 45 | have hs : z ⤳ x := by rwa [Scheme.range_fromSpecStalk] at hr |
| 46 | change x ∈ closure {z} |
| 47 | exact specializes_iff_mem_closure.mp hs |
| 48 | |
| 49 | theorem exists_quotientSupport (W : IrreducibleCloseds X) (hWD : (W : Set X) ⊆ D) (hxW : x ∈ (W : Set X)) : |
| 50 | ∃ q : Spec (.of (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X D x hxD)), StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport X D x hxD q = W := by |
| 51 | have hW : IntersectionGeometry.supportPoint W ∈ (D : Set X) := hWD (W.isIrreducible.isGenericPoint_genericPoint W.isClosed).mem |
| 52 | let y := IntersectionGeometry.supportPreimage D (IntersectionGeometry.supportPoint W) hW |
| 53 | let z := IntersectionGeometry.supportPreimage D x hxD |
| 54 | have hs : IntersectionGeometry.supportPoint W ⤳ x := (W.isIrreducible.isGenericPoint_genericPoint W.isClosed).specializes hxW |
| 55 | have hyz : y ⤳ z := by |
| 56 | apply (Geometric.GenericPoint.reducedSupportι D).isClosedEmbedding.isEmbedding.isInducing.specializes_iff.mp |
| 57 | exact (specializes_of_eq (IntersectionGeometry.supportPreimage_spec D (IntersectionGeometry.supportPoint W) hW)).trans |
| 58 | (hs.trans (specializes_of_eq (IntersectionGeometry.supportPreimage_spec D x hxD).symm)) |
| 59 | have hy : y ∈ Set.range ((Geometric.GenericPoint.reducedSupportScheme D).fromSpecStalk z) := by |
| 60 | rw [Scheme.range_fromSpecStalk] |
| 61 | exact hyz |
| 62 | obtain ⟨t, ht⟩ := hy |
| 63 | let i := Spec.map (StalkPrimeQuotient.Constructions.SupportScheme.quotientStalkEquiv X D x hxD).symm.toCommRingCatIso.hom |
| 64 | obtain ⟨q, hq⟩ := i.homeomorph.surjective t |
| 65 | refine ⟨q, ?_⟩ |
| 66 | apply irreducibleSetEquivPoints.injective |
| 67 | exact (StalkPrimeQuotient.Constructions.SupportScheme.supportPoint_quotientSupport X D x hxD q).trans |
| 68 | ((congrArg (Geometric.GenericPoint.reducedSupportι D) ((congrArg ((Geometric.GenericPoint.reducedSupportScheme D).fromSpecStalk z) hq).trans ht)).trans |
| 69 | (IntersectionGeometry.supportPreimage_spec D (IntersectionGeometry.supportPoint W) hW)) |
| 70 | |
| 71 | def quotientSupportEquiv : Spec (.of (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X D x hxD)) ≃ |
| 72 | {W : IrreducibleCloseds X // x ∈ (W : Set X) ∧ (W : Set X) ⊆ D} := |
| 73 | Equiv.ofBijective (fun q => ⟨StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport X D x hxD q, |
| 74 | point_mem_quotientSupport X D x hxD q, quotientSupport_subset_parent X D x hxD q⟩) (by |
| 75 | constructor |
| 76 | · intro q t h |
| 77 | exact quotientSupport_injective X D x hxD (congrArg Subtype.val h) |
| 78 | · intro W |
| 79 | obtain ⟨q, hq⟩ := exists_quotientSupport X D x hxD W.val W.property.2 W.property.1 |
| 80 | exact ⟨q, Subtype.ext hq⟩) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.CycleClass.Thom.SupportQuotientPoints.Constructions |