Numeric.expiry_choose: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/spec/numeric.bend as Numeric Lines 56-61 of bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/spec/numeric.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/spec/numeric.bend&start_line=56&end_line=61 import Base import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/types/model.bend as T def expiry_choose(now: T.Int64, duration: T.Int64, forever: Bool) -> T.Int64: match forever: case True{}: T.I64{Word.zero(64n)} case False{}: add(now, milliseconds(duration)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.zero https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/spec/numeric.bend&name=add https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/spec/numeric.bend&name=milliseconds https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/types/model.bend&name=Int64