pith. machine review for the scientific record. sign in
theorem proved term proof

satJCost_nonneg

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

  85theorem satJCost_nonneg {n : ℕ} (f : CNFFormula n) (a : Assignment n) :
  86    0 ≤ satJCost f a := by

proof body

Term-mode proof.

  87  unfold satJCost; exact_mod_cast Nat.zero_le _
  88
  89/-- J-cost = 0 iff the assignment satisfies all clauses. -/

used by (2)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (11)

Lean names referenced from this declaration's body.