def le_rewrite
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
40def le_rewrite(-a: Nat, -b: Nat, -c: Nat, equal: {b == a : Nat}, bound: Shape.LE(b, c)) -> Shape.LE(a, c):
41 %equal : Shape.LE(_, c)
42 bound
Uses (2)
Used by (5)
- bendtorch-core@0.1.0.0/src/shape/plan_proofs:broadcast_checked_complete
- bendtorch-core@0.1.0.0/src/shape/construct_proofs:scale_fits
- bendtorch-core@0.1.0.0/src/shape/construct_proofs:step_within
- bendtorch-core@0.1.0.0/src/shape/plan_proofs:complete_align
- bendtorch-core@0.1.0.0/src/tensor/construction_PROOF:fill_success