law step_le
lawful-bytes@0.1.1.0 · proof_same.bend:140
import lawful-bytes@0.1.1.0/proof_same.bend as ProofSame
import Base
import lawful-bytes@0.1.1.0/defs.bend as D
import lawful-bytes@0.1.1.0/proof_core.bend as C
import lawful-arrays@0.1.0.0/proof_tree.bend as P
140law step_le:
141 for +len: U32
142 for +t: P.Tree<U32>
143 for +d: Nat
144 for +s: U32
145 for +m: Nat
146 for +h: {D.ok(C.BT(len, t), d) == True{} : Bool}
147 for +hs: {Nat.is_le(Nat.add(U32.to_nat(s), 1n+m), U32.to_nat(len)) == True{} : Bool}
148 {Nat.is_le(Nat.add(U32.to_nat((s + 1 : U32)), m), U32.to_nat(len)) == True{} : Bool}