SlideShare a Scribd company logo
The OMDoc Import/Export of Hets

                                        Ewaryst Schulz

                                       DFKI Bremen, Germany
                           http://www.informatik.uni-bremen.de/~ewaryst
                                        ewaryst.schulz@dfki.de


                 Conferences on Intelligent Computer Mathematics 2010
                             Content Math Training Camp
                                      Paris, France
                                     7th July 2010




The OMDoc Import/Export of Hets                                   German Research Center
Ewaryst Schulz                                                    for Artificial Intelligence
The Hets System




The OMDoc Import/Export of Hets   German Research Center
Ewaryst Schulz                    for Artificial Intelligence
The Hets System




                                   Other Systems


                                     OMDoc


                                  OMDoc-based Services




The OMDoc Import/Export of Hets      German Research Center
Ewaryst Schulz                       for Artificial Intelligence
Hets Resources


     This Document:
     http://www.informatik.uni-bremen.de/~ewaryst/CMTC2010.pdf
     Hets:
     http://www.informatik.uni-bremen.de/agbkb/forschung/
     formal_methods/CoFI/hets/
     Hets Library:
     https://svn-agbkb.informatik.uni-bremen.de/Hets-lib/trunk/
     Hets OMDoc Content Dictionaries:
     https://svn-agbkb.informatik.uni-bremen.de/Hets-OMDoc/
     trunk/ContentDictionaries/
     CASL:
     http://www.informatik.uni-bremen.de/cofi/wiki/

The OMDoc Import/Export of Hets               German Research Center
Ewaryst Schulz                                for Artificial Intelligence
CASL Specification


  library Basic/Algebra I

  spec Monoid =
       sort Elem
       ops e : Elem;
              ∗ : Elem × Elem → Elem, assoc, unit e

  spec CommutativeMonoid = Monoid
  then op   ∗ : Elem × Elem → Elem, comm

  spec Group = Monoid
  then ∀ x : Elem • ∃ x’ : Elem • x’ ∗ x = e                                               %(inv Group)%
  ...
  Source: https://svn-agbkb.informatik.uni-bremen.de/Hets-lib/trunk/Basic/Algebra_I.casl


The OMDoc Import/Export of Hets                                                 German Research Center
Ewaryst Schulz                                                                  for Artificial Intelligence
Development Graph


     Development Graph of Algebra Library




The OMDoc Import/Export of Hets             German Research Center
Ewaryst Schulz                              for Artificial Intelligence
OMDoc Translation


 <omdoc v e r s i o n=” 1 . 6 ” name=” B a s i c / A l g e b r a I ”>
   <t h e o r y name=” Monoid ” meta=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc ? c a s l ”>
     <c o n s t a n t name=” Elem ” r o l e=” t y p e ”> y p e>
                                                             <t
         <OMOBJ    >
             < OMS b a s e=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc”
                     module=” c a s l ” name=” s o r t ” />
         </OMOBJ </ t y p e> c o n s t a n t>
                     >          </
     <c o n s t a n t name=” ∗ ” r o l e=” o b j e c t ”>
         <t y p e>
             <OMOBJ   >
                <OMA  >
                   < OMS b a s e=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc”
                          module=” c a s l ” name=” f u n t y p e ” />
                   < OMS name=” Elem ” />
                   < OMS name=” Elem ” />
                   < OMS name=” Elem ” />
                </OMA  >
             </OMOBJ </ t y p e> c o n s t a n t>
                       >            </

        ...

    </ t h e o r y>
    <t h e o r y name=” CommutativeMonoid ” meta=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc ? c a s l ”>
      <s t r u c t u r e name=” g n i m p 0 ” from=” ? Monoid ”>
          <open name=” Elem ” a s=” Elem ” />

        ...

 </omdoc>
The OMDoc Import/Export of Hets                                                                         German Research Center
Ewaryst Schulz                                                                                          for Artificial Intelligence
Same Name Same Thing Principle



  spec Monoid =
       sort Elem
       ops e : Elem;
              ∗ : Elem × Elem → Elem, assoc, unit e

  spec Commutative =
       sort Elem
       op     ∗ : Elem × Elem → Elem, comm

  spec CommutativeMonoid = Monoid and Commutative

     Elem from Monoid and from Commutative are identified!


