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_predicate_list

judgment_fn! {
    /// Prove that all elements in `goals`, a list of where-clauses, are true, one after the other.
    pub fn prove_predicate_list(
        _decls: Program,
        env: Env,
        assumptions: Predicates,
        goals: Predicates,
    ) => Constraints {
        /* rules omitted */
    }
}

Source: crates/formality-rust/src/prove/prove_predicate_list.rs:8

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.

none
LineCoverageSource
──────── ("none")
22238(prove_predicate_list(_decls, env, _assumptions, ()) => Constraints::none(env))
some
LineCoverageSource
2667(prove_predicate(decls, env, assumptions, wc0) => c)
272(prove_after(decls, c, assumptions, wcs1) => c)
──────── ("some")
29237(prove_predicate_list(decls, env, assumptions, Cons(wc0, wcs1)) => c)

How to read this page