Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Proof:
- length = 4, depth = 2
- Goal# Wff# Wff Instance
- ----- ---- ------------
- [0] query query :- [1].
- [1] asserted_t(fatherOf,phil,gun) asserted_t(fatherOf,phil,gun) :- [2] , [3].
- [2] asserted_t(sonOf,gun,phil) asserted_t(sonOf,gun,phil).
- [3] not_asserted_t(motherOf,phil,gun) not_asserted_t(motherOf,phil,gun) :- [4].
- [4] not_asserted_t(female,gun) not_asserted_t(female,gun).
- Proof END.
- % succceeded(dbase_rules_pttp:pttp_prove(logicmoo_example22, query)).
- %
- % do_pttp_test(logicmoo_example4).
- %
- % pttp_load_wid(logicmoo_kb_refution).
- %
- logicmoo_kb_refution:0 not_asserted_t(A,B,C);proven_t(A,B,C),not_refuted_t(A,B,C),not_unknowable_t(A,B,C).
- logicmoo_kb_refution:1 not_proven_t(A,B,C);not_refuted_t(A,B,C),not_unknowable_t(A,B,C).
- logicmoo_kb_refution:2 not_refuted_t(A,B,C);not_proven_t(A,B,C),not_asserted_t(A,B,C),not_unknowable_t(A,B,C).
- logicmoo_kb_refution:3 not_unknowable_t(A,B,C);not_proven_t(A,B,C),not_asserted_t(A,B,C),not_refuted_t(A,B,C).
- logicmoo_kb_refution:4 proven_t(A,B,C);not_refuted_t(A,B,C);refuted_t(A,B,C);unknowable_t(A,B,C).
- logicmoo_kb_refution:5 asserted_t(A,B,C);refuted_t(A,B,C);unknowable_t(A,B,C);not_asserted_t(unknowable,A,B,C).
- logicmoo_kb_refution:6 refuted_t(A,B,C);unknowable_t(A,B,C);not_unknowable_t(A,B,C).
- logicmoo_kb_refution:7 unknowable_t(A,B,C);proven_t(A,B,C);refuted_t(A,B,C).
- logicmoo_kb_refution:8 not_both_t(secondOrder_t(genls,A,B),secondOrder_isa_t(A,C));secondOrder_isa_t(B,C).
- logicmoo_kb_refution:9 not_both_t(secondOrder_t(disjointWith,A,B),proven_t(A,C,D));refuted_t(B,C,D).
- logicmoo_kb_refution:10 not_both_t(secondOrder_t(genlPreds,A,B),proven_t(A,C,D));proven_t(B,C,D).
- logicmoo_kb_refution:11 not_both_t(secondOrder_t(genlInverse,A,B),proven_t(A,D,C));proven_t(B,C,D).
- logicmoo_kb_refution:12 not_both_t(secondOrder_t(negationPreds,A,B),proven_t(A,C,D));refuted_t(B,C,D).
- logicmoo_kb_refution:13 not_both_t(secondOrder_t(negationInverse,A,B),proven_t(A,D,C));refuted_t(B,C,D).
- logicmoo_kb_refution:14 not_both_t(secondOrder_isa_t(transitive,A), (proven_t(A,C,B),proven_t(A,B,D)));proven_t(A,C,D).
- logicmoo_kb_refution:15 not_both_t(secondOrder_isa_t(reflexive,A),proven_t(A,C,B));proven_t(A,B,C).
- logicmoo_kb_refution:16 not_both_t(secondOrder_isa_t(symmetric,A),proven_t(A,C,B));proven_t(A,B,C).
- logicmoo_kb_refution:17 not_both_t(secondOrder_isa_t(irreflexive,A),proven_t(A,C,B));refuted_t(A,B,C).
- logicmoo_kb_refution:18 not_both_t(secondOrder_isa_t(irreflexive,A),secondOrder_t(genlInverse,A,B));proven_t(irreflexive,B).
- logicmoo_kb_refution:19 not_both_t(secondOrder_isa_t(irreflexive,A),secondOrder_t(genlPreds,B,A));proven_t(irreflexive,B).
- logicmoo_example4:1 secondOrder_t(genlInverse,parentOf,sonOf).
- logicmoo_example4:2 secondOrder_t(genlPreds,motherOf,parentOf).
- logicmoo_example4:3 secondOrder_isa_t(irreflexive,sonOf).
- logicmoo_example4:4 asserted_t(parentOf,son_1,father_1).
- logicmoo_example4:5 query:-refuted_t(sonOf,son_1,father_1).2.5.
- % 2,632 inferences, 0.000 CPU in 0.000 seconds (97% CPU, 6136772 Lips)
- Proof time: 0.0005372789999995575 seconds
- Proof:
- length = 6, depth = 3
- Goal# Wff# Wff Instance
- ----- ---- ------------
- [0] query query :- [1].
- [1] refuted_t(sonOf,son_1,father_1) refuted_t(sonOf,son_1,father_1) :- [2] , [3].
- [2] secondOrder_isa_t(irreflexive,sonOf) secondOrder_isa_t(irreflexive,sonOf).
- [3] proven_t(sonOf,father_1,son_1) proven_t(sonOf,father_1,son_1) :- [4] , [5].
- [4] secondOrder_t(genlInverse,parentOf,sonOf) secondOrder_t(genlInverse,parentOf,sonOf).
- [5] proven_t(parentOf,son_1,father_1) proven_t(parentOf,son_1,father_1) :- [6].
- [6] asserted_t(parentOf,son_1,father_1) asserted_t(parentOf,son_1,father_1).
- Proof END.
- % succceeded(dbase_rules_pttp:pttp_prove(logicmoo_example4, query)).
- %
- % do_pttp_test(logicmoo_example3).
- %
- % pttp_load_wid(logicmoo_kb_logic).
- %
- logicmoo_kb_logic:0 not_asserted_t(A,B,C);proven_t(A,B,C).
- logicmoo_kb_logic:1 not_proven_t(A,B,C);possible_t(A,B,C),not_unknowable_t(A,B,C),not_refuted_t(A,B,C).
- logicmoo_kb_logic:2 not_possible_t(A,B,C);not_refuted_t(A,B,C).
- logicmoo_kb_logic:3 not_refuted_t(A,B,C);not_proven_t(A,B,C).
- logicmoo_kb_logic:4 not_unknowable_t(A,B,C);not_proven_t(A,B,C),not_asserted_t(A,B,C),not_refuted_t(A,B,C).
- logicmoo_kb_logic:5 asserted_t(A,B,C);not_proven_t(A,B,C).
- logicmoo_kb_logic:6 proven_t(A,B,C);not_asserted_t(A,B,C).
- logicmoo_kb_logic:7 possible_t(A,B,C);refuted_t(A,B,C).
- logicmoo_kb_logic:8 refuted_t(A,B,C);possible_t(A,B,C).
- logicmoo_kb_logic:9 unknowable_t(A,B,C);possible_t(A,B,C).
- logicmoo_kb_logic:10 not_both_t(secondOrder_t(genls,A,B),secondOrder_isa_t(A,C));secondOrder_isa_t(B,C).
- logicmoo_kb_logic:11 not_both_t(secondOrder_t(disjointWith,A,B),asserted_t(A,C,D));refuted_t(B,C,D).
- logicmoo_kb_logic:12 not_both_t(secondOrder_t(genlPreds,A,B),asserted_t(A,C,D));proven_t(B,C,D).
- logicmoo_kb_logic:13 not_both_t(secondOrder_t(genlInverse,A,B),asserted_t(A,D,C));proven_t(B,C,D).
- logicmoo_kb_logic:14 not_both_t(secondOrder_t(negationPreds,A,B),asserted_t(A,C,D));refuted_t(B,C,D).
- logicmoo_kb_logic:15 not_both_t(secondOrder_t(negationInverse,A,B),asserted_t(A,D,C));refuted_t(B,C,D).
- logicmoo_kb_logic:16 not_both_t(secondOrder_isa_t(transitive,A), (asserted_t(A,C,B),asserted_t(A,B,D)));proven_t(A,C,D).
- logicmoo_kb_logic:17 not_secondOrder_isa_t(reflexive,A);proven_t(A,B,B).
- logicmoo_kb_logic:18 not_both_t(secondOrder_isa_t(symmetric,A),asserted_t(A,C,B));proven_t(A,B,C).
- logicmoo_kb_logic:19 not_both_t(secondOrder_isa_t(irreflexive,A),asserted_t(A,C,B));not_asserted_t(A,B,C).
- logicmoo_kb_logic:20 not_both_t(secondOrder_isa_t(irreflexive,A),secondOrder_t(genlInverse,A,B));proven_t(irreflexive,B).
- logicmoo_kb_logic:21 not_both_t(secondOrder_isa_t(irreflexive,A),secondOrder_t(genlPreds,B,A));proven_t(irreflexive,B).
- logicmoo_example3:1 secondOrder_t(genlInverse,parentOf,sonOf).
- logicmoo_example3:2 secondOrder_t(genlPreds,motherOf,parentOf).
- logicmoo_example3:3 secondOrder_isa_t(irreflexive,sonOf).
- logicmoo_example3:4 asserted_t(parentOf,son_1,father_1).
- logicmoo_example3:5 query:-not_asserted_t(sonOf,son_1,father_1).2.5.
- % 3,709 inferences, 0.001 CPU in 0.001 seconds (98% CPU, 6710596 Lips)
- Proof time: 0.0006547660000002509 seconds
- Proof:
- length = 6, depth = 3
- Goal# Wff# Wff Instance
- ----- ---- ------------
- [0] query query :- [1].
- [1] not_asserted_t(sonOf,son_1,father_1) not_asserted_t(sonOf,son_1,father_1) :- [2] , [3].
- [2] secondOrder_isa_t(irreflexive,sonOf) secondOrder_isa_t(irreflexive,sonOf).
- [3] asserted_t(sonOf,father_1,son_1) asserted_t(sonOf,father_1,son_1) :- [4].
- [4] proven_t(sonOf,father_1,son_1) proven_t(sonOf,father_1,son_1) :- [5] , [6].
- [5] secondOrder_t(genlInverse,parentOf,sonOf) secondOrder_t(genlInverse,parentOf,sonOf).
- [6] asserted_t(parentOf,son_1,father_1) asserted_t(parentOf,son_1,father_1).
- Proof END.
- % succceeded(dbase_rules_pttp:pttp_prove(logicmoo_example3, query)).
- %
- :- dynamic pttp_test_took/3.
- pttp_test_took(chang_lee_example1, success, 0.017774654000000112).
- pttp_test_took(chang_lee_example2, success, 0.007574271999999382).
- pttp_test_took(chang_lee_example3, success, 0.0016142770000016071).
- pttp_test_took(chang_lee_example4, success, 0.0005561190000022975).
- pttp_test_took(chang_lee_example5, success, 0.0003571740000012369).
- pttp_test_took(chang_lee_example6, success, 0.0005447289999978011).
- pttp_test_took(chang_lee_example7, success, 0.0004462469999992891).
- pttp_test_took(chang_lee_example8, success, 0.018975419000000215).
- pttp_test_took(chang_lee_example9, success, 0.001030349000000541).
- pttp_test_took(logicmoo_example1, success, 0.000303224999999685).
- pttp_test_took(logicmoo_example1_holds, success, 0.00029053800000156116).
- pttp_test_took(logicmoo_example1_holds2, failure, 0.00021594500000077232).
- pttp_test_took(logicmoo_example2, success, 0.0004661060000010764).
- pttp_test_took(logicmoo_example22, success, 0.0004307779999983552).
- pttp_test_took(logicmoo_example4, success, 0.0007900379999981055).
- pttp_test_took(logicmoo_example3, success, 0.0009260170000011669).
- % gripe_pttp_failure(logicmoo_example1_holds2).
- %
- true.
- 2 ?-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement