Skip to content

[application][P2] Deco inverse words and adjacent-label swap realization #783

Description

@PerAlexandersson

Parent: #777
Depends on: normalized-code core child of #777
Roadmap parent: #697

Goal

Define the all-rank inverse word attached to a chronological deco code, using either a checked right-inversion-vector decoder or the equivalent recursive insertion API. Prove:

  • the normal (0,2) and exceptional (1,0) two-step extensions have the displayed inverse-word forms;
  • replacing one eligible normalized pair by an exceptional pair swaps exactly the adjacent final labels h-j and h-j+1;
  • later construction steps transport that swap to the claimed final labels;
  • simultaneous selected replacements equal the product of the corresponding swaps;
  • eligible-pair non-overlap gives disjoint supports and hence commutation;
  • the comparison word/descent positions are unchanged.

The theorem must use chronological one-based start j, with 3 ≤ j < h.

Suggested ownership

Create RealRooted/Applications/OEIS/A144438/InverseWord.lean. Depend on the normalized-code module; do not edit it or the polynomial-factorization modules.

Boundaries

Do not prove the descent-bottom monomial orbit sum or stability here. Finite evaluation examples may be tests but are not the all-rank proof.

Acceptance

  • Checked decoder or recursive inverse-word construction.
  • Single-pair and finite selected-pair swap witnesses.
  • Checked commutation/disjoint-support and comparison-word invariance.
  • No sorry, admit, new axiom, statement-only substitute, or prohibited tactic.
  • Focused and full builds plus proof-status and axiom audits pass.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    applicationConcrete family, model, or theorem instance using the library

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions