Attained records and whole-fiber compatible responses
DefinitionAPFControlCriterionSupplied mathematical definitions for the attained-fiber control criterion: Attained, observed, HasPolicy, WholeFiberCompatible, emptyObservation, threeResponses and oneRecord. Arbitrary observation e and response relation W are data. Policies act only on attained record values; no fallback response or nonempty response type is silently required. Whole-fiber compatibility quantifies over every challenge sharing a record. The Empty/Bool and Fin3 definitions specify the two exact scope examples. This bundle contains definitions only, not the three theorem proofs.
Papers: Personally read Ashby original202–205/214–215 text and204–205 table image: multiple acceptable responses precede special no-column-repetition counting. P1v9.24 original domain/admission/whole-support clauses identify separate physical application obligations.
Codebank: Exact accepted AttainedFiberControl source compared with existing Regulation, general-k variety bound, Boolean readout factorization and supplied RecordRealization/Execution/cost bridge. Seven original mathematical definition declarations preserved in this bundle.
Machine_checked: Native extracted definition compiles at Lean4.33.1/mathlib0df444a3. Exact original mathematical tool has independent acceptance6a1a83b9. The three theorem declarations are not contained here and will be separately registered/proved; no current remote acceptance or graph completion claim.
Foundation: Ordinary mathematical types, supplied observation e and response relation W, attained subtype and concrete boundary data. No physical premise or APF theorem imported. Mathematical selector existence uses classical choice in the separately delivered principal; it gives no physically available, executable or affordable selector.
No original physical observation/action/success construction, execution, affordable attainment, transport, time, quantum emergence or APF input elimination is established. Source comparison links to prior Ashby/LoF/APF work are not native proof dependencies.
import Mathlib.Data.Set.Function
import Mathlib.Data.Fintype.Basic
/-!
Ordinary mathematical control criterion, selected 2026-09-13.
No physical protocol, executable selector, price, or APF input reduction is claimed.
`W u` is an arbitrary response relation. A physical interpretation must separately
supply its original task, observation, available actions, and success semantics.
-/
namespace APFControlCriterion
universe u r m
abbrev Attained {U : Type u} {M : Type m} (e : U → M) := Set.range e
def observed {U : Type u} {M : Type m} (e : U → M) (x : U) : Attained e :=
⟨e x, ⟨x, rfl⟩⟩
def HasPolicy {U : Type u} {R : Type r} {M : Type m}
(e : U → M) (W : U → Set R) : Prop :=
∃ policy : Attained e → R, ∀ x, policy (observed e x) ∈ W x
def WholeFiberCompatible {U : Type u} {R : Type r} {M : Type m}
(e : U → M) (W : U → Set R) : Prop :=
∀ record : Attained e, ∃ response : R,
∀ x : U, e x = record.val → response ∈ W x
def emptyObservation : Empty → Bool := Empty.elim
def threeResponses (i : Fin 3) : Set (Fin 3) := {response | response ≠ i}
def oneRecord : Fin 3 → Bool := fun _ => false
end APFControlCriterion