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_existential_var_eq at crates/formality-rust/src/prove/prove/prove/prove_eq.rs:78

Signature:

prove_existential_var_eq(_decls: Program, env: Env, assumptions: Wcs, v: ExistentialVar, b: 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.

existential-nonvar
LineCoverageSource
962(if let None = t.downcast::<Variable>())
973(equate_variable(decls, env, assumptions, v, t) => c)
──────── ("existential-nonvar")
9931(prove_existential_var_eq(decls, env, assumptions, v, t) => c)
existential-existential
LineCoverageSource
122N/A(let (a, b) = env.order_by_universe(l, r))
──────── ("existential-existential")
1247(prove_existential_var_eq(_decls, env, _assumptions, l, Variable::ExistentialVar(r)) => (env, (b, a)))
existential-universal
LineCoverageSource
1422(if env.universe(p) < env.universe(v))
──────── ("existential-universal")
144115(prove_existential_var_eq(_decls, env, _assumptions, v, Variable::UniversalVar(p)) => (env, (v, p)))