ProofSame.le_step: law of lawful-bytes@0.1.1.0 Import: import lawful-bytes@0.1.1.0/proof_same.bend as ProofSame Lines 96-102 of lawful-bytes@0.1.1.0/proof_same.bend: https://jend.leeeet.dev/read.txt?path=lawful-bytes@0.1.1.0/proof_same.bend&start_line=96&end_line=102 import Base # a + 1 + m <= b gives (a + 1) + m <= b. law le_step: for +a: Nat for +m: Nat for +b: Nat for +h: {Nat.is_le(Nat.add(a, 1n+m), b) == True{} : Bool} {Nat.is_le(Nat.add(Nat.add(a, 1n), m), b) == True{} : Bool} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym 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.is_le https://jend.leeeet.dev/definition.txt?path=lawful-arrays@0.1.0.0/proof_base.bend&name=subst https://jend.leeeet.dev/definition.txt?path=lawful-words@0.1.0.0/proof_nat.bend&name=add_assoc