summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJJ2024-05-06 00:02:30 +0000
committerJJ2024-05-06 00:02:30 +0000
commit8f7194de7767f8cede241682a368d01bcda66abc (patch)
tree6de0253f0e5befed436dfc608d5f374973fc98d5
parent5884f2527442de38bfd9772b9daa12e282294d31 (diff)
meow
-rw-r--r--linguistics/semantics.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/linguistics/semantics.md b/linguistics/semantics.md
index a590de3..96638aa 100644
--- a/linguistics/semantics.md
+++ b/linguistics/semantics.md
@@ -20,6 +20,11 @@ This framework is [first-order/predicate logic](../mathematics/logic) and the [s
### Compositionality
+The *Principle of Compositionality* states that the meaning of a *constituent* is determined entirely by its *components*. This is *the* fundamental underlying principle behind formal logic and subsequently semantics. It holds for not just sentence composition (syntax), but also *word formation* (morphology), and what's of interest to us here - meaning (semantics).
+
+### Substitution
+
+The *Principle of Substitution* states that substituting one part of an expression with something else of the same meaning *preserves* the meaning of the expression as a whole. This might be thought of as a given, but semantics has its roots in philosophy, and philosophers care very much about enumerating their givens.
### Predicate Logic & The Lambda Calculus
@@ -37,8 +42,8 @@ With basic logic and the lambda calculus under our belt, we may simply get strai
> *Alice is bad.* <br>
> *The blue pigeon flew away.*
-- Noun: $⟨e,t⟩ ↝ λx.Noun(x)$
-- Verb (intransitive): $⟨e,t⟩ ↝ λx.Verb(x)$
+- Noun $↝ λx.Noun(x)$ $: ⟨e,t⟩$
+- Verb (intransitive) ↝ $λx.Verb(x)$: $⟨e,t⟩$
- Verb (transitive): $⟨e,⟨e,t⟩⟩ ↝ λy.λx.Verb(x, y)$
- Verb (meaningless): $⟨⟨e,t⟩,⟨e,t⟩⟩ ↝ λP.λx.P(x)$
- Adj: $⟨⟨e,t⟩,⟨e,t⟩⟩ ↝ λNoun.λx.[Adj(x) ∧ Noun(x)]$
@@ -59,7 +64,7 @@ With basic logic and the lambda calculus under our belt, we may simply get strai
- some: $⟨⟨e,t⟩,⟨⟨e,t⟩,t⟩⟩ ↝ λQ.λP.∃x.[P(x) ∧ Q(x)]$
- something: $⟨⟨e,t⟩,t⟩ ↝ λP.∃x.P(x)$
- no: $⟨⟨e,t⟩,⟨⟨e,t⟩,t⟩⟩ ↝ λQ.λP.∀x.[P(x) → ¬Q(x)] (or λQ.λP.¬∃x.[P(x) ∧ Q(x)])$
- - nothing: $⟨⟨e,t⟩,t⟩ ↝ λP.¬∃x.P(x)$ (or $λP.∀x.¬P(x))$
+ - nothing: $⟨⟨e,t⟩,t⟩ ↝ λP.¬∃x.P(x)$ (or $λP.∀x.¬P(x)$)
### Reference