Horn Covarieties for Coalgebras Jesse Hughes jesseh@cs.kun.nl - - PowerPoint PPT Presentation

horn covarieties for coalgebras
SMART_READER_LITE
LIVE PREVIEW

Horn Covarieties for Coalgebras Jesse Hughes jesseh@cs.kun.nl - - PowerPoint PPT Presentation

Horn Covarieties for Coalgebras Jesse Hughes jesseh@cs.kun.nl University of Nijmegen Horn Covarieties for Coalgebras p.1/26 Outline I. Infinitary Horn varieties Horn Covarieties for Coalgebras p.2/26 Outline I. Infinitary Horn


slide-1
SLIDE 1

Horn Covarieties for Coalgebras

Jesse Hughes

jesseh@cs.kun.nl

University of Nijmegen

Horn Covarieties for Coalgebras – p.1/26

slide-2
SLIDE 2

Outline

  • I. Infinitary Horn varieties

Horn Covarieties for Coalgebras – p.2/26

slide-3
SLIDE 3

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ

Horn Covarieties for Coalgebras – p.2/26

slide-4
SLIDE 4

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties

Horn Covarieties for Coalgebras – p.2/26

slide-5
SLIDE 5

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras

Horn Covarieties for Coalgebras – p.2/26

slide-6
SLIDE 6

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties

Horn Covarieties for Coalgebras – p.2/26

slide-7
SLIDE 7

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.2/26

slide-8
SLIDE 8

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.2/26

slide-9
SLIDE 9

Equations in SetΓ

Let Γ:Set

Set be a polynomial functor and let X ∈ Set

be regular projective (means nothing in Set!). Set

F

SetΓ

U

  • An equation over X is a pair t1 =X t2 of elements of

UFX, the carrier of the free algebra over X. 1

t1

  • t2

UFX

Horn Covarieties for Coalgebras – p.3/26

slide-10
SLIDE 10

Equations in SetΓ

An equation over X is a pair t1 =X t2 of elements of UFX, the carrier of the free algebra over X. We say A, α | = t1 =X t2 iff for every σ:X

A, we

have σ ◦ t1 = σ ◦ t2. 1

t1

  • t2

UFX

  • σ

UA, α

Horn Covarieties for Coalgebras – p.3/26

slide-11
SLIDE 11

Equations in SetΓ

An equation over X is a pair t1 =X t2 of elements of UFX, the carrier of the free algebra over X. We say A, α | = t1 =X t2 iff for every σ:FX

A, α,

we have σ ◦ t1 = σ ◦ t2. 1

t1

  • t2

UFX

  • σ

UA, α

Horn Covarieties for Coalgebras – p.3/26

slide-12
SLIDE 12

Equations in SetΓ

An equation over X is a pair t1 =X t2 of elements of UFX, the carrier of the free algebra over X. Let Q, ν be the coequalizer of the congruence generated by t1 =X t2. A, α | = t1 =X t2 iff for every σ:FX

A, α, there is a

homomorphism σ making the diagram below commute. F1

  • t1
  • t2

FX

  • σ
  • Q, ν

σ

  • A, α

Horn Covarieties for Coalgebras – p.3/26

slide-13
SLIDE 13

Equations in SetΓ

An equation over X is a pair t1 =X t2 of elements of UFX, the carrier of the free algebra over X. Let Q, ν be the coequalizer of the congruence generated by t1 =X t2. A, α | = t1 =X t2 iff for every σ:FX

A, α, there is a

homomorphism σ making the diagram below commute. F1

  • t1
  • t2

FX

  • σ
  • Q, ν

σ

  • A, α

Hom(X, A) ∼ = Hom(FX, A, α) ∼ = Hom(Q, ν, A, α)

Horn Covarieties for Coalgebras – p.3/26

slide-14
SLIDE 14

Conjunctions of equations

Let S be a set of equations over X, i.e., S ⊆ UFX × UFX.

Horn Covarieties for Coalgebras – p.4/26

slide-15
SLIDE 15

Conjunctions of equations

Let S be a set of equations over X, i.e., S ⊆ UFX × UFX. Write A, α | =X S just in case A, α | = t1 =X t2 for all t1 =X t2 ∈ S.

Horn Covarieties for Coalgebras – p.4/26

slide-16
SLIDE 16

Conjunctions of equations

Let S be a set of equations over X, i.e., S ⊆ UFX × UFX. Let Q, ν be the coequalizer of the congruence generated by S

UFX

A, α | =X S iff for every σ:FX

A, α, there is a

homomorphism σ making the diagram below commute. FS

FX

  • σ
  • Q, ν

σ

  • A, α

Horn Covarieties for Coalgebras – p.4/26

slide-17
SLIDE 17

Conjunctions of equations

