<!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 />
    <article-meta>
      <title-group>
        <article-title>Towards a Logical Foundation of Randomized Computation (Thesis Abstract)⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Melissa Antonelli</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>HIIT Helsinki Institute for Information Technology</institution>
          ,
          <addr-line>Pietari Kalmi katu, 5, 00560, Helsinki</addr-line>
          ,
          <country country="FI">Finland</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <fpage>6</fpage>
      <lpage>9</lpage>
      <abstract>
        <p>Interactions between logic and computer science have been deeply investigated in the last century, but, surprisingly, the study of probabilistic computation was only marginally touched by such fruitful interchanges. The goal of my doctoral project was precisely that of start bridging this gap by developing logical systems corresponding to specific aspects of randomized computation and, thus, by generalizing standard achievements to the probabilistic realm. To do so, the key ingredient is the introduction of new, measure-sensitive quantifiers associated with quantitative interpretations. Concretely, the dissertation is tripartite. The first part concerns counting complexity and its main result is the proof that classical counting propositional logic provides a purely logical characterization of Wagner's hierarchy [1]. In the second part, which focusses on programming language theory, we present a probabilistic CurryHoward correspondence [2] between the intuitionistic version of our counting propositional logic and the typed probabilistic  -calculus with counting quantifiers. Finally, we consider the relationship between arithmetic and computation by introducing a quantitative extension of the language of Peano arithmetic able to formalize basic results from probability theory. This language is also our starting point to define randomized bounded arithmetic and, so, to generalize canonical results by Buss [3].</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Randomized Computation</kwd>
        <kwd>Logical Foundations of Computer Science</kwd>
        <kwd>Probability Logic</kwd>
        <kwd>Reasoning about Uncertainty</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Historically, determinacy was certainly one of the defining features of standard computational
models: given an algorithm and an input, the sequence of computation steps is uniquely
determined. In the second half of the XX century, this assumption started to be relaxed in diferent
ways and randomized algorithms were introduced for the first time – where a randomized
algorithm is a process which can evolve probabilistically so that, given an input, the computation
it performs may lead to diferent outcomes, each associated with a certain probability. Such a
more flexible design makes this computational model a very eficient and powerful tool, with
several applications in computer science (CS, for short) and technology.</p>
      <p>Starting from this, my Ph.D. dissertation has been motivated by two main considerations. On
the one hand, since its early appearance in the 1950s, probabilistic computation has become
ubiquitous in several fast-growing areas of CS and, by now, related, abstract models – as
probabilistic Turing machines (PTM, for short), stochastic automata or randomized  -calculi
– have been deeply investigated in the literature. On the other, there exist deep and mutual
interactions linking logic and theoretical computer science (TCS, for short), and, in the past, the
development and study of computation theory and models has considerably benefitted from
them. Yet, randomized computation was only marginally touched by such fruitful interchanges
and, so far, it has not found a precise logical counterpart. Such a missing connection looks
even more striking nowadays, due to the increasing pervasiveness of probability in many
relevant fields of information technology, from AI and statistical learning to cryptography,
approximate computing and robotics. The global purpose of my doctoral thesis consisted in
laying the foundation for a uniform approach to bridge the quoted gap. To do so, the key
ingredient is the introduction of a family of new logics, the language of which includes
nonstandard quantifiers “measuring” the probability of their argument formula, and associated with
inherently quantitative semantics.</p>
    </sec>
    <sec id="sec-2">
      <title>2. The Importance of Being Randomized</title>
      <p>
        As said, randomized algorithms are powerful tools with numerous applications in diferent
