LAWS.first2_hit: law of lawful-bytes@0.1.1.0 Import: import lawful-bytes@0.1.1.0/LAWS.bend as LAWS Lines 376-385 of lawful-bytes@0.1.1.0/LAWS.bend: https://jend.leeeet.dev/read.txt?path=lawful-bytes@0.1.1.0/LAWS.bend&start_line=376&end_line=385 import Base import lawful-bytes@0.1.1.0/defs.bend as D law first2_hit: for xs: List<&2, U32> for from: Nat for to: Nat for c1: U32 for c2: U32 for hft: {Nat.is_le(from, to) == True{} : Bool} for ht: {Nat.is_le(to, List.length(&2, U32, xs)) == True{} : Bool} for hlt: {Nat.is_lt(D.first2(xs, from, to, c1, c2), to) == True{} : Bool} {D.has2(xs, D.first2(xs, from, to, c1, c2), c1, c2) == True{} : Bool} Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_le https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_lt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=lawful-bytes@0.1.1.0/defs.bend&name=first2 https://jend.leeeet.dev/definition.txt?path=lawful-bytes@0.1.1.0/defs.bend&name=has2 https://jend.leeeet.dev/definition.txt?path=lawful-bytes@0.1.1.0/proof_list.bend&name=first2_hit