The OMDoc Import/Export of Hets                  German Research Center
Ewaryst Schulz                                   for Artificial Intelligence
Same Name Same Thing Principle



  spec Monoid =
       sort Elem
       ops e : Elem;
              ∗ : Elem × Elem → Elem, assoc, unit e

  spec Commutative =
       sort Elem
       op     ∗ : Elem × Elem → Elem, comm

  spec CommutativeMonoid = Monoid and Commutative

     Elem from Monoid and from Commutative are identified!


The OMDoc Import/Export of Hets                  German Research Center
Ewaryst Schulz                                   for Artificial Intelligence
Same Name Same Thing Principle
   cont.

     Corresponding OMDoc fragment
 <t h e o r y name=” CommutativeMonoid ” meta=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc ? c a s l ”>
   <s t r u c t u r e name=” g n i m p 0 ” from=” ? Monoid ”>
       <open name=” Elem ” a s=” Elem ” />
        ...
   </ s t r u c t u r e>
   <s t r u c t u r e name=” g n i m p 1 ” from=” ? Commutative ”>
       <c o n a s s name=” Elem ”>
           <OMOBJ    >
               <OMS name=” Elem ” />
           </OMOBJ     >
       </ c o n a s s>
        ...
   </ s t r u c t u r e>
 </ t h e o r y>



     name in open and conass interpreted in source-context of structure
     as, OMOBJ interpreted in current context



The OMDoc Import/Export of Hets                                                                     German Research Center
Ewaryst Schulz                                                                                      for Artificial Intelligence
Subsorts and Overloading


  spec Int =
       sorts Nat < Int; Elem
       ops 0 : Nat;
              + : Int × Int → Int;
              + : Nat × Nat → Nat;
              + : Elem × Elem → Elem;
              ∗ : Nat × Int → Int;
              ∗ : Int × Nat → Int
       vars x, y : Elem; n, m : Nat
       •x +y =y +x                                 %(commE)%
       •n+m=m+n                                    %(commN)%
       •n∗m=m∗n                                  %(commMult)%
  end

The OMDoc Import/Export of Hets         German Research Center
Ewaryst Schulz                          for Artificial Intelligence
Subsorts and Overloading cont.


      Corresponding OMDoc fragment
 <t h e o r y name=” I n t ” meta=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc ? c a s l ”>
    ...
   <c o n s t a n t name=” + ” r o l e=” o b j e c t ”>
       <t y p e>
           <OMOBJ xmlns:om=” h t t p : //www . openmath . o r g /OpenMath”> . . .
               <OMA  >
                 <  OMS b a s e=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc”
                         module=” c a s l ” name=” f u n t y p e ” />
                     <OMS name=” Elem ” />
                     <OMS name=” Elem ” />
                     <OMS name=” Elem ” />
               </OMA </OMOBJ </ t y p e> c o n s t a n t>
                      >           >             </
   <c o n s t a n t name=”%()% o v e r 1 : + ” r o l e=” o b j e c t ”>
       <t y p e> . . .</ t y p e> c o n s t a n t>
                                 </
   <n o t a t i o n f o r=”??%()% o v e r 1 : + ” r o l e=” c o n s t a n t ”>
       <t e x t v a l u e=” + ” />
   </ n o t a t i o n>
    ...
 </ t h e o r y>


      Encoding of overloaded names
      notation stores the original name
The OMDoc Import/Export of Hets                                                                             German Research Center
Ewaryst Schulz                                                                                              for Artificial Intelligence
What else?


  If you have further questions such as


     How can I use Hets for my project?
     How can I integrate my logic in Hets?
     Should I use XSLT to translate an OMDoc from logic A to logic B?
     How could I design an OMDoc interface for my tool?


  I can probably answer them...




The OMDoc Import/Export of Hets                       German Research Center
Ewaryst Schulz                                        for Artificial Intelligence

More Related Content

Viewers also liked

Mobile Banking 2011: Clairmail
Mobile Banking 2011: ClairmailMobile Banking 2011: Clairmail
Mobile Banking 2011: Clairmail
Aberla
 
