AFTD Auto-Formalizing Theoretical Domains

impossibility_con_ucon_lex_cel

theoremverifiedformalization

For any countably infinite type of individuals X with decidable equality, no social ranking solution R on X simultaneously satisfies consistency (satisfies_con R), union consistency (satisfies_ucon R), and Lex-cel extension (satisfies_le R).

Statement

theorem impossibility_con_ucon_lex_cel (X : Type*) [DecidableEq X] [Countable X] [Infinite X] :
  ¬ ∃ (R : SocialRankingSolution X), satisfies_con R ∧ satisfies_ucon R ∧ satisfies_le R
Formalizes
arXiv:2611.19021 Theorem 3
Verified
23 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 15
  • SocialRankingSolutionA social ranking solution (SRS) maps each profile of power relations to a complete binary relation on the individuals.
  • satisfies_conAn SRS R satisfies consistency (CON) if for all power profiles π₁, π₂, and π such that π₁.card = π₂.card and is_merging_sum_power_profile…
  • satisfies_uconAn SRS satisfies union consistency (UCON) if whenever x is weakly preferred to y in two profiles π₁ and π₂, x is weakly preferred to y in…
  • satisfies_leAn SRS R satisfies Lex-cel extension (LE) if for every power relation r and all individuals x and y, R.rel {r} x y holds if and only if…
  • impossibility_con_ucon_lex_cel_claim2If an SRS R satisfies consistency (satisfies_con), union consistency (satisfies_ucon), and Lex-cel extension (satisfies_le), and x ≠ y are…
  • PowerRelationA power relation is a weak order on a finite collection of feasible coalitions of individuals, represented by an ordered partition into…
  • lex_geA binary relation on lists of natural numbers defined recursively: lex_ge [] [] is True; lex_ge [] (_ :: _) is False; lex_ge (_ :: _) []…
  • lex_celFor individuals x and y and a power relation r, x is weakly preferred to y under the Lex-cel solution at r, denoted lex_cel r x y, if…
  • is_merging_sum_power_profileA profile π is a merging sum of two profiles π₁ and π₂ of equal cardinality if their elements can be ordered as lists such that each…
  • PowerProfileA power profile is a finite multiset of power relations.
  • srs_strictIndividual x is strictly preferred to y under an SRS R at profile π if x is weakly preferred to y and y is not weakly preferred to x.
  • power_relation_carrierThe carrier of a power relation r is the set of all coalitions appearing in some equivalence class of r.
  • power_relation_relCoalition S is weakly preferred to coalition T under power relation r if the equivalence class of S is ranked at least as high as that of T.
  • appearance_vectorThe appearance vector of an individual z in a power relation r is the list whose k-th element is the number of coalitions in the k-th…
  • is_merging_sum_power_relationA power relation r is a merging sum of two power relations r₁ and r₂ with disjoint coalition domains if the carrier of r is the union of…

Read back from the Lean

For any countably infinite type X with decidable equality, there does not exist a social ranking solution R on X (a complete relation R.rel from power profiles—multisets of power relations—to binary relations on X) that simultaneously satisfies: 1. satisfies_con: consistency under merging sums of equal-cardinality power profiles: for any power profiles π₁, π₂, π of power relations such that π₁ and π₂ have equal cardinality and π is a merging sum of π₁ and π₂, and for all x, y : X: - if R.rel π₁ x y and R.rel π₂ x y, then R.rel π x y; - if R strictly ranks x over y at π₁ (i.e., R.rel π₁ x y ∧ ¬ R.rel π₁ y x) and R.rel π₂ x y, then R strictly ranks x over y at π; 2. satisfies_ucon: consistency under profile addition (multiset sum): for any power profiles π₁, π₂ and all x, y : X: - if R.rel π₁ x y and R.rel π₂ x y, then R.rel (π₁ + π₂) x y; - if R strictly ranks x over y at π₁ and R.rel π₂ x y, then R strictly ranks x over y at π₁ + π₂; 3. satisfies_le: agreement with the LexCEL relation on singleton profiles: for every single power relation r and all x, y : X, R.rel {r} x y holds if and only if x is ranked at least as high as y under r according to the LexCEL rule (lex_cel r x y).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

