Ian Pratt-Hartmann

dblp:60/4630 · also Ian E. Pratt, Ian Pratt 0002 · DBLP profile ↗
← Back
38ranked-venue papers
17as first author
11since 2021 · last 2025
0000-0003-0062-043XORCID · verified

Domains — the database's venue-derived domains; a paper can count in several

Theory of computation · 26 · 13 first-author · 5 since 2021Artificial intelligence and machine learning · 13 · 2 first-author · 5 since 2021Graphics, computer vision, multimedia, augmented reality and games · 2 · 1 first-author · 1 since 2021Applied, interdisciplinary, general and emerging computing · 1 · 1 first-author
YearPublicationVenuePosition
2025 Unravelling the Logic: Investigating the Generalisation of Transformers in Numerical Satisfiability Problems
abstract
Tharindu Madusanka, Marco Valentino, Iqra Zahid, Ian Pratt-Hartmann, Riza Batista-Navarro. Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2025.
Tharindu Madusanka, Marco Valentino, Iqra Zahid, Ian Pratt-Hartmann, Riza Theresa Batista-Navarro
ACL (1)4
2025 The adjacent fragment and Quine's limits of decision
abstract
Abstract We introduce the adjacent fragment $\mathcal{AF}$ of first-order logic, obtained by restricting the sequences of variables occurring as arguments in atomic formulas. The adjacent fragment generalizes (after a routine renaming) the two-variable fragment of first-order logic as well as the so-called fluted fragment. We show that the adjacent fragment has the finite model property, and that the satisfiability problem for its $k$-variable sub-fragment is in $(k{-}1)$-$\text{NExpTime}$. Using known results on the fluted fragment, it follows that the satisfiability problem for the whole adjacent fragment is $\text{Tower}$-complete. We additionally consider the effect of the adjacency requirement on the well-known guarded fragment of first-order logic, whose satisfiability problem is $2\text{ExpTime}$-complete. We show that the satisfiability problem for the intersection of the adjacent and guarded adjacent fragments remains $2\text{ExpTime}$-hard. Finally, we show that any relaxation of the adjacency condition on the allowed order of variables in argument sequences yields a logic whose satisfiability and finite satisfiability problems are undecidable.
Bartosz Jan Bednarczyk, Daumantas Kojelis, Ian Pratt-Hartmann
J. Log. Comput.3
2024 Natural Language Satisfiability: Exploring the Problem Distribution and Evaluating Transformer-based Language Models
abstract
Efforts to apply transformer-based language models (TLMs) to the problem of reasoning in natural language have enjoyed ever-increasing success in recent years.The most fundamental task in this area to which nearly all others can be reduced is that of determining satisfiability.However, from a logical point of view, satisfiability problems vary along various dimensions, which may affect TLMs' ability to learn how to solve them.The problem instances of satisfiability in natural language can belong to different computational complexity classes depending on the language fragment in which they are expressed.Although prior research has explored the problem of natural language satisfiability, the above-mentioned point has not been discussed adequately.Hence, we investigate how problem instances from varying computational complexity classes and having different grammatical constructs impact TLMs' ability to learn rules of inference.Furthermore, to faithfully evaluate TLMs, we conduct an empirical study to explore the distribution of satisfiability problems.
Tharindu Madusanka, Ian Pratt-Hartmann, Riza Theresa Batista-Navarro
ACL (1)2
2024 Walking on Words
abstract
Any function f with domain {1, … , m} and co-domain {1, … , n} induces a natural map from words of length n to those of length m: the ith letter of the output word (1 ≤ i ≤ m) is given by the f(i)th letter of the input word. We study this map in the case where f is a surjection satisfying the condition |f(i+1)-f(i)| ≤ 1 for 1 ≤ i < m. Intuitively, we think of f as describing a "walk" on a word u, visiting every position, and yielding a word w as the sequence of letters encountered en route. If such an f exists, we say that u generates w. Call a word primitive if it is not generated by any word shorter than itself. We show that every word has, up to reversal, a unique primitive generator. Observing that, if a word contains a non-trivial palindrome, it can generate the same word via essentially different walks, we obtain conditions under which, for a chosen pair of walks f and g, those walks yield the same word when applied to a given primitive word. Although the original impulse for studying primitive generators comes from their application to decision procedures in logic, we end, by way of further motivation, with an analysis of the primitive generators for certain word sequences defined via morphisms.
Ian Pratt-Hartmann
CPM1
2023 Adding Transitivity and Counting to the Fluted Fragment
Ian Pratt-Hartmann, Lidia Tendera
CSL1
2023 Identifying the limits of transformers when performing model-checking with natural language
abstract
Can transformers learn to comprehend logical semantics in natural language?Although many strands of work on natural language inference have focussed on transformer models' ability to perform reasoning on text, the above question has not been answered adequately.This is primarily because the logical problems that have been studied in the context of natural language inference have their computational complexity vary with the logical and grammatical constructs within the sentences.As such, it is difficult to access whether the difference in accuracy is due to logical semantics or the difference in computational complexity.A problem that is much suited to address this issue is that of the model-checking problem, whose computational complexity remains constant (for fragments derived from first-order logic).However, the model-checking problem remains untouched in natural language inference research.Thus, we investigated the problem of model-checking with natural language to adequately answer the question of how the logical semantics of natural language affects transformers' performance 1 .Our results imply that the language fragment has a significant impact on the performance of transformer models.Furthermore, we hypothesise that a transformer model can at least partially understand the logical semantics in natural language but can not completely learn the rules governing the modelchecking algorithm.
Tharindu Madusanka, Riza Theresa Batista-Navarro, Ian Pratt-Hartmann
EACL3
2023 Not all quantifiers are equal: Probing Transformer-based language models' understanding of generalised quantifiers
abstract
How do different generalised quantifiers affect the behaviour of transformer-based language models (TLMs)?The recent popularity of TLMs and the central role generalised quantifiers have traditionally played in linguistics and logic bring this question into particular focus.The current research investigating this subject has not utilised a task defined purely in a logical sense, and thus, has not captured the underlying logical significance of generalised quantifiers.Consequently, they have not answered the aforementioned question faithfully or adequately.Therefore, we investigate how different generalised quantifiers affect TLMs by employing a textual entailment problem defined in a purely logical sense, namely, modelchecking with natural language.Our approach permits the automatic construction of datasets with respect to which we can assess the ability of TLMs to learn the meanings of generalised quantifiers.Our investigation reveals that TLMs generally can comprehend the logical semantics of the most common generalised quantifiers, but that distinct quantifiers influence TLMs in varying ways.
Tharindu Madusanka, Iqra Zahid, Hao Li 0074, Ian Pratt-Hartmann, Riza Theresa Batista-Navarro
EMNLP4
2023 On the Limits of Decision: the Adjacent Fragment of First-Order Logic
abstract
We define the adjacent fragment AF of first-order logic, obtained by restricting the sequences of variables occurring as arguments in atomic formulas. The adjacent fragment generalizes (after a routine renaming) two-variable logic as well as the fluted fragment. We show that the adjacent fragment has the finite model property, and that its satisfiability problem is no harder than for the fluted fragment (and hence is Tower-complete). We further show that any relaxation of the adjacency condition on the allowed order of variables in argument sequences yields a logic whose satisfiability and finite satisfiability problems are undecidable. Finally, we study the effect of the adjacency requirement on the well-known guarded fragment (GF) of first-order logic. We show that the satisfiability problem for the guarded adjacent fragment (GA) remains 2ExpTime-hard, thus strengthening the known lower bound for GF.
Bartosz Jan Bednarczyk, Daumantas Kojelis, Ian Pratt-Hartmann
ICALP3
2022 Can Transformers Reason in Fragments of Natural Language?
abstract
State-of-the-artdeep-learning-based approaches to Natural Language Processing (NLP) are credited with various capabilities that involve reasoning with natural language texts.In this paper we carry out a large-scale empirical study investigating the detection of formally valid inferences in controlled fragments of natural language for which the satisfiability problem becomes increasingly complex.We find that, while transformerbased language models perform surprisingly well in these scenarios, a deeper analysis reveals that they appear to overfit to superficial patterns in the data rather than acquiring the logical principles governing the reasoning in these fragments.
Viktor Schlegel, Kamen V. Pavlov, Ian Pratt-Hartmann
EMNLP3
2022 The fluted fragment with transitive relations
Ian Pratt-Hartmann, Lidia Tendera
Ann. Pure Appl. Log.1
2021 Fluted Logic with Counting
abstract
The fluted fragment is a fragment of first-order logic in which the order of quantification of variables coincides with the order in which those variables appear as arguments of predicates. It is known that the fluted fragment possesses the finite model property. In this paper, we extend the fluted fragment by the addition of counting quantifiers. We show that the resulting logic retains the finite model property, and that the satisfiability problem for its (m+1)-variable sub-fragment is in m-NExpTime for all positive m. We also consider the satisfiability and finite satisfiability problems for the extension of any of these fragments in which the fluting requirement applies only to sub-formulas having at least three free variables.
Ian Pratt-Hartmann
ICALP1
2019 The Fluted Fragment with Transitivity
abstract
We study the satisfiability problem for the fluted fragment extended with transitive relations. We show that the logic enjoys the finite model property when only one transitive relation is available. On the other hand we show that the satisfiability problem is undecidable already for the two-variable fragment of the logic in the presence of three transitive relations.
Ian Pratt-Hartmann, Lidia Tendera
MFCS1
2019 The Fluted Fragment Revisited
abstract
Abstract We study the fluted fragment, a decidable fragment of first-order logic with an unbounded number of variables, motivated by the work of W. V. Quine. We show that the satisfiability problem for this fragment has nonelementary complexity, thus refuting an earlier published claim by W. C. Purdy that it is in NExpTime. More precisely, we consider ${\cal F}{{\cal L}^m}$ , the intersection of the fluted fragment and the m-variable fragment of first-order logic, for all $m \ge 1$ . We show that, for $m \ge 2$ , this subfragment forces $\left\lfloor {m/2} \right\rfloor$ -tuply exponentially large models, and that its satisfiability problem is $\left\lfloor {m/2} \right\rfloor$ -NExpTime-hard. We further establish that, for $m \ge 3$ , any satisfiable ${\cal F}{{\cal L}^m}$ -formula has a model of at most ( $m - 2$ )-tuply exponential size, whence the satisfiability (= finite satisfiability) problem for this fragment is in ( $m - 2$ )-NExpTime. Together with other, known, complexity results, this provides tight complexity bounds for ${\cal F}{{\cal L}^m}$ for all $m \le 4$ .
Ian Pratt-Hartmann, Wieslaw Szwast, Lidia Tendera
J. Symb. Log.1
2018 Two-variable First-Order Logic with Counting in Forests
abstract
We consider an extension of two-variable, first-order logic with counting quantifiers and arbitrarily many unary and binary predicates, in which one distinguished predicate is interpreted as the mother-daughter relation in an unranked forest. We show that both the finite satisfiability and the general satisfiability problems for the extended logic are decidable in NExpTime. We also show that the decision procedure for finite satisfiability can be extended to the logic where two distinguished predicates are interpreted as the mother-daughter relations in two independent forests.
Witold Charatonik, Yegor Guskov, Ian Pratt-Hartmann, Piotr Witkowski 0001
LPAR3
2017 Adding Path-Functional Dependencies to the Guarded Two-Variable Fragment with Counting
abstract
The satisfiability and finite satisfiability problems for the two-variable guarded fragment of first-order logic with counting quantifiers, a database, and path-functional dependencies are both ExpTime-complete.
Georgios Kourtis, Ian Pratt-Hartmann
Log. Methods Comput. Sci.2
2017 Equivalence closure in the two-variable guarded fragment
abstract
We consider the satisfiability and finite satisfiability problems for the extension of the two-variable guarded fragment in which an equivalence closure operator can be applied to two distinguished binary predicates.We show that the satisfiability and finite satisfiability problems for this logic are 2-ExpTime-complete.This contrasts with an earlier result that the corresponding problems for the full two-variable logic with equivalence closures of two binary predicates are 2-NExpTime-complete.
Emanuel Kieronski, Ian Pratt-Hartmann, Lidia Tendera
J. Log. Comput.2
2016 Quine's Fluted Fragment is Non-Elementary
abstract
We study the fluted fragment, a decidable fragment of first-order logic with an unbounded number of variables, originally identified by W.V. Quine. We show that the satisfiability problem for this fragment has non-elementary complexity, thus refuting an earlier published claim by W.C. Purdy that it is in NExpTime. More precisely, we consider, for all m greater than 1, the intersection of the fluted fragment and the m-variable fragment of first-order logic. We show that this sub-fragment forces (m/2)-tuply exponentially large models, and that its satisfiability problem is (m/2)-NExpTime-hard. We round off by using a corrected version of Purdy's construction to show that the m-variable fluted fragment has the m-tuply exponential model property, and that its satisfiability problem is in m-NExpTime.
Ian Pratt-Hartmann, Wieslaw Szwast, Lidia Tendera
CSL1
2014 Spatial reasoning with RCC8 and connectedness constraints in Euclidean spaces
Roman Kontchakov, Ian Pratt-Hartmann, Michael Zakharyaschev
Artif. Intell.2
2014 Two-Variable First-Order Logic with Equivalence Closure
abstract
We consider the satisfiability and finite satisfiability problems for extensions of the two-variable fragment of first-order logic in which an equivalence closure operator can be applied to a fixed number of binary predicates. We show that the satisfiability problem for two-variable, first-order logic with equivalence closure applied to two binary predicates is in 2-NExpTime, and we obtain a matching lower bound by showing that the satisfiability problem for two-variable first-order logic in the presence of two equivalence relations is 2-NExpTime-hard. The logics in question lack the finite model property; however, we show that the same complexity bounds hold for the corresponding finite satisfiability problems. We further show that the satisfiability (${=}$ finite satisfiability) problem for the two-variable fragment of first-order logic with equivalence closure applied to a single binary predicate is NExpTime-complete.
Emanuel Kieronski, Jakub Michaliszyn, Ian Pratt-Hartmann, Lidia Tendera
SIAM J. Comput.3
2013 Functions definable by numerical set-expressions
abstract
A "numerical set-expression" is a term specifying a cascade of arithmetic and logical operations to be performed on sets of non-negative integers. If these operations are confined to the usual Boolean operations together with the result of lifting addition to the level of sets, we speak of "additive circuits". If they are confined to the usual Boolean operations together with the result of lifting addition and multiplication to the level of sets, we speak of "arithmetic circuits". In this paper, we investigate the definability of sets and functions by means of additive and arithmetic circuits, occasionally augmented with additional operations.
Ian Pratt-Hartmann, Ivo Düntsch
J. Log. Comput.1
2013 Topological Logics with Connectedness over Euclidean Spaces
abstract
We consider the quantifier-free languages, Bc and Bc °, obtained by augmenting the signature of Boolean algebras with a unary predicate representing, respectively, the property of being connected, and the property of having a connected interior. These languages are interpreted over the regular closed sets of R n ( n ≥ 2) and, additionally, over the regular closed semilinear sets of R n . The resulting logics are examples of formalisms that have recently been proposed in the Artificial Intelligence literature under the rubric Qualitative Spatial Reasoning. We prove that the satisfiability problem for Bc is undecidable over the regular closed semilinear sets in all dimensions greater than 1, and that the satisfiability problem for Bc and Bc ° is undecidable over both the regular closed sets and the regular closed semilinear sets in the Euclidean plane. However, we also prove that the satisfiability problem for Bc ° is NP-complete over the regular closed sets in all dimensions greater than 2, while the corresponding problem for the regular closed semilinear sets is ExpTime -complete. Our results show, in particular, that spatial reasoning is much harder over Euclidean spaces than over arbitrary topological spaces.
Roman Kontchakov, Yavor Nenov, Ian Pratt-Hartmann, Michael Zakharyaschev
ACM Trans. Comput. Log.3
2012 Two-Variable First-Order Logic with Equivalence Closure
abstract
We consider the satisfiability and finite satisfiability problems for extensions of the two-variable fragment of first-order logic in which an equivalence closure operator can be applied to a fixed number of binary predicates. We show that the satisfiability problem for two-variable, first-order logic with equivalence closure applied to two binary predicates is in 2NEXPTIME, and we obtain a matching lower bound by showing that the satisfiability problem for two-variable first-order logic in the presence of two equivalence relations is 2NEXPTIME-hard. The logics in question lack the finite model property; however, we show that the same complexity bounds hold for the corresponding finite satisfiability problems. We further show that the satisfiability (=finite satisfiability) problem for the two-variable fragment of first-order logic with equivalence closure applied to a single binary predicate is NEXPTIME-complete.
Emanuel Kieronski, Jakub Michaliszyn, Ian Pratt-Hartmann, Lidia Tendera
LICS3
2011 On the Decidability of Connectedness Constraints in 2D and 3D Euclidean Spaces
abstract
We investigate (quantifier-free) spatial constraint languages with equality, contact and connectedness predicates, as well as Boolean operations on regions, interpreted over low-dimensional Euclidean spaces. We show that the complexity of reasoning varies dramatically depending on the dimension of the space and on the type of regions considered. For example, the logic with the interior-connectedness predicate (and without contact) is undecidable over polygons or regular closed sets in ℝ2, EXPTIME-complete over polyhedra in ℝ3, and NP-complete over regular closed sets in ℝ3.
Roman Kontchakov, Yavor Nenov, Ian Pratt-Hartmann, Michael Zakharyaschev
IJCAI3
2010 Interpreting Topological Logics over Euclidean Spaces
Roman Kontchakov, Ian Pratt-Hartmann, Michael Zakharyaschev
KR2
2010 Decidability of the Logics of the Reflexive Sub-interval and Super-interval Relations over Finite Linear Orders
abstract
An interval temporal logic is a propositional, multi-modal logic interpreted over interval structures of partial orders. The semantics of each modal operator are given in the standard way with respect to one of the natural accessibility relations defined on such interval structures. In this paper, we consider the modal operators based on the (reflexive) sub-interval relation and the (reflexive) super-interval relation. We show that the satisfiability problems for the interval temporal logics featuring either or both of these modalities, interpreted over interval structures of finite linear orders, are all PSPACE-complete. These results fill a gap in the known complexity results for interval temporal logics.
Angelo Montanari, Ian Pratt-Hartmann, Pietro Sala
TIME2
2010 The Two-Variable Fragment with Counting Revisited
Ian Pratt-Hartmann
WoLLIC1
2009 Functions Definable by Arithmetic Circuits
Ian Pratt-Hartmann, Ivo Düntsch
CiE1
2009 A Note on the Complexity of the Satisfiability Problem for Graded Modal Logics
abstract
Graded modal logic is the formal language obtained from ordinary modal logic by endowing its modal operators with cardinality constraints. Under the familiar possible-worlds semantics, these augmented modal operators receive interpretations such as "It is true at no fewer than 15 accessible worlds that ...", or "It is true at no more than 2 accessible worlds that ...". We investigate the complexity of satisfiability for this language over some familiar classes of frames. This problem is more challenging than its ordinary modal logic counterpart-especially in the case of transitive frames, where graded modal logic lacks the tree-model property. We obtain tight complexity bounds for the problem of determining the satisfiability of a given graded modal logic formula over the classes of frames characterized by any combination of reflexivity, seriality, symmetry, transitivity and the Euclidean property.
Yevgeny Kazakov, Ian Pratt-Hartmann
LICS2
2009 Complex Algebras of Arithmetic
abstract
An arithmetic circuit is a labeled, acyclic directed graph specifying a sequence of arithmetic and logical operations to be performed on sets of natural numbers. Arithmetic circuits can also be viewed as the elements of the smallest subalgebra of the complex algebra of the semiring of natural numbers. In the present paper we investigate the algebraic structure of complex algebras of natural numbers and make some observations regarding the complexity of various theories of such algebras.
Ivo Düntsch, Ian Pratt-Hartmann
Fundam. Informaticae2
2009 Data-complexity of the two-variable fragment with counting quantifiers
Ian Pratt-Hartmann
Inf. Comput.1
2008 Topology, connectedness, and modal logic
Roman Kontchakov, Ian Pratt-Hartmann, Frank Wolter, Michael Zakharyaschev
Advances in Modal Logic2
2008 On the Computational Complexity of Spatial Logics with Connectedness Constraints
Roman Kontchakov, Ian Pratt-Hartmann, Frank Wolter, Michael Zakharyaschev
LPAR2
2007 Complexity of the Guarded Two-variable Fragment with Counting Quantifiers
abstract
The finite satisfiability problem for the guarded two-variable fragment with counting quantifiers is in EXPTIME.
Ian Pratt-Hartmann
J. Log. Comput.1
2005 Temporal prepositions and their logic
Ian Pratt-Hartmann
Artif. Intell.1
2004 Temporal Prepositions and Their Logic
abstract
This extended abstract reports on the computational complexity of reasoning with English sentences featuring temporal prepositions. A fragment of English featuring these constructions, called TPE, is defined by means of a context-free grammar. The phrase-structures which this grammar assigns to the sentences it recognizes can be viewed as formulas of an interval temporal logic, called TPL, whose satisfaction-conditions faithfully represent the meanings of the corresponding English sentences. It is shown that the satisfiability problem for TPL is NEXPTIME-complete.
Ian Pratt-Hartmann
TIME1
2001 Empiricism and Rationalism in Region-based Theories of Space
Ian Pratt-Hartmann
Fundam. Informaticae1
2000 Expressivity in Polygonal, Plane Mereotopology
abstract
Abstract In recent years, there has been renewed interest in the development of formal languages for describing mereological (part-whole) and topological relationships between objects in space. Typically, the non-logical primitives of these languages are properties and relations such as ‘xis connected’ or ‘xis a part ofy’, and the entities over which their variables range are, accordingly, notpoints, butregions: spatial entities other than regions are admitted, if at all, only as logical constructs of regions. This paper considers two first-order mereotopological languages, and investigates their expressive power. It turns out that these languages, notwithstanding the simplicity of their primitives, are surprisingly expressive. In particular, it is shown that infinitary versions of these languages are adequate to express (in a sense made precise below) all topological relations over the domain of polygons in the closed plane.
Ian Pratt-Hartmann, Dominik J. Schoop
J. Symb. Log.1
1993 Map Semantics
Ian Pratt-Hartmann
COSIT1