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.Analysis.DifferentialForms.Manifold.Open |
| 2 | |
| 3 | /-! # Manifold Gluing -/ |
| 4 | |
| 5 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Unique gluing of actual tangent-covector-valued smooth sections on a manifold. |
| 11 | The fibers depend on the point; the chosen local section is evaluated at that |
| 12 | same point. Smoothness is obtained from the established local chart criterion. |
| 13 | -/ |
| 14 | |
| 15 | open Set _root_.TopologicalSpace |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | |
| 18 | universe u v w |
| 19 | |
| 20 | variable {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 21 | {M : Type v} [TopologicalSpace M] [ChartedSpace E M] |
| 22 | {ι : Type w} {n : ℕ} {U : Opens M} {V : ι → Opens M} |
| 23 | |
| 24 | /-- Agreement of the actual tangent covectors on every overlap. -/ |
| 25 | def Open.SmoothOpenManifoldForm.Compatible (forms : ∀ i, Open.SmoothOpenManifoldForm E (V i) n) : Prop := |
| 26 | ∀ (i j) (x : M) (hi : x ∈ V i) (hj : x ∈ V j), |
| 27 | forms i ⟨x, hi⟩ = forms j ⟨x, hj⟩ |
| 28 | |
| 29 | theorem Open.SmoothOpenManifoldForm.compatible_iff_restrict (forms : ∀ i, Open.SmoothOpenManifoldForm E (V i) n) : |
| 30 | Open.SmoothOpenManifoldForm.Compatible forms ↔ ∀ i j, |
| 31 | Open.SmoothOpenManifoldForm.restrict (show V i ⊓ V j ≤ V i from inf_le_left) (forms i) = |
| 32 | Open.SmoothOpenManifoldForm.restrict (show V i ⊓ V j ≤ V j from inf_le_right) (forms j) := by |
| 33 | constructor |
| 34 | · intro h i j |
| 35 | apply Open.SmoothOpenManifoldForm.ext |
| 36 | intro x |
| 37 | exact h i j x x.property.1 x.property.2 |
| 38 | · intro h i j x hi hj |
| 39 | exact congrArg (fun f : Open.SmoothOpenManifoldForm E (V i ⊓ V j) n => f ⟨x, ⟨hi, hj⟩⟩) |
| 40 | (h i j) |
| 41 | |
| 42 | /-- Assemble the dependent tangent covectors by choosing a covering section. -/ |
| 43 | def Open.SmoothOpenManifoldForm.glueFunction (hcover : (U : Set M) ⊆ ⋃ i, (V i : Set M)) |
| 44 | (forms : ∀ i, Open.SmoothOpenManifoldForm E (V i) n) : Open.RawOpenManifoldForm E U n := |
| 45 | fun x => forms (Classical.choose (Set.mem_iUnion.mp (hcover x.property))) |
| 46 | ⟨x, Classical.choose_spec (Set.mem_iUnion.mp (hcover x.property))⟩ |
| 47 | |
| 48 | theorem Open.SmoothOpenManifoldForm.glueFunction_eq (hcover : (U : Set M) ⊆ ⋃ i, (V i : Set M)) |
| 49 | (forms : ∀ i, Open.SmoothOpenManifoldForm E (V i) n) (hcompat : Open.SmoothOpenManifoldForm.Compatible forms) |
| 50 | (x : U) (i : ι) (hi : (x : M) ∈ V i) : |
| 51 | Open.SmoothOpenManifoldForm.glueFunction hcover forms x = forms i ⟨x, hi⟩ := |
| 52 | hcompat _ i x (Classical.choose_spec (Set.mem_iUnion.mp (hcover x.property))) hi |
| 53 | |
| 54 | theorem Open.SmoothOpenManifoldForm.glueFunction_smooth (hsub : ∀ i, V i ≤ U) |
| 55 | (hcover : (U : Set M) ⊆ ⋃ i, (V i : Set M)) |
| 56 | (forms : ∀ i, Open.SmoothOpenManifoldForm E (V i) n) (hcompat : Open.SmoothOpenManifoldForm.Compatible forms) : |
| 57 | Algebra.IsSmoothManifoldFormOn (Open.openManifoldFormExtension U (Open.SmoothOpenManifoldForm.glueFunction hcover forms)) |
| 58 | (U : Set M) := by |
| 59 | have hlocal : ∀ i, Algebra.IsSmoothManifoldFormOn |
| 60 | (Open.openManifoldFormExtension U (Open.SmoothOpenManifoldForm.glueFunction hcover forms)) (V i : Set M) := by |
| 61 | intro i |
| 62 | apply (forms i).smooth.congr |
| 63 | intro x hx |
| 64 | calc |
| 65 | (forms i).extension x = forms i ⟨x, hx⟩ := Open.SmoothOpenManifoldForm.extension_apply (forms i) ⟨x, hx⟩ |
| 66 | _ = Open.SmoothOpenManifoldForm.glueFunction hcover forms ⟨x, hsub i hx⟩ := |
| 67 | (Open.SmoothOpenManifoldForm.glueFunction_eq hcover forms hcompat ⟨x, hsub i hx⟩ i hx).symm |
| 68 | _ = Open.openManifoldFormExtension U (Open.SmoothOpenManifoldForm.glueFunction hcover forms) x := |
| 69 | (Open.openManifoldFormExtension_apply U _ ⟨x, hsub i hx⟩).symm |
| 70 | exact (Algebra.IsSmoothManifoldFormOn.iUnion hlocal (fun i => (V i).isOpen)).mono hcover |
| 71 | |
| 72 | /-- The smooth section glued over a covering family of open sets. -/ |
| 73 | def Open.SmoothOpenManifoldForm.glue (hsub : ∀ i, V i ≤ U) |
| 74 | (hcover : (U : Set M) ⊆ ⋃ i, (V i : Set M)) |
| 75 | (forms : ∀ i, Open.SmoothOpenManifoldForm E (V i) n) (hcompat : Open.SmoothOpenManifoldForm.Compatible forms) : |
| 76 | Open.SmoothOpenManifoldForm E U n := |
| 77 | ⟨Open.SmoothOpenManifoldForm.glueFunction hcover forms, Open.SmoothOpenManifoldForm.glueFunction_smooth hsub hcover forms hcompat⟩ |
| 78 | |
| 79 | theorem Open.SmoothOpenManifoldForm.glue_apply (hsub : ∀ i, V i ≤ U) |
| 80 | (hcover : (U : Set M) ⊆ ⋃ i, (V i : Set M)) |
| 81 | (forms : ∀ i, Open.SmoothOpenManifoldForm E (V i) n) (hcompat : Open.SmoothOpenManifoldForm.Compatible forms) |
| 82 | (x : U) (i : ι) (hi : (x : M) ∈ V i) : |
| 83 | Open.SmoothOpenManifoldForm.glue hsub hcover forms hcompat x = forms i ⟨x, hi⟩ := |
| 84 | Open.SmoothOpenManifoldForm.glueFunction_eq hcover forms hcompat x i hi |
| 85 | |
| 86 | @[simp] |
| 87 | theorem Open.SmoothOpenManifoldForm.restrict_glue (hsub : ∀ i, V i ≤ U) |
| 88 | (hcover : (U : Set M) ⊆ ⋃ i, (V i : Set M)) |
| 89 | (forms : ∀ i, Open.SmoothOpenManifoldForm E (V i) n) (hcompat : Open.SmoothOpenManifoldForm.Compatible forms) (i : ι) : |
| 90 | Open.SmoothOpenManifoldForm.restrict (hsub i) (Open.SmoothOpenManifoldForm.glue hsub hcover forms hcompat) = forms i := by |
| 91 | apply Open.SmoothOpenManifoldForm.ext |
| 92 | intro x |
| 93 | exact Open.SmoothOpenManifoldForm.glue_apply hsub hcover forms hcompat ⟨x, hsub i x.property⟩ i x.property |
| 94 | |
| 95 | theorem Open.SmoothOpenManifoldForm.eq_glue_of_restrict_eq (hsub : ∀ i, V i ≤ U) |
| 96 | (hcover : (U : Set M) ⊆ ⋃ i, (V i : Set M)) |
| 97 | (forms : ∀ i, Open.SmoothOpenManifoldForm E (V i) n) (hcompat : Open.SmoothOpenManifoldForm.Compatible forms) |
| 98 | (form : Open.SmoothOpenManifoldForm E U n) |
| 99 | (hform : ∀ i, Open.SmoothOpenManifoldForm.restrict (hsub i) form = forms i) : |
| 100 | form = Open.SmoothOpenManifoldForm.glue hsub hcover forms hcompat := by |
| 101 | apply Open.SmoothOpenManifoldForm.ext |
| 102 | intro x |
| 103 | obtain ⟨i, hi⟩ := Set.mem_iUnion.mp (hcover x.property) |
| 104 | have heq := congrArg (fun f : Open.SmoothOpenManifoldForm E (V i) n => f ⟨x, hi⟩) (hform i) |
| 105 | exact heq.trans (Open.SmoothOpenManifoldForm.glue_apply hsub hcover forms hcompat x i hi).symm |
| 106 | |
| 107 | /-- Unique gluing of smooth manifold forms on an arbitrary open cover. -/ |
| 108 | theorem Open.SmoothOpenManifoldForm.existsUnique_glue (hsub : ∀ i, V i ≤ U) |
| 109 | (hcover : (U : Set M) ⊆ ⋃ i, (V i : Set M)) |
| 110 | (forms : ∀ i, Open.SmoothOpenManifoldForm E (V i) n) (hcompat : Open.SmoothOpenManifoldForm.Compatible forms) : |
| 111 | ∃! form : Open.SmoothOpenManifoldForm E U n, ∀ i, Open.SmoothOpenManifoldForm.restrict (hsub i) form = forms i := by |
| 112 | refine ⟨Open.SmoothOpenManifoldForm.glue hsub hcover forms hcompat, Open.SmoothOpenManifoldForm.restrict_glue hsub hcover forms hcompat, ?_⟩ |
| 113 | intro form hform |
| 114 | exact Open.SmoothOpenManifoldForm.eq_glue_of_restrict_eq hsub hcover forms hcompat form hform |
| 115 | |
| 116 | theorem Open.SmoothOpenManifoldForm.existsUnique_glue_iSup (forms : ∀ i, Open.SmoothOpenManifoldForm E (V i) n) |
| 117 | (hcompat : Open.SmoothOpenManifoldForm.Compatible forms) : |
| 118 | ∃! form : Open.SmoothOpenManifoldForm E (iSup V) n, |
| 119 | ∀ i, Open.SmoothOpenManifoldForm.restrict (le_iSup V i) form = forms i := by |
| 120 | apply Open.SmoothOpenManifoldForm.existsUnique_glue (fun i => le_iSup V i) _ forms hcompat |
| 121 | simpa only [Opens.coe_iSup] using (Subset.rfl : (⋃ i, (V i : Set M)) ⊆ ⋃ i, (V i : Set M)) |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.Analysis.DifferentialForms.Manifold |