Chatzikyriakidis & Luo (2020): Formal semantics in modern type theories #
In the formal semantics of modern type theories, common nouns are interpreted as types rather than predicates, and subtyping is coercive: one noun is a subtype of another when a unique coercion between them may be inserted wherever an object of the second is expected. A noun modified by a predicate is the Σ-type of its objects satisfying the predicate, a subtype of the noun through the first projection. This file formalizes the book's classification of adjectival modification, its operator NOT for the propositional forms of judgements, and its identity criteria for counting.
The book's Theorem 7.1 states that the laws (A1)–(A5) of NOT are provable once NOT is defined from the heterogeneous equality JMeq. We show that with Lean's heterogeneous equality, which validates the rules of JMeq, (A1) and (A2) hold but (A3), (A4) and (A5) fail at every proper finite Σ-subtype, such as the men among the humans. With heterogeneous equality read as equality in a common carrier, all five laws hold.
Main definitions #
sigma A P: the Σ-type of the objects ofAsatisfyingP, a subtype ofAbysigmaFst A P.DoesNot A P B b: the operator NOT, from whichIsandDoesdefine IS and DO.TypeDisjoint A B: no inhabited noun is a subtype of bothAandB.SubSetoid A B sA sB:Ais a subtype ofBwhose identity criterionsAis inherited fromsB.
Main statements #
range_sigma_comp: intersective modification meets the noun's extension with the adjective's.not_forall_nonempty_hom_sigma: subsective modification need not respect subtyping.forall_does_iff_mono: law (A1) holds on a noun exactly when its embedding is a monomorphism.not_doesNot_comp_heq,not_forall_doesNot_of_sub_heq,not_exists_doesNot_of_sub_heq: laws (A3), (A4) and (A5) fail forHEq.three₀_iff_two_lt_card: three objects distinct under an identity criterion satisfy a predicate exactly when more than two of its identity classes do.
Implementation notes #
- As in [CL17a], a noun is an object of
Over Obj, a type embedded in a typeObjof all objects, and a coercion is a morphism ofOver Obj. The book's universe has no suchObj; here it supplies the heterogeneous equality, under which two objects are equal when their images are. This equality identifies an object with its image under a coercion, the axiom that [XLC18] add to prove (A3)–(A5). - Coercions are morphisms rather than
Coeinstances, so that statements quantify over nouns. - By propositional extensionality every modal collection
Prop → Proprespects logical equivalence, the property for which the book rejects the belief contexts of [Ran94].
TODO #
- Gradable, multidimensional and adverbial modification.
- Dot-types for copredication, and counting under copredication.
- Negative occurrences (Definition 7.2) and dependent event types.
- A universe without the type
Obj, with coercions along a directed order.
References #
- S. Chatzikyriakidis and Z. Luo, Formal Semantics in Modern Type Theories (2020)
- S. Chatzikyriakidis and Z. Luo, On the Interpretation of Common Nouns: Types Versus Predicates (2017)
- T. Xue, Z. Luo and S. Chatzikyriakidis, Propositional Forms of Judgemental Interpretations (2018)
- H. Kamp, Two theories about adjectives (1975)
- B. H. Partee, Privative adjectives: Subsective plus coercion (2010)
- A. Ranta, Type-Theoretical Grammar (1994)
Σ-types and coercive subtyping #
The Σ-type of the objects of A satisfying P, located through A ((2.41), (3.21)).
Equations
- ChatzikyriakidisLuo2020.sigma A P = CategoryTheory.Over.mk (TypeCat.ofHom fun (x : { x : A.left // P x }) => (CategoryTheory.ConcreteCategory.hom A.hom) ↑x)
Instances For
The first projection, which makes a modified noun a subtype of the noun ((2.42), (3.33)).
Equations
- ChatzikyriakidisLuo2020.sigmaFst A P = CategoryTheory.Over.homMk (TypeCat.ofHom Subtype.val) ⋯
Instances For
A Σ-type embeds injectively when its noun does, since by proof irrelevance two of its objects are equal when their first projections are (p. 69).
Coercions into a noun with a monic embedding are unique, as coherence requires (p. 40).
A coercion out of a noun with a monic embedding is monic.
Adjectival modification #
Intersective modification respects subtyping, so a black cat is a black object (3.91).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The extension of an intersectively modified noun is the meet of the noun's extension with the adjective's, the intersective class of [Kam75] ((3.92)–(3.97)).
Since the instances of a Π-polymorphic adjective at two nouns are unrelated, a subtyping need not lift to the modified nouns (3.101).
Privative adjectives are subsective over the disjoint union of real and fake guns, as [Par10] proposes.
The disjoint union of two nouns, as in the type of guns G = G_R + G_F (3.110).
Equations
- ChatzikyriakidisLuo2020.sum A B = CategoryTheory.Over.mk (TypeCat.ofHom (Sum.elim ⇑(CategoryTheory.ConcreteCategory.hom A.hom) ⇑(CategoryTheory.ConcreteCategory.hom B.hom)))
Instances For
A gun is real when it comes from the real guns (3.111).
Equations
- ChatzikyriakidisLuo2020.IsReal = Sum.elim (fun (x : GR.left) => True) fun (x : GF.left) => False
Instances For
A gun is fake when it comes from the fake guns (3.112).
Equations
- ChatzikyriakidisLuo2020.IsFake = Sum.elim (fun (x : GR.left) => False) fun (x : GF.left) => True
Instances For
When no object is both a real and a fake gun, fake guns and real guns have disjoint extensions, so fake is privative relative to real gun (p. 72).
Propositional forms of judgements #
The operator NOT, read "b does not P", defined from heterogeneous equality as equality of
images in Obj ((7.5), (7.11)).
Equations
- ChatzikyriakidisLuo2020.DoesNot A P B b = ∀ (x : A.left), (CategoryTheory.ConcreteCategory.hom A.hom) x = (CategoryTheory.ConcreteCategory.hom B.hom) b → ¬P x
Instances For
The operator IS, the propositional form of the judgement that y is an X (7.7).
Equations
Instances For
The operator DO, the propositional form of applying P to y (7.9).
Equations
- ChatzikyriakidisLuo2020.Does P y = ¬ChatzikyriakidisLuo2020.DoesNot A P B y
Instances For
IS holds of every object of its own noun (p. 64).
Law (A1) holds on a noun exactly when its embedding is a monomorphism (p. 153).
Along a coercion, not doing P as a B implies not doing it as an A, which is law (A3).
IS respects subtyping, as in the inference from "Teddy is a man" to "Teddy is a human" (p. 154).
The negation operator of [CL17a] is NOT with its object read in Obj.
Two nouns are disjoint when no inhabited noun is a subtype of both (Definition 7.1).
Equations
- ChatzikyriakidisLuo2020.TypeDisjoint A B = ∀ (C : CategoryTheory.Over Obj) (a : C ⟶ A) (a : C ⟶ B), IsEmpty C.left
Instances For
Two nouns are disjoint exactly when no object of the second is an object of the first, so that "John is not a table" holds of every man ((3.66), (3.71)).
No coercion leads from an inhabited noun to a disjoint one, so talk(t) is ill-typed for a
table t ((3.5)–(3.7)).
An object is an alleged M when someone's collection of allegations contains that it is an
M (3.125).
Equations
- ChatzikyriakidisLuo2020.Alleged H M x = ∃ (h : Hum.left), H h (ChatzikyriakidisLuo2020.Is M x)
Instances For
An alleged M need not be an M, and an M may be alleged (3.122).
NOT with Lean's heterogeneous equality #
The operator NOT defined as in (7.11), with HEq for JMeq.
Equations
- ChatzikyriakidisLuo2020.HDoesNot P b = ∀ (x : A), x ≍ b → ¬P x
Instances For
NOT holds vacuously between distinct types, since HEq entails type equality.
A proper Σ-subtype of a finite type is a different type.
Law (A3) fails for HDoesNot at a proper finite Σ-subtype, such as the men among the humans.
Law (A4) fails for HDoesNot at a proper finite Σ-subtype.
Law (A5) fails for HDoesNot at a proper finite Σ-subtype.
The axiom of [XLC18] identifying an object with its image under a
coercion fails for HEq at a proper finite Σ-subtype.
Identity criteria and counting #
A sub-setoid is a subtype whose identity criterion is the restriction of the supertype's (Definition 5.2).
- sub : A ⟶ B
The coercion from
AtoB. - comap_eq : sA = Setoid.comap (⇑(CategoryTheory.ConcreteCategory.hom (CategoryTheory.Over.Hom.left self.sub))) sB
The identity criterion of
Ais that ofBrestricted along the coercion.
Instances For
Three₀ B sB P holds when three objects of B, pairwise distinct under sB, satisfy P
(Definition 5.3).
Equations
- ChatzikyriakidisLuo2020.Three₀ B sB P = ∃ (x : B.left) (y : B.left) (z : B.left), ¬sB x y ∧ ¬sB y z ∧ ¬sB x z ∧ P x ∧ P y ∧ P z
Instances For
If men inherit the identity criterion of humans, three men who talk are three humans who talk (5.26).
For a predicate respecting the identity criterion, Three₀ holds exactly when more than two
identity classes satisfy it (p. 110).