Library Decidability
Definition ldec (P : term → Prop) :=
∃ u : term, proc u ∧ ∀ s, (P s ∧ u (tenc s) == true) ∨ (¬ P s ∧ u (tenc s) == false).
Definition complement (P : term → Prop) := fun t ⇒ ¬ P t.
Definition conj (P : term → Prop) (Q : term → Prop) := fun t ⇒ P t ∧ Q t.
Definition disj (P : term → Prop) (Q : term → Prop) := fun t ⇒ P t ∨ Q t.