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 is_not_downstream at crates/formality-rust/src/prove/prove/prove/is_local.rs:231

Signature:

is_not_downstream(_decls: Program, env: Env, assumptions: Wcs, parameter: Parameter,) => Constraints

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.

lifetime
LineCoverageSource
──────── ("lifetime")
251(is_not_downstream(_decls, env, _assumptions, _l: Lt) => Constraints::none(env))
rigid
LineCoverageSource
──────── ("rigid")
2582(is_not_downstream(_decls, env, _assumptions, RigidTy { .. }) => Constraints::none(env))
via normalize
LineCoverageSource
2621(prove_normalize(decls, env, assumptions, parameter) => Constrained(p, c1))
263N/A(let assumptions = c1.substitution().apply(assumptions))
264(is_not_downstream(decls, c1.env(), assumptions, p) => c2)
──────── ("via normalize")
2661(is_not_downstream(decls, env, assumptions, parameter) => c1.seq(c2))
type variable
LineCoverageSource
──────── ("type variable")
273(is_not_downstream(_decls, env, _assumptions, TyData::Variable(Variable::ExistentialVar(_)))
=> Constraints::none(env).ambiguous())