Reverse a local arrow
DefinitionAPFOriginalLocal_invapforiginal-localprivate
Reverse a local arrow
Exchange the sector endpoints using the existing reverse process and the exact domain-range equalities.
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_APFOriginalLocal_Sector
import Theorems.Thm_APFOriginalLocal_converse_symm
import Definitions.Def_APFOriginalLocal_LocalArrow
import Theorems.Thm_APFOriginalLocal_converse_domains
import Definitions.Def_APFOriginalLocal_LocalInverse
import Definitions.Def_APFObservedHistory
import Definitions.Def_APFObservedQuotient
import Definitions.Def_APFOriginalLocal_Dom
import Definitions.Def_APFOriginalLocal_Ran
import Definitions.Def_APFOriginalLocal_reverseClass
import Theorems.Thm_APFOriginalLocal_reverse_spec
import Definitions.Def_APFTypedHistory
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 k : Sector L B}
noncomputable def APFOriginalLocal.inv (q : LocalArrow e f) : LocalArrow f e :=
⟨reverseClass q,⟨⟨q.val,converse_symm (reverse_spec q)⟩,
(converse_domains (reverse_spec q)).1.trans q.property.2.2,
(converse_domains (reverse_spec q)).2.trans q.property.2.1⟩⟩
Source
Accepted OriginalLocal SHA 31b74cd9a04008f25a339a06af9a31e38a4f85ff3916a2a12b4b6ac0ebb4fe32