NLA-lib Explorer

Function.update_max_le_update_max

Library · theorem

If f ≤ update g p (max (g p) c), then update f p (max (f p) c) ≤ update g p (max (g p) c).

Function.update_max_le_update_max.{u_1, u_2} {P : Type u_1} {α : Type u_2} [DecidableEq P]
  [LinearOrder α] {f g : P → α} {p : P} {c : α} (h : f ≤ Function.update g p (max (g p) c)) :
  Function.update f p (max (f p) c) ≤ Function.update g p (max (g p) c)

Full source on GitHub

Import NLAlib.ForMathlib.Order.Basic.