Let S be a set of equations over X, i.e., S ⊆ UFX × UFX. Let V ⊆ SetΓ and define EqTh(V) = {S | ∃ reg. proj. X . S ⊆ UFX × UFX, V | =X

  • S}.

Horn Covarieties for Coalgebras – p.4/26

slide-18
SLIDE 18

Implications of equations

Let S, T be sets of equations over X.

Horn Covarieties for Coalgebras – p.5/26

slide-19
SLIDE 19

Implications of equations

Let S, T be sets of equations over X. Write A, α | =X S ⇒ T just in case, for every

  • σ:FX

A, α, if

σ coequalizes S

UFX , then

σ also coequalizes T

UFX .

Horn Covarieties for Coalgebras – p.5/26

slide-20
SLIDE 20

Implications of equations

Let S, T be sets of equations over X. Let P, ρ, Q, ν be the coequalizer of the congruence generated by S, S ∪ T, resp.

Horn Covarieties for Coalgebras – p.5/26

slide-21
SLIDE 21

Implications of equations

Let S, T be sets of equations over X. Let P, ρ, Q, ν be the coequalizer of the congruence generated by S, S ∪ T, resp. A, α | =X S ⇒ T iff for every f :P, ρ

A, α,

there is a morphism g:Q, ν

A, α making the

diagram below commute. P, ρ

f

  • FX
  • A, α

Q, ν

g

  • Horn Covarieties for Coalgebras – p.5/26
slide-22
SLIDE 22

Implications of equations

Let S, T be sets of equations over X. Let P, ρ, Q, ν be the coequalizer of the congruence generated by S, S ∪ T, resp. Equivalently, A, α | = S ⇒ T just in case Hom(P, ρ, A, α) ∼ = Hom(Q, ν, A, α).

Horn Covarieties for Coalgebras – p.5/26

slide-23
SLIDE 23

Implications of equations

Let S, T be sets of equations over X. Define ImpEqTh(V) = {S, T | ∃ reg. proj. X . S, T ⊆ UFX × UFX, V | =X

  • S ⇒
  • T}.

Horn Covarieties for Coalgebras – p.5/26

slide-24
SLIDE 24

Implications of equations

Let S, T be sets of equations over X. Define ImpEqTh(V) = {S, T | ∃ reg. proj. X . S, T ⊆ UFX × UFX, V | =X

  • S ⇒
  • T}.

Note: EqTh(V) ⊆ ImpEqTh(V), via S →

  • ∅ ⇒
  • S.

Horn Covarieties for Coalgebras – p.5/26

slide-25
SLIDE 25

Negations of equations

Let S be a set of equations over X.

Horn Covarieties for Coalgebras – p.6/26

slide-26
SLIDE 26

Negations of equations

Let S be a set of equations over X. Write A, α | =X ¬ S just in case for every

  • σ:FX

A, α, there is a t1 =X t2 ∈ S such that

  • σ ◦ t1 =

σ ◦ t2.

Horn Covarieties for Coalgebras – p.6/26

slide-27
SLIDE 27

Negations of equations

Let S be a set of equations over X. Write A, α | =X ¬ S just in case for every

  • σ:FX

A, α, there is a t1 =X t2 ∈ S such that

  • σ ◦ t1 =

σ ◦ t2. Let P, ρ be the coequalizer of the congruence generated by S.

Horn Covarieties for Coalgebras – p.6/26

slide-28
SLIDE 28

Negations of equations

Let S be a set of equations over X. Write A, α | =X ¬ S just in case for every

  • σ:FX

A, α, there is a t1 =X t2 ∈ S such that

  • σ ◦ t1 =

σ ◦ t2. Let P, ρ be the coequalizer of the congruence generated by S. A, α | =X ¬ S just in case there is no homomorphism P, ρ

A, α, i.e.,

Hom(P, ρ, A, α) = ∅.

Horn Covarieties for Coalgebras – p.6/26

slide-29
SLIDE 29

Negations of equations

Let S be a set of equations over X. Define HornEqTh(V) = ImpEqTh(V)∪ {S | ∃ reg. proj. X . S ⊆ UFX × UFX, V | =X ¬

  • S}.

Horn Covarieties for Coalgebras – p.6/26

slide-30
SLIDE 30

Negations of equations

Let S be a set of equations over X. Define HornEqTh(V) = ImpEqTh(V)∪ {S | ∃ reg. proj. X . S ⊆ UFX × UFX, V | =X ¬

  • S}.

Let S ⊆ HornEqTh (= HornEqTh(∅)). Define Sat(S) = {A, α ∈ SetΓ | A, α | = S}.

Horn Covarieties for Coalgebras – p.6/26

slide-31
SLIDE 31

The H, S, P, P + operators

We define the following operators SubCat(SetΓ)

SubCat(SetΓ).

