def or_r
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64cmp.bend as F64cmpimport Base
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/natcmp.bend as NC
161def or_r(+a: Bool, +b: Bool, +h: {Bool.or(a, b) == False{} : Bool}) -> {b == False{} : Bool}:
162 match a:
163 case True{}:
164 NC.absurd_tf({b == False{} : Bool}, Equal.sym(Bool, True{}, False{}, h))
165 case False{}:
166 h
Uses (4)
Used by (10)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod:ok_zy
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64cmp:eq_gen
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64cmp:le_gen
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64cmp:lt_gen
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64divc:dkR_c
- …