Search arXiv⌕ Search

arXiv · 2611.17884

HOL in HOL: mechanized soundness, completeness and consistency, with and without infinity

Abstract

What can a logic certify about a copy of itself? For Church's simple theory of types, formalized as a deep embedding in Isabelle/HOL with Henkin semantics and a natural-deduction calculus, the answer has two tiers. On the first tier, plain Isabelle/HOL certifies the logic without an axiom of infinity, by a standard model with one individual. On the second tier, the logic with a Dedekind-style axiom of infinity is certified only in Isabelle/HOL extended by a large enough set-theoretic universe. Both tiers appear in Harrison's self-verification of HOL Light. What the present formalization adds is Henkin completeness, and with it a semantics that matches the calculus exactly, compactness and model existence on the first tier, and the boundary between the tiers. Comparing two ways of adding infinity to the object logic shows where the boundary lies. One is an infinite domain of individuals, expressed by the first-order sentences "there are at least $n$ individuals", each of which has a finite model; the other is the Dedekind axiom, a single sentence with no finite model, and there the first tier ends. In the calculus the axiom is strictly stronger than the sentences together: it derives each of them, but they do not derive it. The witness is a countable Henkin model in which every sentence holds and the axiom fails, because its function domain is too sparse for an injective, non-surjective self-map. On the second tier, the universe serves one purpose only: to prove the Dedekind axiom consistent. Everything that follows, completeness and even the countable Henkin model of the axiom, is obtained in plain Isabelle/HOL. The universe axiom is Harrison-style, realized in Paulson's ZFC_in_HOL with the domain of every type in $V_{ω+ω}$; with it, full classical higher-order logic with infinity and relational choice is consistent relative to set theory.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Christoph Benzmüller, Daniel Kirchner. 2026-11-13. HOL in HOL: mechanized soundness, completeness and consistency, with and without infinity. https://searcharxiv.org/abs/2611.17884

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Property B: A Baumgartner-style Property that Applies to Preservation of $\aleph_1$ and $\aleph_2$ under Iterations with Supports of Size $\aleph_1$

We prove a theorem on iterated forcing that can be used for preservation of $\aleph_2$ and $\aleph_1$ in the usual iterations along an ordinal, with supports of size $\aleph_1$ of forcings that have amalgamation properties similar to those present in the perfect set forcing. The work is modelled after Baumgartner's Axiom A and his proof that iterations with countable support of the same preserve $\aleph_1$. In honour of James E. Baumgartner, the property introduced here is called Property B$(κ)$. The known additional difficulties when forcing at cardinals higher than $\aleph_1$ make for a less general theorem and a more complex theorem on the iteration, which is not an iteration theorem in the classical sense. The results extend to other cardinals $κ$ such that $κ^{<κ}=κ$, in place of $\aleph_1$. We give examples of individual forcings that have Property B$(κ)$ and their products. In particular, we introduce a correct version of the generalised perfect set forcing, which we call Perfect Set Forcing with Respect to a Filter. We give its basic properties and show that for the right kind of filter $\mathcal F$ this kind of forcing is iterable with supports of size $\leκ$. Our further work has extended some of the results from the paper to iterations along any well-founded partial order.

math.LO↗

Random coloured digraphs defined by a Markov logic network

A Markov Logic Network (MLN) $M$ is a probabilistic relational model used in Statistical Relational Artificial Intelligence for defining a probability distribution $P_D^M$ on the set $W_D$ of possible worlds with domain $D$ for an arbitrary finite domain $D$. An MLN consists of first-order formulas, which we call soft constraints, with associated weights which are nonnegative real numbers. The behaviour of the probability distribution, including the effect of the weights, on different domain sizes is poorly understood. We approach the problem in a systematic way by studying sequences $(P_n^M(ψ) : n = 1, 2, 3, \ldots)$ where $ψ$ is a first-order sentence and $P_n^M(ψ)$ is the probability that $ψ$ holds in $W_D$ where $D = [n] := \{1, \ldots, n\}$. We consider a first-order language that can express a property $P(x)$ and relation $R(x, y)$ and show that all of the following cases can be realized for an MLN $M$ such that each of its soft constraints is a boolean combination of $P(x)$, $P(y)$ and $R(x, y)$ in which both $x$ and $y$ appears: For every first-order sentence $ψ$, $P_n^M(ψ)$ converges to 0 or 1 as $n\to\infty$. For every first-order sentence $ψ$, $P_n^M(ψ)$ converges as $n\to\infty$ but not necessarily to 0 or 1. There is a first-order sentence $ψ$ such that $P_n^M(ψ)$ does not converge as $n\to\infty$. In fact, all three cases can be realized even after fixing the soft constraints and, for any $\varepsilon > 0$, by varying their weights by less than $\varepsilon$. We also show that, given any MLN as described above, we can efficiently determine which case it belongs to by inspecting the MLN. Then we show that if the weights are scaled by $1/n$ then we end up in case~(1) no matter how the weights are chosen.

math.LO↗

Inductive Grounded Arithmetic: Goodstein, the Hydra, and $Γ_0$

What does a recursive definition mean in a grounded logic, where a sentence is true only if a terminating process makes it so? This paper takes Kripke's answer for truth, the least fixed point, as a rule. Reflective Grounded Arithmetic (RGA) writes any recursive definition as one self-referential term; Inductive Grounded Arithmetic (IGA) adds the elimination rule for every positive one, making each an inductive definition. IGA is omega-sound and proof-grounded: sound and complete for a semantics whose certificates are its own proofs. IGA proves Goodstein's theorem, the Kirby-Paris hydra game for primitive recursive strategies, and, along Gentzen's route, the consistency of Peano Arithmetic. IGA certifies the Veblen notation below every $φ(n,0)$: its accessibility ordinal there is $φ(ω,0)$, that of the paracomplete truth theory PKF. Every theorem is machine-checked in Isabelle/HOL; order types and PKF's ordinal are cited. IGA proves the Veblen notation well-founded exactly when it admits bivalence of accessibility for it, which it does not, and that bivalence is sound exactly when the order is well-founded. So $Γ_0$ lies exactly one instance of excluded middle away, and that instance, the well-foundedness sentence and one membership claim in an internal form of Kleene's $\mathcal{O}$ are interderivable over IGA. Bivalence at the Bachmann-Howard order keeps proof-groundedness. One such claim buys well-foundedness of the countable part of Buchholz's notation at every finite level, of type $ψ_0(Ω_ω)$, and $k$ stratified bivalence rules give a proof-grounded system proving the countable part up to level $k$ well-founded; $k$ iterated closings-off of truth do too, sound only for a closed-off model. Unrestricted conditional proof is inconsistent (Curry's paradox); the purchase is implication at a hypothesis not provably decided.

math.LO↗