Bab i ka ijaaaaaaaaaaaaaa
Bab i ka ijaaaaaaaaaaaaaaBab i ka ijaaaaaaaaaaaaaa
Bab i ka ijaaaaaaaaaaaaaa
Azmi Azmi
 
Taller de autoestima. gestalt branden
Taller de autoestima. gestalt brandenTaller de autoestima. gestalt branden
Taller de autoestima. gestalt branden
Giovanny Sanchez
 
Operating Systems Hardening
Operating Systems HardeningOperating Systems Hardening
Operating Systems HardeningVasily Sartakov
 
Www.raypcb.com tag-acidicetchingprocess.html
Www.raypcb.com  tag-acidicetchingprocess.htmlWww.raypcb.com  tag-acidicetchingprocess.html
Www.raypcb.com tag-acidicetchingprocess.html
grace cheng
 
Nordea Economic Outlook, September 2014
Nordea Economic Outlook, September 2014Nordea Economic Outlook, September 2014
Nordea Economic Outlook, September 2014
Luca Falda
 
20110910「facebookで次の一歩」セミナー資料
20110910「facebookで次の一歩」セミナー資料20110910「facebookで次の一歩」セミナー資料
20110910「facebookで次の一歩」セミナー資料
松崎 和弘
 

Viewers also liked (7)

Mobile Banking 2011: Clairmail
Mobile Banking 2011: ClairmailMobile Banking 2011: Clairmail
Mobile Banking 2011: Clairmail
 
Bab i ka ijaaaaaaaaaaaaaa
Bab i ka ijaaaaaaaaaaaaaaBab i ka ijaaaaaaaaaaaaaa
Bab i ka ijaaaaaaaaaaaaaa
 
Taller de autoestima. gestalt branden
Taller de autoestima. gestalt brandenTaller de autoestima. gestalt branden
Taller de autoestima. gestalt branden
 
Operating Systems Hardening
Operating Systems HardeningOperating Systems Hardening
Operating Systems Hardening
 
Www.raypcb.com tag-acidicetchingprocess.html
Www.raypcb.com  tag-acidicetchingprocess.htmlWww.raypcb.com  tag-acidicetchingprocess.html
Www.raypcb.com tag-acidicetchingprocess.html
 
Nordea Economic Outlook, September 2014
Nordea Economic Outlook, September 2014Nordea Economic Outlook, September 2014
Nordea Economic Outlook, September 2014
 
20110910「facebookで次の一歩」セミナー資料
20110910「facebookで次の一歩」セミナー資料20110910「facebookで次の一歩」セミナー資料
20110910「facebookで次の一歩」セミナー資料
 

Similar to The OMDoc Import/Export of Hets

Knee-deep in C++ s... code
Knee-deep in C++ s... codeKnee-deep in C++ s... code
Knee-deep in C++ s... code
PVS-Studio
 
An Introduction to PHP Dependency Management With Composer
An Introduction to PHP Dependency Management With ComposerAn Introduction to PHP Dependency Management With Composer
An Introduction to PHP Dependency Management With Composer
Oomph, Inc.
 
PyLadies Talk: Learn to love the command line!
PyLadies Talk: Learn to love the command line!PyLadies Talk: Learn to love the command line!
PyLadies Talk: Learn to love the command line!
Blanca Mancilla
 
Kotlin+MicroProfile: Enseñando trucos de 20 años a un nuevo lenguaje
Kotlin+MicroProfile: Enseñando trucos de 20 años a un nuevo lenguajeKotlin+MicroProfile: Enseñando trucos de 20 años a un nuevo lenguaje
Kotlin+MicroProfile: Enseñando trucos de 20 años a un nuevo lenguaje
Víctor Leonel Orozco López
 
RCEC Email 4.7.03 (b)
RCEC Email 4.7.03 (b)RCEC Email 4.7.03 (b)
RCEC Email 4.7.03 (b)
Obama White House
 
Enrich Your Models With OCL
Enrich Your Models With OCLEnrich Your Models With OCL
Enrich Your Models With OCL
Edward Willink
 
