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

Function env_root_empty_env_is_zero_address

crates/ixon/src/serialize.rs:2462–2473  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2460 if let Some(m) = &env.main
2461 && env.consts.get(m).is_none()
2462 {
2463 return Err(format!(
2464 "Env::get_anon: main {} not present in consts",
2465 m.hex()
2466 ));
2467 }
2468
2469 // Section 3: anon_hints. Hints are performance advice (lazy-delta
2470 // tiebreak); the kernel's anon-mode correctness model is preserved
2471 // either way. Without them, every Definition is forced to
2472 // `Regular(0)` and the kernel can chew through `MAX_WHNF_FUEL` on
2473 // definitions Lean would have marked `Abbrev`/`Regular(h)`.
2474 for (addr, hints) in read_hints_section(
2475 buf,
2476 consts_order.len(),

Callers

nothing calls this directly

Calls 2

parse_stored_rootFunction · 0.85
putMethod · 0.45

Tested by

no test coverage detected