Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Judgment prove_normalize at crates/formality-rust/src/prove/prove_normalize.rs:18

Signature:

prove_normalize(_decls: Program, env: Env, assumptions: Wcs, p: Parameter,) => Constrained<Parameter>

No applicable rule observed: at least one test exercised this judgment with no matching rule.

The number on each rule’s conclusion is positive coverage; the number on each premise is negative coverage. Click a number to browse the tests.

normalize-via-assumption
LineCoverageSource
31(a in assumptions)
3210(prove_normalize_via(decls, env, assumptions, a, goal) => c)
──────── ("normalize-via-assumption")
343(prove_normalize(decls, env, assumptions, goal) => c)
normalize-via-impl
LineCoverageSource
381(decl in decls.alias_eq_decls(&a.name))
39N/A(let (env, subst) = env.existential_substitution(&decl.binder))
40N/A(let decl = decl.binder.instantiate_with(&subst).unwrap())
41N/A(let AliasEqDeclBoundData { alias: AliasTy { name, parameters }, ty, where_clause } = decl)
42(assert a.name == *name)
43(prove(decls, env, assumptions, Wcs::all_eq(&a.parameters, &parameters)) => c)
44(prove_after(decls, c, assumptions, &where_clause) => c)
45N/A(let ty = c.substitution().apply(ty))
46N/A(let c = c.pop_subst(&subst))
47(assert c.env().encloses(&ty))
──────── ("normalize-via-impl")
4939(prove_normalize(decls, env, assumptions, Ty::AliasTy(a)) => Constrained(ty, c))