Automated tests - facts and myths
Automated tests - facts and mythsAutomated tests - facts and myths
Automated tests - facts and myths
Wojciech Sznapka
 
OSCON2014 : Quick Introduction to System Tools Programming with Go
OSCON2014 : Quick Introduction to System Tools Programming with GoOSCON2014 : Quick Introduction to System Tools Programming with Go
OSCON2014 : Quick Introduction to System Tools Programming with Go
Chris McEniry
 
Learning to Sample
Learning to SampleLearning to Sample
Learning to Sample
Pooyan Jamshidi
 
Switch case and looping
Switch case and loopingSwitch case and looping
Switch case and looping
ChaAstillas
 
Machine learning on Go Code
Machine learning on Go CodeMachine learning on Go Code
Machine learning on Go Code
source{d}
 

Similar to The OMDoc Import/Export of Hets (11)

Knee-deep in C++ s... code
Knee-deep in C++ s... codeKnee-deep in C++ s... code
Knee-deep in C++ s... code
 
An Introduction to PHP Dependency Management With Composer
An Introduction to PHP Dependency Management With ComposerAn Introduction to PHP Dependency Management With Composer
An Introduction to PHP Dependency Management With Composer
 
PyLadies Talk: Learn to love the command line!
PyLadies Talk: Learn to love the command line!PyLadies Talk: Learn to love the command line!
PyLadies Talk: Learn to love the command line!
 
Kotlin+MicroProfile: Enseñando trucos de 20 años a un nuevo lenguaje
Kotlin+MicroProfile: Enseñando trucos de 20 años a un nuevo lenguajeKotlin+MicroProfile: Enseñando trucos de 20 años a un nuevo lenguaje
Kotlin+MicroProfile: Enseñando trucos de 20 años a un nuevo lenguaje
 
RCEC Email 4.7.03 (b)
RCEC Email 4.7.03 (b)RCEC Email 4.7.03 (b)
RCEC Email 4.7.03 (b)
 
Enrich Your Models With OCL
Enrich Your Models With OCLEnrich Your Models With OCL
Enrich Your Models With OCL
 
Automated tests - facts and myths
Automated tests - facts and mythsAutomated tests - facts and myths
Automated tests - facts and myths
 
OSCON2014 : Quick Introduction to System Tools Programming with Go
OSCON2014 : Quick Introduction to System Tools Programming with GoOSCON2014 : Quick Introduction to System Tools Programming with Go
OSCON2014 : Quick Introduction to System Tools Programming with Go
 
Learning to Sample
Learning to SampleLearning to Sample
Learning to Sample
 
Switch case and looping
Switch case and loopingSwitch case and looping
Switch case and looping
 
Machine learning on Go Code
Machine learning on Go CodeMachine learning on Go Code
Machine learning on Go Code
 

Recently uploaded

Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your TasteZodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
my Pandit
 
Profiles of Iconic Fashion Personalities.pdf
Profiles of Iconic Fashion Personalities.pdfProfiles of Iconic Fashion Personalities.pdf
Profiles of Iconic Fashion Personalities.pdf
TTop Threads
 
Top 10 Free Accounting and Bookkeeping Apps for Small Businesses
Top 10 Free Accounting and Bookkeeping Apps for Small BusinessesTop 10 Free Accounting and Bookkeeping Apps for Small Businesses
Top 10 Free Accounting and Bookkeeping Apps for Small Businesses
YourLegal Accounting
 
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
my Pandit
 
Registered-Establishment-List-in-Uttarakhand-pdf.pdf
Registered-Establishment-List-in-Uttarakhand-pdf.pdfRegistered-Establishment-List-in-Uttarakhand-pdf.pdf
Registered-Establishment-List-in-Uttarakhand-pdf.pdf
dazzjoker
 
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
APCO
 
2024-6-01-IMPACTSilver-Corp-Presentation.pdf
2024-6-01-IMPACTSilver-Corp-Presentation.pdf2024-6-01-IMPACTSilver-Corp-Presentation.pdf
2024-6-01-IMPACTSilver-Corp-Presentation.pdf
hartfordclub1
 
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
taqyea
 