Horn Covarieties for Coalgebras – p.7/26

slide-32
SLIDE 32

The H, S, P, P + operators

We define the following operators SubCat(SetΓ)

SubCat(SetΓ).

HV = {B, β ∈ SetΓ | ∃V ∋ C, γ

B, β}

Horn Covarieties for Coalgebras – p.7/26

slide-33
SLIDE 33

The H, S, P, P + operators

We define the following operators SubCat(SetΓ)

SubCat(SetΓ).

HV = {B, β ∈ SetΓ | ∃V ∋ C, γ

B, β}

SV = {B, β ∈ SetΓ | ∃B, β

C, γ ∈ V}

Horn Covarieties for Coalgebras – p.7/26

slide-34
SLIDE 34

The H, S, P, P + operators

We define the following operators SubCat(SetΓ)

SubCat(SetΓ).

HV = {B, β ∈ SetΓ | ∃V ∋ C, γ

B, β}

SV = {B, β ∈ SetΓ | ∃B, β

C, γ ∈ V}

PV = {B, β ∈ SetΓ | ∃{Ai, αi}i∈I ⊆ V . B, β ∼ =

  • Ai, αi}

Horn Covarieties for Coalgebras – p.7/26

slide-35
SLIDE 35

The H, S, P, P + operators

HV = {B, β ∈ SetΓ | ∃V ∋ C, γ

B, β}

SV = {B, β ∈ SetΓ | ∃B, β

C, γ ∈ V}

PV = {B, β ∈ SetΓ | ∃{Ai, αi}i∈I ⊆ V . B, β ∼ =

  • Ai, αi}

P +V = {B, β ∈ SetΓ | ∃{Ai, αi}i∈I ⊆ V . B, β ∼ =

  • Ai, αi, I = ∅}

Horn Covarieties for Coalgebras – p.7/26

slide-36
SLIDE 36

The variety theorems

Let Γ be polynomial and V ⊆ SetΓ. Theorem (Birkhoff variety theorem). Sat(EqTh V) = HSPV

Horn Covarieties for Coalgebras – p.8/26

slide-37
SLIDE 37

The variety theorems

Let Γ be polynomial and V ⊆ SetΓ. Theorem (Birkhoff variety theorem). Sat(EqTh V) = HSPV Theorem (Quasivariety theorem). Sat(ImpEqTh V) = SPV

Horn Covarieties for Coalgebras – p.8/26

slide-38
SLIDE 38

The variety theorems

Let Γ be polynomial and V ⊆ SetΓ. Theorem (Birkhoff variety theorem). Sat(EqTh V) = HSPV Theorem (Quasivariety theorem). Sat(ImpEqTh V) = SPV Theorem (Horn variety theorem). Sat(HornEqTh V) = SP +V

Horn Covarieties for Coalgebras – p.8/26

slide-39
SLIDE 39

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.9/26

slide-40
SLIDE 40

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.9/26

slide-41
SLIDE 41

Closure operators for coalgebras

Recall the algebra operators. HV = {B, β ∈ EΓ | ∃V ∋ C, γ

B, β}

SV = {B, β ∈ EΓ | ∃B, β

C, γ ∈ V}

PV = {B, β ∈ EΓ | ∃{Ai, αi}i∈I ⊆ V . B, β ∼ =

  • Ai, αi}

P +V = {B, β ∈ EΓ | ∃{Ai, αi}i∈I ⊆ V . B, β ∼ =

  • Ai, αi, I = ∅}

Horn Covarieties for Coalgebras – p.10/26

slide-42
SLIDE 42

Closure operators for coalgebras

Each algebra operator yields a coalgebra operator.

  • HV = {B, β ∈ EΓ | ∃V ∋ C, γ

B, β

  • }

SV = {B, β ∈ EΓ | ∃B, β

C, γ ∈ V}

PV = {B, β ∈ EΓ | ∃{Ai, αi}i∈I ⊆ V . B, β ∼ =

  • Ai, αi}

P +V = {B, β ∈ EΓ | ∃{Ai, αi}i∈I ⊆ V . B, β ∼ =

  • Ai, αi, I = ∅}

Horn Covarieties for Coalgebras – p.10/26

slide-43
SLIDE 43

Closure operators for coalgebras

Each algebra operator yields a coalgebra operator.

  • HV = {B, β ∈ EΓ | ∃V ∋ C, γ

B, β

  • }
  • SV = {B, β ∈ EΓ | ∃B, β

C, γ ∈ V

  • }

PV = {B, β ∈ EΓ | ∃{Ai, αi}i∈I ⊆ V . B, β ∼ =

  • Ai, αi}

P +V = {B, β ∈ EΓ | ∃{Ai, αi}i∈I ⊆ V . B, β ∼ =

  • Ai, αi, I = ∅}

