Encodings of finite families of relation variables #
Cslib.Logic.ESO.varLanguage.vocabulary converts an enumeration of finitely many relation
variables into the vocabulary that serializes their truth tables. It retains the declared
arity of each variable, including nullary relations, and admits an empty family.
Main definitions #
Cslib.Logic.ESO.varLanguage.vocabulary: the vocabulary induced by a variable enumeration.
Main results #
Cslib.Logic.ESO.varLanguage.arity_vocabulary: table arities are the declared arities.Cslib.Logic.ESO.varLanguage.index_vocabulary: table indices are enumeration positions.
def Cslib.Logic.ESO.varLanguage.vocabulary {ι : Type} {m : ℕ} (arity : ι → ℕ) (e : Fin m ≃ ι) :
Vocabulary (varLanguage arity)
Enumerate relation variables in the supplied order, retaining their arities.
@[simp]
theorem Cslib.Logic.ESO.varLanguage.index_vocabulary {ι : Type} {m : ℕ} (arity : ι → ℕ) (e : Fin m ≃ ι) (r : (k : ℕ) × (varLanguage arity).Relations k) :
A relation variable's table is at its position in the supplied enumeration.