Download data/lean/patches/AbsorptionCutoff-lean4341.patch from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.13 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/patches/AbsorptionCutoff-lean4341.patch
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/patches/AbsorptionCutoff-lean4341.patch
-
curl -L -o AbsorptionCutoff-lean4341.patch https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/patches/AbsorptionCutoff-lean4341.patch
5.13 kB
| diff --git a/AbsorptionCutoff/Supercritical/Renewal.lean b/AbsorptionCutoff/Supercritical/Renewal.lean | |
| index be4e8d0..84e0b74 100644 | |
| --- a/AbsorptionCutoff/Supercritical/Renewal.lean | |
| +++ b/AbsorptionCutoff/Supercritical/Renewal.lean | |
| theorem exists_pos_le_norm_one_sub_charFun {ΞΌ : Measure β} [IsProbabilityMeas | |
| have htβne : tβ β 0 := by | |
| intro h | |
| have h' := htβK.2 | |
| - simp only [Set.mem_setOf_eq, h, abs_zero] at h' | |
| + simp only [Set.mem_ofPred_eq, h, abs_zero] at h' | |
| linarith | |
| have hpos : 0 < β1 - charFun ΞΌ tββ := by | |
| rw [norm_pos_iff, sub_ne_zero] | |
| theorem tendsto_driNorm_tail {g : β β ββ₯0β} (hg : driNorm g β β) : | |
| have hkey := hS (Finset.Icc (-(N : β€)) (N : β€)) hsub | |
| have hset : {k : β€ | (N : β€) < |k|} = ((Finset.Icc (-(N : β€)) (N : β€) : Finset β€) : Set β€)αΆ := by | |
| ext k | |
| - simp only [Set.mem_setOf_eq, Set.mem_compl_iff, Finset.coe_Icc, Set.mem_Icc] | |
| + simp only [Set.mem_ofPred_eq, Set.mem_compl_iff, Finset.coe_Icc, Set.mem_Icc] | |
| rw [β not_le, abs_le] | |
| rw [hset, β tsum_subtype] | |
| exact hkey | |
| theorem exists_hasCompactSupport_driNorm_sub_lt {z : β β β} (hz : Continuo | |
| exact ENNReal.ofReal_le_one.2 (cutoff_le_one M x) | |
| Β· refine lt_of_le_of_lt (ENNReal.tsum_le_tsum fun k => ?_) hN | |
| by_cases hk : (N : β€) < |k| | |
| - Β· rw [Set.indicator_apply, if_pos (show k β {k : β€ | (N : β€) < |k|} from hk)] | |
| + Β· rw [Set.indicator_apply, ite_eq_left (show k β {k : β€ | (N : β€) < |k|} from hk)] | |
| refine cellSup_mono (fun x => ?_) k | |
| rw [show z x - (cutoff M x : β) * z x = ((1 - cutoff M x : β) : β) * z x by push_cast; ring, | |
| enorm_mul] | |
| theorem exists_hasCompactSupport_driNorm_sub_lt {z : β β β} (hz : Continuo | |
| rw [β ofReal_norm, Complex.norm_real, Real.norm_eq_abs, | |
| abs_of_nonneg (by linarith [cutoff_le_one M x])] | |
| exact ENNReal.ofReal_le_one.2 (by linarith [cutoff_nonneg M x]) | |
| - Β· rw [Set.indicator_apply, if_neg (show k β {k : β€ | (N : β€) < |k|} from hk), | |
| + Β· rw [Set.indicator_apply, ite_eq_right (show k β {k : β€ | (N : β€) < |k|} from hk), | |
| nonpos_iff_eq_zero] | |
| refine iSupβ_eq_bot.2 fun x hx => ?_ | |
| obtain β¨h1, h2β© := abs_le.1 (not_lt.1 hk) | |
| diff --git a/AbsorptionCutoff/Supercritical/RenewalApprox.lean b/AbsorptionCutoff/Supercritical/RenewalApprox.lean | |
| index a394d70..d4094ca 100644 | |
| --- a/AbsorptionCutoff/Supercritical/RenewalApprox.lean | |
| +++ b/AbsorptionCutoff/Supercritical/RenewalApprox.lean | |
| theorem exists_forall_norm_smoothed_sub_le {w : β β β} (hwc : Continuous w | |
| Β· have h2M : βw (x - u) - w xβ β€ 2 * M := | |
| le_trans (norm_sub_le _ _) (by linarith [hM (x - u), hM x]) | |
| have : Set.indicator {u : β | Ξ΄ < |u|} (smoothKernel a) u = smoothKernel a u := by | |
| - rw [Set.indicator_apply, if_pos (show u β {u : β | Ξ΄ < |u|} from hu)] | |
| + rw [Set.indicator_apply, ite_eq_left (show u β {u : β | Ξ΄ < |u|} from hu)] | |
| rw [hg] | |
| simp only [this] | |
| nlinarith [mul_nonneg hΞ΅.le hK0] | |
| theorem exists_forall_norm_smoothed_sub_le {w : β β β} (hwc : Continuous w | |
| rw [dist_eq_norm] at this | |
| linarith | |
| have : Set.indicator {u : β | Ξ΄ < |u|} (smoothKernel a) u = 0 := by | |
| - rw [Set.indicator_apply, if_neg (show u β {u : β | Ξ΄ < |u|} from hu)] | |
| + rw [Set.indicator_apply, ite_eq_right (show u β {u : β | Ξ΄ < |u|} from hu)] | |
| rw [hg] | |
| simp only [this] | |
| nlinarith | |
| diff --git a/lakefile.toml b/lakefile.toml | |
| index 34acdfc..1a2b828 100644 | |
| --- a/lakefile.toml | |
| +++ b/lakefile.toml | |
| keywords = ["math"] | |
| defaultTargets = ["AbsorptionCutoff"] | |
| [leanOptions] | |
| -pp.unicode.fun = true # pretty-prints `fun a β¦ b` | |
| +pp.unicode.fun = true | |
| relaxedAutoImplicit = false | |
| weak.linter.mathlibStandardSet = true | |
| maxSynthPendingDepth = 3 | |
| [[require]] | |
| name = "mathlib" | |
| -scope = "leanprover-community" | |
| -rev = "v4.32.0" | |
| - | |
| +git = "https://github.com/leanprover-community/mathlib4.git" | |
| +rev = "d13f23b723b8a846827a245b89c10fc7d3f11612" | |
| [[require]] | |
| name = "checkdecls" | |
| git = "https://github.com/PatrickMassot/checkdecls.git" | |
| -[[lean_lib]] | |
| -name = "AbsorptionCutoff" | |
| -# Mathlib-only comparator surface. Kept out of `defaultTargets` so a plain | |
| -# `lake build` never elaborates the intentional statement-level `sorry` that | |
| -# each `Challenge.lean` ends with. Build it with `lake build Audit`. | |
| [[lean_lib]] | |
| -name = "Audit" | |
| -globs = ["Audit", "Audit.+"] | |
| +name = "AbsorptionCutoff" | |
| +globs = [ | |
| + "AbsorptionCutoff.Supercritical.Renewal", | |
| + "AbsorptionCutoff.Supercritical.RenewalAbel", | |
| + "AbsorptionCutoff.Supercritical.RenewalKernel", | |
| + "AbsorptionCutoff.Supercritical.RenewalSinc", | |
| + "AbsorptionCutoff.Supercritical.RenewalApprox" | |
| +] | |
| 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 | |