Cache.add_room: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache.bend as Cache Lines 123-128 of bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache.bend&start_line=123&end_line=128 import Base import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/types/model.bend as T def add_room(-K: Data, -V: Data, +c: Cache, code: String, key: K, value: V, deadline: T.Int64, full: Bool) -> Step: match full: case False{}: store(K, V, c, code, key, value, deadline, False{}, Nil{}) case True{}: store_after_evict(K, V, code, key, value, deadline, remove_oldest(K, V, c, True{})) Uses (9): 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=String https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache.bend&name=Cache https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache.bend&name=Step https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache.bend&name=remove_oldest https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache.bend&name=store https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache.bend&name=store_after_evict https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/types/model.bend&name=Int64