SlideShare une entreprise Scribd logo
1  sur  23
Télécharger pour lire hors ligne
maude
                        Alberto Lluch
                        ASCENS General Meeting
                        Pisa, March 2-4, 2011




                                                 1


alberto.lluch@imtlucca.it
what is maude?

       “A high-level, declarative language
         that supports both equational
         and rewriting logic computation”

                             – maude.cs.uiuc.edu

                                      2


alberto.lluch@imtlucca.it
rule-based




                                                  interoperable
        semantic framework
                  reflective
                            tools   unification


                                             3


alberto.lluch@imtlucca.it
rule-based




                                                  interoperable
        semantic framework
                  reflective
                            tools   unification


                                             4


alberto.lluch@imtlucca.it
rule-based
             mod m(x) is
                  import m1, m2,...
                  sort s1, s2,...
                  ops f, g,...
                  eq f(...) = ...
                  rl l => r
             endm

                                      5


alberto.lluch@imtlucca.it
rule-based

                            me




                                 6


alberto.lluch@imtlucca.it
rule-based
                        me   me


                        me   me


                        me   me



                                  7


alberto.lluch@imtlucca.it
rule-based




                                                  interoperable
        semantic framework
                  reflective
                            tools   unification


                                             8


alberto.lluch@imtlucca.it
semantic
          framework
 models of concurrent computation: equational programming, lambda calculi,
   Petri nets, process algebras (CCS and pi-calculus), actors, operational
    semantics of languages (via K, SOS): Java, C, Python, Haskell, agent
  languages, active networks languages, hardware description languages,
 logical framework and metatool: linear logic, translations between theorem
 provers, type systems, open calculus of constructions, tile logic distributed
 architectures and components: UML, OCL, MOF, Service architectures and
   middlewares, open distributed processing, models, specification and
   analysis of communication protocols: active networks, wireless sensor
     networks, firefire leader election protocol, modeling and analysis of
  security protocols: cryptographic protocol specification language CAPSL,
  MSR, security specification formalism, Maude-NPA, real-time, biological,
        probabilistic systems: real-time maude, pathway logic, PMaude

                                                           9


alberto.lluch@imtlucca.it
semantic
          framework
 models of concurrent computation: equational programming, lambda calculi,
   Petri nets, process algebras (CCS and pi-calculus), actors, operational
    semantics of languages (via K, SOS): Java, C, Python, Haskell, agent
  languages, active networks languages, hardware description languages,
 logical framework and metatool: linear logic, translations between theorem
 provers, type systems, open calculus of constructions, tile logic distributed
 architectures and components: UML, OCL, MOF, Service architectures and
   middlewares, open distributed processing, models, specification and
   analysis of communication protocols: active networks, wireless sensor
     networks, firefire leader election protocol, modeling and analysis of
  security protocols: cryptographic protocol specification language CAPSL,
  MSR, security specification formalism, Maude-NPA, real-time, biological,
        probabilistic systems: real-time maude, pathway logic, PMaude

                                                          10


alberto.lluch@imtlucca.it
rule-based




                                                  interoperable
        semantic framework
                  reflective
                            tools   unification


                                             11


alberto.lluch@imtlucca.it
reflection
   META-LEVEL is a module where
     – modules, terms, rules, equations, sorts, etc. are data.
     – matching, rule application, rewriting, etc. are functions.
   META-LEVEL is a module so...
        it can be treated as data again, and again...
        this gives rise to a tower of reflection.
   Metaprogramming applications
     – execution layers: ordinary behaviour, reconfiguration, adaptation
     – transformation of modules
     – analysis of modules




                                                              12


alberto.lluch@imtlucca.it
reflection
       mod AC is


                            ANALYZE(C)              PLAN(C)
                             crc(C);                  add(r1,C);
                             C |= f;                  del(r2,C);
                             ...                      ...

                                         mod C is
             MEASURE(C,I)                              EXECUTE(C)
                                            ...
                read/get();                                 metaRewrite(C);
                                         endm

       endm
                                                               13


