List.sorted_cons_cons_intro: law of bend-mathlib@0.8.1.0 Import: import bend-mathlib@0.8.1.0/list.bend as List Lines 840-847 of bend-mathlib@0.8.1.0/list.bend: https://jend.leeeet.dev/read.txt?path=bend-mathlib@0.8.1.0/list.bend&start_line=840&end_line=847 import Base import bend-mathlib@0.8.1.0/nat.bend as MNat # A Nat list sorted by Nat.is_le stays sorted under a head that is <= the next element. law sorted_cons_cons_intro: for -x: Nat for -y: Nat for -t: List<&2, Nat> for hxy: MNat.le(x, y) for hyt: sorted_by(~Nat, ~Nat.is_le, y <> t) sorted_by(~Nat, ~Nat.is_le, x <> y <> t) Uses (8): 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.zip 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=bend-mathlib@0.8.1.0/list.bend&name=internal_sorted_cons_true https://jend.leeeet.dev/definition.txt?path=bend-mathlib@0.8.1.0/list.bend&name=sorted_by https://jend.leeeet.dev/definition.txt?path=bend-mathlib@0.8.1.0/nat.bend&name=le