Horn Covarieties for Coalgebras – p.10/26

slide-44
SLIDE 44

Closure operators for coalgebras

Each algebra operator yields a coalgebra operator.

  • HV = {B, β ∈ EΓ | ∃V ∋ C, γ

B, β

  • }
  • SV = {B, β ∈ EΓ | ∃B, β

C, γ ∈ V

  • }
  • PV = {B, β ∈ EΓ | ∃{Ai, αi}i∈I ⊆ V .

B, β ∼ =

  • Ai, αi}

P +V = {B, β ∈ EΓ | ∃{Ai, αi}i∈I ⊆ V . B, β ∼ =

  • Ai, αi, I = ∅}

Horn Covarieties for Coalgebras – p.10/26

slide-45
SLIDE 45

Closure operators for coalgebras

Each algebra operator yields a coalgebra operator.

  • HV = {B, β ∈ EΓ | ∃V ∋ C, γ

B, β

  • }
  • SV = {B, β ∈ EΓ | ∃B, β

C, γ ∈ V

  • }
  • PV = {B, β ∈ EΓ | ∃{Ai, αi}i∈I ⊆ V .

B, β ∼ =

  • Ai, αi}
  • P +V = {B, β ∈ EΓ | ∃{Ai, αi}i∈I ⊆ V .

B, β ∼ =

  • Ai, αi, I = ∅}

Horn Covarieties for Coalgebras – p.10/26

slide-46
SLIDE 46

Closure operators for coalgebras

Each algebra operator yields a coalgebra operator. SV = {B, β ∈ EΓ | ∃V ∋ C, γ B, β

  • }

HV = {B, β ∈ EΓ | ∃B, β C, γ ∈ V

  • }

ΣV = {B, β ∈ EΓ | ∃{Ai, αi}i∈I ⊆ V . B, β ∼ =

  • Ai, αi}

Σ+V = {B, β ∈ EΓ | ∃{Ai, αi}i∈I ⊆ V . B, β ∼ =

  • Ai, αi, I = ∅}

Horn Covarieties for Coalgebras – p.10/26

slide-47
SLIDE 47

Dualizing equations

Consider again equations in SetΓ. We consider the mapping {S

UFX × UFX} → {FX Q, ν},

and dualize the notion of sets of equations by dualizing quotients of free algebras.

Horn Covarieties for Coalgebras – p.11/26

slide-48
SLIDE 48

Dualizing equations

Consider again equations in SetΓ. We consider the mapping EqThX → Quot(FX), and dualize the notion of sets of equations by dualizing quotients of free algebras.

Horn Covarieties for Coalgebras – p.11/26

slide-49
SLIDE 49

Dualizing equations

Consider again equations in SetΓ. We consider the mapping EqThX → Quot(FX), and dualize the notion of sets of equations by dualizing quotients of free algebras. Return to EΓ. Let E, Γ be good (co-good?) and let H be the right adjoint to U :EΓ

E , with counit ε:UH 1.

Horn Covarieties for Coalgebras – p.11/26

slide-50
SLIDE 50

Dualizing equations

Return to EΓ. Let E, Γ be good and let H be the right adjoint to U :EΓ

E , with counit ε:UH 1.

Reminder: Let C ∈ E and A, α ∈ EΓ. For any C-coloring p:A

C of A, there exists a unique

homomorphism p:A, α

HC making the diagram

below commute. UHC

εC

  • A

p

  • U

p

  • C

Horn Covarieties for Coalgebras – p.11/26

slide-51
SLIDE 51

Dualizing equations

Return to EΓ. Let E, Γ be good and let H be the right adjoint to U :EΓ

E , with counit ε:UH 1.

A coequation over C is a regular subobject ϕ ≤ UHC.

Horn Covarieties for Coalgebras – p.11/26

slide-52
SLIDE 52

Dualizing equations

Return to EΓ. Let E, Γ be good and let H be the right adjoint to U :EΓ

E , with counit ε:UH 1.

A coequation over C is a regular subobject ϕ ≤ UHC. We write A, α | =C ϕ iff for every coloring p:A

C of

A, the adjoint transpose U p factors through ϕ. A

p

  • U

p

  • C

UHC

εC

  • ϕ
  • Horn Covarieties for Coalgebras – p.11/26
slide-53
SLIDE 53

Dualizing equations

Return to EΓ. Let E, Γ be good and let H be the right adjoint to U :EΓ

E , with counit ε:UH 1.

A coequation over C is a regular subobject ϕ ≤ UHC. We write A, α | =C ϕ iff for every coloring p:A

C of

A, Im(U p) ≤ ϕ. A

p

  • U

p

  • C

UHC

εC

  • ϕ
  • In other words,

Hom(A, C) ∼ = Hom(A, α, HC) ∼ = Hom(A, α,

  • ϕ).

