Manuscript Offprint
arXiv:2611.00269Automated Theorem Generation in First-Order Logic by Construction from Triangular Standard Contradictions
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 automated theorem generator, we introduce seven additional theorem-generation methods, , based on triangular standard contradictions, thereby establishing a unified family of eight methods. Four corresponding automated theorem generators, , have been implemented and released. We further develop a general -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
be such a clause set. Minimal unsatisfiability means that is unsatisfiable whereas removing any clause makes the remaining clause set satisfiable. Consequently, if one clause is selected, then
while 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 automated theorem generator [16], this paper develops a systematic family of triangular-standard-contradiction-based ATG methods. Four corresponding generators, , 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 construction and a sequence of new triangular sub-standard-contradiction constructions, and characterise their minimal-unsatisfiability properties.
-
We provide a general -class construction for generating minimally unsatisfiable clause sets from triangular standard contradictions and establish a minimum -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 -class method, and analyse the number of theorems that can be generated. The final section concludes the paper and discusses directions for further research.
2.1. Automated conjecturing, theory exploration, and theorem finding
Automated theorem finding has long been recognised as a distinct problem in automated reasoning. Wos [1] formulated the challenge of automatically finding worthwhile theorems, rather than merely proving a given target statement. More recently, Zhang and Tan [2] provided a comprehensive survey of automated conjecturing and theorem finding, organising existing methods into symbolic and data-driven approaches. The symbolic tradition includes lemma discovery, theory exploration, deductive reasoning, enumeration, generalisation, and systematic search, whereas recent data-driven approaches increasingly exploit statistical learning, neural models, and large language models.
An important line of research within the symbolic tradition is automated theory exploration, in which a system starts from a collection of definitions, axioms, or executable specifications and systematically discovers conjectures and theorems describing the underlying theory. The MATHsAiD project, for example, investigated automated mathematical theory exploration by generating conjectures from supplied axioms and definitions and attempting to prove them automatically [21]. Such work illustrates the broader objective of moving from goal-directed theorem proving towards systems capable of discovering new mathematical knowledge.
A closely related direction concerns the automatic synthesis of useful lemmas and conjectures. QuickSpec, introduced by Claessen et al. [22], discovers equational conjectures about functional programs by testing and equivalence-class reasoning. Yang et al. [23] developed AdtInd for lemma synthesis in inductive reasoning, combining generalisation and template-guided enumeration with SMT-based counterexample filtering. Sivaraman et al. [24] formulated lemma synthesis as a data-driven program-synthesis problem and implemented the resulting method as the lfind tactic for Coq, incorporating candidate generation, filtering, and ranking. Puzis et al. [25] investigated the automated generation of interesting theorems by systematically applying inference rules and filtering the resulting consequences according to measures of interestingness.
These approaches expose two recurring challenges in automated theorem discovery. First, a potentially very large space of candidate statements must be generated and controlled. Second, logical validity alone does not guarantee that a generated statement is novel, useful, difficult, or mathematically interesting. The latter issue is conceptually distinct from the problem studied in the present paper: our primary concern is the systematic construction of logically valid entailments with satisfiable premises, whereas the assessment of their domain-level usefulness or interestingness is a separate problem.
2.2. Learning-based and Neuro-Symbolic theorem generation
Recent work has increasingly applied machine learning and generative models to theorem discovery and theorem generation. Lin et al. [26] introduced the ATG benchmark to evaluate whether generative language models can generate new and reusable theorems that improve downstream theorem proving. Their formulation emphasises an important distinction between generating formally plausible statements and generating theorem-level knowledge that is sufficiently useful to contribute to subsequent proofs.
REFACTOR, proposed by Zhou et al. [27], approaches theorem discovery from existing proofs. It identifies reusable intermediate results within proof structures and learns to extract them as standalone theorems, which can subsequently be reused to refactor proofs and improve theorem proving. Thus, REFACTOR discovers theorem-level knowledge already implicit in proof data rather than constructing theorems automatically from a prescribed logical structure.
LEMMANAID [28] adopts a Neuro-Symbolic approach to lemma conjecturing. Neural generation is used to propose lemma templates, while symbolic mechanisms instantiate them as formal conjectures. Related recent work has investigated LLM-based mathematical reasoning and proof generation, including inequality proving [29], while benchmarks such as BrokenMath [30] demonstrate that plausible natural-language or formal reasoning produced by LLMs may still exhibit systematic failures. These developments reinforce the importance of maintaining a clear distinction between statistical generation and formal guarantees of logical validity.
A particularly relevant recent development is Wernhard's approach to generating theorems by generating proof structures [31]. Rather than beginning with a supplied proof goal, this method generates proof structures from a given set of axioms and obtains associated theorems from them. It therefore goes beyond the conventional conjecture—then—prove paradigm and is closely related to the broader objective of direct theorem generation. The mechanism, however, is fundamentally different from that investigated here: Wernhard's method is centred on the enumeration and construction of proof structures, whereas the present work constructs minimally unsatisfiable clause sets from triangular standard contradictions and derives valid entailments from their structural properties.
2.3. Minimal unsatisfiability
Minimal unsatisfiability is an important topic in propositional logic, SAT, first-order logic, and the structural study of clause sets. A clause set is minimally unsatisfiable if is unsatisfiable but
is satisfiable for every clause . Thus, every clause is essential for the unsatisfiability of the complete set.
Early structural results include the work of Aharoni and Linial [32], who investigated minimally unsatisfiable formulas in connection with minimal non-two-colourable hypergraphs. Subsequent research has developed a substantial structural theory of minimally unsatisfiable clause sets. In particular, deficiency—the difference between the number of clauses and the number of variables—has become an important parameter for characterising and classifying minimally unsatisfiable clause sets. Kullmann [33] developed a systematic treatment of minimal unsatisfiability, irredundancy, deficiency, and conflict structure for clause sets, while later work has further investigated structural parameters and classifications of minimally unsatisfiable clause sets [34].
The role of minimal unsatisfiability in the present work differs from its usual role in SAT analysis. We do not address the problem of extracting a minimally unsatisfiable subset from an arbitrary inconsistent formula, nor do we primarily seek to classify minimally unsatisfiable clause sets by deficiency. Instead, minimal unsatisfiability is used constructively: a triangular standard contradiction is designed so that its associated clause set is minimally unsatisfiable. If
is such a clause set, then for every ,
is satisfiable, while
that is, by the completeness theorem in first-order logic,
More generally, selected clauses can be transferred to the conclusion while the remaining clauses form a satisfiable premise set. Minimal unsatisfiability therefore provides the structural bridge between the standard contradiction construction and theorem generation.
This distinction is important because unsatisfiability alone would not be sufficient for the intended purpose. If the premise set were itself inconsistent, an arbitrary conclusion would follow by the principle of explosion. By starting from a minimally unsatisfiable clause set and removing the clause or clauses transferred to the conclusion, the proposed construction yields a satisfiable premise set. The resulting entailment is therefore non-vacuous in the precise sense that its validity does not arise from inconsistent premises.
2.4. Standard contradictions and contradiction-separation deduction
The present work also develops a separate line of research based on standard contradictions, a structured notion introduced in our previous work rather than a conventional term of mathematical logic. Xu et al. [3] introduced standard contradictions and contradiction-separation deduction for multi-clause automated reasoning. Unlike binary resolution, this framework exploits structured contradictions involving multiple clauses and has subsequently been developed into a family of contradiction-separation-based deduction methods [9, 11, 12, 14, 15]. Related studies have investigated contradiction-separation automated theorem proving and associated deduction mechanisms [8, 10, 13].
More recent work has focused on constructive forms of standard contradictions. Xu et al. [4] systematically studied their construction and application to multi-clause automated deduction and theorem generation. The standard extension algorithm [5], the extended triangular method [6], and the rectangular-standard-contradiction-based theorem generator [7] provide further constructive mechanisms for obtaining structured contradictory clause sets.
Within this line of work, the automated theorem generator [16] demonstrated that a triangular standard contradiction can be exploited specifically for theorem generation. Implementations of the subsequent generators have also been released [17, 18, 19, 20]. The present paper extends this development from individual constructions to a systematic family of triangular-standard-contradiction-based constructions and a general -class construction.
2.5. Positioning of the present work
The proposed approach is related to automated conjecturing, theory exploration, lemma synthesis, theorem extraction, proof-structure generation, and minimal-unsatisfiability research, but differs in the mechanism by which theorem generation and logical validity are connected.
Representative conjecture-oriented approaches generate candidate statements and subsequently employ testing, counterexample generation, theorem proving, or formal checking to determine which candidates should be retained [22, 23, 24]. Learning-based approaches generate or identify potentially useful theorem-level knowledge from statistical patterns or existing proof corpora [26, 27, 28]. Proof-structure-based theorem generation instead constructs proof structures from which associated theorems can be obtained [31].
The present approach follows another route. It begins with a structurally defined triangular standard contradiction and constructs a minimally unsatisfiable clause set. One or more clauses are then transferred to the conclusion, while the remaining clauses constitute the premises. The unsatisfiability of the complete clause set guarantees the corresponding entailment, whereas minimal unsatisfiability guarantees that the premise set obtained by deleting an individual clause is satisfiable. For the multi-clause forms considered later in the paper, satisfiability of the remaining premise set is established by the corresponding construction.
The relationship among these representative paradigms can be summarised as follows:
Conjecture-oriented approaches: generate candidate prove/check theorem
Proof-structure approaches: generate proof structure associated theorem
Present approach: construct minimally unsatisfiable structure theorem by construction
This comparison is intended to distinguish representative mechanisms rather than to provide an exhaustive taxonomy of theorem-generation systems. The present contribution is complementary to both symbolic theory exploration and contemporary learning-based theorem generation. Existing approaches address important questions such as conjecture discovery, usefulness, interestingness, proof reuse, and learned generation. The focus here is instead on a constructive logical mechanism that systematically produces valid entailment from a prescribed structural condition.
This distinction also identifies a natural direction for future work. Constructive symbolic generation can provide formal guarantees at the logical level, whereas theory-exploration or learning-based methods may help rank, select, interpret, or apply the resulting theorems according to mathematical or domain-level notions of usefulness and interestingness.
3. Standard Contradictions
This section recalls the concept of a standard contradiction and related results [4]. For standard background and content on logic and automated reasoning, see [35].
In first-order logic, if is an -ary predicate symbol and are terms, then
is an atomic formula. A literal is either an atomic formula or its negation. Throughout this paper, denote literals rather than individual variables. For a literal , we use to denote its complementary literal, with double negation eliminated. Thus, if
then
whereas if
then
Accordingly, and are called complementary literals, and the pair is called a complementary pair.
A clause is a finite disjunction of literals. A finite set of clauses
is called a clause set and represents the conjunction
As usual in first-order clausal logic, all variables occurring in a clause are implicitly universally quantified. When set-theoretic operations on clauses are used, a clause
is identified with the finite set of its literals,
Clause-set and Cartesian-product notation.. For a clause set
we define its associated Cartesian-product structure by
Thus, is a set of clauses, whereas is a set of -tuples of literals
In particular,
Throughout the paper, is used when referring to properties and operations of the clause set, including satisfiability, clause deletion, minimal unsatisfiability, and logical consequence. The notation is used specifically for the Cartesian-product structure underlying the notions of standard contradiction and sub-standard contradiction.
We first recall the notion of a standard contradiction, introduced in our previous work [3] as a structured representation of contradictory clause combinations, which is defined as below:
Definition 3.1 (Standard contradiction [3, 4]). Let
be a finite clause set in first-order logic, and let
be its associated Cartesian-product structure. If every tuple
contains a complementary pair, i.e., there exist distinct indices such that
then is called a standard contradiction (SC). Equivalently, we say that has the standard-contradiction property.
Corollary 3.1 ([3]). If is a standard contradiction, then the associated clause set is unsatisfiable.
Example 3.1. Let
where
and are atomic formulas of first-order logic. Every tuple in
contains a complementary pair. Hence is a standard contradiction, and consequently is unsatisfiable by Corollary 3.1.
Definition 3.2 (Sub-standard contradiction [4, 5]). Let
be a clause set such that is a standard contradiction. For
let
Then
Since every tuple in is also a tuple in , is itself a standard contradiction. We call a sub-standard contradiction of .
Remark 3.1. The term sub-standard contradiction refers specifically to the componentwise Cartesian-product restriction
It is therefore not an arbitrary subset of . The standard-contradiction property is hereditary under such a restriction.
Example 3.2. Let
where

