SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
Formalizing and Operationalizing Industrial Standards

                     Dominik Dietrich      Lutz Schr¨der
                                                    o             Ewaryst Schulz

                                        DFKI Bremen, Germany
                                         ewaryst.schulz@dfki.de


                                 International Conference on
                        Fundamental Approaches to Software Engineering
                                    Saarbr¨cken, Germany
                                          u
                                       March 30 2011




Formalizing Industrial Standards                                       German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                                  for Artificial Intelligence
Overview


     The problem
         Assure proper functioning of safety critical systems
         Required functional properties of mechanical sub-components must
         be satisfied

     Our solution
         Use engineering calculation methods
         Formal language for engineering calculations
         Architecture allowing efficient execution and formal verification




Formalizing Industrial Standards                          German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                     for Artificial Intelligence
Outline


     1   Motivation

     2   The Industrial Standard EN 1591

     3   The engineering calculation language EnCL

     4   Formal verification of calculations

     5   Integration into Hets framework

     6   Conclusion


Formalizing Industrial Standards                     German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                for Artificial Intelligence
Reliable Mechanical Engineering


     Principal motivation
         Assure proper functioning of system, e.g., pipeline of chemical plant
         Verification of functional properties of sub-components, e.g.,
         flange connection withstands some given pressure

     Some possible approaches
         Formulating properties from first principles (mechanics, geometry)
         → level of abstraction not adequate
         Instead: Relying on established practice in engineering
         → industrial standards, engineering calculations, e.g.,
         standard for flange connections EN 1591



Formalizing Industrial Standards                          German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                     for Artificial Intelligence
The Industrial Standard EN 1591


         A standard for gasketed circular flange connections
         Consists of applicability, nomenclature and calculation method
         Assures impermeability and mechanical strength of the system




Formalizing Industrial Standards                         German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                    for Artificial Intelligence
Calculation Method Parameter


     The input parameters to the calculation method
         Flange data, e.g., dimensions and material constants




         Data for operating states such as pressure and temperature
Formalizing Industrial Standards                        German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                   for Artificial Intelligence
Calculation Method Control Flow


        Explicit back-jumps require
        conditional loops
        Evaluation order determined by
        dependency in definitions
        Piecewise function definitions
        require conditionals




Formalizing Industrial Standards         German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                    for Artificial Intelligence
Calculation Method analyzed


     The standard involves calculations using
                                                           √
         Real arithmetic with real functions, e.g., cos,   n


         Special functions such as maximization

     Requirements for formalizing the calculation method
         Specify dependencies in arbitrary order
         (subject to well-formedness requirements)
         Imperative control flow
         Schematic expressions

     Observation: little control but a lot of dependencies
     → division into program part and dependency store
Formalizing Industrial Standards                           German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                      for Artificial Intelligence
The Engineering Calculation
    Language EnCL

     The main building blocks
         Terms over a {bool, real}-sorted Signature Σ with predefined part
         Σpre = {������, cos, ...} and user-defined part Σuser = {c1 , c2 , ...}
         Special term constructions
             Predefined binders: e.g., solve(t = s, x)
             convergence predicate in loop conditions: convergence(0.001, c)

         Dependency stores are sets of dependencies c(x1 , ..., xn ) = t
         Programs constructs
             Assignment: c(x1 , ..., xn ) := t
             Sequence: p1 ; ...; pn
             Loop: repeat p until b
             Conditional: case b : p
Formalizing Industrial Standards                               German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                          for Artificial Intelligence
EnCL and Computer Algebra
    Systems

     Running EnCL program p with dependency store ������������

       CAS provides many predefined               Interpreter                      CAS
       functions
                                                                  start session
       CAS supports dependency stores
       CAS-interface                                               send(������������)

           evaluate terms
           assign terms to constants                 ⎧            assign(c, t)

       Send dependencies to the CAS
                                                     ⎪                  t′
                                                 run
                                                     ⎨
                                                                        .
                                                                        .
                                                                        .
       Run program p                          program⎪               eval(u)
                                                                       u′
                                                     ⎩
       The interpreter maintains dependency
       store (in parallel to CAS)


