From till at informatik.uni-bremen.de Wed May 4 12:47:10 2005 From: till at informatik.uni-bremen.de (Till Mossakowski) Date: Wed, 04 May 2005 12:47:10 +0200 Subject: [Hets-devel] Improved documentation of Hets code Message-ID: <4278A82E.7000300@informatik.uni-bremen.de> Dear friends of Hets, recently, we have improved the documentation of Hets modules. See http://www.informatik.uni-bremen.de/%7Eluettich/hets/ This page is also reachable via the Hets homepage http://www.tzi.de/cofi/hets Greetings, Till -- Till Mossakowski Phone +49-421-218-4683 Dept. of Computer Science Fax +49-421-218-3054 University of Bremen till at tzi.de P.O.Box 330440, D-28334 Bremen http://www.tzi.de/~till From maeder at tzi.de Mon May 9 08:16:40 2005 From: maeder at tzi.de (Christian Maeder) Date: Mon, 09 May 2005 08:16:40 +0200 Subject: [Hets-devel] switched to ghc-6.4 Message-ID: <427F0048.9050608@tzi.de> Dear developers, I've switched our default haskell compiler to version 6.4 here at Bremen FB3. This will require recompilation. Since I've also changed ATerm and PosItem generation, please "make distclean". In order to create binaries for solaris we need to stay compatible with ghc-6.2.x, so don't rely on Data.Map and Data.Set, yet. Still use Common.Lib.Map and Common.Lib.Set (and import them qualified). Mail me if problems arise, Christian From maeder at tzi.de Mon May 9 10:44:31 2005 From: maeder at tzi.de (Christian Maeder) Date: Mon, 09 May 2005 10:44:31 +0200 Subject: [Hets-devel] Re: switched to ghc-6.4 In-Reply-To: <427F0048.9050608@tzi.de> References: <427F0048.9050608@tzi.de> Message-ID: <427F22EF.9070100@tzi.de> Christian Maeder wrote: > Mail me if problems arise, The files ATC/Result.* and ATC/Id.* may need to be removed manually. From maeder at tzi.de Tue May 10 11:08:10 2005 From: maeder at tzi.de (Christian Maeder) Date: Tue, 10 May 2005 11:08:10 +0200 Subject: [Hets-devel] Re: switched to ghc-6.4 In-Reply-To: <427FD262.2050706@tzi.de> References: <427F0048.9050608@tzi.de> <427F22EF.9070100@tzi.de> <427FD262.2050706@tzi.de> Message-ID: <428079FA.8050206@tzi.de> Hi again, For ghc-6.4 the uniform workbench needs to be refreshly checked out and recompiled as well. (If you work here in the net it is enough to have a link to /home/cofi/uni/linux/uni) Also the old programatica sources don't work any more. The current sources are in /home/cofi/programatica. You cannot link to it, because binaries are created during compilation. So please use a local copy: /home/cofi/programatica.tgz uni, programatica and HetCATS must be one directory. For uni get the most recent version with: cvs -d :pserver:cvsread at cvs-agbkb.informatik.uni-bremen.de:/repository co uni # only necessary if you don't have uni yet cd uni cvs up -A # not necessary after a fresh "cvs co" ./configure make packages Possibly, you need to "make clean" with old code. (Note that the most recent uni sources only work with ghc-6.4 und thus don't work under solaris!) Alternatively you may continue to use ghc-6.2.2 here by setting your path (in ~/.bashrc): export PATH=/home/linux-bkb/ghc/ghc-6.2.2/bin:$PATH Christian Mingyi Liu wrote: > Bei mir sieht es so aus: > > ->make hets > ghc --make -o hets hets.hs -Wall -fglasgow-exts > -fno-monomorphism-restriction -fallow-overlapping-instances > -fallow-undecidable-instances -ighc -ifgl -ihxt -package-conf > ../uni/uni-package.conf -package uni-davinci -package uni-server > -DUNI_PACKAGE -DHATCHET -DCASLEXTENSIONS > ghc-6.2.2: ../uni/uni-package.conf:1: parse error on input `{' > make: *** [hets] Error 1 > > Wie mache ich weiter? From maeder at tzi.de Tue May 10 11:56:23 2005 From: maeder at tzi.de (Christian Maeder) Date: Tue, 10 May 2005 11:56:23 +0200 Subject: [Hets-devel] increase turn around Message-ID: <42808547.3030003@tzi.de> developers, depending on the corner that your are working on, you can ignore certain parts of hets. For example you may move away the directories uni or programatica. Furthermore there are switches in the top-level Makefile -DHATCHET and -DCASLEXTENSION that may be deleted, temporarily. Look in Comorphisms/LogicList.hs and Comorphisms/LogicGraph.hs in order to find out the parts that are disabled with these switches. Beware, however, that only a new exported function may break existing code (Ambiguous names). So a final overall compilation (best after "make distclean") and a call to "make doc" is a good idea before committing changes. But please check in your changes early! First to save your work, second to avoid major merging problems later on. (We all make errors: "programming is the art of introducing bugs") Also beware that changing the above switches may cause recompilation problems that'll require "make distclean" (or manually deleting certain *.o files) Christian From maeder at tzi.de Fri May 13 18:02:39 2005 From: maeder at tzi.de (Christian Maeder) Date: Fri, 13 May 2005 18:02:39 +0200 Subject: [Hets-devel] ported to fgl Message-ID: <4284CF9F.50706@tzi.de> Hi, I've removed our Common.Lib.Graph und used Data.Graph.Inductive.Graph instead. However, recompilation may fail due to old files hanging around. So remove: ATC/Proofs.der.hs ATC/DevGraph.der.hs ATC/Proofs.hs ATC/DevGraph.hs ATC/Graph.* Christian From till at informatik.uni-bremen.de Wed May 18 12:46:57 2005 From: till at informatik.uni-bremen.de (Till Mossakowski) Date: Wed, 18 May 2005 12:46:57 +0200 Subject: [Hets-devel] Signatures versus theories Message-ID: <428B1D21.2090107@informatik.uni-bremen.de> Dear Hetters, there is some discussion about what to put in signatures and what in theories. I have put some notes in HetCATS/ideas, and also appended them below. Please directly edit HetCATS/ideas if you can contribute to this discussion. Greetings, Till Signatures versus theories ========================== some notions: a simple theoroidal comorphism maps signatures to theories sentences to sentences the mapping of theories is induced by these maps an arbitrary theoroidal comorphism maps theories to theories sentences to sentences problem here: is doable, but more complicated than the simple case. do we really need it? a specification frame morphism maps theories to theories problem here: how to translate goals? we need some awful theory difference computations general questions: - can we stay with simple theoroidal comorphisms, or do we need non-simple ones? - can we stay with sentence-to-sentence translation, or do we need something else? problems with simple theoroidal comorphisms: - CASL to Isabelle: free types are axioms in CASL, sig elements in Isabelle solution 1 free types are signature elements in CASL two-level construction of CASL: plain CASL sigs as in RefMan CASL sig = plain CASL theory = plain CASL sig + set of sort gen axioms CASL theory = CASL sig + set of axioms solution 2 free types are axioms in Isabelle - CASL to HasCASL In HasCASL, datatypes must be parts of the signature (needed for analysis of program blocks) If CASL adopts the same solution, we get a simple theoroidal comorphism If CASL does not so, we get a non-simple theoroidal comorphism - HasCASL to Haskell no problem, since constructors are already determined by signature and program blocks lead to complete definition of a function problems with theoroidal comorphisms (i.e. sentence to sentence translation) - ? -- Till Mossakowski Phone +49-421-218-4683 Dept. of Computer Science Fax +49-421-218-3054 University of Bremen till at tzi.de P.O.Box 330440, D-28334 Bremen http://www.tzi.de/~till From maeder at tzi.de Thu May 19 17:05:50 2005 From: maeder at tzi.de (Christian Maeder) Date: Thu, 19 May 2005 17:05:50 +0200 Subject: [Hets-devel] recompilation Message-ID: <428CAB4E.4050901@tzi.de> Hi, I have changed the ATC file for Isabelle from ATC/IsaSign.hs to Isabelle/ATC_Isabelle.hs in the Makefile (since Isabelle is a logic). If recompilation ("make") fails delete: ATC/IsaSign.* Isabelle/ATC_Isabelle.* Christian utils/genRules looks for files ATC/.hs that it imports if the file being processed has an "import .". From maeder at tzi.de Tue May 24 14:47:43 2005 From: maeder at tzi.de (Christian Maeder) Date: Tue, 24 May 2005 14:47:43 +0200 Subject: [Hets-devel] programatica Message-ID: <4293226F.6020101@tzi.de> Hallo, I've update programatica and you need the new programmatica from /home/cofi/programatica.tgz (if you use programatica at all). The affected files are ATC/Haskell.header.hs and Comorphisms/Haskell2IsabelleHOLCF.hs (these won't compile with previous programatica files, due to a change of a data type) Cheers Christian