theorem
proved
tactic proof
Jcost_nonneg
show as:
view Lean formalization →
formal statement (Lean)
33theorem Jcost_nonneg (x : ℝ) (hx : 0 < x) : 0 ≤ Jcost x := by
proof body
Tactic-mode proof.
34 unfold Jcost
35 have : (x - 1)^2 / (2 * x) ≥ 0 := div_nonneg (sq_nonneg _) (by linarith)
36 have : (x + x⁻¹) / 2 - 1 = (x - 1)^2 / (2 * x) := by field_simp; ring
37 linarith
38
39/-! ## Residual Rate Action -/
40
41/-- The residual rate action A for a two-branch geodesic rotation
42 with separation angle θ_s. A = -ln(sin θ_s) for 0 < θ_s < π/2. -/
used by (40)
-
pitchCost_nonneg -
hearingLossPenalty_nonneg -
srCost_nonneg -
actionJ_nonneg -
aestheticCost_nonneg -
narrativeTension_nonneg -
wallpaperJ_nonneg -
yieldGapCost_nonneg -
J_nonneg -
proportionCost_nonneg -
eccentricity_penalty_nonneg -
climateJCost_nonneg -
forecastCost_nonneg -
chainCost_nonneg -
flat_minimizes_cost -
potential_min_at_one -
V_nonneg -
scale_change_cost -
jcost_entropy_floor -
Jcost_nonneg -
Jcost_submult -
Jlog_nonneg -
Jcost_exp_nonneg -
frequencyRatioCost_nonneg -
Jcost_nonneg -
JcostN_nonneg -
recidivismCost_nonneg -
rungCost_nonneg -
diffractionCost_nonneg -
priceDeviation_nonneg