TSTP Solution File: CAT012-4 by Twee---2.4.2

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Twee---2.4.2
% Problem  : CAT012-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 : n010.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:55 EDT 2023

% Result   : Unsatisfiable 0.10s 0.36s
% Output   : Proof 0.10s
% Verified : 
% SZS Type : -

% Comments : 
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.08/0.12  % Problem  : CAT012-4 : TPTP v8.1.2. Released v1.0.0.
% 0.09/0.12  % Command  : parallel-twee %s --tstp --conditional-encoding if --smaller --drop-non-horn --give-up-on-saturation --explain-encoding --formal-proof
% 0.10/0.32  % Computer : n010.cluster.edu
% 0.10/0.32  % Model    : x86_64 x86_64
% 0.10/0.32  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.10/0.32  % Memory   : 8042.1875MB
% 0.10/0.32  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.10/0.32  % CPULimit : 300
% 0.10/0.32  % WCLimit  : 300
% 0.10/0.32  % DateTime : Sun Aug 27 00:25:05 EDT 2023
% 0.10/0.33  % CPUTime  : 
% 0.10/0.36  Command-line arguments: --lhs-weight 1 --flip-ordering --normalise-queue-percent 10 --cp-renormalise-threshold 10
% 0.10/0.36  
% 0.10/0.36  % SZS status Unsatisfiable
% 0.10/0.36  
% 0.10/0.37  % SZS output start Proof
% 0.10/0.37  Take the following subset of the input axioms:
% 0.10/0.37    fof(assume_domain_exists, hypothesis, there_exists(domain(a))).
% 0.10/0.37    fof(compose_domain, axiom, ![X]: compose(X, domain(X))=X).
% 0.10/0.37    fof(domain_codomain_composition1, axiom, ![Y, X2]: (~there_exists(compose(X2, Y)) | domain(X2)=codomain(Y))).
% 0.10/0.37    fof(domain_has_elements, axiom, ![X2]: (~there_exists(domain(X2)) | there_exists(X2))).
% 0.10/0.37    fof(prove_codomain_of_domain_is_domain, negated_conjecture, codomain(domain(a))!=domain(a)).
% 0.10/0.37  
% 0.10/0.37  Now clausify the problem and encode Horn clauses using encoding 3 of
% 0.10/0.37  http://www.cse.chalmers.se/~nicsma/papers/horn.pdf.
% 0.10/0.37  We repeatedly replace C & s=t => u=v by the two clauses:
% 0.10/0.37    fresh(y, y, x1...xn) = u
% 0.10/0.37    C => fresh(s, t, x1...xn) = v
% 0.10/0.37  where fresh is a fresh function symbol and x1..xn are the free
% 0.10/0.37  variables of u and v.
% 0.10/0.37  A predicate p(X) is encoded as p(X)=true (this is sound, because the
% 0.10/0.37  input problem has no model of domain size 1).
% 0.10/0.37  
% 0.10/0.37  The encoding turns the above axioms into the following unit equations and goals:
% 0.10/0.37  
% 0.10/0.37  Axiom 1 (assume_domain_exists): there_exists(domain(a)) = true.
% 0.10/0.37  Axiom 2 (compose_domain): compose(X, domain(X)) = X.
% 0.10/0.37  Axiom 3 (domain_has_elements): fresh4(X, X, Y) = true.
% 0.10/0.37  Axiom 4 (domain_codomain_composition1): fresh7(X, X, Y, Z) = codomain(Z).
% 0.10/0.37  Axiom 5 (domain_has_elements): fresh4(there_exists(domain(X)), true, X) = there_exists(X).
% 0.10/0.37  Axiom 6 (domain_codomain_composition1): fresh7(there_exists(compose(X, Y)), true, X, Y) = domain(X).
% 0.10/0.37  
% 0.10/0.37  Goal 1 (prove_codomain_of_domain_is_domain): codomain(domain(a)) = domain(a).
% 0.10/0.37  Proof:
% 0.10/0.37    codomain(domain(a))
% 0.10/0.37  = { by axiom 4 (domain_codomain_composition1) R->L }
% 0.10/0.37    fresh7(true, true, a, domain(a))
% 0.10/0.37  = { by axiom 3 (domain_has_elements) R->L }
% 0.10/0.37    fresh7(fresh4(true, true, a), true, a, domain(a))
% 0.10/0.37  = { by axiom 1 (assume_domain_exists) R->L }
% 0.10/0.37    fresh7(fresh4(there_exists(domain(a)), true, a), true, a, domain(a))
% 0.10/0.37  = { by axiom 5 (domain_has_elements) }
% 0.10/0.37    fresh7(there_exists(a), true, a, domain(a))
% 0.10/0.37  = { by axiom 2 (compose_domain) R->L }
% 0.10/0.37    fresh7(there_exists(compose(a, domain(a))), true, a, domain(a))
% 0.10/0.37  = { by axiom 6 (domain_codomain_composition1) }
% 0.10/0.37    domain(a)
% 0.10/0.37  % SZS output end Proof
% 0.10/0.37  
% 0.10/0.37  RESULT: Unsatisfiable (the axioms are contradictory).
%------------------------------------------------------------------------------