Similarity orderings #
A SimilarityOrdering W is a family of comparative-similarity preorders on worlds, one
for each center: closer w₀ w₁ w₂ says that w₁ is at least as similar to w₀ as w₂
is ([Lew73b], [Sta68]). Each closer w₀ is reflexive and transitive
(Std.Refl, IsTrans instances) and decidable. closest w₀ s is the set of s-worlds
maximally similar to w₀ — the minimal elements of s under closer w₀ — with
closestWorlds its Finset form; the Limit Assumption (closest_nonempty,
closestWorlds_nonempty) is Set.Finite.exists_minimal. isCentered is strong
centering, and w₁ ≤[sim, w₀] w₂ is notation for sim.closer w₀ w₁ w₂.
Structure #
Equations
- sim.instDecidableCloser w₀ w₁ w₂ = sim.decClose w₀ w₁ w₂
The preorder centered at w₀, for local use in proofs.
Equations
- sim.atCenter w₀ = Preorder.ofLE (sim.closer w₀) ⋯ ⋯
Instances For
Constructors #
Construct a SimilarityOrdering from a Bool-valued function.
Reflexivity and transitivity can typically be discharged by decide.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Centering #
A strongly centered similarity ordering: every world is strictly closest to itself ([Lew73b]'s centering axiom).
Instances For
Closest worlds #
The closest A-worlds to w₀: the minimal elements of A under the
similarity preorder centered at w₀.
Instances For
Closest-world membership is preserved when restricting to a subset.
Limit Assumption ([Lew73b]): every non-empty Finset has a
closest world. Routes through Set.Finite.exists_minimal on the
preorder centered at w₀.
Closest worlds of a set #
The closest s-worlds to w₀: the minimal elements of s under the similarity
preorder centered at w₀. closestWorlds is the Finset form.
Instances For
The Limit Assumption for finite sets.
Equations
Selection-function bridge primitives #
Candidate selection set: the worlds in A ∩ domain that are minimal
at w under the similarity ordering.
Equations
- Semantics.Conditionals.candidateSelections sim domain w A = {w' : W | w' ∈ A ∩ domain ∧ ∀ w'' ∈ A ∩ domain, w' ≤[sim,w] w''}
Instances For
Comparative-closeness notation ([Lew73b]): w₁ ≤[sim, w₀] w₂
reads "w₁ is at least as similar to w₀ as w₂ is".
Equations
- One or more equations did not get rendered due to their size.