Figure 1: Schematic representation of a triangular standard contradiction . Strictly speaking, the outer shape shown in the figure is a trapezoid; however, since its essential structure is triangular, we follow the established terminology and refer to it as triangular.
It can be seen that is a standard contradiction.
Let
and define
Since
we have
Hence is a sub-standard contradiction of .
4. Triangular standard contradictions
Definition 4.1 (Triangular standard contradiction [4, 6]). Let be first-order literals whose predicate symbols are pairwise distinct and none of which is the equality predicate. A graphical structure of the form shown in Fig. 1 is called a triangular standard contradiction. As explained below, the resulting structure is indeed a standard contradiction.
The graphical construction is interpreted as follows.
- The solid black boundary carries the first-order literals
and is called the main boundary of the triangular standard contradiction. The set
is called its generating literal set.
Figure 2: A five-column triangular standard-contradiction example. The descending red line connects the generating-literal positions; the horizontal and vertical red segments indicate geometric placement and alignment. The lines do not represent logical operators or additional literals. The literals in each column form the disjuncts of the corresponding clause.
- The placement of literals in the triangular interior obeys the following rule. On the same horizontal row as , if any literals other than are placed in admissible interior positions, they can only be , for
- For each vertical line labelled , the literals intercepted by that line from the main boundary and the triangular interior are combined by disjunction to form the clause , where
The resulting clauses form the associated clause set
Its Cartesian-product structure
is the triangular standard contradiction represented in Fig. 1.
Example 4.1 (Constructing a triangular standard contradiction and its clause set). Let be first-order literals whose predicate symbols are pairwise distinct and are not equality. We assume that each and are complementary literals (with the same arguments). We illustrate how the prescribed placement of literals in a triangular standard-contradiction diagram determines an unsatisfiable clause set.
Step 1 (Clause columns and generating boundary). Arrange five columns, from left to right, labelled . Place in , and successively in . The upper red horizontal segment joins the positions of and , and the descending red segment passes through . These segments outline the upper boundary of the triangular placement in Fig. 2.
Step 2 (Additional complementary literals). Place in each of and in . The lower red horizontal segment runs through the displayed positions toward ; the red vertical segments connect the relevant positions within individual columns. These lines are visual placement guides: they are not logical connectives, inference steps, or additional literal occurrences. In particular, only the written literals, not the red line segments, contribute to the clauses.
Step 3 (Reading off the clauses). Each column defines a clause by disjoining precisely the literals written in that column. Reading from left to right gives
Thus the associated clause set is
whereas its associated Cartesian-product structure is
These are distinct mathematical objects: is a set of clauses, while records their Cartesian-product structure.
Step 4 (Verifying unsatisfiability). We give a direct verification that does not depend on interpreting the red lines as logical inferences. Suppose there were a model of . Since , the literal would be true under every variable assignment. The clause would then force , and would force . But would then be false, a contradiction. Hence is unsatisfiable.
Step 5 (Unsatisfiability versus minimal unsatisfiability). The clause is not used in the preceding contradiction: indeed, is already unsatisfiable. Therefore is not minimally unsatisfiable. This example illustrates the graphical construction of an unsatisfiable clause set; the subsequent -type constructions impose further structural conditions to obtain minimally unsatisfiable clause sets, which are the basis for theorem generation with satisfiable premises.
Definition 4.2 (Full triangular standard contradiction [4, 6, 16]). Let be a generating literal set satisfying Definition 4.1. Define
and
Let
The Cartesian-product structure is called a full triangular standard contradiction, since all admissible interior positions are occupied.
Theorem 4.1 ([16]). Every full triangular standard contradiction is a standard contradiction.
Remark 4.1. Every triangular standard contradiction is a sub-standard contradiction of a corresponding full triangular standard contradiction . Therefore, Theorem 4.1 together with Definition 3.2 implies that is itself a standard contradiction. Consequently, by Corollary 3.1, its associated clause set is unsatisfiable. Example 4.1 is, in fact, a sub-standard contradiction of a full triangular standard contradiction.
5. Satisfiability in First-Order Logic
Definition 5.1 (Minimally unsatisfiable clause set [32]). A clause set is minimally unsatisfiable if
-
is unsatisfiable; and
-
for every clause , the clause set
is satisfiable.
The following results are needed to establish the minimal unsatisfiability of clause sets generated by triangular standard contradictions.
Theorem 5.1 (Satisfiability of a literal in first-order logic). If an atom in first-order logic does not contain the equality predicate, then both and are satisfiable.
Proof. See Appendix A.
□
Theorem 5.2 (Satisfiability of a Clause Set Consisting of a Conjunction of Literals and Clauses Containing These Literals as Disjuncts). Let be satisfiable literals in first-order logic. If their predicate symbols are pairwise distinct, then: (1) the set of literals is jointly satisfiable; and (2) if is a clause in which occurs as one of its disjunctive literals, for , then is satisfiable.
Proof. See Appendix B.
□
The following result provides the general logical principle underlying the theorem-generation methods developed in the next section.
Theorem 5.3 (Theorem generation from a minimally unsatisfiable clause set). Let be a minimally unsatisfiable clause set, and let
Then the premise set is satisfiable and
Consequently, by the completeness theorem for first-order logic, if and only if
Thus, the generated entailment is logically valid and has a satisfiable premise set; in particular, the principle of explosion does not occur.
Proof. See Appendix C.
□
Corollary 5.1 (Single-clause theorem generation). Let be a minimally unsatisfiable clause set and let . Then
where is satisfiable. Consequently,
Remark 5.1. Theorem 5.3 distinguishes two logically separate properties of the generated result. The unsatisfiability of establishes the entailment
whereas the minimal unsatisfiability of guarantees that the premise set is satisfiable. The latter ensures that the entailment does not hold merely because the premises are inconsistent.
6. Theorem generation based on triangular standard contradictions
As shown in [16], the full triangular standard contradiction is a special and important form of standard contradiction. Certain triangular sub-standard contradictions correspond to minimally unsatisfiable clause sets . By Theorem 5.3, for any nonempty proper subset ,
and the premise set is satisfiable. Hence, the entailment does not arise from the principle of explosion (i.e., from falsehood, anything follows), since its premise set is satisfiable. This provides the theoretical basis for automated theorem generation from triangular standard contradictions.
6.1. Generation of “premises conclusion” theorems
The minimally unsatisfiable clause sets constructed from triangular sub-standard contradictions provide a direct basis for theorem generation. By removing one or more clauses from such a clause set, the remaining clauses form a satisfiable premise set, while the removed clauses determine the conclusion. This yields the following general procedure for generating theorems in “premises conclusion” form.
As usual, first-order clauses are understood as universally quantified. Accordingly, when a clause occurs as a formula, denotes its universal closure.
The generation process is as follows.
Step 1: Construct a triangular sub-standard contradiction from a generating literal set, obtaining a corresponding minimally unsatisfiable clause set .
Step 2: Suppose that contains clauses. Select any clauses from , say , where .
Step 3: Generate the theorem
By Theorem 5.3, every minimally unsatisfiable clause set constructed by the proposed triangular-standard-contradiction methods gives rise to logically valid theorems with satisfiable premise sets. Specifically, for any nonempty proper subset , we have

