SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Downloaden Sie, um offline zu lesen
1/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Dialectica Categories and Petri Nets
Valeria de Paiva
Before ACT Summer School 2020
January, 2020
Valeria de Paiva ACT 2020
2/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Goals
Thank you, ACT Summer School organizers!
I want talk about the application of Dialectica categories to
modelling Petri Nets.
I start by describing Petri nets and Dialectica categories.
Then I show how to think of special Petri nets as a kind of
Dialectica category (following Brown and Gurr) and how to think
of usual Petri nets as dialectica categories.
Then we discuss if this is good modelling or not, and why
Valeria de Paiva ACT 2020
3/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Outline
Petri nets
Dialectica categories
Elementary nets
Petri nets as double dialectica constructions
Time permitting I will try to compare with new work on Petri nets.
Valeria de Paiva ACT 2020
4/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Using Categories
Category: a collection of objects and of morphisms, satisfying
obvious laws for composition of morphisms;
there is an identity for each object and morphisms of the correct
domain and co-domain compose, associatively.
Functors: the natural notion of morphism between categories
Natural transformations: the natural notion of morphisms between
functors
Constructors: products, sums, functions spaces, limits, duals....
Adjunctions: an abstract version of equality
Valeria de Paiva ACT 2020
5/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Categorical models of Petri Nets
Types are formulae/objects in appropriate category,
Terms/programs are proofs/morphisms in the category,
Logical constructors are appropriate categorical constructions.
Most important: Reduction is proof normalization (Tait)
Outcome: Transfer results/tools from logic to CT to CSci, etc
Valeria de Paiva ACT 2020
6/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Brown and Gurr, LICS 1990, Info & Comp 1995
Valeria de Paiva ACT 2020
7/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Based on Winskel, LiCS 1988
Valeria de Paiva ACT 2020
8/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Motivation for Petri nets: Vending Machine
Valeria de Paiva ACT 2020
9/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Motivation: Modelling Petri nets firing
Valeria de Paiva ACT 2020
10/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Why Petri Nets?
Modeling is hard. People seem to like Petri nets.
Concurrency is hard. People seem to like Petri nets
(non-determinism vs causal independence).
Huge number of types: colored, stochastic, higher-order, etc..
Huge number of papers/books/systems
Natural application of Linear Logic
Recent work on Baez/Master/Moeller and independently of
Lopes/Hauesler/Benevides
Valeria de Paiva ACT 2020
11/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Which Petri nets?
Valeria de Paiva ACT 2020
12/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
What’s the problem?
A long-standing problem in the theory of Petri nets has
been the lack of any clear methodology for producing a
compositional theory of nets (and indeed the lack of even
a clear notion as to what a map between nets should be).
Brown and Gurr, 1990
Winskel suggests that Petri nets and other models of concurrency
can be profitably cast into an algebraic framework.
Many people followed this suggestion with several categorical
models of Petri nets proposed.
Our proposal is to use Dialectica morphisms, so let us check the
Dialectica construction for Linear Logic
Valeria de Paiva ACT 2020
13/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Linear Logic
A proof theoretic logic described by Girard in 1986.
Basic idea: assumptions cannot be discarded or duplicated.
They must be used exactly once – just like dollar bills (except
when they’re marked by a modality !)
Other approaches to accounting for logical resources before.
Relevance Logic!
Great win of Linear Logic:
Account for resources when you want to, otherwise fall back
to traditional logic via translation A → B iff !A −◦ B
Valeria de Paiva ACT 2020
14/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Linear Implication and (Multiplicative) Conjunction
Traditional implication: A, A → B B
A, A → B A ∧ B Re-use A
Linear implication: A, A −◦ B B
A, A −◦ B A ⊗ B Cannot re-use A
Traditional conjunction: A ∧ B A Discard B
Linear conjunction: A ⊗ B A Cannot discard B
Of course: !A !A⊗!A Re-use
!(A) ⊗ B B Discard
Valeria de Paiva ACT 2020
15/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
The challenges of modeling Linear Logic
Traditional modeling of intuitionistic logic:
formula A object A of appropriate category
A ∧ B A × B (real product)
A → B BA (set of functions from A to B) and
they relate via adjunction
A ∧ B → C ⇐⇒ A → Hom(B, C) = CB
These are real products, have projections (A × B → A)
and diagonals (A → A × A) corresponding to deletion and
duplication of resources.
Not linear!!!
Need to use tensor products and internal homs.
Hard to define the “make-everything-usual”operator ”!”.
Valeria de Paiva ACT 2020
16/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Dialectica Categories
The category Dial2(Sets) has as objects triples A = (U, X, α),
where U, X are sets and α is an ordinary relation between U and
X. (so either u and x are α related, α(u, x) = 1 or not.)
A map from A = (U, X, α) to B = (V , Y , β) is a pair of functions
(f , F), where f : U → V and F : X → Y such that
U 
α
X
⇓ ∀u ∈ U, ∀y ∈ Y α(u, Fy) implies β(fu, y)
V
f
?

