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

Function expr_forall_matches

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

Source from the content-addressed store, hash-verified

590
591 #[test]
592 fn expr_forall_matches() {
593 let r = empty_resolver();
594 let lean_e = env::Expr::all(
595 mk_name("x"),
596 env::Expr::sort(LL::zero()),
597 env::Expr::bvar(n(0)),
598 BinderInfo::Default,
599 );
600 let zero_e =
601 KExpr::<Anon>::all((), (), KExpr::sort(KUniv::zero()), KExpr::var(0, ()));
602 expr_congruent(&lean_e, &zero_e, &r).unwrap();
603 }
604
605 #[test]
606 fn expr_let_matches() {

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected