TSTP Solution File: DAT069_1 by Z3---4.8.9.0
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Z3---4.8.9.0
% Problem : DAT069_1 : TPTP v8.1.0. Released v5.5.0.
% Transfm : none
% Format : tptp
% Command : z3_tptp -proof -model -t:%d -file:%s
% Computer : n021.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 : Fri Sep 16 14:36:36 EDT 2022
% Result : Theorem 0.20s 0.39s
% Output : Proof 0.20s
% Verified :
% SZS Type : -
% Comments :
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.12 % Problem : DAT069_1 : TPTP v8.1.0. Released v5.5.0.
% 0.03/0.13 % Command : z3_tptp -proof -model -t:%d -file:%s
% 0.13/0.34 % Computer : n021.cluster.edu
% 0.13/0.34 % Model : x86_64 x86_64
% 0.13/0.34 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.34 % Memory : 8042.1875MB
% 0.13/0.34 % OS : Linux 3.10.0-693.el7.x86_64
% 0.13/0.34 % CPULimit : 300
% 0.13/0.34 % WCLimit : 300
% 0.13/0.34 % DateTime : Wed Aug 31 01:43:56 EDT 2022
% 0.13/0.34 % CPUTime :
% 0.13/0.34 Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.13/0.34 Usage: tptp [options] [-file:]file
% 0.13/0.34 -h, -? prints this message.
% 0.13/0.34 -smt2 print SMT-LIB2 benchmark.
% 0.13/0.34 -m, -model generate model.
% 0.13/0.34 -p, -proof generate proof.
% 0.13/0.34 -c, -core generate unsat core of named formulas.
% 0.13/0.34 -st, -statistics display statistics.
% 0.13/0.34 -t:timeout set timeout (in second).
% 0.13/0.34 -smt2status display status in smt2 format instead of SZS.
% 0.13/0.34 -check_status check the status produced by Z3 against annotation in benchmark.
% 0.13/0.34 -<param>:<value> configuration parameter and value.
% 0.13/0.34 -o:<output-file> file to place output in.
% 0.20/0.39 % SZS status Theorem
% 0.20/0.39 % SZS output start Proof
% 0.20/0.39 tff(length_type, type, (
% 0.20/0.39 length: heap > $int)).
% 0.20/0.39 tff(tptp_fun_H_1_type, type, (
% 0.20/0.39 tptp_fun_H_1: heap)).
% 0.20/0.39 tff(tptp_fun_M_0_type, type, (
% 0.20/0.39 tptp_fun_M_0: $int)).
% 0.20/0.39 tff(sel_type, type, (
% 0.20/0.39 sel: ( heap * $int ) > $int)).
% 0.20/0.39 tff(app_type, type, (
% 0.20/0.39 app: ( heap * $int ) > heap)).
% 0.20/0.39 tff(tptp_fun_N_2_type, type, (
% 0.20/0.39 tptp_fun_N_2: $int)).
% 0.20/0.39 tff(1,plain,
% 0.20/0.39 ((~![N: $int, H: heap, M: $int] : ((~$lesseq($sum(M, $product(-1, length(H))), 0)) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))) <=> (~![N: $int, H: heap, M: $int] : ((~$lesseq($sum(M, $product(-1, length(H))), 0)) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0)))),
% 0.20/0.39 inference(rewrite,[status(thm)],[])).
% 0.20/0.39 tff(2,plain,
% 0.20/0.39 ((~![N: $int, H: heap, M: $int] : ((~$lesseq($sum(M, $product(-1, length(H))), 0)) | ($sum(sel(app(H, N), M), $product(-1, sel(H, M))) = 0))) <=> (~![N: $int, H: heap, M: $int] : ((~$lesseq($sum(M, $product(-1, length(H))), 0)) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0)))),
% 0.20/0.39 inference(rewrite,[status(thm)],[])).
% 0.20/0.39 tff(3,plain,
% 0.20/0.39 ((~![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (~$lesseq(M, length(H))))) <=> (~![N: $int, H: heap, M: $int] : ((~$lesseq($sum(M, $product(-1, length(H))), 0)) | ($sum(sel(app(H, N), M), $product(-1, sel(H, M))) = 0)))),
% 0.20/0.39 inference(rewrite,[status(thm)],[])).
% 0.20/0.39 tff(4,plain,
% 0.20/0.39 ((~![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (~$lesseq(M, length(H))))) <=> (~![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (~$lesseq(M, length(H)))))),
% 0.20/0.39 inference(rewrite,[status(thm)],[])).
% 0.20/0.39 tff(5,plain,
% 0.20/0.39 ((~![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | $less(length(H), M))) <=> (~![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (~$lesseq(M, length(H)))))),
% 0.20/0.39 inference(rewrite,[status(thm)],[])).
% 0.20/0.39 tff(6,axiom,(~![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | $less(length(H), M))), file('/export/starexec/sandbox2/benchmark/theBenchmark.p','th_4')).
% 0.20/0.39 tff(7,plain,
% 0.20/0.39 (~![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (~$lesseq(M, length(H))))),
% 0.20/0.39 inference(modus_ponens,[status(thm)],[6, 5])).
% 0.20/0.39 tff(8,plain,
% 0.20/0.39 (~![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (~$lesseq(M, length(H))))),
% 0.20/0.39 inference(modus_ponens,[status(thm)],[7, 4])).
% 0.20/0.39 tff(9,plain,
% 0.20/0.39 (~![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (~$lesseq(M, length(H))))),
% 0.20/0.39 inference(modus_ponens,[status(thm)],[8, 4])).
% 0.20/0.39 tff(10,plain,
% 0.20/0.39 (~![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (~$lesseq(M, length(H))))),
% 0.20/0.39 inference(modus_ponens,[status(thm)],[9, 4])).
% 0.20/0.39 tff(11,plain,
% 0.20/0.39 (~![N: $int, H: heap, M: $int] : ((~$lesseq($sum(M, $product(-1, length(H))), 0)) | ($sum(sel(app(H, N), M), $product(-1, sel(H, M))) = 0))),
% 0.20/0.39 inference(modus_ponens,[status(thm)],[10, 3])).
% 0.20/0.39 tff(12,plain,
% 0.20/0.39 (~![N: $int, H: heap, M: $int] : ((~$lesseq($sum(M, $product(-1, length(H))), 0)) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))),
% 0.20/0.39 inference(modus_ponens,[status(thm)],[11, 2])).
% 0.20/0.39 tff(13,plain,
% 0.20/0.39 (~![N: $int, H: heap, M: $int] : ((~$lesseq($sum(M, $product(-1, length(H))), 0)) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))),
% 0.20/0.39 inference(modus_ponens,[status(thm)],[12, 1])).
% 0.20/0.39 tff(14,plain,
% 0.20/0.39 (~![N: $int, H: heap, M: $int] : ((~$lesseq($sum(M, $product(-1, length(H))), 0)) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))),
% 0.20/0.39 inference(modus_ponens,[status(thm)],[13, 1])).
% 0.20/0.39 tff(15,plain,(
% 0.20/0.39 ~((~$lesseq($sum(M!0, $product(-1, length(H!1))), 0)) | ($sum(sel(H!1, M!0), $product(-1, sel(app(H!1, N!2), M!0))) = 0))),
% 0.20/0.39 inference(skolemize,[status(sab)],[14])).
% 0.20/0.39 tff(16,plain,
% 0.20/0.39 ($lesseq($sum(M!0, $product(-1, length(H!1))), 0)),
% 0.20/0.39 inference(or_elim,[status(thm)],[15])).
% 0.20/0.39 tff(17,plain,
% 0.20/0.39 ((~$greatereq($sum(M!0, $product(-1, length(H!1))), 1)) | (~$lesseq($sum(M!0, $product(-1, length(H!1))), 0))),
% 0.20/0.39 inference(theory_lemma,[status(thm)],[])).
% 0.20/0.39 tff(18,plain,
% 0.20/0.39 (~$greatereq($sum(M!0, $product(-1, length(H!1))), 1)),
% 0.20/0.39 inference(unit_resolution,[status(thm)],[17, 16])).
% 0.20/0.39 tff(19,plain,
% 0.20/0.39 ((~($sum(M!0, $product(-1, length(H!1))) = 1)) | $greatereq($sum(M!0, $product(-1, length(H!1))), 1)),
% 0.20/0.39 inference(theory_lemma,[status(thm)],[])).
% 0.20/0.39 tff(20,plain,
% 0.20/0.39 (~($sum(M!0, $product(-1, length(H!1))) = 1)),
% 0.20/0.39 inference(unit_resolution,[status(thm)],[19, 18])).
% 0.20/0.39 tff(21,plain,
% 0.20/0.39 (~($sum(sel(H!1, M!0), $product(-1, sel(app(H!1, N!2), M!0))) = 0)),
% 0.20/0.39 inference(or_elim,[status(thm)],[15])).
% 0.20/0.39 tff(22,plain,
% 0.20/0.39 (^[N: $int, H: heap, M: $int] : refl((($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0)) <=> (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0)))),
% 0.20/0.39 inference(bind,[status(th)],[])).
% 0.20/0.39 tff(23,plain,
% 0.20/0.39 (![N: $int, H: heap, M: $int] : (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0)) <=> ![N: $int, H: heap, M: $int] : (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))),
% 0.20/0.39 inference(quant_intro,[status(thm)],[22])).
% 0.20/0.39 tff(24,plain,
% 0.20/0.39 (^[N: $int, H: heap, M: $int] : trans(monotonicity(trans(monotonicity(rewrite($sum(sel(app(H, N), M), $product(-1, sel(H, M))) = $sum($product(-1, sel(H, M)), sel(app(H, N), M))), (($sum(sel(app(H, N), M), $product(-1, sel(H, M))) = 0) <=> ($sum($product(-1, sel(H, M)), sel(app(H, N), M)) = 0))), rewrite(($sum($product(-1, sel(H, M)), sel(app(H, N), M)) = 0) <=> ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0)), (($sum(sel(app(H, N), M), $product(-1, sel(H, M))) = 0) <=> ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))), ((($sum(sel(app(H, N), M), $product(-1, sel(H, M))) = 0) | ($sum(M, $product(-1, length(H))) = 1)) <=> (($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0) | ($sum(M, $product(-1, length(H))) = 1)))), rewrite((($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0) | ($sum(M, $product(-1, length(H))) = 1)) <=> (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))), ((($sum(sel(app(H, N), M), $product(-1, sel(H, M))) = 0) | ($sum(M, $product(-1, length(H))) = 1)) <=> (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))))),
% 0.20/0.39 inference(bind,[status(th)],[])).
% 0.20/0.39 tff(25,plain,
% 0.20/0.39 (![N: $int, H: heap, M: $int] : (($sum(sel(app(H, N), M), $product(-1, sel(H, M))) = 0) | ($sum(M, $product(-1, length(H))) = 1)) <=> ![N: $int, H: heap, M: $int] : (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))),
% 0.20/0.39 inference(quant_intro,[status(thm)],[24])).
% 0.20/0.39 tff(26,plain,
% 0.20/0.39 (^[N: $int, H: heap, M: $int] : rewrite(((sel(app(H, N), M) = sel(H, M)) | (M = $sum(1, length(H)))) <=> (($sum(sel(app(H, N), M), $product(-1, sel(H, M))) = 0) | ($sum(M, $product(-1, length(H))) = 1)))),
% 0.20/0.39 inference(bind,[status(th)],[])).
% 0.20/0.39 tff(27,plain,
% 0.20/0.39 (![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (M = $sum(1, length(H)))) <=> ![N: $int, H: heap, M: $int] : (($sum(sel(app(H, N), M), $product(-1, sel(H, M))) = 0) | ($sum(M, $product(-1, length(H))) = 1))),
% 0.20/0.39 inference(quant_intro,[status(thm)],[26])).
% 0.20/0.39 tff(28,plain,
% 0.20/0.39 (![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (M = $sum(1, length(H)))) <=> ![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (M = $sum(1, length(H))))),
% 0.20/0.39 inference(rewrite,[status(thm)],[])).
% 0.20/0.39 tff(29,plain,
% 0.20/0.39 (^[N: $int, H: heap, M: $int] : rewrite(((~(M = $sum(1, length(H)))) => (sel(app(H, N), M) = sel(H, M))) <=> ((sel(app(H, N), M) = sel(H, M)) | (M = $sum(1, length(H)))))),
% 0.20/0.39 inference(bind,[status(th)],[])).
% 0.20/0.39 tff(30,plain,
% 0.20/0.39 (![N: $int, H: heap, M: $int] : ((~(M = $sum(1, length(H)))) => (sel(app(H, N), M) = sel(H, M))) <=> ![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (M = $sum(1, length(H))))),
% 0.20/0.39 inference(quant_intro,[status(thm)],[29])).
% 0.20/0.39 tff(31,axiom,(![N: $int, H: heap, M: $int] : ((~(M = $sum(1, length(H)))) => (sel(app(H, N), M) = sel(H, M)))), file('/export/starexec/sandbox2/benchmark/Axioms/DAT006=0.ax','ax_3')).
% 0.20/0.40 tff(32,plain,
% 0.20/0.40 (![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (M = $sum(1, length(H))))),
% 0.20/0.40 inference(modus_ponens,[status(thm)],[31, 30])).
% 0.20/0.40 tff(33,plain,
% 0.20/0.40 (![N: $int, H: heap, M: $int] : ((sel(app(H, N), M) = sel(H, M)) | (M = $sum(1, length(H))))),
% 0.20/0.40 inference(modus_ponens,[status(thm)],[32, 28])).
% 0.20/0.40 tff(34,plain,
% 0.20/0.40 (![N: $int, H: heap, M: $int] : (($sum(sel(app(H, N), M), $product(-1, sel(H, M))) = 0) | ($sum(M, $product(-1, length(H))) = 1))),
% 0.20/0.40 inference(modus_ponens,[status(thm)],[33, 27])).
% 0.20/0.40 tff(35,plain,
% 0.20/0.40 (![N: $int, H: heap, M: $int] : (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))),
% 0.20/0.40 inference(modus_ponens,[status(thm)],[34, 25])).
% 0.20/0.40 tff(36,plain,(
% 0.20/0.40 ![N: $int, H: heap, M: $int] : (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))),
% 0.20/0.40 inference(skolemize,[status(sab)],[35])).
% 0.20/0.40 tff(37,plain,
% 0.20/0.40 (![N: $int, H: heap, M: $int] : (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))),
% 0.20/0.40 inference(modus_ponens,[status(thm)],[36, 23])).
% 0.20/0.40 tff(38,plain,
% 0.20/0.40 (((~![N: $int, H: heap, M: $int] : (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))) | (($sum(M!0, $product(-1, length(H!1))) = 1) | ($sum(sel(H!1, M!0), $product(-1, sel(app(H!1, N!2), M!0))) = 0))) <=> ((~![N: $int, H: heap, M: $int] : (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))) | ($sum(M!0, $product(-1, length(H!1))) = 1) | ($sum(sel(H!1, M!0), $product(-1, sel(app(H!1, N!2), M!0))) = 0))),
% 0.20/0.40 inference(rewrite,[status(thm)],[])).
% 0.20/0.40 tff(39,plain,
% 0.20/0.40 ((~![N: $int, H: heap, M: $int] : (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))) | (($sum(M!0, $product(-1, length(H!1))) = 1) | ($sum(sel(H!1, M!0), $product(-1, sel(app(H!1, N!2), M!0))) = 0))),
% 0.20/0.40 inference(quant_inst,[status(thm)],[])).
% 0.20/0.40 tff(40,plain,
% 0.20/0.40 ((~![N: $int, H: heap, M: $int] : (($sum(M, $product(-1, length(H))) = 1) | ($sum(sel(H, M), $product(-1, sel(app(H, N), M))) = 0))) | ($sum(M!0, $product(-1, length(H!1))) = 1) | ($sum(sel(H!1, M!0), $product(-1, sel(app(H!1, N!2), M!0))) = 0)),
% 0.20/0.40 inference(modus_ponens,[status(thm)],[39, 38])).
% 0.20/0.40 tff(41,plain,
% 0.20/0.40 ($false),
% 0.20/0.40 inference(unit_resolution,[status(thm)],[40, 37, 21, 20])).
% 0.20/0.40 % SZS output end Proof
%------------------------------------------------------------------------------