Figure 3: Schematic representation of the full triangular standard contradiction underlying the method.
and hence, by the completeness theorem for first-order logic,
Thus, once the minimal unsatisfiability of a constructed clause set has been established, theorem generation follows directly without requiring a separate proof process for each generated theorem.
Definition 6.1. Let and be two theorems. They are called the same theorem if and ; otherwise they are called different theorems.
Remark 6.1. Let be a minimally unsatisfiable clause set containing clauses. By Theorem 5.3, for every nonempty proper subset
we obtain the theorem
Thus, considering different choices of as distinct premise–conclusion pairs, each such clause set generates
distinct theorems of this form.
The central task is therefore to construct minimally unsatisfiable clause sets from triangular sub-standard contradictions. The remainder of this section develops a family of specific triangular-standard-contradiction constructions, denoted by , followed by a general -class construction. For each construction, the key task is to establish the required triangular standard-contradiction structure and the minimal unsatisfiability of its associated clause set; theorem generation then follows from Theorem 5.3.
6.2. : full triangular standard contradiction method
The Automated Theorem Generator is available at https://github.com/SWJTU-math/Automated_Theorem_Generator.

Figure 4: Schematic representation of a Type-I triangular sub-standard contradiction used in the method. The hatched region indicates the admissible region for interior literals according to Definition 4.1.
The method [16] is based on a full triangular standard contradiction generated by , where the literals have pairwise distinct predicate symbols and none uses equality. The corresponding construction is illustrated in Fig. 3. Its associated clause set is
where
with , and
By [16] and Theorems 5.1–5.2, is minimally unsatisfiable.
Each ordering of the generating literals on the main boundary yields a distinct minimally unsatisfiable clause set, giving such clause sets. Since each clause set generates
distinct theorems, the method generates
mutually distinct theorems [16]. Each generated theorem has a satisfiable premise set and is logically valid; hence, its derivation does not rely on the principle of explosion. The implementation is available as Automated Theorem Generator [17].
6.3. : Type-I triangular standard contradiction method
As illustrated in Fig. 4, let
The Automated Theorem Generator is available at https://github.com/SWJTU-math/Automated-Theorem-Generator-2.
be a generating literal set whose literals have pairwise distinct predicate symbols and none of which uses the equality predicate. Let
where
and
Then the Cartesian-product structure
is a triangular sub-standard contradiction of the corresponding full triangular standard contradiction. We call a Type-I triangular standard contradiction.
The clause set is unsatisfiable because is a standard contradiction. We now show that deleting any one clause from yields a satisfiable clause set.
Let ().
-
If , choose a model of , which exists by Theorems 5.1–5.2. This model satisfies every clause in . Hence, is satisfiable.
-
If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence is satisfiable.
- If
choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
is satisfied. Hence is satisfiable.
Therefore every one-clause deletion from is satisfiable. Since itself is unsatisfiable, is minimally unsatisfiable.
By placing an arbitrary nonempty set of additional literals in the triangular interior (the region indicated by the oblique dashed line in Fig. 4), in accordance with the literal-placement principle specified in Definition 4.1, a Type-I triangular standard contradiction can be extended to a new triangular standard contradiction. The resulting structure is called a Type-I* triangular standard contradiction, denoted by , generated from the Type-I triangular standard contradiction .

