AFTD Auto-Formalizing Theoretical Domains

word_block_exchange_before

def

The word before a block exchange is the concatenation XABY.

Statement

def word_block_exchange_before {α : Type*} (E : WordBlockExchange α) : List α
Defined in
arXiv:2610.39941, Section 4
Verified
31 Oct 2026
Axioms
none listed
Built on 1
  • WordBlockExchangeA word block exchange consists of four words X, A, B, Y over an alphabet.
Used by 1

Read back from the Lean

Given a type α and a WordBlockExchange α structure E (with fields X, A, B, Y of type List α), word_block_exchange_before E is defined as the concatenation of lists E.X ++ E.A ++ E.B ++ E.Y.

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

Lean source view module on GitHub

/-- The word before the exchange: XABY. -/
def word_block_exchange_before {α : Type*} (E : WordBlockExchange α) : List α :=
  E.X ++ E.A ++ E.B ++ E.Y
See it in the graphDiscuss this resultChallenge it