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.Dimension.CoefficientProgram |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Modeled.UniformCarrierAtlasPrograms |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.TerminalIncidenceTraceProgram |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Finite.IntegralNormalChartCover |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.NormalChartCoefficientNonzero |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.SequenceCoefficientPersistence |
| 7 | |
| 8 | /-! # Dimension Coefficient Programs -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Finite.DimensionCoefficientPrograms.Construction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! A finite bounded family in the next dimension has one shared coefficient schedule, including terminal family members. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | theorem exists_finite_bounded_dimension_coefficient_programs {d : ℕ} (𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d) |
| 19 | (n : ℕ) {β τ : Type} [Fintype β] [DecidableEq β] [Fintype τ] |
| 20 | (X : τ → Scheme) [∀ i, IsIntegral (X i)] [∀ i, IsLocallyNoetherian (X i)] [∀ i, CompactSpace (X i)] |
| 21 | (f : ∀ i, X i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [∀ i, Smooth (f i)] (J : ∀ i, (X i).IdealSheafData) |
| 22 | (hJ : ∀ i, J i ≠ ⊥) (hd : ∀ i, topologicalKrullDim (X i) ≤ (d + 1 : ℕ)) |
| 23 | (D : ∀ i, β → (X i).IdealSheafData) (E : ∀ i, Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas (f i) (D i) [Finset.univ]) |
| 24 | (G : ∀ i, GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas (f i) (D i)) |
| 25 | (hlog : ∀ i, (G i).logarithmicIdeal (J i) (n + 1) = ⊤) |
| 26 | (A : ∀ i, GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas (f i) (J i) n) (bound : τ → ℕ) |
| 27 | (hbound : ∀ i a, ((A i).choice a).HasBound (bound i)) : |
| 28 | ∃ schedule : 𝒮.Schedule (n + 1).factorial β, ∀ i, |
| 29 | ∃ (Y : Scheme) (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : Y.IdealSheafData) |
| 30 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) (X i) (f i) (J i) Y g K), |
| 31 | Dimension.CoefficientProgram.Construction.DimensionCoefficientProgram 𝒮 schedule (f i) (J i) (D i) P := by |
| 32 | classical |
| 33 | let σ := {i : τ // Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (f i) (J i) n ≠ ⊤} |
| 34 | choose s C hR hH hcover using fun i : σ => |
| 35 | IntegralNormalChartCover.Construction.exists_finite_integral_global_normal_chart_cover (G i.val) (J i.val) n (hlog i.val) |
| 36 | let κ (i : σ) := ↥(s i) |
| 37 | let : ∀ i, Fintype (κ i) := fun _ => inferInstance |
| 38 | let : ∀ i, Nonempty (κ i) := fun i => by |
| 39 | have hne : ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (f i.val) (J i.val) n).support : Set (X i.val)).Nonempty := by |
| 40 | by_contra hn |
| 41 | apply i.property |
| 42 | apply (Scheme.IdealSheafData.support_eq_bot_iff _).mp |
| 43 | apply SetLike.coe_injective |
| 44 | exact Set.not_nonempty_iff_eq_empty.mp hn |
| 45 | obtain ⟨x, hx⟩ := hne |
| 46 | obtain ⟨a, _, _⟩ := hcover i x hx |
| 47 | exact ⟨a⟩ |
| 48 | let : ∀ (i : σ) (a : κ i), IsDomain (C i a).chart.ring := hR |
| 49 | let : ∀ (i : σ) (a : κ i), IsIntegral (C i a).chart.nativeCarrier.subscheme := hH |
| 50 | have hC (i : σ) (a : κ i) : GlobalCoefficient.CoefficientSheaf.Construction.smoothCoefficientIdealSheaf ((C i a).chart.map ≫ f i.val) |
| 51 | ((Global.Homogenization.Construction.smoothHomogenizedIdealSheaf (f i.val) (J i.val) n).comap (C i a).chart.map) (n + 1) |
| 52 | (C i a).chart.nativeCarrier.subschemeι ≠ ⊥ := by |
| 53 | rw [Global.SequenceCoefficientPersistence.Construction.smoothCoefficientIdealSheaf_structure_congr ((C i a).chart.map ≫ f i.val) |
| 54 | (ComplexAffineDifferentialIdeal.Construction.complexSpecStructure (C i a).chart.ring) (C i a).chart.ground, (C i a).chart.homogenized_restrict] |
| 55 | exact (C i a).chart.native_coefficient_ne_bot_of_atlas_bound a.val.property |
| 56 | (A i.val) (bound i.val) (hbound i.val) |
| 57 | obtain ⟨schedule, hprograms⟩ := Modeled.UniformCarrierAtlasPrograms.Construction.exists_finite_modeled_uniform_carrier_atlas_programs 𝒮 n |
| 58 | (fun i : σ => X i.val) (fun i => f i.val) (fun i => J i.val) (fun i => hJ i.val) (fun i => hd i.val) |
| 59 | (fun i => D i.val) (fun i => E i.val) κ (fun _ a => a.val.val) C hcover hC |
| 60 | refine ⟨schedule, ?_⟩ |
| 61 | intro i |
| 62 | by_cases ht : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (f i) (J i) n = ⊤ |
| 63 | · obtain ⟨Y, g, K, P, htrace, hterm⟩ := TerminalIncidenceTraceProgram.Construction.exists_terminal_program_with_incidence_trace |
| 64 | (n + 1) (Nat.succ_pos n) (𝒮.incidenceTrace schedule) (X i) (f i) (J i) (D i) (E i) |
| 65 | (by simpa only [Nat.add_sub_cancel] using ht) |
| 66 | exact ⟨Y, g, K, P, htrace, by simpa only [Nat.add_sub_cancel] using hterm, Or.inl ht⟩ |
| 67 | · obtain ⟨Y, g, K, P, ⟨certificate⟩⟩ := hprograms ⟨i, ht⟩ |
| 68 | obtain ⟨L, Q, same, hterm⟩ := P.exists_homogenized_interval_terminal_prefix |
| 69 | (J i) (Global.Homogenization.Construction.le_smoothHomogenizedIdealSheaf (f i) (J i) n) le_rfl certificate.terminal |
| 70 | exact ⟨Y, g, L, Q, same.hasIncidenceTrace (D i) (𝒮.incidenceTrace schedule) certificate.trace, |
| 71 | hterm, Or.inr ⟨K, P, ⟨certificate⟩, same⟩⟩ |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Resolution.Blowups.Finite.DimensionCoefficientPrograms.Construction |