AFTD Auto-Formalizing Theoretical Domains

ranking_swap

def

The ranking obtained from r by exchanging the goods in positions k and l.

Statement

def ranking_swap {G : Type*} {m : ℕ} (r : Fin m ≃ G) (k l : Fin m) : Fin m ≃ G
Defined in
arXiv:2610.23040 Definition 3.5
Verified
19 Oct 2026
Axioms
none listed
Used by 4

Lean source view module on GitHub

/-- The ranking obtained from `r` by exchanging the goods in positions `k` and `l` (a swap, Definition 3.5 of arXiv:2610.23040). -/
def ranking_swap {G : Type*} {m : ℕ} (r : Fin m ≃ G) (k l : Fin m) : Fin m ≃ G :=
  (Equiv.swap k l).trans r
See it in the graphDiscuss this resultChallenge it