Horn Covarieties for Coalgebras – p.11/26

slide-54
SLIDE 54

Dualizing equations

A coequation over C is a regular subobject ϕ ≤ UHC. We write A, α | =C ϕ iff for every coloring p:A

C of

A, Im(U p) ≤ ϕ. A

p

  • U

p

  • C

UHC

εC

  • ϕ
  • A, α |

=C ϕ just in case, however we paint the elements

  • f A, they “look like” elements of ϕ.

Horn Covarieties for Coalgebras – p.11/26

slide-55
SLIDE 55

Dualizing equations

A coequation over C is a regular subobject ϕ ≤ UHC. We write A, α | =C ϕ iff for every coloring p:A

C of

A, Im(U p) ≤ ϕ. We view coequations ϕ as predicates over UHC. A, α | =C ϕ iff, for every p:A

C, we have

Im(U p) ⊢ ϕ.

Horn Covarieties for Coalgebras – p.11/26

slide-56
SLIDE 56

Conditional coequations

Let ϕ, ψ ≤ UHC. We write A, α | = ϕ ⇒ ψ just in case, for every p:A

C

such that Im( p) ≤ ϕ, we have Im( p) ≤ ψ.

Horn Covarieties for Coalgebras – p.12/26

slide-57
SLIDE 57

Conditional coequations

Let ϕ, ψ ≤ UHC. We write A, α | = ϕ ⇒ ψ just in case, for every p:A

C

such that Im( p) ≤ ϕ, we have Im( p) ≤ ψ. C C A

p

  • U

p

  • UHC

A

p

  • U

p

  • UHC
  • ϕ
  • ψ
  • Horn Covarieties for Coalgebras – p.12/26
slide-58
SLIDE 58

Conditional coequations

Let ϕ, ψ ≤ UHC. We write A, α | = ϕ ⇒ ψ just in case, for every p:A

C

such that Im( p) ≤ ϕ, we have Im( p) ≤ ψ. A, α | = ϕ ⇒ ψ just in case every homomorphism A, α

  • ϕ factors through
  • ψ, i.e.,

Hom(A, α,

  • ϕ) ∼

= Hom(A, α,

  • ψ).

Horn Covarieties for Coalgebras – p.12/26

slide-59
SLIDE 59

Dualizing negations

Let ϕ ≤ UHC. We write A, α | = ϕ just in case for every p:A

C, it is

not the case Im( p) ≤ ϕ.

Horn Covarieties for Coalgebras – p.13/26

slide-60
SLIDE 60

Dualizing negations

Let ϕ ≤ UHC. We write A, α | = ϕ just in case for every p:A

C, it is

not the case Im( p) ≤ ϕ. Equivalently, there is no homomorphism A, α

  • ϕ,

i.e., Hom(A, α,

  • ϕ) = ∅.

Horn Covarieties for Coalgebras – p.13/26

slide-61
SLIDE 61

Dualizing negations

Let ϕ ≤ UHC. We write A, α | = ϕ just in case for every p:A

C, it is

not the case Im( p) ≤ ϕ. Equivalently, there is no homomorphism A, α

  • ϕ,

i.e., Hom(A, α,

  • ϕ) = ∅.

No matter how we paint A, there is some element a ∈ A that doesn’t land in ϕ.

Horn Covarieties for Coalgebras – p.13/26

slide-62
SLIDE 62

Dualizing negations

Let ϕ ≤ UHC. We write A, α | = ϕ just in case for every p:A

C, it is

not the case Im( p) ≤ ϕ. No matter how we paint A, there is some element a ∈ A that doesn’t land in ϕ. Note: This does not mean that A, α | = ¬ϕ! “Something in A does not land in ϕ,” is not the same as, “Everything in A does not land in ϕ.”

Horn Covarieties for Coalgebras – p.13/26

slide-63
SLIDE 63

A few more things...

Let V ⊆ EΓ. CoeqTh(V) = {ϕ | ∃ reg. inj. C . ϕ ≤ UHC, V | =C ϕ}

Horn Covarieties for Coalgebras – p.14/26

slide-64
SLIDE 64

A few more things...

Let V ⊆ EΓ. CoeqTh(V) = {ϕ | ∃ reg. inj. C . ϕ ≤ UHC, V | =C ϕ} ImpCoeqTh(V) = {ϕ ⇒ ψ | ∃ reg. inj. C . ϕ, ψ ≤ UHC, V | =C ϕ ⇒ ψ}

Horn Covarieties for Coalgebras – p.14/26

slide-65
SLIDE 65

A few more things...

