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.OpenD |
| 2 | import Mathlib.Data.Set.UnionLift |
| 3 | |
| 4 | /-! # Gluing -/ |
| 5 | |
| 6 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Gluing actual smooth differential forms over an open cover. The underlying |
| 12 | function is mathlib's `Set.iUnionLift`; local agreement with the given smooth |
| 13 | functions proves its smoothness. No analytic extension outside the open set is |
| 14 | required. |
| 15 | -/ |
| 16 | |
| 17 | open Filter Set _root_.TopologicalSpace |
| 18 | open scoped _root_.Topology ContDiff |
| 19 | |
| 20 | variable {E ι : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 21 | {n : ℕ} {U : Opens E} {V : ι → Opens E} |
| 22 | |
| 23 | /-- Pointwise agreement of actual forms on every pairwise overlap. -/ |
| 24 | def OpenD.SmoothOpenForm.Compatible (forms : ∀ i, OpenD.SmoothOpenForm (V i) n) : Prop := |
| 25 | ∀ (i j) (x : E) (hi : x ∈ V i) (hj : x ∈ V j), |
| 26 | forms i ⟨x, hi⟩ = forms j ⟨x, hj⟩ |
| 27 | |
| 28 | theorem OpenD.SmoothOpenForm.compatible_iff_restrict (forms : ∀ i, OpenD.SmoothOpenForm (V i) n) : |
| 29 | OpenD.SmoothOpenForm.Compatible forms ↔ ∀ i j, |
| 30 | OpenD.SmoothOpenForm.restrict (show V i ⊓ V j ≤ V i from inf_le_left) (forms i) = |
| 31 | OpenD.SmoothOpenForm.restrict (show V i ⊓ V j ≤ V j from inf_le_right) (forms j) := by |
| 32 | constructor |
| 33 | · intro h i j |
| 34 | apply OpenD.SmoothOpenForm.ext |
| 35 | intro x |
| 36 | exact h i j x x.property.1 x.property.2 |
| 37 | · intro h i j x hi hj |
| 38 | exact congrArg (fun f : OpenD.SmoothOpenForm (V i ⊓ V j) n => f ⟨x, ⟨hi, hj⟩⟩) (h i j) |
| 39 | |
| 40 | /-- Glue the coefficient functions on a cover, before recording smoothness. -/ |
| 41 | def OpenD.SmoothOpenForm.glueFunction (hcover : (U : Set E) ⊆ ⋃ i, (V i : Set E)) |
| 42 | (forms : ∀ i, OpenD.SmoothOpenForm (V i) n) (hcompat : OpenD.SmoothOpenForm.Compatible forms) : |
| 43 | U → Basic.FormValue E n := |
| 44 | Set.iUnionLift (fun i => (V i : Set E)) (fun i => (forms i : V i → Basic.FormValue E n)) |
| 45 | hcompat (U : Set E) hcover |
| 46 | |
| 47 | theorem OpenD.SmoothOpenForm.glueFunction_eq (hcover : (U : Set E) ⊆ ⋃ i, (V i : Set E)) |
| 48 | (forms : ∀ i, OpenD.SmoothOpenForm (V i) n) (hcompat : OpenD.SmoothOpenForm.Compatible forms) |
| 49 | (x : U) (i : ι) (hi : (x : E) ∈ V i) : |
| 50 | OpenD.SmoothOpenForm.glueFunction hcover forms hcompat x = forms i ⟨x, hi⟩ := |
| 51 | Set.iUnionLift_of_mem (S := fun i => (V i : Set E)) |
| 52 | (f := fun i => (forms i : V i → Basic.FormValue E n)) (hf := hcompat) (hT := hcover) x hi |
| 53 | |
| 54 | theorem OpenD.SmoothOpenForm.glueFunction_smooth (hsub : ∀ i, V i ≤ U) |
| 55 | (hcover : (U : Set E) ⊆ ⋃ i, (V i : Set E)) |
| 56 | (forms : ∀ i, OpenD.SmoothOpenForm (V i) n) (hcompat : OpenD.SmoothOpenForm.Compatible forms) : |
| 57 | ContDiffOn ℝ ∞ (OpenD.openFormExtension U (OpenD.SmoothOpenForm.glueFunction hcover forms hcompat)) (U : Set E) := by |
| 58 | intro x hx |
| 59 | obtain ⟨i, hi⟩ := Set.mem_iUnion.mp (hcover hx) |
| 60 | have hsmooth : ContDiffAt ℝ ∞ (forms i).extension x := |
| 61 | (forms i).smooth.contDiffAt ((V i).isOpen.mem_nhds hi) |
| 62 | apply ContDiffAt.contDiffWithinAt |
| 63 | apply hsmooth.congr_of_eventuallyEq |
| 64 | filter_upwards [(V i).isOpen.mem_nhds hi] with y hy |
| 65 | calc |
| 66 | OpenD.openFormExtension U (OpenD.SmoothOpenForm.glueFunction hcover forms hcompat) y = |
| 67 | OpenD.SmoothOpenForm.glueFunction hcover forms hcompat ⟨y, hsub i hy⟩ := |
| 68 | OpenD.openFormExtension_apply U _ ⟨y, hsub i hy⟩ |
| 69 | _ = forms i ⟨y, hy⟩ := OpenD.SmoothOpenForm.glueFunction_eq hcover forms hcompat _ i hy |
| 70 | _ = (forms i).extension y := (OpenD.SmoothOpenForm.extension_apply (forms i) ⟨y, hy⟩).symm |
| 71 | |
| 72 | /-- The unique smooth form obtained by gluing a compatible family. -/ |
| 73 | def OpenD.SmoothOpenForm.glue (hsub : ∀ i, V i ≤ U) |
| 74 | (hcover : (U : Set E) ⊆ ⋃ i, (V i : Set E)) |
| 75 | (forms : ∀ i, OpenD.SmoothOpenForm (V i) n) (hcompat : OpenD.SmoothOpenForm.Compatible forms) : |
| 76 | OpenD.SmoothOpenForm U n := |
| 77 | ⟨OpenD.SmoothOpenForm.glueFunction hcover forms hcompat, OpenD.SmoothOpenForm.glueFunction_smooth hsub hcover forms hcompat⟩ |
| 78 | |
| 79 | theorem OpenD.SmoothOpenForm.glue_apply (hsub : ∀ i, V i ≤ U) |
| 80 | (hcover : (U : Set E) ⊆ ⋃ i, (V i : Set E)) |
| 81 | (forms : ∀ i, OpenD.SmoothOpenForm (V i) n) (hcompat : OpenD.SmoothOpenForm.Compatible forms) |
| 82 | (x : U) (i : ι) (hi : (x : E) ∈ V i) : |
| 83 | OpenD.SmoothOpenForm.glue hsub hcover forms hcompat x = forms i ⟨x, hi⟩ := |
| 84 | OpenD.SmoothOpenForm.glueFunction_eq hcover forms hcompat x i hi |
| 85 | |
| 86 | @[simp] |
| 87 | theorem OpenD.SmoothOpenForm.restrict_glue (hsub : ∀ i, V i ≤ U) |
| 88 | (hcover : (U : Set E) ⊆ ⋃ i, (V i : Set E)) |
| 89 | (forms : ∀ i, OpenD.SmoothOpenForm (V i) n) (hcompat : OpenD.SmoothOpenForm.Compatible forms) (i : ι) : |
| 90 | OpenD.SmoothOpenForm.restrict (hsub i) (OpenD.SmoothOpenForm.glue hsub hcover forms hcompat) = forms i := by |
| 91 | apply OpenD.SmoothOpenForm.ext |
| 92 | intro x |
| 93 | exact OpenD.SmoothOpenForm.glue_apply hsub hcover forms hcompat ⟨x, hsub i x.property⟩ i x.property |
| 94 | |
| 95 | theorem OpenD.SmoothOpenForm.eq_glue_of_restrict_eq (hsub : ∀ i, V i ≤ U) |
| 96 | (hcover : (U : Set E) ⊆ ⋃ i, (V i : Set E)) |
| 97 | (forms : ∀ i, OpenD.SmoothOpenForm (V i) n) (hcompat : OpenD.SmoothOpenForm.Compatible forms) |
| 98 | (form : OpenD.SmoothOpenForm U n) (hform : ∀ i, OpenD.SmoothOpenForm.restrict (hsub i) form = forms i) : |
| 99 | form = OpenD.SmoothOpenForm.glue hsub hcover forms hcompat := by |
| 100 | apply OpenD.SmoothOpenForm.ext |
| 101 | intro x |
| 102 | obtain ⟨i, hi⟩ := Set.mem_iUnion.mp (hcover x.property) |
| 103 | have heq := congrArg (fun f : OpenD.SmoothOpenForm (V i) n => f ⟨x, hi⟩) (hform i) |
| 104 | exact heq.trans (OpenD.SmoothOpenForm.glue_apply hsub hcover forms hcompat x i hi).symm |
| 105 | |
| 106 | /-- Existence and uniqueness of gluing for an arbitrary open cover. -/ |
| 107 | theorem OpenD.SmoothOpenForm.existsUnique_glue (hsub : ∀ i, V i ≤ U) |
| 108 | (hcover : (U : Set E) ⊆ ⋃ i, (V i : Set E)) |
| 109 | (forms : ∀ i, OpenD.SmoothOpenForm (V i) n) (hcompat : OpenD.SmoothOpenForm.Compatible forms) : |
| 110 | ∃! form : OpenD.SmoothOpenForm U n, ∀ i, OpenD.SmoothOpenForm.restrict (hsub i) form = forms i := by |
| 111 | refine ⟨OpenD.SmoothOpenForm.glue hsub hcover forms hcompat, OpenD.SmoothOpenForm.restrict_glue hsub hcover forms hcompat, ?_⟩ |
| 112 | intro form hform |
| 113 | exact OpenD.SmoothOpenForm.eq_glue_of_restrict_eq hsub hcover forms hcompat form hform |
| 114 | |
| 115 | /-- The open-supremum formulation of the smooth-form sheaf gluing property. -/ |
| 116 | theorem OpenD.SmoothOpenForm.existsUnique_glue_iSup (forms : ∀ i, OpenD.SmoothOpenForm (V i) n) |
| 117 | (hcompat : OpenD.SmoothOpenForm.Compatible forms) : |
| 118 | ∃! form : OpenD.SmoothOpenForm (iSup V) n, |
| 119 | ∀ i, OpenD.SmoothOpenForm.restrict (le_iSup V i) form = forms i := by |
| 120 | apply OpenD.SmoothOpenForm.existsUnique_glue (fun i => le_iSup V i) _ forms hcompat |
| 121 | simpa only [Opens.coe_iSup] using (Subset.rfl : (⋃ i, (V i : Set E)) ⊆ ⋃ i, (V i : Set E)) |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.Analysis.DifferentialForms.Manifold |