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.Divisors.LineBundles.Open.SupportOver |
| 2 | |
| 3 | /-! # Support Square -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportSquare.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! The reduced support of the open inverse image forms the actual |
| 12 | cartesian square with the original support and the ambient open immersion. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | |
| 16 | variable {X Y : Scheme.{0}} (i : X ⟶ Y) [IsOpenImmersion i] |
| 17 | (B : IrreducibleCloseds Y) [Nonempty (SupportRestriction.BundleCycles.openSupportPullback i B)] |
| 18 | |
| 19 | theorem openSupportIso_inv_inclusion : |
| 20 | (SupportRestriction.BundleCycles.openSupportIso i B).inv ≫ SupportRestriction.BundleCycles.openSupportInclusion i B = CycleClass.Geometric.GenericPoint.reducedSupportι (SupportRestriction.BundleCycles.openRestrictedSupport i B) := by |
| 21 | have h := congrArg (fun k => (SupportRestriction.BundleCycles.openSupportIso i B).inv ≫ k) (SupportRestriction.BundleCycles.openSupportIso_inclusion i B) |
| 22 | exact h.symm.trans ((SupportRestriction.BundleCycles.openSupportIso i B).inv_hom_id_assoc _) |
| 23 | |
| 24 | theorem openRestrictedSupport_isPullback : |
| 25 | IsPullback (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportRestriction.BundleCycles.openRestrictedSupport i B)) (SupportRestriction.BundleCycles.openRestrictedSupportMap i B) i (CycleClass.Geometric.GenericPoint.reducedSupportι B) := |
| 26 | IsPullback.of_iso_pullback ⟨(SupportRestriction.BundleCycles.openRestrictedSupportMap_inclusion i B).symm⟩ |
| 27 | (SupportRestriction.BundleCycles.openSupportIso i B).symm (openSupportIso_inv_inclusion i B) rfl |
| 28 | |
| 29 | end |
| 30 | |
| 31 | section |
| 32 | |
| 33 | /-! The regular strata of the actual open-restricted support form the |
| 34 | cartesian square obtained by pasting the support and smooth-locus squares. -/ |
| 35 | |
| 36 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 37 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 38 | |
| 39 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] |
| 40 | (i : X ⟶ Y) [IsOpenImmersion i.left] (B : IrreducibleCloseds Y.left) |
| 41 | [Nonempty (SupportRestriction.BundleCycles.openSupportPullback i.left B)] |
| 42 | |
| 43 | local notation "A" => OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportRestriction.BundleCycles.openRestrictedSupport i.left B |
| 44 | |
| 45 | local instance : LocallyOfFiniteType (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportOver X A).hom := CycleClass.Geometric.SupportFiniteType.supportStructureMap_locallyOfFiniteType A X.hom |
| 46 | local instance : LocallyOfFiniteType (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportOver Y B).hom := CycleClass.Geometric.SupportFiniteType.supportStructureMap_locallyOfFiniteType B Y.hom |
| 47 | local instance : LocallyOfFinitePresentation (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportOver X A).hom := |
| 48 | inferInstanceAs (LocallyOfFinitePresentation (CycleClass.Geometric.SupportFiniteType.supportStructureMap A X.hom)) |
| 49 | local instance : LocallyOfFinitePresentation (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportOver Y B).hom := |
| 50 | inferInstanceAs (LocallyOfFinitePresentation (CycleClass.Geometric.SupportFiniteType.supportStructureMap B Y.hom)) |
| 51 | |
| 52 | def openRegularSupportOverMap : CycleClass.Thom.Scheme.RegularSupport.Constructions.regularOver X A ⟶ CycleClass.Thom.Scheme.RegularSupport.Constructions.regularOver Y B := by |
| 53 | let P : Over Foundations.Scheme.ProjectiveSpace.complexBase := CycleClass.Thom.Scheme.RegularSupport.Constructions.supportOver X A |
| 54 | let Q : Over Foundations.Scheme.ProjectiveSpace.complexBase := CycleClass.Thom.Scheme.RegularSupport.Constructions.supportOver Y B |
| 55 | let j : P ⟶ Q := SupportOver.BundleCycles.openRestrictedSupportOverMap i B |
| 56 | let hP : LocallyOfFinitePresentation P.hom := inferInstance |
| 57 | let hQ : LocallyOfFinitePresentation Q.hom := inferInstance |
| 58 | let hj : IsOpenImmersion j.left := SupportOver.BundleCycles.openRestrictedSupportOverMap_open i B |
| 59 | exact @RegularStratum.BundleCycles.openRegularStratumOverMap P Q hP hQ j hj |
| 60 | |
| 61 | instance openRegularSupportOverMap_open : IsOpenImmersion (openRegularSupportOverMap i B).left := |
| 62 | inferInstanceAs (IsOpenImmersion (RegularStratum.BundleCycles.openRegularStratumMap (SupportOver.BundleCycles.openRestrictedSupportOverMap i B))) |
| 63 | |
| 64 | theorem openRegularSupport_isPullback : |
| 65 | IsPullback (openRegularSupportOverMap i B).left (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient X A).left |
| 66 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient Y B).left i.left := by |
| 67 | have hs := RegularStratum.BundleCycles.openRegularStratum_isPullback (SupportOver.BundleCycles.openRestrictedSupportOverMap i B) |
| 68 | have ht := (openRestrictedSupport_isPullback i.left B).flip |
| 69 | exact hs.paste_vert ht |
| 70 | |
| 71 | theorem openRegularSupportOverMap_inclusion : |
| 72 | openRegularSupportOverMap i B ≫ CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient Y B = CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient X A ≫ i := |
| 73 | Over.OverMorphism.ext (openRegularSupport_isPullback i B).w |
| 74 | |
| 75 | theorem openRegularSupport_range : |
| 76 | Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient X A).left = i.left ⁻¹' Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient Y B).left := by |
| 77 | have h := Scheme.image_preimage_eq_of_isPullback (openRegularSupport_isPullback i B) Set.univ |
| 78 | simpa only [Set.preimage_univ, Set.image_univ] using h |
| 79 | |
| 80 | theorem openRegularInclusion_range : |
| 81 | Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularInclusion X A) = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularInclusion Y B) := by |
| 82 | have hx := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isImmersion (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient X A) |
| 83 | have hy := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isImmersion (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularToAmbient Y B) |
| 84 | rw [hx, hy, openRegularSupport_range] |
| 85 | rfl |
| 86 | |
| 87 | end |
| 88 | |
| 89 | section |
| 90 | |
| 91 | /-! Restriction to an actual ambient open preserves the full support, |
| 92 | its regular locus, and the analytic singular boundary by exact inverse images. -/ |
| 93 | |
| 94 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 95 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 96 | |
| 97 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] |
| 98 | (i : X ⟶ Y) [IsOpenImmersion i.left] (B : IrreducibleCloseds Y.left) |
| 99 | [Nonempty (SupportRestriction.BundleCycles.openSupportPullback i.left B)] |
| 100 | |
| 101 | local notation "A" => OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportRestriction.BundleCycles.openRestrictedSupport i.left B |
| 102 | |
| 103 | omit [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] in |
| 104 | theorem openSupportInclusion_pointRange : |
| 105 | Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X A) = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y B) := by |
| 106 | rw [CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion_range, CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion_range] |
| 107 | ext z |
| 108 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z ∈ (A : Set X.left) ↔ _ |
| 109 | rw [SupportRestriction.BundleCycles.openRestrictedSupport_coe] |
| 110 | rfl |
| 111 | |
| 112 | theorem openSupport_analyticBoundary : |
| 113 | CycleClass.Thom.Scheme.RegularSupport.Constructions.analyticBoundary X A = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' CycleClass.Thom.Scheme.RegularSupport.Constructions.analyticBoundary Y B := by |
| 114 | rw [CycleClass.Thom.Scheme.RegularSupport.Constructions.analyticBoundary_eq, CycleClass.Thom.Scheme.RegularSupport.Constructions.analyticBoundary_eq, openSupportInclusion_pointRange, |
| 115 | openRegularInclusion_range, Set.preimage_sdiff] |
| 116 | |
| 117 | theorem openSupport_regularAmbientOpen : |
| 118 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X A : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) = |
| 119 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen Y B : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) := by |
| 120 | change (CycleClass.Thom.Scheme.RegularSupport.Constructions.analyticBoundary X A)ᶜ = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' (CycleClass.Thom.Scheme.RegularSupport.Constructions.analyticBoundary Y B)ᶜ |
| 121 | rw [openSupport_analyticBoundary, Set.preimage_compl] |
| 122 | |
| 123 | end |
| 124 | |
| 125 | /-! The native models of an open-restricted integral support have the |
| 126 | same dimension as the original regular support, with actual norm-preserving |
| 127 | complex-linear coordinate identifications. -/ |
| 128 | |
| 129 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 130 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 131 | |
| 132 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] |
| 133 | (i : X ⟶ Y) [IsOpenImmersion i.left] (B : IrreducibleCloseds Y.left) |
| 134 | [Nonempty (SupportRestriction.BundleCycles.openSupportPullback i.left B)] |
| 135 | |
| 136 | local notation "A" => OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportRestriction.BundleCycles.openRestrictedSupport i.left B |
| 137 | |
| 138 | theorem openRestrictedRegular_dimension : |
| 139 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularOver X A).hom = |
| 140 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularOver Y B).hom := by |
| 141 | rw [CycleClass.Thom.Scheme.RegularSupport.Constructions.regularDimension_eq, CycleClass.Thom.Scheme.RegularSupport.Constructions.regularDimension_eq, SupportOver.BundleCycles.openRestrictedSupportOver_dimension] |
| 142 | |
| 143 | def finiteModelCoordinatesOfEq (m n : ℕ) (h : m = n) : (Fin m → ℂ) ≃L[ℂ] (Fin n → ℂ) := |
| 144 | h ▸ ContinuousLinearEquiv.refl ℂ (Fin m → ℂ) |
| 145 | |
| 146 | theorem finiteModelCoordinatesOfEq_norm (m n : ℕ) (h : m = n) (v : Fin m → ℂ) : |
| 147 | ‖finiteModelCoordinatesOfEq m n h v‖ = ‖v‖ := by |
| 148 | subst n |
| 149 | rfl |
| 150 | |
| 151 | def openRestrictedRegularModelCoordinates : CycleClass.Thom.Scheme.RegularSupport.Constructions.regularModel Y B ≃L[ℂ] CycleClass.Thom.Scheme.RegularSupport.Constructions.regularModel X A := |
| 152 | finiteModelCoordinatesOfEq _ _ (openRestrictedRegular_dimension i B).symm |
| 153 | |
| 154 | theorem openRestrictedRegularModelCoordinates_norm (v : CycleClass.Thom.Scheme.RegularSupport.Constructions.regularModel Y B) : |
| 155 | ‖openRestrictedRegularModelCoordinates i B v‖ = ‖v‖ := finiteModelCoordinatesOfEq_norm _ _ _ v |
| 156 | |
| 157 | include i in |
| 158 | theorem openImmersionOver_modelDimension [IsIntegral X.left] [IsIntegral Y.left] : |
| 159 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom = Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom := by |
| 160 | rw [← Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension X.hom, |
| 161 | ← Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension Y.hom] |
| 162 | exact SupportOver.BundleCycles.openImmersionOver_dimension i |
| 163 | |
| 164 | end |
| 165 | |
| 166 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportSquare.BundleCycles |