TSTP Solution File: CAT005-4 by Twee---2.4.2
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Twee---2.4.2
% Problem : CAT005-4 : 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 : n014.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 : Wed Aug 30 18:18:50 EDT 2023
% Result : Unsatisfiable 0.17s 0.37s
% Output : Proof 0.17s
% Verified :
% SZS Type : -
% Comments :
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.11 % Problem : CAT005-4 : TPTP v8.1.2. Released v1.0.0.
% 0.00/0.12 % Command : parallel-twee %s --tstp --conditional-encoding if --smaller --drop-non-horn --give-up-on-saturation --explain-encoding --formal-proof
% 0.11/0.32 % Computer : n014.cluster.edu
% 0.11/0.32 % Model : x86_64 x86_64
% 0.11/0.32 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.11/0.32 % Memory : 8042.1875MB
% 0.11/0.32 % OS : Linux 3.10.0-693.el7.x86_64
% 0.11/0.32 % CPULimit : 300
% 0.11/0.32 % WCLimit : 300
% 0.11/0.32 % DateTime : Sun Aug 27 00:15:47 EDT 2023
% 0.11/0.32 % CPUTime :
% 0.17/0.37 Command-line arguments: --ground-connectedness --complete-subsets
% 0.17/0.37
% 0.17/0.37 % SZS status Unsatisfiable
% 0.17/0.37
% 0.17/0.37 % SZS output start Proof
% 0.17/0.37 Take the following subset of the input axioms:
% 0.17/0.37 fof(ad_exists, hypothesis, there_exists(compose(a, d))).
% 0.17/0.37 fof(codomain_has_elements, axiom, ![X]: (~there_exists(codomain(X)) | there_exists(X))).
% 0.17/0.37 fof(compose_codomain, axiom, ![X2]: compose(codomain(X2), X2)=X2).
% 0.17/0.37 fof(composition_implies_domain, axiom, ![Y, X2]: (~there_exists(compose(X2, Y)) | there_exists(domain(X2)))).
% 0.17/0.37 fof(domain_codomain_composition1, axiom, ![X2, Y2]: (~there_exists(compose(X2, Y2)) | domain(X2)=codomain(Y2))).
% 0.17/0.37 fof(prove_domain_of_a_is_d, negated_conjecture, domain(a)!=d).
% 0.17/0.37 fof(xd_equals_x, hypothesis, ![X2]: (~there_exists(compose(X2, d)) | compose(X2, d)=X2)).
% 0.17/0.37
% 0.17/0.37 Now clausify the problem and encode Horn clauses using encoding 3 of
% 0.17/0.37 http://www.cse.chalmers.se/~nicsma/papers/horn.pdf.
% 0.17/0.37 We repeatedly replace C & s=t => u=v by the two clauses:
% 0.17/0.37 fresh(y, y, x1...xn) = u
% 0.17/0.37 C => fresh(s, t, x1...xn) = v
% 0.17/0.37 where fresh is a fresh function symbol and x1..xn are the free
% 0.17/0.37 variables of u and v.
% 0.17/0.37 A predicate p(X) is encoded as p(X)=true (this is sound, because the
% 0.17/0.37 input problem has no model of domain size 1).
% 0.17/0.37
% 0.17/0.37 The encoding turns the above axioms into the following unit equations and goals:
% 0.17/0.37
% 0.17/0.37 Axiom 1 (composition_implies_domain): fresh11(X, X, Y) = true.
% 0.17/0.37 Axiom 2 (codomain_has_elements): fresh10(X, X, Y) = true.
% 0.17/0.37 Axiom 3 (xd_equals_x): fresh3(X, X, Y) = Y.
% 0.17/0.37 Axiom 4 (ad_exists): there_exists(compose(a, d)) = true.
% 0.17/0.37 Axiom 5 (compose_codomain): compose(codomain(X), X) = X.
% 0.17/0.37 Axiom 6 (domain_codomain_composition1): fresh9(X, X, Y, Z) = codomain(Z).
% 0.17/0.37 Axiom 7 (codomain_has_elements): fresh10(there_exists(codomain(X)), true, X) = there_exists(X).
% 0.17/0.37 Axiom 8 (composition_implies_domain): fresh11(there_exists(compose(X, Y)), true, X) = there_exists(domain(X)).
% 0.17/0.37 Axiom 9 (xd_equals_x): fresh3(there_exists(compose(X, d)), true, X) = compose(X, d).
% 0.17/0.37 Axiom 10 (domain_codomain_composition1): fresh9(there_exists(compose(X, Y)), true, X, Y) = domain(X).
% 0.17/0.37
% 0.17/0.37 Lemma 11: domain(a) = codomain(d).
% 0.17/0.37 Proof:
% 0.17/0.37 domain(a)
% 0.17/0.37 = { by axiom 10 (domain_codomain_composition1) R->L }
% 0.17/0.37 fresh9(there_exists(compose(a, d)), true, a, d)
% 0.17/0.37 = { by axiom 4 (ad_exists) }
% 0.17/0.37 fresh9(true, true, a, d)
% 0.17/0.37 = { by axiom 6 (domain_codomain_composition1) }
% 0.17/0.37 codomain(d)
% 0.17/0.37
% 0.17/0.37 Lemma 12: compose(domain(a), d) = d.
% 0.17/0.37 Proof:
% 0.17/0.37 compose(domain(a), d)
% 0.17/0.37 = { by lemma 11 }
% 0.17/0.37 compose(codomain(d), d)
% 0.17/0.37 = { by axiom 5 (compose_codomain) }
% 0.17/0.37 d
% 0.17/0.37
% 0.17/0.37 Goal 1 (prove_domain_of_a_is_d): domain(a) = d.
% 0.17/0.37 Proof:
% 0.17/0.37 domain(a)
% 0.17/0.37 = { by axiom 3 (xd_equals_x) R->L }
% 0.17/0.37 fresh3(true, true, domain(a))
% 0.17/0.37 = { by axiom 2 (codomain_has_elements) R->L }
% 0.17/0.37 fresh3(fresh10(true, true, d), true, domain(a))
% 0.17/0.37 = { by axiom 1 (composition_implies_domain) R->L }
% 0.17/0.37 fresh3(fresh10(fresh11(true, true, a), true, d), true, domain(a))
% 0.17/0.37 = { by axiom 4 (ad_exists) R->L }
% 0.17/0.37 fresh3(fresh10(fresh11(there_exists(compose(a, d)), true, a), true, d), true, domain(a))
% 0.17/0.37 = { by axiom 8 (composition_implies_domain) }
% 0.17/0.37 fresh3(fresh10(there_exists(domain(a)), true, d), true, domain(a))
% 0.17/0.37 = { by lemma 11 }
% 0.17/0.37 fresh3(fresh10(there_exists(codomain(d)), true, d), true, domain(a))
% 0.17/0.37 = { by axiom 7 (codomain_has_elements) }
% 0.17/0.37 fresh3(there_exists(d), true, domain(a))
% 0.17/0.37 = { by lemma 12 R->L }
% 0.17/0.37 fresh3(there_exists(compose(domain(a), d)), true, domain(a))
% 0.17/0.37 = { by axiom 9 (xd_equals_x) }
% 0.17/0.37 compose(domain(a), d)
% 0.17/0.37 = { by lemma 12 }
% 0.17/0.37 d
% 0.17/0.37 % SZS output end Proof
% 0.17/0.37
% 0.17/0.37 RESULT: Unsatisfiable (the axioms are contradictory).
%------------------------------------------------------------------------------