Gradient dist norm Power Series zpow
Space.gradient_dist_normPowerSeries_zpow
Project documentation
A power series which is differentiable everywhere, and in the limit as n → ∞ tends to ‖x‖. -/ def normPowerSeries {d} : ℕ → Space d → ℝ := fun n x => √(‖x‖ ^ 2 + 1/(n + 1)) lemma normPowerSeries_eq (n : ℕ) : normPowerSeries (d := d) n = fun x => √(‖x‖ ^ 2 + 1/(n + 1)) := rfl lemma normPowerSeries_eq_rpow {d} (n : ℕ) : normPowerSeries (d := d) n = fun...
Exact Lean statement
lemma gradient_dist_normPowerSeries_zpow {d : ℕ} {n : ℕ} (m : ℤ) :
∇ᵈ (distOfFunction (fun x : Space d => (normPowerSeries n x) ^ m) (by fun_prop)) =
distOfFunction (fun x : Space d => (m * (normPowerSeries n x) ^ (m - 2)) • basis.repr x)
(by fun_prop)Formal artifact
Lean source
lemma gradient_dist_normPowerSeries_zpow {d : ℕ} {n : ℕ} (m : ℤ) : ∇ᵈ (distOfFunction (fun x : Space d => (normPowerSeries n x) ^ m) (by fun_prop)) = distOfFunction (fun x : Space d => (m * (normPowerSeries n x) ^ (m - 2)) • basis.repr x) (by fun_prop) := by ext1 η refine ext_inner_right ℝ fun y => ?_ simp [distGrad_inner_eq] rw [Distribution.fderivD_apply, distOfFunction_apply, distOfFunction_inner] calc _ _ = - ∫ (x : Space d), fderiv ℝ η x (basis.repr.symm y) * normPowerSeries n x ^ m := by rfl _ = ∫ (x : Space d), η x * fderiv ℝ (normPowerSeries n · ^ m) x (basis.repr.symm y) := by rw [integral_mul_fderiv_eq_neg_fderiv_mul_of_integrable] · fun_prop · refine IsDistBounded.integrable_space_mul ?_ η simp only [fderiv_normPowerSeries_zpow, mul_assoc] fun_prop · fun_prop · fun_prop · exact fun _ _ => (differentiable_normPowerSeries_zpow m).differentiableAt _ = ∫ (x : Space d), η x * (m * ⟪(basis.repr.symm y), x⟫_ℝ * (normPowerSeries n x) ^ (m - 2)) := by simp only [fderiv_normPowerSeries_zpow] congr funext x simp [inner_smul_left_eq_smul] left rw [real_inner_comm, basis_repr_inner_eq] ring- Project
- Physlib
- License
- Apache-2.0
- Commit
- dd43e9e65791
- Source
- Physlib/SpaceAndTime/Space/Norm/Basic.lean:383-411
Reuse this declaration
Bring the exact result into your workflow
The import identifies the source module. Your project still needs the pinned package dependency shown on this page.
What this badge means
This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.
Continue in this project
Related declarations
Adiabatic relation log
adiabatic_relation_log
Plain-language statement
Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.
Source project: Physlib
Person-level attribution pending.
Adiabatic relation Ua Ub Va Vb
adiabatic_relation_UaUbVaVb
Plain-language statement
Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.
Source project: Physlib
Person-level attribution pending.
Deriv Within mean Energy Beta eq neg variance
CanonicalEnsemble.derivWithin_meanEnergy_Beta_eq_neg_variance
Plain-language statement
(∂U/∂β) = -Var(E) for finite systems.
Source project: Physlib
Person-level attribution pending.