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.Foundations.Scheme.SupportAffineQuotient |
| 2 | |
| 3 | /-! # Support Affine Inclusion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.SupportAffineInclusion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Strict inclusion of irreducible supports on a common affine open |
| 11 | |
| 12 | A nonempty open part of an irreducible closed set is dense in that closed set. |
| 13 | Consequently a proper closed subset cannot become the entire support after |
| 14 | restriction to an open meeting it. On an affine open, the actual vanishing |
| 15 | ideals of the two reduced supports are therefore strictly nested in the |
| 16 | opposite direction. The quotient rings are those of `SupportAffineQuotient`. |
| 17 | |
| 18 | These statements require no finite-type or dimension hypothesis. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | section Topology |
| 26 | |
| 27 | variable {T : Type u} [TopologicalSpace T] |
| 28 | |
| 29 | /-- Every nonempty open part of an irreducible closed set has that entire |
| 30 | closed set as its ambient closure. -/ |
| 31 | theorem irreducibleCloseds_closure_inter_open (W : IrreducibleCloseds T) |
| 32 | (U : Opens T) (hWU : ((W : Set T) ∩ (U : Set T)).Nonempty) : |
| 33 | closure ((W : Set T) ∩ (U : Set T)) = (W : Set T) := by |
| 34 | apply Set.Subset.antisymm |
| 35 | · exact closure_minimal Set.inter_subset_left W.isClosed |
| 36 | · exact subset_closure_inter_of_isPreirreducible_of_isOpen |
| 37 | W.isIrreducible.2 U.isOpen hWU |
| 38 | |
| 39 | /-- Proper inclusion of irreducible closed supports persists on every open |
| 40 | set meeting the smaller support. -/ |
| 41 | theorem irreducibleCloseds_inter_open_ssubset (Z W : IrreducibleCloseds T) |
| 42 | (hZW : Z < W) (U : Opens T) |
| 43 | (hZU : ((Z : Set T) ∩ (U : Set T)).Nonempty) : |
| 44 | (Z : Set T) ∩ (U : Set T) ⊂ (W : Set T) ∩ (U : Set T) := by |
| 45 | have hWU : ((W : Set T) ∩ (U : Set T)).Nonempty := by |
| 46 | obtain ⟨x, hxZ, hxU⟩ := hZU |
| 47 | exact ⟨x, hZW.le hxZ, hxU⟩ |
| 48 | rw [Set.ssubset_def] |
| 49 | refine ⟨Set.inter_subset_inter_left _ hZW.le, ?_⟩ |
| 50 | intro h |
| 51 | apply (not_le_of_gt hZW) |
| 52 | have hsub : closure ((W : Set T) ∩ (U : Set T)) ⊆ (Z : Set T) := |
| 53 | closure_minimal (h.trans Set.inter_subset_left) Z.isClosed |
| 54 | rwa [irreducibleCloseds_closure_inter_open W U hWU] at hsub |
| 55 | |
| 56 | end Topology |
| 57 | |
| 58 | variable {X : Scheme.{u}} |
| 59 | |
| 60 | /-- The support's inverse-image open is nonempty precisely when the ambient |
| 61 | open meets the support. -/ |
| 62 | theorem supportAffineOpen_nonempty_iff (Z : IrreducibleCloseds X) |
| 63 | (U : X.affineOpens) : |
| 64 | Nonempty (SupportAffineQuotient.supportAffineOpen Z U) ↔ |
| 65 | ((Z : Set X) ∩ (U.1 : Set X)).Nonempty := by |
| 66 | constructor |
| 67 | · rintro ⟨⟨x, hx⟩⟩ |
| 68 | refine ⟨CycleClass.Geometric.GenericPoint.reducedSupportι Z x, ?_, hx⟩ |
| 69 | rw [← CycleClass.Geometric.GenericPoint.range_reducedSupportι Z] |
| 70 | exact ⟨x, rfl⟩ |
| 71 | · rintro ⟨x, hxZ, hxU⟩ |
| 72 | rw [← CycleClass.Geometric.GenericPoint.range_reducedSupportι Z] at hxZ |
| 73 | obtain ⟨y, rfl⟩ := hxZ |
| 74 | exact ⟨⟨y, hxU⟩⟩ |
| 75 | |
| 76 | /-- An affine open meeting the smaller support also meets every containing |
| 77 | support. -/ |
| 78 | theorem supportAffineOpen_nonempty_of_le (Z W : IrreducibleCloseds X) |
| 79 | (hZW : Z ≤ W) (U : X.affineOpens) [Nonempty (SupportAffineQuotient.supportAffineOpen Z U)] : |
| 80 | Nonempty (SupportAffineQuotient.supportAffineOpen W U) := by |
| 81 | apply (supportAffineOpen_nonempty_iff W U).mpr |
| 82 | obtain ⟨x, hxZ, hxU⟩ := (supportAffineOpen_nonempty_iff Z U).mp inferInstance |
| 83 | exact ⟨x, hZW hxZ, hxU⟩ |
| 84 | |
| 85 | /-- Every irreducible support meets an actual affine open of the ambient scheme. -/ |
| 86 | theorem exists_supportAffineOpen_nonempty (Z : IrreducibleCloseds X) : |
| 87 | ∃ U : X.affineOpens, Nonempty (SupportAffineQuotient.supportAffineOpen Z U) := by |
| 88 | obtain ⟨x, hxZ⟩ := Z.isIrreducible.nonempty |
| 89 | obtain ⟨U, hU, hxU, _⟩ := exists_isAffineOpen_mem_and_subset (Opens.mem_top x) |
| 90 | exact ⟨⟨U, hU⟩, (supportAffineOpen_nonempty_iff Z ⟨U, hU⟩).mpr ⟨x, hxZ, hxU⟩⟩ |
| 91 | |
| 92 | /-- Nested irreducible supports admit a common ambient affine open meeting both. -/ |
| 93 | theorem exists_common_supportAffineOpen (Z W : IrreducibleCloseds X) |
| 94 | (hZW : Z ≤ W) : |
| 95 | ∃ U : X.affineOpens, |
| 96 | Nonempty (SupportAffineQuotient.supportAffineOpen Z U) ∧ Nonempty (SupportAffineQuotient.supportAffineOpen W U) := by |
| 97 | obtain ⟨U, hU⟩ := exists_supportAffineOpen_nonempty Z |
| 98 | let : Nonempty (SupportAffineQuotient.supportAffineOpen Z U) := hU |
| 99 | exact ⟨U, hU, supportAffineOpen_nonempty_of_le Z W hZW U⟩ |
| 100 | |
| 101 | /-- An ambient affine open meeting a support contains its generic point. -/ |
| 102 | theorem support_genericPoint_mem_affineOpen (Z : IrreducibleCloseds X) |
| 103 | (U : X.affineOpens) [Nonempty (SupportAffineQuotient.supportAffineOpen Z U)] : |
| 104 | irreducibleSetEquivPoints Z ∈ U.1 := by |
| 105 | apply (Z.isIrreducible.isGenericPoint_genericPoint Z.isClosed).mem_open_set_iff |
| 106 | U.1.isOpen |>.mpr |
| 107 | exact (supportAffineOpen_nonempty_iff Z U).mp inferInstance |
| 108 | |
| 109 | /-- Inverse images in the actual affine spectrum preserve the strict support |
| 110 | inclusion whenever that affine open meets the smaller support. -/ |
| 111 | theorem supportAffine_preimage_ssubset (Z W : IrreducibleCloseds X) |
| 112 | (hZW : Z < W) (U : X.affineOpens) [Nonempty (SupportAffineQuotient.supportAffineOpen Z U)] : |
| 113 | U.2.fromSpec ⁻¹' (Z : Set X) ⊂ U.2.fromSpec ⁻¹' (W : Set X) := by |
| 114 | have h := irreducibleCloseds_inter_open_ssubset Z W hZW U.1 |
| 115 | ((supportAffineOpen_nonempty_iff Z U).mp inferInstance) |
| 116 | rw [Set.ssubset_def] at h ⊢ |
| 117 | refine ⟨Set.preimage_mono hZW.le, ?_⟩ |
| 118 | intro hpre |
| 119 | apply h.2 |
| 120 | intro x hx |
| 121 | have hxRange : x ∈ Set.range U.2.fromSpec := by |
| 122 | rw [U.2.range_fromSpec] |
| 123 | exact hx.2 |
| 124 | obtain ⟨y, rfl⟩ := hxRange |
| 125 | exact ⟨hpre hx.1, hx.2⟩ |
| 126 | |
| 127 | /-- Actual affine support ideals reverse inclusion. -/ |
| 128 | theorem supportAffineIdeal_le (Z W : IrreducibleCloseds X) |
| 129 | (hZW : Z ≤ W) (U : X.affineOpens) : |
| 130 | (CycleClass.Geometric.GenericPoint.reducedSupportIdeal W).ideal U ≤ (CycleClass.Geometric.GenericPoint.reducedSupportIdeal Z).ideal U := by |
| 131 | change PrimeSpectrum.vanishingIdeal (U.2.fromSpec ⁻¹' (W : Set X)) ≤ |
| 132 | PrimeSpectrum.vanishingIdeal (U.2.fromSpec ⁻¹' (Z : Set X)) |
| 133 | exact PrimeSpectrum.vanishingIdeal_anti_mono (Set.preimage_mono hZW) |
| 134 | |
| 135 | /-- The vanishing ideals of proper nested supports are strictly nested in the |
| 136 | opposite direction on a common affine open meeting the smaller support. -/ |
| 137 | theorem supportAffineIdeal_lt (Z W : IrreducibleCloseds X) |
| 138 | (hZW : Z < W) (U : X.affineOpens) [Nonempty (SupportAffineQuotient.supportAffineOpen Z U)] : |
| 139 | (CycleClass.Geometric.GenericPoint.reducedSupportIdeal W).ideal U < (CycleClass.Geometric.GenericPoint.reducedSupportIdeal Z).ideal U := by |
| 140 | change PrimeSpectrum.vanishingIdeal (U.2.fromSpec ⁻¹' (W : Set X)) < |
| 141 | PrimeSpectrum.vanishingIdeal (U.2.fromSpec ⁻¹' (Z : Set X)) |
| 142 | exact (PrimeSpectrum.vanishingIdeal_strict_anti_mono_iff |
| 143 | (Z.isClosed.preimage U.2.fromSpec.continuous) |
| 144 | (W.isClosed.preimage U.2.fromSpec.continuous)).mp |
| 145 | (supportAffine_preimage_ssubset Z W hZW U) |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.AlgebraicGeometry.Foundations.Scheme.SupportAffineInclusion |