Abstract

Standard epistemic logics introduce a modal operator $K$ to represent knowledge, but in doing so presuppose the logical apparatus they aim to explain. By contrast, this paper explores how logic may be derived from the structure of knowledge itself. We begin from a pre-logical notion of a knowledge base understood as a network of inferential connections between atomic propositions. Logical constants are then defined in terms of what is supported by such a base: intrinsically, by relations that hold within it, and extrinsically, by the behaviour of those relations under extension. This yields a general semantic framework in which familiar systems—classical, intuitionistic, and various intermediate logics—arise naturally from different assumptions about the form of knowledge. This offers a reversal of the traditional explanatory order: rather than treating logic as a precondition for the articulation of knowledge, it shows how logical structure can emerge from epistemic organisation.

Keywords: epistemic logic; meaning and knowledge; inferentialism; proof-theoretic semantics

1 Introduction

The standard treatment of knowledge in logic is modal: one introduces an operator $K$ such that $K\phi$ expresses that $\phi$ is known. Systems axiomatizing $K$ are known as epistemic logics. This framework has proved fruitful, enabling the analysis of common knowledge and multi-agent reasoning, and supplying formal methods for AI, game theory, economics, distributed computing, and natural-language semantics. Philosophical work in this tradition typically concerns the status of principles such as self-reflection ($K\phi \to KK\phi$), rather than the epistemic content of formulae themselves. In this sense, such systems are best viewed as accounts of knowability rather than of knowledge proper.

By contrast, we argue that knowledge should be taken as conceptually prior to logic. By this we mean that we might begin with a concept of knowledge and determine a logic from it. This is the process typically used in machine intelligence. For example, it is the process used in the traditional approach to AI known as logic programming (LP). This pragmatic approach to knowledge and reasoning motivates an alternative understanding of 'epistemic' logic that offers a deeper theoretical understanding of how logic can emerge from knowledge. The logics we derive according to this plan are not epistemic logics in the traditional sense, but rather logics whose semantics is given in terms of 'knowledge' (rather than, say, possible worlds).

We begin by introducing a primitive notion of a knowledge base $\mathcal{B}$: a structure in which items of information are directly connected. We then define logical signs depending on how one interprets its logical content. To illustrate, consider conjunction: what should it mean to say that '$\phi$ and $\psi$' holds for $\mathcal{B}$? Intuitively, it requires that both $\phi$ and $\psi$ are independently known by $\mathcal{B}$. This case is straightforward, perhaps even trivial. More interesting is the conditional: what should it mean to assert that 'if $\phi$, then $\psi$'? Intuitively, this says that $\psi$ is supported by $\mathcal{B}$ whenever $\phi$ is. Taken at face value this collapses into vacuity; to properly represent the hypothetical force of the if-then statement we consider extensions $\mathcal{C}$ of $\mathcal{B}$ such that $\psi$ is supported in them whenever $\phi$ is.

To make this analysis precise, we proceed relative to a simple account of knowledge as an atomic system: a collection of atomic propositions structured by some inferential connections. To know 'All humans are mortal' is to have in mind the inferential connection from '$x$ is a human' to '$x$ is mortal' as $x$ ranges over the names of all individuals. (In Prolog this is captured by a program clause $M(x) \mathbin{:\!-} H(x)$.) One might object that these inferential connections already presuppose some form of logic, since they are deductive in character. Importantly, though, no logical signs are in play here: none have yet been defined. The horizontal bar represents deduction at a meta-theoretic level. Our aim is to define the logical operators—implication, conjunction, disjunction, and negation—by appeal to the logical content encoded in these knowledge bases. This strategy places us within the tradition of proof-theoretic semantics and closely follows Dummett's programme: the meaning of a logical sign is fixed not by pointing to an external model, but by the inferential role the sign plays in reasoning.

2 Knowledge bases as atomic systems

