The identity arrow of a sector
DefinitionAPFOriginalLocal_identapforiginal-localprivate
The identity arrow of a sector
The sector identity itself supplies a local arrow from the sector to itself.
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 Definitions.Def_APFObservedQuotient
import Theorems.Thm_APFOriginalLocal_sector_action
import Definitions.Def_APFOriginalLocal_LocalInverse
import Definitions.Def_APFObservedHistory
import Definitions.Def_APFOriginalLocal_Dom
import Definitions.Def_APFOriginalLocal_Ran
import Definitions.Def_APFTypedHistory
import Definitions.Def_APFOriginalLocal_LocalArrow
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}
def APFOriginalLocal.ident (e : Sector L B) : LocalArrow e e := by
refine ⟨e.unit,⟨⟨e.unit,?_⟩,rfl,?_⟩⟩
· intro s t; rw [sector_action,sector_action]
constructor <;> rintro ⟨rfl,h⟩ <;> exact ⟨rfl,h⟩
· funext t; apply propext
constructor
· rintro ⟨s,h⟩; have he := e.subidentity s t h; subst t; exact ⟨s,h⟩
· rintro ⟨s,h⟩; have he := e.subidentity t s h; subst s; exact ⟨t,h⟩
Source
Accepted OriginalLocal SHA 31b74cd9a04008f25a339a06af9a31e38a4f85ff3916a2a12b4b6ac0ebb4fe32