TSTP Solution File: KLE022+1 by Twee---2.4.2
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Twee---2.4.2
% Problem : KLE022+1 : TPTP v8.1.2. Released v4.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 : n011.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 05:35:31 EDT 2023
% Result : Theorem 0.21s 0.42s
% Output : Proof 0.21s
% Verified :
% SZS Type : -
% Comments :
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.10/0.12 % Problem : KLE022+1 : TPTP v8.1.2. Released v4.0.0.
% 0.10/0.13 % Command : parallel-twee %s --tstp --conditional-encoding if --smaller --drop-non-horn --give-up-on-saturation --explain-encoding --formal-proof
% 0.14/0.34 % Computer : n011.cluster.edu
% 0.14/0.34 % Model : x86_64 x86_64
% 0.14/0.34 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.34 % Memory : 8042.1875MB
% 0.14/0.34 % OS : Linux 3.10.0-693.el7.x86_64
% 0.14/0.34 % CPULimit : 300
% 0.14/0.34 % WCLimit : 300
% 0.14/0.34 % DateTime : Tue Aug 29 12:36:41 EDT 2023
% 0.14/0.34 % CPUTime :
% 0.21/0.42 Command-line arguments: --lhs-weight 1 --flip-ordering --normalise-queue-percent 10 --cp-renormalise-threshold 10
% 0.21/0.42
% 0.21/0.42 % SZS status Theorem
% 0.21/0.42
% 0.21/0.42 % SZS output start Proof
% 0.21/0.42 Take the following subset of the input axioms:
% 0.21/0.43 fof(additive_commutativity, axiom, ![A, B]: addition(A, B)=addition(B, A)).
% 0.21/0.43 fof(goals, conjecture, ![X0, X1]: (test(X1) => X0=addition(multiplication(X0, X1), multiplication(X0, c(X1))))).
% 0.21/0.43 fof(multiplicative_right_identity, axiom, ![A2]: multiplication(A2, one)=A2).
% 0.21/0.43 fof(right_distributivity, axiom, ![C, A2, B2]: multiplication(A2, addition(B2, C))=addition(multiplication(A2, B2), multiplication(A2, C))).
% 0.21/0.43 fof(test_2, axiom, ![X0_2, X1_2]: (complement(X1_2, X0_2) <=> (multiplication(X0_2, X1_2)=zero & (multiplication(X1_2, X0_2)=zero & addition(X0_2, X1_2)=one)))).
% 0.21/0.43 fof(test_3, axiom, ![X0_2, X1_2]: (test(X0_2) => (c(X0_2)=X1_2 <=> complement(X0_2, X1_2)))).
% 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 (goals): test(x1) = true.
% 0.21/0.43 Axiom 2 (multiplicative_right_identity): multiplication(X, one) = X.
% 0.21/0.43 Axiom 3 (additive_commutativity): addition(X, Y) = addition(Y, X).
% 0.21/0.43 Axiom 4 (test_2_1): fresh8(X, X, Y, Z) = one.
% 0.21/0.43 Axiom 5 (test_3): fresh5(X, X, Y, Z) = complement(Y, Z).
% 0.21/0.43 Axiom 6 (test_3): fresh4(X, X, Y, Z) = true.
% 0.21/0.43 Axiom 7 (test_3): fresh5(test(X), true, X, Y) = fresh4(c(X), Y, X, Y).
% 0.21/0.43 Axiom 8 (right_distributivity): multiplication(X, addition(Y, Z)) = addition(multiplication(X, Y), multiplication(X, Z)).
% 0.21/0.43 Axiom 9 (test_2_1): fresh8(complement(X, Y), true, Y, X) = addition(Y, X).
% 0.21/0.43
% 0.21/0.43 Goal 1 (goals_1): x0 = addition(multiplication(x0, x1), multiplication(x0, c(x1))).
% 0.21/0.43 Proof:
% 0.21/0.43 x0
% 0.21/0.43 = { by axiom 2 (multiplicative_right_identity) R->L }
% 0.21/0.43 multiplication(x0, one)
% 0.21/0.43 = { by axiom 4 (test_2_1) R->L }
% 0.21/0.43 multiplication(x0, fresh8(true, true, c(x1), x1))
% 0.21/0.43 = { by axiom 6 (test_3) R->L }
% 0.21/0.43 multiplication(x0, fresh8(fresh4(c(x1), c(x1), x1, c(x1)), true, c(x1), x1))
% 0.21/0.43 = { by axiom 7 (test_3) R->L }
% 0.21/0.43 multiplication(x0, fresh8(fresh5(test(x1), true, x1, c(x1)), true, c(x1), x1))
% 0.21/0.43 = { by axiom 1 (goals) }
% 0.21/0.43 multiplication(x0, fresh8(fresh5(true, true, x1, c(x1)), true, c(x1), x1))
% 0.21/0.43 = { by axiom 5 (test_3) }
% 0.21/0.43 multiplication(x0, fresh8(complement(x1, c(x1)), true, c(x1), x1))
% 0.21/0.43 = { by axiom 9 (test_2_1) }
% 0.21/0.43 multiplication(x0, addition(c(x1), x1))
% 0.21/0.43 = { by axiom 8 (right_distributivity) }
% 0.21/0.43 addition(multiplication(x0, c(x1)), multiplication(x0, x1))
% 0.21/0.43 = { by axiom 3 (additive_commutativity) R->L }
% 0.21/0.43 addition(multiplication(x0, x1), multiplication(x0, c(x1)))
% 0.21/0.43 % SZS output end Proof
% 0.21/0.43
% 0.21/0.43 RESULT: Theorem (the conjecture is true).
%------------------------------------------------------------------------------