Formalizing Industrial Standards                         German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                    for Artificial Intelligence
A Small Example


     Calculating a root of cos in EnCL using Newton’s Method

        The EnCL specification            Dependency Graph
        x = 10 %(A)%
        y = cos(x) %(B)%                                    A
        z = sin(x) %(C)%                                x
         ------------------------                 B             C
        repeat                                y                      z
          x := x + y/z %(D)%
        until convergence(0.001, x)                         D

     Behaves like
     A;B;C;repeat x’:=x;D;B;C; until reldistLe(x, x’, 0.001)
Formalizing Industrial Standards                      German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                 for Artificial Intelligence
EnCL Semantics



         Σ-algebras with standard interpretation for predefined part Σpre

         [[t]]������ ∈ R is the interpretation of t in the Σ-algebra ������

         [[t]]������������ is the term t ′ after full substitution of t w.r.t. ������������

         If ������ is a model of ������������ then [[[[t]]������������ ]]������ = [[t]]������

         [[c(x1 , ..., xn ) := t]]������������ = ������������ [c(x1 , ..., xn ) = [[t]]������������ ]




Formalizing Industrial Standards                                            German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                                       for Artificial Intelligence
Formal Verification



     Correctness of calculations crucial for safety critical applications

         The CAS cannot be fully trusted
         However, results of the CAS can be formally verified
             Mark selected subterms as verification points
             Produce verification conditions

         Use Hets to prove verification conditions
             EnCL term semantics defined in HO-CASL,
             i.e., axiomatization of Σpre

         Checking solutions is easier than finding them

Formalizing Industrial Standards                             German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                        for Artificial Intelligence
Verification Conditions: Example




    EnCL program                      Insert verification point at solve
       .                              CAS computes solve(t = s, x) in
       . Dependency Store = ������������
       .                              context ������������ and returns r
    y := solve(t=s, x)                Verification condition
       .
       .
                                      ⋀︀
       .                                 ������������ ⇒ solve(t = s, x) = r
                                        Semantics of solve in HO-CASL
                                      Translate to HO-CASL for proving




Formalizing Industrial Standards                       German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                  for Artificial Intelligence
Integration of EnCL into Hets



                The Hets Framework
                                          HO-CASL
                                        Higher Order Logic



                           EnCL
                        Specification     Interpreter
                         Language


                                        CAS Interface




Formalizing Industrial Standards                             German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                        for Artificial Intelligence
Conclusion


         Formal verification of functional properties of mechanical systems
         Formal executable language for engineering calculations EnCL
         Integration into Institution Framework
         Implementation based on Hets Framework
         Generic CAS interface in Hets instantiated for Mathematica,
         Maple and Reduce
         Support for uncertain numerical values
         EnCL-formalization of calculation method from EN 1591
         Future Work
             Statement and proof of properties of calculation method
             Partial instantiations of the standard ensuing simplification
             Structuring of multiple calculation methods
Formalizing Industrial Standards                                 German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                            for Artificial Intelligence
Thank you for your attention.




Formalizing Industrial Standards                       German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                  for Artificial Intelligence
Formalizing Industrial Standards      German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                 for Artificial Intelligence
Uncertainty


     Some situations require dealing with uncertain numeric values

         Input parameters up to an error value, e.g., 1.53 ± 0.01
         CAS returns only approximation
         Require tracking of uncertainty throughout the CAS session
         → Mathematica’s Numerical-Precision Tracking (NPT)
         Adapt verification condition generation
         → replace numbers by intervals




Formalizing Industrial Standards                         German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                                    for Artificial Intelligence
Formalizing Industrial Standards      German Research Center
D. Dietrich, L. Schr¨der, E. Schulz
                    o                 for Artificial Intelligence

Contenu connexe

Similaire à FASE 2011 - Formalizing and Operationalizing Industrial Standards

Summer training vhdl
Summer training vhdlSummer training vhdl
Summer training vhdlArshit Rai
 
Hardware Description Language
Hardware Description Language Hardware Description Language
Hardware Description Language Prachi Pandey
 
Summer training vhdl
Summer training vhdlSummer training vhdl
Summer training vhdlArshit Rai
 
Linking and Versioning Support for AutomationML: A Model-Driven Engineering P...
Linking and Versioning Support for AutomationML: A Model-Driven Engineering P...Linking and Versioning Support for AutomationML: A Model-Driven Engineering P...
Linking and Versioning Support for AutomationML: A Model-Driven Engineering P...Emanuel Mätzler
 
How to design Programs using VHDL
How to design Programs using VHDLHow to design Programs using VHDL
How to design Programs using VHDLEutectics
 
1) What are the digital design entry methods Form your opinion, whi.pdf
1) What are the digital design entry methods Form your opinion, whi.pdf1) What are the digital design entry methods Form your opinion, whi.pdf
1) What are the digital design entry methods Form your opinion, whi.pdffasttrackscardecors
 
Automatic Task-based Code Generation for High Performance DSEL
Automatic Task-based Code Generation for High Performance DSELAutomatic Task-based Code Generation for High Performance DSEL
Automatic Task-based Code Generation for High Performance DSELJoel Falcou
 
FACS2017-Presentation.pdf
FACS2017-Presentation.pdfFACS2017-Presentation.pdf
FACS2017-Presentation.pdfallberson
 
Software engineering
Software engineeringSoftware engineering
Software engineeringFahe Em
 
Software engineering
Software engineeringSoftware engineering
Software engineeringFahe Em
 

Similaire à FASE 2011 - Formalizing and Operationalizing Industrial Standards (20)

Spdas2 vlsibput
Spdas2 vlsibputSpdas2 vlsibput
Spdas2 vlsibput
 
3. Synthesis.pptx
3. Synthesis.pptx3. Synthesis.pptx
3. Synthesis.pptx
 
Summer training vhdl
Summer training vhdlSummer training vhdl
Summer training vhdl
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Hardware Description Language
Hardware Description Language Hardware Description Language
Hardware Description Language
 
Lafauci dv club oct 2006
Lafauci dv club oct 2006Lafauci dv club oct 2006
Lafauci dv club oct 2006
 
Summer training vhdl
Summer training vhdlSummer training vhdl
Summer training vhdl
 
Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016
 
Linking and Versioning Support for AutomationML: A Model-Driven Engineering P...
Linking and Versioning Support for AutomationML: A Model-Driven Engineering P...Linking and Versioning Support for AutomationML: A Model-Driven Engineering P...
Linking and Versioning Support for AutomationML: A Model-Driven Engineering P...
 
slide8.ppt
slide8.pptslide8.ppt
slide8.ppt
 
How to design Programs using VHDL
How to design Programs using VHDLHow to design Programs using VHDL
How to design Programs using VHDL
 
Digital_system_design_A (1).ppt
Digital_system_design_A (1).pptDigital_system_design_A (1).ppt
Digital_system_design_A (1).ppt
 
Dica ii chapter slides
Dica ii chapter slidesDica ii chapter slides
Dica ii chapter slides
 
C Programming Tutorial - www.infomtec.com
C Programming Tutorial - www.infomtec.comC Programming Tutorial - www.infomtec.com
C Programming Tutorial - www.infomtec.com
 
1) What are the digital design entry methods Form your opinion, whi.pdf
1) What are the digital design entry methods Form your opinion, whi.pdf1) What are the digital design entry methods Form your opinion, whi.pdf
1) What are the digital design entry methods Form your opinion, whi.pdf
 
Automatic Task-based Code Generation for High Performance DSEL
Automatic Task-based Code Generation for High Performance DSELAutomatic Task-based Code Generation for High Performance DSEL
Automatic Task-based Code Generation for High Performance DSEL
 
