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

Method contains_key

crates/kernel/src/env.rs:488–490  ·  view source on GitHub ↗
(&self, id: &KId<M>)

Source from the content-addressed store, hash-verified

486 /// `whnf_no_delta_for_def_eq` from scratch (mathlib hot path).
487 pub whnf_no_delta_cheap_cache: FxHashMap<(Addr, CtxAddr), KExpr<M>>,
488 /// WHNF core cache: structural-only reduction (beta/iota/zeta/proj),
489 /// no native primitives, no delta. Mirrors lean4lean's `whnfCoreCache`
490 /// (refs/lean4lean/Lean4Lean/TypeChecker.lean:19) and lean4 C++'s
491 /// `m_whnf_core`. Populated only when flags are FULL — cheap-projection
492 /// results are not safe to share with full callers.
493 pub whnf_core_cache: FxHashMap<(Addr, CtxAddr), KExpr<M>>,

Calls

no outgoing calls