<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Agda Implementation of the Modal Logic S4.2: First Investigations</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Riccardo Borsetto</string-name>
          <email>riccardo.borsetto@univr.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Margherita Zorzi</string-name>
          <email>margherita.zorzi@univr.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Workshop</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Università di Verona</institution>
          ,
          <addr-line>Dipartimento di Informatica, Strada le Grazie 15, 37134 Verona</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2025</year>
      </pub-date>
      <fpage>10</fpage>
      <lpage>12</lpage>
      <abstract>
        <p>This paper is the first step towards a new mechanization of modal logics strongly oriented to constructive mathematics. We introduce ES4.2, a sequent calculus for the logic S4.2, that extends S4 with the axiom ♦□ and emerges as the underlying logic in diferent fields. We build on previous investigations where formulas are</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>→ ♦□ 
equipped with a position, i.e. set of uninterpreted tokens used to manage modal information. The calculus is
designed to enjoy strong proof-theoretical properties, such as a direct syntactical proof of cut-elimination, which
in turn yields the consistency of the system and the subformula property. We implement in Agda the system and
we present the implementation of the proof of the Cut-Elimination Theorem as a work in progress.</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>→ □♦</p>
      <p>
        . Semantically, S4.2 is characterized by reflexive and
transitive Kripke frames that satisfy a confluence (or directedness) property, such as being weakly directed.
The interest in S4.2 stems from its role as the underlying logic in a variety of distinct mathematical and
philosophical domains. In a seminal work by Goldblatt [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], the Diodorean interpretation of modality
allows for modeling time using four-dimensional Minkowski spacetime, and modal sentences valid in
this structure are shown to be exactly the theorems of S4.2. A suitable interpretation of the box (□ ) and
diamond (♦ ) modalities demonstrates that S4.2 is the logic of the forcing technique in axiomatic set
theory ZFC [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and also applies to abstract algebra as the modal logic of abelian groups [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Moreover,
within the context of potential infinity, S4.2 ofers an interesting perspective on convergent expansions
of infinite collections [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ].
      </p>
      <p>
        Last but not least, S4.2 has been advocated by many philosophers and epistemologists as the correct
logic of knowledge [
        <xref ref-type="bibr" rid="ref6 ref7 ref8 ref9">6, 7, 8, 9</xref>
        ]. This suggests that S4.2 is a promising formal system for integration
into the emerging field connecting knowledge representation and Explainable Artificial Intelligence,
especially in contexts involving non-monotonic cognitive agents.
      </p>
      <p>
        The versatility of S4.2 highlights the importance of developing robust and well-behaved proof
systems, which can facilitate more efective reasoning within these contexts. In terms of proof theory,
this corresponds to developing deductive systems that are as simple as possible and enjoy strong
structural properties such as analyticity and cut-elimination [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>
        This paper studies the theory and presents the implementation in the Agda proof assistant [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]
of ES4.2, a sequent calculus for S4.2 designed with the aforementioned proof-theoretic desiderata in
mind. Our approach builds upon the general framework of extended sequent calculi, which have been
successfully developed for classical modal logics (such as K, D, T, and S4) to provide modular systems
and direct syntactical proofs of cut-elimination [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. We list the main features of our system: i) formulas
are marked by a position, i.e., a set of uninterpreted tokens (in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], positions are modeled as lists); ii)
the right rule for □ , and its dual left rule for ♦ , are formulated using constraints on positions, drawing
      </p>
      <p>CEUR</p>
      <p>ceur-ws.org
a strong analogy with the eigenvariable conditions of the right ∀ rule (and ∃ left rule, respectively) in
ifrst-order logic; iii) the accessibility relation is not formalized directly; iv) only modal operators can
change the positions of formulas.</p>
      <p>
        Developing ES4.2 as a position-based sequent calculus is motivated by the goal of a full formalization
