arXiv:2611.00269cs.AIOct 2026

Manuscript Offprint

arXiv:2611.00269

Automated Theorem Generation in First-Order Logic by Construction from Triangular Standard Contradictions

Yang Xu, Shuwei Chen, Hailin Guo, Jun Liu

Abstract

Automated theorem generation (ATG) aims to enable machines to generate theorems rather than merely prove given conjectures, which is a challenging problem in the field of Artificial Intelligence (AI). Existing approaches to automated conjecturing and theorem finding commonly generate candidate statements that must subsequently be proved or formally checked before they can be accepted as theorems. This paper presents a constructive approach to automated theorem generation in first-order logic based on triangular standard contradictions. The central idea is to construct minimally unsatisfiable clause sets from suitably chosen first-order literals and then generate theorems by taking the negation of one selected clause, or of a conjunction of selected clauses, as the conclusion while retaining the remaining clauses as premises. Minimal unsatisfiability ensures that the remaining premise set is satisfiable, thereby preventing trivial derivation through the principle of explosion, while the unsatisfiability of the complete clause set guarantees the validity of the generated theorem. Thus, the resulting theorems are correct by construction and do not require a separate proof process for each generated theorem. Building on the previously developed Δ1\Delta_1 automated theorem generator, we introduce seven additional theorem-generation methods, Δ2−Δ8\Delta_2-\Delta_8, based on triangular standard contradictions, thereby establishing a unified family of eight methods. Four corresponding automated theorem generators, Δ1−Δ4\Delta_1-\Delta_4, have been implemented and released. We further develop a general Δ\Delta-class theorem-generation method that unifies these methods within a common theoretical framework. Combinatorial analysis shows that the proposed constructions can systematically generate large numbers of distinct theorems. The resulting framework provides a structurally grounded approach to automated theorem generation in which logical correctness follows intrinsically from the construction, and offers a foundation for further work on automated reasoning, theorem discovery, and the generation of formally guaranteed logical knowledge.

Keywords: Automated theorem generation, Automated reasoning, Triangular standard contradiction, minimally unsatisfiable clause set, First-order logic, Theorem generation by construction

*Corresponding authors. All four authors are co-first authors.

Email addresses: xuyang@swjtu.edu.cn (Yang Xu), swchen@swjtu.edu.cn (Shuwei Chen), guoh12021@qq.com (Hailin Guo), j.liu@ulster.ac.uk (Jun Liu)

1. Introduction

A theorem is a statement established from a set of axioms, definitions, or previously established results by rigorous logical reasoning. Traditionally, the development of a theorem follows a scientific process in which a researcher first identifies patterns or problems from observed phenomena or existing theories and formulates a conjecture or hypothesis—a statement believed to be true but not yet proved. The conjecture is then abstracted into a formal statement and subjected to rigorous proof using available axioms, definitions, and established theorems. This process combines creative insight with deductive rigour and often requires substantial domain knowledge, specialised proof techniques such as proof by contradiction and mathematical induction, and considerable human effort.

Automated conjecturing and theorem finding aim to complement this traditional process by enabling machines to discover conjectures, lemmas, or theorems automatically [1, 2]. As summarised in the recent survey by Zhang and Tan [2], existing approaches span both symbolic and data-driven paradigms. Symbolic approaches include top-down lemma discovery and bottom-up theory exploration based on deductive reasoning, symbolic enumeration, generalisation, and systematic search, whereas data-driven approaches increasingly exploit statistical learning, neural models, and large language models (LLMs). These directions have produced substantial progress in conjecture generation, lemma synthesis, theory exploration, and theorem proving.

A central challenge, however, is the distinction between generating a candidate statement and generating a theorem. A generated conjecture becomes a theorem only after its validity has been established. In many existing approaches, candidate conjectures or lemmas are therefore followed by a separate proving, checking, or verification stage. This generate-then-verify paradigm is natural and powerful, but its success depends on both the quality of the generated candidates and the ability of a subsequent prover or verifier to establish them. Recent work has also begun to investigate theorem generation together with proof structures, further demonstrating the growing importance of moving beyond conjecture generation towards automated theorem finding.