An atomic system records an agent's commitments concerning the inferential relations between atomic sentences. These are pre-logical in the sense that they contain no logical operators. Formally, atomic systems are sets of atomic rules—inferential relations represented as natural deduction rules in the sense of Gentzen, generalized by Schroeder-Heister. We assume denumerably many atomic propositions $\mathbb{A}$.

Definition 1 (Atomic Rule)
An $n$th-level atomic rule is defined as follows, where $P_1, \ldots, P_k, C \in \mathbb{A}$ and $\Sigma_1, \ldots, \Sigma_k$ are (possibly empty) sets of $n$th-level atomic rules:
  • A zeroth-level rule concludes $C$ from no premisses.
  • A first-level rule infers $C$ from premisses $P_1, \ldots, P_k$.
  • An $(n+2)$th-level rule infers $C$ from premisses $P_1, \ldots, P_k$, where each $P_i$ may discharge a finite set $\Sigma_i$ of $n$th-level rules.
Premisses may be empty, so an $m$th-level rule also counts as an $n$th-level rule for any $n > m$.

An atomic system is a set of atomic rules. Commitment to the premisses entails commitment to the conclusion; we formalise this by a derivability judgement $\Gamma \vdash_{\mathcal{A}} C$, which holds iff there is an $\mathcal{A}$-derivation from $\Gamma$ to $C$. For those familiar with natural deduction after Gentzen, second-level rules (which include zeroth- and first-level rules) are familiar; third-level rules and beyond are much less common.

Not every form of atomic system need be admitted, corresponding to different conceptions of knowledge. A basis $\mathfrak{B}$ is a set of atomic systems; once fixed, we work relative to its bases and to a notion of base-extension that respects it. We consider in particular $\mathfrak{B}_1$ (zeroth- or first-level), $\mathfrak{B}_2$ (zeroth-, first-, or second-level), and $\mathfrak{B}_\omega$ (all atomic systems). In fact $\mathfrak{B}_2$ and $\mathfrak{B}_\omega$ are equivalent for derivability given an indefinite supply of fresh atoms, so we restrict to the first two.

3 Logical content: intrinsic and extrinsic

What remains is to draw out the logical significance of knowledge bases—not by appealing to an external semantics of models, but by seeing how logic arises from the structure and behaviour of knowledge bases. There are two distinct attitudes one might take toward what the logical signs express. One may regard them as describing intrinsic relations within the body of knowledge: how its contents are internally ordered. This mirrors the model-theoretic conception based on truth-in-a-model after Tarski. Alternatively, one may regard them as expressing extrinsic relations: how a body of knowledge behaves when it is extended, revised, or placed in interaction with new information.

Writing $\Gamma \Vdash_{\mathcal{B}} \phi$ to mean that $\phi$ is supported when $\mathcal{B}$ is extended with commitments licensing the formulae in $\Gamma$, the extrinsic connectives are characterised by a uniform schema: an extrinsic connective $E$ matches the corresponding intrinsic connective $I$ in that $\phi\, E\, \psi$ holds exactly when, across all extensions, any atom $P$ supported given $\phi\, I\, \psi$ is supported in its own right:

$$\Vdash_{\mathcal{B}} \phi\, E\, \psi \quad \text{iff} \quad \text{for all } \mathcal{C} \supseteq \mathcal{B} \text{ and atoms } P,\ \text{if } \phi\, I\, \psi \Vdash_{\mathcal{C}} P, \text{ then } \Vdash_{\mathcal{C}} P.$$

Applying this pattern across the connectives—an intrinsic implication $\to$ (via a translation $\lfloor - \rfloor$ that places a formula inside the base) and an extrinsic implication $\multimap$, an intrinsic conjunction $\land$ and extrinsic conjunction $\otimes$, intrinsic disjunction $\lor$ and extrinsic disjunction $\oplus$, together with intrinsic and extrinsic units for absurdity $\bot$ and $\mathbf{0}$—yields the base-extension semantics collected in Figure 1. The extrinsic disjunction has natural readings: the 'or' in a 1000-ticket lottery is extrinsic, since one does not know which ticket wins, yet whichever wins, any consequence common to all the disjuncts follows.