NIMA2024 | De toegevoegde waarde van DEI en ESG in campagnes | Nathalie Lam |...
NIMA2024 | De toegevoegde waarde van DEI en ESG in campagnes | Nathalie Lam |...NIMA2024 | De toegevoegde waarde van DEI en ESG in campagnes | Nathalie Lam |...
NIMA2024 | De toegevoegde waarde van DEI en ESG in campagnes | Nathalie Lam |...
BBPMedia1
 
Innovation Management Frameworks: Your Guide to Creativity & Innovation
Innovation Management Frameworks: Your Guide to Creativity & InnovationInnovation Management Frameworks: Your Guide to Creativity & Innovation
Innovation Management Frameworks: Your Guide to Creativity & Innovation
Operational Excellence Consulting
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
Best Competitive Marble Pricing in Dubai - ☎ 9928909666
Best Competitive Marble Pricing in Dubai - ☎ 9928909666Best Competitive Marble Pricing in Dubai - ☎ 9928909666
Best Competitive Marble Pricing in Dubai - ☎ 9928909666
Stone Art Hub
 
Chapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .pptChapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .ppt
ssuser567e2d
 
Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024
Top Forex Brokers Review
 
Call8328958814 satta matka Kalyan result satta guessing
Call8328958814 satta matka Kalyan result satta guessingCall8328958814 satta matka Kalyan result satta guessing
Call8328958814 satta matka Kalyan result satta guessing
➑➌➋➑➒➎➑➑➊➍
 
HOW TO START UP A COMPANY A STEP-BY-STEP GUIDE.pdf
HOW TO START UP A COMPANY A STEP-BY-STEP GUIDE.pdfHOW TO START UP A COMPANY A STEP-BY-STEP GUIDE.pdf
HOW TO START UP A COMPANY A STEP-BY-STEP GUIDE.pdf
46adnanshahzad
 
How MJ Global Leads the Packaging Industry.pdf
How MJ Global Leads the Packaging Industry.pdfHow MJ Global Leads the Packaging Industry.pdf
How MJ Global Leads the Packaging Industry.pdf
MJ Global
 
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Neil Horowitz
 
DearbornMusic-KatherineJasperFullSailUni
DearbornMusic-KatherineJasperFullSailUniDearbornMusic-KatherineJasperFullSailUni
DearbornMusic-KatherineJasperFullSailUni
katiejasper96
 
The Steadfast and Reliable Bull: Taurus Zodiac Sign
The Steadfast and Reliable Bull: Taurus Zodiac SignThe Steadfast and Reliable Bull: Taurus Zodiac Sign
The Steadfast and Reliable Bull: Taurus Zodiac Sign
my Pandit
 

Recently uploaded (20)

Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your TasteZodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
 
Profiles of Iconic Fashion Personalities.pdf
Profiles of Iconic Fashion Personalities.pdfProfiles of Iconic Fashion Personalities.pdf
Profiles of Iconic Fashion Personalities.pdf
 
Top 10 Free Accounting and Bookkeeping Apps for Small Businesses
Top 10 Free Accounting and Bookkeeping Apps for Small BusinessesTop 10 Free Accounting and Bookkeeping Apps for Small Businesses
Top 10 Free Accounting and Bookkeeping Apps for Small Businesses
 
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
 
Registered-Establishment-List-in-Uttarakhand-pdf.pdf
Registered-Establishment-List-in-Uttarakhand-pdf.pdfRegistered-Establishment-List-in-Uttarakhand-pdf.pdf
Registered-Establishment-List-in-Uttarakhand-pdf.pdf
 
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
 
2024-6-01-IMPACTSilver-Corp-Presentation.pdf
2024-6-01-IMPACTSilver-Corp-Presentation.pdf2024-6-01-IMPACTSilver-Corp-Presentation.pdf
2024-6-01-IMPACTSilver-Corp-Presentation.pdf
 
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
 
NIMA2024 | De toegevoegde waarde van DEI en ESG in campagnes | Nathalie Lam |...
NIMA2024 | De toegevoegde waarde van DEI en ESG in campagnes | Nathalie Lam |...NIMA2024 | De toegevoegde waarde van DEI en ESG in campagnes | Nathalie Lam |...
NIMA2024 | De toegevoegde waarde van DEI en ESG in campagnes | Nathalie Lam |...
 
