MCPcopy Create free account
hub / github.com/argumentcomputer/ix / whnf_key

Method whnf_key

crates/kernel/src/tc.rs:358–360  ·  view source on GitHub ↗
(&mut self, e: &KExpr<M>)

Source from the content-addressed store, hash-verified

356 /// `try_proof_irrel` — those callees use their argument's own lbr, which
357 /// is `≤ e.lbr`, so the WHNF suffix dominates;
358 /// (3) native reduction body unfold — closed body, no context dependence.
359 ///
360 /// Sharing two distinct outer contexts that share a relevant suffix is the
361 /// payoff: the same WHNF subterm can hit cache across them.
362 #[inline]
363 pub fn whnf_key(&mut self, e: &KExpr<M>) -> (Addr, CtxAddr) {

Calls 3

hash_keyMethod · 0.80
ctx_addr_for_lbrMethod · 0.80
lbrMethod · 0.80