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.Geometric.StratumClosure |
| 2 | |
| 3 | /-! # Support Dimension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.SupportDimension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A support contained in a closed subscheme comes from a unique |
| 10 | irreducible closed support there, with the same function-field dimension. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | variable {X Y : Scheme} (j : Y ⟶ X) [IsClosedImmersion j] |
| 18 | (C : IrreducibleCloseds X) (hC : (C : Set X) ⊆ Set.range j) |
| 19 | |
| 20 | include hC in |
| 21 | theorem preimage_irreducible : IsIrreducible (j ⁻¹' (C : Set X)) := by |
| 22 | let e := j.isClosedEmbedding.isEmbedding.toHomeomorph |
| 23 | let g : C → Y := fun x => e.symm ⟨x.val, hC x.property⟩ |
| 24 | have hg : Continuous g := e.symm.continuous.comp |
| 25 | (continuous_subtype_val.subtype_mk (fun x : C => hC x.property)) |
| 26 | have hgj (x : C) : j (g x) = x.val := |
| 27 | congrArg Subtype.val (e.apply_symm_apply ⟨x.val, hC x.property⟩) |
| 28 | have himage : g '' (Set.univ : Set C) = j ⁻¹' (C : Set X) := by |
| 29 | ext y |
| 30 | constructor |
| 31 | · rintro ⟨x, _, rfl⟩ |
| 32 | change j (g x) ∈ C |
| 33 | rw [hgj] |
| 34 | exact x.property |
| 35 | · intro hy |
| 36 | refine ⟨⟨j y, hy⟩, trivial, ?_⟩ |
| 37 | exact j.isClosedEmbedding.injective (hgj ⟨j y, hy⟩) |
| 38 | let : IrreducibleSpace C := isIrreducible_iff_irreducibleSpace.mp C.isIrreducible |
| 39 | rw [← himage] |
| 40 | exact (IrreducibleSpace.isIrreducible_univ C).image g hg.continuousOn |
| 41 | |
| 42 | def preimage : IrreducibleCloseds Y := |
| 43 | ⟨j ⁻¹' (C : Set X), preimage_irreducible j C hC, C.isClosed.preimage j.continuous⟩ |
| 44 | |
| 45 | theorem imageClosure : CycleClass.Geometric.StratumClosure.integralImageClosure (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportDimension.preimage j C hC) ≫ j) = C := by |
| 46 | apply IrreducibleCloseds.ext |
| 47 | rw [CycleClass.Geometric.StratumClosure.integralImageClosure_coe] |
| 48 | change closure (Set.range (j ∘ CycleClass.Geometric.GenericPoint.reducedSupportι (SupportDimension.preimage j C hC))) = _ |
| 49 | rw [Set.range_comp, CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 50 | change closure (j '' j ⁻¹' (C : Set X)) = _ |
| 51 | rw [Set.image_preimage_eq_inter_range, Set.inter_eq_left.mpr hC, C.isClosed.closure_eq] |
| 52 | |
| 53 | theorem dimension {K : Type} [Field K] (f : X ⟶ Spec (.of K)) : |
| 54 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (SupportDimension.preimage j C hC) (j ≫ f) = Foundations.Scheme.SupportDimension.supportTranscendenceDimension C f := by |
| 55 | have hd := CycleClass.Geometric.StratumClosure.schemeTranscendenceDimension_eq_imageClosure (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportDimension.preimage j C hC) ≫ j) f |
| 56 | rw [imageClosure] at hd |
| 57 | simpa only [Foundations.Scheme.SupportDimension.supportTranscendenceDimension, CycleClass.Geometric.SupportFiniteType.supportStructureMap, Category.assoc] using hd |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.SupportDimension |