Innovation Management Frameworks: Your Guide to Creativity & Innovation
Innovation Management Frameworks: Your Guide to Creativity & InnovationInnovation Management Frameworks: Your Guide to Creativity & Innovation
Innovation Management Frameworks: Your Guide to Creativity & Innovation
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
 
Best Competitive Marble Pricing in Dubai - ☎ 9928909666
Best Competitive Marble Pricing in Dubai - ☎ 9928909666Best Competitive Marble Pricing in Dubai - ☎ 9928909666
Best Competitive Marble Pricing in Dubai - ☎ 9928909666
 
Chapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .pptChapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .ppt
 
Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024
 
Call8328958814 satta matka Kalyan result satta guessing
Call8328958814 satta matka Kalyan result satta guessingCall8328958814 satta matka Kalyan result satta guessing
Call8328958814 satta matka Kalyan result satta guessing
 
HOW TO START UP A COMPANY A STEP-BY-STEP GUIDE.pdf
HOW TO START UP A COMPANY A STEP-BY-STEP GUIDE.pdfHOW TO START UP A COMPANY A STEP-BY-STEP GUIDE.pdf
HOW TO START UP A COMPANY A STEP-BY-STEP GUIDE.pdf
 
How MJ Global Leads the Packaging Industry.pdf
How MJ Global Leads the Packaging Industry.pdfHow MJ Global Leads the Packaging Industry.pdf
How MJ Global Leads the Packaging Industry.pdf
 
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
 
DearbornMusic-KatherineJasperFullSailUni
DearbornMusic-KatherineJasperFullSailUniDearbornMusic-KatherineJasperFullSailUni
DearbornMusic-KatherineJasperFullSailUni
 
The Steadfast and Reliable Bull: Taurus Zodiac Sign
The Steadfast and Reliable Bull: Taurus Zodiac SignThe Steadfast and Reliable Bull: Taurus Zodiac Sign
The Steadfast and Reliable Bull: Taurus Zodiac Sign
 

