TSTP Solution File: CAT009-3 by Twee---2.4.2

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Twee---2.4.2
% Problem  : CAT009-3 : 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 : n025.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:52 EDT 2023

% Result   : Unsatisfiable 0.21s 0.41s
% Output   : Proof 0.21s
% Verified : 
% SZS Type : -

% Comments : 
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem  : CAT009-3 : TPTP v8.1.2. Released v1.0.0.
% 0.00/0.13  % 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 : n025.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 : Sun Aug 27 00:46:53 EDT 2023
% 0.13/0.35  % CPUTime  : 
% 0.21/0.41  Command-line arguments: --lhs-weight 1 --flip-ordering --normalise-queue-percent 10 --cp-renormalise-threshold 10
% 0.21/0.41  
% 0.21/0.41  % SZS status Unsatisfiable
% 0.21/0.41  
% 0.21/0.41  % SZS output start Proof
% 0.21/0.41  Take the following subset of the input axioms:
% 0.21/0.41    fof(ab_exists, hypothesis, there_exists(compose(a, b))).
% 0.21/0.41    fof(associativity_of_compose, axiom, ![X, Y, Z]: compose(X, compose(Y, Z))=compose(compose(X, Y), Z)).
% 0.21/0.41    fof(codomain_has_elements, axiom, ![X2]: (~there_exists(codomain(X2)) | there_exists(X2))).
% 0.21/0.41    fof(compose_domain, axiom, ![X2]: compose(X2, domain(X2))=X2).
% 0.21/0.41    fof(composition_implies_domain, axiom, ![X2, Y2]: (~there_exists(compose(X2, Y2)) | there_exists(domain(X2)))).
% 0.21/0.41    fof(domain_codomain_composition1, axiom, ![X2, Y2]: (~there_exists(compose(X2, Y2)) | domain(X2)=codomain(Y2))).
% 0.21/0.41    fof(prove_domain_of_ab_equals_domain_of_b, negated_conjecture, domain(compose(a, b))!=domain(b)).
% 0.21/0.41  
% 0.21/0.41  Now clausify the problem and encode Horn clauses using encoding 3 of
% 0.21/0.41  http://www.cse.chalmers.se/~nicsma/papers/horn.pdf.
% 0.21/0.41  We repeatedly replace C & s=t => u=v by the two clauses:
% 0.21/0.41    fresh(y, y, x1...xn) = u
% 0.21/0.41    C => fresh(s, t, x1...xn) = v
% 0.21/0.41  where fresh is a fresh function symbol and x1..xn are the free
% 0.21/0.41  variables of u and v.
% 0.21/0.41  A predicate p(X) is encoded as p(X)=true (this is sound, because the
% 0.21/0.41  input problem has no model of domain size 1).
% 0.21/0.41  
% 0.21/0.41  The encoding turns the above axioms into the following unit equations and goals:
% 0.21/0.41  
% 0.21/0.41  Axiom 1 (ab_exists): there_exists(compose(a, b)) = true.
% 0.21/0.41  Axiom 2 (compose_domain): compose(X, domain(X)) = X.
% 0.21/0.41  Axiom 3 (codomain_has_elements): fresh13(X, X, Y) = true.
% 0.21/0.41  Axiom 4 (composition_implies_domain): fresh12(X, X, Y) = true.
% 0.21/0.41  Axiom 5 (associativity_of_compose): compose(X, compose(Y, Z)) = compose(compose(X, Y), Z).
% 0.21/0.41  Axiom 6 (domain_codomain_composition1): fresh11(X, X, Y, Z) = codomain(Z).
% 0.21/0.41  Axiom 7 (codomain_has_elements): fresh13(there_exists(codomain(X)), true, X) = there_exists(X).
% 0.21/0.41  Axiom 8 (composition_implies_domain): fresh12(there_exists(compose(X, Y)), true, X) = there_exists(domain(X)).
% 0.21/0.41  Axiom 9 (domain_codomain_composition1): fresh11(there_exists(compose(X, Y)), true, X, Y) = domain(X).
% 0.21/0.41  
% 0.21/0.41  Goal 1 (prove_domain_of_ab_equals_domain_of_b): domain(compose(a, b)) = domain(b).
% 0.21/0.41  Proof:
% 0.21/0.41    domain(compose(a, b))
% 0.21/0.41  = { by axiom 9 (domain_codomain_composition1) R->L }
% 0.21/0.41    fresh11(there_exists(compose(compose(a, b), domain(b))), true, compose(a, b), domain(b))
% 0.21/0.42  = { by axiom 5 (associativity_of_compose) R->L }
% 0.21/0.42    fresh11(there_exists(compose(a, compose(b, domain(b)))), true, compose(a, b), domain(b))
% 0.21/0.42  = { by axiom 2 (compose_domain) }
% 0.21/0.42    fresh11(there_exists(compose(a, b)), true, compose(a, b), domain(b))
% 0.21/0.42  = { by axiom 1 (ab_exists) }
% 0.21/0.42    fresh11(true, true, compose(a, b), domain(b))
% 0.21/0.42  = { by axiom 6 (domain_codomain_composition1) }
% 0.21/0.42    codomain(domain(b))
% 0.21/0.42  = { by axiom 6 (domain_codomain_composition1) R->L }
% 0.21/0.42    fresh11(true, true, b, domain(b))
% 0.21/0.42  = { by axiom 3 (codomain_has_elements) R->L }
% 0.21/0.42    fresh11(fresh13(true, true, b), true, b, domain(b))
% 0.21/0.42  = { by axiom 4 (composition_implies_domain) R->L }
% 0.21/0.42    fresh11(fresh13(fresh12(true, true, a), true, b), true, b, domain(b))
% 0.21/0.42  = { by axiom 1 (ab_exists) R->L }
% 0.21/0.42    fresh11(fresh13(fresh12(there_exists(compose(a, b)), true, a), true, b), true, b, domain(b))
% 0.21/0.42  = { by axiom 8 (composition_implies_domain) }
% 0.21/0.42    fresh11(fresh13(there_exists(domain(a)), true, b), true, b, domain(b))
% 0.21/0.42  = { by axiom 9 (domain_codomain_composition1) R->L }
% 0.21/0.42    fresh11(fresh13(there_exists(fresh11(there_exists(compose(a, b)), true, a, b)), true, b), true, b, domain(b))
% 0.21/0.42  = { by axiom 1 (ab_exists) }
% 0.21/0.42    fresh11(fresh13(there_exists(fresh11(true, true, a, b)), true, b), true, b, domain(b))
% 0.21/0.42  = { by axiom 6 (domain_codomain_composition1) }
% 0.21/0.42    fresh11(fresh13(there_exists(codomain(b)), true, b), true, b, domain(b))
% 0.21/0.42  = { by axiom 7 (codomain_has_elements) }
% 0.21/0.42    fresh11(there_exists(b), true, b, domain(b))
% 0.21/0.42  = { by axiom 2 (compose_domain) R->L }
% 0.21/0.42    fresh11(there_exists(compose(b, domain(b))), true, b, domain(b))
% 0.21/0.42  = { by axiom 9 (domain_codomain_composition1) }
% 0.21/0.42    domain(b)
% 0.21/0.42  % SZS output end Proof
% 0.21/0.42  
% 0.21/0.42  RESULT: Unsatisfiable (the axioms are contradictory).
%------------------------------------------------------------------------------