Let V ⊆ EΓ. CoeqTh(V) = {ϕ | ∃ reg. inj. C . ϕ ≤ UHC, V | =C ϕ} ImpCoeqTh(V) = {ϕ ⇒ ψ | ∃ reg. inj. C . ϕ, ψ ≤ UHC, V | =C ϕ ⇒ ψ} HornCoeqTh(V) = ImpCoeqTh(V)∪ {ϕ | ∃ reg. inj. C . ϕ ≤ UHC, V | =C ϕ}

Horn Covarieties for Coalgebras – p.14/26

slide-66
SLIDE 66

A few more things...

Let V ⊆ EΓ. CoeqTh(V) = {ϕ | ∃ reg. inj. C . ϕ ≤ UHC, V | =C ϕ} ImpCoeqTh(V) = {ϕ ⇒ ψ | ∃ reg. inj. C . ϕ, ψ ≤ UHC, V | =C ϕ ⇒ ψ} HornCoeqTh(V) = ImpCoeqTh(V)∪ {ϕ | ∃ reg. inj. C . ϕ ≤ UHC, V | =C ϕ} Let S ⊆ HornCoeqTh. Define Sat(S) = {A, α ∈ EΓ | A, α | = S}.

Horn Covarieties for Coalgebras – p.14/26

slide-67
SLIDE 67

The covariety theorems

Let E, Γ be good and V ⊆ E. Theorem (Birkhoff covariety theorem). Sat(CoeqTh V) = SHΣV

Horn Covarieties for Coalgebras – p.15/26

slide-68
SLIDE 68

The covariety theorems

Let E, Γ be good and V ⊆ E. Theorem (Birkhoff covariety theorem). Sat(CoeqTh V) = SHΣV Theorem (Quasi-covariety theorem). Sat(ImpCoeqTh V) = HΣV

Horn Covarieties for Coalgebras – p.15/26

slide-69
SLIDE 69

The covariety theorems

Let E, Γ be good and V ⊆ E. Theorem (Birkhoff covariety theorem). Sat(CoeqTh V) = SHΣV Theorem (Quasi-covariety theorem). Sat(ImpCoeqTh V) = HΣV Theorem (Horn covariety theorem). Sat(HornCoeqTh V) = HΣ+V

Horn Covarieties for Coalgebras – p.15/26

slide-70
SLIDE 70

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.16/26

slide-71
SLIDE 71

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.16/26

slide-72
SLIDE 72

Some simple examples

Fix a set Z and consider Γ:Set

Set where

ΓX = Z × X. Regard a Γ-coalgebra A, α as a set of streams over Z and let hα:A

Z

tα:A

A

denote the evident head and tail operations.

Horn Covarieties for Coalgebras – p.17/26

slide-73
SLIDE 73

Some simple examples

Fix a set Z and consider Γ:Set

Set where

ΓX = Z × X. The following are Horn covarieties.

  • {A, α ∈ SetΓ | ∃a ∈ A . tα(a) = a}.

Horn Covarieties for Coalgebras – p.17/26

slide-74
SLIDE 74

Some simple examples

Fix a set Z and consider Γ:Set

Set where

ΓX = Z × X. The following are Horn covarieties.

  • {A, α ∈ SetΓ | ∃a ∈ A . tα(a) = a}.
  • {A, α ∈ SetΓ | A = ∅ and ∀a ∈ A ∃n ∈

. tn

α(a) =

tn+1

α

(a)}.

Horn Covarieties for Coalgebras – p.17/26

slide-75
SLIDE 75

Some simple examples

Fix a set Z and consider Γ:Set

Set where

ΓX = Z × X. The following are Horn covarieties.

  • {A, α ∈ SetΓ | ∃a ∈ A . tα(a) = a}.
  • {A, α ∈ SetΓ | A = ∅ and ∀a ∈ A ∃n ∈

. tn

α(a) =

tn+1

α

(a)}.

  • {A, α ∈ SetΓ | A = ∅ and ∀a ∈ A ∃n ∈

∀m > n . hα ◦ tn

α(a) = hα ◦ tm α (a)}.

Horn Covarieties for Coalgebras – p.17/26

slide-76
SLIDE 76

Deterministic automata and languages

Fix an alphabet I. Let Γ:Set

Set

be the functor X → 2 × XI.

Horn Covarieties for Coalgebras – p.18/26

slide-77
SLIDE 77

Deterministic automata and languages

Fix an alphabet I. Let Γ:Set

Set

be the functor X → 2 × XI. A Γ-coalgebra A, α is an automaton accepting input from I and outputting either 0 or 1, where

  • utα(a) = π1 ◦ α(a)

transα(a) = π2 ◦ α(a)

Horn Covarieties for Coalgebras – p.18/26

slide-78
SLIDE 78

Deterministic automata and languages

Let σ ∈ I<ω and define evalα:A × I<ω

A

by evalα(a, ()) = a, evalα(a, σ ∗ i) = transα(evalα(a, σ))(i). evalα(a, σ) is the final state of the calculation beginning in a with input σ.

