mathlib documentation

tactic.omega.nat.dnf

DNF transformation #

Return a list of bools that encodes which variables have nonzero coefficients

Equations

Return a list of bools that encodes which variables have nonzero coefficients in any one of the input terms.

Equations
theorem omega.nat.holds_nonneg_consts_core {v : ℕ → ℤ} (h1 : ∀ (x : ℕ), 0 ≤ v x) (m : ℕ) (bs : list bool) (t : omega.term) (H : t ∈ omega.nat.nonneg_consts_core m bs) :
theorem omega.nat.holds_nonneg_consts {v : ℕ → ℤ} {bs : list bool} :
(∀ (x : ℕ), 0 ≤ v x) → ∀ (t : omega.term), t ∈ omega.nat.nonneg_consts bs → 0 ≤ omega.term.val v t
theorem omega.nat.exists_clause_holds {v : ℕ → ℕ} {p : omega.nat.preform} :
p.neg_free → p.sub_free → omega.nat.preform.holds v p → (∃ (c : omega.clause) (H : c ∈ omega.nat.dnf p), omega.clause.holds (λ (x : ℕ), ↑(v x)) c)
theorem omega.nat.exists_clause_sat {p : omega.nat.preform} :
p.neg_free → p.sub_free → p.sat → (∃ (c : omega.clause) (H : c ∈ omega.nat.dnf p), c.sat)