The theorem is proved by contradiction, constructing a profile of two power relations {P₁, P₂} on three individuals x, y, z whose aggregate ranking of x and y contradicts itself. On one hand, P₁ and P₂ decompose as merging sums of elementary power relations, where Claim 2 establishes weak preference y ≿ x on each component profile, which consistency (CON) lifts to y ≿ x on {P₁, P₂}. On the other hand, the Lex-cel rule (LE) evaluates appearance vectors to strictly rank x ≻ y in {P₁} and weakly rank x ≿ y in {P₂}, which union consistency (UCON) combines into a strict preference x ≻ y on {P₁, P₂}. The simultaneous satisfaction of x ≻ y and y ≿ x produces the final contradiction.

  1. Any finite set S in the carrier of a power relation r satisfies S ≿_r S (reflexivity).

    By definition of the carrier, S belongs to some equivalence class c in r.classes. Viewing c as the i-th class of r, the reflexivity condition holds because S is in the i-th class and i ≤ i.

    lines 1–7

    uses List.mem_iff_getElem, le_rfl

    lemma impossibility_con_ucon_lex_cel_pr_rel_refl {X : Type*} (r : PowerRelation X) (S : Finset X)
        (hS : S ∈ power_relation_carrier r) : power_relation_rel r S S := by
      rcases hS with ⟨c, hc, hSc⟩
      rw [List.mem_iff_getElem] at hc
      obtain ⟨i, hi, rfl⟩ := hc
      exact ⟨i, i, hi, hi, hSc, hSc, le_rfl⟩
    
  2. The carrier of a power relation with class [{S}] is {S}, while for classes [{S₁}, {S₂}] or [{S₁, S₂}] it is {S₁, S₂}.

    Unfolding the definition of the carrier as the union of all elements across the equivalence classes of r, the members of the carrier are precisely the coalitions listed in those classes.

    lines 8–22

    lemma impossibility_con_ucon_lex_cel_carrier_singleton {X : Type*} (r : PowerRelation X) (S : Finset X)
        (hr : r.classes = [{S}]) : power_relation_carrier r = {S} := by
      ext T
      simp [power_relation_carrier, hr]
    
    lemma impossibility_con_ucon_lex_cel_carrier_two {X : Type*} (r : PowerRelation X) (S₁ S₂ : Finset X)
        (hr : r.classes = [{S₁}, {S₂}]) : power_relation_carrier r = {S₁, S₂} := by
      ext T
      simp [power_relation_carrier, hr]
    
    lemma impossibility_con_ucon_lex_cel_carrier_one_two {X : Type*} [DecidableEq X] (r : PowerRelation X) (S₁ S₂ : Finset X)
        (hr : r.classes = [{S₁, S₂}]) : power_relation_carrier r = {S₁, S₂} := by
      ext T
      simp [power_relation_carrier, hr]
    
  3. If S₁ ≠ S₂ and power relations r₁, r₂, r have carriers {S₁}, {S₂}, and {S₁, S₂} respectively, then r is the merging sum of r₁ and r₂.

    We verify the four requirements of a merging sum: (1) the carriers {S₁} and {S₂} are disjoint because S₁ ≠ S₂; (2) their union is {S₁, S₂}; and (3)–(4) the relative ranking of any pair from {S₁} (or {S₂}) is preserved because S₁ ≿ S₁ and S₂ ≿ S₂ hold reflexively in all three relations.

    lines 23–51

    uses iff_of_true, impossibility_con_ucon_lex_cel_pr_rel_refl

    lemma impossibility_con_ucon_lex_cel_ms_of_singletons {X : Type*} (r r₁ r₂ : PowerRelation X) (S₁ S₂ : Finset X)
        (hS : S₁ ≠ S₂)
        (hr₁ : power_relation_carrier r₁ = {S₁})
        (hr₂ : power_relation_carrier r₂ = {S₂})
        (hr : power_relation_carrier r = {S₁, S₂}) :
        is_merging_sum_power_relation r r₁ r₂ := by
      refine ⟨?_, ?_, ?_, ?_⟩
      · rw [hr₁, hr₂]
        exact Set.disjoint_singleton_left.mpr hS
      · rw [hr, hr₁, hr₂]
        ext x
        simp only [Set.mem_insert_iff, Set.mem_singleton_iff, Set.mem_union]
      · intro A hA B hB
        rw [hr₁] at hA hB
        simp only [Set.mem_singleton_iff] at hA hB
        rw [hA, hB]
        have hrS₁ : S₁ ∈ power_relation_carrier r := by rw [hr]; simp
        have hr₁S₁ : S₁ ∈ power_relation_carrier r₁ := by rw [hr₁]; simp
        exact iff_of_true (impossibility_con_ucon_lex_cel_pr_rel_refl r S₁ hrS₁)
          (impossibility_con_ucon_lex_cel_pr_rel_refl r₁ S₁ hr₁S₁)
      · intro A hA B hB
        rw [hr₂] at hA hB
        simp only [Set.mem_singleton_iff] at hA hB
        rw [hA, hB]
        have hrS₂ : S₂ ∈ power_relation_carrier r := by rw [hr]; simp
        have hr₂S₂ : S₂ ∈ power_relation_carrier r₂ := by rw [hr₂]; simp
        exact iff_of_true (impossibility_con_ucon_lex_cel_pr_rel_refl r S₂ hrS₂)
          (impossibility_con_ucon_lex_cel_pr_rel_refl r₂ S₂ hr₂S₂)
    
  4. Assuming for contradiction that a social ranking solution R satisfies CON, UCON, and LE, there exist three pairwise distinct individuals x, y, z in X.

    Because X is an infinite type, the universe Set.univ is infinite. Successively removing {x} and then {x, y} leaves infinite (and thus nonempty) sets, yielding distinct elements x, y, z.

    lines 52–68

    uses Set.infinite_univ, Set.Infinite.sdiff, Set.finite_singleton, Set.toFinite

    /-- Impossibility of reconciling consistency, union consistency, and Lex-cel extension: no social ranking solution satisfies CON, UCON, and LE simultaneously. -/
    theorem impossibility_con_ucon_lex_cel (X : Type*) [DecidableEq X] [Countable X] [Infinite X] :
      ¬ ∃ (R : SocialRankingSolution X), satisfies_con R ∧ satisfies_ucon R ∧ satisfies_le R := by
      rintro ⟨R, hCON, hUCON, hLE⟩
      have h_univ : (Set.univ : Set X).Infinite := Set.infinite_univ
      obtain ⟨x, -⟩ := h_univ.nonempty
      have h_univ1 : (Set.univ \ {x} : Set X).Infinite := Set.Infinite.sdiff h_univ (Set.finite_singleton x)
      obtain ⟨y, hy⟩ := h_univ1.nonempty
      have hyx : y ≠ x := by aesop
      have h_univ2 : (Set.univ \ {x, y} : Set X).Infinite := Set.Infinite.sdiff h_univ (Set.toFinite {x, y})
      obtain ⟨z, hz⟩ := h_univ2.nonempty
      have hzx : z ≠ x := by aesop
      have hzy : z ≠ y := by aesop
      have hxy : x ≠ y := hyx.symm
      have hxz : x ≠ z := hzx.symm
      have hyz : y ≠ z := hzy.symm
    
  5. The singleton coalitions S_x = {x} and S_y = {y} are distinct from the two-individual coalitions S_yz = {y, z} and S_xz = {x, z}.

    The singleton sets have cardinality 1, whereas S_yz and S_xz have cardinality 2 because y ≠ z and x ≠ z. Since 1 ≠ 2, S_x ≠ S_yz and S_y ≠ S_xz.

    lines 69–85

    uses Finset.card_singleton, Finset.card_pair

      let S_x : Finset X := {x}
      let S_y : Finset X := {y}
      let S_yz : Finset X := {y, z}
      let S_xz : Finset X := {x, z}
    
      have h_Sx_ne_Syz : S_x ≠ S_yz := by
        intro h
        have hc : S_x.card = S_yz.card := by rw [h]
        rw [Finset.card_singleton, Finset.card_pair hyz] at hc
        omega
    
      have h_Sy_ne_Sxz : S_y ≠ S_xz := by
        intro h
        have hc : S_y.card = S_xz.card := by rw [h]
        rw [Finset.card_singleton, Finset.card_pair hxz] at hc
        omega
    
  6. Construct well-defined power relations r₁, r₂, r₃, r₄, P₁, and P₂ from these coalitions.

    Relations r₁, r₂, r₃, r₄ each have a single singleton class containing S_x, S_y, S_xz, S_yz respectively. P₁ has two ordered classes [{S_x}, {S_yz}], which are pairwise disjoint because S_x ≠ S_yz. P₂ has a single class [{S_y, S_xz}]. Each class is nonempty and the classes are pairwise disjoint.

    lines 86–135

    uses Finset.singleton_nonempty, List.pairwise_cons, Finset.disjoint_singleton_left, Finset.mem_singleton

      let r₁ : PowerRelation X := {
        classes := [{S_x}]
        classes_nonempty := by simp [Finset.singleton_nonempty]
        classes_disjoint := by simp
      }
    
      let r₂ : PowerRelation X := {
        classes := [{S_y}]
        classes_nonempty := by simp [Finset.singleton_nonempty]
        classes_disjoint := by simp
      }
    
      let r₃ : PowerRelation X := {
        classes := [{S_xz}]
        classes_nonempty := by simp [Finset.singleton_nonempty]
        classes_disjoint := by simp
      }
    
      let r₄ : PowerRelation X := {
        classes := [{S_yz}]
        classes_nonempty := by simp [Finset.singleton_nonempty]
        classes_disjoint := by simp
      }
    
      let P₁ : PowerRelation X := {
        classes := [{S_x}, {S_yz}]
        classes_nonempty := by
          intro c hc
          simp only [List.mem_cons, List.not_mem_nil, or_false] at hc
          rcases hc with rfl | rfl <;> exact Finset.singleton_nonempty _
        classes_disjoint := by
          rw [List.pairwise_cons]
          refine ⟨?_, by simp⟩
          intro a ha
          simp only [List.mem_singleton] at ha
          subst ha
          rw [Finset.disjoint_singleton_left, Finset.mem_singleton]
          exact h_Sx_ne_Syz
      }
    
      let P₂ : PowerRelation X := {
        classes := [{S_y, S_xz}]
        classes_nonempty := by
          intro c hc
          simp only [List.mem_singleton] at hc
          subst hc
          exact ⟨S_y, Finset.mem_insert_self S_y {S_xz}⟩
        classes_disjoint := by simp
      }
    
  7. P₁ is a merging sum of r₁ and r₄, P₂ is a merging sum of r₂ and r₃, and profile {P₁, P₂} is a merging sum of {r₁, r₂} and {r₄, r₃}.

    We determine the carriers of r₁, r₂, r₃, r₄, P₁, P₂ using the carrier lemmas, apply the singleton merging sum lemma to conclude P₁ = r₁ ⊕ r₄ and P₂ = r₂ ⊕ r₃, and pair them index by index in lists of length 2 to obtain the profile merging sum.

    lines 136–161

    uses impossibility_con_ucon_lex_cel_carrier_singleton, impossibility_con_ucon_lex_cel_carrier_two, impossibility_con_ucon_lex_cel_carrier_one_two, impossibility_con_ucon_lex_cel_ms_of_singletons

      have hr₁_c : power_relation_carrier r₁ = {S_x} :=
        impossibility_con_ucon_lex_cel_carrier_singleton r₁ S_x rfl
      have hr₂_c : power_relation_carrier r₂ = {S_y} :=
        impossibility_con_ucon_lex_cel_carrier_singleton r₂ S_y rfl
      have hr₃_c : power_relation_carrier r₃ = {S_xz} :=
        impossibility_con_ucon_lex_cel_carrier_singleton r₃ S_xz rfl
      have hr₄_c : power_relation_carrier r₄ = {S_yz} :=
        impossibility_con_ucon_lex_cel_carrier_singleton r₄ S_yz rfl
      have hP₁_c : power_relation_carrier P₁ = {S_x, S_yz} :=
        impossibility_con_ucon_lex_cel_carrier_two P₁ S_x S_yz rfl
      have hP₂_c : power_relation_carrier P₂ = {S_y, S_xz} :=
        impossibility_con_ucon_lex_cel_carrier_one_two P₂ S_y S_xz rfl
    
      have h_ms1 : is_merging_sum_power_relation P₁ r₁ r₄ :=
        impossibility_con_ucon_lex_cel_ms_of_singletons P₁ r₁ r₄ S_x S_yz h_Sx_ne_Syz hr₁_c hr₄_c hP₁_c
    
      have h_ms2 : is_merging_sum_power_relation P₂ r₂ r₃ :=
        impossibility_con_ucon_lex_cel_ms_of_singletons P₂ r₂ r₃ S_y S_xz h_Sy_ne_Sxz hr₂_c hr₃_c hP₂_c
    
      have h_ms_prof : is_merging_sum_power_profile ({P₁, P₂} : PowerProfile X) {r₁, r₂} {r₄, r₃} := by
        refine ⟨[P₁, P₂], [r₁, r₂], [r₄, r₃], rfl, rfl, rfl, rfl, rfl, ?_⟩
        rintro (_ | _ | n) h1 h2 h
        · exact h_ms1
        · exact h_ms2
        · simp at h1
    
  8. The social ranking solution ranks y weakly above x in the profile {P₁, P₂}: R.rel {P₁, P₂} y x.

    By Claim 2 with S = ∅, y is ranked weakly above x in {r₁, r₂}. By Claim 2 with S = {z}, y is ranked weakly above x in {r₃, r₄} = {r₄, r₃}. Since {P₁, P₂} is the merging sum of these two profiles of equal cardinality, consistency (CON) implies R.rel {P₁, P₂} y x.

    lines 162–183

    uses impossibility_con_ucon_lex_cel_claim2, Multiset.cons_swap

      have h_c2_1 : R.rel {r₁, r₂} y x := by
        have h_empty : (x ∉ (∅ : Finset X)) ∧ (y ∉ (∅ : Finset X)) := by simp
        have hr1_eq : r₁.classes = [{insert x ∅}] := by simp [r₁, S_x]
        have hr2_eq : r₂.classes = [{insert y ∅}] := by simp [r₂, S_y]
        have h := impossibility_con_ucon_lex_cel_claim2 R hCON hUCON hLE x y hxy ∅ h_empty r₁ r₂ hr1_eq hr2_eq
        exact h.2
    
      have h_c2_2 : R.rel {r₄, r₃} y x := by
        have hz_not : (x ∉ ({z} : Finset X)) ∧ (y ∉ ({z} : Finset X)) := by
          simp [hxz, hyz]
        have hr3_eq : r₃.classes = [{insert x {z}}] := by rfl
        have hr4_eq : r₄.classes = [{insert y {z}}] := by rfl
        have h := impossibility_con_ucon_lex_cel_claim2 R hCON hUCON hLE x y hxy {z} hz_not r₃ r₄ hr3_eq hr4_eq
        have h_swap : ({r₄, r₃} : PowerProfile X) = {r₃, r₄} := by
          change r₄ ::ₘ r₃ ::ₘ 0 = r₃ ::ₘ r₄ ::ₘ 0
          exact Multiset.cons_swap r₄ r₃ 0
        rw [h_swap]
        exact h.2
    
      have h_con_yx : R.rel {P₁, P₂} y x := by
        have h_cards : Multiset.card ({r₁, r₂} : PowerProfile X) = Multiset.card ({r₄, r₃} : PowerProfile X) := rfl
        exact (hCON {r₁, r₂} {r₄, r₃} {P₁, P₂} h_cards h_ms_prof y x).1 h_c2_1 h_c2_2
  9. In the single-relation profile {P₁}, x is strictly ranked above y: srs_strict R {P₁} x y.

    In P₁, x belongs to the first class {S_x} and not the second {S_yz}, giving appearance vector [1, 0]. In contrast, y appears in {S_yz} but not {S_x}, giving appearance vector [0, 1]. Since [1, 0] >_lex [0, 1], Lex-cel extension (LE) establishes that x is strictly preferred to y in {P₁}.

    lines 184–228

    uses Finset.filter_true_of_mem, Finset.filter_false_of_mem

      have h_P1_av_x : appearance_vector P₁ x = [1, 0] := by
        have h1 : ({S ∈ ({S_x} : Finset (Finset X)) | x ∈ S}) = {S_x} := by
          rw [Finset.filter_true_of_mem]
          simp [S_x]
        have h2 : ({S ∈ ({S_yz} : Finset (Finset X)) | x ∈ S}) = ∅ := by
          rw [Finset.filter_false_of_mem]
          simp [S_yz, hxy, hxz]
        change [{S ∈ ({S_x} : Finset (Finset X)) | x ∈ S}.card, {S ∈ ({S_yz} : Finset (Finset X)) | x ∈ S}.card] = [1, 0]
        rw [h1, h2]
        simp
    
      have h_P1_av_y : appearance_vector P₁ y = [0, 1] := by
        have h1 : ({S ∈ ({S_x} : Finset (Finset X)) | y ∈ S}) = ∅ := by
          rw [Finset.filter_false_of_mem]
          simp [S_x, hxy.symm]
        have h2 : ({S ∈ ({S_yz} : Finset (Finset X)) | y ∈ S}) = {S_yz} := by
          rw [Finset.filter_true_of_mem]
          simp [S_yz]
        change [{S ∈ ({S_x} : Finset (Finset X)) | y ∈ S}.card, {S ∈ ({S_yz} : Finset (Finset X)) | y ∈ S}.card] = [0, 1]
        rw [h1, h2]
        simp
    
      have h_P1_lex_xy : lex_cel P₁ x y := by
        dsimp [lex_cel]
        rw [h_P1_av_x, h_P1_av_y]
        dsimp [lex_ge]
        left
        omega
    
      have h_P1_not_lex_yx : ¬ lex_cel P₁ y x := by
        dsimp [lex_cel]
        rw [h_P1_av_x, h_P1_av_y]
        dsimp [lex_ge]
        intro h
        rcases h with h | ⟨h1, h2⟩ <;> omega
    
      have h_P1_strict : srs_strict R {P₁} x y := by
        dsimp [srs_strict]
        constructor
        · rw [hLE P₁ x y]
          exact h_P1_lex_xy
        · rw [hLE P₁ y x]
          exact h_P1_not_lex_yx
    
  10. In the single-relation profile {P₂}, x is weakly ranked above y: R.rel {P₂} x y.

    In P₂, the sole class is {S_y, S_xz}. Both x (belonging to S_xz) and y (belonging to S_y) appear in exactly one coalition in this class, producing identical appearance vectors [1] and [1]. Since [1] ≥_lex [1], Lex-cel extension (LE) yields R.rel {P₂} x y.

    lines 229–268

      have h_P2_av_x : appearance_vector P₂ x = [1] := by
        have h : ({S ∈ ({S_y, S_xz} : Finset (Finset X)) | x ∈ S}) = {S_xz} := by
          ext S
          simp only [Finset.mem_filter, Finset.mem_insert, Finset.mem_singleton, S_y, S_xz]
          constructor
          · rintro ⟨rfl | rfl, hx⟩
            · simp at hx
              exact (hxy hx).elim
            · rfl
          · rintro rfl
            simp
        change [{S ∈ ({S_y, S_xz} : Finset (Finset X)) | x ∈ S}.card] = [1]
        rw [h]
        simp
    
      have h_P2_av_y : appearance_vector P₂ y = [1] := by
        have h : ({S ∈ ({S_y, S_xz} : Finset (Finset X)) | y ∈ S}) = {S_y} := by
          ext S
          simp only [Finset.mem_filter, Finset.mem_insert, Finset.mem_singleton, S_y, S_xz]
          constructor
          · rintro ⟨rfl | rfl, hy⟩
            · rfl
            · simp at hy
              rcases hy with rfl | rfl
              · exact (hxy.symm rfl).elim
              · exact (hyz rfl).elim
          · rintro rfl
            simp
        change [{S ∈ ({S_y, S_xz} : Finset (Finset X)) | y ∈ S}.card] = [1]
        rw [h]
        simp
    
      have h_P2_rel_xy : R.rel {P₂} x y := by
        rw [hLE P₂ x y]
        dsimp [lex_cel]
        rw [h_P2_av_x, h_P2_av_y]
        dsimp [lex_ge]
        right
        exact ⟨rfl, trivial⟩
    
  11. Union consistency yields strict preference x ≻_R y in {P₁, P₂}, directly contradicting y ≿_R x.

    Because {P₁, P₂} = {P₁} + {P₂}, union consistency (UCON) combines the strict preference x ≻_R y in {P₁} with the weak preference x ≿_R y in {P₂} to conclude x ≻_R y strictly in {P₁, P₂}. By definition, strict preference requires ¬ R.rel {P₁, P₂} y x, contradicting the weak preference R.rel {P₁, P₂} y x derived from consistency.

    lines 269–274

      have h_ucon_strict : srs_strict R ({P₁, P₂} : PowerProfile X) x y := by
        have h_sum : ({P₁, P₂} : PowerProfile X) = {P₁} + {P₂} := rfl
        rw [h_sum]
        exact (hUCON {P₁} {P₂} x y).2 h_P1_strict h_P2_rel_xy
    
      exact h_ucon_strict.2 h_con_yx
