Digits.NonZero: type of bend-trace-context@0.2.0.0 Import: import bend-trace-context@0.2.0.0/src/digits.bend as Digits Lines 108-113 of bend-trace-context@0.2.0.0/src/digits.bend: https://jend.leeeet.dev/read.txt?path=bend-trace-context@0.2.0.0/src/digits.bend&start_line=108&end_line=113 import Base # n digits that are not all zero. `evidence` is the proof. The equality is # checked statically; compiled evidence is a null placeholder. Keeping its # binder usable lets later proofs recover and reuse this guarantee. Even direct # construction must supply a proof that these digits are not zero. type NonZero<-n: Nat> is Data: NonZero{digits: Digits(n), evidence: {Digits.is_zero(n, digits) == False{} : Bool}} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/src/digits.bend&name=Digits https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/src/digits.bend&name=Digits.is_zero