Horn Covarieties for Coalgebras – p.18/26

slide-79
SLIDE 79

Deterministic automata and languages

Define accα:A

P(I<ω)

by accα(a) = {σ ∈ I<ω | outα ◦ evalα(a, σ) = 1}. accα(a) is the set of all words accepted by state a.

Horn Covarieties for Coalgebras – p.18/26

slide-80
SLIDE 80

Deterministic automata and languages

Fix a “language” L ⊆ I<ω and define VL = {A, α ∈ SetΓ | ∃a ∈ A . accα(a) = L}.

Horn Covarieties for Coalgebras – p.18/26

slide-81
SLIDE 81

Deterministic automata and languages

Fix a “language” L ⊆ I<ω and define VL = {A, α ∈ SetΓ | ∃a ∈ A . accα(a) = L}. VL is a Horn covariety.

Horn Covarieties for Coalgebras – p.18/26

slide-82
SLIDE 82

Deterministic automata and languages

Fix a “language” L ⊆ I<ω and define VL = {A, α ∈ SetΓ | ∃a ∈ A . accα(a) = L}. VL is a Horn covariety. Explicitly: the class of all automata which have an initial state accepting exactly L is closed under codomains of epis and non-empty coproducts. Furthermore, VL is definable by a Horn coequation.

Horn Covarieties for Coalgebras – p.18/26

slide-83
SLIDE 83

Deterministic automata and languages

Fix a “language” L ⊆ I<ω and define VL = {A, α ∈ SetΓ | ∃a ∈ A . accα(a) = L}. VL is a Horn covariety. Indeed, let ϕ ≤ UH1 be the set {c ∈ UH1 | accH1(c) = L}. Then A, α ∈ VL just in case Hom(A, α,

  • ϕ) = ∅.

Horn Covarieties for Coalgebras – p.18/26

slide-84
SLIDE 84

More automata

Fix L ⊆ I<ω.

  • 1. Deterministic automata which have an accepting state

for L.

Horn Covarieties for Coalgebras – p.19/26

slide-85
SLIDE 85

More automata

Fix L ⊆ I<ω.

  • 1. Deterministic automata which have an accepting state

for L.

  • 2. Non-deterministic automata which have a non-empty,

deterministic sub-automaton.

Horn Covarieties for Coalgebras – p.19/26

slide-86
SLIDE 86

More automata

Fix L ⊆ I<ω.

  • 1. Deterministic automata which have an accepting state

for L.

  • 2. Non-deterministic automata which have a non-empty,

deterministic sub-automaton.

  • 3. Non-deterministic automata which have a

deterministic sub-automata in (1).

Horn Covarieties for Coalgebras – p.19/26

slide-87
SLIDE 87

More automata

Fix L ⊆ I<ω.

  • 1. Deterministic automata which have an accepting state

for L.

  • 2. Non-deterministic automata which have a non-empty,

deterministic sub-automaton.

  • 3. Non-deterministic automata which have a

deterministic sub-automata in (1).

  • 4. Etc. and so on.

Horn Covarieties for Coalgebras – p.19/26

slide-88
SLIDE 88

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.20/26

slide-89
SLIDE 89

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.20/26

slide-90
SLIDE 90

Cofree for HΣ+V coalgebras

Let V ⊆ EΓ, C ∈ E. Define ΘC = {f :A, α

HC | A, α ∈ V},

∆C =

  • {Im f | f ∈ ΘC}.

Horn Covarieties for Coalgebras – p.21/26

slide-91
SLIDE 91

Cofree for HΣ+V coalgebras

Let V ⊆ EΓ, C ∈ E. Define ΘC = {f :A, α

HC | A, α ∈ V},

∆C =

  • {Im f | f ∈ ΘC}.

If ΘC = ∅, then ∆C is cofree for HΣ+V over C, i.e.,

  • ∆C ∈ HΣ+V;

Horn Covarieties for Coalgebras – p.21/26

slide-92
SLIDE 92

Cofree for HΣ+V coalgebras

If ΘC = ∅, then ∆C is cofree for HΣ+V over C, i.e.,

  • ∆C ∈ HΣ+V;
  • If B, β ∈ HΣ+V, then for every p:B

C, there is a

unique homomorphism p:B, β

∆C such that the

diagram below commutes. B

  • p
  • p
  • U∆C

UHC εC C

Horn Covarieties for Coalgebras – p.21/26

slide-93
SLIDE 93

Cofree for HΣ+V coalgebras

If ΘC = ∅, then ∆C is cofree for HΣ+V over C . If E = Set (or any category in which each C = 0 has a global element) and V = 0, then every C = 0 has a cofree for HΣ+V coalgebra.

