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

Function expr_bvar_matches

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

Source from the content-addressed store, hash-verified

495
496 #[test]
497 fn expr_bvar_matches() {
498 let r = empty_resolver();
499 let lean_e = env::Expr::bvar(n(3));
500 let zero_e = KExpr::<Anon>::var(3, ());
501 expr_congruent(&lean_e, &zero_e, &r).unwrap();
502 }
503
504 #[test]
505 fn expr_bvar_idx_mismatch_fails() {

Callers

nothing calls this directly

Calls 4

empty_resolverFunction · 0.85
expr_congruentFunction · 0.85
nFunction · 0.70
varFunction · 0.70

Tested by

no test coverage detected