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.Open.Logarithms |
| 2 | import Mathlib.Topology.ShrinkingLemma |
| 3 | |
| 4 | /-! # Log Refinement Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.LogRefinementOpen |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # ChernClass: an open refinement with logarithms of every transition |
| 12 | |
| 13 | A finite cover of a normal space is first shrunk. Near each point, transitions |
| 14 | between the finitely many relevant closed chart domains have local logarithms; |
| 15 | the other pairs can be avoided. Intersecting these neighborhoods gives a cover |
| 16 | whose pairwise overlaps admit logarithms of the original transitions. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.TopologicalSpace |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | set_option backward.defeqAttrib.useBackward true |
| 24 | |
| 25 | namespace Construction |
| 26 | |
| 27 | variable {T I : Type*} [TopologicalSpace T] |
| 28 | |
| 29 | /-- The continuous inclusion of one open set in another. -/ |
| 30 | def openInclusionMap {A B : Opens T} (h : A ≤ B) : C(A, B) := |
| 31 | ⟨fun x => ⟨x.val, h x.property⟩, |
| 32 | continuous_subtype_val.subtype_mk (fun x => h x.property)⟩ |
| 33 | |
| 34 | /-- A refinement carrying actual logarithms, with their exponential identities. -/ |
| 35 | structure LogarithmicRefinement (U : I → Opens T) |
| 36 | (g : ∀ i j, C((U i ⊓ U j : Opens T), ℂ)) where |
| 37 | cover : T × I → Opens T |
| 38 | subset : ∀ a, cover a ≤ U a.2 |
| 39 | covers : ∀ x, ∃ a, x ∈ cover a |
| 40 | logarithm : ∀ a b, C((cover a ⊓ cover b : Opens T), ℂ) |
| 41 | exp_logarithm : ∀ a b (x : (cover a ⊓ cover b : Opens T)), |
| 42 | Complex.exp (logarithm a b x) = |
| 43 | g a.2 b.2 ⟨x.val, subset a x.property.1, subset b x.property.2⟩ |
| 44 | |
| 45 | /-- Finite covers of normal spaces admit logarithmic refinements of any |
| 46 | family of nonvanishing continuous transition functions. -/ |
| 47 | theorem nonempty_logarithmicRefinement [Finite I] [NormalSpace T] |
| 48 | (U : I → Opens T) (hc : ∀ x, ∃ i, x ∈ U i) |
| 49 | (g : ∀ i j, C((U i ⊓ U j : Opens T), ℂ)) (hg : ∀ i j x, g i j x ≠ 0) : |
| 50 | Nonempty (LogarithmicRefinement U g) := by |
| 51 | classical |
| 52 | obtain ⟨V, hVc, hVo, hVU⟩ := exists_subset_iUnion_closure_subset |
| 53 | (s := (Set.univ : Set T)) isClosed_univ (fun i => (U i).isOpen) |
| 54 | (fun x _ => Set.toFinite {i | x ∈ U i}) (by |
| 55 | intro x _ |
| 56 | obtain ⟨i, hi⟩ := hc x |
| 57 | exact Set.mem_iUnion.mpr ⟨i, hi⟩) |
| 58 | let K : I → Set T := fun i => closure (V i) |
| 59 | have hKU (i : I) : K i ⊆ U i := hVU i |
| 60 | let H : T → I → I → Prop := fun p i j => p ∈ K i ∩ K j |
| 61 | let localData (p : T) (i j : I) (h : H p i j) : |
| 62 | Open.Logarithms.Construction.OpenLogarithm (U i ⊓ U j) (g i j) ⟨p, hKU i h.1, hKU j h.2⟩ := |
| 63 | Open.Logarithms.Construction.openLogarithm _ _ _ (hg i j _) |
| 64 | let D (p : T) (i j : I) : Opens T := |
| 65 | if h : H p i j then (localData p i j h).domain else |
| 66 | ⟨(K i ∩ K j)ᶜ, (isClosed_closure.inter isClosed_closure).isOpen_compl⟩ |
| 67 | have hD (p : T) (i j : I) : p ∈ D p i j := by |
| 68 | dsimp [D] |
| 69 | split_ifs with h |
| 70 | · exact (localData p i j h).mem_domain |
| 71 | · exact h |
| 72 | let O : T → Opens T := fun p => ⨅ ij : I × I, D p ij.1 ij.2 |
| 73 | have hO (p : T) : p ∈ O p := by |
| 74 | change p ∈ ((⨅ ij : I × I, D p ij.1 ij.2 : Opens T) : Set T) |
| 75 | rw [Opens.coe_iInf] |
| 76 | exact Set.mem_iInter.mpr (fun ij => hD p ij.1 ij.2) |
| 77 | have hOD (p : T) (i j : I) : O p ≤ D p i j := iInf_le _ (i, j) |
| 78 | let W : T × I → Opens T := fun a => O a.1 ⊓ ⟨V a.2, hVo a.2⟩ |
| 79 | have hWU (a : T × I) : W a ≤ U a.2 := by |
| 80 | intro x hx |
| 81 | exact hKU a.2 (subset_closure hx.2) |
| 82 | have hWc (x : T) : ∃ a, x ∈ W a := by |
| 83 | obtain ⟨i, hi⟩ := Set.mem_iUnion.mp (hVc (Set.mem_univ x)) |
| 84 | exact ⟨(x, i), hO x, hi⟩ |
| 85 | have hH (a b : T × I) (x : (W a ⊓ W b : Opens T)) : H a.1 a.2 b.2 := by |
| 86 | by_contra h |
| 87 | have hxD := hOD a.1 a.2 b.2 x.property.1.1 |
| 88 | have hxK : x.val ∈ K a.2 ∩ K b.2 := |
| 89 | ⟨subset_closure x.property.1.2, subset_closure x.property.2.2⟩ |
| 90 | change x.val ∈ D a.1 a.2 b.2 at hxD |
| 91 | dsimp only [D] at hxD |
| 92 | rw [dite_eq_right h] at hxD |
| 93 | exact hxD hxK |
| 94 | have hIn (a b : T × I) (h : H a.1 a.2 b.2) : |
| 95 | W a ⊓ W b ≤ (localData a.1 a.2 b.2 h).domain := by |
| 96 | intro x hx |
| 97 | have hxD := hOD a.1 a.2 b.2 hx.1.1 |
| 98 | simpa only [D, dite_eq_left h] using hxD |
| 99 | let logs (a b : T × I) : C((W a ⊓ W b : Opens T), ℂ) := |
| 100 | if h : H a.1 a.2 b.2 then |
| 101 | (localData a.1 a.2 b.2 h).logarithm.comp |
| 102 | (openInclusionMap (hIn a b h)) |
| 103 | else 0 |
| 104 | refine ⟨{ |
| 105 | cover := W |
| 106 | subset := hWU |
| 107 | covers := hWc |
| 108 | logarithm := logs |
| 109 | exp_logarithm := ?_ }⟩ |
| 110 | intro a b x |
| 111 | have h := hH a b x |
| 112 | dsimp only [logs] |
| 113 | rw [dite_eq_left h] |
| 114 | exact (localData a.1 a.2 b.2 h).exp_logarithm |
| 115 | ⟨x.val, hIn a b h x.property⟩ |
| 116 | |
| 117 | /-- A logarithmic refinement of a chosen finite subcover. -/ |
| 118 | structure CompactLogarithmicRefinement (U : I → Opens T) |
| 119 | (g : ∀ i j, C((U i ⊓ U j : Opens T), ℂ)) where |
| 120 | charts : Finset I |
| 121 | refinement : LogarithmicRefinement (fun i : charts => U i.val) |
| 122 | (fun i j => g i.val j.val) |
| 123 | |
| 124 | /-- Compact normal spaces supply the finite subcover used in the construction. -/ |
| 125 | theorem nonempty_compactLogarithmicRefinement [CompactSpace T] [NormalSpace T] |
| 126 | (U : I → Opens T) (hc : ∀ x, ∃ i, x ∈ U i) |
| 127 | (g : ∀ i j, C((U i ⊓ U j : Opens T), ℂ)) (hg : ∀ i j x, g i j x ≠ 0) : |
| 128 | Nonempty (CompactLogarithmicRefinement U g) := by |
| 129 | classical |
| 130 | obtain ⟨s, hs⟩ := isCompact_univ.elim_finite_subcover |
| 131 | (fun i => (U i : Set T)) (fun i => (U i).isOpen) (by |
| 132 | intro x _ |
| 133 | exact Set.mem_iUnion.mpr (hc x)) |
| 134 | have hsc : ∀ x, ∃ i : s, x ∈ U i.val := by |
| 135 | intro x |
| 136 | obtain ⟨i, hi⟩ := Set.mem_iUnion.mp (hs (Set.mem_univ x)) |
| 137 | obtain ⟨his, hxi⟩ := Set.mem_iUnion.mp hi |
| 138 | exact ⟨⟨i, his⟩, hxi⟩ |
| 139 | obtain ⟨r⟩ := nonempty_logarithmicRefinement (fun i : s => U i.val) hsc |
| 140 | (fun i j => g i.val j.val) (fun i j x => hg i.val j.val x) |
| 141 | exact ⟨⟨s, r⟩⟩ |
| 142 | |
| 143 | end Construction |
| 144 | |
| 145 | end |
| 146 | |
| 147 | end OAI.AlgebraicGeometry.DivisorClass.Chern.LogRefinementOpen |