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.Normalization.GenericFibers |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.GenericGraph |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.RestrictedGraphSmallerFibers |
| 4 | |
| 5 | /-! # Open Graph -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.OpenGraph.Constructions.Class |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A bounded coordinate graph of an actual open subscheme of the smooth normalization projects to the original supported cycle class, including across the singular part of its image. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GenericCover.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Open.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalBoundary.Constructions |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GenericFibers.Constructions.Open OAI.AlgebraicGeometry.CycleClass.Thom.GenericGraph.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.RestrictedGraphSmallerFibers.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.GoodOpenMap.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.GraphOpenImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GraphBaseRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.RegularOpenImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.RegularNeighborhoodDetection.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectionDegree.Constructions |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 25 | |
| 26 | local instance : IsIntegral D.toOver.left := inferInstanceAs (IsIntegral D.scheme) |
| 27 | local instance : LocallyOfFiniteType D.toOver.hom := inferInstanceAs (LocallyOfFiniteType D.structureMap) |
| 28 | |
| 29 | variable {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 30 | (a : X ⟶ AmbientMap.Constructions.smoothNormalizationOver V D.val) [IsOpenImmersion a.left] |
| 31 | (U : Opens V.analyticSpace) |
| 32 | (hcover : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) ⁻¹' (U : Set V.analyticSpace) ⊆ |
| 33 | Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a)) |
| 34 | |
| 35 | local notation "MX" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 36 | |
| 37 | variable {d : ℕ} (e : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X → Fin d → ℂ) |
| 38 | |
| 39 | variable (he : ContMDiff 𝓘(ℂ, (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ)) |
| 40 | 𝓘(ℂ, Fin d → ℂ) ω e) |
| 41 | |
| 42 | local instance (A : Opens V.analyticSpace) : MetrizableSpace A := A.isOpenEmbedding'.isEmbedding.metrizableSpace |
| 43 | local instance (priority := low) (A : Opens V.analyticSpace) : |
| 44 | ChartedSpace (V.analyticModel × (Fin d → ℂ)) (A × (Fin d → ℂ)) := |
| 45 | prodChartedSpace V.analyticModel A (Fin d → ℂ) (Fin d → ℂ) |
| 46 | local instance (A : Opens V.analyticSpace) : IsManifold 𝓘(ℂ, V.analyticModel × (Fin d → ℂ)) ω (A × (Fin d → ℂ)) := |
| 47 | Product.Immersion.Constructions.productModel_isManifold |
| 48 | |
| 49 | abbrev normalizationOpenGraph : GraphOpenImmersion.Constructions.graphSourceOpen (GenericFibers.Constructions.Open.openBase D a) (GenericFibers.Constructions.Open.openBase_analytic D a) U → U × (Fin d → ℂ) := |
| 50 | RestrictedGraphSmallerFibers.Constructions.firstGraph (GenericFibers.Constructions.Open.openBase D a) (GenericFibers.Constructions.Open.openBase_analytic D a) e U |
| 51 | |
| 52 | include he in |
| 53 | omit [IsOpenImmersion a.left] in |
| 54 | theorem normalizationOpenGraph_analytic : |
| 55 | ContMDiff 𝓘(ℂ, MX) 𝓘(ℂ, V.analyticModel × (Fin d → ℂ)) ω (normalizationOpenGraph D a U e) := |
| 56 | GraphOpenImmersion.Constructions.restrictedGraph_analytic (GenericFibers.Constructions.Open.openBase D a) (GenericFibers.Constructions.Open.openBase_analytic D a) U e he |
| 57 | |
| 58 | abbrev retainedNormalizationSource := GenericGraph.Constructions.Class.retainedSource D (GenericCover.Constructions.goodOpen D.toOver) U |
| 59 | (normalizationOpenGraph D a U e) (normalizationOpenGraph_analytic D a U e he) |
| 60 | |
| 61 | theorem normalizationOpenGraph_generic_differential_injective |
| 62 | (x : retainedNormalizationSource D a U e he) : |
| 63 | Function.Injective (mfderiv 𝓘(ℂ, MX) 𝓘(ℂ, V.analyticModel) |
| 64 | (Prod.fst ∘ GenericGraph.Constructions.Class.retainedGraph D (GenericCover.Constructions.goodOpen D.toOver) U (normalizationOpenGraph D a U e) |
| 65 | (normalizationOpenGraph_analytic D a U e he)) x) := by |
| 66 | have hd := RestrictedGraphSmallerFibers.Constructions.doubleGraph_projected_mfderiv (GenericFibers.Constructions.Open.openBase D a) (GenericFibers.Constructions.Open.openBase_analytic D a) e he U |
| 67 | (Cycle.GoodOpenMap.Constructions.goodNeighborhood D (GenericCover.Constructions.goodOpen D.toOver) U) inf_le_left x |
| 68 | exact (congrArg (fun L : MX →L[ℂ] V.analyticModel => Function.Injective L) hd).mpr |
| 69 | (GenericFibers.Constructions.Open.openBase_good_differential_injective D a x.val.val x.property.2) |
| 70 | |
| 71 | include hcover in |
| 72 | theorem normalizationOpenGraph_genericFiber_card |
| 73 | (x : GraphOpenImmersion.Constructions.graphSourceOpen D.regularComplementInclusion (D.contMDiff_regularComplementInclusion ω) |
| 74 | (Cycle.RegularNeighborhoodDetection.Constructions.regularNeighborhood D (Cycle.GoodOpenMap.Constructions.goodNeighborhood D (GenericCover.Constructions.goodOpen D.toOver) U))) : |
| 75 | Nat.card {y : retainedNormalizationSource D a U e he | |
| 76 | (GenericGraph.Constructions.Class.retainedGraph D (GenericCover.Constructions.goodOpen D.toOver) U (normalizationOpenGraph D a U e) |
| 77 | (normalizationOpenGraph_analytic D a U e he) y).1 = |
| 78 | Cycle.RegularOpenImmersion.Constructions.regularOpenImmersion D (Cycle.GoodOpenMap.Constructions.goodNeighborhood D (GenericCover.Constructions.goodOpen D.toOver) U) |
| 79 | (GenericGraph.Constructions.Class.retainedRegular D (GenericCover.Constructions.goodOpen D.toOver) (GenericCover.Constructions.goodOpen_subset_smoothLocus D.toOver) U) x} = 1 := by |
| 80 | let P := Cycle.GoodOpenMap.Constructions.goodNeighborhood D (GenericCover.Constructions.goodOpen D.toOver) U |
| 81 | let u : P := Cycle.RegularOpenImmersion.Constructions.regularOpenImmersion D P |
| 82 | (GenericGraph.Constructions.Class.retainedRegular D (GenericCover.Constructions.goodOpen D.toOver) (GenericCover.Constructions.goodOpen_subset_smoothLocus D.toOver) U) x |
| 83 | have hu : u.val ∈ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Open.Constructions.targetToAmbient D)) := by |
| 84 | have hr : u ∈ Set.range (Cycle.RegularOpenImmersion.Constructions.regularOpenImmersion D P |
| 85 | (GenericGraph.Constructions.Class.retainedRegular D (GenericCover.Constructions.goodOpen D.toOver) (GenericCover.Constructions.goodOpen_subset_smoothLocus D.toOver) U)) := ⟨x, rfl⟩ |
| 86 | rw [← Open.Constructions.targetToAmbient_range D P (fun _ hx => hx.2)] at hr |
| 87 | exact hr |
| 88 | have hd := RestrictedGraphSmallerFibers.Constructions.doubleGraph_fiber_card (GenericFibers.Constructions.Open.openBase D a) (GenericFibers.Constructions.Open.openBase_analytic D a) e he U P inf_le_left u |
| 89 | exact hd.trans (GenericFibers.Constructions.Open.openBase_genericFiber_card D a U hcover ⟨u.val, u.property.1⟩ hu) |
| 90 | |
| 91 | omit [IsOpenImmersion a.left] in |
| 92 | theorem normalizationOpenGraph_bound (K : Set (Fin d → ℂ)) |
| 93 | (hb : ∀ x, GenericFibers.Constructions.Open.openBase D a x ∈ U → e x ∈ K) : |
| 94 | Set.range (normalizationOpenGraph D a U e) ⊆ |
| 95 | ((Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion) ×ˢ K := by |
| 96 | rintro _ ⟨x, rfl⟩ |
| 97 | exact ⟨GenericFibers.Constructions.Open.openBase_mem_support D a x.val, hb x.val x.property⟩ |
| 98 | |
| 99 | include hcover in |
| 100 | theorem normalizationOpenGraph_project_cycleClass |
| 101 | (hei : ∀ x, Function.Injective (mfderiv 𝓘(ℂ, MX) 𝓘(ℂ, Fin d → ℂ) e x)) |
| 102 | (hc : Topology.IsClosedEmbedding (normalizationOpenGraph D a U e)) |
| 103 | (K : Set (Fin d → ℂ)) (hK : IsCompact K) (hb : ∀ x, GenericFibers.Constructions.Open.openBase D a x ∈ U → e x ∈ K) : |
| 104 | Supported.ProjectionDegree.Constructions.projectAt d (TopCat.of U) ((Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion) |
| 105 | K hK (Set.range (normalizationOpenGraph D a U e)) (normalizationOpenGraph_bound D a U e K hb) |
| 106 | (2 * p) (2 * (p + d)) (Nat.mul_add 2 p d).symm |
| 107 | (Degree.Constructions.ThomClass.complexThomClassInDegree (normalizationOpenGraph D a U e) (normalizationOpenGraph_analytic D a U e he) |
| 108 | (GraphOpenImmersion.Constructions.restrictedGraph_differential_injective (GenericFibers.Constructions.Open.openBase D a) (GenericFibers.Constructions.Open.openBase_analytic D a) U e he hei) |
| 109 | hc (p + d) (GenericFibers.Constructions.Open.openGraph_codimension D a d)) = |
| 110 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 111 | (Set.range D.analyticInclusion)ᶜ U (2 * p) D.rationalSupportedCycleClass := by |
| 112 | have hdeg := normalizationOpenGraph_genericFiber_card D a U hcover e he |
| 113 | have hfin := fun x => Nat.finite_of_card_ne_zero (show Nat.card _ ≠ 0 from (hdeg x).trans_ne (by decide)) |
| 114 | have h := GenericGraph.Constructions.Class.graphThom_project_genericCycleClass D (GenericCover.Constructions.goodOpen D.toOver) (GenericCover.Constructions.goodOpen_subset_smoothLocus D.toOver) U |
| 115 | (normalizationOpenGraph D a U e) (normalizationOpenGraph_analytic D a U e he) (GenericCover.Constructions.goodOpen_spec D.toOver).1 |
| 116 | (GraphOpenImmersion.Constructions.restrictedGraph_differential_injective (GenericFibers.Constructions.Open.openBase D a) (GenericFibers.Constructions.Open.openBase_analytic D a) U e he hei) |
| 117 | hc (GenericFibers.Constructions.Open.openGraph_codimension D a d) K hK (normalizationOpenGraph_bound D a U e K hb) |
| 118 | (normalizationOpenGraph_generic_differential_injective D a U e he) hfin 1 hdeg |
| 119 | simpa only [Nat.cast_one, one_smul] using h |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.OpenGraph.Constructions.Class |