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.IntersectionTheory.ProjectionFormula.IntermediateSupports |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 3 | |
| 4 | /-! # Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.Cycle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual support images and inverse images for open and closed |
| 11 | immersions preserve every codimension. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.Order |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 18 | |
| 19 | variable {V X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 20 | |
| 21 | theorem image_point (i : V.toOver ⟶ X.toOver) (W : IrreducibleCloseds V.carrier) : |
| 22 | CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport i W) = i.left (CycleClass.Thom.IntersectionGeometry.supportPoint W) := irreducibleSetEquivPoints.apply_symm_apply _ |
| 23 | |
| 24 | def preimage (i : V.toOver ⟶ X.toOver) (W : IrreducibleCloseds X.carrier) |
| 25 | (hW : (W : Set X.carrier) ⊆ Set.range i.left) : IrreducibleCloseds V.carrier := |
| 26 | irreducibleSetEquivPoints.symm |
| 27 | (hW (W.isIrreducible.isGenericPoint_genericPoint W.isClosed).mem).choose |
| 28 | |
| 29 | theorem image_preimage (i : V.toOver ⟶ X.toOver) (W : IrreducibleCloseds X.carrier) |
| 30 | (hW : (W : Set X.carrier) ⊆ Set.range i.left) : ProperCycleLinearity.imageSupport i (preimage i W hW) = W := by |
| 31 | apply irreducibleSetEquivPoints.injective |
| 32 | change CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport i (preimage i W hW)) = CycleClass.Thom.IntersectionGeometry.supportPoint W |
| 33 | rw [image_point] |
| 34 | change i.left (irreducibleSetEquivPoints (irreducibleSetEquivPoints.symm _)) = _ |
| 35 | rw [irreducibleSetEquivPoints.apply_symm_apply] |
| 36 | exact (hW (W.isIrreducible.isGenericPoint_genericPoint W.isClosed).mem).choose_spec |
| 37 | |
| 38 | theorem preimage_coe (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] |
| 39 | (W : IrreducibleCloseds X.carrier) (hW : (W : Set X.carrier) ⊆ Set.range i.left) : |
| 40 | (preimage i W hW : Set V.carrier) = i.left ⁻¹' (W : Set X.carrier) := by |
| 41 | conv_rhs => rw [← image_preimage i W hW, ProperCycleLinearity.imageSupport_eq_image] |
| 42 | exact (Set.preimage_image_eq _ i.left.isOpenEmbedding.injective).symm |
| 43 | |
| 44 | theorem subset_range_of_mem (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] [IsClosedImmersion i.left] |
| 45 | (W : IrreducibleCloseds X.carrier) (x : X.carrier) (hx : x ∈ (W : Set X.carrier)) |
| 46 | (hi : x ∈ Set.range i.left) : (W : Set X.carrier) ⊆ Set.range i.left := by |
| 47 | have hη := ((W.isIrreducible.isGenericPoint_genericPoint W.isClosed).specializes hx).mem_open |
| 48 | i.left.isOpenEmbedding.isOpen_range hi |
| 49 | intro y hy |
| 50 | exact ((W.isIrreducible.isGenericPoint_genericPoint W.isClosed).specializes hy).mem_closed |
| 51 | i.left.isClosedEmbedding.isClosed_range hη |
| 52 | |
| 53 | theorem image_codimension (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] (m : ℕ) |
| 54 | [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension m X.structureMap] |
| 55 | (W : IrreducibleCloseds V.carrier) : X.supportCodimension (ProperCycleLinearity.imageSupport i W) = V.supportCodimension W := by |
| 56 | have hv := IntermediateSupports.support_coheight V m (V.supportCodimension W) ⟨W, rfl⟩ |
| 57 | have hx := IntermediateSupports.support_coheight X m (X.supportCodimension (ProperCycleLinearity.imageSupport i W)) ⟨_, rfl⟩ |
| 58 | have hi : coheight (CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport i W)) = coheight (CycleClass.Thom.IntersectionGeometry.supportPoint W) := by |
| 59 | rw [image_point, coheight_eq_of_isOpenImmersion i.left] |
| 60 | exact_mod_cast hx.symm.trans (hi.trans hv) |
| 61 | |
| 62 | def supportImage (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] (m p : ℕ) |
| 63 | [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension m X.structureMap] |
| 64 | (A : V.DimensionCycleSupport p) : X.DimensionCycleSupport p := |
| 65 | ⟨ProperCycleLinearity.imageSupport i A.val, (image_codimension i m A.val).trans A.property⟩ |
| 66 | |
| 67 | theorem supportImage_injective (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] (m p : ℕ) |
| 68 | [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension m X.structureMap] : |
| 69 | Function.Injective (supportImage i m p) := by |
| 70 | intro A B h |
| 71 | apply Subtype.ext |
| 72 | apply irreducibleSetEquivPoints.injective |
| 73 | apply i.left.isOpenEmbedding.injective |
| 74 | exact (image_point i A.val).symm.trans |
| 75 | ((congrArg (fun C : X.DimensionCycleSupport p => CycleClass.Thom.IntersectionGeometry.supportPoint C.val) h).trans (image_point i B.val)) |
| 76 | |
| 77 | def supportPreimage (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] (m p : ℕ) |
| 78 | [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension m X.structureMap] |
| 79 | (A : X.DimensionCycleSupport p) (hA : (A.val : Set X.carrier) ⊆ Set.range i.left) : |
| 80 | V.DimensionCycleSupport p := |
| 81 | ⟨preimage i A.val hA, by rw [← image_codimension i m, image_preimage, A.property]⟩ |
| 82 | |
| 83 | theorem supportImage_preimage (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] (m p : ℕ) |
| 84 | [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension m X.structureMap] |
| 85 | (A : X.DimensionCycleSupport p) (hA : (A.val : Set X.carrier) ⊆ Set.range i.left) : |
| 86 | supportImage i m p (supportPreimage i m p A hA) = A := Subtype.ext (image_preimage i A.val hA) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.Cycle |