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.CycleClass.Thom.Section.Step |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup |
| 3 | |
| 4 | /-! # Admissible Lift -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.CycleClass.Thom.Section.AdmissibleLift.Constructions.StepClass |
| 11 | |
| 12 | /-! The canonical finite principal-divisor step commutes with the actual |
| 13 | supported cup by a regular section. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.Step.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.Step.Constructions.PrincipalCommonSupport OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions.Map OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions.Linearity |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) (B : V.carrier.Opens) [Nonempty B] |
| 26 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (U : Opens V.analyticSpace) |
| 27 | (hU : (U : Set V.analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B))) |
| 28 | {L : Type} (u : L → U) (hu : IsOpen (Set.range u)ᶜ) |
| 29 | |
| 30 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 31 | local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap) |
| 32 | |
| 33 | local notation "I" => OAI.AlgebraicGeometry.CycleClass.Thom.Section.Step.Constructions.AdmissibleSupport V p B s U u |
| 34 | local notation "j" => OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B |
| 35 | local notation "v" => OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions.baseSectionImage j U hU s |
| 36 | local notation "hv" => OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_openComplement (OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift j U hU) (OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage (OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B) s) |
| 37 | (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B) s) |
| 38 | local notation "S" => Set.range u ∩ Set.range v |
| 39 | |
| 40 | theorem sectionCup_eq_supportedStep (c : I →₀ ℚ) : |
| 41 | ImageIntersectionCup.Constructions.imageIntersectionCup u v hu hv p 1 |
| 42 | (Open.SupportedLift.Constructions.Map.relativeClassMap V U (Set.range u) p (Step.Constructions.parentSupportedCycleMap V p B s U u c)) (IntrinsicGraphSection.Constructions.IntrinsicClass.baseSectionClass j U hU s) = |
| 43 | Open.SupportedLift.Constructions.Map.relativeClassMap V U S (p + 1) (Step.Constructions.stepSupportedCycleMap V p B s U hU u c) := by |
| 44 | suffices h : ((ImageIntersectionCup.Constructions.Linearity.imageIntersectionCupLinear u v hu hv p 1).flip (IntrinsicGraphSection.Constructions.IntrinsicClass.baseSectionClass j U hU s)).comp |
| 45 | ((Open.SupportedLift.Constructions.Map.relativeClassMap V U (Set.range u) p).comp (Step.Constructions.parentSupportedCycleMap V p B s U u)) = |
| 46 | (Open.SupportedLift.Constructions.Map.relativeClassMap V U S (p + 1)).comp (Step.Constructions.stepSupportedCycleMap V p B s U hU u) from |
| 47 | LinearMap.congr_fun h c |
| 48 | apply Finsupp.lhom_ext |
| 49 | intro D r |
| 50 | change ImageIntersectionCup.Constructions.imageIntersectionCup u v hu hv p 1 |
| 51 | (Open.SupportedLift.Constructions.Map.relativeClassMap V U (Set.range u) p (Step.Constructions.parentSupportedCycleMap V p B s U u (Finsupp.single D r))) |
| 52 | (IntrinsicGraphSection.Constructions.IntrinsicClass.baseSectionClass j U hU s) = |
| 53 | Open.SupportedLift.Constructions.Map.relativeClassMap V U S (p + 1) (Step.Constructions.stepSupportedCycleMap V p B s U hU u (Finsupp.single D r)) |
| 54 | rw [Step.Constructions.parentSupportedCycleMap, Finsupp.lmapDomain_apply, Finsupp.mapDomain_single, |
| 55 | Open.SupportedLift.Constructions.Map.relativeClassMap_single, ImageIntersectionCup.Constructions.Linearity.imageIntersectionCup_smul_left, |
| 56 | Step.Constructions.stepSupportedCycleMap, Finsupp.linearCombination_single, map_smul] |
| 57 | apply congrArg (fun a => r • a) |
| 58 | let := D.sourceNonempty |
| 59 | exact Step.Constructions.PrincipalCommonSupport.supportedGenerator_sectionCup_eq_principalStep D.support.val B s D.sectionNonzero U hU u hu D.support.property |
| 60 | |
| 61 | theorem sectionCup_eq_stepCycle (c : I →₀ ℚ) : |
| 62 | ImageIntersectionCup.Constructions.imageIntersectionCup u v hu hv p 1 |
| 63 | (Open.SupportedLift.Constructions.Map.relativeClassMap V U (Set.range u) p (Step.Constructions.parentSupportedCycleMap V p B s U u c)) (IntrinsicGraphSection.Constructions.IntrinsicClass.baseSectionClass j U hU s) = |
| 64 | Open.SupportedLift.Constructions.Map.relativeClassMap V U S (p + 1) (Open.SupportedLift.Constructions.restrictCycle V U S (p + 1) (Step.Constructions.stepCycleMap V p B s U u c)) := by |
| 65 | exact (sectionCup_eq_supportedStep V p B s U hU u hu c).trans |
| 66 | (Open.SupportedLift.Constructions.relativeClassMap_eq_restrict_of_local_coefficients V U S (p + 1) |
| 67 | (Step.Constructions.stepSupportedCycleMap V p B s U hU u c) (Step.Constructions.stepCycleMap V p B s U u c) |
| 68 | (fun C _ => congrArg (fun e => e C) (Step.Constructions.forget_stepSupportedCycleMap V p B s U hU u c))) |
| 69 | |
| 70 | end AlgebraicGeometry.CycleClass.Thom.Section.AdmissibleLift.Constructions.StepClass |
| 71 | |
| 72 | namespace AlgebraicGeometry.CycleClass.Thom.Section.AdmissibleLift.Constructions |
| 73 | |
| 74 | /-! Every finite original cycle supported in the prescribed image and |
| 75 | nonzero under the actual section admits a canonical admissible lift. -/ |
| 76 | |
| 77 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 78 | |
| 79 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.Step.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.AdmissibleLift.Constructions.StepClass OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions.Map OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions |
| 80 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions |
| 81 | |
| 82 | set_option backward.isDefEq.respectTransparency false |
| 83 | set_option backward.isDefEq.respectTransparency.types false |
| 84 | |
| 85 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) (B : V.carrier.Opens) |
| 86 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (U : Opens V.analyticSpace) |
| 87 | {L : Type} (u : L → U) (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 88 | (hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → |
| 89 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ Set.range u) |
| 90 | (hne : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)) |
| 91 | (hs : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : c D ≠ 0), letI := hne D hD |
| 92 | Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0) |
| 93 | |
| 94 | def admissibleOfCoefficient (D : {D : Geometric.DimensionCycles.DimensionCycleSupport V p // c D ≠ 0}) : Step.Constructions.AdmissibleSupport V p B s U u where |
| 95 | support := ⟨D.val, hc D.val D.property⟩ |
| 96 | sourceNonempty := hne D.val D.property |
| 97 | sectionNonzero := hs D.val D.property |
| 98 | |
| 99 | def admissibleCycle : Step.Constructions.AdmissibleSupport V p B s U u →₀ ℚ := |
| 100 | Finsupp.mapDomain (admissibleOfCoefficient V p B s U u c hc hne hs) |
| 101 | (c.subtypeDomain (fun D => c D ≠ 0)) |
| 102 | |
| 103 | theorem forget_parent_admissibleCycle : |
| 104 | Open.SupportedLift.Constructions.Map.forgetCycle V U (Set.range u) p |
| 105 | (Step.Constructions.parentSupportedCycleMap V p B s U u (admissibleCycle V p B s U u c hc hne hs)) = c := by |
| 106 | change Finsupp.mapDomain Subtype.val (Finsupp.mapDomain (fun D : Step.Constructions.AdmissibleSupport V p B s U u => D.support) |
| 107 | (Finsupp.mapDomain (admissibleOfCoefficient V p B s U u c hc hne hs) |
| 108 | (c.subtypeDomain (fun D => c D ≠ 0)))) = c |
| 109 | rw [← Finsupp.mapDomain_comp, ← Finsupp.mapDomain_comp] |
| 110 | change Finsupp.mapDomain Subtype.val (c.subtypeDomain (fun D => c D ≠ 0)) = c |
| 111 | exact (Finsupp.embDomain_eq_mapDomain |
| 112 | (Function.Embedding.subtype (fun D : Geometric.DimensionCycles.DimensionCycleSupport V p => c D ≠ 0)) _).symm.trans |
| 113 | ((Finsupp.extendDomain_eq_embDomain_subtype _).symm.trans |
| 114 | (Finsupp.extendDomain_subtypeDomain c (fun D hD => Finsupp.mem_support_iff.mp hD))) |
| 115 | |
| 116 | theorem parentClass_eq_restrict : |
| 117 | Open.SupportedLift.Constructions.Map.relativeClassMap V U (Set.range u) p |
| 118 | (Step.Constructions.parentSupportedCycleMap V p B s U u (admissibleCycle V p B s U u c hc hne hs)) = |
| 119 | Open.SupportedLift.Constructions.Map.relativeClassMap V U (Set.range u) p (Open.SupportedLift.Constructions.restrictCycle V U (Set.range u) p c) := |
| 120 | Open.SupportedLift.Constructions.relativeClassMap_eq_restrict_of_local_coefficients V U (Set.range u) p _ c |
| 121 | (fun D _ => congrArg (fun e => e D) (forget_parent_admissibleCycle V p B s U u c hc hne hs)) |
| 122 | |
| 123 | end AlgebraicGeometry.CycleClass.Thom.Section.AdmissibleLift.Constructions |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI |