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

Function expr_let_matches

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

Source from the content-addressed store, hash-verified

604
605 #[test]
606 fn expr_let_matches() {
607 let r = empty_resolver();
608 let lean_e = env::Expr::letE(
609 mk_name("x"),
610 env::Expr::sort(LL::zero()),
611 env::Expr::bvar(n(0)),
612 env::Expr::bvar(n(0)),
613 false,
614 );
615 let zero_e = KExpr::<Anon>::let_(
616 (),
617 KExpr::sort(KUniv::zero()),
618 KExpr::var(0, ()),
619 KExpr::var(0, ()),
620 false,
621 );
622 expr_congruent(&lean_e, &zero_e, &r).unwrap();
623 }
624
625 #[test]
626 fn expr_mdata_is_transparent() {

Callers

nothing calls this directly

Calls 7

empty_resolverFunction · 0.85
sortFunction · 0.85
let_Function · 0.85
expr_congruentFunction · 0.85
mk_nameFunction · 0.70
nFunction · 0.70
varFunction · 0.70

Tested by

no test coverage detected