Declarations
A context (L, X) pairs a finite vocabulary of relation symbols with a finite set of
referents.
(L : FirstOrder.Language ) (V : Type w) :
vocab : Finset ((n : ℕ ) × L .Relations n )
vars : Finset V
Used by Context.Hom , instCategoryContext , Context.hom_ext , Context.hom_ext_iff , Context.id_map , Context.comp_map , Context.Hom.extend , Context.Hom.extend_coe , Context.varsFunctor , Context.varsFunctor_map , Literal , Literal.equivSigma , Literal.map , Literal.map_id , Literal.map_comp , Literal.map_injective , Literal.instInvolutiveNeg , Literal.pos_neg , Literal.neg_ne_self , Literal.neg_map , Literal.functor , Literal.functor_map , Literal.Consistent , Literal.Consistent.mono , instDecidableEqLiteral , instFintypeLiteral , instDecidableConsistent
Used in Semantics/Dynamic/DRT/Sheaf/Gluing , Semantics/Dynamic/DRT/Sheaf/Presheaf , Semantics/Dynamic/DRT/Sheaf/Realizers , AbramskySadrzadeh2014 , ChatzikyriakidisEtAl2025
A context morphism includes the vocabulary and maps the referents.
{L : FirstOrder.Language } {V : Type w} (c c' : Context L V ) :
The vocabulary inclusion.
Built from Context
@[instance_reducible] instance instCategoryContext L61–64
{L : FirstOrder.Language } {V : Type w} : CategoryTheory.Category.{w, max w v} (Context L V )
The definition is too large to print here; read it in the source .
Built from Context
{L : FirstOrder.Language } {V : Type w} {c c' : Context L V } {f g : c ⟶ c' } (h : f .map = g .map ) : f = g
Built from Context
theorem Context.hom_ext_iff L70
{L : FirstOrder.Language } {V : Type w} {c c' : Context L V } {f g : c ⟶ c' } :
Built from Context
@[simp] theorem Context.id_map L73
{L : FirstOrder.Language } {V : Type w} (c : Context L V ) : (CategoryTheory.CategoryStruct.id c ) .map = id
Built from Context
@[simp] theorem Context.comp_map L75
{L : FirstOrder.Language } {V : Type w} {c c' c'' : Context L V } (f : c ⟶ c' ) (g : c' ⟶ c'' ) : (CategoryTheory.CategoryStruct.comp f g ) .map = g .map ∘ f .map
Built from Context
f.extend acts as f on the source referents and as the identity elsewhere.
{L : FirstOrder.Language } {V : Type w} {c c' : Context L V } [DecidableEq V ] (f : c ⟶ c' ) (t : V ) : V
Built from Context
Used by Context.Hom.extend_coe
Used in Semantics/Dynamic/DRT/Sheaf/Gluing , Semantics/Dynamic/DRT/Sheaf/Presheaf
@[simp] theorem Context.Hom.extend_coe L81–83
{L : FirstOrder.Language } {V : Type w} {c c' : Context L V } [DecidableEq V ] (f : c ⟶ c' ) (t : ↥c .vars ) :
Built from Context , Context.Hom.extend
The referent maps make the referents of contexts a functor to types.
(L : FirstOrder.Language ) (V : Type w) :
Built from Context
Used by Context.varsFunctor_map
Used in Semantics/Dynamic/DRT/Sheaf/Realizers
@[simp] theorem Context.varsFunctor_map L91–92
{L : FirstOrder.Language } {V : Type w} {c c' : Context L V } (f : c ⟶ c' ) (t : ↥c .vars ) : (CategoryTheory.ConcreteCategory.hom ((varsFunctor L V ) .map f ) ) t = f .map t
Built from Context , Context.varsFunctor
A literal over a context is a signed atomic formula ±A(x̄).
{L : FirstOrder.Language } {V : Type w} (c : Context L V ) :
args :
Fin (↑self .rel ) .fst → ↥c .vars pos : Bool
Built from Context
Used by Literal.equivSigma , Literal.map , Literal.map_id , Literal.map_comp , Literal.instInvolutiveNeg , Literal.pos_neg , Literal.neg_ne_self , Literal.neg_map , Literal.functor , Literal.functor_map , Literal.Consistent , Literal.Consistent.mono , instDecidableEqLiteral , instFintypeLiteral , instDecidableConsistent
Used in Semantics/Dynamic/DRT/Sheaf/Gluing , Semantics/Dynamic/DRT/Sheaf/Presheaf , Semantics/Dynamic/DRT/Sheaf/Realizers , AbramskySadrzadeh2014 , ChatzikyriakidisEtAl2025
A literal is a dependent triple of a relation symbol, its arguments and a sign.
{L : FirstOrder.Language } {V : Type w} (c : Context L V ) :
The definition is too large to print here; read it in the source .
Built from Context , Literal
Used by instFintypeLiteral
l.map f renames the arguments of l along f.
{L : FirstOrder.Language } {V : Type w} {c c' : Context L V } (f : c ⟶ c' ) (l : Literal c ) :
Built from Context , Literal
Used by Literal.map_id , Literal.map_comp , Literal.map_injective , Literal.neg_map , Literal.functor , Literal.functor_map
Used in Semantics/Dynamic/DRT/Sheaf/Gluing , Semantics/Dynamic/DRT/Sheaf/Presheaf , Semantics/Dynamic/DRT/Sheaf/Realizers
@[simp] theorem Literal.map_id L120
{L : FirstOrder.Language } {V : Type w} {c : Context L V } (l : Literal c ) : map (CategoryTheory.CategoryStruct.id c ) l = l
Built from Context , Literal , Literal.map
@[simp] theorem Literal.map_comp L122–123
{L : FirstOrder.Language } {V : Type w} {c c' c'' : Context L V } (f : c ⟶ c' ) (g : c' ⟶ c'' ) (l : Literal c ) : map (CategoryTheory.CategoryStruct.comp f g ) l = map g (map f l )
Built from Context , Literal , Literal.map
{L : FirstOrder.Language } {V : Type w} {c c' : Context L V } {f : c ⟶ c' } (hf : Function.Injective f .map ) : Function.Injective (map f )
Built from Context , Literal.map
@[instance_reducible] instance Literal.instInvolutiveNeg L133–136
The complement -l flips the sign of l.
{L : FirstOrder.Language } {V : Type w} {c : Context L V } :
Built from Context , Literal
@[simp] theorem Literal.pos_neg L138
Built from Context , Literal
Built from Context , Literal
@[simp] theorem Literal.neg_map L143
{L : FirstOrder.Language } {V : Type w} {c c' : Context L V } (f : c ⟶ c' ) (l : Literal c ) :
Built from Context , Literal , Literal.map
Renaming makes literals a functor to types.
(L : FirstOrder.Language ) (V : Type w) :
Built from Context , Literal , Literal.map
Used by Literal.functor_map
Used in Semantics/Dynamic/DRT/Sheaf/Gluing
@[simp] theorem Literal.functor_map L151–152
{L : FirstOrder.Language } {V : Type w} {c c' : Context L V } (f : c ⟶ c' ) (l : Literal c ) : (CategoryTheory.ConcreteCategory.hom ((functor L V ) .map f ) ) l = map f l
Built from Context , Literal , Literal.map , Literal.functor
A set of literals is consistent when it contains no literal together with its complement.
Built from Context , Literal
Used by Literal.Consistent.mono , instDecidableConsistent
Used in Semantics/Dynamic/DRT/Sheaf/Gluing , Semantics/Dynamic/DRT/Sheaf/Presheaf , AbramskySadrzadeh2014
Built from Context , Literal , Literal.Consistent
@[instance_reducible] instance instDecidableEqLiteral L166–176
{L : FirstOrder.Language } {V : Type w} [DecidableEq V ] [(n : ℕ ) → DecidableEq (L .Relations n ) ] (c : Context L V ) :
Built from Context , Literal
@[instance_reducible] instance instFintypeLiteral L178
{L : FirstOrder.Language } {V : Type w} (c : Context L V ) :
Built from Context , Literal , Literal.equivSigma
@[instance_reducible] instance instDecidableConsistent L180–181
{L : FirstOrder.Language } {V : Type w} [DecidableEq V ] [(n : ℕ ) → DecidableEq (L .Relations n ) ] {c : Context L V } (s : Finset (Literal c ) ) :
Built from Context , Literal , Literal.Consistent