def true_not_false
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/logic.bend as Logicimport Base
55def true_not_false(b: Bool, t: {b == True{} : Bool}, f: {b == False{} : Bool}) -> Empty:
56 false_true(Equal.trans(Bool, False{}, b, True{}, Equal.sym(Bool, b, False{}, f), t))
Uses (5)
Used by (7)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/reduce:mul_lt_cancel
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/reduce:last_zero
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/eqf:eq_false
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/eqf:q_one
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/reduce:fold_lt2_h
- …