Atomic facts and finite models for relational first-order languages #
For a relational first-order language L, a structure on Fin n is determined by the truth
values of its atomic facts R(a₁, …, aₗ) (Atom L n).
This module defines the type of atomic facts Atom L n, the structure Model x induced by a
truth assignment x : Atom L n → Bool, the extraction atomsOf e of atomic facts from an
L-structure along an equivalence e : M ≃ Fin n, and the evaluation isomorphism
realize_iff_atomsOf.
Main definitions #
Cslib.Logic.FO.Atom: the atomic facts of a structure forLonFin n.Cslib.Logic.FO.Model: the universeFin nwith the structure whose true atomic facts are given by a truth assignment.Cslib.Logic.FO.atomsOf: the truth table of atomic facts onFin nunder an equivalence fromM.Cslib.Logic.FO.equivModel: the first-order isomorphism betweenMandModel (atomsOf e).
Main results #
Cslib.Logic.FO.realize_iff_atomsOf: a sentence holds inMif and only if it holds inModel (atomsOf e).
References #
The atomic facts of a structure for L on Fin n: a relation symbol and a tuple of
elements.
Instances For
The universe Fin n with the structure whose true atomic facts are those given by x.
Instances For
The first-order L.Structure on Model x whose relations are given by the truth table x.
There are finitely many atomic facts on Fin n when L has finitely many relation symbols.
Finitely many atomic facts when the relations are finite.
An enumeration of M is an isomorphism onto the structure with the atomic facts of M.
A structure satisfies a sentence exactly when the structure with its atomic facts does.