MMMarco Maggesi

Marco Maggesi

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Marco Maggesi has a total of 22 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Growing HOLMS: A Verified Automated Prover for Grzegorczyk Logic in HOL Light

    by Antonella Bilotta, Marco Maggesi, Cosimo Perini Brogi

    This paper presents a certified theorem prover for Grzegorczyk logic (Grz) implemented in the general-purpose proof assistant HOL Light. Our prover builds on original HOL Light formalisations of modal adequacy for Grz with respect to finite partially ordered frames, and on the standard full and faithful translation of Grz into Gödel–Löb logic (GL). This formalised embedding allows us to extend the range of modal systems supported by the HOLMS library for automated modal reasoning, and constitutes a new methodology experimented in our framework, being the first logic added to the library through a modal translation. The deductive engine performs an automated proof search in the labelled sequent calculus for GL. When the proof search on the translated formula succeeds, the system returns a HOL Light theorem certifying provability of the original Grz formula. When proof search terminates negatively, the system constructs a verified GL countermodel and thus certifies that the original formula is not provable in Grz.

  • Open Access

    Sequent Calculus Proof Search with Reinforcement Learning

    by Gianluca Amato, Nicola Balestra, Marco Maggesi, Maurizio Parton

    DeepSAT is a research project investigating deep reinforcement learning for automated theorem proving in propositional logic. In contrast to traditional SAT solvers, which check satisfiability, our aim is to construct formal proofs of validity within the sequent calculus, working in intuitionistic propositional logic. We first train a Tree-LSTM classifier to predict whether a formula is an intuitionistic tautology, and then use it to warm-start a dual-head policy–value network that guides a Monte Carlo Tree Search prover. Closing the reinforcement learning loop, the network is refined by expert iteration on the proof traces generated by the search it guides: the proofs MCTS finds become the training signal for the next round. On a held-out test set, expert iteration improves low-budget proving substantially over the warm-started prover, and a diagnostic analysis attributes the residual ceiling primarily to proof depth rather than to guidance failure. DeepSAT aims at a logic-agnostic, explainable, and energy-efficient alternative to neural approaches based on large language models, which require substantially greater computational resources.

  • Open Access

    Universal algebra in UniMath

    by Gianluca Amato, Matteo Calosci, Marco Maggesi, Cosimo Perini Brogi

    We present our library for universal algebra in the UniMath framework dealing with multi-sorted signatures, their algebras and the basics for equation systems. We show how to implement term algebras over a signature without resorting to general inductive constructions (currently not allowed in UniMath) still retaining the computational nature of the definition. We prove that our single sorted ground term algebras are instances of homotopy W-types. From this perspective, the library enriches UniMath with a computationally well-behaved implementation of a class of W-types. Moreover, we give neat constructions of the univalent categories of algebras and equational algebras by using the formalism of displayed categories and show that the term algebra over a signature is the initial object of the category of algebras. Finally, we showcase the computational relevance of our work by sketching some basic examples from algebra and propositional logic.


  • The New IoT Driven World: Overview and Perspectives

    by Paolo Branchini, Marco Maggesi, Luca Tortora, Vincenzo Vespri, Filippo Zatti

    In this note we consider the impact of the IoT on our society. In more detail we will consider the digital transformation that is radically changing society, the problem of the large mass of raw data that must be transformed to become usable and intelligible and the question of the energy transition which cannot occur except through the decentralization of production of energy.


  • Open Access

    Mechanising Gödel–Löb Provability Logic in HOL Light

    by Marco Maggesi, Cosimo Perini Brogi

    We introduce our implementation in HOL Light of the metatheory for Gödel–Löb provability logic (GL), covering soundness and completeness w.r.t. possible world semantics and featuring a prototype of a theorem prover for GL itself. The strategy we develop here to formalise the modal completeness proof overcomes the technical difficulty due to the non-compactness of GL and is an adaptation—according to the formal language and tools at hand—of the proof given in George Boolos’ 1995 monograph. Our theorem prover for GL relies then on this formalisation, is implemented as a tactic of HOL Light that mimics the proof search in the labelled sequent calculus $$\textsf{G3KGL}$$G3KGL , and works as a decision algorithm for the provability logic: if the algorithm positively terminates, the tactic succeeds in producing a HOL Light theorem stating that the input formula is a theorem of GL; if the algorithm negatively terminates, the tactic extracts a model falsifying the input formula. We discuss our code for the formal proof of modal completeness and the design of our proof search algorithm. Furthermore, we propose some examples of the latter’s interactive and automated use.


  • Open Access

    Variable binding and substitution for (nameless) dummies

    by André Hirschowitz, Tom Hirschowitz, Ambroise Lafont, Marco Maggesi

    By abstracting over well-known properties of De Bruijn’s representation with nameless dummies, we design a new theory of syntax with variable binding and capture-avoiding substitution. We propose it as a simpler alternative to Fiore, Plotkin, and Turi’s approach, with which we establish a strong formal link. We also show that our theory easily incorporates simple types and equations between terms.


  • Open Access

    Bicategories in univalent foundations

    by Benedikt Ahrens, Dan Frumin, Marco Maggesi, Niccolò Veltri, Niels van der Weide

    We develop bicategory theory in univalent foundations. Guided by the notion of univalence for (1-)categories studied by Ahrens, Kapulkin, and Shulman, we define and study univalent bicategories. To construct examples of univalent bicategories in a modular fashion, we develop displayed bicategories, an analog of displayed 1-categories introduced by Ahrens and Lumsdaine. We demonstrate the applicability of this notion and prove that several bicategories of interest are univalent. Among these are the bicategory of univalent categories with families and the bicategory of pseudofunctors between univalent bicategories. Furthermore, we show that every bicategory with univalent hom-categories is weakly equivalent to a univalent bicategory. All of our work is formalized in Coq as part of the UniMath library of univalent mathematics.