This paper investigates a different route: theorem generation by logical construction. We develop the theory and methods of standard contradictions introduced in our previous work [3, 4] and study automated theorem generation (ATG) based on triangular standard contradictions. Standard contradictions were originally introduced for multi-clause, dynamic and synergised automated deduction [3]. Subsequent work developed constructive forms of standard contradictions, including the standard extension, extended triangular, and rectangular constructions [5, 6, 7], together with related contradiction-separation-based automated deduction methods [8, 9, 10, 11, 12, 13, 14, 15].

The key observation underlying the present work is that appropriate triangular sub-standard contradictions can be constructed as minimally unsatisfiable clause sets. Let

S={C1,…,Cm}S=\{C_1,\ldots,C_m\}

be such a clause set. Minimal unsatisfiability means that SS is unsatisfiable whereas removing any clause makes the remaining clause set satisfiable. Consequently, if one clause C∈SC \in S is selected, then

S∖{C}⊢¬C,S \setminus \{C\} \vdash \neg C,

while S∖{C}S \setminus \{C\} itself remains satisfiable. More generally, selected clauses can be transferred to the conclusion while the remaining clauses form the premises. Thus, the construction provides not merely a candidate conjecture to be passed to an independent proof search, but a theorem whose logical validity follows automatically from the established properties of the constructed minimally unsatisfiable clause set.

This use of minimal unsatisfiability is particularly important. If the premises themselves were inconsistent, an arbitrary conclusion could follow through the principle of explosion. Here, by contrast, the premises obtained after removing the selected clause or clauses are satisfiable. The generated theorems therefore avoid this trivial form of derivability. In this precise sense, the proposed approach combines theorem generation with an intrinsic logical correctness guarantee supplied by the construction itself, rather than requiring a separate theorem-proving for every generated theorem.

Building on the earlier Δ1\Delta_1 automated theorem generator [16], this paper develops a systematic family of triangular-standard-contradiction-based ATG methods. Four corresponding generators, Δ1−Δ4\Delta_1-\Delta_4, have also been released as implementations [17, 18, 19, 20]. The principal contributions of this paper are as follows:

  • We establish a unified first-order logic framework in which triangular standard contradictions are used to construct minimal unsatisfiable clause sets and, from them, logically valid theorems.

  • We develop nine forms of theorem-generation construction, including the previously introduced Δ1\Delta_1 construction and a sequence of new triangular sub-standard-contradiction constructions, and characterise their minimal-unsatisfiability properties.

  • We provide a general Δ\Delta-class construction for generating minimally unsatisfiable clause sets from triangular standard contradictions and establish a minimum 2n2n-literal construction under the stated conditions.

  • We derive the number of distinct minimally unsatisfiable clause sets and corresponding theorems that can be generated by the proposed constructions, demonstrating the generative capacity of the framework.

  • Unlike approaches in which a candidate conjecture is first generated and then independently proved or verified, the proposed framework generates theorems whose validity is guaranteed by the logical properties of the construction, while satisfiability of the resulting premise sets prevents trivial derivation through explosion.

The emphasis of this paper is therefore not merely on generating a large number of theorems. Rather, it is on a constructive logical mechanism for systematically producing distinct theorems with an intrinsic correctness guarantee. The generated formal theorems may subsequently provide structured logical knowledge for automated reasoning, theorem-proving benchmarks, and potentially Neuro-Symbolic or LLM-based reasoning systems; investigation of their domain-level interpretation and interestingness is left for future work.

The remainder of the paper is organised as follows. Section 2 reviews closely related work and positions the proposed approach. The following sections introduce standard contradictions and triangular standard contradictions, respectively. We then establish the required satisfiability results for first-order logic, present the nine theorem-generation constructions and the general Δ\Delta-class method, and analyse the number of theorems that can be generated. The final section concludes the paper and discusses directions for further research.

References (19)