TSTP Solution File: LCL079-1 by Twee---2.4.2
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Twee---2.4.2
% Problem : LCL079-1 : TPTP v8.1.2. Released v1.0.0.
% Transfm : none
% Format : tptp:raw
% Command : parallel-twee %s --tstp --conditional-encoding if --smaller --drop-non-horn --give-up-on-saturation --explain-encoding --formal-proof
% Computer : n021.cluster.edu
% Model : x86_64 x86_64
% CPU : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory : 8042.1875MB
% OS : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit : 300s
% DateTime : Thu Aug 31 08:17:19 EDT 2023
% Result : Unsatisfiable 0.21s 0.42s
% Output : Proof 0.21s
% Verified :
% SZS Type : -
% Comments :
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.13 % Problem : LCL079-1 : TPTP v8.1.2. Released v1.0.0.
% 0.00/0.14 % Command : parallel-twee %s --tstp --conditional-encoding if --smaller --drop-non-horn --give-up-on-saturation --explain-encoding --formal-proof
% 0.13/0.35 % Computer : n021.cluster.edu
% 0.13/0.35 % Model : x86_64 x86_64
% 0.13/0.35 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.35 % Memory : 8042.1875MB
% 0.13/0.35 % OS : Linux 3.10.0-693.el7.x86_64
% 0.13/0.35 % CPULimit : 300
% 0.13/0.35 % WCLimit : 300
% 0.13/0.35 % DateTime : Thu Aug 24 17:56:25 EDT 2023
% 0.13/0.35 % CPUTime :
% 0.21/0.42 Command-line arguments: --flatten
% 0.21/0.42
% 0.21/0.42 % SZS status Unsatisfiable
% 0.21/0.42
% 0.21/0.43 % SZS output start Proof
% 0.21/0.43 Take the following subset of the input axioms:
% 0.21/0.43 fof(a_implies_b, hypothesis, is_a_theorem(implies(a, b))).
% 0.21/0.43 fof(b_implies_c, hypothesis, is_a_theorem(implies(b, c))).
% 0.21/0.43 fof(cn_18, axiom, ![X, Y]: is_a_theorem(implies(X, implies(Y, X)))).
% 0.21/0.43 fof(cn_35, axiom, ![Z, X2, Y2]: is_a_theorem(implies(implies(X2, implies(Y2, Z)), implies(implies(X2, Y2), implies(X2, Z))))).
% 0.21/0.43 fof(condensed_detachment, axiom, ![X2, Y2]: (~is_a_theorem(implies(X2, Y2)) | (~is_a_theorem(X2) | is_a_theorem(Y2)))).
% 0.21/0.43 fof(prove_transitivity, negated_conjecture, ~is_a_theorem(implies(a, c))).
% 0.21/0.43
% 0.21/0.43 Now clausify the problem and encode Horn clauses using encoding 3 of
% 0.21/0.43 http://www.cse.chalmers.se/~nicsma/papers/horn.pdf.
% 0.21/0.43 We repeatedly replace C & s=t => u=v by the two clauses:
% 0.21/0.43 fresh(y, y, x1...xn) = u
% 0.21/0.43 C => fresh(s, t, x1...xn) = v
% 0.21/0.43 where fresh is a fresh function symbol and x1..xn are the free
% 0.21/0.43 variables of u and v.
% 0.21/0.43 A predicate p(X) is encoded as p(X)=true (this is sound, because the
% 0.21/0.43 input problem has no model of domain size 1).
% 0.21/0.43
% 0.21/0.43 The encoding turns the above axioms into the following unit equations and goals:
% 0.21/0.43
% 0.21/0.43 Axiom 1 (condensed_detachment): fresh2(X, X, Y) = true.
% 0.21/0.43 Axiom 2 (a_implies_b): is_a_theorem(implies(a, b)) = true.
% 0.21/0.43 Axiom 3 (b_implies_c): is_a_theorem(implies(b, c)) = true.
% 0.21/0.43 Axiom 4 (condensed_detachment): fresh(X, X, Y, Z) = is_a_theorem(Z).
% 0.21/0.43 Axiom 5 (cn_18): is_a_theorem(implies(X, implies(Y, X))) = true.
% 0.21/0.43 Axiom 6 (condensed_detachment): fresh(is_a_theorem(implies(X, Y)), true, X, Y) = fresh2(is_a_theorem(X), true, Y).
% 0.21/0.43 Axiom 7 (cn_35): is_a_theorem(implies(implies(X, implies(Y, Z)), implies(implies(X, Y), implies(X, Z)))) = true.
% 0.21/0.43
% 0.21/0.43 Lemma 8: fresh(is_a_theorem(implies(X, Y)), is_a_theorem(implies(a, b)), X, Y) = fresh2(is_a_theorem(X), is_a_theorem(implies(a, b)), Y).
% 0.21/0.43 Proof:
% 0.21/0.43 fresh(is_a_theorem(implies(X, Y)), is_a_theorem(implies(a, b)), X, Y)
% 0.21/0.43 = { by axiom 2 (a_implies_b) }
% 0.21/0.43 fresh(is_a_theorem(implies(X, Y)), true, X, Y)
% 0.21/0.43 = { by axiom 6 (condensed_detachment) }
% 0.21/0.43 fresh2(is_a_theorem(X), true, Y)
% 0.21/0.43 = { by axiom 2 (a_implies_b) R->L }
% 0.21/0.43 fresh2(is_a_theorem(X), is_a_theorem(implies(a, b)), Y)
% 0.21/0.43
% 0.21/0.43 Goal 1 (prove_transitivity): is_a_theorem(implies(a, c)) = true.
% 0.21/0.43 Proof:
% 0.21/0.43 is_a_theorem(implies(a, c))
% 0.21/0.43 = { by axiom 4 (condensed_detachment) R->L }
% 0.21/0.43 fresh(is_a_theorem(implies(a, b)), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by axiom 2 (a_implies_b) }
% 0.21/0.43 fresh(true, is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by axiom 1 (condensed_detachment) R->L }
% 0.21/0.43 fresh(fresh2(is_a_theorem(implies(a, b)), is_a_theorem(implies(a, b)), implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by axiom 2 (a_implies_b) }
% 0.21/0.43 fresh(fresh2(true, is_a_theorem(implies(a, b)), implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by axiom 1 (condensed_detachment) R->L }
% 0.21/0.43 fresh(fresh2(fresh2(is_a_theorem(implies(a, b)), is_a_theorem(implies(a, b)), implies(a, implies(b, c))), is_a_theorem(implies(a, b)), implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by axiom 2 (a_implies_b) }
% 0.21/0.43 fresh(fresh2(fresh2(true, is_a_theorem(implies(a, b)), implies(a, implies(b, c))), is_a_theorem(implies(a, b)), implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by axiom 3 (b_implies_c) R->L }
% 0.21/0.43 fresh(fresh2(fresh2(is_a_theorem(implies(b, c)), is_a_theorem(implies(a, b)), implies(a, implies(b, c))), is_a_theorem(implies(a, b)), implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by lemma 8 R->L }
% 0.21/0.43 fresh(fresh2(fresh(is_a_theorem(implies(implies(b, c), implies(a, implies(b, c)))), is_a_theorem(implies(a, b)), implies(b, c), implies(a, implies(b, c))), is_a_theorem(implies(a, b)), implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by axiom 5 (cn_18) }
% 0.21/0.43 fresh(fresh2(fresh(true, is_a_theorem(implies(a, b)), implies(b, c), implies(a, implies(b, c))), is_a_theorem(implies(a, b)), implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by axiom 2 (a_implies_b) R->L }
% 0.21/0.43 fresh(fresh2(fresh(is_a_theorem(implies(a, b)), is_a_theorem(implies(a, b)), implies(b, c), implies(a, implies(b, c))), is_a_theorem(implies(a, b)), implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by axiom 4 (condensed_detachment) }
% 0.21/0.43 fresh(fresh2(is_a_theorem(implies(a, implies(b, c))), is_a_theorem(implies(a, b)), implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by lemma 8 R->L }
% 0.21/0.43 fresh(fresh(is_a_theorem(implies(implies(a, implies(b, c)), implies(implies(a, b), implies(a, c)))), is_a_theorem(implies(a, b)), implies(a, implies(b, c)), implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by axiom 7 (cn_35) }
% 0.21/0.43 fresh(fresh(true, is_a_theorem(implies(a, b)), implies(a, implies(b, c)), implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by axiom 2 (a_implies_b) R->L }
% 0.21/0.43 fresh(fresh(is_a_theorem(implies(a, b)), is_a_theorem(implies(a, b)), implies(a, implies(b, c)), implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by axiom 4 (condensed_detachment) }
% 0.21/0.43 fresh(is_a_theorem(implies(implies(a, b), implies(a, c))), is_a_theorem(implies(a, b)), implies(a, b), implies(a, c))
% 0.21/0.43 = { by lemma 8 }
% 0.21/0.43 fresh2(is_a_theorem(implies(a, b)), is_a_theorem(implies(a, b)), implies(a, c))
% 0.21/0.43 = { by axiom 1 (condensed_detachment) }
% 0.21/0.43 true
% 0.21/0.43 % SZS output end Proof
% 0.21/0.43
% 0.21/0.43 RESULT: Unsatisfiable (the axioms are contradictory).
%------------------------------------------------------------------------------