def
definition
def or abbrev
foldMinusOneDecodedStep
show as:
view Lean formalization →
formal statement (Lean)
329noncomputable def foldMinusOneDecodedStep {N : ℕ} (u : GalerkinState N) : GalerkinState N :=
proof body
Definition body.
330 WithLp.toLp 2 (fun i : ((modes N) × Fin 2) =>
331 let x : ℝ := u i
332 let m : Int := decodeMag (clampI32 (coeffMag x + (-1)))
333 let z : Int := (coeffSign x) * m
334 (z : ℝ))
335
336/-- Decoding after a single `FOLD (-1)` step matches the corresponding decoded discrete step. -/