Mirroring contexts and candidate admission invariance in the pass world
DefinitionAPFPaper5_Worlds_PassWorld_MirrorDefines mirrored words/places and admission invariance globally or only where the pool is held. All states, fragments, costs, capacities, protocol membership, actual alignments and singleton admissible sets for A2/BW are supplied data. Satisfaction of declared forms on them certifies no original physical instance. B02 r2 is handled as the current finite-combination clause; r3 is not installed. The two admission-invariance sentences are proposed test conditions, not author-adopted inputs. Equal record bills do not imply equal execution admission.
Supplied data and hypotheses
- All states, fragments, costs, capacities, protocol membership, actual alignments and singleton admissible sets for A2/BW are supplied data. Satisfaction of declared forms on them certifies no original physical instance. B02 r2 is handled as the current finite-combination clause; r3 is not installed. The two admission-invariance sentences are proposed test conditions, not author-adopted inputs. Equal record bills do not imply equal execution admission.
Limits
This is conditional reference mathematics. The supplied model and its hypotheses are not adopted Foundation inputs, and this node does not establish K1, K3 or K4 closure.
/-
APF Foundation Ledger — definition node DRAFT (session EthanBrooke-01WrrBvu, 2026-11-14; not gated, not reviewed)
name: APFPaper5_Worlds_PassWorld_Mirror
title: In the pass world: a word and a place read from the other context, and the sentence that places read alike admit the same words
inputs_revision: 2026-11-14.1
mathlib_rev: 0df444a360eaa60ab8c11dca51a86af692955474
source: supplied data (Def_APFPaper5_Worlds_PassWorld). The author's "Proceed" of 2026-11-14 17:01 HST. The
author's statements read here: 2026-11-13 23:32 HST ("reading is an action, a distinction is a thing.
Taking a different action does not change the thing") and 2026-11-14 03:12 HST ("region's distinctions
tell its states apart"). FOUNDATION_INPUTS is not consumed.
standing: supplied data and a CANDIDATE sentence typed for a test, in two strengths. Neither is a ruling,
an adopted reading or an input.
reading: each context reads two distinctions, "the mark is here" and "the pool is held". The place
(other g, flip x) is read by the other context exactly as (g, x) is read by g. mirrorW is a word with each
context replaced by the other. AdmittedEitherWay says: a word admitted at a place is admitted, with the
contexts renamed, at the place the other context reads alike. It is "told apart" said across the two
contexts.
AdmittedEitherWayWherePoolHeld says the same only of places where the pool is held: the two contexts are
compared only where the record they share is kept.
statement: mirrorW, mirror, mirrorPlace, AdmittedEitherWay, AdmittedEitherWayWherePoolHeld.
-/
import Definitions.Def_APFPaper5_Worlds_PassWorld
set_option autoImplicit false
open APFPaper1.Continuation
namespace APFPaper5.Worlds.PassWorld
/-- A word with each context replaced by the other: the same fragments in the same order. -/
def mirrorW : {g h : Ctx} → Word Frag g h → Word Frag (other g) (other h)
| _, _, Word.nil g => Word.nil (other g)
| _, _, Word.cons (g := g) (h := h) (k := k) f w =>
Word.cons (g := other g) (h := other h) (k := other k) f (mirrorW w)
def mirror (g : Ctx) (w : WordFrom Frag g) : WordFrom Frag (other g) := ⟨other w.1, mirrorW w.2⟩
/-- The place the other context reads as this context reads the given place. -/
def mirrorPlace : Ctx × G → Ctx × G := fun u => (other u.1, flip u.2)
/-- Places read alike admit the same words: a word admitted at a place is admitted, with the contexts
renamed, at the place the other context reads alike. -/
def AdmittedEitherWay (ret : Bool) : Prop :=
∀ (g : Ctx) (x : G) (w : WordFrom Frag g), K ret g x w → K ret (other g) (flip x) (mirror g w)
/-- The same, said only of places where the pool is held. -/
def AdmittedEitherWayWherePoolHeld (ret : Bool) : Prop :=
∀ (g : Ctx) (x : G) (w : WordFrom Frag g), x.2 = true → K ret g x w →
K ret (other g) (flip x) (mirror g w)
end APFPaper5.Worlds.PassWorld