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.RepresentationTheory.Theta.Geometric.FramedUnitRestriction |
| 2 | |
| 3 | /-! # Framed Unit Gluing -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.FramedUnitGluing |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A compatible family of regular gauges gives a global isomorphism of |
| 10 | the actual algebraic line-bundle sheaves. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem exists_iso_of_framed_units {X : Scheme.{u}} (M N : X.Modules) |
| 17 | {ι : Type u} (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 18 | (e : ∀ i, M.over (U i) ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over (U i))) |
| 19 | (g : ∀ i, N.over (U i) ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over (U i))) |
| 20 | (r : ∀ i, Γ(X, U i)ˣ) |
| 21 | (a b : ∀ i k, Γ(X, U i ⊓ U k)) |
| 22 | (he : ∀ i k, |
| 23 | (AlgebraicGeometry.SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M (U i) (e i) |
| 24 | (Over.mk (homOfLE (show U i ⊓ U k ≤ U i from inf_le_left)))).hom = |
| 25 | (AlgebraicGeometry.SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M (U k) (e k) |
| 26 | (Over.mk (homOfLE (show U i ⊓ U k ≤ U k from inf_le_right)))).hom ≫ |
| 27 | AlgebraicGeometry.SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf (U i ⊓ U k) (a i k)) |
| 28 | (hg : ∀ i k, |
| 29 | (AlgebraicGeometry.SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf N (U i) (g i) |
| 30 | (Over.mk (homOfLE (show U i ⊓ U k ≤ U i from inf_le_left)))).hom = |
| 31 | (AlgebraicGeometry.SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf N (U k) (g k) |
| 32 | (Over.mk (homOfLE (show U i ⊓ U k ≤ U k from inf_le_right)))).hom ≫ |
| 33 | AlgebraicGeometry.SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf (U i ⊓ U k) (b i k)) |
| 34 | (hr : ∀ i k, |
| 35 | a i k * (PowerGaugeCover.restrictRegularUnit (show U i ⊓ U k ≤ U i from inf_le_left) (r i) : Γ(X, U i ⊓ U k)) = |
| 36 | (PowerGaugeCover.restrictRegularUnit (show U i ⊓ U k ≤ U k from inf_le_right) (r k) : Γ(X, U i ⊓ U k)) * b i k) : |
| 37 | ∃ f : M ≅ N, ∀ i, f.hom.over (U i) = (FramedUnitIsomorphisms.framedUnitIso M N (U i) (e i) (g i) (r i)).hom := by |
| 38 | apply LineBundleIsoGluing.exists_moduleIso_of_localIsos M N U hU (fun i => FramedUnitIsomorphisms.framedUnitIso M N (U i) (e i) (g i) (r i)) |
| 39 | intro i k |
| 40 | have hl := congrArg Iso.hom (FramedUnitRestriction.framedUnitIso_restrict M N |
| 41 | (show U i ⊓ U k ≤ U i from inf_le_left) (e i) (g i) (r i)) |
| 42 | have hk := congrArg Iso.hom (FramedUnitRestriction.framedUnitIso_restrict M N |
| 43 | (show U i ⊓ U k ≤ U k from inf_le_right) (e k) (g k) (r k)) |
| 44 | exact hl.trans ((FramedUnitIsomorphisms.framedUnitIso_eq_of_transitions M N (U i ⊓ U k) |
| 45 | _ _ _ _ (a i k) (b i k) _ _ (he i k) (hg i k) (hr i k)).trans hk.symm) |
| 46 | |
| 47 | theorem consecutivePowerGauge_identity {A : Type*} [CommGroup A] (n : ℕ) (f g r s : A) |
| 48 | (h : s * f ^ (n + 1) = r * g ^ n) : (g / f) ^ n * r = s * f := by |
| 49 | calc |
| 50 | (g / f) ^ n * r = (r * g ^ n) / f ^ n := by |
| 51 | rw [div_pow, div_mul_eq_mul_div, mul_comm (g ^ n) r] |
| 52 | _ = (s * f ^ (n + 1)) / f ^ n := by rw [h] |
| 53 | _ = s * f := by |
| 54 | rw [pow_succ] |
| 55 | calc |
| 56 | (s * (f ^ n * f)) / f ^ n = ((s * f) * f ^ n) / f ^ n := by ac_rfl |
| 57 | _ = s * f := mul_div_cancel_right _ _ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.RepresentationTheory.Theta.Geometric.FramedUnitGluing |