BendMlTensor.reshape_swap: law of bend-ml-tensor@0.1.2.0 Import: import bend-ml-tensor@0.1.2.0/main.bend as BendMlTensor Lines 479-484 of bend-ml-tensor@0.1.2.0/main.bend: https://jend.leeeet.dev/read.txt?path=bend-ml-tensor@0.1.2.0/main.bend&start_line=479&end_line=484 import Base # LAW (reshape_swap): r x c and c x r have the same number of elements # (multiplication is commutative), so this reshape always exists. law reshape_swap: for +r: Nat for +c: Nat {Nat.mul(r, c) == Nat.mul(c, r) : Nat} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.mul https://jend.leeeet.dev/definition.txt?path=bend-ml-nat-lemmas@0.1.2.0/main.bend&name=mul_comm