The OMDoc Import/Export of Hets

  • 1. The OMDoc Import/Export of Hets Ewaryst Schulz DFKI Bremen, Germany http://www.informatik.uni-bremen.de/~ewaryst ewaryst.schulz@dfki.de Conferences on Intelligent Computer Mathematics 2010 Content Math Training Camp Paris, France 7th July 2010 The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence
  • 2. The Hets System The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence
  • 3. The Hets System Other Systems OMDoc OMDoc-based Services The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence
  • 4. Hets Resources This Document: http://www.informatik.uni-bremen.de/~ewaryst/CMTC2010.pdf Hets: http://www.informatik.uni-bremen.de/agbkb/forschung/ formal_methods/CoFI/hets/ Hets Library: https://svn-agbkb.informatik.uni-bremen.de/Hets-lib/trunk/ Hets OMDoc Content Dictionaries: https://svn-agbkb.informatik.uni-bremen.de/Hets-OMDoc/ trunk/ContentDictionaries/ CASL: http://www.informatik.uni-bremen.de/cofi/wiki/ The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence
  • 5. CASL Specification library Basic/Algebra I spec Monoid = sort Elem ops e : Elem; ∗ : Elem × Elem → Elem, assoc, unit e spec CommutativeMonoid = Monoid then op ∗ : Elem × Elem → Elem, comm spec Group = Monoid then ∀ x : Elem • ∃ x’ : Elem • x’ ∗ x = e %(inv Group)% ... Source: https://svn-agbkb.informatik.uni-bremen.de/Hets-lib/trunk/Basic/Algebra_I.casl The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence
  • 6. Development Graph Development Graph of Algebra Library The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence
  • 7. OMDoc Translation <omdoc v e r s i o n=” 1 . 6 ” name=” B a s i c / A l g e b r a I ”> <t h e o r y name=” Monoid ” meta=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc ? c a s l ”> <c o n s t a n t name=” Elem ” r o l e=” t y p e ”> y p e> <t <OMOBJ > < OMS b a s e=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc” module=” c a s l ” name=” s o r t ” /> </OMOBJ </ t y p e> c o n s t a n t> > </ <c o n s t a n t name=” ∗ ” r o l e=” o b j e c t ”> <t y p e> <OMOBJ > <OMA > < OMS b a s e=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc” module=” c a s l ” name=” f u n t y p e ” /> < OMS name=” Elem ” /> < OMS name=” Elem ” /> < OMS name=” Elem ” /> </OMA > </OMOBJ </ t y p e> c o n s t a n t> > </ ... </ t h e o r y> <t h e o r y name=” CommutativeMonoid ” meta=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc ? c a s l ”> <s t r u c t u r e name=” g n i m p 0 ” from=” ? Monoid ”> <open name=” Elem ” a s=” Elem ” /> ... </omdoc> The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence
  • 8. Same Name Same Thing Principle spec Monoid = sort Elem ops e : Elem; ∗ : Elem × Elem → Elem, assoc, unit e spec Commutative = sort Elem op ∗ : Elem × Elem → Elem, comm spec CommutativeMonoid = Monoid and Commutative Elem from Monoid and from Commutative are identified! The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence
  • 9. Same Name Same Thing Principle spec Monoid = sort Elem ops e : Elem; ∗ : Elem × Elem → Elem, assoc, unit e spec Commutative = sort Elem op ∗ : Elem × Elem → Elem, comm spec CommutativeMonoid = Monoid and Commutative Elem from Monoid and from Commutative are identified! The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence
  • 10. Same Name Same Thing Principle cont. Corresponding OMDoc fragment <t h e o r y name=” CommutativeMonoid ” meta=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc ? c a s l ”> <s t r u c t u r e name=” g n i m p 0 ” from=” ? Monoid ”> <open name=” Elem ” a s=” Elem ” /> ... </ s t r u c t u r e> <s t r u c t u r e name=” g n i m p 1 ” from=” ? Commutative ”> <c o n a s s name=” Elem ”> <OMOBJ > <OMS name=” Elem ” /> </OMOBJ > </ c o n a s s> ... </ s t r u c t u r e> </ t h e o r y> name in open and conass interpreted in source-context of structure as, OMOBJ interpreted in current context The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence
  • 11. Subsorts and Overloading spec Int = sorts Nat < Int; Elem ops 0 : Nat; + : Int × Int → Int; + : Nat × Nat → Nat; + : Elem × Elem → Elem; ∗ : Nat × Int → Int; ∗ : Int × Nat → Int vars x, y : Elem; n, m : Nat •x +y =y +x %(commE)% •n+m=m+n %(commN)% •n∗m=m∗n %(commMult)% end The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence
  • 12. Subsorts and Overloading cont. Corresponding OMDoc fragment <t h e o r y name=” I n t ” meta=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc ? c a s l ”> ... <c o n s t a n t name=” + ” r o l e=” o b j e c t ”> <t y p e> <OMOBJ xmlns:om=” h t t p : //www . openmath . o r g /OpenMath”> . . . <OMA > < OMS b a s e=” h t t p : // c d s . omdoc . o r g / l o g i c s / c a s l / c a s l . omdoc” module=” c a s l ” name=” f u n t y p e ” /> <OMS name=” Elem ” /> <OMS name=” Elem ” /> <OMS name=” Elem ” /> </OMA </OMOBJ </ t y p e> c o n s t a n t> > > </ <c o n s t a n t name=”%()% o v e r 1 : + ” r o l e=” o b j e c t ”> <t y p e> . . .</ t y p e> c o n s t a n t> </ <n o t a t i o n f o r=”??%()% o v e r 1 : + ” r o l e=” c o n s t a n t ”> <t e x t v a l u e=” + ” /> </ n o t a t i o n> ... </ t h e o r y> Encoding of overloaded names notation stores the original name The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence
  • 13. What else? If you have further questions such as How can I use Hets for my project? How can I integrate my logic in Hets? Should I use XSLT to translate an OMDoc from logic A to logic B? How could I design an OMDoc interface for my tool? I can probably answer them... The OMDoc Import/Export of Hets German Research Center Ewaryst Schulz for Artificial Intelligence