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.Resolution.Blowups.Modeled.UniformCarrierAtlasProgram |
| 2 | |
| 3 | /-! # Uniform Atlas Finite Refinement -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Modeled.UniformAtlasFiniteRefinement.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! One pointed modeled chart retains its actual local program and its comparison to the global program. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | structure ModeledUniformChartProgram {d : ℕ} (𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d) |
| 16 | {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] (schedule : 𝒮.Schedule (n + 1).factorial β) |
| 17 | {X Y : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) (D : β → X.IdealSheafData) |
| 18 | {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} |
| 19 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f (Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n) Y g K) (x : X) where |
| 20 | chart : GlobalBoundary.ModeledNormalChart.Construction.GlobalBoundaryModeledNormalChart f J n D x |
| 21 | domain : IsDomain chart.chart.ring |
| 22 | carrierIntegral : IsIntegral chart.chart.nativeCarrier.subscheme |
| 23 | carrierDimension : topologicalKrullDim chart.chart.nativeCarrier.subscheme ≤ d |
| 24 | coefficientNonzero : GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf (chart.chart.map ≫ f) |
| 25 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n).comap chart.chart.map) (n + 1) chart.chart.nativeCarrier.subschemeι ≠ ⊥ |
| 26 | endpoint : Scheme |
| 27 | structureMap : endpoint ⟶ Foundations.Scheme.ProjectiveSpace.complexBase |
| 28 | ideal : endpoint.IdealSheafData |
| 29 | localPrefix : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) (Spec chart.chart.ring) (chart.chart.map ≫ f) |
| 30 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n).comap chart.chart.map) endpoint structureMap ideal |
| 31 | certificate : letI : Smooth (chart.chart.nativeCarrier.subschemeι ≫ (chart.chart.map ≫ f)) := |
| 32 | chart.chart.nativeCarrier_smooth |
| 33 | Uniform.CoefficientCarrierProgram.Construction.UniformCoefficientCarrierProgram 𝒮 schedule (chart.chart.map ≫ f) |
| 34 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n).comap chart.chart.map) chart.chart.nativeCarrier |
| 35 | (fun l => (D l).comap chart.chart.map) localPrefix |
| 36 | comparisonMap : endpoint ⟶ Y |
| 37 | comparison : P.EtaleComparison localPrefix chart.chart.map comparisonMap |
| 38 | |
| 39 | attribute [instance] ModeledUniformChartProgram.domain ModeledUniformChartProgram.carrierIntegral |
| 40 | |
| 41 | end |
| 42 | |
| 43 | /-! Pointed retained chart programs give a finite complete modeled atlas on a nonempty compact order locus. -/ |
| 44 | |
| 45 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 46 | |
| 47 | theorem exists_modeled_uniform_atlas_of_pointed_programs |
| 48 | {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {n : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 49 | {schedule : 𝒮.Schedule (n + 1).factorial β} |
| 50 | {X Y : Scheme} [CompactSpace X] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {J : X.IdealSheafData} |
| 51 | {D : β → X.IdealSheafData} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} |
| 52 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) X f (Global.Homogenization.Construction.smoothHomogenizedIdealSheaf f J n) Y g K} |
| 53 | (htrace : P.HasIncidenceTrace β D (𝒮.incidenceTrace schedule)) |
| 54 | (ht : letI : Smooth g := P.endpoint_smooth; Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g K n = ⊤) |
| 55 | (hne : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n ≠ ⊤) |
| 56 | (hcharts : ∀ x ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support, |
| 57 | Nonempty (ModeledUniformChartProgram 𝒮 schedule f J D P x)) : |
| 58 | Nonempty (UniformCarrierAtlasProgram.Construction.ModeledUniformCarrierAtlasProgram 𝒮 schedule f J D P) := by |
| 59 | classical |
| 60 | let ι := {x : X // x ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support} |
| 61 | let C (x : ι) := Classical.choice (hcharts x.val x.property) |
| 62 | have hcover : ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support : Set X) ⊆ |
| 63 | ⋃ x : ι, ((C x).chart.chart.map.opensRange : Set X) := by |
| 64 | intro x hx |
| 65 | exact Set.mem_iUnion.mpr ⟨⟨x, hx⟩, (C ⟨x, hx⟩).chart.chart.point, (C ⟨x, hx⟩).chart.chart.point_over⟩ |
| 66 | obtain ⟨s, hs⟩ := (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support.isClosed.isCompact.elim_finite_subcover |
| 67 | (fun x : ι => ((C x).chart.chart.map.opensRange : Set X)) |
| 68 | (fun x => (C x).chart.chart.map.opensRange.isOpen) hcover |
| 69 | have hpoint : ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support : Set X).Nonempty := by |
| 70 | by_contra hn |
| 71 | apply hne |
| 72 | apply (Scheme.IdealSheafData.support_eq_bot_iff _).mp |
| 73 | apply SetLike.coe_injective |
| 74 | exact Set.not_nonempty_iff_eq_empty.mp hn |
| 75 | let : Nonempty s := by |
| 76 | obtain ⟨x, hx⟩ := hpoint |
| 77 | obtain ⟨i, hi, _⟩ := Set.mem_iUnion₂.mp (hs hx) |
| 78 | exact ⟨⟨i, hi⟩⟩ |
| 79 | refine ⟨{ |
| 80 | indices := s |
| 81 | finite := inferInstance |
| 82 | nonempty := inferInstance |
| 83 | point := fun i => i.val.val |
| 84 | chart := fun i => (C i.val).chart |
| 85 | domain := fun i => (C i.val).domain |
| 86 | carrierIntegral := fun i => (C i.val).carrierIntegral |
| 87 | carrierDimension := fun i => (C i.val).carrierDimension |
| 88 | cover := ?_ |
| 89 | coefficientNonzero := fun i => (C i.val).coefficientNonzero |
| 90 | endpoint := fun i => (C i.val).endpoint |
| 91 | structureMap := fun i => (C i.val).structureMap |
| 92 | ideal := fun i => (C i.val).ideal |
| 93 | localPrefix := fun i => (C i.val).localPrefix |
| 94 | certificate := fun i => (C i.val).certificate |
| 95 | comparisonMap := fun i => (C i.val).comparisonMap |
| 96 | comparison := fun i => (C i.val).comparison |
| 97 | trace := htrace |
| 98 | terminal := ht }⟩ |
| 99 | intro x hx |
| 100 | obtain ⟨i, hi, p, hp⟩ := Set.mem_iUnion₂.mp (hs hx) |
| 101 | exact ⟨⟨i, hi⟩, p, hp⟩ |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.Resolution.Blowups.Modeled.UniformAtlasFiniteRefinement.Construction |