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.KoszulPoint.BasisCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.ScalarPartialClass |
| 3 | |
| 4 | /-! # Fraction Quotient -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.FractionQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A supported mixed fraction depends only on its numerator modulo |
| 11 | the actual point ideal. This permits the exact selected-fiber trace |
| 12 | numerator to be replaced by any genuine lift. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 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 |
| 19 | variable (R : Type u) [CommRing R] {c m : ℕ} (s : Fin c → R) (t : Fin m → R) |
| 20 | |
| 21 | def functional (a : R) : Module.Dual R (⋀[R]^(c+m) (KoszulPartial.Fractions.ambient R (c := c) (m := m))) := |
| 22 | KoszulPoint.BasisCoordinates.functional R s t |
| 23 | ((OrientedTopCohomology.evaluation R (Fin.append s t)).symm a) |
| 24 | |
| 25 | theorem functional_eq (a : R) : functional R s t a = |
| 26 | a • KoszulPartial.TopResidue.functional R := by |
| 27 | have h := ScalarPartialClass.functional R (functional R s t a) |
| 28 | have he : functional R s t a |
| 29 | (TopExteriorCoordinates.generator (KoszulPartial.TopResidue.basis R)) = a := |
| 30 | (KoszulPoint.BasisCoordinates.evaluation R s t _).trans |
| 31 | ((OrientedTopCohomology.evaluation R (Fin.append s t)).apply_symm_apply a) |
| 32 | exact h.trans (congrArg (fun z => z • KoszulPartial.TopResidue.functional R) he) |
| 33 | |
| 34 | theorem sourceClass_eq (a b : R) |
| 35 | (h : Ideal.Quotient.mk (OrientedTopCohomology.ideal R (Fin.append s t)) a = |
| 36 | Ideal.Quotient.mk (OrientedTopCohomology.ideal R (Fin.append s t)) b) : |
| 37 | KoszulPartial.PartialClass.sourceClass R s t (functional R s t a) = |
| 38 | KoszulPartial.PartialClass.sourceClass R s t (functional R s t b) := by |
| 39 | let f := DualComplexHomology.map R (DuplicateFraction.pointIso R s t).hom |
| 40 | have : IsIso f := by |
| 41 | dsimp only [f, DualComplexHomology.map] |
| 42 | infer_instance |
| 43 | apply (ConcreteCategory.bijective_of_isIso (homologyMap f (c+m))).injective |
| 44 | change homologyMap (DualComplexHomology.map R (DuplicateFraction.pointIso R s t).hom) |
| 45 | (c+m) _ = homologyMap (DualComplexHomology.map R |
| 46 | (DuplicateFraction.pointIso R s t).hom) (c+m) _ |
| 47 | dsimp only [functional] |
| 48 | rw [KoszulPoint.BasisCoordinates.class_coordinates, |
| 49 | KoszulPoint.BasisCoordinates.class_coordinates] |
| 50 | apply (ConcreteCategory.bijective_of_isIso |
| 51 | (OrientedTopCohomology.iso R (Fin.append s t)).hom).injective |
| 52 | have hcycle (x : R) := ConcreteCategory.congr_hom |
| 53 | (OrientedTopCohomology.cycleClass_iso R (Fin.append s t)) |
| 54 | ((OrientedTopCohomology.evaluation R (Fin.append s t)).symm x) |
| 55 | have hx (x : R) : (OrientedTopCohomology.iso R (Fin.append s t)).hom |
| 56 | (TopHomologyCokernel.cycleClass _ (c+m) |
| 57 | (OrientedTopCohomology.outgoing_isZero R (Fin.append s t)) |
| 58 | ((OrientedTopCohomology.evaluation R (Fin.append s t)).symm x)) = |
| 59 | Ideal.Quotient.mk (OrientedTopCohomology.ideal R (Fin.append s t)) x := |
| 60 | (hcycle x).trans (congrArg (Ideal.Quotient.mk _) |
| 61 | ((OrientedTopCohomology.evaluation R (Fin.append s t)).apply_symm_apply x)) |
| 62 | exact (hx a).trans (h.trans (hx b).symm) |
| 63 | |
| 64 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 65 | (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) (U : ULift.{u} (Fin m) → C) |
| 66 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 67 | |
| 68 | theorem weighted_eq (a b : R) |
| 69 | (h : Ideal.Quotient.mk (OrientedTopCohomology.ideal R (Fin.append s t)) a = |
| 70 | Ideal.Quotient.mk (OrientedTopCohomology.ideal R (Fin.append s t)) b) : |
| 71 | a • KoszulPartial.PartialClass.supportedClass R P U s t ht (KoszulPartial.TopResidue.functional R) = |
| 72 | b • KoszulPartial.PartialClass.supportedClass R P U s t ht (KoszulPartial.TopResidue.functional R) := by |
| 73 | rw [← ScalarPartialClass.supportedClass_smul, |
| 74 | ← ScalarPartialClass.supportedClass_smul, |
| 75 | ← functional_eq R s t a, ← functional_eq R s t b] |
| 76 | rw [KoszulPartial.PartialClass.supportedClass_eq, KoszulPartial.PartialClass.supportedClass_eq, |
| 77 | sourceClass_eq R s t a b h] |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.FractionQuotient |