Documentation

Linglib.Core.Order.ComparativeProbability.Cancellation

Scott cancellation for comparative probability #

[KPS59]

Scott's cancellation framework for representability of comparative probability orderings by finitely additive measures. A comparative probability ordering ≿ is representable by a finitely additive measure iff it satisfies the cancellation property: no valid neutral portfolio has a strict member.

The hard direction (cancellation → representable) is an instance of LP duality / Farkas' lemma (Polyhedral.farkas, in Core/Order/FourierMotzkin.lean): the feasibility polytope {p ≥ 0 : Σpᵢ = 1, ordering constraints} is nonempty iff no dual certificate of infeasibility exists, and such a certificate corresponds exactly to a neutral portfolio with a strict member.

Main declarations #

def ComparativeProbability.comparisonVec (n : ) (A B : Finset (Fin n)) :
Fin n

Characteristic vector of a disjoint comparison: χ_A - χ_B ∈ {-1,0,1}ⁿ

Equations
Instances For

    A weighted comparison: a disjoint pair (A,B) with positive rational weight.

    • left : Finset (Fin n)
    • right : Finset (Fin n)
    • weight :
    • disjoint : Disjoint self.left self.right
    • weight_pos : 0 < self.weight
    Instances For

      A portfolio is a list of weighted comparisons.

      Equations
      Instances For
        def ComparativeProbability.Portfolio.weightedSum {n : } (P : Portfolio n) (i : Fin n) :

        The weighted sum of comparison vectors at atom i.

        Equations
        Instances For

          A portfolio is neutral if weighted vectors sum to zero at every atom.

          Equations
          Instances For
            def ComparativeProbability.Portfolio.isValid {n : } (P : Portfolio n) (ge : Set (Fin n)Set (Fin n)Prop) :

            A portfolio is valid for an ordering if each comparison holds.

            Equations
            Instances For
              def ComparativeProbability.Portfolio.hasStrict {n : } (P : Portfolio n) (ge : Set (Fin n)Set (Fin n)Prop) :

              A portfolio has a strict member if at least one comparison is strict.

              Equations
              Instances For
                def ComparativeProbability.Cancellation (n : ) (ge : Set (Fin n)Set (Fin n)Prop) :

                The cancellation property: no valid neutral portfolio has a strict member.

                Equations
                Instances For
                  theorem ComparativeProbability.representable_implies_cancellation {n : } {ge : Set (Fin n)Set (Fin n)Prop} (m : FinAddMeasure (Fin n)) (hm : ∀ (A B : Set (Fin n)), ge A B m.inducedGe A B) :

                  Easy direction: If μ represents the ordering, no neutral portfolio has a strict member. Each comparison contributes wⱼ·(μ(Aⱼ)−μ(Bⱼ)) ≥ 0 to the portfolio value; if any is strict, the value is positive. But by the interchange lemma, the value also equals Σᵢ μ({i})·weightedSum(i) = 0 by neutrality.

                  def ComparativeProbability.feasibleWeights (n : ) (sys : EpistemicSystemFA (Fin n)) :
                  Set (Fin n)

                  The feasibility polytope for measure representation: probability vectors p : Fin n → ℚ that are nonneg, normalized, and faithfully encode the ordering on disjoint pairs — exactly sys.ge ↑A ↑B ↔ A.sum p ≥ B.sum p. The ↔ (rather than →) is essential: the forward direction ensures the measure respects the ordering, while the backward direction ensures strictness is preserved (no spurious ties).

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    theorem ComparativeProbability.not_all_null {n : } (sys : EpistemicSystemFA (Fin n)) :
                    ∃ (i : Fin n), ¬sys.ge {i}

                    Not all singletons can be null: ∃ i, ¬sys.ge ∅ {i}. If all were null, FA induction gives sys.ge ∅ Set.univ, contradicting nonTrivial.

                    Scott's theorem (hard direction): if no valid neutral portfolio has a strict member, then a finitely additive measure exists representing the ordering. Decomposes into two steps:

                    1. cancellation_nonempty: Farkas / LP duality shows the feasibility polytope is nonempty when cancellation holds.
                    2. feasible_to_measure: a feasible weight vector constructs a representing FinAddMeasure.

                    Scott's theorem: an FA system is representable by a finitely additive measure iff it satisfies the cancellation property.

                    theorem ComparativeProbability.cancellation_of_null_atom {n : } (sys : EpistemicSystemFA (Fin (n + 2))) {j : Fin (n + 2)} (hj : sys.ge {j}) (sub : ∀ (sys' : EpistemicSystemFA (Fin (n + 1))), Representable sys') :
                    Cancellation (n + 2) sys.ge

                    A null atom plus a representability oracle one cardinality down yields cancellation: swap the null atom to position 0 and apply null_elem_reduce.