law max_lt_iff_sym
import bend-mathlib@0.8.1.0/nat.bend as Natimport Base
4708# The maximum is below c exactly when both arguments are: max a b < c tests as a < c and b < c, reversed to rewrite toward the simple side.
4709law max_lt_iff_sym:
4710 for a: Nat
4711 for b: Nat
4712 for c: Nat
4713 {Bool.and(Nat.is_lt(a, c), Nat.is_lt(b, c)) == Nat.is_lt(Nat.max(a, b), c) : Bool}
Uses (7)
Used by (0)
No other definition uses this definition.