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.TensorUnit |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections |
| 3 | import Mathlib.CategoryTheory.Endomorphism |
| 4 | |
| 5 | /-! # Unit End Pullback -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.UnitEndPullback.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pullback of endomorphisms of the structure sheaf is pullback of their scalar functions. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem structureSheafEnd_isIso_iff (X : Scheme.{u}) (q : End (LineBundle.Construction.structureSheafModule X)) : |
| 18 | IsIso q ↔ IsUnit (ModuleSections.Construction.structureSheafEndRingEquiv X q) := by |
| 19 | constructor |
| 20 | · intro hq |
| 21 | exact ((isUnit_iff_isIso q).mpr hq).map (ModuleSections.Construction.structureSheafEndRingEquiv X) |
| 22 | · intro hq |
| 23 | apply (isUnit_iff_isIso q).mp |
| 24 | simpa only [RingEquiv.symm_apply_apply] using hq.map (ModuleSections.Construction.structureSheafEndRingEquiv X).symm |
| 25 | |
| 26 | def pullbackUnitScalar {X Y : Scheme.{u}} (f : X ⟶ Y) (q : End (LineBundle.Construction.structureSheafModule Y)) : |
| 27 | End (LineBundle.Construction.structureSheafModule X) := |
| 28 | (ModuleSections.Construction.structureSheafEndRingEquiv X).symm (f.appTop (ModuleSections.Construction.structureSheafEndRingEquiv Y q)) |
| 29 | |
| 30 | theorem structureSheafToPushforward_end {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 31 | (q : End (LineBundle.Construction.structureSheafModule Y)) : |
| 32 | q ≫ TensorUnit.Construction.structureSheafToPushforward f = |
| 33 | TensorUnit.Construction.structureSheafToPushforward f ≫ (Scheme.Modules.pushforward f).map (pullbackUnitScalar f q) := by |
| 34 | apply (ModuleSections.Construction.structureSheafHomEquiv ((Scheme.Modules.pushforward f).obj (LineBundle.Construction.structureSheafModule X))).injective |
| 35 | change f.appTop (ModuleSections.Construction.structureSheafEndRingEquiv Y q) = |
| 36 | (pullbackUnitScalar f q).app ⊤ (f.appTop (1 : Γ(Y, ⊤))) |
| 37 | rw [map_one] |
| 38 | exact ((ModuleSections.Construction.structureSheafEndRingEquiv X).apply_symm_apply (f.appTop (ModuleSections.Construction.structureSheafEndRingEquiv Y q))).symm |
| 39 | |
| 40 | theorem pullbackUnitEnd_naturality {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 41 | (q : End (LineBundle.Construction.structureSheafModule Y)) : |
| 42 | (Scheme.Modules.pullback f).map q ≫ (LineBundle.Construction.pullbackStructureSheafIso f).hom = |
| 43 | (LineBundle.Construction.pullbackStructureSheafIso f).hom ≫ pullbackUnitScalar f q := by |
| 44 | let adj := Scheme.Modules.pullbackPushforwardAdjunction f |
| 45 | have he : adj.homEquiv (LineBundle.Construction.structureSheafModule Y) (LineBundle.Construction.structureSheafModule X) |
| 46 | (LineBundle.Construction.pullbackStructureSheafIso f).hom = TensorUnit.Construction.structureSheafToPushforward f := |
| 47 | (adj.homEquiv_unit _ _ _).trans (TensorUnit.Construction.pullbackStructureSheafIso_unit f) |
| 48 | apply (adj.homEquiv _ _).injective |
| 49 | rw [adj.homEquiv_naturality_left, adj.homEquiv_naturality_right, he] |
| 50 | exact structureSheafToPushforward_end f q |
| 51 | |
| 52 | theorem isIso_pullback_unitEnd_iff {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 53 | (q : End (LineBundle.Construction.structureSheafModule Y)) : |
| 54 | IsIso ((Scheme.Modules.pullback f).map q) ↔ |
| 55 | IsUnit (f.appTop (ModuleSections.Construction.structureSheafEndRingEquiv Y q)) := by |
| 56 | have hscalar : IsIso (pullbackUnitScalar f q) ↔ |
| 57 | IsUnit (f.appTop (ModuleSections.Construction.structureSheafEndRingEquiv Y q)) := by |
| 58 | rw [structureSheafEnd_isIso_iff, pullbackUnitScalar, RingEquiv.apply_symm_apply] |
| 59 | rw [← hscalar] |
| 60 | constructor |
| 61 | · intro hq |
| 62 | have hi : IsIso ((LineBundle.Construction.pullbackStructureSheafIso f).hom ≫ pullbackUnitScalar f q) := by |
| 63 | rw [← pullbackUnitEnd_naturality] |
| 64 | infer_instance |
| 65 | exact IsIso.of_isIso_comp_left (LineBundle.Construction.pullbackStructureSheafIso f).hom _ |
| 66 | · intro hq |
| 67 | have hi : IsIso ((Scheme.Modules.pullback f).map q ≫ (LineBundle.Construction.pullbackStructureSheafIso f).hom) := by |
| 68 | rw [pullbackUnitEnd_naturality] |
| 69 | infer_instance |
| 70 | exact IsIso.of_isIso_comp_right _ (LineBundle.Construction.pullbackStructureSheafIso f).hom |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.UnitEndPullback.Construction |