β
Y
6
F
or α(u, F(y)) ≤ β(f (u), y)
Valeria de Paiva ACT 2020
17/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Dialectica Categories Constructions
On the board, lost slides.
Do internal-hom and tensor. and maybe adjunction.
Theorem: The category Dial2(Sets) is a sound model for
(intuitionistic and classical) Linear Logic.
And Petri Nets...
Valeria de Paiva ACT 2020
18/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Dialectica Categories as (safe) Petri Nets
A category of safe nets SNet objects are of the form
(E, B, pre, post). (pre, post are relations E × B → 2) Morphisms
are pairs of functions (f , F) making the two diagrams below
commute.
E 
pre
B
⇓
E
f
?

pre
B
6
F
E 
post
B
⇑
E
f
?

post
B
6
F
where as before ∀e ∈ E, ∀b ∈ B pre(e, Fb ) implies pre (fe, b )
and also, the corresponding reversed implication for post:
∀e ∈ E, ∀b ∈ B post(e, Fb ) is implied by post (fe, b ).
Brown and Gurr 1990
Valeria de Paiva ACT 2020
19/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Dialectica Categories as Petri Nets
Why is this good? Structurally safe nets, say Brown and Gurr.
Can construct refinement morphisms of nets.
Can lift all the categorical structure of Dial2(Sets) to a given
category of nets. Are these nets any good?
Similar to Winskel’s nets, constructed for different reasons.
Valeria de Paiva ACT 2020
20/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Dialectica Categories as (general) Petri Nets
A category of safe nets SNet objects are of the form
(E, B, pre, post), BUT where pre, post are maps into N, a lineale.
Morphisms are pairs of functions (f , F) making the two diagrams
below commute.
E 
pre
B
⇓
E
f
?

pre
B
6
F
E 
post
B
⇑
E
f
?

post
B
6
F
where as before ∀e ∈ E, ∀b ∈ B pre(e, Fb ) implies pre (fe, b )
and also, the corresponding reversed implication for post
conditions:
∀e ∈ E, ∀b ∈ B post(e, Fb ) is implied by post (fe, b )
Valeria de Paiva ACT 2020
21/21
Introduction
Petri Nets
Linear Logic
Dialetica cats
Dialectica and Petri
Conclusions
Dialectica morphisms correspond to simulations between
Petri nets, using markings.
CCS constructors can be simulated too.
Nielsen and Winskel have a collection of work on categories of
concurrency models, how much of that can be reproduced in
our setting?
Is this good modelling? Clearly people like Petri nets,
especially probabilistic ones. What is the theorem that we
want to prove?
Can this work shed some light on how to model probabilistic
theories using category theory?
at least it gives me the impulse to read about it!
Valeria de Paiva ACT 2020

Weitere ähnliche Inhalte

Was ist angesagt?

Benchmarking Linear Logic Proofs, Valeria de Paiva
Benchmarking Linear Logic Proofs, Valeria de PaivaBenchmarking Linear Logic Proofs, Valeria de Paiva
Benchmarking Linear Logic Proofs, Valeria de PaivaValeria de Paiva
 
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Valeria de Paiva
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its roleValeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
 
Linear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after ShulmanLinear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after ShulmanValeria de Paiva
 
A Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type TheoryA Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type TheoryValeria de Paiva
 
Dialectica Categories: the Relevant version, Valeria de Paiva
Dialectica Categories: the Relevant version, Valeria de PaivaDialectica Categories: the Relevant version, Valeria de Paiva
Dialectica Categories: the Relevant version, Valeria de PaivaValeria de Paiva
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusValeria de Paiva
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsValeria de Paiva
 
