eyeprolog 1.6.19 → 1.6.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/examples/check/access-control-policy.pl +2 -1
- package/examples/check/attributed-variables.pl +3 -1
- package/examples/check/binomial-vandermonde.pl +2 -1
- package/examples/check/blocks-world-planning.pl +13 -2
- package/examples/check/catalan-convolution.pl +2 -1
- package/examples/check/cdcl-sat-solver.pl +2 -1
- package/examples/check/chart-parser.pl +4 -1
- package/examples/check/clinical-trial-screening.pl +3 -1
- package/examples/check/clpb-boolean-circuit.pl +5 -1
- package/examples/check/clpb-cardinality.pl +3 -1
- package/examples/check/clpb-feature-model.pl +5 -1
- package/examples/check/clpz-resource-allocation.pl +1 -1
- package/examples/check/combinatorics-findall-sort.pl +1 -1
- package/examples/check/context-schema-audit.pl +2 -1
- package/examples/check/continued-fraction-sqrt2.pl +1 -1
- package/examples/check/critical-path-schedule.pl +12 -2
- package/examples/check/d3-group.pl +1 -1
- package/examples/check/data-negotiation.pl +1 -1
- package/examples/check/dcg-command-parser.pl +4 -2
- package/examples/check/dcg-expression-language.pl +6 -2
- package/examples/check/deep-taxonomy-1000.pl +6 -1
- package/examples/check/deep-taxonomy-10000.pl +6 -1
- package/examples/check/deep-taxonomy-100000.pl +6 -1
- package/examples/check/defeasible-reasoning.pl +5 -1
- package/examples/check/delfour.pl +2 -1
- package/examples/check/dijkstra-findall-sort.pl +11 -1
- package/examples/check/dijkstra.pl +17 -1
- package/examples/check/dog.pl +1 -1
- package/examples/check/donald-gerald-robert.pl +1 -1
- package/examples/check/enigma1225.pl +1 -1
- package/examples/check/equality-saturation.pl +2 -1
- package/examples/check/eulerian-path.pl +3 -1
- package/examples/check/evidence-demand-authority.pl +14 -0
- package/examples/check/explainable-ev-depot-configuration.pl +1 -1
- package/examples/check/flandor.pl +2 -1
- package/examples/check/four-color-map.pl +2 -1
- package/examples/check/gdpr-compliance.pl +4 -1
- package/examples/check/graph-reachability.pl +7 -1
- package/examples/check/hamiltonian-path.pl +408 -1
- package/examples/check/integer-partitions.pl +1 -1
- package/examples/check/intuitionistic-logic-kripke.pl +4 -1
- package/examples/check/iso-control-and-errors.pl +3 -1
- package/examples/check/iso-dynamic-database.pl +4 -4
- package/examples/check/iso-extension-pipeline-audit.pl +5 -2
- package/examples/check/iso-extensions.pl +5 -3
- package/examples/check/iso-grouped-solutions.pl +5 -3
- package/examples/check/iso-operators.pl +1 -1
- package/examples/check/iso-term-io.pl +13 -1
- package/examples/check/job-shop-scheduling.pl +2 -1
- package/examples/check/json.pl +2 -1
- package/examples/check/knapsack-optimization.pl +2 -1
- package/examples/check/knights-tour-warnsdorff.pl +24 -1
- package/examples/check/knuth-bendix-completion.pl +5 -2
- package/examples/check/lee.pl +15 -1
- package/examples/check/linear-logic-resources.pl +1 -1
- package/examples/check/map-four-color-search.pl +27 -1
- package/examples/check/markov-logic-network.pl +10 -2
- package/examples/check/matrix-chain-order.pl +7 -1
- package/examples/check/missionaries-cannibals.pl +12 -2
- package/examples/check/modal-logic-kripke.pl +2 -1
- package/examples/check/observability-log-correlation.pl +1 -1
- package/examples/check/odrl-dpv-healthcare-risk-ranked.pl +1 -1
- package/examples/check/odrl-dpv-risk-ranked.pl +1 -1
- package/examples/check/odrl-policy-reasoning.pl +40 -2
- package/examples/check/partial-evaluator.pl +7 -1
- package/examples/check/path-discovery.pl +7 -1
- package/examples/check/pell-equation.pl +1 -1
- package/examples/check/prime-range.pl +3 -2
- package/examples/check/propositional-dynamic-logic.pl +7 -2
- package/examples/check/quine-mccluskey.pl +21 -3
- package/examples/check/rdf12-annotated-claims.pl +1 -1
- package/examples/check/register-allocation.pl +2 -1
- package/examples/check/reified-conditionals.pl +4 -1
- package/examples/check/riemann-hypothesis.pl +4 -1
- package/examples/check/sat-solver-dpll.pl +1 -1
- package/examples/check/sbom-vulnerability-response.pl +4 -1
- package/examples/check/scientific-evidence-graph.pl +2 -1
- package/examples/check/send-more-money.pl +1 -1
- package/examples/check/sieve.pl +1 -1
- package/examples/check/snaf.pl +1 -1
- package/examples/check/stable-marriage.pl +2 -2
- package/examples/check/stirling-bell-numbers.pl +4 -1
- package/examples/check/superdense-coding.pl +8 -1
- package/examples/check/symbiotic-knowledge-graph.pl +14 -2
- package/examples/check/term-tools.pl +1 -1
- package/examples/check/totient-summatory.pl +4 -1
- package/examples/check/universal-vs-existential-termination.pl +1 -1
- package/examples/check/vanilla-meta-interpreter.pl +2 -1
- package/examples/check/weighted-interval-scheduling.pl +9 -2
- package/examples/check/wolf-goat-cabbage.pl +12 -1
- package/examples/check/workplace-compliance.pl +2 -1
- package/examples/evidence-demand-authority.pl +103 -0
- package/examples/output/evidence-demand-authority.pl +4 -0
- package/examples/proof/evidence-demand-authority.pl +53 -0
- package/package.json +1 -1
- package/playground.html +1 -0
- package/src/check-proof.js +18 -13
- package/src/cli.js +3 -1
- package/the-art-of-eyeprolog.md +6 -5
|
@@ -3,7 +3,8 @@ condition('C2', well_founded, ok, 12).
|
|
|
3
3
|
condition('C3', justification, ok, 12).
|
|
4
4
|
condition('C4', coverage, ok, 17).
|
|
5
5
|
condition('C5', re_decision, ok, 0).
|
|
6
|
-
obligation(absent, theory_scoped,
|
|
6
|
+
obligation(absent, theory_scoped, \+ (allOf(policy_x, Claim), \+ has(test1, Claim))).
|
|
7
|
+
obligation(absent, theory_scoped, \+ (noneOf(policy_x, Claim), has(test1, Claim))).
|
|
7
8
|
steps(12).
|
|
8
9
|
verified(10).
|
|
9
10
|
recomputed(0).
|
|
@@ -3,7 +3,9 @@ condition('C2', well_founded, ok, 10).
|
|
|
3
3
|
condition('C3', justification, ok, 10).
|
|
4
4
|
condition('C4', coverage, ok, 10).
|
|
5
5
|
condition('C5', re_decision, ok, 3).
|
|
6
|
-
obligation(builtin, stateful,
|
|
6
|
+
obligation(builtin, stateful, put_atts(Variable, required(7))).
|
|
7
|
+
obligation(builtin, stateful, put_atts(Variable, required(ready))).
|
|
8
|
+
obligation(builtin, stateful, get_atts(Y, required(ready))).
|
|
7
9
|
steps(10).
|
|
8
10
|
verified(4).
|
|
9
11
|
recomputed(3).
|
|
@@ -3,7 +3,8 @@ condition('C2', well_founded, ok, 206).
|
|
|
3
3
|
condition('C3', justification, ok, 206).
|
|
4
4
|
condition('C4', coverage, ok, 291).
|
|
5
5
|
condition('C5', re_decision, ok, 145).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
6
|
+
obligation(builtin, theory_scoped, sumall(Expression, (between(0, 8, K), Rk is 8 - K, choose(12, K, A), choose(10, Rk, B), Expression is A * B), 319770.0)).
|
|
7
|
+
obligation(builtin, theory_scoped, sumall(Expression, (between(0, 12, K), choose(12, K, Expression)), 4096.0)).
|
|
7
8
|
steps(206).
|
|
8
9
|
verified(59).
|
|
9
10
|
recomputed(145).
|
|
@@ -3,8 +3,19 @@ condition('C2', well_founded, ok, 90).
|
|
|
3
3
|
condition('C3', justification, ok, 90).
|
|
4
4
|
condition('C4', coverage, ok, 96).
|
|
5
5
|
condition('C5', re_decision, ok, 40).
|
|
6
|
-
obligation(absent, theory_scoped,
|
|
7
|
-
obligation(
|
|
6
|
+
obligation(absent, theory_scoped, \+ member(on(_other, e), [on(a, table), on(b, a), on(c, b), on(d, c), on(e, d)])).
|
|
7
|
+
obligation(absent, theory_scoped, \+ member([on(a, table), on(b, a), on(c, b), on(d, c), on(e, table)], [[on(a, table), on(b, a), on(c, b), on(d, c), on(e, d)]])).
|
|
8
|
+
obligation(absent, theory_scoped, \+ member(on(_other, d), [on(a, table), on(b, a), on(c, b), on(d, c), on(e, table)])).
|
|
9
|
+
obligation(absent, theory_scoped, \+ member([on(a, table), on(b, a), on(c, b), on(d, table), on(e, table)], [[on(a, table), on(b, a), on(c, b), on(d, c), on(e, table)], [on(a, table), on(b, a), on(c, b), on(d, c), on(e, d)]])).
|
|
10
|
+
obligation(absent, theory_scoped, \+ member(on(_other, c), [on(a, table), on(b, a), on(c, b), on(d, table), on(e, table)])).
|
|
11
|
+
obligation(absent, theory_scoped, \+ member([on(a, table), on(b, a), on(c, table), on(d, table), on(e, table)], [[on(a, table), on(b, a), on(c, b), on(d, table), on(e, table)], [on(a, table), on(b, a), on(c, b), on(d, c), on(e, table)], [on(a, table), on(b, a), on(c, b), on(d, c), on(e, d)]])).
|
|
12
|
+
obligation(absent, theory_scoped, \+ member(on(_other, d), [on(a, table), on(b, a), on(c, table), on(d, table), on(e, table)])).
|
|
13
|
+
obligation(absent, theory_scoped, \+ member(on(_other, c), [on(a, table), on(b, a), on(c, table), on(d, table), on(e, table)])).
|
|
14
|
+
obligation(absent, theory_scoped, \+ member([on(a, table), on(b, a), on(c, table), on(d, c), on(e, table)], [[on(a, table), on(b, a), on(c, table), on(d, table), on(e, table)], [on(a, table), on(b, a), on(c, b), on(d, table), on(e, table)], [on(a, table), on(b, a), on(c, b), on(d, c), on(e, table)], [on(a, table), on(b, a), on(c, b), on(d, c), on(e, d)]])).
|
|
15
|
+
obligation(absent, theory_scoped, \+ member(on(_other, e), [on(a, table), on(b, a), on(c, table), on(d, c), on(e, table)])).
|
|
16
|
+
obligation(absent, theory_scoped, \+ member(on(_other, d), [on(a, table), on(b, a), on(c, table), on(d, c), on(e, table)])).
|
|
17
|
+
obligation(absent, theory_scoped, \+ member([on(a, table), on(b, a), on(c, table), on(d, c), on(e, d)], [[on(a, table), on(b, a), on(c, table), on(d, c), on(e, table)], [on(a, table), on(b, a), on(c, table), on(d, table), on(e, table)], [on(a, table), on(b, a), on(c, b), on(d, table), on(e, table)], [on(a, table), on(b, a), on(c, b), on(d, c), on(e, table)], [on(a, table), on(b, a), on(c, b), on(d, c), on(e, d)]])).
|
|
18
|
+
obligation(collected, theory_scoped, findall(Block, block(Block), "abcde")).
|
|
8
19
|
steps(90).
|
|
9
20
|
verified(37).
|
|
10
21
|
recomputed(39).
|
|
@@ -3,7 +3,8 @@ condition('C2', well_founded, ok, 15).
|
|
|
3
3
|
condition('C3', justification, ok, 15).
|
|
4
4
|
condition('C4', coverage, ok, 17).
|
|
5
5
|
condition('C5', re_decision, ok, 6).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
6
|
+
obligation(builtin, theory_scoped, sumall(Expression, (between(0, 11, I), J is 11 - I, catalan(I, A), catalan(J, B), Expression is A * B), 208012)).
|
|
7
|
+
obligation(builtin, theory_scoped, sumall(Expression, (between(0, 9, N), catalan(N, Expression)), 6918)).
|
|
7
8
|
steps(15).
|
|
8
9
|
verified(7).
|
|
9
10
|
recomputed(6).
|
|
@@ -3,7 +3,8 @@ condition('C2', well_founded, ok, 17).
|
|
|
3
3
|
condition('C3', justification, ok, 17).
|
|
4
4
|
condition('C4', coverage, ok, 20).
|
|
5
5
|
condition('C5', re_decision, ok, 0).
|
|
6
|
-
obligation(absent, theory_scoped,
|
|
6
|
+
obligation(absent, theory_scoped, \+ nonfalse_literal(initial, [neg(c)])).
|
|
7
|
+
obligation(absent, theory_scoped, \+ unsatisfied_final_clause).
|
|
7
8
|
steps(17).
|
|
8
9
|
verified(15).
|
|
9
10
|
recomputed(0).
|
|
@@ -3,7 +3,10 @@ condition('C2', well_founded, ok, 71).
|
|
|
3
3
|
condition('C3', justification, ok, 71).
|
|
4
4
|
condition('C4', coverage, ok, 92).
|
|
5
5
|
condition('C5', re_decision, ok, 10).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
6
|
+
obligation(builtin, theory_scoped, countall(span(command, s, 0, 5), 1)).
|
|
7
|
+
obligation(builtin, theory_scoped, countall(span(ambiguous_pp, s, 0, 8), 1)).
|
|
8
|
+
obligation(builtin, theory_scoped, countall(span(command, np, _start, _end), 2)).
|
|
9
|
+
obligation(builtin, theory_scoped, countall(span(ambiguous_pp, np, _start, _end), 4)).
|
|
7
10
|
steps(71).
|
|
8
11
|
verified(57).
|
|
9
12
|
recomputed(10).
|
|
@@ -3,7 +3,9 @@ condition('C2', well_founded, ok, 32).
|
|
|
3
3
|
condition('C3', justification, ok, 32).
|
|
4
4
|
condition('C4', coverage, ok, 38).
|
|
5
5
|
condition('C5', re_decision, ok, 4).
|
|
6
|
-
obligation(absent, theory_scoped,
|
|
6
|
+
obligation(absent, theory_scoped, \+ exclusion_renal(p001)).
|
|
7
|
+
obligation(absent, theory_scoped, \+ exclusion_pregnancy(p001)).
|
|
8
|
+
obligation(absent, theory_scoped, \+ inclusion_hba1c(p004)).
|
|
7
9
|
steps(32).
|
|
8
10
|
verified(25).
|
|
9
11
|
recomputed(4).
|
|
@@ -3,7 +3,11 @@ condition('C2', well_founded, ok, 18).
|
|
|
3
3
|
condition('C3', justification, ok, 18).
|
|
4
4
|
condition('C4', coverage, ok, 18).
|
|
5
5
|
condition('C5', re_decision, ok, 4).
|
|
6
|
-
obligation(builtin, stateful,
|
|
6
|
+
obligation(builtin, stateful, sat(0 =:= 0 * ~ 0 + ~ 0 * 0)).
|
|
7
|
+
obligation(builtin, stateful, sat(0 =:= 1 * ~ 1 + ~ 1 * 1)).
|
|
8
|
+
obligation(builtin, stateful, sat(1 =:= 0 * ~ 1 + ~ 0 * 1)).
|
|
9
|
+
obligation(builtin, stateful, sat(1 =:= 1 * ~ 0 + ~ 1 * 0)).
|
|
10
|
+
obligation(builtin, stateful, taut(x # y =:= x * ~ y + ~ x * y, 1)).
|
|
7
11
|
steps(18).
|
|
8
12
|
verified(9).
|
|
9
13
|
recomputed(4).
|
|
@@ -3,7 +3,9 @@ condition('C2', well_founded, ok, 10).
|
|
|
3
3
|
condition('C3', justification, ok, 10).
|
|
4
4
|
condition('C4', coverage, ok, 10).
|
|
5
5
|
condition('C5', re_decision, ok, 2).
|
|
6
|
-
obligation(builtin, stateful,
|
|
6
|
+
obligation(builtin, stateful, sat(card([2], [0, 0, 1, 1]) * (0 =< 1) * (0 # 1))).
|
|
7
|
+
obligation(builtin, stateful, sat(card([2], [0, 1, 1, 0]) * (0 =< 1) * (1 # 0))).
|
|
8
|
+
obligation(builtin, stateful, sat_count(card([2], [Alice, Bob, Carol, Dan]) * (Alice =< Carol) * (Bob # Dan), 2)).
|
|
7
9
|
steps(10).
|
|
8
10
|
verified(5).
|
|
9
11
|
recomputed(2).
|
|
@@ -3,7 +3,11 @@ condition('C2', well_founded, ok, 18).
|
|
|
3
3
|
condition('C3', justification, ok, 18).
|
|
4
4
|
condition('C4', coverage, ok, 18).
|
|
5
5
|
condition('C5', re_decision, ok, 4).
|
|
6
|
-
obligation(builtin, stateful,
|
|
6
|
+
obligation(builtin, stateful, sat((0 # 1) * (1 =< 1) * (1 =< 1))).
|
|
7
|
+
obligation(builtin, stateful, sat((1 # 0) * (0 =< 0) * (0 =< 0))).
|
|
8
|
+
obligation(builtin, stateful, sat((1 # 0) * (0 =< 1) * (0 =< 0))).
|
|
9
|
+
obligation(builtin, stateful, sat((1 # 0) * (1 =< 1) * (0 =< 1))).
|
|
10
|
+
obligation(builtin, stateful, sat_count((_Cloud # Edge) * (Audit =< _Encryption) * (Edge =< Audit), 4)).
|
|
7
11
|
steps(18).
|
|
8
12
|
verified(9).
|
|
9
13
|
recomputed(4).
|
|
@@ -3,7 +3,7 @@ condition('C2', well_founded, ok, 25).
|
|
|
3
3
|
condition('C3', justification, failed(1), 25).
|
|
4
4
|
condition('C4', coverage, ok, 27).
|
|
5
5
|
condition('C5', re_decision, ok, 22).
|
|
6
|
-
failure('C3', clpz_example(domain, domain(2, 7, 4,
|
|
6
|
+
failure('C3', clpz_example(domain, domain(2, 7, 4, 2..4 \/ 7)), 'recorded as unproven').
|
|
7
7
|
steps(25).
|
|
8
8
|
verified(2).
|
|
9
9
|
recomputed(22).
|
|
@@ -3,7 +3,7 @@ condition('C2', well_founded, ok, 6).
|
|
|
3
3
|
condition('C3', justification, ok, 6).
|
|
4
4
|
condition('C4', coverage, ok, 7).
|
|
5
5
|
condition('C5', re_decision, ok, 2).
|
|
6
|
-
obligation(collected, theory_scoped, 1).
|
|
6
|
+
obligation(collected, theory_scoped, findall(C, combination(3, [1, 2, 3, 4, 5], C), [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5]])).
|
|
7
7
|
steps(6).
|
|
8
8
|
verified(3).
|
|
9
9
|
recomputed(2).
|
|
@@ -3,7 +3,8 @@ condition('C2', well_founded, ok, 79).
|
|
|
3
3
|
condition('C3', justification, ok, 79).
|
|
4
4
|
condition('C4', coverage, ok, 93).
|
|
5
5
|
condition('C5', re_decision, ok, 26).
|
|
6
|
-
obligation(absent, theory_scoped, 2).
|
|
6
|
+
obligation(absent, theory_scoped, \+ allowed_shape(gps, 2)).
|
|
7
|
+
obligation(absent, theory_scoped, \+ allowed_shape(tampered, 1)).
|
|
7
8
|
steps(79).
|
|
8
9
|
verified(51).
|
|
9
10
|
recomputed(26).
|
|
@@ -3,7 +3,7 @@ condition('C2', well_founded, ok, 124).
|
|
|
3
3
|
condition('C3', justification, ok, 124).
|
|
4
4
|
condition('C4', coverage, ok, 139).
|
|
5
5
|
condition('C5', re_decision, ok, 102).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
6
|
+
obligation(builtin, theory_scoped, sumall(Expression, (between(0, 10, N), conv(N, Expression, _q)), 13859)).
|
|
7
7
|
steps(124).
|
|
8
8
|
verified(21).
|
|
9
9
|
recomputed(102).
|
|
@@ -3,8 +3,18 @@ condition('C2', well_founded, ok, 128).
|
|
|
3
3
|
condition('C3', justification, ok, 128).
|
|
4
4
|
condition('C4', coverage, ok, 186).
|
|
5
5
|
condition('C5', re_decision, ok, 11).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
7
|
-
obligation(
|
|
6
|
+
obligation(builtin, theory_scoped, aggregate_max(Key, Value, finish_time(Value, Key), 23, launch)).
|
|
7
|
+
obligation(builtin, theory_scoped, aggregate_max(Key, Value, (depends(launch, Value), finish_time(Value, Key)), 22, security_review)).
|
|
8
|
+
obligation(builtin, theory_scoped, aggregate_max(Key, Value, (depends(security_review, Value), finish_time(Value, Key)), 19, integration)).
|
|
9
|
+
obligation(builtin, theory_scoped, aggregate_max(Key, Value, (depends(integration, Value), finish_time(Value, Key)), 15, backend)).
|
|
10
|
+
obligation(builtin, theory_scoped, aggregate_max(Key, Value, (depends(backend, Value), finish_time(Value, Key)), 9, database)).
|
|
11
|
+
obligation(builtin, theory_scoped, aggregate_max(Key, Value, (depends(database, Value), finish_time(Value, Key)), 5, architecture)).
|
|
12
|
+
obligation(builtin, theory_scoped, aggregate_max(Key, Value, (depends(architecture, Value), finish_time(Value, Key)), 2, requirements)).
|
|
13
|
+
obligation(absent, theory_scoped, \+ depends(requirements, _pred)).
|
|
14
|
+
obligation(builtin, theory_scoped, aggregate_max(Key, Value, (depends(api_design, Value), finish_time(Value, Key)), 2, requirements)).
|
|
15
|
+
obligation(builtin, theory_scoped, aggregate_max(Key, Value, (depends(frontend, Value), finish_time(Value, Key)), 4, api_design)).
|
|
16
|
+
obligation(builtin, theory_scoped, aggregate_max(Key, Value, (depends(auth, Value), finish_time(Value, Key)), 5, architecture)).
|
|
17
|
+
obligation(builtin, theory_scoped, aggregate_max(Key, Value, (depends(load_test, Value), finish_time(Value, Key)), 19, integration)).
|
|
8
18
|
steps(128).
|
|
9
19
|
verified(105).
|
|
10
20
|
recomputed(11).
|
|
@@ -3,7 +3,7 @@ condition('C2', well_founded, ok, 6).
|
|
|
3
3
|
condition('C3', justification, ok, 6).
|
|
4
4
|
condition('C4', coverage, ok, 7).
|
|
5
5
|
condition('C5', re_decision, ok, 2).
|
|
6
|
-
obligation(collected, theory_scoped,
|
|
6
|
+
obligation(collected, theory_scoped, findall(G, valid_group(G), [[identity, reflection_a, reflection_b, reflection_c, rotation_120, rotation_240], [identity, reflection_a], [identity, reflection_b], [identity, reflection_c], [identity, rotation_120, rotation_240], [identity]])).
|
|
7
7
|
steps(6).
|
|
8
8
|
verified(3).
|
|
9
9
|
recomputed(2).
|
|
@@ -3,7 +3,7 @@ condition('C2', well_founded, ok, 12).
|
|
|
3
3
|
condition('C3', justification, ok, 12).
|
|
4
4
|
condition('C4', coverage, ok, 14).
|
|
5
5
|
condition('C5', re_decision, ok, 3).
|
|
6
|
-
obligation(absent, theory_scoped,
|
|
6
|
+
obligation(absent, theory_scoped, \+ member(data4, [data1, data2, data3])).
|
|
7
7
|
steps(12).
|
|
8
8
|
verified(8).
|
|
9
9
|
recomputed(3).
|
|
@@ -3,8 +3,10 @@ condition('C2', well_founded, ok, 8).
|
|
|
3
3
|
condition('C3', justification, ok, 8).
|
|
4
4
|
condition('C4', coverage, ok, 8).
|
|
5
5
|
condition('C5', re_decision, ok, 0).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
7
|
-
obligation(
|
|
6
|
+
obligation(builtin, theory_scoped, phrase(command(set(light(kitchen), on)), [set, kitchen, light, to, on])).
|
|
7
|
+
obligation(builtin, theory_scoped, phrase(command(set(light(hall), off)), [set, hall, light, to, off])).
|
|
8
|
+
obligation(builtin, theory_scoped, phrase(command(set(light(kitchen), on)), [set, kitchen, light, to, on, then, wait], [then, wait])).
|
|
9
|
+
obligation(absent, theory_scoped, \+ phrase(command(__anon0), [set, garage, light, to, blinking])).
|
|
8
10
|
steps(8).
|
|
9
11
|
verified(4).
|
|
10
12
|
recomputed(0).
|
|
@@ -3,8 +3,12 @@ condition('C2', well_founded, ok, 28).
|
|
|
3
3
|
condition('C3', justification, ok, 28).
|
|
4
4
|
condition('C4', coverage, ok, 28).
|
|
5
5
|
condition('C5', re_decision, ok, 4).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
7
|
-
obligation(
|
|
6
|
+
obligation(builtin, theory_scoped, phrase(expression(add(lit(2), mul(lit(3), sub(lit(4), lit(1))))), [2, +, 3, *, '(', 4, -, 1, ')'])).
|
|
7
|
+
obligation(builtin, theory_scoped, phrase(expression(sub(mul(var(x), add(var(y), lit(2))), var(z))), [x, *, '(', y, +, 2|")-z"])).
|
|
8
|
+
obligation(builtin, theory_scoped, phrase(emit_expression(sub(lit(20), sub(lit(5), lit(3)))), [20, -, '(', 5, -, 3, ')'])).
|
|
9
|
+
obligation(builtin, theory_scoped, phrase(expression(sub(lit(20), sub(lit(5), lit(3)))), [20, -, '(', 5, -, 3, ')'])).
|
|
10
|
+
obligation(builtin, theory_scoped, phrase(expression(mul(var(x), lit(2))), [x, *, 2, then, stop], [then, stop])).
|
|
11
|
+
obligation(absent, theory_scoped, \+ phrase(expression(__anon14), [2, *, '(', 3, +, 4])).
|
|
8
12
|
steps(28).
|
|
9
13
|
verified(18).
|
|
10
14
|
recomputed(4).
|
|
@@ -3,7 +3,12 @@ condition('C2', well_founded, ok, 37).
|
|
|
3
3
|
condition('C3', justification, ok, 37).
|
|
4
4
|
condition('C4', coverage, ok, 60).
|
|
5
5
|
condition('C5', re_decision, ok, 11).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
6
|
+
obligation(builtin, theory_scoped, once(a(ind, a2))).
|
|
7
|
+
obligation(builtin, theory_scoped, once(a(ind, n500))).
|
|
8
|
+
obligation(builtin, theory_scoped, once(a(ind, i500))).
|
|
9
|
+
obligation(builtin, theory_scoped, once(a(ind, j500))).
|
|
10
|
+
obligation(builtin, theory_scoped, once(a(ind, n999))).
|
|
11
|
+
obligation(builtin, theory_scoped, once(a(ind, n1000))).
|
|
7
12
|
steps(37).
|
|
8
13
|
verified(20).
|
|
9
14
|
recomputed(0).
|
|
@@ -3,7 +3,12 @@ condition('C2', well_founded, ok, 37).
|
|
|
3
3
|
condition('C3', justification, ok, 37).
|
|
4
4
|
condition('C4', coverage, ok, 60).
|
|
5
5
|
condition('C5', re_decision, ok, 11).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
6
|
+
obligation(builtin, theory_scoped, once(a(ind, a2))).
|
|
7
|
+
obligation(builtin, theory_scoped, once(a(ind, n5000))).
|
|
8
|
+
obligation(builtin, theory_scoped, once(a(ind, i5000))).
|
|
9
|
+
obligation(builtin, theory_scoped, once(a(ind, j5000))).
|
|
10
|
+
obligation(builtin, theory_scoped, once(a(ind, n9999))).
|
|
11
|
+
obligation(builtin, theory_scoped, once(a(ind, n10000))).
|
|
7
12
|
steps(37).
|
|
8
13
|
verified(20).
|
|
9
14
|
recomputed(0).
|
|
@@ -3,7 +3,12 @@ condition('C2', well_founded, ok, 37).
|
|
|
3
3
|
condition('C3', justification, ok, 37).
|
|
4
4
|
condition('C4', coverage, ok, 60).
|
|
5
5
|
condition('C5', re_decision, ok, 11).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
6
|
+
obligation(builtin, theory_scoped, once(a(ind, a2))).
|
|
7
|
+
obligation(builtin, theory_scoped, once(a(ind, n50000))).
|
|
8
|
+
obligation(builtin, theory_scoped, once(a(ind, i50000))).
|
|
9
|
+
obligation(builtin, theory_scoped, once(a(ind, j50000))).
|
|
10
|
+
obligation(builtin, theory_scoped, once(a(ind, n99999))).
|
|
11
|
+
obligation(builtin, theory_scoped, once(a(ind, n100000))).
|
|
7
12
|
steps(37).
|
|
8
13
|
verified(20).
|
|
9
14
|
recomputed(0).
|
|
@@ -3,7 +3,11 @@ condition('C2', well_founded, ok, 14).
|
|
|
3
3
|
condition('C3', justification, ok, 14).
|
|
4
4
|
condition('C4', coverage, ok, 14).
|
|
5
5
|
condition('C5', re_decision, ok, 0).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
6
|
+
obligation(builtin, theory_scoped, wfs_truth(reimbursable(taxi_receipt), true)).
|
|
7
|
+
obligation(builtin, theory_scoped, wfs_truth(reimbursable(client_dinner_wine), false)).
|
|
8
|
+
obligation(builtin, theory_scoped, wfs_truth(reimbursable(client_dinner_wine_preapproved), true)).
|
|
9
|
+
obligation(builtin, theory_scoped, wfs_truth(covered_by_blanket(team_offsite_hotel), undefined)).
|
|
10
|
+
obligation(builtin, theory_scoped, wfs_truth(itemized(team_offsite_hotel), undefined)).
|
|
7
11
|
steps(14).
|
|
8
12
|
verified(9).
|
|
9
13
|
recomputed(0).
|
|
@@ -3,7 +3,8 @@ condition('C2', well_founded, ok, 295).
|
|
|
3
3
|
condition('C3', justification, ok, 295).
|
|
4
4
|
condition('C4', coverage, ok, 354).
|
|
5
5
|
condition('C5', re_decision, ok, 50).
|
|
6
|
-
obligation(absent, theory_scoped,
|
|
6
|
+
obligation(absent, theory_scoped, \+ better_lower_sugar(120, 30)).
|
|
7
|
+
obligation(absent, theory_scoped, \+ matches('createdat expiresat insight metric sugar_g_per_serving retailer delfour scopedevice self-scanner scopeevent pick_up_scanner', 'diabetes|medical')).
|
|
7
8
|
steps(295).
|
|
8
9
|
verified(243).
|
|
9
10
|
recomputed(50).
|
|
@@ -3,7 +3,17 @@ condition('C2', well_founded, ok, 50).
|
|
|
3
3
|
condition('C3', justification, ok, 50).
|
|
4
4
|
condition('C4', coverage, ok, 51).
|
|
5
5
|
condition('C5', re_decision, ok, 24).
|
|
6
|
-
obligation(collected, theory_scoped,
|
|
6
|
+
obligation(collected, theory_scoped, findall([Newcost, Neighbor, a], (edge(a, Neighbor, Weight), \+ member(Neighbor, []), Newcost is 0 + Weight), [[4|"ba"], [2|"ca"]])).
|
|
7
|
+
obligation(collected, theory_scoped, findall([Newcost, Neighbor|"ca"], (edge(c, Neighbor, Weight), \+ member(Neighbor, "a"), Newcost is 2 + Weight), [[10|"dca"], [12|"eca"], [3|"bca"]])).
|
|
8
|
+
obligation(collected, theory_scoped, findall([Newcost, Neighbor|"bca"], (edge(b, Neighbor, Weight), \+ member(Neighbor, "ca"), Newcost is 3 + Weight), [[8|"dbca"]])).
|
|
9
|
+
obligation(collected, theory_scoped, findall([Newcost, Neighbor|"ba"], (edge(b, Neighbor, Weight), \+ member(Neighbor, "bca"), Newcost is 4 + Weight), [[9|"dba"]])).
|
|
10
|
+
obligation(collected, theory_scoped, findall([Newcost, Neighbor|"dbca"], (edge(d, Neighbor, Weight), \+ member(Neighbor, "bbca"), Newcost is 8 + Weight), [[10|"edbca"], [14|"fdbca"]])).
|
|
11
|
+
obligation(collected, theory_scoped, findall([Newcost, Neighbor|"dba"], (edge(d, Neighbor, Weight), \+ member(Neighbor, "dbbca"), Newcost is 9 + Weight), [[11|"edba"], [15|"fdba"]])).
|
|
12
|
+
obligation(collected, theory_scoped, findall([Newcost, Neighbor|"dca"], (edge(d, Neighbor, Weight), \+ member(Neighbor, "ddbbca"), Newcost is 10 + Weight), [[12|"edca"], [16|"fdca"]])).
|
|
13
|
+
obligation(collected, theory_scoped, findall([Newcost, Neighbor|"edbca"], (edge(e, Neighbor, Weight), \+ member(Neighbor, "dddbbca"), Newcost is 10 + Weight), [[13|"fedbca"]])).
|
|
14
|
+
obligation(collected, theory_scoped, findall([Newcost, Neighbor|"edba"], (edge(e, Neighbor, Weight), \+ member(Neighbor, "edddbbca"), Newcost is 11 + Weight), [[14|"fedba"]])).
|
|
15
|
+
obligation(collected, theory_scoped, findall([Newcost, Neighbor|"eca"], (edge(e, Neighbor, Weight), \+ member(Neighbor, "eedddbbca"), Newcost is 12 + Weight), [[15|"feca"]])).
|
|
16
|
+
obligation(collected, theory_scoped, findall([Newcost, Neighbor|"edca"], (edge(e, Neighbor, Weight), \+ member(Neighbor, "eeedddbbca"), Newcost is 12 + Weight), [[15|"fedca"]])).
|
|
7
17
|
steps(50).
|
|
8
18
|
verified(15).
|
|
9
19
|
recomputed(23).
|
|
@@ -3,7 +3,23 @@ condition('C2', well_founded, ok, 167).
|
|
|
3
3
|
condition('C3', justification, ok, 167).
|
|
4
4
|
condition('C4', coverage, ok, 223).
|
|
5
5
|
condition('C5', re_decision, ok, 29).
|
|
6
|
-
obligation(absent, theory_scoped,
|
|
6
|
+
obligation(absent, theory_scoped, \+ member(b, "a")).
|
|
7
|
+
obligation(absent, theory_scoped, \+ member(d, "ba")).
|
|
8
|
+
obligation(absent, theory_scoped, \+ member(e, "dba")).
|
|
9
|
+
obligation(absent, theory_scoped, \+ member(f, "edba")).
|
|
10
|
+
obligation(absent, theory_scoped, \+ member(f, "dba")).
|
|
11
|
+
obligation(absent, theory_scoped, \+ member(c, "a")).
|
|
12
|
+
obligation(absent, theory_scoped, \+ member(d, "ca")).
|
|
13
|
+
obligation(absent, theory_scoped, \+ member(e, "dca")).
|
|
14
|
+
obligation(absent, theory_scoped, \+ member(f, "edca")).
|
|
15
|
+
obligation(absent, theory_scoped, \+ member(f, "dca")).
|
|
16
|
+
obligation(absent, theory_scoped, \+ member(e, "ca")).
|
|
17
|
+
obligation(absent, theory_scoped, \+ member(f, "eca")).
|
|
18
|
+
obligation(absent, theory_scoped, \+ member(b, "ca")).
|
|
19
|
+
obligation(absent, theory_scoped, \+ member(d, "bca")).
|
|
20
|
+
obligation(absent, theory_scoped, \+ member(e, "dbca")).
|
|
21
|
+
obligation(absent, theory_scoped, \+ member(f, "edbca")).
|
|
22
|
+
obligation(absent, theory_scoped, \+ member(f, "dbca")).
|
|
7
23
|
steps(167).
|
|
8
24
|
verified(121).
|
|
9
25
|
recomputed(29).
|
package/examples/check/dog.pl
CHANGED
|
@@ -3,7 +3,7 @@ condition('C2', well_founded, ok, 5).
|
|
|
3
3
|
condition('C3', justification, ok, 5).
|
|
4
4
|
condition('C4', coverage, ok, 5).
|
|
5
5
|
condition('C5', re_decision, ok, 1).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
6
|
+
obligation(builtin, theory_scoped, countall(hasDog(alice, _dog), 5)).
|
|
7
7
|
steps(5).
|
|
8
8
|
verified(3).
|
|
9
9
|
recomputed(1).
|
|
@@ -3,7 +3,7 @@ condition('C2', well_founded, ok, 67).
|
|
|
3
3
|
condition('C3', justification, ok, 67).
|
|
4
4
|
condition('C4', coverage, ok, 75).
|
|
5
5
|
condition('C5', re_decision, ok, 56).
|
|
6
|
-
obligation(builtin, theory_scoped, 1).
|
|
6
|
+
obligation(builtin, theory_scoped, countall(pandigital_cryptarithm(__anon0), 1)).
|
|
7
7
|
steps(67).
|
|
8
8
|
verified(10).
|
|
9
9
|
recomputed(56).
|
|
@@ -3,7 +3,7 @@ condition('C2', well_founded, ok, 2).
|
|
|
3
3
|
condition('C3', justification, ok, 2).
|
|
4
4
|
condition('C4', coverage, ok, 2).
|
|
5
5
|
condition('C5', re_decision, ok, 0).
|
|
6
|
-
obligation(builtin, theory_scoped, 1).
|
|
6
|
+
obligation(builtin, theory_scoped, aggregate_max(Key, board(M, Perm), square(8, M, Key, __anon0, Perm), 544, board([[1, 1, 2, 3, 4, 5, 6, 7], [1, 1, 3, 2, 5, 4, 7, 6], [3, 2, 8, 8, 9, 10, 11, 12], [2, 3, 8, 8, 10, 9, 12, 11], [5, 4, 10, 9, 13, 13, 14, 15], [4, 5, 9, 10, 13, 13, 15, 14], [7, 6, 12, 11, 15, 14, 16, 16], [6, 7, 11, 12, 14, 15, 16, 16]], [2, 1, 4, 3, 6, 5, 8, 7]))).
|
|
7
7
|
steps(2).
|
|
8
8
|
verified(1).
|
|
9
9
|
recomputed(0).
|
|
@@ -3,7 +3,8 @@ condition('C2', well_founded, ok, 9).
|
|
|
3
3
|
condition('C3', justification, ok, 9).
|
|
4
4
|
condition('C4', coverage, ok, 11).
|
|
5
5
|
condition('C5', re_decision, ok, 0).
|
|
6
|
-
obligation(builtin, theory_scoped,
|
|
6
|
+
obligation(builtin, theory_scoped, aggregate_min([Candidate_cost, Value], Value, (candidate_expression(Value), expr_cost(Value, Candidate_cost)), [3, add(x, 6)], add(x, 6))).
|
|
7
|
+
obligation(builtin, theory_scoped, countall(candidate_expression(__anon2), 32)).
|
|
7
8
|
steps(9).
|
|
8
9
|
verified(7).
|
|
9
10
|
recomputed(0).
|
|
@@ -3,7 +3,9 @@ condition('C2', well_founded, ok, 84).
|
|
|
3
3
|
condition('C3', justification, ok, 84).
|
|
4
4
|
condition('C4', coverage, ok, 86).
|
|
5
5
|
condition('C5', re_decision, ok, 6).
|
|
6
|
-
obligation(collected, theory_scoped,
|
|
6
|
+
obligation(collected, theory_scoped, findall(V, odd_degree(V), [])).
|
|
7
|
+
obligation(collected, theory_scoped, findall(V, vertex(V), [v1, v1, v1, v1, v2, v2, v2, v3, v3, v4, v4, v2, v3, v5, v6, v3, v4, v6, v4, v6, v5, v6])).
|
|
8
|
+
obligation(collected, theory_scoped, findall(E, edge(E, _a, _b), [e12, e13, e15, e16, e23, e24, e26, e34, e36, e45, e46])).
|
|
7
9
|
steps(84).
|
|
8
10
|
verified(75).
|
|
9
11
|
recomputed(5).
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
condition('C1', resolution, ok, 7).
|
|
2
|
+
condition('C2', well_founded, ok, 9).
|
|
3
|
+
condition('C3', justification, ok, 9).
|
|
4
|
+
condition('C4', coverage, ok, 12).
|
|
5
|
+
condition('C5', re_decision, ok, 0).
|
|
6
|
+
obligation(absent, theory_scoped, \+ may_demand(authority, evidence_of(continued_conditions))).
|
|
7
|
+
obligation(absent, theory_scoped, \+ available_ground).
|
|
8
|
+
steps(9).
|
|
9
|
+
verified(7).
|
|
10
|
+
recomputed(0).
|
|
11
|
+
composed(0).
|
|
12
|
+
trusted(2).
|
|
13
|
+
claims(4).
|
|
14
|
+
verdict(checked_with_obligations).
|
|
@@ -3,7 +3,7 @@ condition('C2', well_founded, ok, 54).
|
|
|
3
3
|
condition('C3', justification, ok, 54).
|
|
4
4
|
condition('C4', coverage, ok, 64).
|
|
5
5
|
condition('C5', re_decision, ok, 11).
|
|
6
|
-
obligation(absent, theory_scoped,
|
|
6
|
+
obligation(absent, theory_scoped, \+ blocker(depot_a, fleet22, __anon0)).
|
|
7
7
|
steps(54).
|
|
8
8
|
verified(42).
|
|
9
9
|
recomputed(11).
|
|
@@ -3,7 +3,8 @@ condition('C2', well_founded, ok, 105).
|
|
|
3
3
|
condition('C3', justification, ok, 105).
|
|
4
4
|
condition('C4', coverage, ok, 153).
|
|
5
5
|
condition('C5', re_decision, ok, 6).
|
|
6
|
-
obligation(absent, theory_scoped,
|
|
6
|
+
obligation(absent, theory_scoped, \+ lower_cost_eligible_package(120)).
|
|
7
|
+
obligation(absent, theory_scoped, \+ matches('createdat expiresat insight metric regional_retooling_priority region flanders scopedevice economic-resilience-board scopeevent budget-prep-window suggestionpolicy lowest_cost_package_covering_all_active_needs threshold 3', 'salary|payroll|invoice|medical|firmname')).
|
|
7
8
|
steps(105).
|
|
8
9
|
verified(97).
|
|
9
10
|
recomputed(6).
|
|
@@ -3,7 +3,8 @@ condition('C2', well_founded, ok, 15).
|
|
|
3
3
|
condition('C3', justification, ok, 15).
|
|
4
4
|
condition('C4', coverage, ok, 17).
|
|
5
5
|
condition('C5', re_decision, ok, 4).
|
|
6
|
-
obligation(collected, theory_scoped,
|
|
6
|
+
obligation(collected, theory_scoped, findall(Country, valid_assignment(Country), [belgium, netherlands, luxemburg, france, germany, italy, denmark, ireland, greece, spain, portugal, austria, sweden, finland, cyprus, malta, poland, hungary, czech_republic, slovakia, slovenia, estonia, latvia, lithuania, bulgaria, romania, croatia])).
|
|
7
|
+
obligation(collected, theory_scoped, findall([A, B], border_colours_differ(A, B), [[belgium, france], [belgium, netherlands], [belgium, luxemburg], [belgium, germany], [netherlands, germany], [luxemburg, france], [luxemburg, germany], [france, spain], [france, germany], [france, italy], [germany, denmark], [germany, austria], [germany, poland], [germany, czech_republic], [italy, austria], [italy, slovenia], [greece, bulgaria], [spain, portugal], [austria, czech_republic], [austria, hungary], [austria, slovenia], [austria, slovakia], [sweden, finland], [poland, czech_republic], [poland, slovakia], [poland, lithuania], [hungary, slovakia], [hungary, romania], [hungary, croatia], [hungary, slovenia], [czech_republic, slovakia], [slovakia, austria], [slovenia, croatia], [estonia, latvia], [latvia, lithuania], [bulgaria, romania]])).
|
|
7
8
|
steps(15).
|
|
8
9
|
verified(9).
|
|
9
10
|
recomputed(4).
|
|
@@ -3,7 +3,10 @@ condition('C2', well_founded, ok, 28).
|
|
|
3
3
|
condition('C3', justification, ok, 28).
|
|
4
4
|
condition('C4', coverage, ok, 29).
|
|
5
5
|
condition('C5', re_decision, ok, 0).
|
|
6
|
-
obligation(absent, theory_scoped,
|
|
6
|
+
obligation(absent, theory_scoped, \+ third_country_transfer(case_alpha)).
|
|
7
|
+
obligation(absent, theory_scoped, \+ has_required_basis(case_beta)).
|
|
8
|
+
obligation(absent, theory_scoped, \+ safeguard(case_beta, access_logging)).
|
|
9
|
+
obligation(absent, theory_scoped, \+ adequacy_decision(case_beta)).
|
|
7
10
|
steps(28).
|
|
8
11
|
verified(24).
|
|
9
12
|
recomputed(0).
|
|
@@ -3,7 +3,13 @@ condition('C2', well_founded, ok, 26).
|
|
|
3
3
|
condition('C3', justification, ok, 26).
|
|
4
4
|
condition('C4', coverage, ok, 26).
|
|
5
5
|
condition('C5', re_decision, ok, 0).
|
|
6
|
-
obligation(absent, theory_scoped,
|
|
6
|
+
obligation(absent, theory_scoped, \+ member(b, "a")).
|
|
7
|
+
obligation(absent, theory_scoped, \+ member(d, "ba")).
|
|
8
|
+
obligation(absent, theory_scoped, \+ member(f, "dba")).
|
|
9
|
+
obligation(absent, theory_scoped, \+ member(e, "c")).
|
|
10
|
+
obligation(absent, theory_scoped, \+ member(f, "ec")).
|
|
11
|
+
obligation(absent, theory_scoped, \+ member(g, "fec")).
|
|
12
|
+
obligation(absent, theory_scoped, \+ is_reachable(b, e)).
|
|
7
13
|
steps(26).
|
|
8
14
|
verified(19).
|
|
9
15
|
recomputed(0).
|