Skip to content

Commit

Permalink
Clean up some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
robintown committed Sep 4, 2023
1 parent 3f7edd3 commit 08a04de
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/semantics/denote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const taBindings: Bindings = {
head: {},
};

// λ𝘗. λ𝘵. ∃𝘦. (τ(𝘦) ⊆ 𝘵) ∧ 𝘗(𝘦)
// λ𝘗. λ𝘵. ∃𝘦. τ(𝘦) ⊆ 𝘵 ∧ 𝘗(𝘦)
const tam = λ(['v', 't'], [], c =>
λ('i', c, c =>
some('v', c, c =>
Expand All @@ -115,7 +115,7 @@ const tam = λ(['v', 't'], [], c =>
),
);

// λ𝘗. λ𝘵. ∀𝘸' : ɪᴡ(𝘸')(𝘸)(𝘵). ∃𝘦. (𝘵 ⊆ τ(𝘦)) ∧ 𝘗(𝘦)(𝘸')
// λ𝘗. λ𝘵. ∀𝘸' : ɪᴡ(𝘸')(𝘸)(𝘵). ∃𝘦. 𝘵 ⊆ τ(𝘦) ∧ 𝘗(𝘦)(𝘸')
const chum = λ(['v', ['s', 't']], ['s'], c =>
λ('i', c, c =>
every(
Expand All @@ -133,7 +133,7 @@ const chum = λ(['v', ['s', 't']], ['s'], c =>
),
);

// λ𝘗. λ𝘵. ∃𝘦. (τ(𝘦) < 𝘵) ∧ 𝘗(𝘦)
// λ𝘗. λ𝘵. ∃𝘦. τ(𝘦) < 𝘵 ∧ 𝘗(𝘦)
const lui = λ(['v', 't'], [], c =>
λ('i', c, c =>
some('v', c, c =>
Expand All @@ -145,7 +145,7 @@ const lui = λ(['v', 't'], [], c =>
),
);

// λ𝘗. λ𝘵. ∃𝘦. (τ(𝘦) > 𝘵) ∧ 𝘗(𝘦)
// λ𝘗. λ𝘵. ∃𝘦. τ(𝘦) > 𝘵 ∧ 𝘗(𝘦)
const za = λ(['v', 't'], [], c =>
λ('i', c, c =>
some('v', c, c =>
Expand All @@ -157,7 +157,7 @@ const za = λ(['v', 't'], [], c =>
),
);

// λ𝘗. λ𝘵. ∃𝘦. (𝘵 ⊆ τ(𝘦))((𝘵 > ExpEnd(𝘦)) ∧ 𝘗(𝘦))
// λ𝘗. λ𝘵. ∃𝘦. 𝘵 ⊆ τ(𝘦) ∧ 𝘵 > ExpEnd(𝘦) ∧ 𝘗(𝘦)
const hoai = λ(['v', 't'], [], c =>
λ('i', c, c =>
some('v', c, c =>
Expand All @@ -172,7 +172,7 @@ const hoai = λ(['v', 't'], [], c =>
),
);

// λ𝘗. λ𝘵. ∃𝘦. (𝘵 ⊆ τ(𝘦))((𝘵 < ExpStart(𝘦)) ∧ 𝘗(𝘦))
// λ𝘗. λ𝘵. ∃𝘦. 𝘵 ⊆ τ(𝘦) ∧ 𝘵 < ExpStart(𝘦) ∧ 𝘗(𝘦)
const hai = λ(['v', 't'], [], c =>
λ('i', c, c =>
some('v', c, c =>
Expand All @@ -187,7 +187,7 @@ const hai = λ(['v', 't'], [], c =>
),
);

// λ𝘗. λ𝘵. ∃𝘦. (τ(𝘦) <.near 𝘵) ∧ 𝘗(𝘦)
// λ𝘗. λ𝘵. ∃𝘦. τ(𝘦) <.near 𝘵 ∧ 𝘗(𝘦)
const hiq = λ(['v', 't'], [], c =>
λ('i', c, c =>
some('v', c, c =>
Expand All @@ -199,7 +199,7 @@ const hiq = λ(['v', 't'], [], c =>
),
);

// λ𝘗. λ𝘵. ∃𝘦. (τ(𝘦) >.near 𝘵) ∧ 𝘗(𝘦)
// λ𝘗. λ𝘵. ∃𝘦. τ(𝘦) >.near 𝘵 ∧ 𝘗(𝘦)
const fi = λ(['v', 't'], [], c =>
λ('i', c, c =>
some('v', c, c =>
Expand Down Expand Up @@ -237,16 +237,16 @@ function denoteAspect(toaq: string): Expr {
// t
const defaultTense = v(0, ['i']);

// t | (t ⊆ t0)
// t | t ⊆ t0
const nai = presuppose(
v(0, ['i']),
subinterval(v(0, ['i']), speechTime(['i'])),
);

// t | (t < t0)
// t | t < t0
const pu = presuppose(v(0, ['i']), before(v(0, ['i']), speechTime(['i'])));

// t | (t > t0)
// t | t > t0
const jia = presuppose(v(0, ['i']), after(v(0, ['i']), speechTime(['i'])));

// λ𝘗. ∃𝘵. 𝘗(𝘵)
Expand Down

0 comments on commit 08a04de

Please sign in to comment.