ProjectionProofs.padding_of: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/shape/projection_proofs.bend as ProjectionProofs Lines 115-116 of bendtorch-core@0.1.0.0/src/shape/projection_proofs.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/shape/projection_proofs.bend&start_line=115&end_line=116 import Base import bendtorch-core@0.1.0.0/src/shape/broadcast_proofs.bend as Broadcast def padding_of(-width: Nat, +padding: Nat, +rank: Nat, sum: {Nat.add(padding, rank) == width : Nat}) -> {padding == Nat.sub(width, rank) : Nat}: Equal.trans(Nat, padding, Nat.sub(Nat.add(padding, rank), rank), Nat.sub(width, rank), Broadcast.sub_add(padding, rank), Equal.cong(Nat, Nat, value => Nat.sub(value, rank), Nat.add(padding, rank), width, sum)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.cong https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.trans https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.sub https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/shape/broadcast_proofs.bend&name=sub_add