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.NumberTheory.PadicHodge.IntegralComparison.Etale.LiftGlueData |
| 2 | |
| 3 | /-! # Lift Glued Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.LiftGluedMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The genuine etale morphism obtained by gluing the lifted charts, |
| 10 | together with the reduction map from the original covered source. -/ |
| 11 | set_option backward.defeqAttrib.useBackward true |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | namespace Overlap |
| 16 | universe u |
| 17 | variable {X₀ X Y₀ : Scheme.{u}} {i : X₀ ⟶ X} {f₀ : Y₀ ⟶ X₀} |
| 18 | {J : Type u} (D : J → LiftOverlap.Chart i f₀) |
| 19 | |
| 20 | abbrev glued : Scheme.{u} := (LiftOverlap.Chart.glueData D).glued |
| 21 | abbrev chartMap (a : J) : (D a).scheme ⟶ Overlap.glued D := (LiftOverlap.Chart.glueData D).ι a |
| 22 | |
| 23 | def map : Overlap.glued D ⟶ X := by |
| 24 | fapply Multicoequalizer.desc |
| 25 | · exact fun a => (D a).toBase |
| 26 | · rintro ⟨a, b⟩ |
| 27 | change ((D a).overlap (D b)).ι ≫ (D a).toBase = |
| 28 | ((D a).transitionOpen (D b) ≫ ((D b).overlap (D a)).ι) ≫ (D b).toBase |
| 29 | rw [LiftOverlap.Chart.transitionOpen_ι, LiftOverlap.Chart.transition_base] |
| 30 | |
| 31 | @[reassoc] theorem chartMap_map (a : J) : chartMap D a ≫ map D = (D a).toBase := |
| 32 | Multicoequalizer.π_desc _ _ _ _ _ |
| 33 | |
| 34 | instance map_etale : Etale (map D) := by |
| 35 | apply (IsZariskiLocalAtSource.iff_of_openCover (P := @Etale) (LiftOverlap.Chart.glueData D).openCover).mpr |
| 36 | intro a |
| 37 | change J at a |
| 38 | change Etale (chartMap D a ≫ map D) |
| 39 | rw [chartMap_map] |
| 40 | infer_instance |
| 41 | |
| 42 | def sourceCover (hcovers : ∀ y : Y₀, ∃ a : J, y ∈ Set.range (D a).source) : Y₀.OpenCover where |
| 43 | I₀ := J |
| 44 | X a := (D a).reduced |
| 45 | f a := (D a).source |
| 46 | mem₀ := by |
| 47 | rw [Scheme.presieve₀_mem_precoverage_iff] |
| 48 | exact ⟨hcovers, inferInstance⟩ |
| 49 | |
| 50 | private theorem reduction_overlap_range (a b : J) : |
| 51 | Set.range (pullback.fst (D a).source (D b).source ≫ (D a).reduction) ⊆ |
| 52 | Set.range ((D a).overlap (D b)).ι := by |
| 53 | rw [Scheme.Opens.range_ι] |
| 54 | rintro _ ⟨z, rfl⟩ |
| 55 | apply ((D a).reduction_mem_overlap (D b) _).2 |
| 56 | refine ⟨pullback.snd (D a).source (D b).source z, ?_⟩ |
| 57 | exact (congrArg (fun q : pullback (D a).source (D b).source ⟶ Y₀ => q z) |
| 58 | (pullback.condition (f := (D a).source) (g := (D b).source))).symm |
| 59 | |
| 60 | private def reductionOverlap (a b : J) : |
| 61 | pullback (D a).source (D b).source ⟶ ((D a).overlap (D b)).toScheme := |
| 62 | IsOpenImmersion.lift _ (pullback.fst _ _ ≫ (D a).reduction) (reduction_overlap_range D a b) |
| 63 | |
| 64 | private theorem reductionOverlap_ι (a b : J) : reductionOverlap D a b ≫ ((D a).overlap (D b)).ι = |
| 65 | pullback.fst (D a).source (D b).source ≫ (D a).reduction := |
| 66 | IsOpenImmersion.lift_fac _ _ _ |
| 67 | |
| 68 | private theorem reductionOverlap_transition (a b : J) : |
| 69 | reductionOverlap D a b ≫ (D a).transition (D b) = |
| 70 | pullback.snd (D a).source (D b).source ≫ (D b).reduction := by |
| 71 | simpa only [Category.id_comp] using (D a).transition_reduction_of (D b) |
| 72 | (𝟙 _) (reductionOverlap D a b) (pullback.fst _ _) (pullback.snd _ _) |
| 73 | (by simpa only [Category.id_comp] using reductionOverlap_ι D a b) pullback.condition |
| 74 | |
| 75 | theorem reduction_compatible (a b : J) : |
| 76 | pullback.fst (D a).source (D b).source ≫ ((D a).reduction ≫ chartMap D a) = |
| 77 | pullback.snd (D a).source (D b).source ≫ ((D b).reduction ≫ chartMap D b) := by |
| 78 | rw [← Category.assoc, ← reductionOverlap_ι] |
| 79 | have hg := (LiftOverlap.Chart.glueData D).glue_condition a b |
| 80 | change (D a).transitionOpen (D b) ≫ ((D b).overlap (D a)).ι ≫ chartMap D b = |
| 81 | ((D a).overlap (D b)).ι ≫ chartMap D a at hg |
| 82 | rw [Category.assoc, ← hg, LiftOverlap.Chart.transitionOpen_ι_assoc, |
| 83 | ← Category.assoc, reductionOverlap_transition, Category.assoc] |
| 84 | |
| 85 | def reduction (hcovers : ∀ y : Y₀, ∃ a : J, y ∈ Set.range (D a).source) : Y₀ ⟶ Overlap.glued D := |
| 86 | (sourceCover D hcovers).glueMorphisms (fun a => (D a).reduction ≫ chartMap D a) |
| 87 | (reduction_compatible D) |
| 88 | |
| 89 | @[reassoc] theorem source_reduction (hcovers : ∀ y : Y₀, ∃ a : J, y ∈ Set.range (D a).source) (a : J) : |
| 90 | (D a).source ≫ Overlap.reduction D hcovers = (D a).reduction ≫ chartMap D a := |
| 91 | (sourceCover D hcovers).ι_glueMorphisms _ _ a |
| 92 | |
| 93 | theorem reduction_map (hcovers : ∀ y : Y₀, ∃ a : J, y ∈ Set.range (D a).source) : |
| 94 | Overlap.reduction D hcovers ≫ map D = f₀ ≫ i := by |
| 95 | apply (sourceCover D hcovers).hom_ext |
| 96 | intro a |
| 97 | change (D a).source ≫ (Overlap.reduction D hcovers ≫ map D) = (D a).source ≫ f₀ ≫ i |
| 98 | rw [← Category.assoc, source_reduction, Category.assoc, chartMap_map] |
| 99 | exact (D a).over |
| 100 | |
| 101 | end Overlap |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.LiftGluedMap |