of the system and its meta-properties in the Agda proof assistant. The use of positions makes proofs
more manageable, as the representation of the underlying Kripke semantics is transparent. Leveraging
[
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], we exploit the fact that the proof-theoretical distance between classical logic and the system under
consideration is very small. The choice of Agda over other powerful assistants such as Coq, Lean, or
Isabelle is based on its specific advantages for our approach. While these systems are highly capable,
they primarily rely on an imperative “proof script” style. In contrast, Agda’s functional “proof term”
approach, combined with its clean, Unicode-based syntax, allows formalized definitions and proofs
to remain remarkably close to their on-paper mathematical counterparts. This closeness, supported
by Agda’s interactive development features, is particularly valuable for a system like ours, where the
manipulation of positions is central. Furthermore, Agda’s foundation in constructive type theory aligns
naturally with the proof-theoretic focus of our work and facilitates future extensions, such as developing
an intuitionistic version of S4.2. This represents an alternative approach to systems like Lean, which
have a stronger focus on classical mathematics.
      </p>
      <p>The main contribution of this work is the presentation of the ES4.2 calculus and its ongoing
formalization in Agda, including the syntax and a proof of the Cut-Elimination Theorem. As a corollary, we
obtain the subformula property and a syntactical proof of the consistency of the system. We also discuss
our ongoing work and future research directions.</p>
      <p>
        Related work The proof theory of S4.2 has been previously investigated in several papers, which
difer methodologically from the approach we propose. In [
        <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
        ], S4.2 is analysed through labelled