List.mem_iff_getElem
an element belongs to a list if and only if it equals the element at some valid index
le_rfl
the preorder relation ≤ is reflexive (a ≤ a)
impossibility_con_ucon_lex_cel_pr_rel_refl
any coalition in the carrier of a power relation is weakly preferred to itself in that power relation
iff_of_true
two true propositions are logically equivalent
Set.infinite_univ
the universal set on an infinite type is infinite
Set.Infinite.sdiff
the set difference of an infinite set and a finite set is infinite
Set.finite_singleton
a singleton set is finite
Set.toFinite
a set that is finite as a subtype is finite
Finset.card_singleton
the cardinality of a singleton finite set is 1
Finset.card_pair
the cardinality of a pair of distinct elements is 2
Finset.singleton_nonempty
a singleton finite set is nonempty
List.pairwise_cons
a list a :: l is pairwise disjoint if a is disjoint from every element of l and l is pairwise disjoint
Finset.disjoint_singleton_left
a singleton {a} is disjoint from a finite set s if and only if a ∉ s
Finset.mem_singleton
an element belongs to a singleton set if and only if it equals that single element
impossibility_con_ucon_lex_cel_carrier_singleton
the carrier of a power relation with a single singleton class [{S}] is {S}
impossibility_con_ucon_lex_cel_carrier_two
the carrier of a power relation with two singleton classes [{S₁}, {S₂}] is {S₁, S₂}
impossibility_con_ucon_lex_cel_carrier_one_two
the carrier of a power relation with a single two-element class [{S₁, S₂}] is {S₁, S₂}
impossibility_con_ucon_lex_cel_ms_of_singletons
a power relation on two distinct singleton sets is their merging sum
impossibility_con_ucon_lex_cel_claim2
under CON, UCON, and LE, two singletons S ∪ {x} and S ∪ {y} form a two-relation profile in which x and y are indifferent
Multiset.cons_swap
the multiset constructor is commutative: a :: b :: s = b :: a :: s
Finset.filter_true_of_mem
filtering a finite set by a predicate that holds for all members returns the set itself
Finset.filter_false_of_mem
filtering a finite set by a predicate that is false for all members returns the empty set

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

