Encode a local arrow using endpoint references
DefinitionAPFOriginalLocal_encodeapforiginal-localprivate
Encode a local arrow using endpoint references
Compose an existing source-sector return, the arrow and the inverse target-sector return.
Generic supporting mathematics at the stated hypotheses. Local inverses and sector domains are supplied inputs; the result retains their exact domain restrictions.
Definition code
import Definitions.Def_APFTypedHistory
import Definitions.Def_APFOriginalLocal_mul
import Definitions.Def_APFOriginalLocal_LocalArrow
import Definitions.Def_APFOriginalLocal_Sector
import Definitions.Def_APFObservedHistory
import Definitions.Def_APFOriginalLocal_inv
import Mathlib.Tactic
open APFTypedHistory APFObservedHistory APFObservedProcess
open APFOriginalLocal
set_option autoImplicit false
universe u v w
variable {N : Type u} {E : N → N → Type v} {V : Type w} {a b c d : N}
variable {L : Language E a} {B : Observation E V a}
variable {e f g : Sector L B}
noncomputable def APFOriginalLocal.encode (hc : PrefixClosed L) (hb : Compatible L B)
(rb : LocalArrow e e) (rc : LocalArrow f f) (q : LocalArrow e f) : LocalArrow e f :=
mul hc hb (mul hc hb rb q) (inv rc)
Source
Accepted OriginalLocalReference SHA 3dafc11eb36205d54a9df54fb3524e747995271c4180593bbb2b24539276c481