$\Vdash_{\mathcal{B}} P$iff$\vdash_{\mathcal{B}} P$(At)
$\Vdash_{\mathcal{B}} \phi \to \psi$iff$\Vdash_{\mathcal{B}, \lfloor \phi \rfloor} \psi$($\to$)
$\Vdash_{\mathcal{B}} \phi \multimap \psi$iff$\phi \Vdash_{\mathcal{B}} \psi$($\multimap$)
$\Vdash_{\mathcal{B}} \phi \land \psi$iff$\Vdash_{\mathcal{B}} \phi$ and $\Vdash_{\mathcal{B}} \psi$($\land$)
$\Vdash_{\mathcal{B}} \phi \otimes \psi$ifffor any $\mathcal{C} \supseteq \mathcal{B}$ and atom $P$, if $\phi, \psi \Vdash_{\mathcal{C}} P$, then $\Vdash_{\mathcal{C}} P$($\otimes$)
$\Vdash_{\mathcal{B}} \bot$never($\bot$)
$\Vdash_{\mathcal{B}} \mathbf{0}$ifffor any atom $P$, $\Vdash_{\mathcal{B}} P$($\mathbf{0}$)
$\Vdash_{\mathcal{B}} \phi \lor \psi$iff$\Vdash_{\mathcal{B}} \phi$ or $\Vdash_{\mathcal{B}} \psi$($\lor$)
$\Vdash_{\mathcal{B}} \phi \oplus \psi$ifffor any $\mathcal{C} \supseteq \mathcal{B}$ and atom $P$, if $\phi \Vdash_{\mathcal{C}} P$ and $\psi \Vdash_{\mathcal{C}} P$, then $\Vdash_{\mathcal{C}} P$($\oplus$)
$\Delta \Vdash_{\mathcal{B}} \phi$ifffor all $\mathcal{C} \supseteq \mathcal{B}$, if $\Vdash_{\mathcal{C}} \psi$ for any $\psi \in \Delta$, then $\Vdash_{\mathcal{C}} \phi$(Inf)
Figure 1. Base-extension semantics ($\Delta$ non-empty; for ($\to$), $\phi$ in the domain of $\lfloor - \rfloor$)

4 Which logics arise

Does this semantics correspond to any known logic? The answer depends on the choices made. The intrinsic fragment corresponds to logic programming in the style of Miller and Harland based on (hereditary) Harrop formulae: the bases $\mathcal{B}$ are programs and $\Vdash_{\mathcal{B}} \phi$ says that $\phi$ may be computed from $\mathcal{B}$.

The extrinsic fragment is more surprising. Depending on the basis, one recovers two celebrated logics: using $\mathfrak{B}_1$ one recovers classical logic, while using $\mathfrak{B}_2$ one recovers intuitionistic logic. In this setting the extrinsic conjunction collapses into the intrinsic one. That a change of basis—while fixing the semantic clauses—should have this effect remains mysterious. Hybrid systems combining intrinsic and extrinsic connectives yield further logics: Stafford et al.'s system over $\mathfrak{B}_1$ gives Stafford's Logic, and over $\mathfrak{B}_2$ gives general inquisitive logic—intuitionistic logic together with the generalized Kreisel–Putnam axiom.

5 Conclusion

We have presented a framework for analysing the logical content of knowledge bases conceived as atomic systems. The logical constants are defined by the inferential structure of knowledge itself: intrinsically, through relations that hold within a base, and extrinsically, through the behaviour of those relations under extension. The resulting base-extension semantics yields a range of well-known logics—classical, intuitionistic, and intermediate systems—depending on the basis adopted. Under this view, these logics may be understood as epistemic: each expresses a distinct conception of how knowledge is structured and how it persists under revision. Rather than taking logic as prior to knowledge, we may view the traditional logical systems as arising from it as formal articulations of its inferential and dynamic organisation. Even within this minimal setting, a small variation—the presence or absence of hypotheses in the atomic rules, the move from $\mathfrak{B}_2$ to $\mathfrak{B}_1$—already gives rise to distinct logics. It is natural to ask what further logics emerge when these connectives are interpreted over richer models of knowledge.

