Time.deadline_choose: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/time.bend as Time Lines 18-23 of bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/time.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/time.bend&start_line=18&end_line=23 import Base import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/types/model.bend as T import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/wide.bend as W def deadline_choose(now: T.Int64, ns: T.Int64, immortal: Bool) -> T.Int64: match immortal: case True{}: T.I64{W.zero()} case False{}: add(now, milliseconds(ns)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/time.bend&name=add https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/time.bend&name=milliseconds https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/wide.bend&name=zero https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/types/model.bend&name=Int64