Real.completeEllipticK_radicand_pos
theoremverifiedformalizationimported Lean
For m < 1 the radicand 1 - m sin² φ of the integrand of completeEllipticK m is positive at every angle φ.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open MeasureTheory in lemma Real.completeEllipticK_radicand_pos {m : ℝ} (hm : m < 1) (φ : ℝ) : 0 < 1 - m * sin φ ^ 2
- Formalizes
- Physlib, `Real.completeEllipticK_radicand_pos`
- Lean proof
- By Aadarsh Agarwal, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2026 Aadarsh Agarwal. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.Real.completeEllipticK_radicand_pos← Real.completeEllipticK_radicand_pos (Physlib/Mathematics/SpecialFunctions/EllipticIntegral.lean:108): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Used by 1
- Real.continuous_completeEllipticK_integrandFor
m < 1the integrand ofcompleteEllipticK mis continuous, the real power being taken at a positive base.
- Real.continuous_completeEllipticK_integrandFor
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option autoImplicit true inset_option relaxedAutoImplicit true inopen MeasureTheory in/-- For `m < 1` the radicand `1 - m sin² φ` of the integrand of `completeEllipticK m` is positive at every angle `φ`. -/lemma Real.completeEllipticK_radicand_pos {m : ℝ} (hm : m < 1) (φ : ℝ) : 0 < 1 - m * sin φ ^ 2 := by nlinarith [sq_nonneg (sin φ), sin_sq_le_one φ, mul_nonneg (sub_nonneg.2 hm.le) (sq_nonneg (sin φ))]