def
definition
def or abbrev
foldPlusOneStep
show as:
view Lean formalization →
formal statement (Lean)
51noncomputable def foldPlusOneStep {N : ℕ} (u : GalerkinState N) : GalerkinState N :=
proof body
Definition body.
52 WithLp.toLp 2 (fun i : ((modes N) × Fin 2) =>
53 let x : ℝ := u i
54 let m : Int := clampI32 (coeffMag x + 1)
55 let z : Int := (coeffSign x) * m
56 (z : ℝ))
57