AFTD Auto-Formalizing Theoretical Domains

spider_reverse_centre_status

def

The reversal of a centre status: none and free are fixed, incoming and outgoing are exchanged.

Statement

def spider_reverse_centre_status : CentreStatus → CentreStatus
Source
step towards spider_eventual_parity_two_three
Verified
18 Oct 2026
Axioms
none listed
Built on 1
  • CentreStatusThe status of the central vertex in a spider state: none (no marked arcs incident), incoming (at least one incoming arc), outgoing (at…
Used by 3
  • spider_blocked_two_three_reversalFor any fuel and leg length t, the spider gamma value with centre none and legs (t, outward), (2, free), (3, free) equals the gamma value…
  • spider_blocked_outgoing_one_inwardFor the mirror configuration (out;{(1,inward)}), the blocked family at level r equals r xor 1 for every r ≥ 1 and both far ends φ.
  • spider_gamma_reversalFor every fuel, centre status s and leg list L, the value of the spider state (s;L) equals the value of the state obtained by exchanging…

Lean source view module on GitHub

/-- Reversal of the centre status: incoming ↦ outgoing, outgoing ↦ incoming, none and free fixed. -/
def spider_reverse_centre_status : CentreStatus → CentreStatus
  | .none => .none
  | .incoming => .outgoing
  | .outgoing => .incoming
  | .free => .free
See it in the graphDiscuss this resultChallenge it