def contradiction
import bendtorch-core@0.1.0.0/src/shape/nat_proofs.bend as NatProofsimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
6def contradiction(-value: Bool, yes: {True{} == value : Bool}, no: {False{} == value : Bool}) -> Empty:
7 Shape.clash(Equal.trans(Bool, True{}, value, False{}, yes, Equal.sym(Bool, False{}, value, no)))
Uses (5)
Used by (28)
- bendtorch-core@0.1.0.0/src/shape/boundary_proofs:decode_rank
- bendtorch-core@0.1.0.0/src/shape/boundary_proofs:fin_of_none
- bendtorch-core@0.1.0.0/src/shape/construct_proofs:construction_complete
- bendtorch-core@0.1.0.0/src/shape/construct_proofs:scale_within
- bendtorch-core@0.1.0.0/src/tensor/permute_contract:ranked_pass
- …