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.AffineCechGluing |
| 2 | |
| 3 | /-! # Affine Local Lifts -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AffineLocalLifts.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Correction and gluing of local lifts when the kernel is quasicoherent. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable (R : CommRingCat.{u}) |
| 16 | (F E G : TopCat.Sheaf (ModuleCat.{u} R) (TopCat.of (PrimeSpectrum R))) |
| 17 | (a : F ⟶ E) (b : E ⟶ G) |
| 18 | (hF : ∀ r : R, IsLocalizedModule (Submonoid.powers r) |
| 19 | (F.obj.map (PrimeSpectrum.basicOpen r).leTop.op).hom) |
| 20 | (ha : ∀ r : R, Function.Injective (a.hom.app (op (PrimeSpectrum.basicOpen r)))) |
| 21 | (hab : ∀ r : R, Function.Exact (a.hom.app (op (PrimeSpectrum.basicOpen r))) |
| 22 | (b.hom.app (op (PrimeSpectrum.basicOpen r)))) |
| 23 | {ι : Type v} [Fintype ι] [DecidableEq ι] (f : ι → R) |
| 24 | |
| 25 | include hF ha hab in |
| 26 | theorem affineCech_correct_local_lifts (hf : Ideal.span (Set.range f) = ⊤) |
| 27 | (s : G.obj.obj (op ⊤)) (x : AffineCech.Construction.affineCechC0 R E f) |
| 28 | (hx : AffineCechGluing.Construction.affineCechMap0 R E f b x = AffineCechGluing.Construction.affineCechUnit R G f s) : |
| 29 | ∃ y : AffineCech.Construction.affineCechC0 R E f, |
| 30 | AffineCech.Construction.affineCechD0 R E f y = 0 ∧ AffineCechGluing.Construction.affineCechMap0 R E f b y = AffineCechGluing.Construction.affineCechUnit R G f s := by |
| 31 | have hd : AffineCechGluing.Construction.affineCechMap1 R E f b (AffineCech.Construction.affineCechD0 R E f x) = 0 := by |
| 32 | rw [← AffineCechGluing.Construction.affineCechMap0_d, hx, AffineCechGluing.Construction.affineCechUnit_d] |
| 33 | have hker (i j : ι) : |
| 34 | b.hom.app (op (PrimeSpectrum.basicOpen (f i * f j))) |
| 35 | (AffineCech.Construction.affineCechD0 R E f x i j) = 0 := congrFun (congrFun hd i) j |
| 36 | choose c hc using fun i j ↦ (hab (f i * f j) (AffineCech.Construction.affineCechD0 R E f x i j)).mp (hker i j) |
| 37 | have hc' : AffineCechGluing.Construction.affineCechMap1 R F f a c = AffineCech.Construction.affineCechD0 R E f x := by |
| 38 | funext i j |
| 39 | exact hc i j |
| 40 | have hdc : AffineCech.Construction.affineCechD1 R F f c = 0 := by |
| 41 | apply AffineCechGluing.Construction.affineCechMap2_injective R F f a ha |
| 42 | rw [map_zero, ← AffineCechGluing.Construction.affineCechMap1_d, hc'] |
| 43 | exact LinearMap.congr_fun (AffineCechGluing.Construction.affineCechD1_comp_D0_unconditional R E f) x |
| 44 | obtain ⟨t, ht⟩ := (AffineCech.Construction.affineCech_exact_degreeOne R F hF f hf c).mp hdc |
| 45 | refine ⟨x - AffineCechGluing.Construction.affineCechMap0 R F f a t, ?_, ?_⟩ |
| 46 | · rw [map_sub, AffineCechGluing.Construction.affineCechMap0_d, ht, hc', sub_self] |
| 47 | · rw [map_sub, hx] |
| 48 | have hz : AffineCechGluing.Construction.affineCechMap0 R E f b (AffineCechGluing.Construction.affineCechMap0 R F f a t) = 0 := by |
| 49 | funext i |
| 50 | exact (hab (f i) (a.hom.app (op (PrimeSpectrum.basicOpen (f i))) (t i))).mpr ⟨t i, rfl⟩ |
| 51 | rw [hz, sub_zero] |
| 52 | |
| 53 | include hF ha hab in |
| 54 | theorem affine_global_lift_of_principal_local_lifts (hf : Ideal.span (Set.range f) = ⊤) |
| 55 | (s : G.obj.obj (op ⊤)) (x : AffineCech.Construction.affineCechC0 R E f) |
| 56 | (hx : AffineCechGluing.Construction.affineCechMap0 R E f b x = AffineCechGluing.Construction.affineCechUnit R G f s) : |
| 57 | ∃ t : E.obj.obj (op ⊤), b.hom.app (op ⊤) t = s := by |
| 58 | obtain ⟨y, hy, hby⟩ := affineCech_correct_local_lifts R F E G a b hF ha hab f hf s x hx |
| 59 | obtain ⟨t, ht, _⟩ := AffineCechGluing.Construction.affineCech_sections_glue R E f hf y hy |
| 60 | refine ⟨t, ?_⟩ |
| 61 | apply G.eq_of_locally_eq' (fun i ↦ PrimeSpectrum.basicOpen (f i)) ⊤ |
| 62 | (fun _ ↦ homOfLE le_top) (by rw [(PrimeSpectrum.iSup_basicOpen_eq_top_iff).mpr hf]) |
| 63 | intro i |
| 64 | change G.obj.map (PrimeSpectrum.basicOpen (f i)).leTop.op (b.hom.app (op ⊤) t) = _ |
| 65 | rw [← NatTrans.naturality_apply, ht i] |
| 66 | exact congrFun hby i |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AffineLocalLifts.Construction |