Figure 5: Schematic representation of a Type-II triangular standard contradiction used in the method. The hatched region indicates the admissible region for interior literals according to Definition 4.1.
Remark 6.2. Let and be the clause sets associated with a Type-I triangular standard contradiction and its corresponding Type-I* triangular standard contradiction, respectively. For each clause and its corresponding clause , we have
where clauses are regarded as sets of literals. Under the admissible literal-placement construction of Definition 4.1, the resulting clause set remains minimally unsatisfiable.
6.4. : Type-II triangular standard-contradiction method
As illustrated in Fig. 5, let
be a generating literal set whose literals have pairwise distinct predicate symbols and none of which uses the equality predicate. Let
where
and
The literals are placed along the main boundary of the triangle. The Cartesian-product structure
is a triangular sub-standard contradiction of the corresponding full triangular standard contradiction. We call a Type-II triangular standard contradiction.
The clause set is unsatisfiable because is a standard contradiction. We next show that deleting any clause from leaves a satisfiable clause set.
The Automated Theorem Generator is available at https://github.com/SWJTU-math/Automated-Theorem-Generator-3.
- If is deleted, choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence
is satisfiable.
- If is deleted for some
choose a model of
and
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence
is satisfiable.
Therefore every one-clause deletion from is satisfiable. Since itself is unsatisfiable, is minimally unsatisfiable.
If, starting from the Type-II construction in Fig. 5, one or more admissible interior literals are added according to the placement rule of Definition 4.1, a new triangular sub-standard contradiction is obtained. We call a Type-II* triangular sub-standard contradiction.
Remark 6.3. For each corresponding clause pair , every model satisfying also satisfies . Together with the minimal-unsatisfiability argument established for admissible extensions, this implies that the associated clause set remains minimally unsatisfiable.
6.5. : Type-III triangular standard-contradiction method
As illustrated in Fig. 6, let
be a generating literal set whose literals have pairwise distinct predicate symbols and none of which uses the equality predicate. Let
The Automated Theorem Generator is available at https://github.com/SWJTU-math/Automated-Theorem-Generator-4.

Figure 6: Schematic representation of a Type-III triangular standard contradiction used in the method. The hatched region indicates the admissible region for interior literals according to Definition 4.1.
where
and
The literals are placed along the main boundary of the triangle. The Cartesian-product structure
is a triangular sub-standard contradiction of the corresponding full triangular standard contradiction. We call a Type-III triangular standard contradiction.
The clause set is unsatisfiable because is a standard contradiction. We now show that deleting any one clause from yields a satisfiable clause set.
Let ( ). According to Theorems 5.1–5.2, we have
- If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence
is satisfiable.
- If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence,
is satisfiable.

Figure 7: Schematic representation of a Type-IV triangular standard contradiction used in the method. The sets and represent the two parts of the literals distributed between and , respectively. The hatched region indicates the admissible region for interior literals according to Definition 4.1.
- If
choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence
is satisfiable.
Therefore every one-clause deletion from is satisfiable. Since itself is unsatisfiable, is minimally unsatisfiable.
If, starting from the Type-III construction in Fig. 6, one or more admissible interior literals are added according to the placement rule of Definition 4.1, a new triangular sub-standard contradiction is obtained. We call a Type-III* triangular sub-standard contradiction.
Remark 6.4. For each corresponding clause pair , every model satisfying also satisfies . Together with the minimal-unsatisfiability argument established for admissible extensions, this implies that the associated clause set remains minimally unsatisfiable.
6.6. : Type-IV triangular standard-contradiction method
As illustrated in Fig. 7, let
be a generating literal set whose literals have pairwise distinct predicate symbols and none of which uses the equality predicate. Let
The literals occurring in and together form the set
where
and
The Cartesian-product structure
is a triangular sub-standard contradiction of the corresponding full triangular standard contradiction. We call a Type-IV triangular standard contradiction.
Since is a standard contradiction, the associated clause set is unsatisfiable. We next show that deleting any one clause from leaves a satisfiable clause set, and hence that is minimally unsatisfiable.
Let () be the deleted clause. According to Theorems 5.1–5.2, we have
- If , choose a model of
awhich exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence
is satisfiable.
- If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence
is satisfiable.
- Suppose
Let and denote the sets of literals occurring, respectively, in and , so that
There are two cases.
(a) If
choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence
is satisfiable.
(b) If
choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence
is satisfiable.
Thus every one-clause deletion from is satisfiable. Since itself is unsatisfiable, is minimally unsatisfiable.
If one or more admissible interior literals are added to the Type-IV construction in Fig. 7 according to the placement rule of Definition 4.1, a new triangular sub-standard contradiction is obtained. We call a Type-IV* triangular sub-standard contradiction.
Remark 6.5. For each corresponding clause pair , every model satisfying also satisfies . Together with the minimal-unsatisfiability argument established for admissible extensions, this implies that the associated clause set remains minimally unsatisfiable.
6.7. : Type-V(i) triangular standard-contradiction method
As illustrated in Fig. 8, let
be a generating literal set whose literals have pairwise distinct predicate symbols and none of which uses the equality predicate. For any
let
be the clause set associated with the automated theorem generator , where the clauses inside are defined below and their dependence on is suppressed for notational simplicity,

Figure 8: Schematic representation of a Type-V(i) triangular standard contradiction used in the method, where . The sets and represent the two groups of literals separated at the index . The hatched region indicates the admissible region for interior literals according to Definition 4.1.
Regarding clauses as sets of literals, we have
The Cartesian-product structure
is a triangular sub-standard contradiction of the corresponding full triangular standard contradiction. We call a Type-V(i) triangular sub-standard contradiction.
The clause set is unsatisfiable because is a standard contradiction. We now show that deleting any one clause from leaves a satisfiable clause set. Hence is minimally unsatisfiable.
Let () be the deleted clause. According to Theorems 5.1–5.2, we have
- If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in .
Hence
is satisfiable.
- If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
is satisfiable. Hence
is satisfiable.
- Suppose
For convenience, define
Note that
There are two cases.
(a) If
then
choose a model of
and
Then is satisfied by , is satisfied by , and this model satisfies every remaining unit clause. Hence
is satisfiable.
(b) If
then
choose a model of
and
Then is satisfied by , is satisfied by whenever , while if the clause has been deleted, and this model satisfies all remaining unit clauses. Hence
is satisfiable.

