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.DivisorClass.Chern.Logarithms |
| 2 | import Mathlib.Topology.ContinuousOn |
| 3 | |
| 4 | /-! # Logarithms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Open.Logarithms.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # ChernClass: continuous logarithms on ambient open neighborhoods |
| 14 | |
| 15 | This packages the explicit local complex logarithm on a smaller open subset |
| 16 | of the original space, rather than only on a subtype of an open subset. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.TopologicalSpace |
| 20 | |
| 21 | variable {T : Type*} [TopologicalSpace T] |
| 22 | |
| 23 | /-- Actual local logarithm data, including the elementary exponential identity. -/ |
| 24 | structure OpenLogarithm (D : Opens T) (g : C(D, ℂ)) (p : D) where |
| 25 | domain : Opens T |
| 26 | subset : domain ≤ D |
| 27 | mem_domain : p.val ∈ domain |
| 28 | logarithm : C(domain, ℂ) |
| 29 | exp_logarithm : ∀ q : domain, |
| 30 | Complex.exp (logarithm q) = g ⟨q.val, subset q.property⟩ |
| 31 | |
| 32 | /-- The local logarithm is constructed by rotating the slit plane to g(p). -/ |
| 33 | def openLogarithm (D : Opens T) (g : C(D, ℂ)) (p : D) (hp : g p ≠ 0) : |
| 34 | OpenLogarithm D g p := by |
| 35 | classical |
| 36 | let F : T → ℂ := fun x => if hx : x ∈ D then g ⟨x, hx⟩ else 0 |
| 37 | have hF : ContinuousOn F (D : Set T) := by |
| 38 | apply continuousOn_iff_continuous_domRestrict.mpr |
| 39 | change Continuous (fun x : D => F x.val) |
| 40 | have heq : (fun x : D => F x.val) = g := by |
| 41 | funext x |
| 42 | exact dite_eq_left x.property |
| 43 | rw [heq] |
| 44 | exact g.continuous |
| 45 | let S : Set T := (D : Set T) ∩ (fun x => F x / g p) ⁻¹' Complex.slitPlane |
| 46 | have hS : IsOpen S := |
| 47 | (hF.div_const (g p)).isOpen_inter_preimage D.isOpen Complex.isOpen_slitPlane |
| 48 | have hpS : p.val ∈ S := by |
| 49 | refine ⟨p.property, ?_⟩ |
| 50 | change F p.val / g p ∈ Complex.slitPlane |
| 51 | simp only [F, dite_eq_left p.property, div_self hp, Complex.one_mem_slitPlane] |
| 52 | have hlog : ContinuousOn (fun x => Complex.log (F x / g p) + Complex.log (g p)) S := |
| 53 | (((hF.mono Set.inter_subset_left).div_const (g p)).clog (fun _ hx => hx.2)).add |
| 54 | continuousOn_const |
| 55 | refine { |
| 56 | domain := ⟨S, hS⟩ |
| 57 | subset := Set.inter_subset_left |
| 58 | mem_domain := hpS |
| 59 | logarithm := ⟨fun x => Complex.log (F x.val / g p) + Complex.log (g p), |
| 60 | continuousOn_iff_continuous_domRestrict.mp hlog⟩ |
| 61 | exp_logarithm := ?_ } |
| 62 | intro q |
| 63 | change Complex.exp (Complex.log (F q.val / g p) + Complex.log (g p)) = _ |
| 64 | rw [Complex.exp_add, Complex.exp_log (Complex.slitPlane_ne_zero q.property.2), |
| 65 | Complex.exp_log hp, div_mul_cancel₀ _ hp] |
| 66 | exact dite_eq_left q.property.1 |
| 67 | |
| 68 | end |
| 69 | |
| 70 | /-! |
| 71 | # ChernClass: local logarithms of nonvanishing changes of frame |
| 72 | |
| 73 | Refining each chart near each of its points gives continuous logarithms of a |
| 74 | nonvanishing continuous section on every refined chart. |
| 75 | -/ |
| 76 | |
| 77 | open _root_.TopologicalSpace |
| 78 | |
| 79 | variable {T I : Type} [TopologicalSpace T] |
| 80 | |
| 81 | /-- Logarithmic refinement for a family of nonvanishing functions on charts. -/ |
| 82 | structure SectionLogRefinement (U : I → Opens T) (g : ∀ i, C(U i, ℂ)) where |
| 83 | cover : (Σ i, U i) → Opens T |
| 84 | subset : ∀ a, cover a ≤ U a.1 |
| 85 | logarithm : ∀ a, C(cover a, ℂ) |
| 86 | exp_logarithm : ∀ a (x : cover a), |
| 87 | Complex.exp (logarithm a x) = g a.1 ⟨x.val, subset a x.property⟩ |
| 88 | contains_center : ∀ a, a.2.val ∈ cover a |
| 89 | |
| 90 | /-- Each refined chart uses the explicit slit-plane logarithm at its center. -/ |
| 91 | def sectionLogRefinement (U : I → Opens T) (g : ∀ i, C(U i, ℂ)) |
| 92 | (hg : ∀ i x, g i x ≠ 0) : SectionLogRefinement U g where |
| 93 | cover a := (openLogarithm (U a.1) (g a.1) a.2 (hg a.1 a.2)).domain |
| 94 | subset a := (openLogarithm (U a.1) (g a.1) a.2 (hg a.1 a.2)).subset |
| 95 | logarithm a := (openLogarithm (U a.1) (g a.1) a.2 (hg a.1 a.2)).logarithm |
| 96 | exp_logarithm a := (openLogarithm (U a.1) (g a.1) a.2 (hg a.1 a.2)).exp_logarithm |
| 97 | contains_center a := (openLogarithm (U a.1) (g a.1) a.2 (hg a.1 a.2)).mem_domain |
| 98 | |
| 99 | theorem sectionLogRefinement_covers (U : I → Opens T) (g : ∀ i, C(U i, ℂ)) |
| 100 | (hg : ∀ i x, g i x ≠ 0) (hc : ∀ x, ∃ i, x ∈ U i) : |
| 101 | ∀ x, ∃ a, x ∈ (sectionLogRefinement U g hg).cover a := by |
| 102 | intro x |
| 103 | obtain ⟨i, hi⟩ := hc x |
| 104 | exact ⟨⟨i, ⟨x, hi⟩⟩, (sectionLogRefinement U g hg).contains_center ⟨i, ⟨x, hi⟩⟩⟩ |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Open.Logarithms.Construction |