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/prove/prove_normalize.rs:19

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
32(a in assumptions)
339(prove_normalize_via(decls, env, assumptions, a, goal) => c)
──────── ("normalize-via-assumption")
353(prove_normalize(decls, env, assumptions, goal) => c)
normalize-via-impl
LineCoverageSource
391(decl in decls.alias_eq_decls(&a.name))
40N/A(let (env, subst) = env.existential_substitution(&decl.binder))
41N/A(let decl = decl.binder.instantiate_with(&subst).unwrap())
42N/A(let AliasEqDeclBoundData { alias: AliasTy { name, parameters }, ty, where_clause } = decl)
43(assert a.name == *name)
44(prove(decls, env, assumptions, Wcs::all_eq(&a.parameters, &parameters)) => c)
45(prove_after(decls, c, assumptions, &where_clause) => c)
46N/A(let ty = c.substitution().apply(ty))
47N/A(let c = c.pop_subst(&subst))
48(assert c.env().encloses(&ty))
──────── ("normalize-via-impl")
5027(prove_normalize(decls, env, assumptions, TyData::AliasTy(a)) => Constrained(ty, c))