FACS2017-Presentation.pdf
FACS2017-Presentation.pdfFACS2017-Presentation.pdf
FACS2017-Presentation.pdf
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Mini Project- ROM Based Sine Wave Generator
Mini Project- ROM Based Sine Wave GeneratorMini Project- ROM Based Sine Wave Generator
Mini Project- ROM Based Sine Wave Generator
 

Dernier

Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort GirlsDeira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort GirlsEscorts Call Girls
 
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Call Girls in Nagpur High Profile
 
VIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Naicy mandal
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...Call Girls in Nagpur High Profile
 
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...amitlee9823
 
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...Pooja Nehwal
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样qaffana
 
VVIP Pune Call Girls Kalyani Nagar (7001035870) Pune Escorts Nearby with Comp...
VVIP Pune Call Girls Kalyani Nagar (7001035870) Pune Escorts Nearby with Comp...VVIP Pune Call Girls Kalyani Nagar (7001035870) Pune Escorts Nearby with Comp...
VVIP Pune Call Girls Kalyani Nagar (7001035870) Pune Escorts Nearby with Comp...Call Girls in Nagpur High Profile
 
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)
(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)
(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)kojalkojal131
 
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...Pooja Nehwal
 
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service NashikLow Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...Call Girls in Nagpur High Profile
 
CALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcR
CALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcRCALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcR
CALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcRdollysharma2066
 
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...MOHANI PANDEY
 

Dernier (20)

Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort GirlsDeira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
 
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
 
VIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Dharwad 7001035870 Whatsapp Number, 24/07 Booking
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
 
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
 
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...
 
🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate
🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate
🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
 
VVIP Pune Call Girls Kalyani Nagar (7001035870) Pune Escorts Nearby with Comp...
VVIP Pune Call Girls Kalyani Nagar (7001035870) Pune Escorts Nearby with Comp...VVIP Pune Call Girls Kalyani Nagar (7001035870) Pune Escorts Nearby with Comp...
VVIP Pune Call Girls Kalyani Nagar (7001035870) Pune Escorts Nearby with Comp...
 
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)
(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)
(=Towel) Dubai Call Girls O525547819 Call Girls In Dubai (Fav0r)
 
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
 
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
 
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service NashikLow Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
Low Rate Call Girls Nashik Vedika 7001305949 Independent Escort Service Nashik
 
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...
 
CALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcR
CALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcRCALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcR
CALL GIRLS IN Saket 83778-77756 | Escort Service In DELHI NcR
 
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
 