lemma impossibility_con_ucon_lex_cel_pr_rel_refl {X : Type*} (r : PowerRelation X) (S : Finset X)    (hS : S ∈ power_relation_carrier r) : power_relation_rel r S S := by  rcases hS with ⟨c, hc, hSc⟩  rw [List.mem_iff_getElem] at hc  obtain ⟨i, hi, rfl⟩ := hc  exact ⟨i, i, hi, hi, hSc, hSc, le_rfl⟩lemma impossibility_con_ucon_lex_cel_carrier_singleton {X : Type*} (r : PowerRelation X) (S : Finset X)    (hr : r.classes = [{S}]) : power_relation_carrier r = {S} := by  ext T  simp [power_relation_carrier, hr]lemma impossibility_con_ucon_lex_cel_carrier_two {X : Type*} (r : PowerRelation X) (S₁ S₂ : Finset X)    (hr : r.classes = [{S₁}, {S₂}]) : power_relation_carrier r = {S₁, S₂} := by  ext T  simp [power_relation_carrier, hr]lemma impossibility_con_ucon_lex_cel_carrier_one_two {X : Type*} [DecidableEq X] (r : PowerRelation X) (S₁ S₂ : Finset X)    (hr : r.classes = [{S₁, S₂}]) : power_relation_carrier r = {S₁, S₂} := by  ext T  simp [power_relation_carrier, hr]lemma impossibility_con_ucon_lex_cel_ms_of_singletons {X : Type*} (r r₁ r₂ : PowerRelation X) (S₁ S₂ : Finset X)    (hS : S₁ ≠ S₂)    (hr₁ : power_relation_carrier r₁ = {S₁})    (hr₂ : power_relation_carrier r₂ = {S₂})    (hr : power_relation_carrier r = {S₁, S₂}) :    is_merging_sum_power_relation r r₁ r₂ := by  refine ⟨?_, ?_, ?_, ?_⟩  · rw [hr₁, hr₂]    exact Set.disjoint_singleton_left.mpr hS  · rw [hr, hr₁, hr₂]    ext x    simp only [Set.mem_insert_iff, Set.mem_singleton_iff, Set.mem_union]  · intro A hA B hB    rw [hr₁] at hA hB    simp only [Set.mem_singleton_iff] at hA hB    rw [hA, hB]    have hrS₁ : S₁ ∈ power_relation_carrier r := by rw [hr]; simp    have hr₁S₁ : S₁ ∈ power_relation_carrier r₁ := by rw [hr₁]; simp    exact iff_of_true (impossibility_con_ucon_lex_cel_pr_rel_refl r S₁ hrS₁)      (impossibility_con_ucon_lex_cel_pr_rel_refl r₁ S₁ hr₁S₁)  · intro A hA B hB    rw [hr₂] at hA hB    simp only [Set.mem_singleton_iff] at hA hB    rw [hA, hB]    have hrS₂ : S₂ ∈ power_relation_carrier r := by rw [hr]; simp    have hr₂S₂ : S₂ ∈ power_relation_carrier r₂ := by rw [hr₂]; simp    exact iff_of_true (impossibility_con_ucon_lex_cel_pr_rel_refl r S₂ hrS₂)      (impossibility_con_ucon_lex_cel_pr_rel_refl r₂ S₂ hr₂S₂)/-- Impossibility of reconciling consistency, union consistency, and Lex-cel extension: no social ranking solution satisfies CON, UCON, and LE simultaneously. -/theorem impossibility_con_ucon_lex_cel (X : Type*) [DecidableEq X] [Countable X] [Infinite X] :  ¬ ∃ (R : SocialRankingSolution X), satisfies_con R ∧ satisfies_ucon R ∧ satisfies_le R := by  rintro ⟨R, hCON, hUCON, hLE⟩  have h_univ : (Set.univ : Set X).Infinite := Set.infinite_univ  obtain ⟨x, -⟩ := h_univ.nonempty  have h_univ1 : (Set.univ \ {x} : Set X).Infinite := Set.Infinite.sdiff h_univ (Set.finite_singleton x)  obtain ⟨y, hy⟩ := h_univ1.nonempty  have hyx : y ≠ x := by aesop  have h_univ2 : (Set.univ \ {x, y} : Set X).Infinite := Set.Infinite.sdiff h_univ (Set.toFinite {x, y})  obtain ⟨z, hz⟩ := h_univ2.nonempty  have hzx : z ≠ x := by aesop  have hzy : z ≠ y := by aesop  have hxy : x ≠ y := hyx.symm  have hxz : x ≠ z := hzx.symm  have hyz : y ≠ z := hzy.symm  let S_x : Finset X := {x}  let S_y : Finset X := {y}  let S_yz : Finset X := {y, z}  let S_xz : Finset X := {x, z}  have h_Sx_ne_Syz : S_x ≠ S_yz := by    intro h    have hc : S_x.card = S_yz.card := by rw [h]    rw [Finset.card_singleton, Finset.card_pair hyz] at hc    omega  have h_Sy_ne_Sxz : S_y ≠ S_xz := by    intro h    have hc : S_y.card = S_xz.card := by rw [h]    rw [Finset.card_singleton, Finset.card_pair hxz] at hc    omega  let r₁ : PowerRelation X := {    classes := [{S_x}]    classes_nonempty := by simp [Finset.singleton_nonempty]    classes_disjoint := by simp  }  let r₂ : PowerRelation X := {    classes := [{S_y}]    classes_nonempty := by simp [Finset.singleton_nonempty]    classes_disjoint := by simp  }  let r₃ : PowerRelation X := {    classes := [{S_xz}]    classes_nonempty := by simp [Finset.singleton_nonempty]    classes_disjoint := by simp  }  let r₄ : PowerRelation X := {    classes := [{S_yz}]    classes_nonempty := by simp [Finset.singleton_nonempty]    classes_disjoint := by simp  }  let P₁ : PowerRelation X := {    classes := [{S_x}, {S_yz}]    classes_nonempty := by      intro c hc      simp only [List.mem_cons, List.not_mem_nil, or_false] at hc      rcases hc with rfl | rfl <;> exact Finset.singleton_nonempty _    classes_disjoint := by      rw [List.pairwise_cons]      refine ⟨?_, by simp⟩      intro a ha      simp only [List.mem_singleton] at ha      subst ha      rw [Finset.disjoint_singleton_left, Finset.mem_singleton]      exact h_Sx_ne_Syz  }  let P₂ : PowerRelation X := {    classes := [{S_y, S_xz}]    classes_nonempty := by      intro c hc      simp only [List.mem_singleton] at hc      subst hc      exact ⟨S_y, Finset.mem_insert_self S_y {S_xz}⟩    classes_disjoint := by simp  }  have hr₁_c : power_relation_carrier r₁ = {S_x} :=    impossibility_con_ucon_lex_cel_carrier_singleton r₁ S_x rfl  have hr₂_c : power_relation_carrier r₂ = {S_y} :=    impossibility_con_ucon_lex_cel_carrier_singleton r₂ S_y rfl  have hr₃_c : power_relation_carrier r₃ = {S_xz} :=    impossibility_con_ucon_lex_cel_carrier_singleton r₃ S_xz rfl  have hr₄_c : power_relation_carrier r₄ = {S_yz} :=    impossibility_con_ucon_lex_cel_carrier_singleton r₄ S_yz rfl  have hP₁_c : power_relation_carrier P₁ = {S_x, S_yz} :=    impossibility_con_ucon_lex_cel_carrier_two P₁ S_x S_yz rfl  have hP₂_c : power_relation_carrier P₂ = {S_y, S_xz} :=    impossibility_con_ucon_lex_cel_carrier_one_two P₂ S_y S_xz rfl  have h_ms1 : is_merging_sum_power_relation P₁ r₁ r₄ :=    impossibility_con_ucon_lex_cel_ms_of_singletons P₁ r₁ r₄ S_x S_yz h_Sx_ne_Syz hr₁_c hr₄_c hP₁_c  have h_ms2 : is_merging_sum_power_relation P₂ r₂ r₃ :=    impossibility_con_ucon_lex_cel_ms_of_singletons P₂ r₂ r₃ S_y S_xz h_Sy_ne_Sxz hr₂_c hr₃_c hP₂_c  have h_ms_prof : is_merging_sum_power_profile ({P₁, P₂} : PowerProfile X) {r₁, r₂} {r₄, r₃} := by    refine ⟨[P₁, P₂], [r₁, r₂], [r₄, r₃], rfl, rfl, rfl, rfl, rfl, ?_⟩    rintro (_ | _ | n) h1 h2 h    · exact h_ms1    · exact h_ms2    · simp at h1  have h_c2_1 : R.rel {r₁, r₂} y x := by    have h_empty : (x ∉ (∅ : Finset X)) ∧ (y ∉ (∅ : Finset X)) := by simp    have hr1_eq : r₁.classes = [{insert x ∅}] := by simp [r₁, S_x]    have hr2_eq : r₂.classes = [{insert y ∅}] := by simp [r₂, S_y]    have h := impossibility_con_ucon_lex_cel_claim2 R hCON hUCON hLE x y hxy ∅ h_empty r₁ r₂ hr1_eq hr2_eq    exact h.2  have h_c2_2 : R.rel {r₄, r₃} y x := by    have hz_not : (x ∉ ({z} : Finset X)) ∧ (y ∉ ({z} : Finset X)) := by      simp [hxz, hyz]    have hr3_eq : r₃.classes = [{insert x {z}}] := by rfl    have hr4_eq : r₄.classes = [{insert y {z}}] := by rfl    have h := impossibility_con_ucon_lex_cel_claim2 R hCON hUCON hLE x y hxy {z} hz_not r₃ r₄ hr3_eq hr4_eq    have h_swap : ({r₄, r₃} : PowerProfile X) = {r₃, r₄} := by      change r₄ ::ₘ r₃ ::ₘ 0 = r₃ ::ₘ r₄ ::ₘ 0      exact Multiset.cons_swap r₄ r₃ 0    rw [h_swap]    exact h.2  have h_con_yx : R.rel {P₁, P₂} y x := by    have h_cards : Multiset.card ({r₁, r₂} : PowerProfile X) = Multiset.card ({r₄, r₃} : PowerProfile X) := rfl    exact (hCON {r₁, r₂} {r₄, r₃} {P₁, P₂} h_cards h_ms_prof y x).1 h_c2_1 h_c2_2  have h_P1_av_x : appearance_vector P₁ x = [1, 0] := by    have h1 : ({S ∈ ({S_x} : Finset (Finset X)) | x ∈ S}) = {S_x} := by      rw [Finset.filter_true_of_mem]      simp [S_x]    have h2 : ({S ∈ ({S_yz} : Finset (Finset X)) | x ∈ S}) = ∅ := by      rw [Finset.filter_false_of_mem]      simp [S_yz, hxy, hxz]    change [{S ∈ ({S_x} : Finset (Finset X)) | x ∈ S}.card, {S ∈ ({S_yz} : Finset (Finset X)) | x ∈ S}.card] = [1, 0]    rw [h1, h2]    simp  have h_P1_av_y : appearance_vector P₁ y = [0, 1] := by    have h1 : ({S ∈ ({S_x} : Finset (Finset X)) | y ∈ S}) = ∅ := by      rw [Finset.filter_false_of_mem]      simp [S_x, hxy.symm]    have h2 : ({S ∈ ({S_yz} : Finset (Finset X)) | y ∈ S}) = {S_yz} := by      rw [Finset.filter_true_of_mem]      simp [S_yz]    change [{S ∈ ({S_x} : Finset (Finset X)) | y ∈ S}.card, {S ∈ ({S_yz} : Finset (Finset X)) | y ∈ S}.card] = [0, 1]    rw [h1, h2]    simp  have h_P1_lex_xy : lex_cel P₁ x y := by    dsimp [lex_cel]    rw [h_P1_av_x, h_P1_av_y]    dsimp [lex_ge]    left    omega  have h_P1_not_lex_yx : ¬ lex_cel P₁ y x := by    dsimp [lex_cel]    rw [h_P1_av_x, h_P1_av_y]    dsimp [lex_ge]    intro h    rcases h with h | ⟨h1, h2⟩ <;> omega  have h_P1_strict : srs_strict R {P₁} x y := by    dsimp [srs_strict]    constructor    · rw [hLE P₁ x y]      exact h_P1_lex_xy    · rw [hLE P₁ y x]      exact h_P1_not_lex_yx  have h_P2_av_x : appearance_vector P₂ x = [1] := by    have h : ({S ∈ ({S_y, S_xz} : Finset (Finset X)) | x ∈ S}) = {S_xz} := by      ext S      simp only [Finset.mem_filter, Finset.mem_insert, Finset.mem_singleton, S_y, S_xz]      constructor      · rintro ⟨rfl | rfl, hx⟩        · simp at hx          exact (hxy hx).elim        · rfl      · rintro rfl        simp    change [{S ∈ ({S_y, S_xz} : Finset (Finset X)) | x ∈ S}.card] = [1]    rw [h]    simp  have h_P2_av_y : appearance_vector P₂ y = [1] := by    have h : ({S ∈ ({S_y, S_xz} : Finset (Finset X)) | y ∈ S}) = {S_y} := by      ext S      simp only [Finset.mem_filter, Finset.mem_insert, Finset.mem_singleton, S_y, S_xz]      constructor      · rintro ⟨rfl | rfl, hy⟩        · rfl        · simp at hy          rcases hy with rfl | rfl          · exact (hxy.symm rfl).elim          · exact (hyz rfl).elim      · rintro rfl        simp    change [{S ∈ ({S_y, S_xz} : Finset (Finset X)) | y ∈ S}.card] = [1]    rw [h]    simp  have h_P2_rel_xy : R.rel {P₂} x y := by    rw [hLE P₂ x y]    dsimp [lex_cel]    rw [h_P2_av_x, h_P2_av_y]    dsimp [lex_ge]    right    exact ⟨rfl, trivial⟩  have h_ucon_strict : srs_strict R ({P₁, P₂} : PowerProfile X) x y := by    have h_sum : ({P₁, P₂} : PowerProfile X) = {P₁} + {P₂} := rfl    rw [h_sum]    exact (hUCON {P₁} {P₂} x y).2 h_P1_strict h_P2_rel_xy  exact h_ucon_strict.2 h_con_yx
See it in the graphDiscuss this resultChallenge it