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.IntersectionGeometry |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.SupportDimensionDrop |
| 3 | |
| 4 | /-! # Supports -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Supports |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! In a proper intersection, a support of the prescribed codimension |
| 11 | is an irreducible component of the closed intersection. Hence there are |
| 12 | only finitely many possible nonzero intersection coefficients. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped Classical |
| 16 | |
| 17 | theorem closedComponentSupport_covers (X : Scheme) (S : Closeds X) |
| 18 | (C : IrreducibleCloseds X) (hC : (C : Set X) ⊆ S) : |
| 19 | ∃ D : irreducibleComponents S, (C : Set X) ⊆ IntersectionGeometry.closedComponentSupport X S D := by |
| 20 | let : IrreducibleSpace C := isIrreducible_iff_irreducibleSpace.mp C.isIrreducible |
| 21 | let j : C → S := fun x => ⟨x, hC x.property⟩ |
| 22 | have hj : Continuous j := continuous_subtype_val.subtype_mk _ |
| 23 | have hi : IsIrreducible (j '' (Set.univ : Set C)) := |
| 24 | (IrreducibleSpace.isIrreducible_univ C).image j hj.continuousOn |
| 25 | obtain ⟨D, hD, hCD⟩ := exists_mem_irreducibleComponents_subset_of_isIrreducible _ hi |
| 26 | refine ⟨⟨D, hD⟩, ?_⟩ |
| 27 | intro x hx |
| 28 | exact ⟨⟨x, hC hx⟩, hCD ⟨⟨x, hx⟩, Set.mem_univ _, rfl⟩, rfl⟩ |
| 29 | |
| 30 | theorem closedComponentSupport_subset (X : Scheme) (S : Closeds X) |
| 31 | (D : irreducibleComponents S) : (IntersectionGeometry.closedComponentSupport X S D : Set X) ⊆ S := by |
| 32 | rintro x ⟨y, _, rfl⟩ |
| 33 | exact y.property |
| 34 | |
| 35 | theorem supportDimension_add_codimension (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 36 | (W : IrreducibleCloseds X.carrier) : |
| 37 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W X.structureMap + X.supportCodimension W = |
| 38 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (X.componentVariety (X.supportComponent W)).structureMap := by |
| 39 | let C := X.supportComponent W |
| 40 | let Z := X.componentSupportPreimage C W (X.support_subset_component W) |
| 41 | have hW : X.componentSupportImage C Z = W := X.componentSupportImage_preimage C W _ |
| 42 | have h := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension (X.componentVariety C) Z |
| 43 | rw [← X.componentSupportImage_transcendenceDimension C Z, |
| 44 | ← X.supportCodimension_componentSupportImage C Z, hW] at h |
| 45 | exact h |
| 46 | |
| 47 | theorem codimension_strictAnti (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) : |
| 48 | StrictAnti X.supportCodimension := by |
| 49 | intro A B hAB |
| 50 | have ht := Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_strictMono X.structureMap hAB |
| 51 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension A X.structureMap < |
| 52 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension B X.structureMap at ht |
| 53 | have hc : X.supportComponent A = X.supportComponent B := |
| 54 | X.supportComponent_eq_of_subset A (X.supportComponent B) |
| 55 | (fun _ hx => X.support_subset_component B (hAB.le hx)) |
| 56 | have ha := supportDimension_add_codimension X A |
| 57 | have hb := supportDimension_add_codimension X B |
| 58 | rw [hc] at ha |
| 59 | omega |
| 60 | |
| 61 | theorem support_eq_component (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (d : ℕ) (S : Closeds X.carrier) |
| 62 | (hproper : ∀ C : IrreducibleCloseds X.carrier, (C : Set X.carrier) ⊆ S → d ≤ X.supportCodimension C) |
| 63 | (C : X.DimensionCycleSupport d) (hC : (C.val : Set X.carrier) ⊆ S) : |
| 64 | ∃ D : irreducibleComponents S, IntersectionGeometry.closedComponentSupport X.carrier S D = C.val := by |
| 65 | obtain ⟨D, hD⟩ := closedComponentSupport_covers X.carrier S C.val hC |
| 66 | have hle : C.val ≤ IntersectionGeometry.closedComponentSupport X.carrier S D := hD |
| 67 | have he : C.val = IntersectionGeometry.closedComponentSupport X.carrier S D := by |
| 68 | by_contra hn |
| 69 | have ht := codimension_strictAnti X (lt_of_le_of_ne hle hn) |
| 70 | have hd := hproper (IntersectionGeometry.closedComponentSupport X.carrier S D) |
| 71 | (closedComponentSupport_subset X.carrier S D) |
| 72 | rw [C.property] at ht |
| 73 | omega |
| 74 | exact ⟨D, he.symm⟩ |
| 75 | |
| 76 | theorem supportPoint_mem_iff_subset {X : Scheme} (S : Closeds X) (C : IrreducibleCloseds X) : |
| 77 | IntersectionGeometry.supportPoint C ∈ S ↔ (C : Set X) ⊆ S := by |
| 78 | constructor |
| 79 | · intro h |
| 80 | have hc : closure {IntersectionGeometry.supportPoint C} = (C : Set X) := |
| 81 | congrArg (fun A : IrreducibleCloseds X => (A : Set X)) |
| 82 | (irreducibleSetEquivPoints.symm_apply_apply C) |
| 83 | rw [← hc] |
| 84 | exact S.isClosed.closure_subset_iff.mpr (Set.singleton_subset_iff.mpr h) |
| 85 | · intro h |
| 86 | exact h (C.isIrreducible.isGenericPoint_genericPoint C.isClosed).mem |
| 87 | |
| 88 | theorem finite_supports_in_proper_closed (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (d : ℕ) (S : Closeds X.carrier) |
| 89 | (hproper : ∀ C : IrreducibleCloseds X.carrier, (C : Set X.carrier) ⊆ S → d ≤ X.supportCodimension C) : |
| 90 | {C : X.DimensionCycleSupport d | IntersectionGeometry.supportPoint C.val ∈ S}.Finite := by |
| 91 | let : NoetherianSpace S := NoetherianSpace.set (S : Set X.carrier) |
| 92 | let : Finite (irreducibleComponents S) := |
| 93 | (NoetherianSpace.finite_irreducibleComponents (α := S)).to_subtype |
| 94 | have hf : (Set.range (IntersectionGeometry.closedComponentSupport X.carrier S)).Finite := Set.finite_range _ |
| 95 | apply Set.Finite.of_finite_image (f := fun C : X.DimensionCycleSupport d => C.val) |
| 96 | (hf.subset ?_) Subtype.val_injective.injOn |
| 97 | rintro _ ⟨C, hC, rfl⟩ |
| 98 | exact support_eq_component X d S hproper C ((supportPoint_mem_iff_subset S C.val).mp hC) |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Supports |