Documentation

Linglib.Theories.Semantics.Conditionals.Assertability

Conditional probability P(C|A) = P(A ∧ C) / P(A).

Returns 0 if P(A) = 0 (undefined case).

Equations
Instances For

    Conditional probability P(A|C) = P(A ∧ C) / P(C).

    Returns 0 if P(C) = 0 (undefined case).

    Equations
    Instances For

      The default assertability threshold θ.

      A conditional "if A then C" is assertable when P(C|A) > θ. The paper uses θ = 0.9 as a reasonable default.

      Equations
      Instances For

        Check if a conditional "if A then C" is assertable given a world state.

        A conditional is assertable when:

        1. P(A) > 0 (the antecedent is possible)
        2. P(C|A) > θ (the conditional probability is high enough)
        Equations
        Instances For

          Assertability as a rational value for soft semantics.

          Returns P(C|A) if P(A) > 0, otherwise 0. This is useful for RSA models that use soft (graded) semantics.

          Equations
          Instances For

            Threshold-based assertability as a rational value.

            Returns 1 if assertable, 0 otherwise.

            Equations
            Instances For

              Assertability of the contrapositive: "if ¬C then ¬A".

              P(¬A|¬C) = P(¬A ∧ ¬C) / P(¬C)

              Equations
              Instances For

                Assertability of the reverse conditional: "if C then A".

                P(A|C) = P(A ∧ C) / P(C)

                This is relevant for inferring causal direction:

                • If "if A then C" is assertable but "if C then A" is not, this suggests A→C
                • If both are assertable, this suggests correlation or common cause
                Equations
                Instances For

                  A biconditional "A iff C" is assertable when both directions are.

                  This corresponds to strong correlation or deterministic causation.

                  Equations
                  Instances For

                    Correlation strength: how much P(C|A) differs from P(C).

                    Positive values indicate positive correlation. Negative values indicate negative correlation. Values near 0 indicate independence (missing link).

                    Equations
                    Instances For

                      Asymmetry score: how much more assertable is "if A then C" than "if C then A"?

                      Large positive values suggest A→C causal direction. Large negative values suggest C→A causal direction. Values near 0 suggest independence or bidirectional causation.

                      Equations
                      Instances For

                        Infer the most likely causal relation based on conditional assertability patterns.

                        Heuristic:

                        • If "if A then C" is assertable but "if C then A" is not: likely A→C
                        • If "if C then A" is assertable but "if A then C" is not: likely C→A
                        • If both or neither are assertable: likely independent or common cause
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For

                          The key connection to RSA: the literal listener L0 interprets a conditional by sampling world states where the conditional is assertable.

                          This function provides the "agreement" score φ for RSA:

                          • Returns 1 if the conditional is assertable in the world state
                          • Returns 0 otherwise

                          For soft semantics, use assertabilityScore instead.

                          Equations
                          Instances For

                            Soft semantics: the agreement is the conditional probability itself.

                            This allows the RSA model to reason about degrees of assertability.

                            Equations
                            Instances For

                              If P(A) = 0, the conditional is not assertable (antecedent impossible).

                              Assertability implies the antecedent is possible.

                              Assertability is monotone in threshold (lower threshold → more assertable).

                              If a conditional is assertable at threshold θ₂, it is also assertable at any lower threshold θ₁ ≤ θ₂.

                              Assertability score is bounded in [0, 1].

                              The assertability score (conditional probability when defined) is always between 0 and 1.

                              Conditional probability is bounded when the antecedent is possible.

                              Correlation strength is zero iff independence.

                              When P(A) > 0, correlation strength is exactly 0 iff A and C are independent.