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.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InverseLimit.CocycleMaps |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InverseLimit.OpenUnitEquations |
| 3 | |
| 4 | /-! # Cocycle Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InverseLimit.CocycleDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite regular-unit cocycle on the limit of affine transition |
| 11 | maps descends, with its literal equations, to one actual scheme stage. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {I : Type} [Category.{0} I] (D : I ⥤ Scheme.{0}) (c : Cone D) |
| 16 | (hc : IsLimit c) [IsCofiltered I] [Quiver.IsThin I] |
| 17 | [∀ {i j} (f : i ⟶ j), IsAffineHom (D.map f)] |
| 18 | |
| 19 | include hc in |
| 20 | theorem exists_limit_open_cocycle_stage {J : Type} [Fintype J] {i : I} |
| 21 | (U : J → (D.obj i).Opens) |
| 22 | (h₂ : ∀ a b, IsAffineOpen (U a ⊓ U b)) |
| 23 | (h₃ : ∀ a b d, IsAffineOpen ((U a ⊓ U b) ⊓ U d)) |
| 24 | (r : Open.TransitionCocycle.OpenTransitionCoefficients (fun a => c.π.app i ⁻¹ᵁ U a)) |
| 25 | (hr : Open.TransitionCocycle.OpenTransitionCocycle (fun a => c.π.app i ⁻¹ᵁ U a) r) : |
| 26 | ∃ (k : Over i) (q : Open.TransitionCocycle.OpenTransitionCoefficients (fun a => D.map k.hom ⁻¹ᵁ U a)), |
| 27 | Open.TransitionCocycle.OpenTransitionCocycle (fun a => D.map k.hom ⁻¹ᵁ U a) q ∧ |
| 28 | CocycleMaps.openCoefficientsConePullback D c U k q = r := by |
| 29 | classical |
| 30 | obtain ⟨k, v, hv⟩ := OpenUnits.exists_finite_limit_open_units_stage D c hc |
| 31 | (fun ab : J × J => U ab.1 ⊓ U ab.2) (fun ab => h₂ ab.1 ab.2) |
| 32 | (fun ab => r ab.1 ab.2) |
| 33 | let q : Open.TransitionCocycle.OpenTransitionCoefficients (fun a => D.map k.hom ⁻¹ᵁ U a) := fun a b => v (a, b) |
| 34 | have hq : CocycleMaps.openCoefficientsConePullback D c U k q = r := by |
| 35 | funext a b |
| 36 | exact hv (a, b) |
| 37 | let W : J × J × J → (D.obj i).Opens := fun t => (U t.1 ⊓ U t.2.1) ⊓ U t.2.2 |
| 38 | let a : ∀ t, Γ((opensDiagram D i (W t)).obj k, ⊤)ˣ := fun t => |
| 39 | Open.TransitionCocycle.openTransitionOn (fun j => D.map k.hom ⁻¹ᵁ U j) q t.1 t.2.1 (D.map k.hom ⁻¹ᵁ W t) |
| 40 | ((D.map k.hom).preimage_mono (show W t ≤ U t.1 from inf_le_left.trans inf_le_left)) |
| 41 | ((D.map k.hom).preimage_mono (show W t ≤ U t.2.1 from inf_le_left.trans inf_le_right)) * |
| 42 | Open.TransitionCocycle.openTransitionOn (fun j => D.map k.hom ⁻¹ᵁ U j) q t.2.1 t.2.2 (D.map k.hom ⁻¹ᵁ W t) |
| 43 | ((D.map k.hom).preimage_mono (show W t ≤ U t.2.1 from inf_le_left.trans inf_le_right)) |
| 44 | ((D.map k.hom).preimage_mono (show W t ≤ U t.2.2 from inf_le_right)) |
| 45 | let b : ∀ t, Γ((opensDiagram D i (W t)).obj k, ⊤)ˣ := fun t => |
| 46 | Open.TransitionCocycle.openTransitionOn (fun j => D.map k.hom ⁻¹ᵁ U j) q t.1 t.2.2 (D.map k.hom ⁻¹ᵁ W t) |
| 47 | ((D.map k.hom).preimage_mono (show W t ≤ U t.1 from inf_le_left.trans inf_le_left)) |
| 48 | ((D.map k.hom).preimage_mono (show W t ≤ U t.2.2 from inf_le_right)) |
| 49 | have hab (t : J × J × J) : |
| 50 | Units.map ((opensCone D c i (W t)).π.app k).appTop.hom.toMonoidHom (a t) = |
| 51 | Units.map ((opensCone D c i (W t)).π.app k).appTop.hom.toMonoidHom (b t) := by |
| 52 | have hx := CocycleMaps.openTransitionOn_cone D c U k q t.1 t.2.1 (W t) |
| 53 | (inf_le_left.trans inf_le_left) (inf_le_left.trans inf_le_right) |
| 54 | have hy := CocycleMaps.openTransitionOn_cone D c U k q t.2.1 t.2.2 (W t) |
| 55 | (inf_le_left.trans inf_le_right) inf_le_right |
| 56 | have hz := CocycleMaps.openTransitionOn_cone D c U k q t.1 t.2.2 (W t) |
| 57 | (inf_le_left.trans inf_le_left) inf_le_right |
| 58 | have hqr : Open.TransitionCocycle.OpenTransitionCocycle (fun a => c.π.app i ⁻¹ᵁ U a) |
| 59 | (CocycleMaps.openCoefficientsConePullback D c U k q) := hq.symm ▸ hr |
| 60 | exact ((Units.map ((opensCone D c i (W t)).π.app k).appTop.hom.toMonoidHom).map_mul _ _).trans |
| 61 | ((congrArg₂ (fun x y : Γ((opensCone D c i (W t)).pt, ⊤)ˣ => x * y) hx hy).trans |
| 62 | ((hqr t.1 t.2.1 t.2.2).trans hz.symm)) |
| 63 | obtain ⟨l, f, hf⟩ := OpenUnitEquations.exists_finite_limit_open_unit_equations D c hc W |
| 64 | (fun t => h₃ t.1 t.2.1 t.2.2) k a b hab |
| 65 | refine ⟨l, CocycleMaps.openCoefficientsDiagramPullback D U f q, ?_, |
| 66 | (CocycleMaps.openCoefficientsConePullback_diagram D c U f q).trans hq⟩ |
| 67 | intro x y z |
| 68 | have h := hf (x, y, z) |
| 69 | have hx := CocycleMaps.openTransitionOn_diagram D U f q x y (W (x, y, z)) |
| 70 | (inf_le_left.trans inf_le_left) (inf_le_left.trans inf_le_right) |
| 71 | have hy := CocycleMaps.openTransitionOn_diagram D U f q y z (W (x, y, z)) |
| 72 | (inf_le_left.trans inf_le_right) inf_le_right |
| 73 | have hz := CocycleMaps.openTransitionOn_diagram D U f q x z (W (x, y, z)) |
| 74 | (inf_le_left.trans inf_le_left) inf_le_right |
| 75 | exact (congrArg₂ (fun u v : Γ((opensDiagram D i (W (x, y, z))).obj l, ⊤)ˣ => u * v) hx hy).symm.trans |
| 76 | (((Units.map ((opensDiagram D i (W (x, y, z))).map f).appTop.hom.toMonoidHom).map_mul _ _).symm.trans |
| 77 | (h.trans hz)) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InverseLimit.CocycleDescent |