TSTP Solution File: SWB005+2 by Twee---2.4.2

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Twee---2.4.2
% Problem  : SWB005+2 : TPTP v8.1.2. Released v5.2.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 : n002.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 20:12:43 EDT 2023

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

% Comments : 
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.08/0.13  % Problem  : SWB005+2 : TPTP v8.1.2. Released v5.2.0.
% 0.08/0.14  % Command  : parallel-twee %s --tstp --conditional-encoding if --smaller --drop-non-horn --give-up-on-saturation --explain-encoding --formal-proof
% 0.14/0.35  % Computer : n002.cluster.edu
% 0.14/0.35  % Model    : x86_64 x86_64
% 0.14/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.35  % Memory   : 8042.1875MB
% 0.14/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.36  % CPULimit : 300
% 0.14/0.36  % WCLimit  : 300
% 0.14/0.36  % DateTime : Sun Aug 27 07:03:33 EDT 2023
% 0.14/0.36  % CPUTime  : 
% 0.21/0.41  Command-line arguments: --set-join --lhs-weight 1 --no-flatten-goal --complete-subsets --goal-heuristic
% 0.21/0.41  
% 0.21/0.41  % SZS status Theorem
% 0.21/0.41  
% 0.21/0.42  % SZS output start Proof
% 0.21/0.42  Take the following subset of the input axioms:
% 0.21/0.42    fof(owl_class_objectproperty_ext, axiom, ![X]: (icext(uri_owl_ObjectProperty, X) <=> ip(X))).
% 0.21/0.42    fof(owl_class_thing_ext, axiom, ![X2]: (icext(uri_owl_Thing, X2) <=> ir(X2))).
% 0.21/0.42    fof(rdf_type_ip, axiom, ![P]: (iext(uri_rdf_type, P, uri_rdf_Property) <=> ip(P))).
% 0.21/0.42    fof(rdfs_cext_def, axiom, ![C, X2]: (iext(uri_rdf_type, X2, C) <=> icext(C, X2))).
% 0.21/0.42    fof(rdfs_ir_def, axiom, ![X2]: (ir(X2) <=> icext(uri_rdfs_Resource, X2))).
% 0.21/0.42    fof(simple_iext_property, axiom, ![S, O, P2]: (iext(P2, S, O) => ip(P2))).
% 0.21/0.42    fof(simple_ir, axiom, ![X2]: ir(X2)).
% 0.21/0.42    fof(testcase_conclusion_fullish_005_Everything_is_a_Resource, conjecture, iext(uri_rdf_type, uri_ex_s, uri_rdfs_Resource) & (iext(uri_rdf_type, uri_ex_s, uri_owl_Thing) & (iext(uri_rdf_type, uri_ex_p, uri_rdfs_Resource) & (iext(uri_rdf_type, uri_ex_p, uri_owl_Thing) & (iext(uri_rdf_type, uri_ex_p, uri_rdf_Property) & (iext(uri_rdf_type, uri_ex_p, uri_owl_ObjectProperty) & (iext(uri_rdf_type, uri_ex_o, uri_rdfs_Resource) & iext(uri_rdf_type, uri_ex_o, uri_owl_Thing)))))))).
% 0.21/0.42    fof(testcase_premise_fullish_005_Everything_is_a_Resource, axiom, iext(uri_ex_p, uri_ex_s, uri_ex_o)).
% 0.21/0.42  
% 0.21/0.42  Now clausify the problem and encode Horn clauses using encoding 3 of
% 0.21/0.42  http://www.cse.chalmers.se/~nicsma/papers/horn.pdf.
% 0.21/0.42  We repeatedly replace C & s=t => u=v by the two clauses:
% 0.21/0.42    fresh(y, y, x1...xn) = u
% 0.21/0.42    C => fresh(s, t, x1...xn) = v
% 0.21/0.42  where fresh is a fresh function symbol and x1..xn are the free
% 0.21/0.42  variables of u and v.
% 0.21/0.42  A predicate p(X) is encoded as p(X)=true (this is sound, because the
% 0.21/0.42  input problem has no model of domain size 1).
% 0.21/0.42  
% 0.21/0.42  The encoding turns the above axioms into the following unit equations and goals:
% 0.21/0.42  
% 0.21/0.42  Axiom 1 (simple_ir): ir(X) = true.
% 0.21/0.42  Axiom 2 (simple_iext_property): fresh(X, X, Y) = true.
% 0.21/0.42  Axiom 3 (owl_class_objectproperty_ext): fresh10(X, X, Y) = true.
% 0.21/0.42  Axiom 4 (owl_class_thing_ext): fresh9(X, X, Y) = true.
% 0.21/0.42  Axiom 5 (rdf_type_ip_1): fresh6(X, X, Y) = true.
% 0.21/0.42  Axiom 6 (rdfs_ir_def): fresh3(X, X, Y) = true.
% 0.21/0.42  Axiom 7 (testcase_premise_fullish_005_Everything_is_a_Resource): iext(uri_ex_p, uri_ex_s, uri_ex_o) = true.
% 0.21/0.42  Axiom 8 (owl_class_objectproperty_ext): fresh10(ip(X), true, X) = icext(uri_owl_ObjectProperty, X).
% 0.21/0.42  Axiom 9 (owl_class_thing_ext): fresh9(ir(X), true, X) = icext(uri_owl_Thing, X).
% 0.21/0.42  Axiom 10 (rdf_type_ip_1): fresh6(ip(X), true, X) = iext(uri_rdf_type, X, uri_rdf_Property).
% 0.21/0.42  Axiom 11 (rdfs_cext_def_1): fresh4(X, X, Y, Z) = true.
% 0.21/0.42  Axiom 12 (rdfs_ir_def): fresh3(ir(X), true, X) = icext(uri_rdfs_Resource, X).
% 0.21/0.42  Axiom 13 (simple_iext_property): fresh(iext(X, Y, Z), true, X) = ip(X).
% 0.21/0.42  Axiom 14 (rdfs_cext_def_1): fresh4(icext(X, Y), true, Y, X) = iext(uri_rdf_type, Y, X).
% 0.21/0.42  
% 0.21/0.42  Lemma 15: ip(uri_ex_p) = true.
% 0.21/0.42  Proof:
% 0.21/0.42    ip(uri_ex_p)
% 0.21/0.42  = { by axiom 13 (simple_iext_property) R->L }
% 0.21/0.42    fresh(iext(uri_ex_p, uri_ex_s, uri_ex_o), true, uri_ex_p)
% 0.21/0.42  = { by axiom 7 (testcase_premise_fullish_005_Everything_is_a_Resource) }
% 0.21/0.42    fresh(true, true, uri_ex_p)
% 0.21/0.42  = { by axiom 2 (simple_iext_property) }
% 0.21/0.42    true
% 0.21/0.42  
% 0.21/0.42  Lemma 16: iext(uri_rdf_type, X, uri_rdfs_Resource) = true.
% 0.21/0.42  Proof:
% 0.21/0.42    iext(uri_rdf_type, X, uri_rdfs_Resource)
% 0.21/0.42  = { by axiom 14 (rdfs_cext_def_1) R->L }
% 0.21/0.42    fresh4(icext(uri_rdfs_Resource, X), true, X, uri_rdfs_Resource)
% 0.21/0.42  = { by axiom 12 (rdfs_ir_def) R->L }
% 0.21/0.42    fresh4(fresh3(ir(X), true, X), true, X, uri_rdfs_Resource)
% 0.21/0.42  = { by axiom 1 (simple_ir) }
% 0.21/0.42    fresh4(fresh3(true, true, X), true, X, uri_rdfs_Resource)
% 0.21/0.42  = { by axiom 6 (rdfs_ir_def) }
% 0.21/0.42    fresh4(true, true, X, uri_rdfs_Resource)
% 0.21/0.42  = { by axiom 11 (rdfs_cext_def_1) }
% 0.21/0.42    true
% 0.21/0.42  
% 0.21/0.42  Lemma 17: iext(uri_rdf_type, X, uri_owl_Thing) = true.
% 0.21/0.42  Proof:
% 0.21/0.42    iext(uri_rdf_type, X, uri_owl_Thing)
% 0.21/0.42  = { by axiom 14 (rdfs_cext_def_1) R->L }
% 0.21/0.42    fresh4(icext(uri_owl_Thing, X), true, X, uri_owl_Thing)
% 0.21/0.42  = { by axiom 9 (owl_class_thing_ext) R->L }
% 0.21/0.42    fresh4(fresh9(ir(X), true, X), true, X, uri_owl_Thing)
% 0.21/0.42  = { by axiom 1 (simple_ir) }
% 0.21/0.42    fresh4(fresh9(true, true, X), true, X, uri_owl_Thing)
% 0.21/0.42  = { by axiom 4 (owl_class_thing_ext) }
% 0.21/0.42    fresh4(true, true, X, uri_owl_Thing)
% 0.21/0.42  = { by axiom 11 (rdfs_cext_def_1) }
% 0.21/0.42    true
% 0.21/0.42  
% 0.21/0.42  Goal 1 (testcase_conclusion_fullish_005_Everything_is_a_Resource): tuple(iext(uri_rdf_type, uri_ex_s, uri_rdfs_Resource), iext(uri_rdf_type, uri_ex_s, uri_owl_Thing), iext(uri_rdf_type, uri_ex_p, uri_rdf_Property), iext(uri_rdf_type, uri_ex_p, uri_rdfs_Resource), iext(uri_rdf_type, uri_ex_p, uri_owl_Thing), iext(uri_rdf_type, uri_ex_p, uri_owl_ObjectProperty), iext(uri_rdf_type, uri_ex_o, uri_rdfs_Resource), iext(uri_rdf_type, uri_ex_o, uri_owl_Thing)) = tuple(true, true, true, true, true, true, true, true).
% 0.21/0.42  Proof:
% 0.21/0.42    tuple(iext(uri_rdf_type, uri_ex_s, uri_rdfs_Resource), iext(uri_rdf_type, uri_ex_s, uri_owl_Thing), iext(uri_rdf_type, uri_ex_p, uri_rdf_Property), iext(uri_rdf_type, uri_ex_p, uri_rdfs_Resource), iext(uri_rdf_type, uri_ex_p, uri_owl_Thing), iext(uri_rdf_type, uri_ex_p, uri_owl_ObjectProperty), iext(uri_rdf_type, uri_ex_o, uri_rdfs_Resource), iext(uri_rdf_type, uri_ex_o, uri_owl_Thing))
% 0.21/0.42  = { by lemma 17 }
% 0.21/0.42    tuple(iext(uri_rdf_type, uri_ex_s, uri_rdfs_Resource), true, iext(uri_rdf_type, uri_ex_p, uri_rdf_Property), iext(uri_rdf_type, uri_ex_p, uri_rdfs_Resource), iext(uri_rdf_type, uri_ex_p, uri_owl_Thing), iext(uri_rdf_type, uri_ex_p, uri_owl_ObjectProperty), iext(uri_rdf_type, uri_ex_o, uri_rdfs_Resource), iext(uri_rdf_type, uri_ex_o, uri_owl_Thing))
% 0.21/0.42  = { by lemma 17 }
% 0.21/0.42    tuple(iext(uri_rdf_type, uri_ex_s, uri_rdfs_Resource), true, iext(uri_rdf_type, uri_ex_p, uri_rdf_Property), iext(uri_rdf_type, uri_ex_p, uri_rdfs_Resource), true, iext(uri_rdf_type, uri_ex_p, uri_owl_ObjectProperty), iext(uri_rdf_type, uri_ex_o, uri_rdfs_Resource), iext(uri_rdf_type, uri_ex_o, uri_owl_Thing))
% 0.21/0.42  = { by lemma 17 }
% 0.21/0.42    tuple(iext(uri_rdf_type, uri_ex_s, uri_rdfs_Resource), true, iext(uri_rdf_type, uri_ex_p, uri_rdf_Property), iext(uri_rdf_type, uri_ex_p, uri_rdfs_Resource), true, iext(uri_rdf_type, uri_ex_p, uri_owl_ObjectProperty), iext(uri_rdf_type, uri_ex_o, uri_rdfs_Resource), true)
% 0.21/0.42  = { by lemma 16 }
% 0.21/0.42    tuple(true, true, iext(uri_rdf_type, uri_ex_p, uri_rdf_Property), iext(uri_rdf_type, uri_ex_p, uri_rdfs_Resource), true, iext(uri_rdf_type, uri_ex_p, uri_owl_ObjectProperty), iext(uri_rdf_type, uri_ex_o, uri_rdfs_Resource), true)
% 0.21/0.42  = { by lemma 16 }
% 0.21/0.42    tuple(true, true, iext(uri_rdf_type, uri_ex_p, uri_rdf_Property), true, true, iext(uri_rdf_type, uri_ex_p, uri_owl_ObjectProperty), iext(uri_rdf_type, uri_ex_o, uri_rdfs_Resource), true)
% 0.21/0.42  = { by lemma 16 }
% 0.21/0.42    tuple(true, true, iext(uri_rdf_type, uri_ex_p, uri_rdf_Property), true, true, iext(uri_rdf_type, uri_ex_p, uri_owl_ObjectProperty), true, true)
% 0.21/0.42  = { by axiom 10 (rdf_type_ip_1) R->L }
% 0.21/0.42    tuple(true, true, fresh6(ip(uri_ex_p), true, uri_ex_p), true, true, iext(uri_rdf_type, uri_ex_p, uri_owl_ObjectProperty), true, true)
% 0.21/0.42  = { by lemma 15 }
% 0.21/0.42    tuple(true, true, fresh6(true, true, uri_ex_p), true, true, iext(uri_rdf_type, uri_ex_p, uri_owl_ObjectProperty), true, true)
% 0.21/0.42  = { by axiom 5 (rdf_type_ip_1) }
% 0.21/0.42    tuple(true, true, true, true, true, iext(uri_rdf_type, uri_ex_p, uri_owl_ObjectProperty), true, true)
% 0.21/0.42  = { by axiom 14 (rdfs_cext_def_1) R->L }
% 0.21/0.42    tuple(true, true, true, true, true, fresh4(icext(uri_owl_ObjectProperty, uri_ex_p), true, uri_ex_p, uri_owl_ObjectProperty), true, true)
% 0.21/0.42  = { by axiom 8 (owl_class_objectproperty_ext) R->L }
% 0.21/0.42    tuple(true, true, true, true, true, fresh4(fresh10(ip(uri_ex_p), true, uri_ex_p), true, uri_ex_p, uri_owl_ObjectProperty), true, true)
% 0.21/0.42  = { by lemma 15 }
% 0.21/0.42    tuple(true, true, true, true, true, fresh4(fresh10(true, true, uri_ex_p), true, uri_ex_p, uri_owl_ObjectProperty), true, true)
% 0.21/0.42  = { by axiom 3 (owl_class_objectproperty_ext) }
% 0.21/0.42    tuple(true, true, true, true, true, fresh4(true, true, uri_ex_p, uri_owl_ObjectProperty), true, true)
% 0.21/0.42  = { by axiom 11 (rdfs_cext_def_1) }
% 0.21/0.42    tuple(true, true, true, true, true, true, true, true)
% 0.21/0.42  % SZS output end Proof
% 0.21/0.42  
% 0.21/0.42  RESULT: Theorem (the conjecture is true).
%------------------------------------------------------------------------------