diff --git a/Heights/Absolute/Extension.lean b/Heights/Absolute/Extension.lean index 6450f16..a242f46 100644 --- a/Heights/Absolute/Extension.lean +++ b/Heights/Absolute/Extension.lean @@ -121,11 +121,7 @@ attribute [local instance] FractionRing.liftAlgebra in /-- The absolute norm of an extended ideal is the `[K : k]`-th power of the absolute norm. -/ lemma absNorm_map_algebraMap (I : Ideal (๐“ž k)) : Ideal.absNorm (I.map (algebraMap (๐“ž k) (๐“ž K))) = Ideal.absNorm I ^ finrank k K := by - rw [Ideal.absNorm_algebraMap, Algebra.finrank_eq_of_equiv_equiv - (FractionRing.algEquiv (๐“ž k) k).toRingEquiv (FractionRing.algEquiv (๐“ž K) K).toRingEquiv] - ext - exact IsFractionRing.algEquiv_commutes (FractionRing.algEquiv (๐“ž k) k) - (FractionRing.algEquiv (๐“ž K) K) _ + rw [Ideal.absNorm_algebraMap, โ† IsFractionRing.finrank_eq (๐“ž k) k (๐“ž K) K] lemma finPart_algebraMap_of_integral {ฮน : Type*} [Finite ฮน] (z : ฮน โ†’ ๐“ž k) (hz : z โ‰  0) : finPart (fun i => algebraMap k K (z i)) = finPart (fun i => (z i : k)) ^ finrank k K := by diff --git a/Heights/Curve/Integrality.lean b/Heights/Curve/Integrality.lean index f221058..cc3e3a8 100644 --- a/Heights/Curve/Integrality.lean +++ b/Heights/Curve/Integrality.lean @@ -153,7 +153,7 @@ theorem apply_evalโ‚‚_le_nonarch (hw : โˆ€ a b, w (a + b) โ‰ค max (w a) (w b)) { (zero_le_one.trans (one_le_coeffBound w Q)) fun m hm => ?_ rw [map_mul, map_prod] have hprod : โˆ i โˆˆ m.support, w (a i ^ m i) โ‰ค 1 := by - refine Finset.prod_le_one (fun _ _ => w.nonneg _) fun i _ => ?_ + refine Finset.prod_le_oneโ‚€ (fun _ _ => w.nonneg _) fun i _ => ?_ rw [map_pow] exact pow_le_oneโ‚€ (w.nonneg _) (ha i) calc w (Rat.castHom F (Q.coeff m)) * โˆ i โˆˆ m.support, w (a i ^ m i) @@ -176,7 +176,7 @@ theorem apply_evalโ‚‚_le {a : ฮบ โ†’ F} (ha : โˆ€ l, w (a l) โ‰ค 1) (Q : MvPolyn refine Finset.sum_le_sum fun m hm => ?_ rw [map_mul, map_prod] have hprod : โˆ i โˆˆ m.support, w (a i ^ m i) โ‰ค 1 := by - refine Finset.prod_le_one (fun _ _ => w.nonneg _) fun i _ => ?_ + refine Finset.prod_le_oneโ‚€ (fun _ _ => w.nonneg _) fun i _ => ?_ rw [map_pow] exact pow_le_oneโ‚€ (w.nonneg _) (ha i) calc w (Rat.castHom F (Q.coeff m)) * โˆ i โˆˆ m.support, w (a i ^ m i) diff --git a/Heights/Different/NumberField.lean b/Heights/Different/NumberField.lean index 2136679..aae4cb0 100644 --- a/Heights/Different/NumberField.lean +++ b/Heights/Different/NumberField.lean @@ -94,7 +94,7 @@ lemma multiplicity_le_of_not_pow_dvd {P I : Ideal R} [P.IsPrime] (hP : P โ‰  โŠฅ omit [IsDedekindDomain R] in lemma multiplicity_eq_zero_of_not_dvd {P I : Ideal R} (h : ยฌ P โˆฃ I) : multiplicity P I = 0 := - multiplicity_eq_zero.mpr h + _root_.multiplicity_eq_zero_of_not_dvd h end Multiplicity diff --git a/Heights/Different/SerreBound.lean b/Heights/Different/SerreBound.lean index 703d793..3c31aa0 100644 --- a/Heights/Different/SerreBound.lean +++ b/Heights/Different/SerreBound.lean @@ -117,7 +117,7 @@ theorem exists_mem_pow_intTrace_notMem (h๐”ญ : ๐”ญ โ‰  โŠฅ) (e ฮบ : โ„•) (J : refine Ideal.IsMaximal.eq_of_le inferInstance (Ideal.IsPrime.ne_top inferInstance) ?_ change maximalIdeal Rโ‚š โ‰ค ๐”“โ‚š.comap (algebraMap Rโ‚š Sโ‚š) rw [โ† Ideal.map_le_iff_le_comap, hpSโ‚š] - exact Ideal.mul_le_right.trans (Ideal.pow_le_self he) + exact Ideal.mul_le_left.trans (Ideal.pow_le_self he) haveI : Finite (Rโ‚š โงธ maximalIdeal Rโ‚š) := Finite.of_equiv _ (IsLocalization.AtPrime.equivQuotMaximalIdeal ๐”ญ Rโ‚š).toEquiv -- the contraction of `๐”ช^n` to `A` is `๐”ญ^n` @@ -187,7 +187,7 @@ theorem exists_mem_pow_intTrace_notMem (h๐”ญ : ๐”ญ โ‰  โŠฅ) (e ฮบ : โ„•) (J : ((Ideal.isCoprime_iff_sup_eq.mpr hJโ‚š').pow_left).pow_right letI : Algebra (Rโ‚š โงธ maximalIdeal Rโ‚š ^ (ฮบ + 1)) (Sโ‚š โงธ Jโ‚š ^ (ฮบ + 1)) := Ideal.Quotient.algebraQuotientOfLEComap - (by rw [โ† Ideal.map_le_iff_le_comap, hprod]; exact Ideal.mul_le_left) + (by rw [โ† Ideal.map_le_iff_le_comap, hprod]; exact Ideal.mul_le_right) haveI : IsScalarTower Rโ‚š (Rโ‚š โงธ maximalIdeal Rโ‚š ^ (ฮบ + 1)) (Sโ‚š โงธ Jโ‚š ^ (ฮบ + 1)) := IsScalarTower.of_algebraMap_eq' rfl haveI : IsScalarTower Rโ‚š (Rโ‚š โงธ maximalIdeal Rโ‚š ^ (ฮบ + 1)) diff --git a/Heights/Different/SerreCore.lean b/Heights/Different/SerreCore.lean index f6972ba..9679716 100644 --- a/Heights/Different/SerreCore.lean +++ b/Heights/Different/SerreCore.lean @@ -38,7 +38,7 @@ variable (e ฮบ : โ„•) (J : Ideal B) lemma pow_le_comap (hpB : ๐”ญ.map (algebraMap A B) = ๐”“ ^ e * J) : ๐”ญ ^ (ฮบ + 1) โ‰ค (๐”“ ^ (e * (ฮบ + 1))).comap (algebraMap A B) := by rw [โ† Ideal.map_le_iff_le_comap, Ideal.map_pow, hpB, mul_pow, โ† pow_mul] - exact Ideal.mul_le_right + exact Ideal.mul_le_left /-- The `A/๐”ญ^{ฮบ+1}`-algebra structure of `B/๐”“^{e(ฮบ+1)}`. -/ noncomputable def quotAlgebra (hpB : ๐”ญ.map (algebraMap A B) = ๐”“ ^ e * J) : diff --git a/Heights/IdealFactorization.lean b/Heights/IdealFactorization.lean index dcfa41a..0b9c902 100644 --- a/Heights/IdealFactorization.lean +++ b/Heights/IdealFactorization.lean @@ -105,7 +105,7 @@ theorem ReducedPrincipalIdealData.denominator_eq have hcount := (r.count_spanSingleton hx v).symm.trans (s.count_spanSingleton hx v) have htop : multiplicity v.asIdeal (โŠค : Ideal (๐“ž K)) = 0 := - multiplicity_eq_zero.mpr (by + _root_.multiplicity_eq_zero_of_not_dvd (by simpa only [โ† Ideal.one_eq_top] using v.prime.not_dvd_one) have hr := v.multiplicity_sup (r.numerator_ne_bot hx) r.denominator_ne_bot have hs := v.multiplicity_sup (s.numerator_ne_bot hx) s.denominator_ne_bot @@ -203,7 +203,7 @@ lemma ReducedPrincipalIdealData.finitePlace_posLog_eq (neg_nonpos.mpr (Int.natCast_nonneg _)) have hA := r.numerator_ne_bot hx have htop : multiplicity v.asIdeal (โŠค : Ideal (๐“ž K)) = 0 := - multiplicity_eq_zero.mpr (by + _root_.multiplicity_eq_zero_of_not_dvd (by simpa only [โ† Ideal.one_eq_top] using v.prime.not_dvd_one) have hsup := v.multiplicity_sup hA r.denominator_ne_bot rw [(Ideal.isCoprime_iff_sup_eq).mp r.coprime, htop] at hsup @@ -319,7 +319,7 @@ lemma denominator_multiplicity_le_minimal ยท have hD := (r.zero_normalization hj0).2 rw [hD] have htop : multiplicity v.asIdeal (โŠค : Ideal (๐“ž K)) = 0 := - multiplicity_eq_zero.mpr (by + _root_.multiplicity_eq_zero_of_not_dvd (by simpa only [โ† Ideal.one_eq_top] using v.prime.not_dvd_one) rw [htop] exact Nat.zero_le _ @@ -327,7 +327,7 @@ lemma denominator_multiplicity_le_minimal by_cases hD0 : multiplicity v.asIdeal r.denominator = 0 ยท omega have htop : multiplicity v.asIdeal (โŠค : Ideal (๐“ž K)) = 0 := - multiplicity_eq_zero.mpr (by + _root_.multiplicity_eq_zero_of_not_dvd (by simpa only [โ† Ideal.one_eq_top] using v.prime.not_dvd_one) have hsup := v.multiplicity_sup hA r.denominator_ne_bot rw [(Ideal.isCoprime_iff_sup_eq).mp r.coprime, htop] at hsup diff --git a/Heights/LatticePointMapTopology.lean b/Heights/LatticePointMapTopology.lean index 02e6b4e..6362309 100644 --- a/Heights/LatticePointMapTopology.lean +++ b/Heights/LatticePointMapTopology.lean @@ -107,7 +107,7 @@ theorem continuousAt_latticeCurvePointMap_of_mem (ฯ„ : โ„) (z : โ„‚) by_cases hz : z โˆˆ (periodPairOfUpperHalfPlane ฯ„).lattice ยท exact continuousAt_latticeCurvePointMap_of_mem ฯ„ z hz ยท have hrestrict : Continuous - ({z : โ„‚ | z โˆ‰ (periodPairOfUpperHalfPlane ฯ„).lattice}.restrict + ({z : โ„‚ | z โˆ‰ (periodPairOfUpperHalfPlane ฯ„).lattice}.domRestrict (latticeCurvePointMap ฯ„)) := by change Continuous (fun w : LatticeComplement ฯ„ โ†ฆ latticeCurvePointMap ฯ„ w) apply (continuous_latticeAffineCurvePointMap ฯ„).congr @@ -116,7 +116,7 @@ theorem continuousAt_latticeCurvePointMap_of_mem (ฯ„ : โ„) (z : โ„‚) exact (latticeAffineCurvePointMap_eq ฯ„ w).symm have hon : ContinuousOn (latticeCurvePointMap ฯ„) ((periodPairOfUpperHalfPlane ฯ„).lattice : Set โ„‚)แถœ := - continuousOn_iff_continuous_restrict.mpr hrestrict + continuousOn_iff_continuous_domRestrict.mpr hrestrict exact hon.continuousAt ((periodPairOfUpperHalfPlane ฯ„).isClosed_lattice.isOpen_compl.mem_nhds hz) diff --git a/Heights/ModularJ.lean b/Heights/ModularJ.lean index b589e96..7b7ef38 100644 --- a/Heights/ModularJ.lean +++ b/Heights/ModularJ.lean @@ -34,12 +34,12 @@ group. This is the reduction needed to move a preimage into the standard fundamental domain. -/ theorem modularJ_smul (ฮณ : SL(2, โ„ค)) (ฯ„ : โ„) : modularJ (ฮณ โ€ข ฯ„) = modularJ ฯ„ := by have hE : ModularForm.Eโ‚„ (ฮณ โ€ข ฯ„) = denom ฮณ ฯ„ ^ (4 : โ„ค) * ModularForm.Eโ‚„ ฯ„ := by - letI : SlashInvariantFormClass (ModularForm ๐’ฎโ„’ 4) ฮ“(1) 4 := + let : SlashInvariantFormClass (ModularForm ๐’ฎโ„’ 4) ฮ“(1) 4 := Gamma_one_coe_eq_SL โ–ธ inferInstance exact SlashInvariantForm.slash_action_eqn_SL'' ModularForm.Eโ‚„ (mem_Gamma_one ฮณ) ฯ„ have hD : ModularForm.discriminant (ฮณ โ€ข ฯ„) = denom ฮณ ฯ„ ^ (12 : โ„ค) * ModularForm.discriminant ฯ„ := by - letI : SlashInvariantFormClass (CuspForm ๐’ฎโ„’ 12) ฮ“(1) 12 := + let : SlashInvariantFormClass (CuspForm ๐’ฎโ„’ 12) ฮ“(1) 12 := Gamma_one_coe_eq_SL โ–ธ inferInstance exact SlashInvariantForm.slash_action_eqn_SL'' CuspForm.discriminant (mem_Gamma_one ฮณ) ฯ„ rw [modularJ, modularJ, hE, hD] diff --git a/Heights/PeriodPairScaling.lean b/Heights/PeriodPairScaling.lean index 108bb60..41ec783 100644 --- a/Heights/PeriodPairScaling.lean +++ b/Heights/PeriodPairScaling.lean @@ -167,9 +167,7 @@ private theorem eventually_hasDerivAt_reciprocalX (L : PeriodPair) : rw [โ† hval] exact hi have hrhs : AnalyticAt โ„‚ (fun z โ†ฆ 2 * reciprocalY L z) 0 := by - convert (analyticAt_reciprocalY L).const_smul (c := (2 : โ„‚)) using 1 - ext z - simp [Pi.smul_apply, smul_eq_mul] + exact (analyticAt_reciprocalY L).const_smul (c := (2 : โ„‚)) have hderiv : deriv (reciprocalX L) =แถ [๐“ 0] (fun z โ†ฆ 2 * reciprocalY L z) := ((analyticAt_reciprocalX L).deriv.frequently_eq_iff_eventually_eq hrhs).mp diff --git a/Heights/VariableChangeAnalytic.lean b/Heights/VariableChangeAnalytic.lean index 67518e3..b86819f 100644 --- a/Heights/VariableChangeAnalytic.lean +++ b/Heights/VariableChangeAnalytic.lean @@ -50,8 +50,8 @@ noncomputable def variableChangeAffineAmbientBiholomorph fun_prop).contMDiff contMDiff_invFun := (show ContDiff โ„‚ ฯ‰ (variableChangeAffineAmbientEquiv C).symm by - dsimp [variableChangeAffineAmbientEquiv, - WeierstrassCurve.VariableChange.inverseX, + change ContDiff โ„‚ ฯ‰ (fun xy : โ„‚ ร— โ„‚ => (C.inverseX xy.1, C.inverseY xy.1 xy.2)) + dsimp [WeierstrassCurve.VariableChange.inverseX, WeierstrassCurve.VariableChange.inverseY] fun_prop).contMDiff diff --git a/Heights/WeierstrassFiniteAnalytic.lean b/Heights/WeierstrassFiniteAnalytic.lean index 8833daf..258616d 100644 --- a/Heights/WeierstrassFiniteAnalytic.lean +++ b/Heights/WeierstrassFiniteAnalytic.lean @@ -461,7 +461,7 @@ def complexWeierstrassImplicitYChart have hright := e.right_inv x.2 exact congrArg Prod.fst hright)โŸฉ have hg : Continuous g := Continuous.subtype_mk hamb _ - have heq : {x : โ„‚ | (0, x) โˆˆ e.target}.restrict inv = g := by + have heq : {x : โ„‚ | (0, x) โˆˆ e.target}.domRestrict inv = g := by funext x apply Subtype.ext exact complexWeierstrassImplicitYChartInv_coe_of_mem @@ -699,7 +699,7 @@ def complexWeierstrassImplicitXChart have hright := e.right_inv y.2 exact congrArg Prod.fst hright)โŸฉ have hg : Continuous g := Continuous.subtype_mk hswap _ - have heq : {y : โ„‚ | (0, y) โˆˆ e.target}.restrict inv = g := by + have heq : {y : โ„‚ | (0, y) โˆˆ e.target}.domRestrict inv = g := by funext y apply Subtype.ext exact complexWeierstrassImplicitXChartInv_coe_of_mem diff --git a/Heights/WeierstrassInfinityAnalytic.lean b/Heights/WeierstrassInfinityAnalytic.lean index 3cf5a37..3fdc1c4 100644 --- a/Heights/WeierstrassInfinityAnalytic.lean +++ b/Heights/WeierstrassInfinityAnalytic.lean @@ -312,7 +312,7 @@ def complexWeierstrassInfinityBranchChart (W : WeierstrassCurve โ„‚) : โŸจe.symm (inc u), by exact congrArg Prod.fst (e.right_inv u.2)โŸฉ have hg : Continuous g := Continuous.subtype_mk hamb _ - have heq : {u : โ„‚ | (0, u) โˆˆ e.target}.restrict inv = g := by + have heq : {u : โ„‚ | (0, u) โˆˆ e.target}.domRestrict inv = g := by funext u apply Subtype.ext exact complexWeierstrassInfinityChartInv_coe_of_mem W u.1 u.2 diff --git a/Heights/WeierstrassPrincipalPart.lean b/Heights/WeierstrassPrincipalPart.lean index cc8d3cc..6254a27 100644 --- a/Heights/WeierstrassPrincipalPart.lean +++ b/Heights/WeierstrassPrincipalPart.lean @@ -187,27 +187,27 @@ theorem tendsto_weierstrass_secant_addX_zero (L : PeriodPair) (a b : โ„‚) : tendsto_const_nhds have hea : Tendsto (fun z โ†ฆ e z - a) (๐“[โ‰ ] 0) (๐“ (-a)) := by convert he.sub ha using 1 - all_goals ring + all_goals ring_nf have hdb : Tendsto (fun z โ†ฆ d z - b) (๐“[โ‰ ] 0) (๐“ (-b)) := by convert hd.sub hb using 1 - all_goals ring + all_goals ring_nf have hA : Tendsto A (๐“[โ‰ ] 0) (๐“ 1) := by dsimp [A] simpa using tendsto_const_nhds.add (hea.mul (hz.pow 2)) have hC : Tendsto C (๐“[โ‰ ] 0) (๐“ (-2 * a)) := by dsimp [C] convert (hea.const_mul 2).add (hdb.mul hz) using 1 - all_goals ring + all_goals ring_nf have hD : Tendsto D (๐“[โ‰ ] 0) (๐“ (-4)) := by dsimp [D] convert (hnegfour.add (hdb.mul (hz.pow 3))).sub ((hea.mul (hz.pow 2)).const_mul 2) using 1 ยท funext z ring - ยท ring + ยท ring_nf have hden : Tendsto (fun z โ†ฆ 4 * A z ^ 2) (๐“[โ‰ ] 0) (๐“ 4) := by convert hfour.mul (hA.pow 2) using 1 - all_goals ring + all_goals ring_nf have hfrac : Tendsto (fun z โ†ฆ D z * C z / (4 * A z ^ 2)) (๐“[โ‰ ] 0) (๐“ (2 * a)) := by have h := (hD.mul hC).div hden (by norm_num) @@ -217,11 +217,11 @@ theorem tendsto_weierstrass_secant_addX_zero (L : PeriodPair) (a b : โ„‚) : filter_upwards with z simp only [Pi.div_apply] convert h' using 1 - ring + ring_nf have hG : Tendsto (fun z โ†ฆ -e z - a + D z * C z / (4 * A z ^ 2)) (๐“[โ‰ ] 0) (๐“ a) := by convert (he.neg.sub ha).add hfrac using 1 - all_goals ring + all_goals ring_nf apply hG.congr' have hAne : โˆ€แถ  z in ๐“[โ‰ ] (0 : โ„‚), A z โ‰  0 := hA (eventually_ne_nhds one_ne_zero) @@ -300,11 +300,11 @@ theorem tendsto_weierstrass_secant_addY_zero (L : PeriodPair) (a b : โ„‚) : have h := hc.tendsto.comp hzed convert h using 1 ยท rfl - ยท ring + ยท ring_nf have hN : Tendsto N (๐“[โ‰ ] 0) (๐“ 0) := by dsimp [N] convert ((hE.const_mul (-24)).sub (hd.const_mul 8)).add (hz.mul hS) using 1 - all_goals ring + all_goals ring_nf have hA : Tendsto A (๐“[โ‰ ] 0) (๐“ 1) := by dsimp [A] simpa using tendsto_const_nhds.add @@ -313,11 +313,8 @@ theorem tendsto_weierstrass_secant_addY_zero (L : PeriodPair) (a b : โ„‚) : simpa using (tendsto_const_nhds.mul (hA.pow 3)) have hquot : Tendsto (fun z โ†ฆ N z / (8 * A z ^ 3)) (๐“[โ‰ ] 0) (๐“ 0) := by - have h := hN.div hden (by norm_num) - convert h using 1 - ยท funext z - simp only [Pi.div_apply] - ยท norm_num + change Tendsto (N / (fun z => 8 * A z ^ 3)) (๐“[โ‰ ] 0) (๐“ 0) + simpa only [zero_div] using hN.div hden (by norm_num) have hfinal : Tendsto (fun z โ†ฆ b / 2 + N z / (8 * A z ^ 3)) (๐“[โ‰ ] 0) (๐“ (b / 2)) := by simpa using tendsto_const_nhds.add hquot diff --git a/Heights/WeierstrassSurjectivity.lean b/Heights/WeierstrassSurjectivity.lean index 37b20a6..72b3cfc 100644 --- a/Heights/WeierstrassSurjectivity.lean +++ b/Heights/WeierstrassSurjectivity.lean @@ -66,7 +66,7 @@ private theorem reciprocalWeierstrassSub_analyticAt (L : PeriodPair) (a z : โ„‚) apply hraw.congr filter_upwards [L.isClosed_lattice.isOpen_compl.mem_nhds hz] with w hw have hw' : w โˆ‰ L.lattice := hw - rw [reciprocalWeierstrassSub, if_neg hw', Pi.inv_apply, Pi.sub_apply] + rw [reciprocalWeierstrassSub, ite_eq_right hw', Pi.inv_apply, Pi.sub_apply] private theorem reciprocalWeierstrassSub_add_lattice (L : PeriodPair) (a z : โ„‚) (l : L.lattice) : @@ -97,7 +97,7 @@ theorem exists_notMem_lattice_weierstrassP_eq (L : PeriodPair) (a : โ„‚) : let zโ‚€ : โ„‚ := L.ฯ‰โ‚ / 2 have hzโ‚€ : zโ‚€ โˆ‰ L.lattice := L.ฯ‰โ‚_div_two_notMem_lattice have hne : reciprocalWeierstrassSub L a zโ‚€ โ‰  0 := by - rw [reciprocalWeierstrassSub, if_neg hzโ‚€] + rw [reciprocalWeierstrassSub, ite_eq_right hzโ‚€] exact inv_ne_zero (sub_ne_zero.mpr (h zโ‚€ hzโ‚€)) apply hne exact (hdiff.apply_eq_apply_of_bounded hcompact.isBounded zโ‚€ 0).trans (by diff --git a/lake-manifest.json b/lake-manifest.json index 5d54dbc..67ccad8 100644 --- a/lake-manifest.json +++ b/lake-manifest.json @@ -1,7 +1,17 @@ {"version": "1.2.0", "packagesDir": ".lake/packages", "packages": - [{"url": "https://github.com/lana-agents/belyi.git", + [{"url": "https://github.com/lana-agents/heights.git", + "type": "git", + "subDir": null, + "scope": "", + "rev": "721496ca4c158e511d25d8ccf6bfe8503eda73c1", + "name": "heights", + "manifestFile": "lake-manifest.json", + "inputRev": "721496ca4c158e511d25d8ccf6bfe8503eda73c1", + "inherited": true, + "configFile": "lakefile.toml"}, + {"url": "https://github.com/lana-agents/belyi.git", "type": "git", "subDir": null, "scope": "", @@ -11,31 +21,31 @@ "inputRev": "9ce4d3f793d3bc831f2fc7214b7dbad90ea012d8", "inherited": false, "configFile": "lakefile.toml"}, - {"url": "https://github.com/leanprover-community/mathlib4", + {"url": "https://github.com/leanprover-community/mathlib4.git", "type": "git", "subDir": null, - "scope": "leanprover-community", - "rev": "81a5d257c8e410db227a6665ed08f64fea08e997", + "scope": "", + "rev": "d13f23b723b8a846827a245b89c10fc7d3f11612", "name": "mathlib", "manifestFile": "lake-manifest.json", - "inputRev": "v4.32.0", + "inputRev": "d13f23b723b8a846827a245b89c10fc7d3f11612", "inherited": false, "configFile": "lakefile.lean"}, {"url": "https://github.com/lana-agents/oka.git", "type": "git", "subDir": null, "scope": "", - "rev": "da228a2cf9671aaba08ddc96274d75e098b28f67", + "rev": "75dcdc3faadd10b986afb9283e89902bcdddecd4", "name": "oka", "manifestFile": "lake-manifest.json", - "inputRev": "da228a2cf9671aaba08ddc96274d75e098b28f67", + "inputRev": "75dcdc3faadd10b986afb9283e89902bcdddecd4", "inherited": true, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover-community/plausible", "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "e12c1910fe855cbfc38803cd4e55543906d5fa62", + "rev": "118aa17ee84656b8bd727fef7c458ee8c833385c", "name": "plausible", "manifestFile": "lake-manifest.json", "inputRev": "main", @@ -45,7 +55,7 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "c5d5b8fe6e5158def25cd28eb94e4141ad97c843", + "rev": "ddf04cf3949fa556442341e87d47f9f6e6074707", "name": "LeanSearchClient", "manifestFile": "lake-manifest.json", "inputRev": "main", @@ -55,7 +65,7 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "7e9612bf0b9ee66db3cb5b9988a35afc706f5a12", + "rev": "e928b72544873815af278d38681b31c0293588e3", "name": "importGraph", "manifestFile": "lake-manifest.json", "inputRev": "main", @@ -65,7 +75,7 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "6e311e2a844da9b2cc3971187df2fe0066947b93", + "rev": "106ff4fafc74ef4ac99d81dbf3ab399118f497a5", "name": "proofwidgets", "manifestFile": "lake-manifest.json", "inputRev": "main", @@ -75,7 +85,7 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "a7dbf0c63b694e47f425f3dcddbc0e178bb432d3", + "rev": "355695d523e41d0554926416cba2a2b3544fbbc9", "name": "aesop", "manifestFile": "lake-manifest.json", "inputRev": "master", @@ -85,7 +95,7 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "38d591e778f100aec9762bb582f9c7f55f50e9dc", + "rev": "6a489d9af5d0c47e5b259e2e8bcdfc1811b5a259", "name": "Qq", "manifestFile": "lake-manifest.json", "inputRev": "master", @@ -95,7 +105,7 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "023ce7d62a0531e22a5331e20b587817a80d49ff", + "rev": "f2effa3d803fda822b1f97b806c47cf2adfbcbc2", "name": "batteries", "manifestFile": "lake-manifest.json", "inputRev": "main", @@ -105,10 +115,10 @@ "type": "git", "subDir": null, "scope": "leanprover", - "rev": "88679d088c9720c27ebdf2ba4dafe17341747f94", + "rev": "e92c9f15fdfacc8536f31cfb3b7ad26c3c8cd204", "name": "Cli", "manifestFile": "lake-manifest.json", - "inputRev": "v4.32.0", + "inputRev": "v4.34.0", "inherited": true, "configFile": "lakefile.toml"}], "name": "heights", diff --git a/lakefile.toml b/lakefile.toml index a8e48a6..4d39ef8 100644 --- a/lakefile.toml +++ b/lakefile.toml @@ -4,6 +4,8 @@ keywords = ["math"] defaultTargets = ["Heights", "Challenge", "Solution"] [leanOptions] +# Preserve the type-unification behavior expected by the pinned upstream sources. +backward.isDefEq.respectTransparency.types = false pp.unicode.fun = true # pretty-prints `fun a โ†ฆ b` relaxedAutoImplicit = false weak.linter.mathlibStandardSet = true @@ -11,8 +13,8 @@ maxSynthPendingDepth = 3 [[require]] name = "mathlib" -scope = "leanprover-community" -rev = "v4.32.0" +git = "https://github.com/leanprover-community/mathlib4.git" +rev = "d13f23b723b8a846827a245b89c10fc7d3f11612" # Curves over number fields as function fields (Belyi.CurveField), for the height machine on # curves (GenEll height theory, branch wp-height-theory). diff --git a/lean-toolchain b/lean-toolchain index 94b9f49..ba8ebf2 100644 --- a/lean-toolchain +++ b/lean-toolchain @@ -1 +1 @@ -leanprover/lean4:v4.32.0 +leanprover/lean4:v4.34.1