TSTP Solution File: DAT334_19 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : DAT334_19 : TPTP v8.2.0. Released v8.2.0.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%s

% Computer : n016.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 : Mon May 22 15:24:26 EDT 2023

% Result   : Theorem 0.11s 0.36s
% Output   : Proof 0.18s
% Verified : 
% SZS Type : -

% Comments : 
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.11  % Problem  : DAT334_19 : TPTP v8.2.0. Released v8.2.0.
% 0.07/0.12  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.11/0.31  % Computer : n016.cluster.edu
% 0.11/0.31  % Model    : x86_64 x86_64
% 0.11/0.31  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.11/0.31  % Memory   : 8042.1875MB
% 0.11/0.31  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.11/0.31  % CPULimit : 300
% 0.11/0.31  % WCLimit  : 300
% 0.11/0.31  % DateTime : Mon May 22 11:33:17 EDT 2023
% 0.11/0.32  % CPUTime  : 
% 0.11/0.32  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.11/0.32  Usage: tptp [options] [-file:]file
% 0.11/0.32    -h, -?       prints this message.
% 0.11/0.32    -smt2        print SMT-LIB2 benchmark.
% 0.11/0.32    -m, -model   generate model.
% 0.11/0.32    -p, -proof   generate proof.
% 0.11/0.32    -c, -core    generate unsat core of named formulas.
% 0.11/0.32    -st, -statistics display statistics.
% 0.11/0.32    -t:timeout   set timeout (in second).
% 0.11/0.32    -smt2status  display status in smt2 format instead of SZS.
% 0.11/0.32    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.11/0.32    -<param>:<value> configuration parameter and value.
% 0.11/0.32    -o:<output-file> file to place output in.
% 0.11/0.36  % SZS status Theorem
% 0.11/0.36  % SZS output start Proof
% 0.11/0.36  tff(teach_type, type, (
% 0.11/0.36     teach: ( '$ki_world' * $i * $i ) > $o)).
% 0.11/0.36  tff(cs_type, type, (
% 0.11/0.36     cs: $i)).
% 0.11/0.36  tff(tptp_fun_X_1_type, type, (
% 0.11/0.36     tptp_fun_X_1: '$ki_world' > $i)).
% 0.11/0.36  tff(tptp_fun_W_2_type, type, (
% 0.11/0.36     tptp_fun_W_2: '$ki_world')).
% 0.11/0.36  tff(psych_type, type, (
% 0.11/0.36     psych: $i)).
% 0.11/0.36  tff(sue_type, type, (
% 0.11/0.36     sue: $i)).
% 0.11/0.36  tff(mary_type, type, (
% 0.11/0.36     mary: $i)).
% 0.11/0.36  tff(tptp_fun___ki_exists_in_world__i__type, type, (
% 0.11/0.36     tptp_fun___ki_exists_in_world__i_: ( '$ki_world' * $i ) > $o)).
% 0.11/0.36  tff(math_type, type, (
% 0.11/0.36     math: $i)).
% 0.11/0.36  tff(john_type, type, (
% 0.11/0.36     john: $i)).
% 0.11/0.36  tff(tptp_fun___ki_accessible__type, type, (
% 0.11/0.36     tptp_fun___ki_accessible_: ( '$ki_world' * '$ki_world' ) > $o)).
% 0.11/0.36  tff(tptp_fun___ki_local_world__type, type, (
% 0.11/0.36     tptp_fun___ki_local_world_: '$ki_world')).
% 0.11/0.36  tff(1,plain,
% 0.11/0.36      (((~(~tptp_fun___ki_accessible_(|'$ki_local_world'|, W!2))) & ![X: $i] : (~(tptp_fun___ki_exists_in_world__i_(W!2, X) & teach(W!2, X, cs)))) <=> (tptp_fun___ki_accessible_(|'$ki_local_world'|, W!2) & ![X: $i] : (~(tptp_fun___ki_exists_in_world__i_(W!2, X) & teach(W!2, X, cs))))),
% 0.11/0.36      inference(rewrite,[status(thm)],[])).
% 0.11/0.36  tff(2,plain,
% 0.11/0.36      ((~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)))) <=> (~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))))),
% 0.11/0.36      inference(rewrite,[status(thm)],[])).
% 0.11/0.36  tff(3,plain,
% 0.11/0.36      ((~![W: '$ki_world'] : (tptp_fun___ki_accessible_(|'$ki_local_world'|, W) => ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)))) <=> (~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))))),
% 0.11/0.36      inference(rewrite,[status(thm)],[])).
% 0.11/0.36  tff(4,axiom,(~![W: '$ki_world'] : (tptp_fun___ki_accessible_(|'$ki_local_world'|, W) => ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)))), file('/export/starexec/sandbox2/benchmark/theBenchmark.p','verify')).
% 0.11/0.36  tff(5,plain,
% 0.11/0.36      (~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)))),
% 0.11/0.36      inference(modus_ponens,[status(thm)],[4, 3])).
% 0.11/0.36  tff(6,plain,
% 0.11/0.36      (~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)))),
% 0.11/0.36      inference(modus_ponens,[status(thm)],[5, 2])).
% 0.11/0.36  tff(7,plain,
% 0.11/0.36      (~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)))),
% 0.11/0.36      inference(modus_ponens,[status(thm)],[6, 2])).
% 0.11/0.36  tff(8,plain,
% 0.11/0.36      (~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)))),
% 0.11/0.36      inference(modus_ponens,[status(thm)],[7, 2])).
% 0.11/0.36  tff(9,plain,
% 0.11/0.36      (~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)))),
% 0.11/0.36      inference(modus_ponens,[status(thm)],[8, 2])).
% 0.11/0.36  tff(10,plain,
% 0.11/0.36      (~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)))),
% 0.11/0.36      inference(modus_ponens,[status(thm)],[9, 2])).
% 0.11/0.36  tff(11,plain,
% 0.11/0.36      (~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)))),
% 0.11/0.36      inference(modus_ponens,[status(thm)],[10, 2])).
% 0.11/0.36  tff(12,plain,
% 0.11/0.36      (tptp_fun___ki_accessible_(|'$ki_local_world'|, W!2) & ![X: $i] : (~(tptp_fun___ki_exists_in_world__i_(W!2, X) & teach(W!2, X, cs)))),
% 0.11/0.36      inference(modus_ponens,[status(thm)],[11, 1])).
% 0.11/0.36  tff(13,plain,
% 0.11/0.36      (tptp_fun___ki_accessible_(|'$ki_local_world'|, W!2)),
% 0.11/0.36      inference(and_elim,[status(thm)],[12])).
% 0.11/0.36  tff(14,plain,
% 0.11/0.36      (^[W: '$ki_world'] : refl(((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (~((~teach(W, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W))) | (~teach(W, tptp_fun_X_1(W), cs)) | (~teach(W, mary, psych)) | (~teach(W, sue, psych))))) <=> ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (~((~teach(W, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W))) | (~teach(W, tptp_fun_X_1(W), cs)) | (~teach(W, mary, psych)) | (~teach(W, sue, psych))))))),
% 0.11/0.37      inference(bind,[status(th)],[])).
% 0.11/0.37  tff(15,plain,
% 0.11/0.37      (![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (~((~teach(W, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W))) | (~teach(W, tptp_fun_X_1(W), cs)) | (~teach(W, mary, psych)) | (~teach(W, sue, psych))))) <=> ![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (~((~teach(W, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W))) | (~teach(W, tptp_fun_X_1(W), cs)) | (~teach(W, mary, psych)) | (~teach(W, sue, psych)))))),
% 0.11/0.37      inference(quant_intro,[status(thm)],[14])).
% 0.11/0.37  tff(16,plain,
% 0.11/0.37      (^[W: '$ki_world'] : rewrite(((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W)) & teach(W, tptp_fun_X_1(W), cs) & teach(W, mary, psych) & teach(W, sue, psych))) <=> ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (~((~teach(W, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W))) | (~teach(W, tptp_fun_X_1(W), cs)) | (~teach(W, mary, psych)) | (~teach(W, sue, psych))))))),
% 0.11/0.37      inference(bind,[status(th)],[])).
% 0.11/0.37  tff(17,plain,
% 0.11/0.37      (![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W)) & teach(W, tptp_fun_X_1(W), cs) & teach(W, mary, psych) & teach(W, sue, psych))) <=> ![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (~((~teach(W, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W))) | (~teach(W, tptp_fun_X_1(W), cs)) | (~teach(W, mary, psych)) | (~teach(W, sue, psych)))))),
% 0.11/0.37      inference(quant_intro,[status(thm)],[16])).
% 0.11/0.37  tff(18,plain,
% 0.11/0.37      (^[W: '$ki_world'] : rewrite(((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & (tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W)) & teach(W, tptp_fun_X_1(W), cs)) & teach(W, mary, psych) & teach(W, sue, psych))) <=> ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W)) & teach(W, tptp_fun_X_1(W), cs) & teach(W, mary, psych) & teach(W, sue, psych))))),
% 0.11/0.37      inference(bind,[status(th)],[])).
% 0.11/0.37  tff(19,plain,
% 0.11/0.37      (![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & (tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W)) & teach(W, tptp_fun_X_1(W), cs)) & teach(W, mary, psych) & teach(W, sue, psych))) <=> ![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W)) & teach(W, tptp_fun_X_1(W), cs) & teach(W, mary, psych) & teach(W, sue, psych)))),
% 0.11/0.37      inference(quant_intro,[status(thm)],[18])).
% 0.11/0.37  tff(20,plain,
% 0.11/0.37      (![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych) & teach(W, sue, psych))) <=> ![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych) & teach(W, sue, psych)))),
% 0.11/0.37      inference(rewrite,[status(thm)],[])).
% 0.11/0.37  tff(21,plain,
% 0.11/0.37      (^[W: '$ki_world'] : trans(monotonicity(trans(monotonicity(trans(monotonicity(rewrite((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))) <=> (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)))), (((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))) & teach(W, mary, psych)) <=> ((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))) & teach(W, mary, psych)))), rewrite(((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))) & teach(W, mary, psych)) <=> (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych))), (((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))) & teach(W, mary, psych)) <=> (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych)))), ((((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))) & teach(W, mary, psych)) & teach(W, sue, psych)) <=> ((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych)) & teach(W, sue, psych)))), rewrite(((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych)) & teach(W, sue, psych)) <=> (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych) & teach(W, sue, psych))), ((((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))) & teach(W, mary, psych)) & teach(W, sue, psych)) <=> (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych) & teach(W, sue, psych)))), ((tptp_fun___ki_accessible_(|'$ki_local_world'|, W) => (((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))) & teach(W, mary, psych)) & teach(W, sue, psych))) <=> (tptp_fun___ki_accessible_(|'$ki_local_world'|, W) => (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych) & teach(W, sue, psych))))), rewrite((tptp_fun___ki_accessible_(|'$ki_local_world'|, W) => (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych) & teach(W, sue, psych))) <=> ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych) & teach(W, sue, psych)))), ((tptp_fun___ki_accessible_(|'$ki_local_world'|, W) => (((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))) & teach(W, mary, psych)) & teach(W, sue, psych))) <=> ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych) & teach(W, sue, psych)))))),
% 0.11/0.37      inference(bind,[status(th)],[])).
% 0.11/0.37  tff(22,plain,
% 0.11/0.37      (![W: '$ki_world'] : (tptp_fun___ki_accessible_(|'$ki_local_world'|, W) => (((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))) & teach(W, mary, psych)) & teach(W, sue, psych))) <=> ![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych) & teach(W, sue, psych)))),
% 0.11/0.37      inference(quant_intro,[status(thm)],[21])).
% 0.11/0.37  tff(23,axiom,(![W: '$ki_world'] : (tptp_fun___ki_accessible_(|'$ki_local_world'|, W) => (((teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs))) & teach(W, mary, psych)) & teach(W, sue, psych)))), file('/export/starexec/sandbox2/benchmark/theBenchmark.p','db')).
% 0.11/0.37  tff(24,plain,
% 0.11/0.37      (![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych) & teach(W, sue, psych)))),
% 0.11/0.37      inference(modus_ponens,[status(thm)],[23, 22])).
% 0.11/0.37  tff(25,plain,
% 0.11/0.37      (![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & ?[X: $i] : (tptp_fun___ki_exists_in_world__i_(W, X) & teach(W, X, cs)) & teach(W, mary, psych) & teach(W, sue, psych)))),
% 0.18/0.37      inference(modus_ponens,[status(thm)],[24, 20])).
% 0.18/0.37  tff(26,plain,(
% 0.18/0.37      ![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & (tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W)) & teach(W, tptp_fun_X_1(W), cs)) & teach(W, mary, psych) & teach(W, sue, psych)))),
% 0.18/0.37      inference(skolemize,[status(sab)],[25])).
% 0.18/0.37  tff(27,plain,
% 0.18/0.37      (![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (teach(W, john, math) & tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W)) & teach(W, tptp_fun_X_1(W), cs) & teach(W, mary, psych) & teach(W, sue, psych)))),
% 0.18/0.37      inference(modus_ponens,[status(thm)],[26, 19])).
% 0.18/0.37  tff(28,plain,
% 0.18/0.37      (![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (~((~teach(W, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W))) | (~teach(W, tptp_fun_X_1(W), cs)) | (~teach(W, mary, psych)) | (~teach(W, sue, psych)))))),
% 0.18/0.37      inference(modus_ponens,[status(thm)],[27, 17])).
% 0.18/0.37  tff(29,plain,
% 0.18/0.37      (![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (~((~teach(W, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W))) | (~teach(W, tptp_fun_X_1(W), cs)) | (~teach(W, mary, psych)) | (~teach(W, sue, psych)))))),
% 0.18/0.37      inference(modus_ponens,[status(thm)],[28, 15])).
% 0.18/0.37  tff(30,plain,
% 0.18/0.37      (((~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (~((~teach(W, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W))) | (~teach(W, tptp_fun_X_1(W), cs)) | (~teach(W, mary, psych)) | (~teach(W, sue, psych)))))) | ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W!2)) | (~((~teach(W!2, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))) | (~teach(W!2, tptp_fun_X_1(W!2), cs)) | (~teach(W!2, mary, psych)) | (~teach(W!2, sue, psych)))))) <=> ((~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (~((~teach(W, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W))) | (~teach(W, tptp_fun_X_1(W), cs)) | (~teach(W, mary, psych)) | (~teach(W, sue, psych)))))) | (~tptp_fun___ki_accessible_(|'$ki_local_world'|, W!2)) | (~((~teach(W!2, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))) | (~teach(W!2, tptp_fun_X_1(W!2), cs)) | (~teach(W!2, mary, psych)) | (~teach(W!2, sue, psych)))))),
% 0.18/0.37      inference(rewrite,[status(thm)],[])).
% 0.18/0.37  tff(31,plain,
% 0.18/0.37      ((~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (~((~teach(W, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W))) | (~teach(W, tptp_fun_X_1(W), cs)) | (~teach(W, mary, psych)) | (~teach(W, sue, psych)))))) | ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W!2)) | (~((~teach(W!2, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))) | (~teach(W!2, tptp_fun_X_1(W!2), cs)) | (~teach(W!2, mary, psych)) | (~teach(W!2, sue, psych)))))),
% 0.18/0.37      inference(quant_inst,[status(thm)],[])).
% 0.18/0.37  tff(32,plain,
% 0.18/0.37      ((~![W: '$ki_world'] : ((~tptp_fun___ki_accessible_(|'$ki_local_world'|, W)) | (~((~teach(W, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W, tptp_fun_X_1(W))) | (~teach(W, tptp_fun_X_1(W), cs)) | (~teach(W, mary, psych)) | (~teach(W, sue, psych)))))) | (~tptp_fun___ki_accessible_(|'$ki_local_world'|, W!2)) | (~((~teach(W!2, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))) | (~teach(W!2, tptp_fun_X_1(W!2), cs)) | (~teach(W!2, mary, psych)) | (~teach(W!2, sue, psych))))),
% 0.18/0.37      inference(modus_ponens,[status(thm)],[31, 30])).
% 0.18/0.37  tff(33,plain,
% 0.18/0.37      (~((~teach(W!2, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))) | (~teach(W!2, tptp_fun_X_1(W!2), cs)) | (~teach(W!2, mary, psych)) | (~teach(W!2, sue, psych)))),
% 0.18/0.37      inference(unit_resolution,[status(thm)],[32, 29, 13])).
% 0.18/0.37  tff(34,plain,
% 0.18/0.37      (((~teach(W!2, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))) | (~teach(W!2, tptp_fun_X_1(W!2), cs)) | (~teach(W!2, mary, psych)) | (~teach(W!2, sue, psych))) | teach(W!2, tptp_fun_X_1(W!2), cs)),
% 0.18/0.38      inference(tautology,[status(thm)],[])).
% 0.18/0.38  tff(35,plain,
% 0.18/0.38      (teach(W!2, tptp_fun_X_1(W!2), cs)),
% 0.18/0.38      inference(unit_resolution,[status(thm)],[34, 33])).
% 0.18/0.38  tff(36,plain,
% 0.18/0.38      (((~teach(W!2, john, math)) | (~tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))) | (~teach(W!2, tptp_fun_X_1(W!2), cs)) | (~teach(W!2, mary, psych)) | (~teach(W!2, sue, psych))) | tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))),
% 0.18/0.38      inference(tautology,[status(thm)],[])).
% 0.18/0.38  tff(37,plain,
% 0.18/0.38      (tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))),
% 0.18/0.38      inference(unit_resolution,[status(thm)],[36, 33])).
% 0.18/0.38  tff(38,plain,
% 0.18/0.38      (^[X: $i] : refl(((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs))) <=> ((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs))))),
% 0.18/0.38      inference(bind,[status(th)],[])).
% 0.18/0.38  tff(39,plain,
% 0.18/0.38      (![X: $i] : ((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs))) <=> ![X: $i] : ((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs)))),
% 0.18/0.38      inference(quant_intro,[status(thm)],[38])).
% 0.18/0.38  tff(40,plain,
% 0.18/0.38      (^[X: $i] : trans(monotonicity(rewrite((tptp_fun___ki_exists_in_world__i_(W!2, X) & teach(W!2, X, cs)) <=> (~((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs))))), ((~(tptp_fun___ki_exists_in_world__i_(W!2, X) & teach(W!2, X, cs))) <=> (~(~((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs))))))), rewrite((~(~((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs))))) <=> ((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs)))), ((~(tptp_fun___ki_exists_in_world__i_(W!2, X) & teach(W!2, X, cs))) <=> ((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs)))))),
% 0.18/0.38      inference(bind,[status(th)],[])).
% 0.18/0.38  tff(41,plain,
% 0.18/0.38      (![X: $i] : (~(tptp_fun___ki_exists_in_world__i_(W!2, X) & teach(W!2, X, cs))) <=> ![X: $i] : ((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs)))),
% 0.18/0.38      inference(quant_intro,[status(thm)],[40])).
% 0.18/0.38  tff(42,plain,
% 0.18/0.38      (![X: $i] : (~(tptp_fun___ki_exists_in_world__i_(W!2, X) & teach(W!2, X, cs)))),
% 0.18/0.38      inference(and_elim,[status(thm)],[12])).
% 0.18/0.38  tff(43,plain,
% 0.18/0.38      (![X: $i] : ((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs)))),
% 0.18/0.38      inference(modus_ponens,[status(thm)],[42, 41])).
% 0.18/0.38  tff(44,plain,
% 0.18/0.38      (![X: $i] : ((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs)))),
% 0.18/0.38      inference(modus_ponens,[status(thm)],[43, 39])).
% 0.18/0.38  tff(45,plain,
% 0.18/0.38      (((~![X: $i] : ((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs)))) | ((~tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))) | (~teach(W!2, tptp_fun_X_1(W!2), cs)))) <=> ((~![X: $i] : ((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs)))) | (~tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))) | (~teach(W!2, tptp_fun_X_1(W!2), cs)))),
% 0.18/0.38      inference(rewrite,[status(thm)],[])).
% 0.18/0.38  tff(46,plain,
% 0.18/0.38      ((~![X: $i] : ((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs)))) | ((~tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))) | (~teach(W!2, tptp_fun_X_1(W!2), cs)))),
% 0.18/0.38      inference(quant_inst,[status(thm)],[])).
% 0.18/0.38  tff(47,plain,
% 0.18/0.38      ((~![X: $i] : ((~tptp_fun___ki_exists_in_world__i_(W!2, X)) | (~teach(W!2, X, cs)))) | (~tptp_fun___ki_exists_in_world__i_(W!2, tptp_fun_X_1(W!2))) | (~teach(W!2, tptp_fun_X_1(W!2), cs))),
% 0.18/0.38      inference(modus_ponens,[status(thm)],[46, 45])).
% 0.18/0.38  tff(48,plain,
% 0.18/0.38      ($false),
% 0.18/0.38      inference(unit_resolution,[status(thm)],[47, 44, 37, 35])).
% 0.18/0.38  % SZS output end Proof
%------------------------------------------------------------------------------