Horn Covarieties for Coalgebras – p.21/26

slide-94
SLIDE 94

Cofree for HΣ+V coalgebras

If ΘC = ∅, then ∆C is cofree for HΣ+V over C . If E = Set (or any category in which each C = 0 has a global element) and V = 0, then every C = 0 has a cofree for HΣ+V coalgebra. In technical terms, we have damn near an adjunction. Indeed, it arises as the composition of an adjunction and damn near a regular mono-coreflection. E

H EΓ U

  • V
  • Horn Covarieties for Coalgebras – p.21/26
slide-95
SLIDE 95

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.22/26

slide-96
SLIDE 96

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.22/26

slide-97
SLIDE 97

Behavioral classes

Consider the following operators. RV = {B, β ∈ EΓ | ∃B, β

A, α ∈ V}

Horn Covarieties for Coalgebras – p.23/26

slide-98
SLIDE 98

Behavioral classes

Consider the following operators. RV = {B, β ∈ EΓ | ∃B, β

A, α ∈ V}

BV = {B, β ∈ EΓ | ∃ bisimulation B R

  • A ∈ V }

Horn Covarieties for Coalgebras – p.23/26

slide-99
SLIDE 99

Behavioral classes

Consider the following operators. RV = {B, β ∈ EΓ | ∃B, β

A, α ∈ V}

BV = {B, β ∈ EΓ | ∃ bisimulation B R

  • A ∈ V }

QV = {B, β ∈ EΓ | ∃ B, β C

  • A, α ∈ V }

Horn Covarieties for Coalgebras – p.23/26

slide-100
SLIDE 100

Behavioral classes

Consider the following operators. RV = {B, β ∈ EΓ | ∃B, β

A, α ∈ V}

BV = {B, β ∈ EΓ | ∃ bisimulation B R

  • A ∈ V }

QV = {B, β ∈ EΓ | ∃ B, β C

  • A, α ∈ V }

RHV = BBV = QQV.

Horn Covarieties for Coalgebras – p.23/26

slide-101
SLIDE 101

Behavioral classes

RHV = BBV = QQV. If, in E, epis are stable under pullback, then also RHV = BV = QV.

Horn Covarieties for Coalgebras – p.23/26

slide-102
SLIDE 102

Behavioral classes

RV = {B, β ∈ EΓ | ∃B, β

A, α ∈ V}

Sat(CoeqThH1 V) = RSHΣV Sat(ImpCoeqThH1 V) = RHΣV Sat(HornCoeqThH1 V) = RHΣ+V

Horn Covarieties for Coalgebras – p.23/26

slide-103
SLIDE 103

Behavioral classes

RV = {B, β ∈ EΓ | ∃B, β

A, α ∈ V}

Sat(CoeqThH1 V) = RSHΣV Sat(ImpCoeqThH1 V) = RHΣV Sat(HornCoeqThH1 V) = RHΣ+V Here, CoeqThH1 V (ImpCoeqThH1 V, HornCoeqThH1 V, resp.) denotes the (conditional, Horn, resp.) coequations

  • ver 1 color satisfied by V.

Horn Covarieties for Coalgebras – p.23/26

slide-104
SLIDE 104

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.24/26

slide-105
SLIDE 105

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.24/26

slide-106
SLIDE 106

A slew of questions

  • “Logical” characterization of Horn covarieties

Horn Covarieties for Coalgebras – p.25/26

slide-107
SLIDE 107

A slew of questions

  • “Logical” characterization of Horn covarieties
  • Dual of Horn logic (modal operators)

Horn Covarieties for Coalgebras – p.25/26

slide-108
SLIDE 108

A slew of questions

  • “Logical” characterization of Horn covarieties
  • Dual of Horn logic (modal operators)
  • “Finitary” Horn covarieties

Horn Covarieties for Coalgebras – p.25/26

slide-109
SLIDE 109

A slew of questions

  • “Logical” characterization of Horn covarieties
  • Dual of Horn logic (modal operators)
  • “Finitary” Horn covarieties
  • Closure under codomains of arbitrary morphisms

Horn Covarieties for Coalgebras – p.25/26

slide-110
SLIDE 110

A slew of questions

  • “Logical” characterization of Horn covarieties
  • Dual of Horn logic (modal operators)
  • “Finitary” Horn covarieties
  • Closure under codomains of arbitrary morphisms
  • Generic other stuff that won’t fit in the margin

Horn Covarieties for Coalgebras – p.25/26

slide-111
SLIDE 111

Outline

  • I. Infinitary Horn varieties
  • II. Dual theorems for EΓ
  • III. Examples of Horn covarieties
  • IV. Cofree for HΣ+V coalgebras
  • V. Behavioral Horn covarieties
  • VI. Optimistic promissary note

Horn Covarieties for Coalgebras – p.26/26