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.ArithmeticGeometry.OrdinaryLocus.Openness.PullbackModuleCharts |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PullbackSectionCompatibility |
| 3 | |
| 4 | /-! # Pullback Chart Compatibility -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PullbackChartCompatibility.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The chart comparison carries the canonical pullback of sections to the global pullback. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) (M : Y.Modules) |
| 17 | |
| 18 | theorem modulePullbackSectionLE_top (h : (⊤ : X.Opens) ≤ f ⁻¹ᵁ ⊤) (m : Γ(M, ⊤)) : |
| 19 | PullbackSectionCompatibility.Construction.modulePullbackSectionLE f M ⊤ ⊤ h m = PullbackModuleSections.Construction.modulePullbackGlobalSection f M m := by |
| 20 | change ((Scheme.Modules.pullback f).obj M).presheaf.map (𝟙 (.op ⊤)) |
| 21 | (PullbackModuleSections.Construction.modulePullbackGlobalSection f M m) = _ |
| 22 | simp |
| 23 | |
| 24 | theorem moduleOpenPullbackSectionsMap_eq_sectionLE (U : Y.Opens) (m : Γ(M, U)) : |
| 25 | OpenPullbackSections.Construction.moduleOpenPullbackSectionsMap M U m = |
| 26 | PullbackSectionCompatibility.Construction.modulePullbackSectionLE U.ι M U ⊤ U.ι_preimage_self.ge m := rfl |
| 27 | |
| 28 | theorem modulePullbackOpenComparison_section (U : Y.Opens) (V : X.Opens) |
| 29 | (hVU : V ≤ f ⁻¹ᵁ U) (m : Γ(M, U)) : |
| 30 | (PullbackModuleCharts.Construction.modulePullbackOpenComparison f M U V hVU).hom.app ⊤ |
| 31 | (PullbackModuleSections.Construction.modulePullbackGlobalSection (f.resLE U V hVU) ((Scheme.Modules.pullback U.ι).obj M) |
| 32 | (OpenPullbackSections.Construction.moduleOpenPullbackSectionsMap M U m)) = |
| 33 | OpenPullbackSections.Construction.moduleOpenPullbackSectionsMap ((Scheme.Modules.pullback f).obj M) V |
| 34 | (PullbackSectionCompatibility.Construction.modulePullbackSectionLE f M U V hVU m) := by |
| 35 | let a := (Scheme.Modules.pullbackComp (f.resLE U V hVU) U.ι).app M |
| 36 | let b := (Scheme.Modules.pullbackCongr (f.resLE_comp_ι hVU)).app M |
| 37 | let c := (Scheme.Modules.pullbackComp V.ι f).app M |
| 38 | have h₁ := PullbackSectionCompatibility.Construction.modulePullbackSectionLE_comp (f.resLE U V hVU) U.ι M U ⊤ ⊤ |
| 39 | U.ι_preimage_self.ge (by simp) m |
| 40 | have ht := modulePullbackSectionLE_top (f.resLE U V hVU) ((Scheme.Modules.pullback U.ι).obj M) |
| 41 | (by simp) (OpenPullbackSections.Construction.moduleOpenPullbackSectionsMap M U m) |
| 42 | have h₁ := (congrArg (a.hom.app ⊤) ht).symm.trans h₁ |
| 43 | have h₂ := PullbackSectionCompatibility.Construction.modulePullbackSectionLE_congr (f.resLE U V hVU ≫ U.ι) M |
| 44 | (f.resLE_comp_ι hVU) U ⊤ |
| 45 | (show (⊤ : V.toScheme.Opens) ≤ (f.resLE U V hVU ≫ U.ι) ⁻¹ᵁ U from |
| 46 | (show (⊤ : V.toScheme.Opens) ≤ (f.resLE U V hVU) ⁻¹ᵁ ⊤ from by simp).trans |
| 47 | ((f.resLE U V hVU).preimage_mono U.ι_preimage_self.ge)) |
| 48 | (V.ι_preimage_self.ge.trans (V.ι.preimage_mono hVU)) m |
| 49 | have h₃ := PullbackSectionCompatibility.Construction.modulePullbackSectionLE_comp V.ι f M U V ⊤ hVU V.ι_preimage_self.ge m |
| 50 | have h : b.hom.app ⊤ (a.hom.app ⊤ |
| 51 | (PullbackModuleSections.Construction.modulePullbackGlobalSection (f.resLE U V hVU) ((Scheme.Modules.pullback U.ι).obj M) |
| 52 | (OpenPullbackSections.Construction.moduleOpenPullbackSectionsMap M U m))) = |
| 53 | c.hom.app ⊤ (OpenPullbackSections.Construction.moduleOpenPullbackSectionsMap ((Scheme.Modules.pullback f).obj M) V |
| 54 | (PullbackSectionCompatibility.Construction.modulePullbackSectionLE f M U V hVU m)) := by |
| 55 | exact (congrArg (b.hom.app ⊤) h₁).trans (h₂.trans h₃.symm) |
| 56 | change c.inv.app ⊤ (b.hom.app ⊤ (a.hom.app ⊤ |
| 57 | (PullbackModuleSections.Construction.modulePullbackGlobalSection (f.resLE U V hVU) ((Scheme.Modules.pullback U.ι).obj M) |
| 58 | (OpenPullbackSections.Construction.moduleOpenPullbackSectionsMap M U m)))) = _ |
| 59 | rw [h] |
| 60 | exact congrArg (fun q : (Scheme.Modules.pullback V.ι).obj ((Scheme.Modules.pullback f).obj M) ⟶ |
| 61 | (Scheme.Modules.pullback V.ι).obj ((Scheme.Modules.pullback f).obj M) ↦ |
| 62 | q.app ⊤ (OpenPullbackSections.Construction.moduleOpenPullbackSectionsMap ((Scheme.Modules.pullback f).obj M) V |
| 63 | (PullbackSectionCompatibility.Construction.modulePullbackSectionLE f M U V hVU m))) c.hom_inv_id |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PullbackChartCompatibility.Construction |