Figure 9: Schematic representation of a Type-VI(i) triangular standard contradiction used in the method, where . The sets and represent the two groups of complementary literals. The hatched region indicates the admissible region for interior literals according to Definition 4.1.
Thus every one-clause deletion from is satisfiable. Since itself is unsatisfiable, is minimally unsatisfiable.
For any , if one or more admissible interior literals are added to the Type-V(i) construction in Fig. 8 according to the placement rule of Definition 4.1, a new triangular sub-standard contradiction is obtained. We call it a Type-V(i)* triangular sub-standard contradiction generated from .
Remark 6.6. For every corresponding pair of clauses
we have
By the minimal-unsatisfiability preservation result for admissible extensions, the associated clause set remains minimally unsatisfiable.
6.8. : Type-VI(i) triangular standard-contradiction method
As illustrated in Fig. 9, let
be a generating literal set whose literals have pairwise distinct predicate symbols and none of which uses the equality predicate. For any
let
be the clause set associated with the automated theorem generator , where
and
Identifying each clause with its set of literals, we have
Moreover, the two sets on the left-hand side are disjoint.
The Cartesian-product structure
is a triangular sub-standard contradiction of the corresponding full triangular standard contradiction. We call a Type-VI(i) triangular sub-standard contradiction.
The clause set is unsatisfiable because is a standard contradiction. We now show that deleting any one clause from leaves a satisfiable clause set. Hence is minimally unsatisfiable.
Let () be the deleted clause. According to Theorems 5.1–5.2, we have
- If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in . Hence
is satisfiable.
- If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence
is satisfiable.
- Suppose
For convenience, let
Note that
There are two cases.
- If , then
Choose a model of
and
which exists by Theorems 5.1–5.2. Then is satisfied by , is satisfied by , is satisfied by , and this model satisfies all remaining unit clauses. Hence
is satisfiable.
- If , then
Choose a model of
and
which exists by Theorems 5.1–5.2. Then is satisfied by , is satisfied by , is satisfied by , and this model satisfies all remaining unit clauses. Hence
is satisfiable.
Thus every one-clause deletion from is satisfiable. Since itself is unsatisfiable, is minimally unsatisfiable.
For any , if one or more admissible interior literals are added to the Type-VI construction in Fig. 9 according to the placement rule of Definition 4.1, a new triangular sub-standard contradiction is obtained. We call a Type-VI triangular sub-standard contradiction generated from .
Remark 6.7. For each corresponding pair
we have
By the minimal-unsatisfiability preservation result for admissible extensions, the associated clause set remains minimally unsatisfiable.

Figure 10: Schematic representation of a Type-VII(i) triangular standard contradiction used in the method, where . The sets , , and represent the groups of literals distributed among , , and , respectively. The hatched region indicates the admissible region for interior literals according to Definition 4.1.
6.9. : Type-VII(i) triangular sub-standard-contradiction method
As illustrated in Fig. 10, let be a generating literal set whose members have pairwise distinct predicate symbols and do not involve equality.
For any , let
which corresponds to the automated theorem generator . The dependence of the clauses inside on the parameter is suppressed for notational simplicity.
For convenience, the clauses are represented as sets of literals, where
Regarding clauses as sets of literals, we have
Here, let
When n - 1 = i,
and either
or
When ,
The associated Cartesian-product structure is a triangular sub-standard contradiction of a full triangular standard contradiction and is therefore unsatisfiable. Such triangular sub-standard contradictions are called Type-VII(i) triangular standard contradictions.
Since is a standard contradiction, the associated clause set is unsatisfiable. We now show that deleting any one clause from leaves a satisfiable clause set. Hence is minimally unsatisfiable.
Let () be the deleted clause. According to Theorems 5.1–5.2, we have
- If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence
is satisfiable.
- If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence
is satisfiable.
- Suppose that . Note that
(i) When :
In this case, .
If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence,
is satisfiable.
If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence,
is satisfiable.
(ii) When :
If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence,
is satisfiable.
If , choose a model of
which exists by Theorems 5.1–5.2. This model satisfies every clause in
Hence,
is satisfiable.
Thus every one-clause deletion from is satisfiable. Since itself is unsatisfiable, is minimally unsatisfiable.
For any , if one or more admissible interior literals are added to the Type-VII construction in Fig. 10 according to the placement rule of Definition 4.1, a new triangular sub-standard contradiction is obtained. We call it a Type-VII triangular sub-standard contradiction generated from .
For every corresponding pair
we have
By the minimal-unsatisfiability preservation result for admissible extensions, the associated clause set remains minimally unsatisfiable.
The preceding constructions give eight specific families of methods for constructing minimally unsatisfiable clause sets. We now give the ninth, general -class construction.
6.10. A general method for generating minimally unsatisfiable clause sets from -class triangular standard contradictions
Lemma 6.1. Let be a first-order clause set, and let . Suppose that is a literal occurring in whose predicate symbol is distinct from the predicate symbols of all other literals in .
Then and
are equisatisfiable. That is,
Proof. See Appendix D.
Lemma 6.2. Let be a satisfiable first-order clause set and let be a unit clause whose predicate symbol is different from every predicate symbol occurring in . Then is satisfiable.
Proof. See Appendix E.
Theorem 6.1 (General -class construction). Let be the generating literal set of a triangular standard contradiction in first-order logic, with pairwise distinct predicate symbols and no equality predicate.
I. If clause contains , the row containing contains exactly one occurrence of for each , and (as schematically shown in Fig. 11), then is a minimally unsatisfiable clause set.
II. Such a -class triangular standard contradiction is also a minimal-unsatisfiable construction with the minimum number of literals, namely literals in total.
Proof. See Appendix F.
Remark 6.8. The general method for generating minimally unsatisfiable clause sets from -type triangular standard contradictions does not encompass the method.

