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.FixedFiber.ConstantDerivations |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Family.FrameCoordinateUnits |
| 3 | |
| 4 | /-! # Line Log Cocycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.LineLogCocycle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Original line-frame units reduce in the actual fixed-fiber |
| 11 | tensor coordinates. Applying a constant native conormal direction to |
| 12 | their logarithms gives a restricted additive cocycle. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 16 | |
| 17 | attribute [local instance] Algebra.TensorProduct.rightAlgebra |
| 18 | |
| 19 | variable (R k : Type) [CommRing R] [CommRing k] [Algebra R k] |
| 20 | (X : Over (Spec (.of R))) {I : Type} (U : I → X.left.Opens) (D : HilbertConstruction.OpenFrame.Transitions.OpenFrameTransitions U) |
| 21 | |
| 22 | def fixedFiberFrameReducedUnit (V : X.left.affineOpens) (i j : I) (hi : V.1 ≤ U i) (hj : V.1 ≤ U j) : |
| 23 | (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V)ˣ := |
| 24 | Units.map (algebraMap (Family.AffineTangentLifts.familyAffineRing R X V) (k ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V)).toMonoidHom |
| 25 | (Family.FrameCoordinateUnits.familyFrameCoordinateUnit R X U D V i j hi hj) |
| 26 | |
| 27 | theorem fixedFiberFrameReducedUnit_restrict {V W : X.left.affineOpens} (h : V.1 ≤ W.1) |
| 28 | (i j : I) (hi : W.1 ≤ U i) (hj : W.1 ≤ U j) : |
| 29 | Units.map (DerivationPresheaf.fixedFiberTensorRestriction R k X h).toMonoidHom (fixedFiberFrameReducedUnit R k X U D W i j hi hj) = |
| 30 | fixedFiberFrameReducedUnit R k X U D V i j (h.trans hi) (h.trans hj) := by |
| 31 | apply Units.ext |
| 32 | have he := congrArg Units.val (Family.FrameCoordinateUnits.familyFrameCoordinateUnit_restrict R X U D h i j hi hj) |
| 33 | exact congrArg (fun a : Family.AffineTangentLifts.familyAffineRing R X V => (1 : k) ⊗ₜ[R] a) he |
| 34 | |
| 35 | theorem fixedFiberFrameReducedUnit_cocycle (V : X.left.affineOpens) (i j l : I) |
| 36 | (hi : V.1 ≤ U i) (hj : V.1 ≤ U j) (hl : V.1 ≤ U l) : |
| 37 | fixedFiberFrameReducedUnit R k X U D V i j hi hj * fixedFiberFrameReducedUnit R k X U D V j l hj hl = |
| 38 | fixedFiberFrameReducedUnit R k X U D V i l hi hl := by |
| 39 | unfold fixedFiberFrameReducedUnit |
| 40 | rw [← map_mul, Family.FrameCoordinateUnits.familyFrameCoordinateUnit_cocycle] |
| 41 | |
| 42 | omit k [CommRing k] [Algebra R k] |
| 43 | |
| 44 | variable [Algebra R ℂ] [IsIntegral (TangentBasePoint.fixedFamilyFiber ℂ R X).left] |
| 45 | [Smooth (TangentBasePoint.fixedFamilyFiber ℂ R X).hom] [GrpObj (TangentBasePoint.fixedFamilyFiber ℂ R X)] |
| 46 | (l : Constructed.IdentityConormal.constructedIdentityConormal ℂ (TangentBasePoint.fixedFamilyFiber ℂ R X) →ₗ[ℂ] ℂ) |
| 47 | |
| 48 | def fixedFiberLineLogCoefficient (V : X.left.affineOpens) (i j : I) |
| 49 | (hi : V.1 ≤ U i) (hj : V.1 ≤ U j) : ℂ ⊗[R] Family.AffineTangentLifts.familyAffineRing R X V := |
| 50 | CoefficientUnitLogarithms.coefficientUnitLog (ConstantDerivations.fixedFiberConstantConormalDerivation R X V l) |
| 51 | (fixedFiberFrameReducedUnit R ℂ X U D V i j hi hj) |
| 52 | |
| 53 | theorem fixedFiberLineLogCoefficient_restrict {V W : X.left.affineOpens} (h : V.1 ≤ W.1) |
| 54 | (i j : I) (hi : W.1 ≤ U i) (hj : W.1 ≤ U j) : |
| 55 | fixedFiberLineLogCoefficient R X U D l V i j (h.trans hi) (h.trans hj) = |
| 56 | DerivationPresheaf.fixedFiberTensorRestriction R ℂ X h (fixedFiberLineLogCoefficient R X U D l W i j hi hj) := by |
| 57 | unfold fixedFiberLineLogCoefficient |
| 58 | rw [← fixedFiberFrameReducedUnit_restrict R ℂ X U D h i j hi hj] |
| 59 | exact ConstantDerivations.fixedFiberConstantConormalUnitLog_restrict R X h l _ |
| 60 | |
| 61 | theorem fixedFiberLineLogCoefficient_cocycle (V : X.left.affineOpens) (i j m : I) |
| 62 | (hi : V.1 ≤ U i) (hj : V.1 ≤ U j) (hm : V.1 ≤ U m) : |
| 63 | fixedFiberLineLogCoefficient R X U D l V i j hi hj + fixedFiberLineLogCoefficient R X U D l V j m hj hm = |
| 64 | fixedFiberLineLogCoefficient R X U D l V i m hi hm := by |
| 65 | unfold fixedFiberLineLogCoefficient |
| 66 | rw [← CoefficientUnitLogarithms.coefficientUnitLog_mul, fixedFiberFrameReducedUnit_cocycle] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FixedFiber.LineLogCocycle |