mathlib documentation

tactic.​omega.​nat.​dnf

tactic.​omega.​nat.​dnf

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) :

theorem omega.​nat.​holds_nonneg_consts {v : ℕ → ℤ} {bs : list bool} (a : ∀ (x : ℕ), 0 ≤ v x) (t : omega.term) :

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)