↑ Up

Leo-III---1.8.0.THM-Ref.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : Leo-III---1.8.0
% Problem  : PUZ012_1 : TPTP v9.3.1. Released v5.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39

% Computer : n011.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8046.5625MB
% OS       : Linux 6.8.0-71-generic
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Sun Sep 27 08:21:04 AM UTC 2026

% Result   : Theorem 3.56s 2.35s
% Output   : Refutation 3.56s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    3
%            Number of leaves      :   18
% Syntax   : Number of formulae    :   38 (  25 unt;   0 typ;   0 def)
%            Number of atoms       :   59 (   0 equ;   0 cnn)
%            Maximal formula atoms :    3 (   1 avg)
%            Number of connectives :  153 (  16   ~;   8   |;   9   &; 116   @)
%                                         (   0 <=>;   4  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    8 (   5 avg)
%            Number of types       :    3 (   2 usr)
%            Number of type conns  :    0 (   0   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :   11 (  10 usr;   7 con; 0-2 aty)
%            Number of variables   :   24 (   0   ^;  24   !;   0   ?;  24   :)

% Comments : 
%------------------------------------------------------------------------------
thf(box_type,type,
    box: $tType ).

thf(fruit_type,type,
    fruit: $tType ).

thf(boxa_decl,type,
    boxa: box ).

thf(boxb_decl,type,
    boxb: box ).

thf(boxc_decl,type,
    boxc: box ).

thf(apples_decl,type,
    apples: fruit ).

thf(bananas_decl,type,
    bananas: fruit ).

thf(oranges_decl,type,
    oranges: fruit ).

thf(equal_fruits_decl,type,
    equal_fruits: fruit > fruit > $o ).

thf(equal_boxes_decl,type,
    equal_boxes: box > box > $o ).

thf(contains_decl,type,
    contains: box > fruit > $o ).

thf(label_decl,type,
    label: box > fruit > $o ).

thf(1,conjecture,
    ( ( oranges @ ( boxc @ contains ) )
    & ( bananas @ ( boxa @ contains ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_boxa_contains_bananas_and_boxc_oranges) ).

thf(2,negated_conjecture,
    ~ ( ( oranges @ ( boxc @ contains ) )
      & ( bananas @ ( boxa @ contains ) ) ),
    inference(neg_conjecture,[status(cth)],[1]) ).

thf(20,plain,
    ~ ( ( oranges @ ( boxc @ contains ) )
      & ( bananas @ ( boxa @ contains ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).

thf(18,axiom,
    ~ ( boxc @ ( boxa @ equal_boxes ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxa_not_boxc) ).

thf(49,plain,
    ~ ( boxc @ ( boxa @ equal_boxes ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[18]) ).

thf(10,axiom,
    oranges @ ( boxb @ label ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxb_labelled_oranges) ).

thf(35,plain,
    oranges @ ( boxb @ label ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).

thf(17,axiom,
    apples @ ( boxa @ label ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxa_labelled_apples) ).

thf(48,plain,
    apples @ ( boxa @ label ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[17]) ).

thf(8,axiom,
    ~ ( bananas @ ( apples @ equal_fruits ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',apples_not_bananas) ).

thf(31,plain,
    ~ ( bananas @ ( apples @ equal_fruits ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).

thf(16,axiom,
    bananas @ ( boxc @ label ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxc_labelled_bananas) ).

thf(47,plain,
    bananas @ ( boxc @ label ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).

thf(14,axiom,
    ~ ( boxc @ ( boxb @ equal_boxes ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxb_not_boxc) ).

thf(42,plain,
    ~ ( boxc @ ( boxb @ equal_boxes ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).

thf(4,axiom,
    ! [A: box] : ( A @ ( A @ equal_boxes ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',reflexivity_for_boxes) ).

thf(24,plain,
    ! [A: box] : ( A @ ( A @ equal_boxes ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).

thf(9,axiom,
    ~ ( oranges @ ( bananas @ equal_fruits ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',bananas_not_oranges) ).

thf(33,plain,
    ~ ( oranges @ ( bananas @ equal_fruits ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).

thf(6,axiom,
    ~ ( oranges @ ( apples @ equal_fruits ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',apples_not_oranges) ).

thf(28,plain,
    ~ ( oranges @ ( apples @ equal_fruits ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).

thf(12,axiom,
    ! [A: box,B: fruit,C: fruit] :
      ( ( ( C @ ( A @ contains ) )
        & ( B @ ( A @ contains ) ) )
     => ( C @ ( B @ equal_fruits ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',contains_is_well_defined1) ).

thf(38,plain,
    ! [A: box,B: fruit,C: fruit] :
      ( ( ( C @ ( A @ contains ) )
        & ( B @ ( A @ contains ) ) )
     => ( C @ ( B @ equal_fruits ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).

thf(3,axiom,
    ! [A: fruit] : ( A @ ( A @ equal_fruits ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',reflexivity_for_fruits) ).

thf(22,plain,
    ! [A: fruit] : ( A @ ( A @ equal_fruits ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).

thf(15,axiom,
    ! [A: box,B: fruit] :
      ~ ( ( B @ ( A @ contains ) )
        & ( B @ ( A @ label ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',label_is_wrong) ).

thf(44,plain,
    ! [A: box,B: fruit] :
      ~ ( ( B @ ( A @ contains ) )
        & ( B @ ( A @ label ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).

thf(13,axiom,
    ~ ( boxb @ ( boxa @ equal_boxes ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxa_not_boxb) ).

thf(40,plain,
    ~ ( boxb @ ( boxa @ equal_boxes ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).

thf(5,axiom,
    ! [A: box] :
      ( ( oranges @ ( A @ contains ) )
      | ( bananas @ ( A @ contains ) )
      | ( apples @ ( A @ contains ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',each_box_contains_something) ).

thf(26,plain,
    ! [A: box] :
      ( ( oranges @ ( A @ contains ) )
      | ( bananas @ ( A @ contains ) )
      | ( apples @ ( A @ contains ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).

thf(11,axiom,
    ! [A: fruit] :
      ( ( A @ ( boxc @ contains ) )
      | ( A @ ( boxb @ contains ) )
      | ( A @ ( boxa @ contains ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',each_thing_is_in_a_box) ).

thf(36,plain,
    ! [A: fruit] :
      ( ( A @ ( boxc @ contains ) )
      | ( A @ ( boxb @ contains ) )
      | ( A @ ( boxa @ contains ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).

thf(7,axiom,
    apples @ ( boxb @ contains ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxb_contains_apples) ).

thf(30,plain,
    apples @ ( boxb @ contains ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).

thf(19,axiom,
    ! [A: box,B: fruit,C: box] :
      ( ( ( B @ ( C @ contains ) )
        & ( B @ ( A @ contains ) ) )
     => ( C @ ( A @ equal_boxes ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',contains_is_well_defined2) ).

thf(51,plain,
    ! [A: box,B: fruit,C: box] :
      ( ( ( B @ ( C @ contains ) )
        & ( B @ ( A @ contains ) ) )
     => ( C @ ( A @ equal_boxes ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[19]) ).

thf(53,plain,
    $false,
    inference(e,[status(thm)],[20,49,35,48,31,47,42,24,33,28,38,22,44,40,26,36,30,51]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03  % Problem  : PUZ012_1 : TPTP v9.3.1. Released v5.0.0.
% 0.00/0.08  % Command  : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39
% 0.13/0.39  % Computer : n011.cluster.edu
% 0.13/0.39  % Model    : x86_64 x86_64
% 0.13/0.39  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.39  % Memory   : 8046.5625MB
% 0.13/0.39  % OS       : Linux 6.8.0-71-generic
% 0.13/0.39  % CPULimit : 300
% 0.13/0.39  % WCLimit  : 300
% 0.13/0.39  % DateTime : Sat Sep 26 05:03:44 UTC 2026
% 0.13/0.39  % CPUTime  : 
% 0.13/0.39  Running java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39
% 0.87/0.98  % [INFO] 	 Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ... 
% 1.26/1.18  % [INFO] 	 Parsing done (201ms). 
% 1.26/1.20  % [INFO] 	 Running in sequential loop mode. 
% 2.07/1.60  % [INFO] 	 eprover registered as external prover. 
% 2.07/1.61  % [INFO] 	 Scanning for conjecture ... 
% 2.25/1.71  % [INFO] 	 Found a conjecture (or negated_conjecture) and 17 axioms. Running axiom selection ... 
% 2.25/1.77  % [INFO] 	 Axiom selection finished. Selected 17 axioms (removed 0 axioms). 
% 2.43/1.80  % [INFO] 	 Problem is typed first-order (TPTP TFF). 
% 2.43/1.81  % [INFO] 	 Type checking passed. 
% 2.43/1.81  % [CONFIG] 	 Using configuration: timeout(300) with strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>.  Searching for refutation ... 
% 3.56/2.34  % External prover 'e' found a proof!
% 3.56/2.34  % [INFO] 	 Killing All external provers ... 
% 3.56/2.34  % Time passed: 1810ms (effective reasoning time: 1141ms)
% 3.56/2.34  % Solved by strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>
% 3.56/2.35  % Axioms used in derivation (17): boxb_labelled_oranges, boxb_contains_apples, label_is_wrong, contains_is_well_defined1, apples_not_oranges, each_box_contains_something, boxa_not_boxb, boxa_labelled_apples, apples_not_bananas, each_thing_is_in_a_box, bananas_not_oranges, contains_is_well_defined2, boxc_labelled_bananas, boxb_not_boxc, reflexivity_for_boxes, boxa_not_boxc, reflexivity_for_fruits
% 3.56/2.35  % No. of inferences in proof: 38
% 3.56/2.35  % SZS status Theorem for /export/starexec/sandbox2/benchmark/theBenchmark.p : 1810 ms resp. 1141 ms w/o parsing
% 3.56/2.39  % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 3.56/2.39  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------