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

Method def_eq_ctx_key

crates/kernel/src/tc.rs:381–383  ·  view source on GitHub ↗
(&mut self, a: &KExpr<M>, b: &KExpr<M>)

Source from the content-addressed store, hash-verified

379 ///
380 /// Def-eq may inspect both sides through WHNF, inference, proof
381 /// irrelevance, eta, and structural recursion. All of those operations are
382 /// bounded by the loose-bound-variable range reachable from the compared
383 /// expressions, so the relevant context is the suffix needed by the larger
384 /// `lbr`.
385 #[inline]
386 pub fn def_eq_ctx_key(&mut self, a: &KExpr<M>, b: &KExpr<M>) -> CtxAddr {

Callers 3

is_def_eqMethod · 0.80
is_def_eq_innerMethod · 0.80

Calls 3

ctx_addr_for_lbrMethod · 0.80
lbrMethod · 0.80
maxMethod · 0.45

Tested by

no test coverage detected