FASE 2011 - Formalizing and Operationalizing Industrial Standards

  • 1. Formalizing and Operationalizing Industrial Standards Dominik Dietrich Lutz Schr¨der o Ewaryst Schulz DFKI Bremen, Germany ewaryst.schulz@dfki.de International Conference on Fundamental Approaches to Software Engineering Saarbr¨cken, Germany u March 30 2011 Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 2. Overview The problem Assure proper functioning of safety critical systems Required functional properties of mechanical sub-components must be satisfied Our solution Use engineering calculation methods Formal language for engineering calculations Architecture allowing efficient execution and formal verification Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 3. Outline 1 Motivation 2 The Industrial Standard EN 1591 3 The engineering calculation language EnCL 4 Formal verification of calculations 5 Integration into Hets framework 6 Conclusion Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 4. Reliable Mechanical Engineering Principal motivation Assure proper functioning of system, e.g., pipeline of chemical plant Verification of functional properties of sub-components, e.g., flange connection withstands some given pressure Some possible approaches Formulating properties from first principles (mechanics, geometry) → level of abstraction not adequate Instead: Relying on established practice in engineering → industrial standards, engineering calculations, e.g., standard for flange connections EN 1591 Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 5. The Industrial Standard EN 1591 A standard for gasketed circular flange connections Consists of applicability, nomenclature and calculation method Assures impermeability and mechanical strength of the system Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 6. Calculation Method Parameter The input parameters to the calculation method Flange data, e.g., dimensions and material constants Data for operating states such as pressure and temperature Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 7. Calculation Method Control Flow Explicit back-jumps require conditional loops Evaluation order determined by dependency in definitions Piecewise function definitions require conditionals Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 8. Calculation Method analyzed The standard involves calculations using √ Real arithmetic with real functions, e.g., cos, n Special functions such as maximization Requirements for formalizing the calculation method Specify dependencies in arbitrary order (subject to well-formedness requirements) Imperative control flow Schematic expressions Observation: little control but a lot of dependencies → division into program part and dependency store Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 9. The Engineering Calculation Language EnCL The main building blocks Terms over a {bool, real}-sorted Signature Σ with predefined part Σpre = {������, cos, ...} and user-defined part Σuser = {c1 , c2 , ...} Special term constructions Predefined binders: e.g., solve(t = s, x) convergence predicate in loop conditions: convergence(0.001, c) Dependency stores are sets of dependencies c(x1 , ..., xn ) = t Programs constructs Assignment: c(x1 , ..., xn ) := t Sequence: p1 ; ...; pn Loop: repeat p until b Conditional: case b : p Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 10. EnCL and Computer Algebra Systems Running EnCL program p with dependency store ������������ CAS provides many predefined Interpreter CAS functions start session CAS supports dependency stores CAS-interface send(������������) evaluate terms assign terms to constants ⎧ assign(c, t) Send dependencies to the CAS ⎪ t′ run ⎨ . . . Run program p program⎪ eval(u) u′ ⎩ The interpreter maintains dependency store (in parallel to CAS) Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 11. A Small Example Calculating a root of cos in EnCL using Newton’s Method The EnCL specification Dependency Graph x = 10 %(A)% y = cos(x) %(B)% A z = sin(x) %(C)% x ------------------------ B C repeat y z x := x + y/z %(D)% until convergence(0.001, x) D Behaves like A;B;C;repeat x’:=x;D;B;C; until reldistLe(x, x’, 0.001) Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 12. EnCL Semantics Σ-algebras with standard interpretation for predefined part Σpre [[t]]������ ∈ R is the interpretation of t in the Σ-algebra ������ [[t]]������������ is the term t ′ after full substitution of t w.r.t. ������������ If ������ is a model of ������������ then [[[[t]]������������ ]]������ = [[t]]������ [[c(x1 , ..., xn ) := t]]������������ = ������������ [c(x1 , ..., xn ) = [[t]]������������ ] Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 13. Formal Verification Correctness of calculations crucial for safety critical applications The CAS cannot be fully trusted However, results of the CAS can be formally verified Mark selected subterms as verification points Produce verification conditions Use Hets to prove verification conditions EnCL term semantics defined in HO-CASL, i.e., axiomatization of Σpre Checking solutions is easier than finding them Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 14. Verification Conditions: Example EnCL program Insert verification point at solve . CAS computes solve(t = s, x) in . Dependency Store = ������������ . context ������������ and returns r y := solve(t=s, x) Verification condition . . ⋀︀ . ������������ ⇒ solve(t = s, x) = r Semantics of solve in HO-CASL Translate to HO-CASL for proving Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 15. Integration of EnCL into Hets The Hets Framework HO-CASL Higher Order Logic EnCL Specification Interpreter Language CAS Interface Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 16. Conclusion Formal verification of functional properties of mechanical systems Formal executable language for engineering calculations EnCL Integration into Institution Framework Implementation based on Hets Framework Generic CAS interface in Hets instantiated for Mathematica, Maple and Reduce Support for uncertain numerical values EnCL-formalization of calculation method from EN 1591 Future Work Statement and proof of properties of calculation method Partial instantiations of the standard ensuing simplification Structuring of multiple calculation methods Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 17. Thank you for your attention. Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 18. Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 19. Uncertainty Some situations require dealing with uncertain numeric values Input parameters up to an error value, e.g., 1.53 ± 0.01 CAS returns only approximation Require tracking of uncertainty throughout the CAS session → Mathematica’s Numerical-Precision Tracking (NPT) Adapt verification condition generation → replace numbers by intervals Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence
  • 20. Formalizing Industrial Standards German Research Center D. Dietrich, L. Schr¨der, E. Schulz o for Artificial Intelligence