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.NumberTheory.PadicHodge.IntegralComparison.Koszul.DuplicateFraction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.DeterminantTransition |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.TopCycleClass |
| 4 | |
| 5 | /-! # Basis Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.BasisCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The standard point Koszul coordinates and the ordered normal/parameter |
| 12 | coordinates have precisely the same top coefficient. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components OAI.NumberTheory.PadicHodge.IntegralComparison.TopExteriorCoordinates |
| 19 | variable (R : Type u) [CommRing R] {c m : ℕ} (s : Fin c → R) (t : Fin m → R) |
| 20 | |
| 21 | theorem inverse_generator : |
| 22 | (Koszul.DuplicateFraction.pointIso R s t).inv.f (c+m) |
| 23 | (TopExteriorCoordinates.generator (KoszulPartial.TopResidue.basis R (c := c) (m := m))) = |
| 24 | TopExteriorCoordinates.generator (Pi.basisFun R (Fin (c+m))) := by |
| 25 | change exteriorPower.map (c+m) (KoszulPartial.TopResidue.basis R).equivFun.toLinearMap |
| 26 | (exteriorPower.ιMulti R (c+m) (KoszulPartial.TopResidue.basis R)) = _ |
| 27 | rw [exteriorPower.map_apply_ιMulti] |
| 28 | congr 1 |
| 29 | funext i j |
| 30 | simp only [Function.comp_apply, LinearEquiv.coe_coe, Module.Basis.equivFun_self, |
| 31 | Pi.basisFun_apply, Pi.single_apply, eq_comm] |
| 32 | |
| 33 | def functional (ψ : Module.Dual R (⋀[R]^(c+m) (Fin (c+m) → R))) : |
| 34 | Module.Dual R (⋀[R]^(c+m) (KoszulPartial.Fractions.ambient R (c := c) (m := m))) := |
| 35 | (DualComplexHomology.map R (Koszul.DuplicateFraction.pointIso R s t).inv).f (c+m) ψ |
| 36 | |
| 37 | theorem evaluation (ψ : Module.Dual R (⋀[R]^(c+m) (Fin (c+m) → R))) : |
| 38 | functional R s t ψ (TopExteriorCoordinates.generator (KoszulPartial.TopResidue.basis R)) = |
| 39 | Koszul.OrientedTopCohomology.evaluation R (Fin.append s t) ψ := by |
| 40 | change ψ ((Koszul.DuplicateFraction.pointIso R s t).inv.f (c+m) |
| 41 | (TopExteriorCoordinates.generator (KoszulPartial.TopResidue.basis R))) = _ |
| 42 | rw [inverse_generator] |
| 43 | rfl |
| 44 | |
| 45 | theorem outgoing_isZero : IsZero ((KoszulPartial.Components.source R s t).X ((ComplexShape.up ℕ).next (c+m))) := by |
| 46 | have hz := Exterior.PowerVanishing.subsingleton |
| 47 | (KoszulPartial.TopResidue.basis R (c := c) (m := m)) (Nat.lt_succ_self (c+m)) |
| 48 | let : Subsingleton ((KoszulPartial.Components.source R s t).X ((ComplexShape.up ℕ).next (c+m))) := by |
| 49 | rw [CochainComplex.next] |
| 50 | change Subsingleton (Module.Dual R (⋀[R]^(c+m+1) (KoszulPartial.Fractions.ambient R (c := c) (m := m)))) |
| 51 | let := hz |
| 52 | infer_instance |
| 53 | exact ModuleCat.isZero_of_subsingleton _ |
| 54 | |
| 55 | theorem class_coordinates (ψ : Module.Dual R (⋀[R]^(c+m) (Fin (c+m) → R))) : |
| 56 | homologyMap (DualComplexHomology.map R (Koszul.DuplicateFraction.pointIso R s t).hom) (c+m) |
| 57 | (KoszulPartial.PartialClass.sourceClass R s t (functional R s t ψ)) = |
| 58 | TopHomologyCokernel.cycleClass |
| 59 | (Koszul.OrientedTopCohomology.dualComplex R (Fin.append s t)) (c+m) |
| 60 | (Koszul.OrientedTopCohomology.outgoing_isZero R (Fin.append s t)) ψ := by |
| 61 | rw [KoszulPartial.PartialClass.sourceClass, |
| 62 | IntegralComparison.Module.TopCycleClass.apply (KoszulPartial.Components.source R s t) (c+m) (outgoing_isZero R s t)] |
| 63 | have h := ConcreteCategory.congr_hom |
| 64 | (Koszul.DeterminantTransition.cycleClass_naturality |
| 65 | (DualComplexHomology.map R (Koszul.DuplicateFraction.pointIso R s t).hom) (c+m) |
| 66 | (outgoing_isZero R s t) (Koszul.OrientedTopCohomology.outgoing_isZero R (Fin.append s t))) |
| 67 | (functional R s t ψ) |
| 68 | change _ = TopHomologyCokernel.cycleClass |
| 69 | (Koszul.OrientedTopCohomology.dualComplex R (Fin.append s t)) (c+m) |
| 70 | (Koszul.OrientedTopCohomology.outgoing_isZero R (Fin.append s t)) |
| 71 | ((DualComplexHomology.map R (Koszul.DuplicateFraction.pointIso R s t).hom).f (c+m) |
| 72 | (functional R s t ψ)) at h |
| 73 | refine h.trans ?_ |
| 74 | congr 1 |
| 75 | apply LinearMap.ext |
| 76 | intro x |
| 77 | change ψ ((Koszul.DuplicateFraction.pointIso R s t).inv.f (c+m) |
| 78 | ((Koszul.DuplicateFraction.pointIso R s t).hom.f (c+m) x)) = ψ x |
| 79 | exact congrArg ψ (ConcreteCategory.congr_hom |
| 80 | (HomologicalComplex.congr_hom (Koszul.DuplicateFraction.pointIso R s t).hom_inv_id (c+m)) x) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.BasisCoordinates |