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

Function level_param_matches

crates/kernel/src/congruence.rs:452–459  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

450
451 #[test]
452 fn level_param_matches() {
453 // Lean Param has a name; zero Param has a positional index. Without a
454 // level_params list the check must pass (see module comment).
455 let r = empty_resolver();
456 let ll = LL::param(mk_name("u"));
457 let lu = KUniv::<Anon>::param(0, ());
458 level_congruent(&ll, &lu, &r).unwrap();
459 }
460
461 #[test]
462 fn level_zero_vs_succ_fails() {

Callers

nothing calls this directly

Calls 4

empty_resolverFunction · 0.85
level_congruentFunction · 0.85
paramFunction · 0.70
mk_nameFunction · 0.70

Tested by

no test coverage detected