alberto.lluch@imtlucca.it
reflection

        me                  me   me        me




                                      14


alberto.lluch@imtlucca.it
rule-based




                                                  interoperable
        semantic framework
                  reflective
                            tools   unification


                                             15


alberto.lluch@imtlucca.it
?         ?
      x        me           y
                                    ...       z        me   u




                                                  16


alberto.lluch@imtlucca.it
unification
                   x        me   y     ≡A         z      me


  Useful for...
   Check confluence of equational specifications (via CPA).
   Model checking ∞-state systems via narrowing.
   Deductive verification

                                 every rule preserves I
                                      I is invariant

   Reason about open systems
     – e.g. exploiting semantic frameworks for open processes [Bruni@TCS'07]
                                                            17


alberto.lluch@imtlucca.it
rule-based




                                                  interoperable
        semantic framework
                  reflective
                            tools   unification


                                             18


alberto.lluch@imtlucca.it
tools
   Available (tool) checkers for confluence, termination, sufficient completeness,
    coherence, reachability, invariants, temporal logic properties, etc.
   Style-Preserving Architectural Reconfigurations (ADR) [Bruni,Montanari,Lluch]
      – Correct-by-construction reconfigurations;
      – Reconfigurations coordinated by the (hierarchical) structure.
   Hierarchical Graphs for Processes [Bruni,Gadducci,Lluch,Montanari]
      – From processes to graphs and back via graph algebras.
   Semantics of long-running transactions (SAGAS) [Bruni,Kersten,Montanari]
      – Use of reflection e.g. to install compensations dynamically;
      – Maude to simulate and analyse transactional specifications.
   Modal logics for graphs [Corradini,Gadducci,Lluch,Vandin]
      – Graph rewriting-like term rewrite rules;
      – Temporal graph logic to reason about spatial and temporal properties.
                                                               19


alberto.lluch@imtlucca.it
rule-based




                                                  interoperable
        semantic framework
                  reflective
                            tools   unification


                                             20


alberto.lluch@imtlucca.it
interoperability
   MOMENT Project
     – Maude simple GUI (textual editor);
     – Maude Daemon: Java encapsulation to launch/stop Maude processes.
   MOMENT2
     – MOF/OCL/QVT semantics (executable/verifiable);
     – MOMENT-MT (model transformations);
     – MOMENT-AADL (real-time ADL, real-time Maude).
   Graphical EMF-based editors (under development) [Bruni,Lluch]
     – Model-driven methodology to create ad-hoc Maude GUIs;
     – Generic Maude graphical editor;
     – Object-oriented graphical editor.



                                                         21


alberto.lluch@imtlucca.it
SO WHAT?
                            22


alberto.lluch@imtlucca.it
maude role
   None
       “this thing is completely useless for me”
   A WP2 model “debugger”
       “check model definitions and results”
   An interpreter/analyser for some SCEL dialect
       “double-check the semantics to discover ambiguities”
   An inspiration for models
       “reflective knowledge, stochastic unification, etc.”



                                                  23


alberto.lluch@imtlucca.it

Contenu connexe

Similaire à Maude .:° ASCENS 2011

Pierre lévy architecture of a semantic networking language
Pierre lévy   architecture of a semantic networking languagePierre lévy   architecture of a semantic networking language
Pierre lévy architecture of a semantic networking languageAG Malhaartificial
 
A PNML extension for the HCI design
A PNML extension for the HCI designA PNML extension for the HCI design
A PNML extension for the HCI designWaqas Tariq
 
Iaetsd robo control sytsem design using arm
Iaetsd robo control sytsem design using armIaetsd robo control sytsem design using arm
Iaetsd robo control sytsem design using armIaetsd Iaetsd
 
Architecture and design
Architecture and designArchitecture and design
Architecture and designhimanshu_airon
 
The Lambda Defense Functional Paradigms for Cyber Security
The Lambda Defense Functional Paradigms for Cyber SecurityThe Lambda Defense Functional Paradigms for Cyber Security
The Lambda Defense Functional Paradigms for Cyber SecurityRod Soto
 
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...Aravind NC
 
Aspect Oriented Programming
Aspect Oriented ProgrammingAspect Oriented Programming
Aspect Oriented Programmingmukhtarhudaya
 
Using Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN Models
Using Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN ModelsUsing Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN Models
Using Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN ModelsWaqas Tariq
 
Actor model in F# and Akka.NET
Actor model in F# and Akka.NETActor model in F# and Akka.NET
Actor model in F# and Akka.NETRiccardo Terrell
 
Next generation of frontend architectures
Next generation of frontend architecturesNext generation of frontend architectures
Next generation of frontend architecturesluca mezzalira
 
International journal of engineering issues vol 2015 - no 2 - paper4
International journal of engineering issues   vol 2015 - no 2 - paper4International journal of engineering issues   vol 2015 - no 2 - paper4
International journal of engineering issues vol 2015 - no 2 - paper4sophiabelthome
 
Software Architecture and Project Management module III : PATTERN OF ENTERPRISE
Software Architecture and Project Management module III : PATTERN OF ENTERPRISESoftware Architecture and Project Management module III : PATTERN OF ENTERPRISE
Software Architecture and Project Management module III : PATTERN OF ENTERPRISEsreeja_rajesh
 
Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesAngelos Kapsimanis
 

Similaire à Maude .:° ASCENS 2011 (20)

Pierre lévy architecture of a semantic networking language
Pierre lévy   architecture of a semantic networking languagePierre lévy   architecture of a semantic networking language
Pierre lévy architecture of a semantic networking language
 
A PNML extension for the HCI design
A PNML extension for the HCI designA PNML extension for the HCI design
A PNML extension for the HCI design
 
Iaetsd robo control sytsem design using arm
Iaetsd robo control sytsem design using armIaetsd robo control sytsem design using arm
Iaetsd robo control sytsem design using arm
 
System models
System modelsSystem models
System models
 
Sda 2
Sda   2Sda   2
Sda 2
 
Architecture and design
Architecture and designArchitecture and design
Architecture and design
 
The Lambda Defense Functional Paradigms for Cyber Security
The Lambda Defense Functional Paradigms for Cyber SecurityThe Lambda Defense Functional Paradigms for Cyber Security
The Lambda Defense Functional Paradigms for Cyber Security
 
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
 
Aspect Oriented Programming
Aspect Oriented ProgrammingAspect Oriented Programming
Aspect Oriented Programming
 
Smart-X: an Adaptive Multi-Agent Platform for Smart-Topics
Smart-X: an Adaptive Multi-Agent Platform for Smart-TopicsSmart-X: an Adaptive Multi-Agent Platform for Smart-Topics
Smart-X: an Adaptive Multi-Agent Platform for Smart-Topics
 
Using Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN Models
Using Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN ModelsUsing Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN Models
Using Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN Models
 
Actor model in F# and Akka.NET
Actor model in F# and Akka.NETActor model in F# and Akka.NET
Actor model in F# and Akka.NET
 
Next generation of frontend architectures
Next generation of frontend architecturesNext generation of frontend architectures
Next generation of frontend architectures
 
Class notes
Class notesClass notes
Class notes
 
Critis08 Cimm
Critis08 CimmCritis08 Cimm
Critis08 Cimm
 
International journal of engineering issues vol 2015 - no 2 - paper4
International journal of engineering issues   vol 2015 - no 2 - paper4International journal of engineering issues   vol 2015 - no 2 - paper4
International journal of engineering issues vol 2015 - no 2 - paper4
 
LANSim
LANSimLANSim
LANSim
 
Software Architecture and Project Management module III : PATTERN OF ENTERPRISE
Software Architecture and Project Management module III : PATTERN OF ENTERPRISESoftware Architecture and Project Management module III : PATTERN OF ENTERPRISE
Software Architecture and Project Management module III : PATTERN OF ENTERPRISE
 
control system.pdf
control system.pdfcontrol system.pdf
control system.pdf
 
Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniques
 

Plus de Alberto Lluch Lafuente

Many-to-Many Information Flow Policies
Many-to-Many Information Flow PoliciesMany-to-Many Information Flow Policies
Many-to-Many Information Flow PoliciesAlberto Lluch Lafuente
 
Adaptable Transition Systems @ ASCENS Meeting Prague 2013
Adaptable Transition Systems @ ASCENS Meeting Prague 2013Adaptable Transition Systems @ ASCENS Meeting Prague 2013
Adaptable Transition Systems @ ASCENS Meeting Prague 2013Alberto Lluch Lafuente
 
White Box Adaptation @ CINA Meeting 2013
White Box Adaptation @ CINA Meeting 2013White Box Adaptation @ CINA Meeting 2013
White Box Adaptation @ CINA Meeting 2013Alberto Lluch Lafuente
 
A White-box Perspective on Self-Adaptation and Self-Awareness (with a focus o...
A White-box Perspective on Self-Adaptation and Self-Awareness (with a focus o...A White-box Perspective on Self-Adaptation and Self-Awareness (with a focus o...
A White-box Perspective on Self-Adaptation and Self-Awareness (with a focus o...Alberto Lluch Lafuente
 
State Space c-Reductions of Concurrent Systems in Rewriting Logic @ ETAPS Wor...
State Space c-Reductions of Concurrent Systems in Rewriting Logic @ ETAPS Wor...State Space c-Reductions of Concurrent Systems in Rewriting Logic @ ETAPS Wor...
State Space c-Reductions of Concurrent Systems in Rewriting Logic @ ETAPS Wor...Alberto Lluch Lafuente
 
A conceptual framework for behavioural adaptation @ Leicester 2011
A conceptual framework for behavioural adaptation @ Leicester 2011A conceptual framework for behavioural adaptation @ Leicester 2011
A conceptual framework for behavioural adaptation @ Leicester 2011Alberto Lluch Lafuente
 
Evaluating the performance of model transformation styles with Maude @ Sympos...
Evaluating the performance of model transformation styles with Maude @ Sympos...Evaluating the performance of model transformation styles with Maude @ Sympos...
Evaluating the performance of model transformation styles with Maude @ Sympos...Alberto Lluch Lafuente
 
A conceptual framework for behavioural adaptation @ Meeting ASCENS 2011
A conceptual framework for behavioural adaptation @ Meeting ASCENS 2011A conceptual framework for behavioural adaptation @ Meeting ASCENS 2011
A conceptual framework for behavioural adaptation @ Meeting ASCENS 2011Alberto Lluch Lafuente
 
A Graph Syntax for Processes and Services @ Workshop WS-FM 2009
A Graph Syntax for Processes and Services @ Workshop WS-FM 2009A Graph Syntax for Processes and Services @ Workshop WS-FM 2009
A Graph Syntax for Processes and Services @ Workshop WS-FM 2009Alberto Lluch Lafuente
 

Plus de Alberto Lluch Lafuente (11)

Many-to-Many Information Flow Policies
Many-to-Many Information Flow PoliciesMany-to-Many Information Flow Policies
Many-to-Many Information Flow Policies
 
Adaptable Transition Systems @ ASCENS Meeting Prague 2013
Adaptable Transition Systems @ ASCENS Meeting Prague 2013Adaptable Transition Systems @ ASCENS Meeting Prague 2013
Adaptable Transition Systems @ ASCENS Meeting Prague 2013
 
White Box Adaptation @ CINA Meeting 2013
White Box Adaptation @ CINA Meeting 2013White Box Adaptation @ CINA Meeting 2013
White Box Adaptation @ CINA Meeting 2013
 
A White-box Perspective on Self-Adaptation and Self-Awareness (with a focus o...
A White-box Perspective on Self-Adaptation and Self-Awareness (with a focus o...A White-box Perspective on Self-Adaptation and Self-Awareness (with a focus o...
A White-box Perspective on Self-Adaptation and Self-Awareness (with a focus o...
 
State Space c-Reductions of Concurrent Systems in Rewriting Logic @ ETAPS Wor...
State Space c-Reductions of Concurrent Systems in Rewriting Logic @ ETAPS Wor...State Space c-Reductions of Concurrent Systems in Rewriting Logic @ ETAPS Wor...
State Space c-Reductions of Concurrent Systems in Rewriting Logic @ ETAPS Wor...
 
A conceptual framework for behavioural adaptation @ Leicester 2011
A conceptual framework for behavioural adaptation @ Leicester 2011A conceptual framework for behavioural adaptation @ Leicester 2011
A conceptual framework for behavioural adaptation @ Leicester 2011
 
Evaluating the performance of model transformation styles with Maude @ Sympos...
Evaluating the performance of model transformation styles with Maude @ Sympos...Evaluating the performance of model transformation styles with Maude @ Sympos...
Evaluating the performance of model transformation styles with Maude @ Sympos...
 
A conceptual framework for behavioural adaptation @ Meeting ASCENS 2011
A conceptual framework for behavioural adaptation @ Meeting ASCENS 2011A conceptual framework for behavioural adaptation @ Meeting ASCENS 2011
A conceptual framework for behavioural adaptation @ Meeting ASCENS 2011
 
IMT Welcome Day 2011
IMT Welcome Day 2011IMT Welcome Day 2011
IMT Welcome Day 2011
 
A Graph Syntax for Processes and Services @ Workshop WS-FM 2009
A Graph Syntax for Processes and Services @ Workshop WS-FM 2009A Graph Syntax for Processes and Services @ Workshop WS-FM 2009
A Graph Syntax for Processes and Services @ Workshop WS-FM 2009
 
An Algebra of Hierarchical Graphs
An Algebra of Hierarchical GraphsAn Algebra of Hierarchical Graphs
An Algebra of Hierarchical Graphs
 

Dernier

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 

Dernier (20)

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 

Maude .:° ASCENS 2011

  • 1. maude Alberto Lluch ASCENS General Meeting Pisa, March 2-4, 2011 1 alberto.lluch@imtlucca.it
  • 2. what is maude? “A high-level, declarative language that supports both equational and rewriting logic computation” – maude.cs.uiuc.edu 2 alberto.lluch@imtlucca.it
  • 3. rule-based interoperable semantic framework reflective tools unification 3 alberto.lluch@imtlucca.it
  • 4. rule-based interoperable semantic framework reflective tools unification 4 alberto.lluch@imtlucca.it
  • 5. rule-based mod m(x) is import m1, m2,... sort s1, s2,... ops f, g,... eq f(...) = ... rl l => r endm 5 alberto.lluch@imtlucca.it
  • 6. rule-based me 6 alberto.lluch@imtlucca.it
  • 7. rule-based me me me me me me 7 alberto.lluch@imtlucca.it
  • 8. rule-based interoperable semantic framework reflective tools unification 8 alberto.lluch@imtlucca.it
  • 9. semantic framework models of concurrent computation: equational programming, lambda calculi, Petri nets, process algebras (CCS and pi-calculus), actors, operational semantics of languages (via K, SOS): Java, C, Python, Haskell, agent languages, active networks languages, hardware description languages, logical framework and metatool: linear logic, translations between theorem provers, type systems, open calculus of constructions, tile logic distributed architectures and components: UML, OCL, MOF, Service architectures and middlewares, open distributed processing, models, specification and analysis of communication protocols: active networks, wireless sensor networks, firefire leader election protocol, modeling and analysis of security protocols: cryptographic protocol specification language CAPSL, MSR, security specification formalism, Maude-NPA, real-time, biological, probabilistic systems: real-time maude, pathway logic, PMaude 9 alberto.lluch@imtlucca.it
  • 10. semantic framework models of concurrent computation: equational programming, lambda calculi, Petri nets, process algebras (CCS and pi-calculus), actors, operational semantics of languages (via K, SOS): Java, C, Python, Haskell, agent languages, active networks languages, hardware description languages, logical framework and metatool: linear logic, translations between theorem provers, type systems, open calculus of constructions, tile logic distributed architectures and components: UML, OCL, MOF, Service architectures and middlewares, open distributed processing, models, specification and analysis of communication protocols: active networks, wireless sensor networks, firefire leader election protocol, modeling and analysis of security protocols: cryptographic protocol specification language CAPSL, MSR, security specification formalism, Maude-NPA, real-time, biological, probabilistic systems: real-time maude, pathway logic, PMaude 10 alberto.lluch@imtlucca.it
  • 11. rule-based interoperable semantic framework reflective tools unification 11 alberto.lluch@imtlucca.it
  • 12. reflection  META-LEVEL is a module where – modules, terms, rules, equations, sorts, etc. are data. – matching, rule application, rewriting, etc. are functions.  META-LEVEL is a module so... it can be treated as data again, and again... this gives rise to a tower of reflection.  Metaprogramming applications – execution layers: ordinary behaviour, reconfiguration, adaptation – transformation of modules – analysis of modules 12 alberto.lluch@imtlucca.it
  • 13. reflection mod AC is ANALYZE(C) PLAN(C) crc(C); add(r1,C); C |= f; del(r2,C); ... ... mod C is MEASURE(C,I) EXECUTE(C) ... read/get(); metaRewrite(C); endm endm 13 alberto.lluch@imtlucca.it
  • 14. reflection me me me me 14 alberto.lluch@imtlucca.it
  • 15. rule-based interoperable semantic framework reflective tools unification 15 alberto.lluch@imtlucca.it
  • 16. ? ? x me y ... z me u 16 alberto.lluch@imtlucca.it
  • 17. unification x me y ≡A z me Useful for...  Check confluence of equational specifications (via CPA).  Model checking ∞-state systems via narrowing.  Deductive verification every rule preserves I I is invariant  Reason about open systems – e.g. exploiting semantic frameworks for open processes [Bruni@TCS'07] 17 alberto.lluch@imtlucca.it
  • 18. rule-based interoperable semantic framework reflective tools unification 18 alberto.lluch@imtlucca.it
  • 19. tools  Available (tool) checkers for confluence, termination, sufficient completeness, coherence, reachability, invariants, temporal logic properties, etc.  Style-Preserving Architectural Reconfigurations (ADR) [Bruni,Montanari,Lluch] – Correct-by-construction reconfigurations; – Reconfigurations coordinated by the (hierarchical) structure.  Hierarchical Graphs for Processes [Bruni,Gadducci,Lluch,Montanari] – From processes to graphs and back via graph algebras.  Semantics of long-running transactions (SAGAS) [Bruni,Kersten,Montanari] – Use of reflection e.g. to install compensations dynamically; – Maude to simulate and analyse transactional specifications.  Modal logics for graphs [Corradini,Gadducci,Lluch,Vandin] – Graph rewriting-like term rewrite rules; – Temporal graph logic to reason about spatial and temporal properties. 19 alberto.lluch@imtlucca.it
  • 20. rule-based interoperable semantic framework reflective tools unification 20 alberto.lluch@imtlucca.it
  • 21. interoperability  MOMENT Project – Maude simple GUI (textual editor); – Maude Daemon: Java encapsulation to launch/stop Maude processes.  MOMENT2 – MOF/OCL/QVT semantics (executable/verifiable); – MOMENT-MT (model transformations); – MOMENT-AADL (real-time ADL, real-time Maude).  Graphical EMF-based editors (under development) [Bruni,Lluch] – Model-driven methodology to create ad-hoc Maude GUIs; – Generic Maude graphical editor; – Object-oriented graphical editor. 21 alberto.lluch@imtlucca.it
  • 22. SO WHAT? 22 alberto.lluch@imtlucca.it
  • 23. maude role  None “this thing is completely useless for me”  A WP2 model “debugger” “check model definitions and results”  An interpreter/analyser for some SCEL dialect “double-check the semantics to discover ambiguities”  An inspiration for models “reflective knowledge, stochastic unification, etc.” 23 alberto.lluch@imtlucca.it