[[meta stylesheet=papers rel="stylesheet"]]
[[img img/emblem-documents.png link="no" class="flow" alt="documents"]]
Here is a list of my **academic papers**, classified by type of publication and
in reverse chronological order.
[[toc ]]
# journal publications
1. [.pdf] Andrea Asperti, Claudio Sacerdoti Coen, Enrico Tassi, Stefano Zacchiroli.
**User Interaction with the Matita Proof Assistant**
. *
In Journal of Automated
Reasoning, Special
Issue on User Interfaces for Theorem Proving, Springer
Netherlands, ISSN 0168-7433, pp.
109-139, 2007.
*
[[toggle id=id9 text="Abstract..."]] [[toggleable id=id9 text="""
*Abstract:* Matita is a new, document-centric, tactic-based interactive theorem prover. This paper focuses on some of the distinctive features of the user interaction with Matita, mostly characterized by the organization of the library as a searchable knowledge base, the emphasis on a high-quality notational rendering, and the complex interplay between syntax, presentation, and semantics.
"""]]
# conference proceedings
1. [.pdf] Angelo Di Iorio, Fabio Vitali, Stefano Zacchiroli.
**Wiki Content Templating**
. *
Accepted for publication in Proceedings of WWW 2008: 17th International World Wide
Web Conference. April 21-25, 2008 Beijing, China.
*
[[toggle id=id18 text="Abstract..."]] [[toggleable id=id18 text="""
*Abstract:* Wiki content templating enables reuse of content structures among wiki pages. In this paper we present a thorough study of this widespread feature, showing how its two state of the art models (functional and creational templating) are sub-optimal. We then propose a third, better, model called lightly constrained (LC) templating and show its implementation in the Moin wiki engine. We also show how LC templating implementations are the appropriate technologies to push forward semantically rich web pages on the lines of (lowercase) semantic web and microformats.
"""]]
1. [.pdf] Paolo Marinelli, Fabio Vitali, Stefano Zacchiroli.
**Streaming Validation of Schemata: the Lazy Typing Discipline**
. *
In Proceedings of Extreme Markup
Languages 2007: The Markup Theory and Practice Conference.
August 7-10, 2007 Montreal, Canada.
*
[[toggle id=id15 text="Abstract..."]] [[toggleable id=id15 text="""
*Abstract:* Assertions, identity constraints, and conditional type assignments are (planned) features of XML Schema which rely on XPath evaluation to various ends. The allowed XPath subset exploitable in those features is trimmed down for streamability concerns partly understandable (the apparent wish to avoid buffering to determine the evaluation of an expression) and partly artificial. In this paper we dissect the XPath language in subsets with varying streamability characteristics. We also identify the larger subset which is compatible with the typing discipline we believe underlies some of the choices currently present in the XML Schema specifications. We describe such a discipline as imposing that the type of an element has to be decided when its start tag is encountered and its validity has to be when its end tag is. We also propose an alternative lazy typing discipline where both type assignment and validity assessment are fired as soon as they are available in a best effort manner. We believe our discipline is more flexible and delegate to schema authors the choice of where to place in the trade-off between using larger XPath subsets and increasing buffering requirements or expeditiousness of typing information availability.
"""]]
1. [.pdf] Claudio Sacerdoti Coen, Stefano Zacchiroli.
**Spurious Disambiguation Error Detection**
. *
In Proceedings of MKM 2007: The
6th International Conference on Mathematical Knowledge Management.
Hagenberg, Austria -- 27-30 June 2007. LNAI
4573, Springer Berlin / Heidelberg, ISBN 978-3-540-73083-5, pp.
381-392, 2007.
*
[[toggle id=id14 text="Abstract..."]] [[toggleable id=id14 text="""
*Abstract:* The disambiguation approach to the input of formulae enables the user to type correct formulae in a terse syntax close to the usual ambiguous mathematical notation. When it comes to incorrect formulae we want to present only errors related to the interpretation meant by the user, hiding errors related to other interpretations (spurious errors). We propose a heuristic to recognize spurious errors, which has been integrated with the disambiguation algorithm of [1].
"""]]
1. [.pdf] Paolo Marinelli, Stefano Zacchiroli.
**Co-Constraint Validation in a Streaming Context**
. *
In Proceedings of XML 2006,
"The world's oldest and biggest XML conference". **Award*: Winner
of the XML
Scholarship 2006 as best student paper. Boston, MA --
December 5-7, 2006.
[[toggle id=id13 text="Abstract..."]] [[toggleable id=id13 text="""
*Abstract:* In many use cases applications are bound to be run consuming only a limited amount of memory. When they need to validate large XML documents, they have to adopt streaming validation, which does not rely on an in-memory representation of the whole input document. In order to validate an XML document, different kinds of constraints need to be verified. Co-constraints---which relate the content of elements to the presence and values of other attributes or elements---are one such kind of constraints. In this paper we propose an approach to the problem of validating in a streaming fashion an XML document against a schema also specifying co-constraints. We describe how the streaming evaluation of co-constraints influences the output of the validation process. Our proposal makes use of the validation language SchemaPath, a light extension to XML Schema, adding conditional type assignment for the support of co-constraints. The paper is based on the description of our streaming SchemaPath validator.
"""]]
1. [.pdf] Andrea Asperti, Claudio Sacerdoti Coen, Enrico Tassi, Stefano Zacchiroli.
**Crafting a Proof Assistant**
. *
In Proceedings of Types
2006: Types for Proofs and Programs. Nottingham, UK -- April
18-21, 2006. LNCS
4502, Springer Berlin / Heidelberg, ISBN 978-3-540-74463-4, pp.
18-32, 2007.
*
[[toggle id=id10 text="Abstract..."]] [[toggleable id=id10 text="""
*Abstract:* Proof assistants are complex applications whose development has never been properly systematized or documented. This work is a contribution in this direction, based on our experience with the development of Matita: a new interactive theorem prover based---as Coq---on the Calculus of Inductive Constructions (CIC). In particular, we analyze its architecture focusing on the dependencies of its components, how they implement the main functionalities, and their degree of reusability. The work is a first attempt to provide a ground for a more direct comparison between different systems and to highlight the common functionalities, not only in view of reusability but also to encourage a more systematic comparison of different softwares and architectural solutions.
"""]]
1. [.pdf] Claudio Sacerdoti Coen, Enrico Tassi, Stefano Zacchiroli.
**Tinycals: Step by Step Tacticals**
. *
In Proceedings of
UITP
2006: User Interfaces for Theorem Provers. Seattle, WA -- August
21, 2006. ENTCS (Elsevier, ISSN 1571-0661), Volume 174, Issue 2, pp. 125-142 (15 May 2007).
*
[[toggle id=id8 text="Abstract..."]] [[toggleable id=id8 text="""
*Abstract:* Most of the state-of-the-art proof assistants are based on procedural proof languages, scripts, and rely on LCF tacticals as the primary tool for tactics composition. In this paper we discuss how these ingredients do not interact well with user interfaces based on the same interaction paradigm of Proof General (the de facto standard in this field), identifying in the coarse-grainedness of tactical evaluation the key problem. We propose Tinycals as an alternative to a subset of LCF tacticals, showing that the user does not experience the same problem if tacticals are evaluated in a more fine-grained manner. We present the formal operational semantics of tinycals as well as their implementation in the Matita proof assistant.
"""]]
1. [.pdf] Angelo Di Iorio, Stefano Zacchiroli.
**Constrained Wiki: an Oxymoron?**
. *
In Proceedings of
WikiSym 2006: the 2006
International Symposium on Wikis. Odense, Denmark -- August 21-23, 2006.
ACM Press, 2006, ISBN 1-59593-417-0,
pp.
89-98.
*
[[toggle id=id7 text="Abstract..."]] [[toggleable id=id7 text="""
*Abstract:* In this paper we propose a new wiki concept -- light constraints -- designed to encode community best practices and domain-specific requirements, and to assist in their application. While the idea of constraining user editing of wiki content seems to inherently contradict "The Wiki Way", it is well-known that communities of users involved in wiki sites have the habit of establishing best authoring practices. For domain-specific wiki systems which process wiki content, it is often useful to enforce some well-formedness conditions on specific page contents. This paper describes a general framework to think about the interaction of wiki system with constraints, and presents a generic architecture which can be easily incorporated into existing wiki systems to exploit the capabilities enabled by light constraints.
"""]]
1. [.pdf] Luca Padovani, Stefano Zacchiroli.
**From Notation to Semantics: There and Back Again**
. *
In Proceedings of MKM
2006: The 5th International Conference on Mathematical Knowledge
Management. Wokingham, UK -- August 11-12, 2006. LNAI
4108, Springer Berlin / Heidelberg, ISBN 978-3-540-37104-5, pp.
194-207, 2006.
*
[[toggle id=id6 text="Abstract..."]] [[toggleable id=id6 text="""
*Abstract:* Mathematical notation is a structured, open, and ambiguous language. In order to support mathematical notation in MKM applications one must necessarily take into account presentational as well as semantic aspects. The former are required to create a familiar, comfortable, and usable interface to interact with. The latter are necessary in order to process the information meaningfully. In this paper we investigate a framework for dealing with mathematical notation in a meaningful, extensible way, and we show an effective instantiation of its architecture to the field of interactive theorem proving. The framework builds upon well-known concepts and widely-used technologies and it can be easily adopted by other MKM applications.
"""]]
1. [.pdf] Andrea Asperti, Ferruccio Guidi, Claudio Sacerdoti Coen, Enrico Tassi, Stefano Zacchiroli.
**A Content Based Mathematical Search Engine: Whelp**
. *
In Proceedings of
TYPES 2004 conference: Types for
Proofs and Programs. Paris, France -- December 15-18, 2004.
LNCS
3839, Springer Berlin / Heidelberg, ISBN 3-540-31428-8, pp.
17-32, 2006.
*
[[toggle id=id5 text="Abstract..."]] [[toggleable id=id5 text="""
*Abstract:* The prototype of a content based search engine for mathematical knowledge supporting a small set of queries requiring matching and/or typing operations is described. The prototype, called Whelp, exploits a metadata approach for indexing the information that looks far more flexible than traditional indexing techniques for structured expressions like substitution, discrimination, or context trees. The prototype has been instantiated to the standard library of the Coq proof assistant extended with many user contributions.
"""]]
1. [.pdf] Luca Padovani, Claudio Sacerdoti Coen, Stefano Zacchiroli.
**A Generative Approach to the Implementation of Language Bindings for the Document Object Model**
. *
In Proceedings of GPCE'04 Third
International Conference on Generative Programming and Component
Engineering. Vancouver, Canada -- October 24-28, 2004
LNCS
3286, Springer Berlin / Heidelberg, ISBN 3-540-23580-9,
pp.
469-487, 2004.
*
[[toggle id=id4 text="Abstract..."]] [[toggleable id=id4 text="""
*Abstract:* The availability of a C implementation for the Document Object Model (DOM) gives the interesting opportunity of generating bindings for different programming languages automatically. Because of the DOM bias towards Java-like languages, a C implementation that fakes objects, inheritance, polymorphism, exceptions and uses reference-counting introduces a gap between the API specification and its actual implementation that the bindings should try to close. In this paper we overview the generative approach in this particular context and apply it for the generation of C++ and OCaml bindings.
"""]]
1. [.pdf] Andrea Asperti, Stefano Zacchiroli.
**Searching Mathematics on the Web: State of the Art and Future Developments**
. *
In Proceedings of
New Developments in
Electronic Publishing of Mathematics 2004.
Stockholm, Sweden -- June 2004. Edited by FIZ Karlsruhe, 2004.
*
[[toggle id=id3 text="Abstract..."]] [[toggleable id=id3 text="""
*Abstract:* A huge amount of mathematical knowledge is nowadays available on the World Wide Web. Many different solutions and technologies for searching that knowledge have been developed as well. We present the state of the art of searching mathematics on the Web, giving some insight on future developments in this area.
"""]]
1. [.pdf] Claudio Sacerdoti Coen, Stefano Zacchiroli.
**Efficient Ambiguous Parsing of Mathematical Formulae**
. *
In Proceedings of MKM
2004 Third International Conference on Mathematical Knowledge
Management. September 19-21, 2004 Bialowieza - Poland.
LNCS
3119, Springer Berlin / Heidelberg, ISBN 3-540-23029-7,
pp.
347-362, 2004.
*
[[toggle id=id2 text="Abstract..."]] [[toggleable id=id2 text="""
*Abstract:* Mathematical notation has the characteristic of being ambiguous: operators can be overloaded and information that can be deduced is often omitted. Mathematicians are used to this ambiguity and can easily disambiguate a formula making use of the context and of their ability to find the right interpretation. Software applications that have to deal with formulae usually avoid these issues by fixing an unambiguous input notation. This solution is annoying for mathematicians because of the resulting tricky syntaxes and becomes a show stopper to the simultaneous adoption of tools characterized by different input languages. In this paper we present an efficient algorithm suitable for ambiguous parsing of mathematical formulae. The only requirement of the algorithm is the existence of a validity predicate over abstract syntax trees of incomplete formulae with placeholders. This requirement can be easily fulfilled in the applicative area of interactive proof assistants, and in several other areas of Mathematical Knowledge Management.
"""]]
1. [.pdf] Claudio Sacerdoti Coen, Stefano Zacchiroli.
**Brokers and Web-Services for Automatic Deduction: a Case Study**
. *
In Proceedings of
Calculemus
2003
11th Symposium on the Integration of Symbolic Computation and Mechanized
Reasoning. Roma, Italy -- September 10-12, 2003, Aracne Editrice S.R.L.
ISBN 88-7999-545-6, pp. 43-57, 2003.
*
[[toggle id=id1 text="Abstract..."]] [[toggleable id=id1 text="""
*Abstract:* We present a planning broker and several Web-Services for automatic deduction. Each Web-Service implements one of the tactics usually available in interactive proof-assistants. When the broker is submitted a proof status (an incomplete proof tree and a focus on an open goal) it dispatches the proof to the Web-Services, collects the successful results, and send them back to the client as hints as soon as they are available. In our experience this architecture turns out to be helpful both for experienced users (who can take benefit of distributing heavy computations) and beginners (who can learn from it).
"""]]
# technical reports
1. [.pdf] Luca Padovani, Stefano Zacchiroli.
**Stream Processing of XML Documents Made Easy with LALR(1) Parser Generators**
. *
Technical
report UBLCS-2007-23, September 2007, Department of Computer Science, University of Bologna.
*
[[toggle id=id17 text="Abstract..."]] [[toggleable id=id17 text="""
*Abstract:* Because of their fully annotated structure, XML documents are normally believed to require a straightforward parsing phase. However, the standard APIs for accessing their content (the Document Object Model and the Simple API for XML) provide a programming interface that is very low-level and is thus inadequate for the recognition of any structure that is not isomorphic to its XML encoding. Even when the document undergoes validation, its unmarshalling into application-specific data using these APIs requires poorly maintainable, tedious-to-write, and possibly inefficient code. We describe a technique for the simultaneous parsing, validation, and unmarshalling of XML documents that combines a stream-oriented XML parser with a LALR(1) parser in order to guarantee efficient stream processing, expressive validation capabilities, and the possibility to associate user-provided actions with specific patterns occurring in the source documents.
"""]]
1. [.pdf] Angelo Di Iorio, Fabio Vitali, Stefano Zacchiroli.
**Templating Wiki Content for Fun and Profit**
. *
Technical
report UBLCS-2007-21, August 2007, Department of Computer Science, University of Bologna.
*
[[toggle id=id16 text="Abstract..."]] [[toggleable id=id16 text="""
*Abstract:* Content templating enables reuse of content structures between wiki pages. Such a feature is implemented in several mainstream wiki engines. Systematic study of its conceptual models and comparison of the available implementations are unfortunately missing in the wiki literature. In this paper we aim to fill this gap first analyzing template-related user needs, and then reviewing existing approaches at content templating. Our investigation shows that two models emerge---functional and creational templating---and that both have weakness failing to properly fit in "The Wiki Way". As a solution, we propose the adoption of creational templates enriched with light constraints, showing that such a solution has a low implementative footprint in state-of-the-art wiki engines, and that it has a synergy with semantic wikis.
"""]]
# dissertations
1. [.pdf] Stefano Zacchiroli.
**User Interaction Widgets for Interactive Theorem Proving**
. *
Ph.D. dissertation, Technical
report UBLCS-2007-10, March 2007, Department of Computer Science, University of Bologna (advisor: Andrea Asperti; refereed
by: Christoph
Benzmueller, Marino
Miculan).
*
[[toggle id=id12 text="Abstract..."]] [[toggleable id=id12 text="""
*Abstract:* Matita (that means pencil in Italian) is a new interactive theorem prover under development at the University of Bologna. When compared with state-of-the-art proof assistants, Matita presents both traditional and innovative aspects. The underlying calculus of the system, namely the Calculus of (Co)Inductive Constructions (CIC for short), is well-known and is used as the basis of another mainstream proof assistant---Coq---with which Matita is to some extent compatible. In the same spirit of several other systems, proof authoring is conducted by the user as a goal directed proof search, using a script for storing textual commands for the system. In the tradition of LCF, the proof language of Matita is procedural and relies on tactic and tacticals to proceed toward proof completion. The interaction paradigm offered to the user is based on the script management technique at the basis of the popularity of the Proof General generic interface for interactive theorem provers: while editing a script the user can move forth the execution point to deliver commands to the system, or back to retract (or "undo") past commands. Matita has been developed from scratch in the past 8 years by several members of the Helm research group, this thesis author is one of such members. Matita is now a full-fledged proof assistant with a library of about 1.000 concepts. Several innovative solutions spun-off from this development effort. This thesis is about the design and implementation of some of those solutions, in particular those relevant for the topic of user interaction with theorem provers, and of which this thesis author was a major contributor. Joint work with other members of the research group is pointed out where needed. The main topics discussed in this thesis are briefly summarized below. Disambiguation. Most activities connected with interactive proving require the user to input mathematical formulae. Being mathematical notation ambiguous, parsing formulae typeset as mathematicians like to write down on paper is a challenging task; a challenge neglected by several theorem provers which usually prefer to fix an unambiguous input syntax. Exploiting features of the underlying calculus, Matita offers an efficient disambiguation engine which permit to type formulae in the familiar mathematical notation. Step-by-step tacticals. Tacticals are higher-order constructs used in proof scripts to combine tactics together. With tacticals scripts can be made shorter, readable, and more resilient to changes. Unfortunately they are de facto incompatible with state-of-the-art user interfaces based on script management. Such interfaces indeed do not permit to position the execution point inside complex tacticals, thus introducing a trade-off between the usefulness of structuring scripts and a tedious big step execution behavior during script replaying. In Matita we break this trade-off with tinycals: an alternative to a subset of LCF tacticals which can be evaluated in a more fine-grained manner. Extensible yet meaningful notation. Proof assistant users often face the need of creating new mathematical notation in order to ease the use of new concepts. The framework used in Matita for dealing with extensible notation both accounts for high quality bidimensional rendering of formulae (with the expressivity of MathML-Presentation) and provides meaningful notation, where presentational fragments are kept synchronized with semantic representation of terms. Using our approach interoperability with other systems can be achieved at the content level, and direct manipulation of formulae acting on their rendered forms is possible too. Publish/subscribe hints. Automation plays an important role in interactive proving as users like to delegate tedious proving sub-tasks to decision procedures or external reasoners. Exploiting the Web-friendliness of Matita we experimented with a broker and a network of web services (called tutors) which can try independently to complete open sub-goals of a proof, currently being authored in Matita. The user receives hints from the tutors on how to complete sub-goals and can interactively or automatically apply them to the current proof. Another innovative aspect of Matita, only marginally touched by this thesis, is the embedded content-based search engine Whelp which is exploited to various ends, from automatic theorem proving to avoiding duplicate work for the user. We also discuss the (potential) reusability in other systems of the widgets presented in this thesis and how we envisage the evolution of user interfaces for interactive theorem provers in the Web 2.0 era.
"""]]
1. [.pdf] Stefano Zacchiroli.
**Web services per il supporto alla dimostrazione interattiva (Web services for interactive theorem proving)**
. *
Master thesis (Italian only), March 2003, Department of Computer Science, University of Bologna (advisor: Andrea Asperti; refereed
by: Nadia Busi).
*