Truncated reciprocal distance kernel
DefinitionLL_Decomp1543a_minKFor real , define when , and otherwise .
Definition code
import Mathlib import Definitions.Def_LL_Decomp1543a_nint open Real Finset ArithmeticFunction namespace LL_Decomp1543a noncomputable def minK (X θ : ℝ) : ℝ := if nint θ = 0 then X else min X (1 / (2 * nint θ)) end LL_Decomp1543a
Read-back
What the Lean code literally says, in plain math · claude-haiku
For real numbers and , is a real number defined by cases on . The function is imported from another item whose definition is not shown here, and the code uses as a real number, so its exact type and any cast are not visible in this item.
- If , then .
- If , then , the smaller of and .
No hypotheses are assumed, so and range over all reals, including negative values and zero. The division by occurs only when , so no division-by-zero junk value appears. When the bound is dropped entirely, so the result is with no cap. When the bound is negative and can be the minimum. The definition is total, so nothing is vacuous.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.