natural deduction systems. Sequent calculi for S4.2 have also been explored in [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], where, within a
labelled framework S4.2 is characterized as the modal companion of Jan-De Morgan logic, and in [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ],
where a restricted form of the cut rule is introduced in order to obtain a subformula property that
enables significant corollaries, such as the interpolation property.
      </p>
      <p>
        On the implementation side, in [
        <xref ref-type="bibr" rid="ref17 ref18">17, 18</xref>
        ], the authors present a mechanization of GL in [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. Building
upon these contributions, the approach has been generalized in the HOLMS framework to encompass
a broader class of normal modal logics [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]. This project constitutes a closely related reference, as
our proposed implementation is part of an ongoing efort to develop a modular implementation of all
normal extensions of K up to S5 (see Section 4).
      </p>
      <p>Outline of the paper. The paper is structured as follows: in Section 2 we present syntax and rules
of ES4.2; Section 3 is dedicated to the Cut-Elimination Theorem and part of the Agda implementation is
shown; Section 4 discusses our work in progress and future directions of the investigation.
2. The sequent calculus ES4.2
The language ℒ consists of a countably infinite set of propositional symbols  0,  1, … , propositional
connectives ∧, ∨, →, ¬, ⊥, modal operators □ , ♦ , and auxiliary symbols (, ).</p>
      <p>
        Our main syntactical objects are position-formulas (p-formulas), expressions of the form   , where
 is a modal formula and  is a position – a finite set of uninterpreted syntactic objects called tokens,
denoted by meta-variables ,  ,  , possibly indexed. We use  to denote a denumerable set of tokens.
Meta-variables , ,  range over positions. The use of sets of tokens for positions is a key feature of
ES4.2, distinguishing it from earlier extended sequent calculi that typically employed lists of tokens [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
This choice is motivated by recent developments in natural deduction for S4.2 [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] and aligns naturally
with its semantics based on semilattices with a minimum. The set-based nature allows positions to
represent collections of modal constraints or ”worlds” without an artificial order, which is crucial for
capturing the confluence property inherent in S4.2. The union operation ( ∪  or  ∪ {} ) on positions
reflects the “merging” of modal information.
      </p>
      <p>
        A token is implemented in the proof assistant as a term of type Fin n. In Agda’s standard library [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ],
Fin n represents the finite set of natural numbers {0, 1, ...,  − 1} , where the parameter  ∶ ℕ determines
the size of the set. This choice provides a concrete, finite, and enumerable set of syntactic objects used
to decorate formulas. Decidable equality on Fin n is crucial for implementing the ”freshness” constraints
in the modal rules, which require introducing a token not previously used in a specific context. A
position is implemented as Subset n, representing a subset of Fin n.
      </p>
      <p>An extended sequent (e-sequent) is an expression Γ ⊢ Δ, where Γ and Δ are finite sequences of
p-formulas.</p>
      <p>We present the rules of ES4.2. The propositional rules are standard, adapted to operate on p-formulas
defined at the same position. The structural rules (Weakening, Contraction, Exchange) are also naturally
extended to p-formulas. The core of the calculus lies in the modal rules, which manipulate the positions
associated with modal formulas. In analogy with first-order logic, the rules ⊢ □ and ♦ ⊢ introduce a
fresh token  (where  ∉  and  is new to the rest of the sequent) that we refer to as an eigentoken.</p>
      <sec id="sec-2-1">
        <title>Identity rules</title>
      </sec>
      <sec id="sec-2-2">
        <title>Structural rules</title>
        <p>Propositional rules
  ⊢   
Γ1 ⊢   , Δ1 Γ2,   ⊢ Δ2</p>
        <p>Γ1, Γ2 ⊢ Δ1, Δ2
Γ ⊢ Δ
Γ,   ⊢ Δ  ⊢
Γ, Γ,  ,  ⊢⊢ΔΔ  ⊢
Γ1,   ,   , Γ2 ⊢ Δ
Γ1,   ,   , Γ2 ⊢ Δ  ⊢
Γ ⊢ Δ
Γ ⊢   , Δ ⊢ 
Γ ⊢   ,   , Δ ⊢</p>
        <p>Γ ⊢   , Δ
Γ ⊢ Δ1,   ,   , Δ2 ⊢ 
Γ ⊢ Δ1,   ,   , Δ2
Γ, Γ∧,    ⊢ ⊢Δ Δ ∧1 ⊢ Γ, Γ∧,    ⊢ ⊢Δ Δ ∧2 ⊢
Γ1,   ⊢ Δ1 Γ2,   ⊢ Δ2 ∨ ⊢
Γ1, Γ2,  ∨   ⊢ Δ1, Δ2
Γ1 ⊢   , Δ1 Γ2,   ⊢ Δ2 →⊢
Γ1, Γ2,  →   ⊢ Δ1, Δ2
Γ ⊢Γ ⊢∨   , Δ, Δ ⊢ ∨1
Γ1 ⊢   , Δ1 Γ2 ⊢   , Δ2 ⊢ ∧
Γ1, Γ2 ⊢  ∧   , Δ1, Δ2</p>
        <p>Γ ⊢Γ ⊢∨   , Δ, Δ ⊢ ∨2
ΓΓ⊢,  →⊢   , Δ,Δ ⊢→</p>
      </sec>
      <sec id="sec-2-3">
        <title>Modal rules</title>
        <p>Γ,  , ⊢ Δ □ ⊢ Γ ⊢  , , Δ
Γ, □   ⊢ Δ Γ ⊢ □   , Δ ⊢ □
ΓΓ,,♦ ,  ⊢⊢ ΔΔ ♦ ⊢ ΓΓ ⊢⊢ ♦   ,  ,,ΔΔ ⊢ ♦
with the constraints:  ∉  and  fresh for Γ, Δ for ⊢ □ and ♦ ⊢.</p>
        <p>We show here the Agda implementation of the □ introduction rule.</p>
        <p>⊢□ : ∀ {n A} {x : token {n}} {s : position {n}} {Γ Δ : List (pf {n})}
→ x ∉ s
→ fresh x Γ
→ fresh x Δ
→ Proof (Γ ⊢ [(A ^ s ∪ ⁅ x ⁆)] , Δ)
→ Proof (Γ ⊢ [(□ A ^ s)] , Δ)</p>
        <p>
          As a work in progress, we are implementing in Agda the weak completeness theorem for S4.2: if
⊢HS4.2  then ⊢ES4.2  ∅, where HS4.2 is the Hilbert-style axiomatization of S4.2 (see e.g. [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ]). In the
following the derivation of the characteristic axiom:
geachAxiom : ∀ {n A}
        </p>
        <p>→ (Proof {suc (suc n)} ([] ⊢ [((♦ (□ A)) ⇒ (□ (♦ A)) ^ ⊥)]))
geachAxiom {A = A} =
⊢⇒
(♦ ⊢ {x = x} {Γ = []} ∉⊥ ( ()) ( ())
(⊢□ {x = y} ∉⊥ (y-fresh-helper {A = A}) ∉⊥
(⊢♦ {s = ⊥ ∪ ⁅ y ⁆} {t = ⁅ x ⁆}
(□ ⊢ {A = A} {s = ⊥ ∪ ⁅ x ⁆} {t = ⁅ y ⁆} {Γ = []}</p>
        <p>Ax))))</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. The cut-elimination theorem in Agda</title>
      <p>
        We present the ongoing implementation in the Agda proof assistant of the Cut-Elimination Theorem for
ES4.2. The theoretical result is complete and proven on paper in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] using standard Gentzen techniques
adapted for modal position-based sequent calculi. The proof establishes termination through a careful
induction on the complexity of proofs, as measured by the  function. This approach mirrors classical
cut-elimination proofs but requires handling of position information throughout the elimination process.
      </p>
      <p>The Agda implementation proceeds by structural induction on proof terms, following the same
logical structure as the theoretical proof. The cutElimination function is fully defined for all inference
rules, implementing the complete elimination strategy with proper case analysis for each logical
connective and modal operator. However, three crucial auxiliary lemmas (mixLemma, removeOneMore,
and weakeningRemove) are currently postulated—their types are declared, but their proofs are not yet
complete. Additionally, we have not yet resolved how to convince Agda’s termination checker using
the  complexity measure, as the recursive calls operate on transformed rather than structurally smaller
proof terms.</p>
      <p>Theorem 3.1 (Cut-Elimination). If Π is a proof of Γ ⊢ Δ, then there exists a cut-free proof Π∗ of Γ ⊢ Δ.
Proof. Below we present the code for the proof.
removeOneMore : ∀ {n} {Γ1 Γ2 Δ1 Δ2 : List (pf {n})} (P : pf {n}) →</p>
      <p>Proof (Γ1 , ((Γ2 , [(P)]) - P) ⊢ (([(P)] , Δ1) - P) , Δ2) →</p>
      <p>Proof (Γ1 , Γ2 - P ⊢ Δ1 - P , Δ2)
weakeningRemove : ∀ {n} {Γ1 Γ2 Δ1 Δ2 : List (pf {n})} (P : pf {n}) →</p>
      <p>CutFreeProof (Γ1 , (Γ2 - P) ⊢ (Δ1 - P) , Δ2) →</p>
      <p>CutFreeProof (Γ1 , Γ2 ⊢ Δ1 , Δ2)</p>
      <p>The auxiliary procedures deserve some explanations. The removeOneMore function addresses a
technical challenge during mix operations: when combining cut-free proofs, redundant occurrences of the
cut formula may appear in intermediate contexts and require careful removal. The weakeningRemove
function performs the complementary operation, systematically restoring formulas that were
temporarily filtered out and ensuring the final proof maintains proper sequent structure.</p>
      <p>The correctness of this process rests on other key lemmas: cutFreeToStandard expresses that a
cut-free proof is a proof of the statement, rankCutFreeIsZero states that a cut-free proof has rank
zero, and the  -cut-≢-zero lemma ensures that no Cut rule can have zero rank, preventing infinite
recursion while maintaining the rank bounds essential for termination.</p>
      <p>The subformula property follows as a corollary of the Cut-Elimination Theorem,.</p>
      <p>Corollary 1 (Subformula Property). Any formula occurring in a cut-free proof Π of Γ ⊢ Δ is a subformula
of some formula in the end-sequent Γ ⊢ Δ.</p>
      <p>Moreover, we also obtain a purely syntactical proof of the consistency of the system:
Corollary 2 (Consistency). The empty sequent ⊢ is not provable in ES4.2.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusions and future work</title>
      <p>
        In this paper, we introduced ES4.2, an extended sequent calculus for the modal logic S4.2 which utilizes
positions, i.e., sets of uninterpreted tokens, to annotate formulas and manage modal information. We
implemented the system in the Agda proof assistant and are working on providing a formal syntactic
proof of the Cut-Elimination Theorem, from which the consistency of the system and the subformula
property follow. We presented the main structure of the proof, and as a work in progress, we are
implementing the auxiliary lemmata. Following [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ], we are defining semantics based on semilattices
with a minimum, which allow for a sound interpretation of position-formulas.
      </p>
      <p>
        As part of our ongoing work, we are formalizing in Agda the soundness theorem and the weak
completeness theorem with respect to the Hilbert-style axiomatization. Moreover, motivated by applications to
mathematics, we are mechanizing the semantics and proofs presented in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], where S4.2 is interpreted
as the modal logic of abelian groups.
      </p>
      <p>
        Finally, this work represents the first step toward the development of a unified framework, NAMOR
