Supported process classes and exact composition domains
DefinitionAPFProcessQuotientapfprocess-quotient
Defines supported quotient classes, their actions, common-chain composition domain and relational product, inhabited-context identities, action-image and quotient-law bundles, and ordinary typed target data. Imports the proved comparison module and its helpers; register only after that predecessor is accepted.
This concerns complete admission behavior. It does not identify full physical boundary profiles or physical outcomes, descend costs, assert observed execution, or provide quantum structure. Supported means a nonempty action domain, not maintained physical support.
Definition code
import Theorems.Thm_APFProcessQuotient_contextual_action
set_option autoImplicit false
namespace APFProcessQuotient
open APFTypedHistory
universe u v w z
variable {N : Type u} {E : N → N → Type v} {a b c d : N}
/-- Context labels are retained; inhabitance does not identify different labels. -/
def ReachableContext (L : Language E a) := {b : N // Nonempty (State L b)}
def Q (L : Language E a) (b c : N) := Quotient (contextSetoid L b c)
def ReachableHom (L : Language E a) (b c : ReachableContext L) := Q L b.val c.val
def classOf {L : Language E a} (p : SupportedWord L b c) : Q L b c := Quotient.mk _ p
def qAction {L : Language E a} (q : Q L b c) : State L b → State L c → Prop :=
Quotient.lift (fun p => Action L p.val) (fun _ _ h => context_to_action h) q
/-- A single common sequential chain, not separate nonempty domains. -/
def Domain {L : Language E a} (q : Q L b c) (r : Q L c d) : Prop :=
∃ s m t, qAction q s m ∧ qAction r m t
/-- Relational presentation of the partial operation. Existence exactly on Domain
and uniqueness are theorems, not fields of an assumed algebra. -/
def Comp {L : Language E a} (q : Q L b c) (r : Q L c d) (t : Q L b d) : Prop :=
Domain q r ∧ qAction t = fun s z => ∃ m, qAction q s m ∧ qAction r m z
def qId {L : Language E a} (b : N) (hb : Nonempty (State L b)) : Q L b b :=
classOf ⟨.nil b, by obtain ⟨s⟩ := hb; exact ⟨s,s,step_identity s⟩⟩
def NonemptyActionImage (L : Language E a) (b c : N) :=
{A : State L b → State L c → Prop // ∃ p : SupportedWord L b c, A = Action L p.val}
def QuotientLaws (L : Language E a) : Prop :=
(∀ (b c : N) (p : SupportedWord L b c), qAction (classOf p) = Action L p.val) ∧
(∀ (b c : N) (q r : Q L b c), qAction q = qAction r ↔ q = r) ∧
(∀ (b c : N) (q : Q L b c), ∃ s t, qAction q s t) ∧
(∀ (b c : N) (q : Q L b c) (s : State L b) (t t' : State L c),
qAction q s t → qAction q s t' → t = t') ∧
(∀ (b c : N) (A : NonemptyActionImage L b c), ∃ q : Q L b c, qAction q = A.val) ∧
(∀ (b c d : N) (q : Q L b c) (r : Q L c d),
Domain q r ↔ ∃ t, Comp q r t) ∧
(∀ (b c d : N) (q : Q L b c) (r : Q L c d) (t t' : Q L b d),
Comp q r t → Comp q r t' → t = t') ∧
(∀ (b c d : N) (p : SupportedWord L b c) (q : SupportedWord L c d),
Domain (classOf p) (classOf q) ↔ Supported L (Path.append p.val q.val)) ∧
(∀ (b c d : N) (p : SupportedWord L b c) (q : SupportedWord L c d)
(h : Supported L (Path.append p.val q.val)),
Comp (classOf p) (classOf q) (classOf ⟨Path.append p.val q.val,h⟩)) ∧
(∀ (b c : N) (q : Q L b c) (hb : Nonempty (State L b)) (hc : Nonempty (State L c)),
Comp (qId b hb) q q ∧ Comp q (qId c hc) q) ∧
(∀ (b : N), Supported L (.nil b) ↔ Nonempty (State L b)) ∧
(∀ (b c d e : N) (q : Q L b c) (r : Q L c d) (s : Q L d e),
((∃ qr t, Comp q r qr ∧ Comp qr s t) ↔
∃ x y z w, qAction q x y ∧ qAction r y z ∧ qAction s z w) ∧
((∃ rs t, Comp r s rs ∧ Comp q rs t) ↔
∃ x y z w, qAction q x y ∧ qAction r y z ∧ qAction s z w) ∧
(∀ qr rs t t', Comp q r qr → Comp qr s t → Comp r s rs → Comp q rs t' → t = t'))
/-- Ordinary typed target data for the universal property. No physical target is
postulated; target functionality makes this a partial operation. -/
structure Target (N : Type u) where
Obj : Type w
object : N → Obj
Hom : Obj → Obj → Type z
product : {b c d : Obj} → Hom b c → Hom c d → Hom b d → Prop
functional : ∀ {b c d} {p : Hom b c} {q : Hom c d} {r s : Hom b d},
product p q r → product p q s → r = s
end APFProcessQuotient
Source
APF Paper 1 Supplement v9.27: finite admissible continuations/C1/C3, original operational occupancy and typed process fragments. Accepted whole-process written result, 21 September 2026; independent exact formal/source review accepted for repaired r2, 21 September 2026.