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.Relative.LogarithmicBoundary |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.LogarithmicEtaleMap |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.ActiveBoundaryNeighborhood |
| 4 | |
| 5 | /-! # Logarithmic -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Relative.Logarithmic.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Relative logarithmic bounds retain the geometric boundary consequences. -/ |
| 12 | |
| 13 | variable (k : Type*) {R ι : Type*} [CommRing k] [CommRing R] [Algebra k R] |
| 14 | |
| 15 | theorem firstRelativeLogarithmicDifferentialIdeal_le_logarithmic (w : ι → R) (J : Ideal R) : |
| 16 | LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k w J ≤ LogarithmicBoundaryReindex.Construction.firstLogarithmicDifferentialIdeal w J := by |
| 17 | apply sup_le |
| 18 | · exact LogarithmicBoundaryReindex.Construction.le_firstLogarithmicDifferentialIdeal w J |
| 19 | · apply Ideal.span_le.mpr |
| 20 | rintro _ ⟨⟨D, p⟩, rfl⟩ |
| 21 | exact LogarithmicBoundaryReindex.Construction.logarithmic_derivation_mem_first w J |
| 22 | ⟨D.val.restrictScalars ℤ, fun i => D.property i⟩ p.property |
| 23 | |
| 24 | theorem iteratedRelativeLogarithmicDifferentialIdeal_le_logarithmic |
| 25 | (w : ι → R) (J : Ideal R) (n : ℕ) : |
| 26 | LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n ≤ |
| 27 | LogarithmicBoundaryReindex.Construction.iteratedLogarithmicDifferentialIdeal w J n := by |
| 28 | induction n generalizing J with |
| 29 | | zero => exact le_rfl |
| 30 | | succ n ih => |
| 31 | exact (ih (LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k w J)).trans |
| 32 | (LogarithmicBoundaryReindex.Construction.iteratedLogarithmicDifferentialIdeal_mono w n |
| 33 | (firstRelativeLogarithmicDifferentialIdeal_le_logarithmic k w J)) |
| 34 | |
| 35 | theorem relative_logarithmic_bound_implies_logarithmic (w : ι → R) (J : Ideal R) (n : ℕ) |
| 36 | (h : LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n = ⊤) : |
| 37 | LogarithmicBoundaryReindex.Construction.iteratedLogarithmicDifferentialIdeal w J n = ⊤ := by |
| 38 | have hle := iteratedRelativeLogarithmicDifferentialIdeal_le_logarithmic k w J n |
| 39 | rw [h] at hle |
| 40 | exact top_le_iff.mp hle |
| 41 | |
| 42 | theorem relative_logarithmic_bound_excludes_local_boundary_factor |
| 43 | (w : ι → R) (J : Ideal R) (n : ℕ) |
| 44 | (h : LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n = ⊤) |
| 45 | (q : Ideal R) [q.IsPrime] (i : ι) (hi : w i ∈ q) : |
| 46 | ¬ J.map (algebraMap R (Localization.AtPrime q)) ≤ |
| 47 | Ideal.span {algebraMap R (Localization.AtPrime q) (w i)} := |
| 48 | LogarithmicEtaleMap.Construction.logarithmic_order_bound_excludes_local_boundary_factor w J n |
| 49 | (relative_logarithmic_bound_implies_logarithmic k w J n h) q i hi |
| 50 | |
| 51 | /-- Removing the boundary components absent from a point is carried out on |
| 52 | an actual principal open, preserving the stronger relative logarithmic bound. -/ |
| 53 | theorem exists_relative_active_boundary_neighborhood |
| 54 | {σ : Type*} [DecidableEq σ] (w : σ → R) (B : Finset σ) |
| 55 | (J q : Ideal R) [q.IsPrime] (n : ℕ) |
| 56 | (h : LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k (fun i : B => w i.val) J n = ⊤) : |
| 57 | ∃ (C : Finset σ) (f : R), C ⊆ B ∧ f ∉ q ∧ |
| 58 | (∀ i ∈ B, i ∈ C ↔ w i ∈ q) ∧ |
| 59 | (∀ i ∈ B, i ∉ C → IsUnit (algebraMap R (Localization.Away f) (w i))) ∧ |
| 60 | LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k |
| 61 | (fun i : C => algebraMap R (Localization.Away f) (w i.val)) |
| 62 | (J.map (algebraMap R (Localization.Away f))) n = ⊤ := by |
| 63 | obtain ⟨C, f, hCB, hf, hC, hunit, _⟩ := ActiveBoundaryNeighborhood.Construction.exists_active_boundary_neighborhood w B J q n |
| 64 | (relative_logarithmic_bound_implies_logarithmic k (fun i : B => w i.val) J n h) |
| 65 | refine ⟨C, f, hCB, hf, hC, hunit, ?_⟩ |
| 66 | let : Algebra.FormallyEtale R (Localization.Away f) := |
| 67 | Algebra.FormallyEtale.of_isLocalization (Submonoid.powers f) |
| 68 | have hmap := LogarithmicBoundary.Construction.relative_logarithmic_order_bound_map (S := Localization.Away f) k |
| 69 | (fun i : B => w i.val) J n h |
| 70 | have hderiv := LogarithmicBoundary.Construction.relativeLogarithmicDerivations_remove_unit_components k |
| 71 | (fun i => algebraMap R (Localization.Away f) (w i)) B C hCB hunit |
| 72 | rw [LogarithmicBoundary.Construction.iteratedRelativeLogarithmicDifferentialIdeal_congr_derivations k _ _ hderiv] at hmap |
| 73 | exact hmap |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Resolution.Blowups.Relative.Logarithmic.Construction |