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.Divisors.LineBundles.LineBundle.IsoFrames |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.CoordinateRestriction |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.FunctionFieldUnitGerm |
| 4 | |
| 5 | /-! # Iso Coefficient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.IsoCoefficient.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! # LineBundleCycles: the genuine rational coefficient relating reference sections through a sheaf isomorphism -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | variable {X : Scheme.{0}} [IsIntegral X] {L M : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X} (e : L.sheaf ≅ M.sheaf) |
| 18 | |
| 19 | def lineBundleIsoReferenceOpen (L M : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) : X.Opens := |
| 20 | L.rationalReferenceOpen ⊓ M.rationalReferenceOpen |
| 21 | |
| 22 | instance lineBundleIsoReferenceOpen_nonempty : Nonempty (lineBundleIsoReferenceOpen L M) := |
| 23 | ⟨⟨genericPoint X, L.mem_trivializingOpen _, M.mem_trivializingOpen _⟩⟩ |
| 24 | |
| 25 | def lineBundleIsoRationalCoefficient : X.functionFieldˣ := |
| 26 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm (lineBundleIsoReferenceOpen L M) |
| 27 | (IsoFrames.Cycles.lineBundleIsoTransition e (genericPoint X) (genericPoint X) _ inf_le_left inf_le_right) |
| 28 | |
| 29 | theorem lineBundleIsoRationalCoefficient_on_open (W : X.Opens) [Nonempty W] |
| 30 | (hW : W ≤ lineBundleIsoReferenceOpen L M) : |
| 31 | lineBundleIsoRationalCoefficient e = FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W |
| 32 | (IsoFrames.Cycles.lineBundleIsoTransition e (genericPoint X) (genericPoint X) W |
| 33 | (hW.trans inf_le_left) (hW.trans inf_le_right)) := by |
| 34 | rw [← IsoFrames.Cycles.lineBundleIsoTransition_restrict e (genericPoint X) (genericPoint X) hW inf_le_left inf_le_right] |
| 35 | exact (FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm_restrict hW _).symm |
| 36 | |
| 37 | def lineBundleIsoLocalOpen (L M : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (x : X) : X.Opens := |
| 38 | L.trivializingOpen x ⊓ M.trivializingOpen x |
| 39 | |
| 40 | instance lineBundleIsoLocalOpen_nonempty (x : X) : Nonempty (lineBundleIsoLocalOpen L M x) := |
| 41 | ⟨⟨x, L.mem_trivializingOpen x, M.mem_trivializingOpen x⟩⟩ |
| 42 | |
| 43 | def lineBundleIsoLocalUnit (x : X) : Γ(X, lineBundleIsoLocalOpen L M x)ˣ := |
| 44 | IsoFrames.Cycles.lineBundleIsoTransition e x x _ inf_le_left inf_le_right |
| 45 | |
| 46 | theorem lineBundleIsoLocalUnit_on_open (x : X) (W : X.Opens) [Nonempty W] |
| 47 | (hW : W ≤ lineBundleIsoLocalOpen L M x) : |
| 48 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm (lineBundleIsoLocalOpen L M x) (lineBundleIsoLocalUnit e x) = |
| 49 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W (IsoFrames.Cycles.lineBundleIsoTransition e x x W |
| 50 | (hW.trans inf_le_left) (hW.trans inf_le_right)) := by |
| 51 | rw [← IsoFrames.Cycles.lineBundleIsoTransition_restrict e x x hW inf_le_left inf_le_right] |
| 52 | exact (FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm_restrict hW _).symm |
| 53 | |
| 54 | theorem lineBundleIsoLocalUnit_order [IsLocallyNoetherian X] (x : X) : |
| 55 | X.ord (FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm (lineBundleIsoLocalOpen L M x) (lineBundleIsoLocalUnit e x)).val x = 0 := |
| 56 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm_order _ _ x ⟨L.mem_trivializingOpen x, M.mem_trivializingOpen x⟩ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | /-! # LineBundleCycles: actual rational-section coordinates under a genuine line-bundle isomorphism -/ |
| 61 | |
| 62 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 63 | |
| 64 | theorem lineBundleIso_coordinate_identity {X : Scheme.{0}} [IsIntegral X] |
| 65 | {L M : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X} (e : L.sheaf ≅ M.sheaf) (x : X) : |
| 66 | M.rationalSectionCoordinate x * lineBundleIsoRationalCoefficient e = |
| 67 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm (lineBundleIsoLocalOpen L M x) (lineBundleIsoLocalUnit e x) * |
| 68 | L.rationalSectionCoordinate x := by |
| 69 | let W := lineBundleIsoLocalOpen L M x ⊓ lineBundleIsoReferenceOpen L M |
| 70 | have : Nonempty W := ⟨⟨genericPoint X, |
| 71 | ⟨L.genericPoint_mem_trivializingOpen x, M.genericPoint_mem_trivializingOpen x⟩, |
| 72 | ⟨L.mem_trivializingOpen _, M.mem_trivializingOpen _⟩⟩⟩ |
| 73 | have hL : W ≤ L.rationalCoordinateDomain x := |
| 74 | le_inf (inf_le_left.trans inf_le_left) (inf_le_right.trans inf_le_left) |
| 75 | have hM : W ≤ M.rationalCoordinateDomain x := |
| 76 | le_inf (inf_le_left.trans inf_le_right) (inf_le_right.trans inf_le_right) |
| 77 | rw [M.rationalSectionCoordinate_on_open x W hM, L.rationalSectionCoordinate_on_open x W hL, |
| 78 | lineBundleIsoRationalCoefficient_on_open e W inf_le_right, |
| 79 | lineBundleIsoLocalUnit_on_open e x W inf_le_left] |
| 80 | change FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W _ * FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W _ = |
| 81 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W _ * FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W _ |
| 82 | rw [← map_mul, ← map_mul] |
| 83 | exact congrArg (FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W) |
| 84 | (IsoFrames.Cycles.lineBundleIsoTransition_four e x (genericPoint X) x (genericPoint X) W |
| 85 | (inf_le_left.trans inf_le_left) (inf_le_right.trans inf_le_left) |
| 86 | (inf_le_left.trans inf_le_right) (inf_le_right.trans inf_le_right)) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.IsoCoefficient.Cycles |