Highlighting #
Besides the proposition it expresses, a sentence highlights some possibilities, making them
salient as antecedents for anaphora such as polarity particles, and each highlighted possibility
is negative when the sentence introducing it is negative. Roelofsen and Farkas compute the
highlights of a formula compositionally beside its inquisitive proposition, so that ?p and
?¬p express the same issue but highlight p positively and its complement negatively. This
file develops basic results about highlighting, including that every formula expresses the
proposition of the InqB formula it abbreviates, while its highlights are a function neither of
that proposition nor of that InqB formula.
Main definitions #
Highlighting.Formula: formulas built from atoms by negation, inquisitive disjunction,!and?.Highlighting.Formula.proposition: the proposition a formula expresses.Highlighting.Formula.highlights: the possibilities a formula highlights, with their polarity.Highlighting.Formula.toInquisitive: the InqB formula a formula abbreviates.
Implementation notes #
The projections ! and ? are primitive, since !p and ¬¬p highlight differently, although
in InqB they abbreviate ¬¬φ and φ \\/ ¬φ; conjunction and implication are omitted, as in
Roelofsen and Farkas.
References #
The negation of a formula highlights, negatively, the complement of everything the formula highlights.
Equations
- Highlighting.neg H = {(Polarity.negative, (⋃₀ (Prod.snd '' H))ᶜ)}
Instances For
A projection of a formula keeps a single negative possibility and otherwise highlights, positively, the union of what the formula highlights.
Equations
- Highlighting.project H = if ∃ (α : Set W), H = {(Polarity.negative, α)} then H else {(Polarity.positive, ⋃₀ (Prod.snd '' H))}
Instances For
The negation of a formula highlighting a single possibility highlights its complement.
Projection keeps a single negative possibility.
Projection keeps a single positive possibility.
Projection keeps a single possibility, whatever its polarity.
A formula is built from atoms by negation, inquisitive disjunction, and the non-inquisitive
and non-informative projections ! and ? ([RF15]).
- atom {A : Type u_2} (a : A) : Formula A
- neg {A : Type u_2} (φ : Formula A) : Formula A
- inqDisj {A : Type u_2} (φ ψ : Formula A) : Formula A
- bang {A : Type u_2} (φ : Formula A) : Formula A
- query {A : Type u_2} (φ : Formula A) : Formula A
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Highlighting.instDecidableEqFormula.decEq (Highlighting.Formula.atom a) (Highlighting.Formula.atom b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq (Highlighting.Formula.atom a) φ.neg = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq (Highlighting.Formula.atom a) (φ.inqDisj ψ) = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq (Highlighting.Formula.atom a) φ.bang = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq (Highlighting.Formula.atom a) φ.query = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq φ.neg (Highlighting.Formula.atom a) = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq a.neg b.neg = if h : a = b then h ▸ have inst := Highlighting.instDecidableEqFormula.decEq a a; isTrue ⋯ else isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq φ.neg (φ_1.inqDisj ψ) = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq φ.neg φ_1.bang = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq φ.neg φ_1.query = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq (φ.inqDisj ψ) (Highlighting.Formula.atom a) = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq (φ.inqDisj ψ) φ_1.neg = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq (φ.inqDisj ψ) φ_1.bang = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq (φ.inqDisj ψ) φ_1.query = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq φ.bang (Highlighting.Formula.atom a) = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq φ.bang φ_1.neg = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq φ.bang (φ_1.inqDisj ψ) = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq a.bang b.bang = if h : a = b then h ▸ have inst := Highlighting.instDecidableEqFormula.decEq a a; isTrue ⋯ else isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq φ.bang φ_1.query = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq φ.query (Highlighting.Formula.atom a) = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq φ.query φ_1.neg = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq φ.query (φ_1.inqDisj ψ) = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq φ.query φ_1.bang = isFalse ⋯
- Highlighting.instDecidableEqFormula.decEq a.query b.query = if h : a = b then h ▸ have inst := Highlighting.instDecidableEqFormula.decEq a a; isTrue ⋯ else isFalse ⋯
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Highlighting.instReprFormula = { reprPrec := Highlighting.instReprFormula.repr }
The proposition a formula expresses under the valuation v of its atoms (26).
Equations
- Highlighting.Formula.proposition v (Highlighting.Formula.atom a) = Question.ofSet (v a)
- Highlighting.Formula.proposition v φ.neg = (Highlighting.Formula.proposition v φ)ᶜ
- Highlighting.Formula.proposition v (φ.inqDisj ψ) = Highlighting.Formula.proposition v φ ⊔ Highlighting.Formula.proposition v ψ
- Highlighting.Formula.proposition v φ.bang = (Highlighting.Formula.proposition v φ)ᶜᶜ
- Highlighting.Formula.proposition v φ.query = (Highlighting.Formula.proposition v φ).query
Instances For
The possibilities a formula highlights, each with its polarity (60).
Equations
- Highlighting.Formula.highlights v (Highlighting.Formula.atom a) = {(Polarity.positive, v a)}
- Highlighting.Formula.highlights v φ.neg = Highlighting.neg (Highlighting.Formula.highlights v φ)
- Highlighting.Formula.highlights v (φ.inqDisj ψ) = Highlighting.Formula.highlights v φ ∪ Highlighting.Formula.highlights v ψ
- Highlighting.Formula.highlights v φ.bang = Highlighting.project (Highlighting.Formula.highlights v φ)
- Highlighting.Formula.highlights v φ.query = Highlighting.project (Highlighting.Formula.highlights v φ)
Instances For
The basic formula of polarity s on the atom a is a or ¬a.
Equations
Instances For
A basic formula of polarity s on a expresses the proposition s • v a.
A basic formula of polarity s on a highlights the image of (positive, v a) under s,
the negative polarity complementing the possibility and reversing its polarity.
The polar interrogatives on a and on ¬a express the same issue.
The highlights of a formula are not a function of its proposition, since ?a and ?¬a
express the same issue but highlight different possibilities.
The InqB formula a formula abbreviates, with !φ as ¬¬φ and ?φ as φ \\/ ¬φ.
Equations
Instances For
A formula expresses the proposition of the InqB formula it abbreviates, under the valuation
of the atoms by their truth sets in M.
The highlights of a formula are not a function of the InqB formula it abbreviates, since !a
and ¬¬a abbreviate the same formula but highlight a with opposite polarities.