Figure 11: Schematic representation of the general construction of a minimally unsatisfiable clause set from a triangular standard contradiction. The literal has a predicate symbol that occurs nowhere else in the clause set.
Remark 6.9. Let be a triangular standard contradiction generated from the generating literal set , where is the minimally unsatisfiable clause set specified in Theorem 6.1.
Deleting any clause from , where , leaves a satisfiable clause set .
If an arbitrary nonempty set of literals is placed in the triangular interior (the region indicated by the oblique dashed line in Fig. 11), according to the literal-placement principle of Definition 4.1, the resulting Type- triangular standard contradiction has an associated clause set .
By Theorems 5.1 and 5.2, deleting the clause corresponding to from also leaves a satisfiable clause set
Indeed, for every clause and its corresponding clause , regarding clauses as sets of literals, we have
Hence, any interpretation satisfying also satisfies .
Furthermore, since is an arbitrary clause of , its corresponding clause is also arbitrary in . Therefore, the clause set associated with the resulting triangular standard contradiction is also minimally unsatisfiable.
Remark 6.10. For each theorem-generation procedure corresponding to , , (), and , given a generating literal set whose members have pairwise distinct predicate symbols and do not involve equality, the construction begins with a triangular sub-standard contradiction of a full triangular standard contradiction. We call this initial structure the skeleton. As established in Sections 6.3–6.10, each such skeleton corresponds to a minimally unsatisfiable clause set containing exactly literal occurrences.
Excluding the skeleton itself, there are possible positions for placing additional literals in the triangular interior. According to the literal-placement principle of Definition 4.1, an arbitrary nonempty set of literals can then be placed in the triangular interior (the regions indicated by the oblique dashed lines in Figs. 4-11).
This construction is the same for (), and . The only difference lies in the construction of their respective skeletons, namely, the positions of the literals other than those on the main boundary.
Remark 6.11. In first-order logic, consider a triangular standard contradiction generated from the literal set , whose members have pairwise distinct predicate symbols and do not involve equality.
Suppose that, whenever a clause contains , the corresponding row contains exactly one occurrence of , for , and that
as illustrated in Fig. 10.
The associated clause set
is minimally unsatisfiable.
For each , there are possible positions for , where . Since the choices for different do not interfere with one another, once the order of the generating literals on the main boundary is fixed, the number of such minimally unsatisfiable clause sets is
Furthermore, there are permutations of the generating literals on the main boundary. Consequently, a total of
skeletons can be generated. Each skeleton corresponds to one minimally unsatisfiable clause set.
6.11. Number of Theorems Generated from Triangular Standard Contradictions
In view of Remark 6.10, for convenience, we choose the relatively simple skeleton for the following discussion.
For , additional literals can be placed in the triangular interior of each clause , . The number of ways to place at least one additional literal in is
Including the case in which no additional literal is placed, the number of possibilities is
Since the placement choices for different clauses are independent, the total number of possible literal-placement configurations for is
This includes exactly one configuration in which no additional literal is placed in any clause. Since at least one additional literal must be placed in the triangular interior, the number of nonempty placement configurations is
For each fixed ordering of the generating literals , these configurations give different clause sets. As there are permutations of the generating literals, the number of clause sets obtained by adding at least one interior literal is
Furthermore, each of the ! permutations determines a skeleton, and each skeleton itself corresponds to a minimally unsatisfiable clause set. Including these skeletons, the total number of minimally unsatisfiable clause sets is
Using the binomial identity, the above counting expression can be simplified using
we obtain
Thus, the number of clause sets generated by the construction, including the skeletons and their admissible interior-literal extensions, is
Each such clause set is minimally unsatisfiable. Indeed, the skeletons are minimally unsatisfiable, and the admissible placement of additional interior literals preserves minimal unsatisfiability, as established by the triangular standard contradiction construction and Theorems 5.1–5.2.
Now consider any such minimally unsatisfiable clause set
For every nonempty proper subset , the remaining clause set is satisfiable, and
By Remark 6.1, the number of generated theorems is
Applying the binomial theorem again,
Consequently, following the counting construction of the triangular standard contradiction methods, the total number of generated theorems is
Therefore, the original counting expression has the following equivalent closed form:
As described in the original construction, the same counting framework applies to (), and the general method, with the corresponding differences lying in their skeleton constructions.
Every generated entailment follows from a satisfiable premise set and therefore the principle of explosion does not occur.
For a given set of generating literals of a triangular standard contradiction in first-order logic, assume that their predicate symbols are pairwise distinct and that none of the literals involves the equality predicate. For each skeleton, the number of distinct theorems that can be generated without explosion is
By Remark 6.11, the number of distinct skeletons that can be generated is . Furthermore, a full triangular standard contradiction generates theorems. Consequently, the -class construction methods can generate a total of
distinct theorems for which no explosion occurs.
7. Conclusion and Outlook
This paper has developed a constructive framework for automated theorem generation in first-order logic based on triangular standard contradictions. The central idea is to construct minimally unsatisfiable clause sets with prescribed triangular structures and to transform these structures into logical entailments by moving one or more selected clauses to the conclusion while retaining the remaining clauses as premises. In this way, theorem generation is grounded automatically in the logical properties of the constructed clause sets rather than in a separate search for a proof of each generated candidate.
Building on the previously developed and released automated theorem generator [16], we have established a systematic family of triangular-standard-contradiction constructions, including the specific families and a general -class construction. For the corresponding constructions, the required unsatisfiability and satisfiability properties have been established, thereby guaranteeing the logical validity of the resulting entailments. In particular, when a clause is removed from a minimally unsatisfiable clause set, the remaining clause set is satisfiable. Hence the corresponding entailments does not arise vacuously from inconsistent premises through the principle of explosion. For the constructions in which multiple clauses are transferred to the conclusion, satisfiability of the remaining premise set follows from the corresponding structural results established in this paper.
The general -class construction further shows that a minimally unsatisfiable triangular structure can be obtained using literals under the stated conditions. Additional admissible interior literals can be introduced while preserving minimal unsatisfiability, provided that the conditions of the construction are maintained. Together with the counting analysis, these results demonstrate that the proposed framework can systematically generate large families of distinct, logically valid theorems from a given generating literal set. The significance of this result lies not merely in the number of generated formulas, but in the existence of a unified structural mechanism through which their logical validity follows by construction.
The proposed approach therefore differs from representative conjecture-oriented methods, in which candidate statements are generated and then subjected to proving or checking [22, 23, 24], and from proof-structure approaches, in which theorem generation proceeds through the construction or extraction of proof structures [27, 31]. Here, the primary generative object is a structured minimally unsatisfiable clause set. Once the required structural conditions have been established, no separate proof process is required for each generated entailment. This provides a novel perspective on automated theorem generation and connects the structural theory of minimal unsatisfiability [32, 33] with constructive theorem discovery.
This paper introduces a class of methods for generating theorems in first-order logic. The correctness of the generated theorems is guaranteed by the underlying generation mechanisms, requiring no additional verification, and no explosion occurs. However, how these theorems, expressed in symbolic form, can be meaningfully interpreted and effectively applied to solve practical problems in the natural sciences, engineering and technology, and social sciences remains an very important direction for future research. In addition, automated mathematic theory exploration techniques [21], other theorem-generation methods [25, 26, 31], and learning-based models may form complementary mechanisms for this purpose.
Another promising direction is to combine the constructive framework with Neuro-Symbolic and large-language-model methods [28]: symbolic construction can provide formally guaranteed logical structures, while learned models may assist in selecting, interpreting, and applying generated theorems in mathematical or other domain-specific contexts.
Overall, the results establish triangular standard contradictions and minimal unsatisfiability as a constructive basis for automated theorem generation. They provide a systematic route from structured contradiction to valid entailment and lay the theoretical foundation for further work on the generation, evaluation, and application of formally guaranteed logical knowledge.
References
[1] L. Wos, The problem of automated theorem finding, Journal of Automated Reasoning 10 (1) (1993) 137–138.
[2] J. Zhang, S. Tan, Automated conjecturing and theorem finding: A survey, Journal of Computer Science and Technology 46 (1) (2026) 46–66. doi:10.1007/s11390-026-6040-0.
[3] Y. Xu, J. Liu, S. W. Chen, X. M. Zhong, X. X. He, Contradiction separation based dynamic multi-clause synergized automated deduction, Information Sciences 462 (2018) 93–113.
[4] Y. Xu, S. W. Chen, X. M. Zhong, J. Liu, X. X. He, Towards multi-clause automated deduction and theorem generation: constructing and applying standard contradictions, Knowledge-Based Systems 334 (2026) 114985.
[5] Y. Xu, X. X. He, S. W. Chen, J. Liu, X. M. Zhong, Dynamic deduction by contradiction separation: the standard extension algorithm, arXiv preprint arXiv:2510.08468 (2025).
[6] Y. Xu, S. W. Chen, J. Liu, F. Cao, X. X. He, Extended triangular method: a generalized algorithm for contradiction separation based automated deduction, arXiv preprint arXiv:2510.10701 (2025).
[7] Y. Xu, P. Y. Liu, S. W. Chen, J. Liu, An automated theorem generator with theoretical foundation based on rectangular standard contradiction, arXiv preprint arXiv:2511.04092 (2025).
[8] G. Y. Zeng, Inverse and parallel automated theorem prover based on contradiction separation, Ph.D. thesis, Southwest Jiaotong University (2025).
[9] G. Y. Zeng, S. W. Chen, J. Liu, Y. Xu, P. Y. Liu, A complementary ratio based clause selection method for contradiction separation dynamic deduction, Knowledge-Based Systems 284 (2024) 111238.
[10] P. Y. Liu, Study on a first-order logic automated theorem prover based on contradiction separation deduction rule, Ph.D. thesis, Southwest Jiaotong University (2024).
[11] P. Y. Liu, S. W. Chen, J. Liu, Y. Xu, F. Cao, G. F. Wu, An efficient contradiction separation based automated deduction algorithm for enhancing reasoning capability, Knowledge-Based Systems 261 (2023) 110217.
[12] P. Y. Liu, Y. Xu, J. Liu, S. W. Chen, F. Cao, G. F. Wu, Fully reusing clause deduction algorithm based on standard contradiction separation rule, Information Sciences 622 (2023) 337–356.
[13] F. Cao, Study on a first-order logic automated theorem prover based on contradiction separation deduction, Ph.D. thesis, Southwest Jiaotong University (2020).
[14] F. Cao, Y. Xu, J. Liu, S. W. Chen, J. Yi, A multi-clause dynamic deduction algorithm based on standard contradiction separation rule, Information Sciences 566 (2021) 281–299.
[15] F. Cao, Y. Xu, S. W. Chen, J. Zhong, G. F. Wu, A contradiction separation dynamic deduction algorithm based on optimized proof search, International Journal of Computational Intelligence Systems 12 (2) (2019) 1245–1254.
[16] Y. Xu, H. L. Guo, S. W. Chen, J. Liu, : An automated theorem generator, International Journal of Computational Intelligence Systems 18 (2025) 309.
[17] Y. Xu, H. L. Guo, S. W. Chen, J. Liu, Automated theorem generator , GitHub release (Jun. 2026). URL https://github.com/SWJTU-math/Automated_Theorem_Generator
[18] Y. Xu, H. L. Guo, S. W. Chen, J. Liu, Automated theorem generator , GitHub release (Jun. 2026). URL https://github.com/SWJTU-math/Automated-Theorem-Generator-2
[19] Y. Xu, H. L. Guo, S. W. Chen, J. Liu, Automated theorem generator , GitHub release (Jun. 2026). URL https://github.com/SWJTU-math/Automated-Theorem-Generator-3
[20] Y. Xu, H. L. Guo, S. W. Chen, J. Liu, Automated theorem generator , GitHub release (Jun. 2026). URL https://github.com/SWJTU-math/Automated-Theorem-Generator-4
[21] R. L. McCasland, A. Bundy, P. F. Smith, MATHsAiD: Automated mathematical theory exploration, Applied Intelligence 47 (2017) 585–606. doi:10.1007/s10489-017-0954-8.
[22] K. Claessen, N. Smallbone, J. Hughes, QuickSpec: Guessing formal specifications using testing, in: Tests and Proofs – TAP 2010, LNCS, Vol. 6143, 2010, pp. 6–21. doi:10.1007/978-3-642-13977-2_3.
[23] W. Yang, G. Fedyukovich, A. Gupta, Lemma synthesis for automating induction over algebraic data types, in: Principles and Practice of Constraint Programming – CP 2019, LNCS, Vol. 11802, 2019, pp. 600–617. doi:10.1007/978-3-030-30048-7_35.
[24] A. Sivaraman, A. Sanchez-Stern, B. Chen, S. Lerner, T. Millstein, Data-driven lemma synthesis for interactive proofs, Proceedings of the ACM on Programming Languages (143) (2022) 505–531. doi:10.1145/3563306.
[25] Y. Puzis, Y. Gao, G. Sutcliffe, Automated generation of interesting theorems, in: Proceedings of the 19th International Florida Artificial Intelligence Research Society Conference, 2006, pp. 49–54.
[26] X. Lin, Q. Cao, Y. Huang, Z. Yang, Z. Liu, Z. Li, X. Liang, ATG: Benchmarking automated theorem generation for generative language models, in: Findings of the Association for Computational Linguistics: NAACL, 2024, pp. 4465–4480. doi:10.18653/v1/2024.findings-naacl.279.
[27] J. P. Zhou, Y. Wu, Q. Li, R. Grosse, REFACTOR: Learning to extract theorems from proofs, in: International Conference on Learning Representations, 2024.
[28] Y. Alhessi, S. H. Einarsdóttir, G. Granberry, E. First, M. Johansson, S. Lerner, N. Smallbone, Lemmanaid: Neuro-symbolic lemma conjecturing (2026). arXiv:2504.04942.
[29] J. Sheng, L. Lyu, J. Jin, T. Xia, A. Gu, J. Y. Zou, P. Lu, Solving inequality proofs with large language models, in: Advances in Neural Information Processing Systems, Vol. 38, 2025.
[30] I. Petrov, J. Dekoninck, M. Vechev, BrokenMath: A benchmark for sycophancy in theorem proving with LLMs, in: Proceedings of the 43rd International Conference on Machine Learning, Vol. 306 of Proceedings of Machine Learning Research, PMLR, 2026, pp. 98430–98458. arXiv:2510.04721.
[31] C. Wernhard, Generating theorems by generating proof structures, in: Automated Reasoning – IJCAR 2026, Vol. 16688 of Lecture Notes in Computer Science, Springer, 2026, pp. 41–61.
[32] R. Aharoni, N. Linial, Minimal non-two-colorable hypergraphs and minimal unsatisfiable formulas, Journal of Combinatorial Theory, Series A 43 (1986) 196–204.
[33] O. Kullmann, Constraint satisfaction problems in clausal form II: Minimal unsatisfiability and conflict structure, Fundamenta Informaticae 109 (1) (2011) 83–119. doi:10.3233/FI-2011-429.
[34] O. Kullmann, Minimal unsatisfiability and deficiency: recent developments, CoRR abs/1610.08575 (2016). arXiv:1610.08575.
[35] J. Harrison, Handbook of Practical Logic and Automated Reasoning, Cambridge University Press, Cambridge, 2009.
Appendix A. Proof of Theorem 5.1
Let , where is an -ary predicate symbol and are terms.
(1) To show that is satisfiable, take any nonempty domain , for example , and interpret by . Interpret all function and constant symbols arbitrarily. Thus is true of every -tuple. Under this interpretation, is true for every variable assignment, so is satisfiable.
(2) To show that is satisfiable, take a nonempty domain , again for example , and interpret by . Thus is false of every -tuple. Since is not the equality predicate, this interpretation is always permitted. Therefore is false for every assignment and is true. Hence is satisfiable.
Appendix B. Proof of Theorem 5.2
(1) Construct a model in which all are simultaneously true. Since the literals have pairwise distinct predicate symbols, the interpretation of each predicate can be defined independently. Take any nonempty domain, for example the singleton . Interpret every individual constant as and every function symbol as the constant function with value . For each predicate symbol occurring in a literal , define as follows. If is the positive literal , include the tuple in ; other tuples may be assigned arbitrarily. If is the negative literal , exclude from ; other tuples may again be assigned arbitrarily. Because different use different predicate symbols, these requirements do not conflict. Hence every is true in , so is satisfiable.
(2) For each , write , where is an arbitrary disjunction. In the model constructed in part (1), is true, so is true. Hence is satisfiable.
Appendix C. Proof of Theorem 5.3
Since , choose any clause . Because is minimally unsatisfiable,
is satisfiable. Moreover,
Any subset of a satisfiable clause set is satisfiable. Hence is satisfiable.
It remains to establish the entailment. Suppose, for contradiction, that there exists a model M such that
and
Then
Thus satisfies every clause in as well as every clause in , and therefore
contradicting the unsatisfiability of . Hence
The corresponding syntactic consequence follows from the completeness theorem for first-order logic.
Appendix D. Proof of Lemma 6.1
We consider two cases: and .
Case 1: , where is a predicate symbol and is a tuple of terms (a -tuple of terms if is a -ary predicate).
By assumption, the predicate symbol does not occur in any clause of , either positively as or negatively as .
(I) Suppose that is satisfiable. We prove that is satisfiable.
Let be a model of , where is the domain and is an interpretation. Thus, satisfies the universal closure of every clause in .
Construct a new model as follows:
- The domain remains unchanged:
-
The interpretations of all symbols other than , including function symbols, constants, and other predicate symbols, are identical to those in .
-
The predicate is interpreted as universally true in . For a unary predicate, is true for every individual in . More generally, for a -ary predicate, its interpretation is defined as
so that is true for every -tuple of elements of .
We now prove that satisfies .
Consider any clause . Since no literal in contains the predicate symbol , and agrees with on the interpretations of all symbols occurring in , the truth value of under is identical to that under for every variable assignment. Since , it follows that . Therefore,
Next, consider the clause . The tuple consists of terms formed from constants, function symbols, and variables, and contains no predicate symbols. Consequently, changing the interpretation of does not affect the interpretation of . Thus, has exactly the same value in as in , regardless of the variable assignment.
Since is universally true in , the atomic formula is true under every variable assignment. The clause is a disjunction of the form
where denotes the disjunction of the remaining literals, if any. Since one of its disjuncts, , is true, the entire clause is true under every variable assignment. Hence,
Therefore,
and consequently is satisfiable.
(II) Suppose that is satisfiable. We prove that is satisfiable.
Since , every model satisfying necessarily satisfies . Therefore, is satisfiable.
Combining (I) and (II), we obtain
Thus, the clause can be removed without changing satisfiability.
Case 2: .
In the construction used in Case 1, replace the interpretation of as universally true with an interpretation under which is universally false. Specifically, define
For a unary predicate, this means that is false for every individual in ; for a -ary predicate, it means that is false for every -tuple of elements of .
All other interpretations remain unchanged. The remainder of the argument is identical to that in Case 1. In particular, every clause in remains satisfied, while the literal is true under every variable assignment, ensuring that is satisfied.
Consequently,
Hence, removing the clause does not change satisfiability.
The lemma therefore holds in both cases.
Appendix E. Proof of Lemma 6.2
Let be a model of . Denote the predicate symbol of by , and suppose that has arity . Thus,
where each is a term.
Construct a new model over the same domain , where agrees with on all function symbols, constants, and predicate symbols other than . The interpretation of is defined as follows:
• If , let
i.e., is interpreted as the universal relation on .
• If , let
i.e., is interpreted as the empty relation on .
We now show that
- For any clause , the predicate symbol does not occur in by assumption. Therefore, all symbols occurring in have identical interpretations under and . Consequently, has the same truth value in as in under every variable assignment. Since , it follows that
- For the unit clause , consider the following two cases.
If , then
for every variable assignment . Hence,
If , then , so no -tuple belongs to . Therefore, for every variable assignment ,
Thus, in either case,
Combining the above results, we obtain
Therefore, is satisfiable.
Appendix F. Proof of Theorem 6.1
Part I. We proceed by mathematical induction on the number of generating literals (corresponding to the number of rows in Fig. 11, from 1 to ). Consider a triangular standard contradiction (as shown in Fig. 11), whose rows, from top to bottom, correspond to .
- Base case: .
When , let
Clearly, is a minimally unsatisfiable clause set.
- Inductive hypothesis.
Suppose that, for ,
is a minimally unsatisfiable clause set.
- Inductive step: k = n + 1.
We prove that
where
is a minimally unsatisfiable clause set.
First, observe that, according to the structure of a triangular standard contradiction, the generating literal set at this stage is
where the predicate symbols are pairwise distinct and none is the equality predicate.
Denote the resulting triangular standard contradiction by . Here, the names of the sets of literals corresponding to the individual clauses remain the same as the clause names.
Then
is a subsumption-free clause set in the full triangular standard contradiction constructed from the generating literal set .
Therefore, is a triangular standard contradiction contained in this full triangular standard contradiction. Consequently, is an unsatisfiable clause set.
We now prove that is minimally unsatisfiable.
(i) Consider removing from .
By Lemma 6.1, the clause in is a redundant clause after has been removed. Thus, can also be removed without changing satisfiability.
The remaining clause set is
At this point, the remaining clause set contains rows. By the inductive hypothesis, is satisfiable.
(ii) Consider removing from .
By Lemma 6.1, the clause becomes redundant in after has been removed. Hence, can also be removed without changing satisfiability.
The remaining clause set is
The remaining clause set contains rows. By the inductive hypothesis, is satisfiable.
(iii) Consider removing any other clause from , where
and
Assign the truth value true. Then has the same truth value as , since
and is false under this assignment.
By the inductive hypothesis, removing from the clause set corresponding to the rows yields a satisfiable clause set. That is,
is satisfiable.
Furthermore, by Lemma 6.2,
is also satisfiable.
Consequently, is satisfiable.
Combining (i), (ii), and (iii), we conclude that is a minimally unsatisfiable clause set.
Part II
For the generating literal set of a triangular standard contradiction , there are rows.
For each (), among the literals occurring in the same row as , apart from itself, there is only . Thus, each row contains exactly two literals, and (), as shown in Fig. 11.
Therefore, a triangular standard contradiction constructed in this way contains a total of 2n literals and clauses .
Since is a minimally unsatisfiable clause set, suppose that any occurrence of a literal is removed. By Lemma 6.1, the clause containing can then be removed without changing satisfiability. This contradicts the minimal unsatisfiability of .
Similarly, suppose that any occurrence of a literal is removed. By Lemma 6.1, the clause containing can then be removed without changing satisfiability. This again contradicts the minimal unsatisfiability of S.
Therefore, the number of literal occurrences in S cannot be less than 2n.
Hence, the minimum number of literal occurrences in S is 2n.