Fun with Constructive Modalities
Fun with Constructive ModalitiesFun with Constructive Modalities
Fun with Constructive ModalitiesValeria de Paiva
 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit SubstitutionsValeria de Paiva
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsValeria de Paiva
 
Intuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterIntuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterValeria de Paiva
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical SystemValeria de Paiva
 
Dialectica amongst friends
Dialectica amongst friendsDialectica amongst friends
Dialectica amongst friendsValeria de Paiva
 
Natural Language Inference for Humans
Natural Language Inference for HumansNatural Language Inference for Humans
Natural Language Inference for HumansValeria de Paiva
 

Was ist angesagt? (20)

Benchmarking Linear Logic Proofs, Valeria de Paiva
Benchmarking Linear Logic Proofs, Valeria de PaivaBenchmarking Linear Logic Proofs, Valeria de Paiva
Benchmarking Linear Logic Proofs, Valeria de Paiva
 
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its role
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
Linear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after ShulmanLinear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after Shulman
 
A Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type TheoryA Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type Theory
 
Dialectica Categories: the Relevant version, Valeria de Paiva
Dialectica Categories: the Relevant version, Valeria de PaivaDialectica Categories: the Relevant version, Valeria de Paiva
Dialectica Categories: the Relevant version, Valeria de Paiva
 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive Modalities
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek Calculus
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit Substitutions
 
Modal Type Theory
Modal Type TheoryModal Type Theory
Modal Type Theory
 
Fun with Constructive Modalities
Fun with Constructive ModalitiesFun with Constructive Modalities
Fun with Constructive Modalities
 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive Modalities
 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit Substitutions
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit Substitutions
 
Dialectica Comonads
Dialectica ComonadsDialectica Comonads
Dialectica Comonads
 
Intuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterIntuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years later
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical System
 
Dialectica amongst friends
Dialectica amongst friendsDialectica amongst friends
Dialectica amongst friends
 
Natural Language Inference for Humans
Natural Language Inference for HumansNatural Language Inference for Humans
Natural Language Inference for Humans
 

Ähnlich wie Dialectica Categories and Petri Nets

Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories RevisitedValeria de Paiva
 
Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical ConstructionsValeria de Paiva
 
Dialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories Surprising Application: Cardinalities of the ContinuumDialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories Surprising Application: Cardinalities of the ContinuumValeria de Paiva
 
Fibrational Versions of Dialectica Categories
Fibrational Versions of Dialectica CategoriesFibrational Versions of Dialectica Categories
Fibrational Versions of Dialectica CategoriesValeria de Paiva
 
Dialectica Categories and Cardinalities of the Continuum (March2014)
Dialectica Categories and  Cardinalities of the Continuum (March2014)Dialectica Categories and  Cardinalities of the Continuum (March2014)
Dialectica Categories and Cardinalities of the Continuum (March2014)Valeria de Paiva
 
Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneValeria de Paiva
 
Why (categorical) representation theory?
Why (categorical) representation theory?Why (categorical) representation theory?
Why (categorical) representation theory?Daniel Tubbenhauer
 

Ähnlich wie Dialectica Categories and Petri Nets (9)

Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories Revisited
 
Dialectica Petri Nets
Dialectica Petri NetsDialectica Petri Nets
Dialectica Petri Nets
 
Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical Constructions
 
Dialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories Surprising Application: Cardinalities of the ContinuumDialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories Surprising Application: Cardinalities of the Continuum
 
Fibrational Versions of Dialectica Categories
Fibrational Versions of Dialectica CategoriesFibrational Versions of Dialectica Categories
Fibrational Versions of Dialectica Categories
 
Dialectica Categories and Cardinalities of the Continuum (March2014)
Dialectica Categories and  Cardinalities of the Continuum (March2014)Dialectica Categories and  Cardinalities of the Continuum (March2014)
Dialectica Categories and Cardinalities of the Continuum (March2014)
 
Dialectica Comonoids
Dialectica ComonoidsDialectica Comonoids
Dialectica Comonoids
 
Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for Everyone
 
Why (categorical) representation theory?
Why (categorical) representation theory?Why (categorical) representation theory?
Why (categorical) representation theory?
 

Mehr von Valeria de Paiva

Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021Valeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
 
Networked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceNetworked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceValeria de Paiva
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its roleValeria de Paiva
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoValeria de Paiva
 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesValeria de Paiva
 
The importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseThe importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseValeria de Paiva
 
Semantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTSemantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTValeria de Paiva
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogValeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 
Gender Gap in Computing 2014
Gender Gap in Computing 2014Gender Gap in Computing 2014
Gender Gap in Computing 2014Valeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 

Mehr von Valeria de Paiva (14)

Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
PLN para Tod@s
PLN para Tod@sPLN para Tod@s
PLN para Tod@s
 
Networked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceNetworked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better Science
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its role
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-Veloso
 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and Machines
 
The importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseThe importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in Portuguese
 
Semantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTSemantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACT
 
NLCS 2013 opening slides
NLCS 2013 opening slidesNLCS 2013 opening slides
NLCS 2013 opening slides
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for Dialog
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
Gender Gap in Computing 2014
Gender Gap in Computing 2014Gender Gap in Computing 2014
Gender Gap in Computing 2014
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 

Kürzlich hochgeladen

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Kürzlich hochgeladen (20)

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 

Dialectica Categories and Petri Nets

  • 1. 1/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Dialectica Categories and Petri Nets Valeria de Paiva Before ACT Summer School 2020 January, 2020 Valeria de Paiva ACT 2020
  • 2. 2/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Goals Thank you, ACT Summer School organizers! I want talk about the application of Dialectica categories to modelling Petri Nets. I start by describing Petri nets and Dialectica categories. Then I show how to think of special Petri nets as a kind of Dialectica category (following Brown and Gurr) and how to think of usual Petri nets as dialectica categories. Then we discuss if this is good modelling or not, and why Valeria de Paiva ACT 2020
  • 3. 3/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Outline Petri nets Dialectica categories Elementary nets Petri nets as double dialectica constructions Time permitting I will try to compare with new work on Petri nets. Valeria de Paiva ACT 2020
  • 4. 4/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Using Categories Category: a collection of objects and of morphisms, satisfying obvious laws for composition of morphisms; there is an identity for each object and morphisms of the correct domain and co-domain compose, associatively. Functors: the natural notion of morphism between categories Natural transformations: the natural notion of morphisms between functors Constructors: products, sums, functions spaces, limits, duals.... Adjunctions: an abstract version of equality Valeria de Paiva ACT 2020
  • 5. 5/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Categorical models of Petri Nets Types are formulae/objects in appropriate category, Terms/programs are proofs/morphisms in the category, Logical constructors are appropriate categorical constructions. Most important: Reduction is proof normalization (Tait) Outcome: Transfer results/tools from logic to CT to CSci, etc Valeria de Paiva ACT 2020
  • 6. 6/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Brown and Gurr, LICS 1990, Info & Comp 1995 Valeria de Paiva ACT 2020
  • 7. 7/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Based on Winskel, LiCS 1988 Valeria de Paiva ACT 2020
  • 8. 8/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Motivation for Petri nets: Vending Machine Valeria de Paiva ACT 2020
  • 9. 9/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Motivation: Modelling Petri nets firing Valeria de Paiva ACT 2020
  • 10. 10/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Why Petri Nets? Modeling is hard. People seem to like Petri nets. Concurrency is hard. People seem to like Petri nets (non-determinism vs causal independence). Huge number of types: colored, stochastic, higher-order, etc.. Huge number of papers/books/systems Natural application of Linear Logic Recent work on Baez/Master/Moeller and independently of Lopes/Hauesler/Benevides Valeria de Paiva ACT 2020
  • 11. 11/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Which Petri nets? Valeria de Paiva ACT 2020
  • 12. 12/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri What’s the problem? A long-standing problem in the theory of Petri nets has been the lack of any clear methodology for producing a compositional theory of nets (and indeed the lack of even a clear notion as to what a map between nets should be). Brown and Gurr, 1990 Winskel suggests that Petri nets and other models of concurrency can be profitably cast into an algebraic framework. Many people followed this suggestion with several categorical models of Petri nets proposed. Our proposal is to use Dialectica morphisms, so let us check the Dialectica construction for Linear Logic Valeria de Paiva ACT 2020
  • 13. 13/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Linear Logic A proof theoretic logic described by Girard in 1986. Basic idea: assumptions cannot be discarded or duplicated. They must be used exactly once – just like dollar bills (except when they’re marked by a modality !) Other approaches to accounting for logical resources before. Relevance Logic! Great win of Linear Logic: Account for resources when you want to, otherwise fall back to traditional logic via translation A → B iff !A −◦ B Valeria de Paiva ACT 2020
  • 14. 14/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Linear Implication and (Multiplicative) Conjunction Traditional implication: A, A → B B A, A → B A ∧ B Re-use A Linear implication: A, A −◦ B B A, A −◦ B A ⊗ B Cannot re-use A Traditional conjunction: A ∧ B A Discard B Linear conjunction: A ⊗ B A Cannot discard B Of course: !A !A⊗!A Re-use !(A) ⊗ B B Discard Valeria de Paiva ACT 2020
  • 15. 15/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri The challenges of modeling Linear Logic Traditional modeling of intuitionistic logic: formula A object A of appropriate category A ∧ B A × B (real product) A → B BA (set of functions from A to B) and they relate via adjunction A ∧ B → C ⇐⇒ A → Hom(B, C) = CB These are real products, have projections (A × B → A) and diagonals (A → A × A) corresponding to deletion and duplication of resources. Not linear!!! Need to use tensor products and internal homs. Hard to define the “make-everything-usual”operator ”!”. Valeria de Paiva ACT 2020
  • 16. 16/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Dialectica Categories The category Dial2(Sets) has as objects triples A = (U, X, α), where U, X are sets and α is an ordinary relation between U and X. (so either u and x are α related, α(u, x) = 1 or not.) A map from A = (U, X, α) to B = (V , Y , β) is a pair of functions (f , F), where f : U → V and F : X → Y such that U α X ⇓ ∀u ∈ U, ∀y ∈ Y α(u, Fy) implies β(fu, y) V f ? β Y 6 F or α(u, F(y)) ≤ β(f (u), y) Valeria de Paiva ACT 2020
  • 17. 17/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Dialectica Categories Constructions On the board, lost slides. Do internal-hom and tensor. and maybe adjunction. Theorem: The category Dial2(Sets) is a sound model for (intuitionistic and classical) Linear Logic. And Petri Nets... Valeria de Paiva ACT 2020
  • 18. 18/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Dialectica Categories as (safe) Petri Nets A category of safe nets SNet objects are of the form (E, B, pre, post). (pre, post are relations E × B → 2) Morphisms are pairs of functions (f , F) making the two diagrams below commute. E pre B ⇓ E f ? pre B 6 F E post B ⇑ E f ? post B 6 F where as before ∀e ∈ E, ∀b ∈ B pre(e, Fb ) implies pre (fe, b ) and also, the corresponding reversed implication for post: ∀e ∈ E, ∀b ∈ B post(e, Fb ) is implied by post (fe, b ). Brown and Gurr 1990 Valeria de Paiva ACT 2020
  • 19. 19/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Dialectica Categories as Petri Nets Why is this good? Structurally safe nets, say Brown and Gurr. Can construct refinement morphisms of nets. Can lift all the categorical structure of Dial2(Sets) to a given category of nets. Are these nets any good? Similar to Winskel’s nets, constructed for different reasons. Valeria de Paiva ACT 2020
  • 20. 20/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Dialectica Categories as (general) Petri Nets A category of safe nets SNet objects are of the form (E, B, pre, post), BUT where pre, post are maps into N, a lineale. Morphisms are pairs of functions (f , F) making the two diagrams below commute. E pre B ⇓ E f ? pre B 6 F E post B ⇑ E f ? post B 6 F where as before ∀e ∈ E, ∀b ∈ B pre(e, Fb ) implies pre (fe, b ) and also, the corresponding reversed implication for post conditions: ∀e ∈ E, ∀b ∈ B post(e, Fb ) is implied by post (fe, b ) Valeria de Paiva ACT 2020
  • 21. 21/21 Introduction Petri Nets Linear Logic Dialetica cats Dialectica and Petri Conclusions Dialectica morphisms correspond to simulations between Petri nets, using markings. CCS constructors can be simulated too. Nielsen and Winskel have a collection of work on categories of concurrency models, how much of that can be reproduced in our setting? Is this good modelling? Clearly people like Petri nets, especially probabilistic ones. What is the theorem that we want to prove? Can this work shed some light on how to model probabilistic theories using category theory? at least it gives me the impulse to read about it! Valeria de Paiva ACT 2020