ifelds and technologies. Generally speaking, these are crucial when dealing with uncertain
information and partial knowledge, namely for all systems acting in realistic contexts – think,
for example, of driverless cars [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] or of computer vision modelling [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Notably, in some areas
probabilistic models have become even more than optional; for instance in cryptography, where
secure encryption schemas are probabilistic [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        On Logical Foundations of Computer Science. The existence of several and deep
interactions between logic and TCS is not accidental, but rooted in the intimate correspondence
connecting these disciplines. In fact, even the formal appearance of the science of computing
was essentially motivated by foundational studies in mathematics and logic, that had defined
the context in which this subject took its first steps. Later on, the back and forth between logic
and CS has strongly influenced the development of both and, today, numerous areas of IT – as
programming language theory [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], verification [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and database theory [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], computational and
descriptive complexity [
        <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
        ], just to quote a few – has efectively benefitted from their mutual
dialogue. As Siekmann wrote, “[i]n many respects, logic provides computer science with both a
unifying foundational framework and a tool for modeling” [11, p. 17]. Indeed, several aspects
of computer science are intrinsically related with logic, as shown by a variety of seminal results,
e.g. [
        <xref ref-type="bibr" rid="ref12 ref13 ref14 ref9">12, 13, 14, 9</xref>
        ]. The other side of the coin is the existence of numerous concrete exchanges
between these disciplines: while the growing importance of IT has guided and stimulated
many advances in logic, logical tools have extensive applications in CS and technology – from
software and hardware verification to the modelling of interactive or multi-agent systems, from
the study of relational databases to argumentation theory.
      </p>
      <p>Probabilistic Computation. Probabilistic computational models have been widely
investigated in the last few years, and are nowadays pervasive in almost every areas of CS. As seen,
the idea of relaxing the notion of algorithm from purely deterministic to probabilistic appeared
early in the history of modern computability theory. Intuitively, as anticipated, a randomized
algorithm is nothing but an algorithm involving random processes – typically corresponding to
“flipping a coin” – as part of its procedure. While in deterministic computation, for every input,
the algorithm  produces (at most) one output, in randomized computation, given an input, the
algorithm ℛ returns a set of outputs, each associated with a probability:</p>
      <p>JK : N ⇀ N
⇝</p>
      <p>JℛK : N → DN.</p>
      <p>
        In this way, algorithms have enabled eficient solutions to numerous problems [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], becoming
essential in diferent areas. As a consequence, several probabilistic (formal) models were
introduced: from PTMs [
        <xref ref-type="bibr" rid="ref16 ref17">16, 17</xref>
        ] and stochastic automata [
        <xref ref-type="bibr" rid="ref18 ref19">18, 19</xref>
        ] to probabilsitic  -calculi [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ].
At this point, randomized algorithms and programs are widespread, steering disciplines like
robotics, AI, verification and security coding, computer vision and NLP:
      </p>
      <p>
        The last decade has witnessed a tremendous growth in the area of randomized
algorithms. During this period, randomized algorithms went from being a tool in
computational number theory to finding widespread applications in many types of
algorithms. Two benefits of randomization have spearheaded this growth: simplicity
and speed. [15, p. ix]
Reasoning About Uncertainty. In particular, the use of randomized models have spread in
discipline involving uncertain domain – that is, in all disciplines realistically interacting with
“the world”. For instance, in agent systems (whether artificial or not) reasoning is processed and
decisions are made on the ground of partial information obtained from the environment and the
background knowledge.1 Clearly, in such contexts, simplifications are needed and “probabilistic
thinking” appears as a formidable tool for decision making and learning processing [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ]. These
new, concrete demands also led to the first attempts to analyze probabilistic reasoning in a
formal way and to the introduction of a few logical systems, starting in 1986 with Nilsson’s
pioneering proposal:
      </p>
      <p>
        Because many artificial intelligence applications require the ability to reason with
uncertain knowledge, it is important to seek appropriate generalizations of logic
from this case. [22, p. 71]
In the following years, new probability logics, inspired by [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ], were presented and developed
in the context of modal logic [
        <xref ref-type="bibr" rid="ref23 ref24 ref25">23, 24, 25</xref>
        ]. Nowadays, diferent formal systems to deal with
probabilistic and uncertain reasoning have been defined, even basing on alternative
(nonmodal) approaches, for example via non-monotonic and fuzzy logics or due to direct numerical
representations.2
1Probabilistic models become fundamental in AI research from the 1970s-1980s on. For further details on the “main
phases” in the history of this discipline, see e.g. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
2A detailed overview of logics for probability can be found e.g. in [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ] or in [26, pp. 91f.].
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Towards Logical Foundations of Randomized Computation</title>
      <p>As anticipated, interchanges between logic and computation are numerous and well-studied. Yet,
in the randomized setting, such a deep correspondence has only been sparsely investigated. One
crucial peculiarity, when switching to probabilistic algorithms, is that, in this case, behavioral
properties, like termination or equivalence, have an inherently quantitative nature, that is a
computation terminates with a given probability and a program might simulate a desired function
up to some probability of error – think, for instance, to probabilistic primality tests or learning
algorithms. Then, the central question is:</p>
      <p>can such quantitative properties be studied within a logical system?
In my Ph.D. dissertation a positive answer is given, at least for the specific aspects of the
interaction between quantitative logics and randomized computation it focusses on. As we shall
briefly see, the turning point of our approach consists in considering new quantitative logics
able to express probability in a natural way.</p>
      <sec id="sec-3-1">
        <title>3.1. Relating Logic and Randomized Computation</title>
        <p>Concretely, we generalized a few standard results linking logic and computation to the
probabilistic realm.</p>
        <p>
          Complexity Theory. As it is well-known, classical propositional logic and computational
complexity are strongly connected. Indeed, checking the satisfiability of PL-formulas is the
paradigmatic NP-complete problem [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], while the language of classical tautologies is
coNPcomplete. In the early 1970s, Meyer and Stockmeyer also showed that, when switching to
quantified propositional logic (QPL, for short), the full polynomial hierarchy (PH, for short)
can be captured by a single logical system and that each level in it is characterized by the
validity of QPL-formulas (in PNF), with the corresponding number of quantifier alternations.
Nonetheless, when moving to the probabilistic framework, such a plain correspondence seems
lost since no analogous logical counterpart is known to relate in a similar way to the counting
classes and hierarchy, as introduced by Valiant [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ] and Wagner [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]:
polynomial hierarchy : QPL
⇐⇒
counting hierarchy : ?
In the first part of the dissertation, a counting propositional system, called CPL, is introduced.
This logic is basically a generalization of PL capable of expressing that a formula is true with a
given probability [
          <xref ref-type="bibr" rid="ref28 ref29">28, 29</xref>
          ]. Then, CPL is shown to be strongly related to counting computation
and classes, being the probabilistic counterpart of QPL [
          <xref ref-type="bibr" rid="ref28 ref30 ref31">30, 28, 31</xref>
          ]. Indeed, its counting
quantifiers can be naturally seen as “quantitative” versions of standard propositional ones.
Our main result here is the purely logical characterization of Wagner’s hierarchy via complete
problems defined in terms of CPL-formulas.
        </p>
        <p>
          Programming Language Theory. Traditionally, the Curry-Howard correspondence (CHC,
for short) relates intuitionistic PL and the simply-typed  -calculus, but in the last fifty years
this correspondence was shown to hold in other and more sophisticated contexts too.
Meanwhile, randomized  -calculi [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ] and associated type systems were introduced, sometimes also
guaranteeing desirable forms of termination [
          <xref ref-type="bibr" rid="ref32">32</xref>
          ]. Yet, they are not so-to-say “logically oriented”
and no (probabilistic) CHC [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] is known for them:
simply typed  → : intuitionistic PL
⇐⇒
randomized  -calculi : ?
In the second part of the thesis, two new ingredients are introduced to define the first probabilistic
version of the quoted correspondence. On the one hand, we consider the intuitionistic version
of univariate CPL, called iCPL0, and show it able to capture quantitative behavioral properties.
On the other, we define a “counting”-typed randomized  -calculus. Its untyped part is strongly
inspired by the probabilistic event  -calculus introduced in [
          <xref ref-type="bibr" rid="ref33">33</xref>
          ], while its types are defined
mimicking counting quantifiers. Finally, we establish a (static and dynamic) correspondence in
the style of Curry and Howard between these two systems [
          <xref ref-type="bibr" rid="ref31 ref34">34, 31</xref>
          ].
        </p>
        <p>
          Arithmetic and Computation Theory. The theory of (deterministic) computation and
arithmetic are linked by deep results coming from logic and recursion theory – for example,
Gödel’s arithmetization [
          <xref ref-type="bibr" rid="ref35">35</xref>
          ] or realizability [
          <xref ref-type="bibr" rid="ref36">36</xref>
          ] or the Dialectica interpretation [
          <xref ref-type="bibr" rid="ref37">37</xref>
          ]. Indeed,
the language of arithmetic is able to express many interesting properties of algorithms and, due
to the relation between totality (of functions) and termination (of algorithms), several issues
in computation theory can be analyzed in the framework of arithmetic. Also in this context,
when switching to the probabilistic realm, no theory can be found to relate to randomized
computation as Peano Arithmetic (PA, for short) does in the deterministic case:
deterministic computation : PA
        </p>
        <p>
          probabilisitic computation : ?
⇐⇒
In the third part of the dissertation, we present a quantitative extension of the language of
PA, called MQPA, which allows us to formalize basic results from probability theory that are
not expressible in PA, for example the so-called infinite monkey theorem or the random walk
theorem. This language is also proved to be actually connected to randomized computation as
we establish the first probabilistic version of Gödel’s arithmetization [
          <xref ref-type="bibr" rid="ref33">33</xref>
          ], namely it is shown
that any random function can be expressed by a formula of MQPA.
        </p>
        <p>
          In addition, this language is at the basis of our study of randomized bounded theories [
          <xref ref-type="bibr" rid="ref38">38</xref>
          ].
One of the central motivations for the development of bounded arithmetics – i.e., subsystems of
PA the language of which includes functions with specific growth rate together with bounded
quantifiers, and in which induction is (variously) limited – was their connection with
computational complexity. As it is clear that not all computable functions are feasibly computable,
bounded theories become essential to characterize interesting (feasible) complexity classes
in terms of families of arithmetic formulas. Specifically, in 1986 Buss proved that poly-time
computable functions precisely correspond to those functions which are Σ 1 -definable in a
given bounded theory, called S12 [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. Although this fact is very insightful, no similar result was
established in the probabilistic framework:
deterministic classes : BA
        </p>
        <p>
          probabilistic classes : ?
⇐⇒
Inspired by the language MQPA, in the third part of the thesis we also introduce a randomized
bounded theory, called RS12, enabling us to logically capture relevant probabilistic classes, as
BPP [
          <xref ref-type="bibr" rid="ref39 ref40">39, 40</xref>
          ].
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. From Evaluating to Measuring</title>
        <p>Counting quantifiers are quantifiers of the form C or D and capable of expressing
probabilities within a logical language. These quantifiers not only determine the existence of a
satisfying assignment, but rather count how many those assignments are. In this sense, counting
quantifiers can be seen as a quantitative generalization of standard propositional ones:
(∀), (∃)
⇝</p>
        <p>C , D .</p>
        <p>Intuitively, the QPL-formula (∃) says that there is an interpretation for  making  true.
On the other hand, the (pseudo-)counting formula C1/2 expresses that  has probability
greater than 12 of being true, i.e. that  is true for at least one half of all possible interpretations
of . Dually, D1/2 says that the argument formula  has probability strictly smaller than 12
of being true.</p>
        <p>Remarkably such a generalization is made possible by switching from a truth-functional to a
quantitative semantics, in which formulas are no more interpreted as single truth-values but as
measurable sets of models:</p>
        <p>J KQPL ∈ {0, 1}
⇝</p>
        <p>J KCPL ⊆ 2N.</p>
        <p>So, while (the truth of) an existentially-quantified formula of QPL – for instance, (∃)(∃ )( ∧
 ) – gives us information about the existence of a model for  ∧ , counting-quantified formulas
tell us something about the number of these satisfying valuations. For example, the
(pseudo)counting formula C1/,4 ( ∧  ) says not only that there is a model for  ∧  , but also that at
least one out of four possible interpretations of the argument formula is a satisfying one. It is in
this way that counting logical systems allow us to formally represent and study quantitative
aspects of probabilistic computation in an innovative way.</p>
        <p>
          Notably, our counting propositional logics are natural tools to represent stochastic events in
a straightforward way,3 but, as predictable, their expressive power is still quite limited. This
has led us to the generalization of the notion of counting quantifier and to the definition of the
extended language MQPA, which is nothing but the language of first-order arithmetic endowed
with second-order measure quantifiers and associated with a Borel semantics.
3For further details, see [
          <xref ref-type="bibr" rid="ref29">29</xref>
          ].
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>A. Outline of the Thesis</title>
      <p>
        The Ph.D. dissertation Towards a Logical Foundation of Randomized Computation [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ] was defended in July 2023 at
the University of Bologna, Department of Computer Science and Engineering (DISI). Its main contributions concern
three aspects of the interaction between quantitative logic and probabilistic computation. Accordingly, the thesis is
divided into three parts. Each one is intended to be as self-contained as possible and the opening chapter always
ofers a bird’s-eye view of the topic captioned in the corresponding part. It includes a brief historical overview and
global motivations, together with an informal presentation of the results to be later considered.
• In the first part of the dissertation [ 26, Ch. 2-5], counting propositional logics are introduced and proved
able to define complete (logical) problems for each level of Wagner’s hierarchy. Specifically, the languages of
univariate CPL0 and of multivariate CPL are presented in Chapters 3 and 4, respectively, together with the
associated, quantitative semantics. These systems provide a natural formalism to represent stochastic events
(see [26, Sec. 3.4]) and support a suitable proof-theoretical treatment (see [26, Sec. 3.3, Sec. 4.2]), in the form
of sound and complete sequent calculi. The main result of this part is the logical characterization of CH, as
presented in Chapter 5.
• The second part of the thesis [26, Ch. 6-10] is devoted to our proposal of a probabilistic CHC. In Chapter 7,
the intuitionistic version of counting propositional logic, called iCPL, is defined, while, in Chapter 8, the
computational part of the correspondence, namely a slightly modified version of the probabilistic event
 -calculus by Dal Lago, Guerrieri and Heijltjes [
        <xref ref-type="bibr" rid="ref33">33</xref>
        ], is considered. The principal contribution here is the
definition of a probabilistic CHC between a fragment of intuitionistic counting propositional logic and a
counting-typed system able to express the probability of termination. This is presented in Chapter 9. Then,
in Chapter 10, termination properties are further investigated by introducing a related intersection type
system.
• Finally, in the third part of the dissertation [26, Ch. 11-13], a more general language, called MQPA, is
introduced together with a quantitative semantics. This language extends that of PA via second-order
measure quantifiers, which are not far from counting ones. In Chapter 12, it is shown that the expressive
power of MQPA is efectively remarkable. Indeed, results from probability theory, which cannot be expressed
in PA, can instead be properly formalized in it. Furthermore, it is proved that any recursive random function
can be represented by a formula of MQPA. In Chapter 13, a new randomized bounded arithmetic theory is
defined and it is established that the class of formulas which are Σ1 -representable in it is precisely that of
poly-time random functions. Due to this result, an arithmetical characterization of BPP is provided.
All the quoted contributions are part of the joint work with Ugo Dal Lago and Paolo Pistone. Our research about
randomized bounded theory, as presented in Section 14, was developed together with Davide Davoli and Isabel
Oitavem. Crucial results from [26, Part I] have been partially presented in [
        <xref ref-type="bibr" rid="ref28 ref29 ref30 ref31">30, 29, 28, 31</xref>
        ]. The main contributions
of [26, Part II] have been published in [
        <xref ref-type="bibr" rid="ref31 ref34">34, 31</xref>
        ]. The language MQPA and its connections with random functions, as
introduced in [26, Part III], have been presented in [
        <xref ref-type="bibr" rid="ref41">41</xref>
        ], while results concerning randomized bounded theories [26,
Ch. 13] have appeared (or will appear) in [
        <xref ref-type="bibr" rid="ref38 ref39 ref40">39, 40, 38</xref>
        ].
      </p>
    </sec>
    <sec id="sec-5">
      <title>B. Counting and Measure-Quantified Logics in a Nutshell</title>
      <p>In Section B.1, we introduce a few standard notions from basic probability theory which are needed to define the
semantics of our counting and measure-quantified logics. In Section B.2, we present the language and semantics of
univariate CPL0 and of multivariate CPL, while, in Section B.3, we deal with the language and semantics of the
more expressive language MQPA.</p>
      <sec id="sec-5-1">
        <title>B.1. Basic Probability Theory</title>
        <p>In probability theory, an outcome or point  is the result of a single execution of an experiment, the sample space
Ω is the set of all possible outcomes, and an event  is a subset of Ω. Two events, say 1 and 2, are disjoint or
mutually exclusive when they cannot happen at the same time, that is 1 ∩ 2 = ∅. A class Fof subsets of Ω is said
to be a  -field or  -algebra when (i.) it contains Ω, i.e. Ω ∈ F, (ii) it is closed under complementation, i.e. if  ∈ F,
then  ∈ F, being  the complementation of , and (iii) it is closed under countable union (and intersection). The
largest  -field on Ω is the power class 2Ω, while the smallest one is {∅, Ω}. The  -field generated by F,  (F), is the
smallest  -algebra containing F. A measurable space is a pair (Ω, F), where F is a  -algebra over Ω.</p>
        <p>In the 1930s, Kolmogorov introduced the notion of probability space, together with the axioms for probability. A
probability measure on a  -field F, Prob(· ), associates each event  ∈ F with a number, Prob(), so that:
i. for each  ∈ F, 0 ≤ Prob() ≤ 1,
ii. Prob(∅) = 0 and Prob(Ω) = 1,
iii. if 1, 2, ... ∈ F is a sequence of disjoint events, then Prob(︀ ⋃︀∞=1 )︀ = ∑︀∞=1 Prob().
Two events are (stochastically) independent when the occurrence of one does not afect the probability for the other to
occur. In particular, given two disjoint events, say 1 and 2, Prob(1 ∪ 2) = Prob(1) + Prob(2), while for
two independent events, say 1′ and 2′, Prob(1′ ∩ 2′) = Prob(1′) · Prob(2′). A probability space (Ω, F, Prob)
is a mathematical object that provides a formal model for random processes and is made of:
• a sample space, Ω, which is the set of all possible outcomes,
• a  -field , F, which is the set of events,
• a probability measure, Prob, which assigns to each event in F a probability, i.e. a number between 0 and 1
satisfying the so-called Kolmogorov axioms.</p>
        <p>In the following, we will mostly focus on a specific probability space such that Ω = 2N, namely the set of all
infinite sequences of random bits (i.e. coin tosses). Each such sequence is denoted as</p>
        <p>= (1)(2) . . . ,
with  ∈ Ω,  ∈ N, and () ∈ {0, 1}. Each sequence  can be interpreted as the result of infinitely flipping a coin.
Definition 1 (Cylinder of Rank ). A cylinder of rank  is a set of the form</p>
        <p>cyl = { | (1), ..., () ∈ },
with  ⊂ { 0, 1}.</p>
        <p>Observe that when  = {(1, ..., )} is a singleton (︀ for 1, ...,  ∈ {0, 1})︀ , an event  = { | (1), ..., () =
(1, ..., )}, such that the first  repetitions of the experiment have outcomes 1, ...,  in sequence, is called a
thin cylinder. We will be particularly interested in thin cylinders in which the only set defining  is made of one
element  = 1.</p>
        <p>Notation 1. For  ∈ N, we denote special thin cylinders as follows:</p>
        <p>() = { | () = 1}.</p>
        <p>The class of cylinders of all ranks, which is a field [ 42, pp. 27-30], is denoted by C, while  ( C) indicates the
 -algebra generated by C. It is thus possible to define a measure on it. Specifically, we use  C to denote the unique
probability measure over (︀ 2N,  ( C))︀ , such that for any  ∈ N,  C(︀ ())︀ = 21 .</p>
        <p>Definition 2 (Canonical Cylinder Measure  C). Given  ∈ {0, 1}, let  denote the (non-negative and summing
to 1) probability of getting . Then, for any cylinder cyl ,
 C(cyl ) = ∑︁ 1 · · ·  ,

the sum extending over all sequences (1, . . . , ) ∈ .</p>
      </sec>
      <sec id="sec-5-2">
        <title>B.2. On Counting Propositional Logic</title>
        <p>The core idea to define counting propositional logics is to extend standard languages by measure-sensitive quantifiers
and to consider quantitative semantics in which formulas are no more interpreted as single truth values, but as
measurable sets of satisfying valuations. When dealing with the most intuitive, univariate fragment CPL0, any
formula, say  , is interpreted as the set J K ⊆ 2N made of all maps  ∈ 2N “making  true” (︀ and belonging to the
standard Borel algebra over 2N, B(2N))︀ . In particular, atomic propositions are interpreted as special cylinder sets of
the form:</p>
        <p>
          () = { ∈ 2N |  () = 1},
for  ∈ N, while non-atomic expressions are interpreted as standard operations of complementation, finite
intersection and union. Since these sets are all measurable, and B(2N) is endowed with a canonical probability measure,
it makes sense to ask whether “ is true with probability at least q” or “ is true with probability strictly smaller
than q”. This is formalized by the notion of counting quantifier – i.e. by C or D, for  ∈ Q ∩ [
          <xref ref-type="bibr" rid="ref1">0, 1</xref>
          ] –, inspired by
Wagner’s counting operator [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. Intuitively, the formula C (resp., D ) expresses that  is satisfied by a portion
of assignments greater (resp., strictly smaller) than . For example, C1/2 expresses the fact that  is satisfied by at
least half of its valuations. In the more expressive counting propositional logic, CPL, relations between valuations
of diferent groups of variables can be taken into account. Contextually, the corresponding quantitative semantics is
subtler than that of CPL0 and the interpretation for counting-quantified formulas relies on some technical notions.
Remarkably, in [
          <xref ref-type="bibr" rid="ref28 ref30 ref31">30, 28, 31</xref>
          ], sound and complete proof system(s) for both CPL0 and CPL are introduced.
Remark 1. There is a strong connection between (closed) formulas of CPL0 and (closed) formulas of CPL in which
only one name occurs. Indeed, a translation which preserves validity can be easily defined to pass from ones to the
others [26, Sec. 4.1].
        </p>
      </sec>
      <sec id="sec-5-3">
        <title>B.2.1. Syntax and Semantics of CPL0</title>
        <p>Definition 3 (Formulas of CPL0). Formulas of CPL0 are defined by the grammar below:</p>
        <p>
          ::= i | ¬ |  ∧  |  ∨  | C | D,
where  ∈ N and  ∈ Q ∩ [
          <xref ref-type="bibr" rid="ref1">0, 1</xref>
          ].
        </p>
        <p>The definition of the semantics of CPL0 relies on the standard cylinder space (︀ 2N,  ( C),  C︀) .
Definition 4 (Semantics of CPL0). For each formula  of CPL0 its interpretation J K ∈ B(2N) is the measurable
set defined as follows:
i := ()</p>
        <p>J K</p>
        <p>J¬K := 2N − JK
J ∧ K := JK ∩ JK
J ∨ K := JK ∪ JK</p>
        <p>J
C :=</p>
        <p>K
J
D :=</p>
        <p>K
{︃2N
∅
if  C(︀ JK) ≥ 
otherwise
if  C(︀ JK) &lt; 
otherwise.</p>
        <p>Definition 5.</p>
        <p>J K = ∅.
hEaxvaembpolthe 1m. eLaseut rues 14coannsdidaerreCdi1s/jo2i(nt.∨Hen)c,ew, heCr︀(eJ =∨ 0K∧)︀ ¬= 1 aCn︀( dJK=)︀+¬ 0C∧(︀ 1J.TKh)︀e=m12e,aasnudraJbCle1s/e2t(s,J∨ Ka)nKd=J2NK,.</p>
        <p>Observe that counting quantifiers are inter-definable but not dual, in the sense of standard modal operators:
C is not equivalent to ¬D¬ .</p>
        <p>
          For any formula of CPL0, call it  ,  is said to be valid when J K = 2N and to be invalid when
Remark 2. By combining counting quantifiers it is possible to easily express that a formula  “is true with precisely
a given probability”, see [
          <xref ref-type="bibr" rid="ref29">29</xref>
          ].
        </p>
        <p>B.2.2. Syntax and Semantics of CPL
We now introduce the more expressive fragment CPL, in which relations between valuations of diferent groups
of variables can be considered. Its language is made of named atomic formulas and named counting quantifiers.
The corresponding quantitative semantics is subtler than the one for CPL0 and, in particular, the interpretation of
counting-quantified formulas relies on some technical notions.</p>
        <p>Notation 2. We use , , ... ∈ A for names and , ... ⊆</p>
        <sec id="sec-5-3-1">
          <title>A for (countable) sets of names.</title>
          <p>Intuitively, named counting quantifiers,</p>
          <p>C or D, count the number of valuations of propositional atoms with the
corresponding name, here , satisfying the argument formula.</p>
          <p>Definition 6 (Formulas of CPL). Formulas of CPL are defined by the grammar below:</p>
          <p>
            ::= i | ¬ |  ∧  |  ∨  | C | D,
where  ∈ N,  ∈ A, and  ∈ Q ∩ [
            <xref ref-type="bibr" rid="ref1">0, 1</xref>
            ].
          </p>
          <p>A named quantifier binds the occurrences of the name in the argument formula and counts models relative to the
corresponding bounded variable. The intuitive meaning of C is that  is true in at least  valuations of the
variables with name .
technical notion of  -projection.</p>
          <p>The interpretation of a formula  now depends on the choice of a finite set of names  ⊇
measurable set J K belonging to the Borel algebra, B︀( (2N) )︀ . To define it formally we need to introduce the
FN( ) and is a
the  -projection of  is the set:
Definition 7 ( -projection). Let ,  be two disjoint, finite sets of names, and  ∈ (2N) . For all  ⊆ (2N)∪ ,
where
Π ( ) := {︀  ∈ (2N) |  +  ∈  ⊆ (2N) ,</p>
          <p>︀}
( + )( ) :=
{︃ ( ) if  ∈ 
( ) if  ∈ .
interpretation J K ⊆ (2N) is defined as follows:
Definition 8 (Semantics of CPL). For each formula  of CPL and finite set of names such that  ⊇ FN( ), the
JiK := { |  ()() = 1</p>
          <p>}
J
 ∧ K := JK ∩ JK
J
 ∨ K := JK ∪ JK</p>
          <p>J¬K := (2N) −</p>
          <p>J
K
JDK := {︀  |  C(︀ JK∪{})
JCK := {︀  |  C(︀ Π (J K∪{})︀) ≥</p>
          <p>︀}
︀) &lt; ︀} .</p>
          <p>to be true
Example 2. Let us consider the formula C1/2</p>
          <p>C1/2 , where
 = (︀ 2 ∧ (¬2 ∧ 3))︀ ∨
︀(
¬2 ∧ (2 ∧ ¬3))︀ ∨ ︀( (¬2 ∧ 3) ∧ 3)︀ .
variables satisfying  in at least half of the cases. Let us list all possible cases:
The valuations  ∈ (2N){} belonging to</p>
          <p>J</p>
          <p>C1/2 K{} are those which can be extended to valuations of all Boolean
2.  ()(2) = 1,  ()(3) = 0. Then,  has 12 chances of being true, as ¬2 has to be true
1.  ()(2) =  ()(3) = 1. Then,  has 14 chances of being true, as both ¬2 and 3 have to be true
3.  ()(2) = 0 and  ()(3) = 1. Then,  has 34 chances of being true, as either 2 or both ¬2 and 3 have
4.  ()(2) =  ()(3) = 0. Then,  has no chance of being true.</p>
          <p>Clearly, C1/2 K{} only contains the valuations which agree with cases 2. and 3. Therefore, qC1/2</p>
          <p>J
i.e. C</p>
          <p>C1/2 is valid, since half of the valuations of  has at least 21 chances of being extended to a model of  .
C1/2 y</p>
          <p>= 2N,
∅
The standard model N = (N, +, × ) has nothing probabilistic in itself. To obtain a model for MQPA we extend it to
a probability space, obtaining P = (N, +, × ,  ( C),  C). The grammar for terms of MQPA is standard, whereas the
syntax for formulas is obtained by endowing the language of PA with special flipcoin formulas of the form Flip()
and measure-quantified formulas , such as C/ and D/ . Specifically, Flip(· ) is a special unary predicate with
an intuitive computational meaning: it provides an infinite sequence of independently and randomly distributed bits.
Given a closed term , Flip() holds if and only if the -th tossing returns 1, where  denotes  + 1.
Definition 9 (Terms and Formulas of MQPA). Let  be a denumerable set of ground variables, whose elements are
indicated by metavariables such as , , .... The terms of MQPA, denoted by , , ..., are defined by the grammar
below:</p>
        </sec>
        <sec id="sec-5-3-2">
          <title>The syntax for formulas of MQPA is as follows:</title>
          <p>::= Flip() | ( = ) | ¬ |  ∨  |  ∧  | ∃. | ∀. | C/ | D/.
Given an environment  :  → N, the interpretation   of a term  is defined as usual. Instead, the interpretation</p>
          <p>J K
of formulas requires a little care, being it inherently quantitative; indeed, any formula of MQPA, say  , is associated
with a measurable set, J K ∈  ( C).</p>
          <p>Definition 10 (Semantics for Formulas of MQPA). Given a formula  and an environment  , the interpretation of
 in  , J K ∈  ( C), is the measurable set of sequences inductively defined as follows:</p>
          <p>JFlip()K := {︀  | (︀ JK ︀) = 1}︀</p>
          <p>{︃2N</p>
          <p>∅
J¬K := 2N − JK
∅
if JK &gt; 0 and  C(JK ) ≥ JK /JK
otherwise
if JK = 0 or  C(JK ) &lt; JK /JK
otherwise</p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>K.</given-names>
            <surname>Wagner</surname>
          </string-name>
          ,
          <article-title>The Complexity of Combinatorial Problems with Succinct Input Representation</article-title>
          ,
          <source>Acta Informatica</source>
          <volume>23</volume>
          (
          <year>1986</year>
          )
          <fpage>325</fpage>
          -
          <lpage>356</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M.</given-names>
            <surname>Sorensen</surname>
          </string-name>
          , P. Urzyczyn,
          <source>Lectures on the Curry-Howard Isomorphism</source>
          , volume
          <volume>149</volume>
          ,
          <string-name>
            <surname>Elsevier</surname>
          </string-name>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Buss</surname>
          </string-name>
          , Bounded Arithmetic,
          <source>Ph.D. thesis</source>
          , Princeton University,
          <year>1986</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>S.</given-names>
            <surname>Thrun</surname>
          </string-name>
          , W. Burgard,
          <string-name>
            <given-names>D.</given-names>
            <surname>Fox</surname>
          </string-name>
          , Probabilistic Robotics, MIT Press,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>D.</given-names>
            <surname>Koller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Friedman</surname>
          </string-name>
          ,
          <article-title>Probabilistic Graphical Models: Principles and Techniques</article-title>
          , MIT Press,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>S.</given-names>
            <surname>Goldwasser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Micali</surname>
          </string-name>
          , Probabilistic Encryption,
          <source>Journal of Computer and System Sciences</source>
          <volume>28</volume>
          (
          <year>1984</year>
          )
          <fpage>279</fpage>
          -
          <lpage>299</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Thornton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Drechsler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Miller</surname>
          </string-name>
          , Logic Verification, Springer,
          <year>2001</year>
          , pp.
          <fpage>201</fpage>
          -
          <lpage>230</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>E.</given-names>
            <surname>Codd</surname>
          </string-name>
          ,
          <article-title>Relational Completeness of Data Base Sublanguages</article-title>
          ,
          <source>in: Proc. 6th Courant Computer Science Symposium</source>
          ,
          <year>1972</year>
          , pp.
          <fpage>65</fpage>
          -
          <lpage>98</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S.</given-names>
            <surname>Cook</surname>
          </string-name>
          ,
          <article-title>The Complexity of Theorem-Proving Procedures</article-title>
          ,
          <source>in: Proc. Symposium on Theory of Computing (STOC)</source>
          ,
          <year>1971</year>
          , pp.
          <fpage>151</fpage>
          -
          <lpage>158</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>N.</given-names>
            <surname>Immerman</surname>
          </string-name>
          , Descriptive Complexity, Springer,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>J.</given-names>
            <surname>Siekman</surname>
          </string-name>
          , Computational Logic, in: J.
          <string-name>
            <surname>Siekmann</surname>
          </string-name>
          (Ed.),
          <source>Handbook of the History of Logic: Computational Logic</source>
          , volume
          <volume>9</volume>
          ,
          <string-name>
            <surname>Elsavier</surname>
          </string-name>
          ,
          <year>2014</year>
          , pp.
          <fpage>15</fpage>
          -
          <lpage>30</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>A.</given-names>
            <surname>Turing</surname>
          </string-name>
          ,
          <article-title>On Computable Numbers, with an Application to the Entscheidungsproblem</article-title>
          ,
          <source>in: Proc. London Mathematical Society</source>
          , volume
          <volume>42</volume>
          ,
          <year>1936</year>
          , pp.
          <fpage>230</fpage>
          -
          <lpage>265</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>A.</given-names>
            <surname>Church</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Kleene</surname>
          </string-name>
          ,
          <article-title>Formal Definitions in the Theory of Ordinal Numbers</article-title>
          ,
          <source>Fundamenta Mathematicae</source>
          <volume>28</volume>
          (
          <year>1936</year>
          )
          <fpage>11</fpage>
          -
          <lpage>21</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>W.</given-names>
            <surname>Howard</surname>
          </string-name>
          ,
          <article-title>The Formulae-as-Types Notion of Construction</article-title>
          , in: J.
          <string-name>
            <surname>Seldin</surname>
          </string-name>
          , J. Hindley (Eds.),
          <string-name>
            <surname>To H.B. Curry</surname>
          </string-name>
          : Essays on Combinatory Logic,
          <source>Lambda Calculus and Formalism</source>
          , Academic Press,
          <year>1980</year>
          , pp.
          <fpage>479</fpage>
          -
          <lpage>490</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>R.</given-names>
            <surname>Motwani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Raghavan</surname>
          </string-name>
          , Randomized Algorithms, Cambridge University Press,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>E.</given-names>
            <surname>Santos</surname>
          </string-name>
          ,
          <article-title>Probabilistic Turing Machines and Computability</article-title>
          ,
          <source>Proc. American Mathematical Society</source>
          <volume>22</volume>
          (
          <year>1969</year>
          )
          <fpage>704</fpage>
          -
          <lpage>710</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>J.</given-names>
            <surname>Gill</surname>
          </string-name>
          ,
          <article-title>Computational Complexity of Probabilistic Turing Machines</article-title>
          ,
          <source>in: Proc. Symposium on Theory of Computing (STOC)</source>
          ,
          <year>1974</year>
          , pp.
          <fpage>91</fpage>
          -
          <lpage>95</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>M. O.</given-names>
            <surname>Rabin</surname>
          </string-name>
          , Probabilistic Automata,
          <source>Information and Computation</source>
          <volume>6</volume>
          (
          <year>1963</year>
          )
          <fpage>230</fpage>
          -
          <lpage>245</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>R.</given-names>
            <surname>Segala</surname>
          </string-name>
          ,
          <article-title>A Compositional Trace-Based Semantics for Probabilistic Automata</article-title>
          ,
          <source>in: Proc. International Conference on Concurrency Theory (CONCUR)</source>
          ,
          <year>1995</year>
          , pp.
          <fpage>234</fpage>
          -
          <lpage>248</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>N.</given-names>
            <surname>Saheb-Djaromi</surname>
          </string-name>
          ,
          <article-title>Probabilistic LCF</article-title>
          , in: A. Press (Ed.),
          <source>Proc. International Symposium on Mathematical Foundations of Computer Science</source>
          ,
          <year>1978</year>
          , pp.
          <fpage>154</fpage>
          -
          <lpage>165</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>J.</given-names>
            <surname>Pearl</surname>
          </string-name>
          ,
          <article-title>Probabilistic Reasoning in Intelligent Systems</article-title>
          .
          <source>Networks of Plausible Inference, Elsavier</source>
          ,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>N.</given-names>
            <surname>Nilsson</surname>
          </string-name>
          , Probabilistic Logic,
          <source>Artificial Intelligence</source>
          <volume>28</volume>
          (
          <year>1986</year>
          )
          <fpage>71</fpage>
          -
          <lpage>87</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>F.</given-names>
            <surname>Bacchus</surname>
          </string-name>
          ,
          <article-title>Representing and Reasoning with Probabilistic Knowledge</article-title>
          , MIT Press,
          <year>1990</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>R.</given-names>
            <surname>Fagin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Halpern</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Megiddo</surname>
          </string-name>
          ,
          <article-title>A Logic for Reasoning about Probabilities</article-title>
          ,
          <source>Information and Computation</source>
          <volume>87</volume>
          (
          <year>1990</year>
          )
          <fpage>78</fpage>
          -
          <lpage>128</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>J.</given-names>
            <surname>Halpern</surname>
          </string-name>
          , Reasoning About Uncertainty, MIT Press,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>M.</given-names>
            <surname>Antonelli</surname>
          </string-name>
          ,
          <article-title>Towards a Logical Foundation of Randomized Computation</article-title>
          ,
          <source>Ph.D. thesis</source>
          , University of Bologna, Department of Computer Science and Engineering,
          <year>2023</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>L.</given-names>
            <surname>Valiant</surname>
          </string-name>
          ,
          <source>The Complexity of Computing the Permanent, Theoretical Computer Science</source>
          <volume>8</volume>
          (
          <year>1979</year>
          )
          <fpage>189</fpage>
          -
          <lpage>201</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>M.</given-names>
            <surname>Antonelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Dal Lago</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Pistone</surname>
          </string-name>
          ,
          <article-title>On Counting Propositional Logic and Wagner's Hierarchy, Theoretical Computer Science (</article-title>
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>M.</given-names>
            <surname>Antonelli</surname>
          </string-name>
          ,
          <article-title>Two Remarks on Counting Propositional Logic</article-title>
          ,
          <source>in: Proc. Workshop</source>
          on Bias,
          <article-title>Risk, Explainability and the role of Logic and Logic Programming (BEWARE)</article-title>
          ,
          <source>AIxIA Conference</source>
          ,
          <year>2022</year>
          , pp.
          <fpage>20</fpage>
          -
          <lpage>32</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <given-names>M.</given-names>
            <surname>Antonelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Dal Lago</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Pistone</surname>
          </string-name>
          ,
          <article-title>On Counting Propositional Logic and Wagner's Hierarchy</article-title>
          ,
          <source>in: Proc. Italian Conference of Theoretical Computer Science (ICTCS)</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>107</fpage>
          -
          <lpage>121</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31]
          <string-name>
            <given-names>M.</given-names>
            <surname>Antonelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Dal Lago</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Pistone</surname>
          </string-name>
          ,
          <article-title>Towards Logical Foundations for Probabilistic Computation</article-title>
          ,
          <source>Annals of Pure and Applied Logic</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          [32]
          <string-name>
            <given-names>C.</given-names>
            <surname>Faggian</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          <article-title>Ronchi della Rocca, Lambda Calculus and Probabilistic Computation</article-title>
          ,
          <source>in: Proc. Symposium on Logic in Computer Science (LICS)</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>13</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          [33]
          <string-name>
            <given-names>U.</given-names>
            <surname>Dal Lago</surname>
          </string-name>
          , G. Guerrieri, W. Heijltjes,
          <string-name>
            <surname>Decomposing Probabilistic</surname>
          </string-name>
          Lambda-Calculi,
          <source>in: Proc. Foundations of Software Science and Computation Structures (FoSSaCS)</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>136</fpage>
          -
          <lpage>156</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          [34]
          <string-name>
            <given-names>M.</given-names>
            <surname>Antonelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Dal Lago</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Pistone</surname>
          </string-name>
          ,
          <article-title>Curry and Howard Meet Borel</article-title>
          ,
          <source>Proc. Symposium on Logic in Computer Science (LICS)</source>
          (
          <year>2022</year>
          )
          <fpage>1</fpage>
          -
          <lpage>13</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          [35]
          <string-name>
            <given-names>K.</given-names>
            <surname>Gödel</surname>
          </string-name>
          ,
          <article-title>Über Formal Unentscheidbare Sätze der Principia Mathematica und Verwandter Systeme, Monatsch</article-title>
          . Math. Phys.
          <volume>38</volume>
          (
          <year>1931</year>
          )
          <fpage>173</fpage>
          -
          <lpage>178</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          [36]
          <string-name>
            <given-names>G.</given-names>
            <surname>Kreisel</surname>
          </string-name>
          ,
          <article-title>Interpretation of Analysis by Means of Constructive Funcionals of Finite Types</article-title>
          , in: A.
          <string-name>
            <surname>Heyting</surname>
          </string-name>
          (Ed.), Constructivity in Mathematics, North-Holland,
          <year>1959</year>
          , pp.
          <fpage>101</fpage>
          -
          <lpage>128</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          [37]
          <string-name>
            <given-names>K.</given-names>
            <surname>Gödel</surname>
          </string-name>
          ,
          <article-title>Über eine Bisher noch nicht Benützte Erweiterung des Finiten Standpunktes</article-title>
          ,
          <source>Dialectica</source>
          <volume>12</volume>
          (
          <year>1958</year>
          )
          <fpage>280</fpage>
          -
          <lpage>287</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          [38]
          <string-name>
            <given-names>M.</given-names>
            <surname>Antonelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Dal Lago</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Davoli</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Oitavem</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Pistone</surname>
          </string-name>
          , Enumerating Erorr Bounded Polytime Algorithms Through Arithmetical Theories,
          <source>in: Proc. Computer Science Logic (CSL)</source>
          ,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          [39]
          <string-name>
            <given-names>M.</given-names>
            <surname>Antonelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Dal Lago</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Davoli</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Oitavem</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Pistone</surname>
          </string-name>
          ,
          <article-title>Towards a Randomized Bounded Arithmetic</article-title>
          , in: AILA - Book of Abstract,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref40">
        <mixed-citation>
          [40]
          <string-name>
            <given-names>M.</given-names>
            <surname>Antonelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Dal Lago</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Davoli</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Oitavem</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Pistone</surname>
          </string-name>
          , Enumerating Erorr Bounded Polytime Algorithms Through Arithmetical Theories, in: Logic Colloquium 2023 - Book of Abstract,
          <year>2023</year>
          , pp.
          <fpage>45</fpage>
          -
          <lpage>46</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref41">
        <mixed-citation>
          [41]
          <string-name>
            <given-names>M.</given-names>
            <surname>Antonelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Dal Lago</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Pistone</surname>
          </string-name>
          ,
          <article-title>On Measure Quantifiers in First-Order Arithmetic</article-title>
          , in: L.
          <string-name>
            <surname>De Mol</surname>
            ,
            <given-names>M. F.</given-names>
          </string-name>
          <string-name>
            <surname>Weiermann</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>D.</surname>
          </string-name>
          Fernández-Duque (Eds.),
          <source>Proc. Computability in Europe Conference (CiE)</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>12</fpage>
          -
          <lpage>24</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref42">
        <mixed-citation>
          [42]
          <string-name>
            <given-names>P.</given-names>
            <surname>Billingsley</surname>
          </string-name>
          , Probability and Measure, Wiley,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>