Slices of Boolean combinations of languages and encoded problems #
The slices of the empty and the full language (as 0 or ⊥, and ⊤), of complements, unions
and intersections, together with the slice indicator Language.encodesMember for problems with
an injective encoding enc : α ↪ List β.
Main definitions #
Language.encodes,Language.encodesMember: the words of lengthnin the image of an encodingenc : α ↪ List β, and the indicator of encoded members of a setA : Set α.
Main results #
Language.slice_zero,Language.slice_bot,Language.slice_top: slices of the empty and full languages.Language.slice_compl,Language.slice_sup,Language.slice_inf: slices of complements, unions, and intersections.Language.encodesMember_eq_true_iff,Language.mem_iff_of_slice_eq_encodesMember: characterization ofencodesMemberon encoded instances and agreement withLanguage.slice.
theorem Language.mem_iff_of_slice_eq_encodesMember {α : Type u_1} {β : Type u_2} {enc : α ↪ List β} {A : Set α} {L : Language β} (h : ∀ (n : ℕ), ∀ x ∈ encodes enc n, L.slice n x = encodesMember enc A n x) (a : α) :
A language agreeing with encodesMember enc A on encoded words contains exactly the encodings
of the members of A.