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.OpenCoefficient |
| 2 | |
| 3 | /-! # Open Coordinate Identity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # LineBundleCycles: the actual coordinate identity for a line bundle restricted along an open immersion -/ |
| 10 | |
| 11 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 12 | |
| 13 | variable {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 14 | (i : Y ⟶ X) [IsOpenImmersion i] |
| 15 | |
| 16 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.open_coordinate_identity (x : Y) : |
| 17 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm (L.openLocalDomain i x) (L.openLocalUnit i x) * |
| 18 | (L.restrictToOpen i).rationalSectionCoordinate x = |
| 19 | Open.FunctionFieldUnits.BundleCycles.openFunctionFieldUnits i (L.rationalSectionCoordinate (i x)) * L.openRationalCoefficient i := by |
| 20 | let W := L.openLocalDomain i x ⊓ L.openReferenceDomain i |
| 21 | have : Nonempty W := by |
| 22 | refine ⟨⟨genericPoint Y, ?_, ?_⟩⟩ |
| 23 | · exact ((genericPoint_spec Y).mem_open_set_iff (L.openLocalDomain i x).isOpen).mpr |
| 24 | ⟨x, Set.mem_univ x, L.mem_openLocalDomain i x⟩ |
| 25 | · exact ((genericPoint_spec Y).mem_open_set_iff (L.openReferenceDomain i).isOpen).mpr |
| 26 | (by simpa using (show Nonempty (L.openReferenceDomain i) from inferInstance)) |
| 27 | have hW : i ''ᵁ W ≤ L.rationalCoordinateDomain (i x) := by |
| 28 | rintro _ ⟨y, hy, rfl⟩ |
| 29 | exact ⟨hy.1.1, hy.2.1⟩ |
| 30 | have hM : W ≤ (L.restrictToOpen i).rationalCoordinateDomain x := |
| 31 | fun _ hy => ⟨hy.1.2, hy.2.2⟩ |
| 32 | rw [L.openLocalUnit_on_open i x W inf_le_left, |
| 33 | (L.restrictToOpen i).rationalSectionCoordinate_on_open x W hM, |
| 34 | L.rationalSectionCoordinate_open_on_open i (i x) W hW, |
| 35 | L.openRationalCoefficient_on_open i W inf_le_right] |
| 36 | change FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W _ * FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W _ = |
| 37 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W _ * FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W _ |
| 38 | rw [← map_mul, ← map_mul] |
| 39 | exact congrArg (FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W) |
| 40 | (L.openMixedTransitionOn_square i (i x) (genericPoint X) x (genericPoint Y) W |
| 41 | (hW.trans inf_le_left) (hW.trans inf_le_right) (hM.trans inf_le_left) (hM.trans inf_le_right)) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.Divisors.LineBundles |