References

  1. Baral C, Gelfond M. Logic programming and knowledge representation. J Log Program 1994;19–20:73–148.
  2. Dummett M. The Logical Basis of Metaphysics. Harvard University Press, 1991.
  3. Gheorghiu AV. On an inferential semantics for intuitionistic sentential logic. J Log Comput 2025;35(4):exaf029. doi:10.1093/logcom/exaf029
  4. Gheorghiu AV. Proof-theoretic semantics for first-order logic. Log J IGPL 2025;33(5).
  5. Gheorghiu AV, Gu T, Pym DJ. Proof-theoretic semantics for intuitionistic multiplicative linear logic. Stud Log 2024. doi:10.1007/s11225-024-10158-6
  6. Harland J. On hereditary Harrop formulae as a basis for logic programming. Ph.D. Thesis, University of Edinburgh, 1991.
  7. Hintikka KJJ. Knowledge and Belief: An Introduction to the Logic of the Two Notions. Cornell University Press, 1962.
  8. Kowalski R. Predicate logic as a programming language. In: IFIP Congress, 1974, 569–74.
  9. Kowalski R. Logic for Problem Solving. North-Holland, 1986.
  10. Kowalski R. Logic without model theory. In: What Is a Logical System?. Oxford University Press, 1994, 35–71.
  11. Miller D. A logical analysis of modules in logic programming. J Log Program 1989;6(1–2):79–108.
  12. Miller D, Nadathur G, Pfenning F, Scedrov A. Uniform proofs as a foundation for logic programming. Ann Pure Appl Logic 1991;51:125–57.
  13. Mints G. Gentzen-type systems and resolution rules I: propositional logic. In: COLOG. Springer, 1988, 198–231.
  14. Piecha T, Schroeder-Heister P. The definitional view of atomic systems in proof-theoretic semantics. In: The Logica Yearbook 2016. College Publications, 2017, 185–200.
  15. Pollock JL, Cruz J. Contemporary Theories of Knowledge, vol. 35. Bloomsbury, 1999.
  16. Punčochář V. A generalization of inquisitive semantics. J Philos Log 2016;45(4):399–428.
  17. Sandqvist T. Classical logic without bivalence. Analysis 2009;69(2):211–18.
  18. Sandqvist T. Base-extension semantics for intuitionistic sentential logic. Log J IGPL 2015;23(5):719–31.
  19. Schroeder-Heister P. A natural extension of natural deduction. J Symb Log 1984;49(4):1284–1300.
  20. Schroeder-Heister P. Proof-theoretic semantics. In: The Stanford Encyclopedia of Philosophy, Summer 2024 edn. Stanford University, 2024.
  21. Schroeder-Heister P, Piecha T. Atomic systems in proof-theoretic semantics: two approaches. In: Epistemology, Knowledge and the Impact of Interaction. Springer, 2016.
  22. Stafford W. Proof-theoretic semantics and inquisitive logic. J Philos Log 2021.
  23. Stafford W, Piecha T, Schroeder-Heister P. Logics of proof-theoretic semantics. Topoi 2025. In press.
  24. Szabo ME (ed.). The Collected Papers of Gerhard Gentzen. North-Holland, 1969.
  25. Tarski A. O pojęciu wynikania logicznego. Przegląd Filozoficzny 1936;39.
  26. Tarski A. On the concept of following logically. Hist Philos Logic 2002;23(3):155–96.

This paper belongs to Gheorghiu’s research in proof-theoretic semantics and its application to logic and AI; the key terms are defined in the glossary.

Related papers: Definite Formulae, Negation-as-Failure, and Base-extension Semantics · Defining Logical Systems via Algebraic Constraints on Proofs · An Inferential Semantics for Intuitionistic Sentential Logic