Admissible maps factor uniquely through process classes
ProvedAPFProcessQuotient.factorizationFor any typed comparison target on reachable contexts with a functional partial product, a map on supported words that respects complete admission equivalence and preserves defined products descends uniquely to classes. The descended map preserves product definedness and value, and precomposition gives the converse. Unit preservation, domain reflection on source-compatible pairs, and exact kernel/hom-set injectivity remain separate conditional equivalences.
Generic mathematical scope: the displayed prefix-closed language and comparison hypotheses remain explicit. This supporting result does not supply a physical language or comparison target.
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.
import Definitions.Def_APFProcessFactorization
import Theorems.Thm_APFProcessQuotient_quotient_laws
set_option autoImplicit false
namespace APFProcessQuotient
open APFTypedHistory
universe u v w z
variable {N : Type u} {E : N → N → Type v} {a : N} {L : Language E a}
variable {B : Target.{u,w,z} (ReachableContext L)}
theorem descend_eq (F : WordMap L B) (hF : Respects F) : Descends F (descend F hF) :=
fun _ _ _ => rfl
theorem descent_unique (F : WordMap L B) (hF : Respects F)
(G : ClassMap L B) (hG : Descends F G) : G = descend F hF := by
funext b c q
induction q using Quotient.inductionOn with | h p => exact hG b c p
theorem descent_product (hc : PrefixClosed L) (F : WordMap L B)
(hF : Respects F) (hP : WordProduct F) : ClassProduct (descend F hF) := by
intro b c d q r
induction q using Quotient.inductionOn with | h p =>
induction r using Quotient.inductionOn with | h q =>
intro t ht
have hsup := (domain_class_iff hc p q).mp ht.1
have et : t = classOf ⟨Path.append p.val q.val,hsup⟩ :=
(quotient_laws L hc).2.2.2.2.2.2.1 b.val c.val d.val _ _ _ _ ht (comp_class hc p q hsup)
rw [et]
exact hP b c d p q hsup
theorem optional_laws (hc : PrefixClosed L) (F : WordMap L B) (G : ClassMap L B)
(hG : Descends F G) : OptionalLaws F G := by
refine ⟨?_,?_,?_⟩
· intro unit
constructor
· intro hu b
exact (hG b b _).trans (hu b)
· intro hu b
exact (hG b b _).symm.trans (hu b)
· constructor
· intro hr b c d q r
induction q using Quotient.inductionOn with | h p =>
induction r using Quotient.inductionOn with | h q =>
intro ht
change (∃ t, B.product (G b c (classOf p)) (G c d (classOf q)) t) at ht
rw [hG b c p,hG c d q] at ht
exact (domain_class_iff hc p q).mpr (hr b c d p q ht)
· intro hr b c d p q ht
apply (domain_class_iff hc p q).mp
apply hr b c d (classOf p) (classOf q)
rwa [hG b c p,hG c d q]
· constructor
· intro hk b c q r
induction q using Quotient.inductionOn with | h p =>
induction r using Quotient.inductionOn with | h q =>
intro he
change G b c (classOf p) = G b c (classOf q) at he
rw [hG b c p,hG b c q] at he
exact Quotient.sound (hk b c p q he)
· intro hi b c p q he
have e : G b c (classOf p) = G b c (classOf q) := by
rw [hG b c p,hG b c q]
exact he
exact Quotient.exact (hi b c (classOf p) (classOf q) e)
theorem precomposition (hc : PrefixClosed L) (G : ClassMap L B) (hG : ClassProduct G) :
Respects (fun b c p => G b c (classOf p)) ∧
WordProduct (fun b c p => G b c (classOf p)) := by
constructor
· intro b c p q he
exact congrArg (G b c) (Quotient.sound he)
· intro b c d p q h
exact hG b c d _ _ _ (comp_class hc p q h)
end APFProcessQuotient
open APFTypedHistory APFProcessQuotient
universe u v w z
variable {N : Type u} {E : N → N → Type v} {a : N}
theorem APFProcessQuotient.factorization (L : Language E a) (hc : PrefixClosed L) : FactorizationLaws.{u,v,w,z} L := by
sorry