(New Agda MOdal Realization) [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ], which builds upon the theory of 2-sequents and extended
sequents [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and aims to encompass the entire range of normal modal logics from K to S5. Following
the underlying theoretical systems, NAMOR is designed to be highly parametric, as all normal modal
systems share the same set of rules.
      </p>
      <p>Beyond its implementation aspects, S4.2 also raises several open theoretical questions, such as the
correct Hilbert-style axiomatization of the intuitionistic counterpart of the system: although the
transformation from classical to intuitionistic proof systems is well-known at the proof-theoretic level, the
axiomatization of the intuitionistic version of S4.2 remains unclear.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>Margherita Zorzi’s work is partially supported by INDAM-Istituto Nazionale di Alta Matematica
“Francesco Severi”, group GNSAGA-Logica matematica e applicazioni.</p>
    </sec>
    <sec id="sec-6">
      <title>Declaration on generative AI</title>
      <p>During the preparation of this work, the authors used DeepL, Gemini 2.5 Pro in order to: Grammar and
spelling check, Paraphrase and reword. After using this tool/service, the authors reviewed and edited
the content as needed and takes full responsibility for the publication’s content.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>R.</given-names>
            <surname>Goldblatt</surname>
          </string-name>
          ,
          <article-title>Diodorean modality in Minkowski spacetime</article-title>
          ,
          <source>Studia Logica</source>
          <volume>39</volume>
          (
          <year>1980</year>
          )
          <fpage>219</fpage>
          -
          <lpage>236</lpage>
          . URL: http://www.jstor.org/stable/20014982.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J. D.</given-names>
            <surname>Hamkins</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Loewe</surname>
          </string-name>
          ,
          <article-title>The modal logic of forcing</article-title>
          ,
          <source>TRANS. of the AMS</source>
          <volume>360</volume>
          (
          <issue>4</issue>
          ),
          <fpage>1793</fpage>
          -
          <lpage>1817</lpage>
          (
          <year>2008</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Berger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Block</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Loewe</surname>
          </string-name>
          ,
          <article-title>The modal logic of abelian groups</article-title>
          ,
          <source>Algebra Univers</source>
          .
          <volume>84</volume>
          ,
          <issue>25</issue>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>E. Brauer,</surname>
          </string-name>
          <article-title>The modal logic of potential infinity: Branching versus convergent possibilities</article-title>
          ,
          <source>Erkenntnis</source>
          <volume>87</volume>
          (
          <year>2020</year>
          )
          <fpage>1</fpage>
          -
          <lpage>19</lpage>
          . doi:
          <volume>10</volume>
          .1007/s10670-020-00296-3.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>O.</given-names>
            <surname>Linnebo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Shapiro</surname>
          </string-name>
          ,
          <article-title>Actual and potential infinity</article-title>
          ,
          <source>Noûs</source>
          <volume>53</volume>
          (
          <year>2017</year>
          )
          <fpage>160</fpage>
          -
          <lpage>191</lpage>
          . doi:
          <volume>10</volume>
          .1111/nous. 12208.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>A.</given-names>
            <surname>Chalki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. D.</given-names>
            <surname>Koutras</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zikos</surname>
          </string-name>
          ,
          <article-title>A quick guided tour to the modal logic S4</article-title>
          .2,
          <string-name>
            <surname>Logic</surname>
            <given-names>Journal</given-names>
          </string-name>
          <source>of the IGPL</source>
          <volume>26</volume>
          (
          <year>2018</year>
          )
          <fpage>429</fpage>
          -
          <lpage>451</lpage>
          . URL: https://doi.org/10.1093/jigpal/jzy008. doi:
          <volume>10</volume>
          .1093/jigpal/jzy008. arXiv:https://academic.oup.com/jigpal/article-pdf/26/4/429/25207558/jzy008.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>W.</given-names>
            <surname>Lenzen</surname>
          </string-name>
          , Epistemic logic (
          <year>2004</year>
          )
          <fpage>963</fpage>
          -
          <lpage>983</lpage>
          . URL: https://doi.org/10.1007/978-1-
          <fpage>4020</fpage>
          -1986-
          <volume>9</volume>
          _
          <fpage>26</fpage>
          . doi:
          <volume>10</volume>
          .1007/978-1-
          <fpage>4020</fpage>
          -1986-9\_
          <fpage>26</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S.</given-names>
            <surname>Negri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Pavlović</surname>
          </string-name>
          ,
          <article-title>A proof-theoretic approach to formal epistemology</article-title>
          , in: Y. Weiss, R. Birman (Eds.),
          <source>Saul Kripke on Modal Logic</source>
          ,
          <year>2024</year>
          , pp.
          <fpage>303</fpage>
          -
          <lpage>345</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>R.</given-names>
            <surname>Stalnaker</surname>
          </string-name>
          ,
          <article-title>On logics of knowledge and belief</article-title>
          ,
          <source>Philosophical Studies</source>
          <volume>128</volume>
          (
          <year>2006</year>
          )
          <fpage>169</fpage>
          -
          <lpage>199</lpage>
          . doi:
          <volume>10</volume>
          .1007/s11098-005-4062-y.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>S.</given-names>
            <surname>Negri</surname>
          </string-name>
          ,
          <article-title>Proof theory for modal logic</article-title>
          ,
          <source>Philosophy Compass</source>
          <volume>6</volume>
          (
          <year>2011</year>
          )
          <fpage>523</fpage>
          -
          <lpage>538</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>T. A.</given-names>
            <surname>Team</surname>
          </string-name>
          , Agda documentation,
          <year>2025</year>
          . URL: https://agda.readthedocs.io/en/latest/index.html.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>S.</given-names>
            <surname>Martini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Masini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zorzi</surname>
          </string-name>
          ,
          <article-title>Cut elimination for extended sequents</article-title>
          ,
          <source>Bulletin of the Section of Logic. Published online: August</source>
          <volume>15</volume>
          ,
          <year>2023</year>
          ; 36 pages (
          <year>2023</year>
          ). doi:https://doi.org/10.18778/
          <fpage>0138</fpage>
          -
          <lpage>0680</lpage>
          .
          <year>2023</year>
          .
          <volume>22</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>L.</given-names>
            <surname>Viganò</surname>
          </string-name>
          ,
          <article-title>Labelled non-classical logics</article-title>
          , Kluwer Academic Publishers (
          <year>1997</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>D. A.</given-names>
            <surname>Basin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Matthews</surname>
          </string-name>
          , L. Viganò,
          <article-title>Natural deduction for non-classical logics</article-title>
          ,
          <source>Stud Logica</source>
          <volume>60</volume>
          (
          <year>1998</year>
          )
          <fpage>119</fpage>
          -
          <lpage>160</lpage>
          . URL: https://doi.org/10.1023/A:1005003904639. doi:
          <volume>10</volume>
          .1023/A:
          <fpage>1005003904639</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>R.</given-names>
            <surname>Dyckhof</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Negri</surname>
          </string-name>
          ,
          <article-title>Admissibility and cut-elimination for modal logics</article-title>
          ,
          <source>Journal of Logic and Computation</source>
          (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M.</given-names>
            <surname>Takano</surname>
          </string-name>
          ,
          <article-title>A modified subformula property for the modal logic s4.2, Bulletin of the Section of Logic 48 (</article-title>
          <year>2019</year>
          )
          <article-title>null</article-title>
          . URL: http://eudml.org/doc/295583.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>M.</given-names>
            <surname>Maggesi</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.</surname>
          </string-name>
          <article-title>Perini Brogi, A Formal Proof of Modal Completeness for Provability Logic</article-title>
          , in: L.
          <string-name>
            <surname>Cohen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          Kaliszyk (Eds.),
          <source>12th International Conference on Interactive Theorem Proving (ITP</source>
          <year>2021</year>
          ), volume
          <volume>193</volume>
          of Leibniz International Proceedings in Informatics (LIPIcs),
          <source>Schloss Dagstuhl - Leibniz-Zentrum für Informatik</source>
          , Dagstuhl, Germany,
          <year>2021</year>
          , pp.
          <volume>26</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>26</lpage>
          :
          <fpage>18</fpage>
          . URL: https://drops. dagstuhl.de/entities/document/10.4230/LIPIcs.ITP.
          <year>2021</year>
          .
          <volume>26</volume>
          . doi:
          <volume>10</volume>
          .4230/LIPIcs.ITP.
          <year>2021</year>
          .
          <volume>26</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>M.</given-names>
            <surname>Maggesi</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.</surname>
          </string-name>
          <article-title>Perini Brogi, Mechanising gödel-löb provability logic in HOL light</article-title>
          ,
          <source>J. Autom. Reason</source>
          .
          <volume>67</volume>
          (
          <year>2023</year>
          )
          <article-title>29</article-title>
          . URL: https://doi.org/10.1007/s10817-023-09677-z. doi:
          <volume>10</volume>
          .1007/ S10817-023-09677-Z.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bilotta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maggesi</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.</surname>
          </string-name>
          <article-title>Perini Brogi, Growing holms, a hol light library for modal systems</article-title>
          ,
          <source>in: OVERLAY</source>
          <year>2024</year>
          ,
          <source>6th International Workshop on Artificial Intelligence and Formal Verification</source>
          , Logic, Automata, and
          <string-name>
            <surname>Synthesis</surname>
          </string-name>
          ,
          <source>November 28-29</source>
          ,
          <year>2024</year>
          , Bolzano, Italy, volume
          <volume>3904</volume>
          <source>of CEUR Conference Proceedings</source>
          ,
          <year>2024</year>
          , pp.
          <volume>26</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>26</lpage>
          :
          <fpage>18</fpage>
          . URL: https://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>3904</volume>
          /paper5.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>S.</given-names>
            <surname>Martini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Masini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zorzi</surname>
          </string-name>
          ,
          <article-title>A natural deduction calculus for s4.2</article-title>
          ,
          <string-name>
            <surname>Notre</surname>
            <given-names>Dame</given-names>
          </string-name>
          <source>Journal of Formal Logic</source>
          <volume>65</volume>
          (
          <year>2024</year>
          )
          <fpage>127</fpage>
          -
          <lpage>150</lpage>
          . doi:
          <volume>10</volume>
          .1215/
          <fpage>00294527</fpage>
          -2024-0011.
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>T. A.</given-names>
            <surname>Team</surname>
          </string-name>
          ,
          <article-title>Documentation for the agda standard library, 2025</article-title>
          . URL: https://agda.github.io/ agda-stdlib/.
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>R.</given-names>
            <surname>Borsetto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zorzi</surname>
          </string-name>
          ,
          <article-title>Namor: a new agda library for modal extended sequents</article-title>
          ,
          <source>in: OVERLAY</source>
          <year>2025</year>
          ,
          <source>7th International Workshop on Artificial Intelligence and fOrmal VERification</source>
          , Logic, Automata, and sYnthesis October 26th, Bologna, Italy, CEUR Conference Proceedings, to appear,
          <year>2025</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>