seam-lang 2.0.0
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/LICENSE.md +9 -0
- package/README.md +71 -0
- package/bin/seam.js +7 -0
- package/conformance-report.md +25 -0
- package/docs/compact-reasoning-workbench.md +35 -0
- package/docs/guide.md +621 -0
- package/docs/language-reference.md +773 -0
- package/examples/abstract-interpretation.pl +50 -0
- package/examples/access-control-policy.pl +52 -0
- package/examples/ackermann.pl +47 -0
- package/examples/age.pl +26 -0
- package/examples/aliases-and-namespaces.pl +20 -0
- package/examples/alignment-demo.pl +44 -0
- package/examples/allen-interval-calculus.pl +64 -0
- package/examples/ancestor.pl +22 -0
- package/examples/animal.pl +21 -0
- package/examples/annotation.pl +34 -0
- package/examples/auroracare.pl +309 -0
- package/examples/backward.pl +11 -0
- package/examples/basic-monadic.pl +10032 -0
- package/examples/bayes-diagnosis.pl +108 -0
- package/examples/bayes-therapy.pl +189 -0
- package/examples/beam-deflection.pl +48 -0
- package/examples/binomial-vandermonde.pl +49 -0
- package/examples/blocks-world-planning.pl +77 -0
- package/examples/bmi.pl +232 -0
- package/examples/braking-safety-worlds.pl +69 -0
- package/examples/buck-converter-design.pl +83 -0
- package/examples/cache-performance.pl +56 -0
- package/examples/canary-release.pl +51 -0
- package/examples/cat-koko.pl +24 -0
- package/examples/catalan-convolution.pl +37 -0
- package/examples/cdcl-sat-solver.pl +65 -0
- package/examples/chart-parser.pl +65 -0
- package/examples/clinical-trial-screening.pl +97 -0
- package/examples/collatz-1000.pl +45 -0
- package/examples/combinatorics-findall-sort.pl +38 -0
- package/examples/competitive-enzyme-kinetics.pl +78 -0
- package/examples/complex.pl +133 -0
- package/examples/composition-of-injective-functions-is-injective.pl +50 -0
- package/examples/context-association.pl +53 -0
- package/examples/context-schema-audit.pl +46 -0
- package/examples/continued-fraction-sqrt2.pl +36 -0
- package/examples/control-system.pl +76 -0
- package/examples/critical-path-schedule.pl +82 -0
- package/examples/cyclic-path.pl +18 -0
- package/examples/d3-group.pl +99 -0
- package/examples/dairy-energy-balance.pl +66 -0
- package/examples/data-negotiation.pl +38 -0
- package/examples/deep-taxonomy-10.pl +106 -0
- package/examples/deep-taxonomy-100.pl +376 -0
- package/examples/deep-taxonomy-1000.pl +3076 -0
- package/examples/deep-taxonomy-10000.pl +30076 -0
- package/examples/deep-taxonomy-100000.pl +300076 -0
- package/examples/delfour.pl +281 -0
- package/examples/deontic-logic.pl +52 -0
- package/examples/derived-backward-rule.pl +30 -0
- package/examples/derived-rule.pl +27 -0
- package/examples/diamond-property.pl +38 -0
- package/examples/dijkstra-findall-sort.pl +43 -0
- package/examples/dijkstra-risk-path.pl +87 -0
- package/examples/dijkstra.pl +50 -0
- package/examples/dining-philosophers.pl +147 -0
- package/examples/dog.pl +25 -0
- package/examples/dpv-odrl-purpose-mapping.pl +48 -0
- package/examples/drone-corridor-planner.pl +48 -0
- package/examples/easter-computus.pl +88 -0
- package/examples/electrical-rc-filter.pl +37 -0
- package/examples/epidemic-policy.pl +66 -0
- package/examples/equality-saturation.pl +84 -0
- package/examples/equivalence-classes-overlap-implies-same-class.pl +27 -0
- package/examples/eulerian-path.pl +87 -0
- package/examples/ev-range-worlds.pl +87 -0
- package/examples/existential-rule.pl +14 -0
- package/examples/exoplanet-validation-worlds.pl +94 -0
- package/examples/expression-eval.pl +45 -0
- package/examples/family-cousins.pl +67 -0
- package/examples/fastpow.pl +61 -0
- package/examples/fft8-numeric.pl +85 -0
- package/examples/fibonacci.pl +60 -0
- package/examples/field-nitrogen-balance.pl +73 -0
- package/examples/flandor.pl +296 -0
- package/examples/floating-point.pl +28 -0
- package/examples/four-color-map.pl +133 -0
- package/examples/fundamental-theorem-arithmetic.pl +119 -0
- package/examples/gd-step-certified.pl +162 -0
- package/examples/gdpr-compliance.pl +69 -0
- package/examples/good-cobbler.pl +16 -0
- package/examples/gps.pl +146 -0
- package/examples/graph-reachability.pl +33 -0
- package/examples/graph.pl +35 -0
- package/examples/gray-code-counter.pl +47 -0
- package/examples/greatest-lower-bound-uniqueness.pl +30 -0
- package/examples/group-inverse-uniqueness.pl +36 -0
- package/examples/hamiltonian-path.pl +51 -0
- package/examples/hamming-code.pl +109 -0
- package/examples/hanoi.pl +19 -0
- package/examples/heat-loss.pl +56 -0
- package/examples/herbrand-witnesses.pl +31 -0
- package/examples/heron-theorem.pl +42 -0
- package/examples/ideal-gas-law.pl +39 -0
- package/examples/illegitimate-reasoning.pl +88 -0
- package/examples/integer-partitions.pl +35 -0
- package/examples/intuitionistic-logic-kripke.pl +69 -0
- package/examples/job-shop-scheduling.pl +48 -0
- package/examples/knapsack-optimization.pl +46 -0
- package/examples/knowledge-engineering-alignment-flow.pl +46 -0
- package/examples/knuth-bendix-completion.pl +55 -0
- package/examples/language.pl +25 -0
- package/examples/law-of-cosines.pl +37 -0
- package/examples/least-squares-regression.pl +85 -0
- package/examples/linear-logic-resources.pl +51 -0
- package/examples/list-collection.pl +35 -0
- package/examples/lldm.pl +80 -0
- package/examples/manufacturing-quality-control.pl +73 -0
- package/examples/map-four-color-search.pl +65 -0
- package/examples/markov-logic-network.pl +87 -0
- package/examples/matrix-chain-order.pl +79 -0
- package/examples/matrix-noncommutativity.pl +43 -0
- package/examples/microgrid-dispatch.pl +89 -0
- package/examples/missionaries-cannibals.pl +53 -0
- package/examples/modal-logic-kripke.pl +45 -0
- package/examples/modular-exponentiation.pl +35 -0
- package/examples/monkey-bananas.pl +45 -0
- package/examples/n-queens-8.pl +35 -0
- package/examples/network-sla.pl +48 -0
- package/examples/newton-raphson.pl +48 -0
- package/examples/nixon-diamond.pl +37 -0
- package/examples/observability-log-correlation.pl +40 -0
- package/examples/odrl-dpv-fpv-trust-flow.pl +51 -0
- package/examples/odrl-dpv-healthcare-risk-ranked.pl +270 -0
- package/examples/odrl-dpv-risk-ranked.pl +320 -0
- package/examples/orbital-transfer-design.pl +116 -0
- package/examples/output/abstract-interpretation.pl +16 -0
- package/examples/output/access-control-policy.pl +2 -0
- package/examples/output/ackermann.pl +12 -0
- package/examples/output/age.pl +2 -0
- package/examples/output/aliases-and-namespaces.pl +5 -0
- package/examples/output/alignment-demo.pl +32 -0
- package/examples/output/allen-interval-calculus.pl +154 -0
- package/examples/output/ancestor.pl +6 -0
- package/examples/output/animal.pl +4 -0
- package/examples/output/annotation.pl +4 -0
- package/examples/output/auroracare.pl +117 -0
- package/examples/output/backward.pl +1 -0
- package/examples/output/basic-monadic.pl +1518 -0
- package/examples/output/bayes-diagnosis.pl +13 -0
- package/examples/output/bayes-therapy.pl +23 -0
- package/examples/output/beam-deflection.pl +5 -0
- package/examples/output/binomial-vandermonde.pl +4 -0
- package/examples/output/blocks-world-planning.pl +4 -0
- package/examples/output/bmi.pl +32 -0
- package/examples/output/braking-safety-worlds.pl +18 -0
- package/examples/output/buck-converter-design.pl +6 -0
- package/examples/output/cache-performance.pl +4 -0
- package/examples/output/canary-release.pl +5 -0
- package/examples/output/cat-koko.pl +3 -0
- package/examples/output/catalan-convolution.pl +4 -0
- package/examples/output/cdcl-sat-solver.pl +7 -0
- package/examples/output/chart-parser.pl +6 -0
- package/examples/output/clinical-trial-screening.pl +9 -0
- package/examples/output/collatz-1000.pl +1000 -0
- package/examples/output/combinatorics-findall-sort.pl +2 -0
- package/examples/output/competitive-enzyme-kinetics.pl +6 -0
- package/examples/output/complex.pl +6 -0
- package/examples/output/composition-of-injective-functions-is-injective.pl +2 -0
- package/examples/output/context-association.pl +3 -0
- package/examples/output/context-schema-audit.pl +12 -0
- package/examples/output/continued-fraction-sqrt2.pl +4 -0
- package/examples/output/control-system.pl +6 -0
- package/examples/output/critical-path-schedule.pl +19 -0
- package/examples/output/cyclic-path.pl +16 -0
- package/examples/output/d3-group.pl +2 -0
- package/examples/output/dairy-energy-balance.pl +13 -0
- package/examples/output/data-negotiation.pl +1 -0
- package/examples/output/deep-taxonomy-10.pl +16 -0
- package/examples/output/deep-taxonomy-100.pl +16 -0
- package/examples/output/deep-taxonomy-1000.pl +16 -0
- package/examples/output/deep-taxonomy-10000.pl +16 -0
- package/examples/output/deep-taxonomy-100000.pl +16 -0
- package/examples/output/delfour.pl +31 -0
- package/examples/output/deontic-logic.pl +4 -0
- package/examples/output/derived-backward-rule.pl +3 -0
- package/examples/output/derived-rule.pl +2 -0
- package/examples/output/diamond-property.pl +4 -0
- package/examples/output/dijkstra-findall-sort.pl +2 -0
- package/examples/output/dijkstra-risk-path.pl +29 -0
- package/examples/output/dijkstra.pl +16 -0
- package/examples/output/dining-philosophers.pl +350 -0
- package/examples/output/dog.pl +1 -0
- package/examples/output/dpv-odrl-purpose-mapping.pl +18 -0
- package/examples/output/drone-corridor-planner.pl +17 -0
- package/examples/output/easter-computus.pl +30 -0
- package/examples/output/electrical-rc-filter.pl +3 -0
- package/examples/output/epidemic-policy.pl +14 -0
- package/examples/output/equality-saturation.pl +5 -0
- package/examples/output/equivalence-classes-overlap-implies-same-class.pl +18 -0
- package/examples/output/eulerian-path.pl +3 -0
- package/examples/output/ev-range-worlds.pl +19 -0
- package/examples/output/existential-rule.pl +2 -0
- package/examples/output/exoplanet-validation-worlds.pl +22 -0
- package/examples/output/expression-eval.pl +1 -0
- package/examples/output/family-cousins.pl +28 -0
- package/examples/output/fastpow.pl +6 -0
- package/examples/output/fft8-numeric.pl +4 -0
- package/examples/output/fibonacci.pl +6 -0
- package/examples/output/field-nitrogen-balance.pl +21 -0
- package/examples/output/flandor.pl +43 -0
- package/examples/output/floating-point.pl +9 -0
- package/examples/output/four-color-map.pl +3 -0
- package/examples/output/fundamental-theorem-arithmetic.pl +9 -0
- package/examples/output/gd-step-certified.pl +79 -0
- package/examples/output/gdpr-compliance.pl +6 -0
- package/examples/output/good-cobbler.pl +1 -0
- package/examples/output/gps.pl +21 -0
- package/examples/output/graph-reachability.pl +3 -0
- package/examples/output/graph.pl +21 -0
- package/examples/output/gray-code-counter.pl +1 -0
- package/examples/output/greatest-lower-bound-uniqueness.pl +2 -0
- package/examples/output/group-inverse-uniqueness.pl +2 -0
- package/examples/output/hamiltonian-path.pl +121 -0
- package/examples/output/hamming-code.pl +6 -0
- package/examples/output/hanoi.pl +1 -0
- package/examples/output/heat-loss.pl +5 -0
- package/examples/output/herbrand-witnesses.pl +7 -0
- package/examples/output/heron-theorem.pl +4 -0
- package/examples/output/ideal-gas-law.pl +3 -0
- package/examples/output/illegitimate-reasoning.pl +15 -0
- package/examples/output/integer-partitions.pl +4 -0
- package/examples/output/intuitionistic-logic-kripke.pl +5 -0
- package/examples/output/job-shop-scheduling.pl +3 -0
- package/examples/output/knapsack-optimization.pl +4 -0
- package/examples/output/knowledge-engineering-alignment-flow.pl +17 -0
- package/examples/output/knuth-bendix-completion.pl +7 -0
- package/examples/output/language.pl +6 -0
- package/examples/output/law-of-cosines.pl +3 -0
- package/examples/output/least-squares-regression.pl +5 -0
- package/examples/output/linear-logic-resources.pl +2 -0
- package/examples/output/list-collection.pl +3 -0
- package/examples/output/lldm.pl +6 -0
- package/examples/output/manufacturing-quality-control.pl +6 -0
- package/examples/output/map-four-color-search.pl +1 -0
- package/examples/output/markov-logic-network.pl +32 -0
- package/examples/output/matrix-chain-order.pl +4 -0
- package/examples/output/matrix-noncommutativity.pl +3 -0
- package/examples/output/microgrid-dispatch.pl +6 -0
- package/examples/output/missionaries-cannibals.pl +3 -0
- package/examples/output/modal-logic-kripke.pl +4 -0
- package/examples/output/modular-exponentiation.pl +4 -0
- package/examples/output/monkey-bananas.pl +5 -0
- package/examples/output/n-queens-8.pl +1 -0
- package/examples/output/network-sla.pl +4 -0
- package/examples/output/newton-raphson.pl +3 -0
- package/examples/output/nixon-diamond.pl +5 -0
- package/examples/output/observability-log-correlation.pl +28 -0
- package/examples/output/odrl-dpv-fpv-trust-flow.pl +9 -0
- package/examples/output/odrl-dpv-healthcare-risk-ranked.pl +42 -0
- package/examples/output/odrl-dpv-risk-ranked.pl +120 -0
- package/examples/output/orbital-transfer-design.pl +7 -0
- package/examples/output/partial-evaluator.pl +4 -0
- package/examples/output/path-discovery.pl +3 -0
- package/examples/output/peano-arithmetic.pl +3 -0
- package/examples/output/peano-calculus.pl +3 -0
- package/examples/output/peasant.pl +10 -0
- package/examples/output/pell-equation.pl +4 -0
- package/examples/output/pendulum-period.pl +4 -0
- package/examples/output/pointer-analysis.pl +8 -0
- package/examples/output/polynomial.pl +14 -0
- package/examples/output/prime-range.pl +3 -0
- package/examples/output/proof-contrapositive.pl +3 -0
- package/examples/output/quadratic-formula.pl +6 -0
- package/examples/output/radioactive-decay.pl +5 -0
- package/examples/output/register-allocation.pl +8 -0
- package/examples/output/reusable-builtins.pl +5 -0
- package/examples/output/riemann-hypothesis.pl +12 -0
- package/examples/output/route-planning.pl +4 -0
- package/examples/output/sat-solver-dpll.pl +11 -0
- package/examples/output/security-incident-correlation.pl +3 -0
- package/examples/output/send-more-money.pl +3 -0
- package/examples/output/service-impact.pl +11 -0
- package/examples/output/shoelace-polygon-area.pl +1 -0
- package/examples/output/sieve.pl +1 -0
- package/examples/output/skolem-functions.pl +16 -0
- package/examples/output/socket-age.pl +1 -0
- package/examples/output/socket-family.pl +3 -0
- package/examples/output/socrates.pl +2 -0
- package/examples/output/stable-marriage.pl +2 -0
- package/examples/output/statistics-summary.pl +4 -0
- package/examples/output/stirling-bell-numbers.pl +4 -0
- package/examples/output/sudoku-4x4.pl +2 -0
- package/examples/output/superdense-coding.pl +6 -0
- package/examples/output/symbolic-derivative.pl +4 -0
- package/examples/output/term-tools.pl +6 -0
- package/examples/output/totient-summatory.pl +4 -0
- package/examples/output/trust-flow-provenance-threshold.pl +6 -0
- package/examples/output/truth-maintenance-system.pl +25 -0
- package/examples/output/turing.pl +12 -0
- package/examples/output/type-inference.pl +8 -0
- package/examples/output/vector-similarity.pl +4 -0
- package/examples/output/vulnerability-impact.pl +20 -0
- package/examples/output/web-names.pl +3 -0
- package/examples/output/weighted-interval-scheduling.pl +5 -0
- package/examples/output/witch.pl +7 -0
- package/examples/output/wolf-goat-cabbage.pl +3 -0
- package/examples/output/workplace-compliance.pl +4 -0
- package/examples/output/zebra.pl +3 -0
- package/examples/partial-evaluator.pl +74 -0
- package/examples/path-discovery.pl +45013 -0
- package/examples/peano-arithmetic.pl +33 -0
- package/examples/peano-calculus.pl +40 -0
- package/examples/peasant.pl +29 -0
- package/examples/pell-equation.pl +34 -0
- package/examples/pendulum-period.pl +50 -0
- package/examples/pointer-analysis.pl +50 -0
- package/examples/polynomial.pl +124 -0
- package/examples/prime-range.pl +45 -0
- package/examples/proof/access-control-policy.pl +158 -0
- package/examples/proof/age.pl +71 -0
- package/examples/proof/aliases-and-namespaces.pl +78 -0
- package/examples/proof/ancestor.pl +140 -0
- package/examples/proof/animal.pl +68 -0
- package/examples/proof/annotation.pl +80 -0
- package/examples/proof/backward.pl +22 -0
- package/examples/proof/bayes-diagnosis.pl +208 -0
- package/examples/proof/beam-deflection.pl +227 -0
- package/examples/proof/cache-performance.pl +310 -0
- package/examples/proof/canary-release.pl +172 -0
- package/examples/proof/cat-koko.pl +86 -0
- package/examples/proof/chart-parser.pl +474 -0
- package/examples/proof/clinical-trial-screening.pl +389 -0
- package/examples/proof/composition-of-injective-functions-is-injective.pl +258 -0
- package/examples/proof/context-association.pl +78 -0
- package/examples/proof/data-negotiation.pl +76 -0
- package/examples/proof/deontic-logic.pl +109 -0
- package/examples/proof/derived-backward-rule.pl +74 -0
- package/examples/proof/derived-rule.pl +43 -0
- package/examples/proof/diamond-property.pl +307 -0
- package/examples/proof/dog.pl +31 -0
- package/examples/proof/dpv-odrl-purpose-mapping.pl +348 -0
- package/examples/proof/electrical-rc-filter.pl +105 -0
- package/examples/proof/epidemic-policy.pl +774 -0
- package/examples/proof/equivalence-classes-overlap-implies-same-class.pl +1098 -0
- package/examples/proof/existential-rule.pl +32 -0
- package/examples/proof/expression-eval.pl +105 -0
- package/examples/proof/floating-point.pl +160 -0
- package/examples/proof/gdpr-compliance.pl +199 -0
- package/examples/proof/good-cobbler.pl +16 -0
- package/examples/proof/graph-reachability.pl +151 -0
- package/examples/proof/greatest-lower-bound-uniqueness.pl +150 -0
- package/examples/proof/group-inverse-uniqueness.pl +84 -0
- package/examples/proof/hanoi.pl +185 -0
- package/examples/proof/heat-loss.pl +228 -0
- package/examples/proof/ideal-gas-law.pl +151 -0
- package/examples/proof/intuitionistic-logic-kripke.pl +133 -0
- package/examples/proof/linear-logic-resources.pl +205 -0
- package/examples/proof/list-collection.pl +52 -0
- package/examples/proof/modal-logic-kripke.pl +125 -0
- package/examples/proof/nixon-diamond.pl +181 -0
- package/examples/proof/proof-contrapositive.pl +78 -0
- package/examples/proof/reusable-builtins.pl +124 -0
- package/examples/proof/security-incident-correlation.pl +270 -0
- package/examples/proof/socket-age.pl +32 -0
- package/examples/proof/socket-family.pl +59 -0
- package/examples/proof/socrates.pl +38 -0
- package/examples/proof/term-tools.pl +95 -0
- package/examples/proof/witch.pl +216 -0
- package/examples/proof-contrapositive.pl +27 -0
- package/examples/quadratic-formula.pl +56 -0
- package/examples/radioactive-decay.pl +58 -0
- package/examples/register-allocation.pl +77 -0
- package/examples/reusable-builtins.pl +36 -0
- package/examples/riemann-hypothesis.pl +110 -0
- package/examples/route-planning.pl +33 -0
- package/examples/sat-solver-dpll.pl +88 -0
- package/examples/security-incident-correlation.pl +69 -0
- package/examples/send-more-money.pl +71 -0
- package/examples/service-impact.pl +41 -0
- package/examples/shoelace-polygon-area.pl +22 -0
- package/examples/sieve.pl +20 -0
- package/examples/skolem-functions.pl +52 -0
- package/examples/socket-age.pl +39 -0
- package/examples/socket-family.pl +28 -0
- package/examples/socrates.pl +19 -0
- package/examples/stable-marriage.pl +92 -0
- package/examples/statistics-summary.pl +56 -0
- package/examples/stirling-bell-numbers.pl +69 -0
- package/examples/sudoku-4x4.pl +54 -0
- package/examples/superdense-coding.pl +84 -0
- package/examples/symbolic-derivative.pl +39 -0
- package/examples/term-tools.pl +32 -0
- package/examples/totient-summatory.pl +33 -0
- package/examples/trust-flow-provenance-threshold.pl +47 -0
- package/examples/truth-maintenance-system.pl +62 -0
- package/examples/turing.pl +69 -0
- package/examples/type-inference.pl +58 -0
- package/examples/vector-similarity.pl +60 -0
- package/examples/vulnerability-impact.pl +69 -0
- package/examples/web-names.pl +39 -0
- package/examples/weighted-interval-scheduling.pl +81 -0
- package/examples/witch.pl +38 -0
- package/examples/wolf-goat-cabbage.pl +56 -0
- package/examples/workplace-compliance.pl +41 -0
- package/examples/zebra.pl +45 -0
- package/index.d.ts +230 -0
- package/index.js +4 -0
- package/package.json +51 -0
- package/playground.html +1259 -0
- package/src/bin.js +7 -0
- package/src/builtins/aggregation.js +81 -0
- package/src/builtins/arithmetic.js +208 -0
- package/src/builtins/context.js +42 -0
- package/src/builtins/control.js +43 -0
- package/src/builtins/core.js +78 -0
- package/src/builtins/lists.js +283 -0
- package/src/builtins/registry.js +48 -0
- package/src/builtins/strings.js +234 -0
- package/src/builtins/terms.js +69 -0
- package/src/cli.js +194 -0
- package/src/explain.js +324 -0
- package/src/hash.js +294 -0
- package/src/index.js +47 -0
- package/src/parser.js +465 -0
- package/src/program.js +447 -0
- package/src/solver.js +453 -0
- package/src/term.js +349 -0
- package/test/conformance/README.md +72 -0
- package/test/conformance/cases/aggregation/044_findall_user_goal.pl +6 -0
- package/test/conformance/cases/aggregation/044_findall_user_goal.query +1 -0
- package/test/conformance/cases/aggregation/057_countall_empty_and_nonempty.pl +4 -0
- package/test/conformance/cases/aggregation/057_countall_empty_and_nonempty.query +1 -0
- package/test/conformance/cases/aggregation/058_sumall_numeric_template.pl +5 -0
- package/test/conformance/cases/aggregation/058_sumall_numeric_template.query +1 -0
- package/test/conformance/cases/aggregation/059_aggregate_min_template.pl +5 -0
- package/test/conformance/cases/aggregation/059_aggregate_min_template.query +1 -0
- package/test/conformance/cases/aggregation/060_aggregate_max_compound_key.pl +5 -0
- package/test/conformance/cases/aggregation/060_aggregate_max_compound_key.query +1 -0
- package/test/conformance/cases/aggregation/075_aggregation_edges.pl +12 -0
- package/test/conformance/cases/aggregation/098_aggregation_nested_templates.pl +11 -0
- package/test/conformance/cases/aggregation/aggregate_max_no_answers_fails.pl +2 -0
- package/test/conformance/cases/aggregation/aggregate_min_structured_key.pl +5 -0
- package/test/conformance/cases/aggregation/countall_zero.pl +2 -0
- package/test/conformance/cases/aggregation/extra_aggregate_max_iri_key.pl +4 -0
- package/test/conformance/cases/aggregation/extra_aggregate_min_tie_first.pl +5 -0
- package/test/conformance/cases/aggregation/extra_countall_with_filter.pl +5 -0
- package/test/conformance/cases/aggregation/extra_findall_repeated_template.pl +4 -0
- package/test/conformance/cases/aggregation/extra_sumall_float_template.pl +4 -0
- package/test/conformance/cases/aggregation/findall_empty_bag.pl +2 -0
- package/test/conformance/cases/aggregation/sumall_empty_zero.pl +2 -0
- package/test/conformance/cases/arithmetic/024_numeric_literal_readback.pl +6 -0
- package/test/conformance/cases/arithmetic/029_arithmetic_and_comparison.pl +11 -0
- package/test/conformance/cases/arithmetic/029_arithmetic_and_comparison.query +1 -0
- package/test/conformance/cases/arithmetic/039_numeric_functions.pl +9 -0
- package/test/conformance/cases/arithmetic/039_numeric_functions.query +1 -0
- package/test/conformance/cases/arithmetic/040_between_enumeration.pl +3 -0
- package/test/conformance/cases/arithmetic/040_between_enumeration.query +1 -0
- package/test/conformance/cases/arithmetic/041_smallest_divisor.pl +3 -0
- package/test/conformance/cases/arithmetic/041_smallest_divisor.query +1 -0
- package/test/conformance/cases/arithmetic/054_numeric_and_lexical_comparison.pl +5 -0
- package/test/conformance/cases/arithmetic/054_numeric_and_lexical_comparison.query +1 -0
- package/test/conformance/cases/arithmetic/061_date_difference.pl +4 -0
- package/test/conformance/cases/arithmetic/062_reusable_numeric_builtins.pl +10 -0
- package/test/conformance/cases/arithmetic/066_numeric_edges.pl +14 -0
- package/test/conformance/cases/arithmetic/079_big_integer_arithmetic.pl +8 -0
- package/test/conformance/cases/arithmetic/080_rounding_modes.pl +10 -0
- package/test/conformance/cases/arithmetic/081_zero_safe_numeric_functions.pl +9 -0
- package/test/conformance/cases/arithmetic/082_comparison_semantics.pl +10 -0
- package/test/conformance/cases/arithmetic/083_between_modes_and_empty_ranges.pl +8 -0
- package/test/conformance/cases/arithmetic/between_bound_value.pl +2 -0
- package/test/conformance/cases/arithmetic/between_singleton.pl +2 -0
- package/test/conformance/cases/arithmetic/duration_comparison.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_acos_one.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_asin_zero.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_atan2_axis.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_difference_leap_day.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_difference_same_day.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_div_float_exact.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_div_integer_trunc.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_division_by_zero_fails.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_exp_zero.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_ge_equal_duration.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_le_equal_string.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_log_one.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_mod_negative_right.pl +2 -0
- package/test/conformance/cases/arithmetic/extra_pow_large_integer.pl +2 -0
- package/test/conformance/cases/arithmetic/float_add_and_div.pl +3 -0
- package/test/conformance/cases/arithmetic/min_max_mixed.pl +3 -0
- package/test/conformance/cases/arithmetic/mod_negative_left.pl +2 -0
- package/test/conformance/cases/arithmetic/neg_abs_integer.pl +4 -0
- package/test/conformance/cases/arithmetic/pow_negative_exponent_fails.pl +2 -0
- package/test/conformance/cases/arithmetic/pow_zero_exponent.pl +2 -0
- package/test/conformance/cases/arithmetic/rounding_negative_float.pl +5 -0
- package/test/conformance/cases/arithmetic/smallest_divisor_prime.pl +2 -0
- package/test/conformance/cases/arithmetic/sqrt_negative_fails.pl +2 -0
- package/test/conformance/cases/atoms/008_graphic_atoms.pl +6 -0
- package/test/conformance/cases/atoms/008_graphic_atoms.query +1 -0
- package/test/conformance/cases/atoms/016_arity_zero_atom.pl +4 -0
- package/test/conformance/cases/atoms/018_quoted_atom_readback.pl +6 -0
- package/test/conformance/cases/atoms/018_quoted_atom_readback.query +1 -0
- package/test/conformance/cases/atoms/103_angle_iri_atoms.pl +7 -0
- package/test/conformance/cases/atoms/angle_iri_percent_encoded.pl +2 -0
- package/test/conformance/cases/atoms/extra_graphic_backslash_atom.pl +2 -0
- package/test/conformance/cases/atoms/extra_iri_mailto_plus.pl +2 -0
- package/test/conformance/cases/atoms/extra_iri_uuid_scheme.pl +2 -0
- package/test/conformance/cases/atoms/extra_quoted_atom_with_quote_readback.pl +2 -0
- package/test/conformance/cases/atoms/graphic_angle_atom_stays_graphic.pl +4 -0
- package/test/conformance/cases/atoms/graphic_atom_predicate.pl +3 -0
- package/test/conformance/cases/atoms/graphic_less_than_atom.pl +4 -0
- package/test/conformance/cases/atoms/iri_as_predicate_name_quoted.pl +3 -0
- package/test/conformance/cases/atoms/iri_atoms_in_lists.pl +4 -0
- package/test/conformance/cases/atoms/iri_mailto_readback.pl +4 -0
- package/test/conformance/cases/atoms/iri_query_fragment_readback.pl +4 -0
- package/test/conformance/cases/atoms/iri_quoted_absolute_readback.pl +5 -0
- package/test/conformance/cases/atoms/iri_quoted_and_angle_unify.pl +3 -0
- package/test/conformance/cases/atoms/iri_urn_readback.pl +4 -0
- package/test/conformance/cases/atoms/quoted_relative_iri_not_angle.pl +2 -0
- package/test/conformance/cases/atoms/quoted_urn_iri_readback.pl +4 -0
- package/test/conformance/cases/atoms/zero_arity_atom_roundtrip.pl +5 -0
- package/test/conformance/cases/builtins/037_matching_and_comparison.pl +7 -0
- package/test/conformance/cases/builtins/037_matching_and_comparison.query +1 -0
- package/test/conformance/cases/builtins/076_composed_reusable_builtins.pl +8 -0
- package/test/conformance/cases/builtins/100_reusable_builtin_workflow.pl +10 -0
- package/test/conformance/cases/builtins/atom_string_iri_atom.pl +3 -0
- package/test/conformance/cases/builtins/eq_unifies_iri_atoms.pl +3 -0
- package/test/conformance/cases/builtins/extra_difference_end_before_start_fails.pl +2 -0
- package/test/conformance/cases/builtins/extra_difference_invalid_date_fails.pl +2 -0
- package/test/conformance/cases/builtins/extra_eq_binds_both_sides.pl +2 -0
- package/test/conformance/cases/builtins/extra_neq_different_iri_atoms.pl +2 -0
- package/test/conformance/cases/builtins/extra_neq_same_iri_fails.pl +2 -0
- package/test/conformance/cases/context/032_holds_parts.pl +4 -0
- package/test/conformance/cases/context/051_nested_holds_parts.pl +4 -0
- package/test/conformance/cases/context/052_holds_member.pl +3 -0
- package/test/conformance/cases/context/094_context_holds_enumeration.pl +7 -0
- package/test/conformance/cases/context/extra_holds_atom_parts.pl +2 -0
- package/test/conformance/cases/context/extra_holds_ignores_string_parts.pl +2 -0
- package/test/conformance/cases/context/extra_holds_list_parts.pl +2 -0
- package/test/conformance/cases/context/extra_holds_term_nested_order.pl +2 -0
- package/test/conformance/cases/context/holds_compound_formula.pl +2 -0
- package/test/conformance/cases/context/holds_fails_when_missing.pl +2 -0
- package/test/conformance/cases/context/holds_parts_from_formula.pl +2 -0
- package/test/conformance/cases/control/014_failure_filters_answers.pl +7 -0
- package/test/conformance/cases/control/014_failure_filters_answers.query +1 -0
- package/test/conformance/cases/control/043_once_user_predicate.pl +5 -0
- package/test/conformance/cases/control/043_once_user_predicate.query +1 -0
- package/test/conformance/cases/control/074_forall_edges.pl +10 -0
- package/test/conformance/cases/control/097_control_negation_once_forall.pl +13 -0
- package/test/conformance/cases/control/double_negation_ground_goal.pl +3 -0
- package/test/conformance/cases/control/extra_forall_bound_check.pl +2 -0
- package/test/conformance/cases/control/extra_forall_counterexample_fails.pl +2 -0
- package/test/conformance/cases/control/extra_not_unbound_existing_goal_fails.pl +3 -0
- package/test/conformance/cases/control/extra_not_unbound_unknown_goal_succeeds.pl +2 -0
- package/test/conformance/cases/control/extra_once_empty_fails.pl +2 -0
- package/test/conformance/cases/control/extra_once_preserves_binding.pl +2 -0
- package/test/conformance/cases/control/forall_detects_counterexample.pl +5 -0
- package/test/conformance/cases/control/forall_empty_generator_true.pl +2 -0
- package/test/conformance/cases/control/negation_with_bound_generator.pl +5 -0
- package/test/conformance/cases/control/once_keeps_first_answer.pl +4 -0
- package/test/conformance/cases/declarations/104_mode_determinism_declarations.pl +11 -0
- package/test/conformance/cases/declarations/det_semidet_do_not_emit_without_materialize.pl +5 -0
- package/test/conformance/cases/declarations/memoize_is_ordinary_fact.pl +4 -0
- package/test/conformance/cases/declarations/mode_determinism_are_facts.pl +8 -0
- package/test/conformance/cases/declarations/mode_ignored_when_arity_mismatch.pl +5 -0
- package/test/conformance/cases/declarations/table_is_also_fact.pl +4 -0
- package/test/conformance/cases/lists/005_list_deconstruction.pl +6 -0
- package/test/conformance/cases/lists/005_list_deconstruction.query +1 -0
- package/test/conformance/cases/lists/015_improper_list_unification.pl +6 -0
- package/test/conformance/cases/lists/015_improper_list_unification.query +1 -0
- package/test/conformance/cases/lists/020_nested_list_terms.pl +5 -0
- package/test/conformance/cases/lists/020_nested_list_terms.query +1 -0
- package/test/conformance/cases/lists/031_lists_aggregation_ordering.pl +10 -0
- package/test/conformance/cases/lists/031_lists_aggregation_ordering.query +1 -0
- package/test/conformance/cases/lists/035_list_relations.pl +5 -0
- package/test/conformance/cases/lists/035_list_relations.query +1 -0
- package/test/conformance/cases/lists/036_append_splits.pl +3 -0
- package/test/conformance/cases/lists/036_append_splits.query +1 -0
- package/test/conformance/cases/lists/045_sort_deduplicates_atoms.pl +3 -0
- package/test/conformance/cases/lists/045_sort_deduplicates_atoms.query +1 -0
- package/test/conformance/cases/lists/046_append_bound_prefix_suffix.pl +4 -0
- package/test/conformance/cases/lists/046_append_bound_prefix_suffix.query +1 -0
- package/test/conformance/cases/lists/047_nth0_index_generation.pl +3 -0
- package/test/conformance/cases/lists/047_nth0_index_generation.query +1 -0
- package/test/conformance/cases/lists/048_set_nth0_edges.pl +4 -0
- package/test/conformance/cases/lists/048_set_nth0_edges.query +1 -0
- package/test/conformance/cases/lists/049_select_duplicate_occurrences.pl +3 -0
- package/test/conformance/cases/lists/049_select_duplicate_occurrences.query +1 -0
- package/test/conformance/cases/lists/063_reusable_list_builtins.pl +11 -0
- package/test/conformance/cases/lists/067_list_edges.pl +10 -0
- package/test/conformance/cases/lists/068_list_generation_order.pl +7 -0
- package/test/conformance/cases/lists/069_list_summaries_and_sets.pl +9 -0
- package/test/conformance/cases/lists/084_append_and_select_composition.pl +7 -0
- package/test/conformance/cases/lists/085_nth_and_update_edges.pl +8 -0
- package/test/conformance/cases/lists/086_slicing_pipeline.pl +10 -0
- package/test/conformance/cases/lists/087_sort_reverse_length.pl +8 -0
- package/test/conformance/cases/lists/088_list_summaries_failures.pl +8 -0
- package/test/conformance/cases/lists/empty_list_term.pl +4 -0
- package/test/conformance/cases/lists/extra_append_all_splits_three.pl +2 -0
- package/test/conformance/cases/lists/extra_append_to_improper_tail.pl +2 -0
- package/test/conformance/cases/lists/extra_drop_all.pl +2 -0
- package/test/conformance/cases/lists/extra_head_and_rest_improper.pl +2 -0
- package/test/conformance/cases/lists/extra_last_singleton.pl +2 -0
- package/test/conformance/cases/lists/extra_length_improper_fails.pl +2 -0
- package/test/conformance/cases/lists/extra_list_to_set_stable_order.pl +2 -0
- package/test/conformance/cases/lists/extra_member_repeated_nested.pl +2 -0
- package/test/conformance/cases/lists/extra_not_member_compound_fails.pl +2 -0
- package/test/conformance/cases/lists/extra_not_member_compound_success.pl +2 -0
- package/test/conformance/cases/lists/extra_nth0_duplicate_indexes.pl +2 -0
- package/test/conformance/cases/lists/extra_reverse_nested_terms.pl +2 -0
- package/test/conformance/cases/lists/extra_select_structured_duplicate.pl +2 -0
- package/test/conformance/cases/lists/extra_slice_end.pl +2 -0
- package/test/conformance/cases/lists/extra_sort_iri_atoms.pl +2 -0
- package/test/conformance/cases/lists/extra_take_all.pl +2 -0
- package/test/conformance/cases/lists/head_rest_last.pl +4 -0
- package/test/conformance/cases/lists/improper_list_readback.pl +4 -0
- package/test/conformance/cases/lists/length_empty_and_nested.pl +3 -0
- package/test/conformance/cases/lists/list_to_set_structural_duplicates.pl +2 -0
- package/test/conformance/cases/lists/list_with_iri_atoms.pl +4 -0
- package/test/conformance/cases/lists/min_list_empty_fails.pl +2 -0
- package/test/conformance/cases/lists/nth0_known_value.pl +2 -0
- package/test/conformance/cases/lists/nth0_out_of_range_fails.pl +2 -0
- package/test/conformance/cases/lists/reverse_empty.pl +2 -0
- package/test/conformance/cases/lists/select_all_occurrences.pl +2 -0
- package/test/conformance/cases/lists/set_nth0_middle.pl +2 -0
- package/test/conformance/cases/lists/slice_middle.pl +2 -0
- package/test/conformance/cases/lists/slice_out_of_range_fails.pl +2 -0
- package/test/conformance/cases/lists/sort_structured_terms.pl +2 -0
- package/test/conformance/cases/lists/sum_list_empty_zero.pl +2 -0
- package/test/conformance/cases/lists/sum_min_max_list.pl +4 -0
- package/test/conformance/cases/lists/take_zero_and_drop_all.pl +3 -0
- package/test/conformance/cases/materialize/027_default_derived_output.pl +5 -0
- package/test/conformance/cases/materialize/028_materialize_focus.pl +5 -0
- package/test/conformance/cases/materialize/053_materialize_excludes_source_fact.pl +6 -0
- package/test/conformance/cases/materialize/099_materialize_multiple_arities.pl +8 -0
- package/test/conformance/cases/materialize/arity_specific_outputs.pl +4 -0
- package/test/conformance/cases/materialize/extra_materialize_derived_only_with_same_source.pl +4 -0
- package/test/conformance/cases/materialize/extra_materialize_selects_arity.pl +4 -0
- package/test/conformance/cases/materialize/source_facts_suppressed.pl +5 -0
- package/test/conformance/cases/negation/033_negation_once_generators.pl +7 -0
- package/test/conformance/cases/negation/033_negation_once_generators.query +1 -0
- package/test/conformance/cases/negation/042_negation_filter.pl +7 -0
- package/test/conformance/cases/negation/042_negation_filter.query +1 -0
- package/test/conformance/cases/negation/050_not_member_filter.pl +6 -0
- package/test/conformance/cases/negation/050_not_member_filter.query +1 -0
- package/test/conformance/cases/negation/extra_not_with_bound_fails.pl +3 -0
- package/test/conformance/cases/negation/extra_not_with_bound_success.pl +3 -0
- package/test/conformance/cases/negation/not_known_goal_fails.pl +4 -0
- package/test/conformance/cases/negation/not_unknown_goal_succeeds.pl +3 -0
- package/test/conformance/cases/negation/stratified_negation_answers.pl +6 -0
- package/test/conformance/cases/rules/001_fact_output.pl +4 -0
- package/test/conformance/cases/rules/002_rule_recursion.pl +7 -0
- package/test/conformance/cases/rules/002_rule_recursion.query +1 -0
- package/test/conformance/cases/rules/011_predicate_arity.pl +6 -0
- package/test/conformance/cases/rules/011_predicate_arity.query +1 -0
- package/test/conformance/cases/rules/013_multiple_clauses_order.pl +6 -0
- package/test/conformance/cases/rules/013_multiple_clauses_order.query +1 -0
- package/test/conformance/cases/rules/017_three_step_recursion.pl +8 -0
- package/test/conformance/cases/rules/017_three_step_recursion.query +1 -0
- package/test/conformance/cases/rules/022_rule_head_structure.pl +5 -0
- package/test/conformance/cases/rules/077_recursive_path_with_lists.pl +10 -0
- package/test/conformance/cases/rules/078_mutual_recursion_with_arithmetic.pl +7 -0
- package/test/conformance/cases/rules/extra_left_to_right_multiple_bindings.pl +5 -0
- package/test/conformance/cases/rules/extra_structured_head_rule.pl +3 -0
- package/test/conformance/cases/rules/left_to_right_body_binding.pl +4 -0
- package/test/conformance/cases/rules/transitive_rule_three_edges.pl +7 -0
- package/test/conformance/cases/strings/023_quoted_escapes_readback.pl +5 -0
- package/test/conformance/cases/strings/030_strings_and_atoms.pl +4 -0
- package/test/conformance/cases/strings/030_strings_and_atoms.query +1 -0
- package/test/conformance/cases/strings/055_string_matching_filters.pl +6 -0
- package/test/conformance/cases/strings/055_string_matching_filters.query +1 -0
- package/test/conformance/cases/strings/056_string_and_atom_concat.pl +3 -0
- package/test/conformance/cases/strings/056_string_and_atom_concat.query +1 -0
- package/test/conformance/cases/strings/064_reusable_string_builtins.pl +12 -0
- package/test/conformance/cases/strings/070_matches_named_captures.pl +13 -0
- package/test/conformance/cases/strings/071_string_edges.pl +10 -0
- package/test/conformance/cases/strings/072_string_conversions.pl +10 -0
- package/test/conformance/cases/strings/089_string_split_join_pipeline.pl +7 -0
- package/test/conformance/cases/strings/090_string_substring_replace_edges.pl +9 -0
- package/test/conformance/cases/strings/091_string_case_and_trim.pl +7 -0
- package/test/conformance/cases/strings/092_scalar_string_conversions.pl +9 -0
- package/test/conformance/cases/strings/093_regex_named_captures_context.pl +8 -0
- package/test/conformance/cases/strings/atom_string_from_string.pl +2 -0
- package/test/conformance/cases/strings/casefold_atoms.pl +3 -0
- package/test/conformance/cases/strings/contains_empty_needle.pl +2 -0
- package/test/conformance/cases/strings/extra_atom_string_number_input.pl +2 -0
- package/test/conformance/cases/strings/extra_join_empty_list.pl +2 -0
- package/test/conformance/cases/strings/extra_join_iri_and_atom.pl +2 -0
- package/test/conformance/cases/strings/extra_lowercase_iri_atom.pl +2 -0
- package/test/conformance/cases/strings/extra_matches_invalid_pattern_fails.pl +2 -0
- package/test/conformance/cases/strings/extra_named_regex_optional_missing.pl +2 -0
- package/test/conformance/cases/strings/extra_number_string_atom_input.pl +2 -0
- package/test/conformance/cases/strings/extra_replace_multiple.pl +2 -0
- package/test/conformance/cases/strings/extra_split_empty_separator.pl +2 -0
- package/test/conformance/cases/strings/extra_substring_last_char.pl +2 -0
- package/test/conformance/cases/strings/extra_term_string_iri_list.pl +2 -0
- package/test/conformance/cases/strings/extra_uppercase_mixed_string.pl +2 -0
- package/test/conformance/cases/strings/join_mixed_scalars.pl +2 -0
- package/test/conformance/cases/strings/matches_simple_alternation.pl +2 -0
- package/test/conformance/cases/strings/named_regex_two_groups.pl +2 -0
- package/test/conformance/cases/strings/not_matches_simple_pattern.pl +2 -0
- package/test/conformance/cases/strings/number_string_from_string.pl +2 -0
- package/test/conformance/cases/strings/number_string_rejects_non_numeric.pl +2 -0
- package/test/conformance/cases/strings/replace_empty_search_no_change.pl +2 -0
- package/test/conformance/cases/strings/split_without_separator_match.pl +2 -0
- package/test/conformance/cases/strings/substring_out_of_range_fails.pl +2 -0
- package/test/conformance/cases/strings/substring_zero_count.pl +2 -0
- package/test/conformance/cases/strings/term_string_nested_term.pl +2 -0
- package/test/conformance/cases/strings/trim_tabs_and_spaces.pl +3 -0
- package/test/conformance/cases/syntax/004_conjunction_and_parentheses.pl +5 -0
- package/test/conformance/cases/syntax/004_conjunction_and_parentheses.query +1 -0
- package/test/conformance/cases/syntax/006_comma_formula_data.pl +4 -0
- package/test/conformance/cases/syntax/006_comma_formula_data.query +1 -0
- package/test/conformance/cases/syntax/009_comments_and_whitespace.pl +5 -0
- package/test/conformance/cases/syntax/009_comments_and_whitespace.query +1 -0
- package/test/conformance/cases/syntax/019_parenthesized_three_conjuncts.pl +7 -0
- package/test/conformance/cases/syntax/019_parenthesized_three_conjuncts.query +1 -0
- package/test/conformance/cases/syntax/025_body_parentheses_with_formula_data.pl +5 -0
- package/test/conformance/cases/syntax/comments_inside_program.pl +4 -0
- package/test/conformance/cases/syntax/extra_comments_after_terms.pl +3 -0
- package/test/conformance/cases/syntax/extra_nested_parenthesized_body.pl +2 -0
- package/test/conformance/cases/syntax/parenthesized_query_style_body.pl +5 -0
- package/test/conformance/cases/syntax/quoted_atom_with_newline_escape.pl +3 -0
- package/test/conformance/cases/syntax/string_with_tab_escape.pl +2 -0
- package/test/conformance/cases/table/038_table_declaration.pl +8 -0
- package/test/conformance/cases/table/038_table_declaration.query +1 -0
- package/test/conformance/cases/table/102_table_declaration.pl +11 -0
- package/test/conformance/cases/table/extra_table_bound_cycle.pl +7 -0
- package/test/conformance/cases/table/extra_table_open_call_fallback.pl +5 -0
- package/test/conformance/cases/table/table_does_not_change_answers.pl +7 -0
- package/test/conformance/cases/table/tabled_left_recursion_path.pl +7 -0
- package/test/conformance/cases/terms/003_terms_and_readback.pl +16 -0
- package/test/conformance/cases/terms/003_terms_and_readback.query +1 -0
- package/test/conformance/cases/terms/065_reusable_term_control_builtins.pl +11 -0
- package/test/conformance/cases/terms/073_term_introspection_edges.pl +11 -0
- package/test/conformance/cases/terms/095_term_introspection_roundtrip.pl +8 -0
- package/test/conformance/cases/terms/096_functor_scalar_edges.pl +8 -0
- package/test/conformance/cases/terms/arg_first_and_second.pl +3 -0
- package/test/conformance/cases/terms/arg_zero_fails.pl +2 -0
- package/test/conformance/cases/terms/compound_name_arguments_atom_zero_args.pl +3 -0
- package/test/conformance/cases/terms/compound_name_arguments_bad_args_fail.pl +2 -0
- package/test/conformance/cases/terms/compound_name_arguments_builds_atom_from_empty_args.pl +3 -0
- package/test/conformance/cases/terms/compound_name_arguments_builds_compound.pl +2 -0
- package/test/conformance/cases/terms/compound_name_arguments_iri_name.pl +2 -0
- package/test/conformance/cases/terms/extra_arg_atom_fails.pl +2 -0
- package/test/conformance/cases/terms/extra_arg_first_last.pl +2 -0
- package/test/conformance/cases/terms/extra_arg_zero_fails.pl +2 -0
- package/test/conformance/cases/terms/extra_compound_name_arguments_bad_args_fails.pl +2 -0
- package/test/conformance/cases/terms/extra_compound_name_arguments_construct_atom_zero.pl +2 -0
- package/test/conformance/cases/terms/extra_compound_name_arguments_construct_iri.pl +2 -0
- package/test/conformance/cases/terms/extra_compound_name_arguments_decompose_list.pl +2 -0
- package/test/conformance/cases/terms/extra_functor_list_cons.pl +2 -0
- package/test/conformance/cases/terms/extra_functor_number_scalar.pl +2 -0
- package/test/conformance/cases/terms/extra_functor_string_scalar.pl +2 -0
- package/test/conformance/cases/terms/functor_atom_arity_zero.pl +3 -0
- package/test/conformance/cases/terms/functor_number_and_string.pl +3 -0
- package/test/conformance/cases/terms/herbrand_witness_different_inputs_distinct.pl +2 -0
- package/test/conformance/cases/terms/herbrand_witness_one_input.pl +5 -0
- package/test/conformance/cases/terms/herbrand_witness_same_inputs_same_term.pl +2 -0
- package/test/conformance/cases/terms/herbrand_witness_two_inputs.pl +5 -0
- package/test/conformance/cases/terms/term_string_readback_iri_list.pl +2 -0
- package/test/conformance/cases/unification/012_nested_compound_unification.pl +5 -0
- package/test/conformance/cases/unification/012_nested_compound_unification.query +1 -0
- package/test/conformance/cases/unification/021_repeated_variable_head.pl +7 -0
- package/test/conformance/cases/unification/034_equality_and_inequality.pl +6 -0
- package/test/conformance/cases/unification/034_equality_and_inequality.query +1 -0
- package/test/conformance/cases/unification/compound_arity_mismatch_fails.pl +2 -0
- package/test/conformance/cases/unification/extra_eq_iri_and_quoted_atom.pl +2 -0
- package/test/conformance/cases/unification/extra_eq_list_tail_binding.pl +2 -0
- package/test/conformance/cases/unification/extra_eq_nested_repeated_fails.pl +2 -0
- package/test/conformance/cases/unification/extra_eq_nested_repeated_success.pl +2 -0
- package/test/conformance/cases/unification/extra_eq_scalar_number_atom.pl +2 -0
- package/test/conformance/cases/unification/extra_eq_scalar_string_number.pl +2 -0
- package/test/conformance/cases/unification/extra_neq_compound_arity_mismatch.pl +2 -0
- package/test/conformance/cases/unification/extra_neq_scalar_same_lexical_fails.pl +2 -0
- package/test/conformance/cases/unification/extra_variable_clause_locality.pl +4 -0
- package/test/conformance/cases/unification/list_tail_binding.pl +2 -0
- package/test/conformance/cases/unification/nested_repeated_variable.pl +2 -0
- package/test/conformance/cases/unification/scalar_cross_type_same_lexical_value.pl +3 -0
- package/test/conformance/cases/variables/007_anonymous_variables.pl +5 -0
- package/test/conformance/cases/variables/007_anonymous_variables.query +1 -0
- package/test/conformance/cases/variables/010_variable_scope_and_reuse.pl +8 -0
- package/test/conformance/cases/variables/010_variable_scope_and_reuse.query +1 -0
- package/test/conformance/cases/variables/026_question_underscore_named_variable_reuse.pl +5 -0
- package/test/conformance/cases/variables/101_question_mark_variables.pl +7 -0
- package/test/conformance/cases/variables/anonymous_in_two_goals.pl +4 -0
- package/test/conformance/cases/variables/clause_local_variable_names.pl +5 -0
- package/test/conformance/cases/variables/extra_anonymous_not_reused.pl +2 -0
- package/test/conformance/cases/variables/extra_named_variable_reused.pl +2 -0
- package/test/conformance/cases/variables/extra_question_underscore_named_distinct.pl +2 -0
- package/test/conformance/cases/variables/extra_question_uppercase_named.pl +2 -0
- package/test/conformance/cases/variables/question_anonymous_not_reused.pl +6 -0
- package/test/conformance/cases/variables/question_underscore_named_reuse.pl +5 -0
- package/test/conformance/cases/variables/question_uppercase_variable.pl +4 -0
- package/test/conformance/cases/variables/question_variable_digits_and_underscore.pl +2 -0
- package/test/conformance/cases/variables/question_variable_uppercase_name.pl +2 -0
- package/test/conformance/cases/variables/variable_scope_per_clause.pl +6 -0
- package/test/conformance/errors/atoms/extra_angle_iri_backslash_rejected.pl +1 -0
- package/test/conformance/errors/atoms/extra_angle_iri_pipe_rejected.pl +1 -0
- package/test/conformance/errors/atoms/extra_angle_iri_quote_rejected.pl +1 -0
- package/test/conformance/errors/atoms/hash_comment_not_atom_at_line_start.pl +1 -0
- package/test/conformance/errors/atoms/relative_angle_name_rejected.pl +1 -0
- package/test/conformance/errors/atoms/space_in_angle_iri_rejected.pl +1 -0
- package/test/conformance/errors/atoms/unclosed_angle_iri_rejected.pl +1 -0
- package/test/conformance/errors/atoms/zero_arity_compound_rejected.pl +1 -0
- package/test/conformance/errors/lists/extra_missing_tail_after_bar.pl +1 -0
- package/test/conformance/errors/lists/extra_unclosed_list_tail.pl +1 -0
- package/test/conformance/errors/lists/missing_list_tail.pl +1 -0
- package/test/conformance/errors/rules/extra_empty_head_with_body.pl +1 -0
- package/test/conformance/errors/rules/extra_rule_without_body.pl +1 -0
- package/test/conformance/errors/rules/rule_head_cannot_be_empty_parentheses.pl +1 -0
- package/test/conformance/errors/syntax/angle_iri_with_space_rejected.pl +1 -0
- package/test/conformance/errors/syntax/bad_question_digit_variable.pl +1 -0
- package/test/conformance/errors/syntax/bad_question_variable.pl +1 -0
- package/test/conformance/errors/syntax/colon_name_rejected.pl +1 -0
- package/test/conformance/errors/syntax/empty_body_after_rule_marker.pl +1 -0
- package/test/conformance/errors/syntax/empty_compound_nested.pl +1 -0
- package/test/conformance/errors/syntax/extra_bad_backtick_character.pl +1 -0
- package/test/conformance/errors/syntax/extra_bad_iri_empty_body.pl +1 -0
- package/test/conformance/errors/syntax/extra_bad_list_double_comma.pl +1 -0
- package/test/conformance/errors/syntax/extra_bad_list_double_tail.pl +1 -0
- package/test/conformance/errors/syntax/extra_bad_number_two_decimal_points.pl +1 -0
- package/test/conformance/errors/syntax/extra_double_period_rejected.pl +1 -0
- package/test/conformance/errors/syntax/extra_extra_closing_paren.pl +1 -0
- package/test/conformance/errors/syntax/extra_missing_closing_rule_body.pl +1 -0
- package/test/conformance/errors/syntax/extra_missing_head_rejected.pl +1 -0
- package/test/conformance/errors/syntax/missing_final_dot_rejected.pl +1 -0
- package/test/conformance/errors/syntax/missing_period.pl +1 -0
- package/test/conformance/errors/syntax/relative_angle_iri_rejected.pl +1 -0
- package/test/conformance/errors/syntax/trailing_comma_in_body.pl +1 -0
- package/test/conformance/errors/syntax/unclosed_compound.pl +1 -0
- package/test/conformance/errors/syntax/unclosed_list.pl +1 -0
- package/test/conformance/errors/syntax/unclosed_list_rejected.pl +1 -0
- package/test/conformance/errors/syntax/unclosed_quoted_atom.pl +1 -0
- package/test/conformance/errors/syntax/unclosed_quoted_atom_rejected.pl +1 -0
- package/test/conformance/errors/syntax/unclosed_string.pl +1 -0
- package/test/conformance/errors/syntax/unquoted_colon_predicate.pl +1 -0
- package/test/conformance/errors/syntax/unquoted_dotted_predicate.pl +1 -0
- package/test/conformance/errors/syntax/uppercase_predicate_rejected.pl +1 -0
- package/test/conformance/errors/terms/extra_empty_nested_compound.pl +1 -0
- package/test/conformance/errors/terms/extra_empty_top_level_compound.pl +1 -0
- package/test/conformance/errors/terms/zero_arity_compound_nested_rejected.pl +1 -0
- package/test/conformance/errors/variables/bare_underscore_in_list_rejected.pl +1 -0
- package/test/conformance/errors/variables/bare_underscore_name_in_compound_rejected.pl +1 -0
- package/test/conformance/errors/variables/bare_underscore_rejected.pl +1 -0
- package/test/conformance/errors/variables/extra_bare_underscore_in_rule_head.pl +1 -0
- package/test/conformance/errors/variables/extra_question_dash_variable.pl +1 -0
- package/test/conformance/errors/variables/extra_uppercase_in_list.pl +1 -0
- package/test/conformance/errors/variables/question_digit_rejected.pl +1 -0
- package/test/conformance/errors/variables/question_dot_rejected.pl +1 -0
- package/test/conformance/errors/variables/underscore_named_rejected.pl +1 -0
- package/test/conformance/errors/variables/uppercase_in_body_rejected.pl +1 -0
- package/test/conformance/errors/variables/uppercase_variable_rejected.pl +1 -0
- package/test/conformance/expected/aggregation/044_findall_user_goal.pl +1 -0
- package/test/conformance/expected/aggregation/057_countall_empty_and_nonempty.pl +1 -0
- package/test/conformance/expected/aggregation/058_sumall_numeric_template.pl +1 -0
- package/test/conformance/expected/aggregation/059_aggregate_min_template.pl +1 -0
- package/test/conformance/expected/aggregation/060_aggregate_max_compound_key.pl +1 -0
- package/test/conformance/expected/aggregation/075_aggregation_edges.pl +7 -0
- package/test/conformance/expected/aggregation/098_aggregation_nested_templates.pl +5 -0
- package/test/conformance/expected/aggregation/aggregate_max_no_answers_fails.pl +1 -0
- package/test/conformance/expected/aggregation/aggregate_min_structured_key.pl +1 -0
- package/test/conformance/expected/aggregation/countall_zero.pl +1 -0
- package/test/conformance/expected/aggregation/extra_aggregate_max_iri_key.pl +1 -0
- package/test/conformance/expected/aggregation/extra_aggregate_min_tie_first.pl +1 -0
- package/test/conformance/expected/aggregation/extra_countall_with_filter.pl +1 -0
- package/test/conformance/expected/aggregation/extra_findall_repeated_template.pl +1 -0
- package/test/conformance/expected/aggregation/extra_sumall_float_template.pl +1 -0
- package/test/conformance/expected/aggregation/findall_empty_bag.pl +1 -0
- package/test/conformance/expected/aggregation/sumall_empty_zero.pl +1 -0
- package/test/conformance/expected/arithmetic/024_numeric_literal_readback.pl +3 -0
- package/test/conformance/expected/arithmetic/029_arithmetic_and_comparison.pl +9 -0
- package/test/conformance/expected/arithmetic/039_numeric_functions.pl +7 -0
- package/test/conformance/expected/arithmetic/040_between_enumeration.pl +3 -0
- package/test/conformance/expected/arithmetic/041_smallest_divisor.pl +1 -0
- package/test/conformance/expected/arithmetic/054_numeric_and_lexical_comparison.pl +3 -0
- package/test/conformance/expected/arithmetic/061_date_difference.pl +2 -0
- package/test/conformance/expected/arithmetic/062_reusable_numeric_builtins.pl +8 -0
- package/test/conformance/expected/arithmetic/066_numeric_edges.pl +12 -0
- package/test/conformance/expected/arithmetic/079_big_integer_arithmetic.pl +6 -0
- package/test/conformance/expected/arithmetic/080_rounding_modes.pl +8 -0
- package/test/conformance/expected/arithmetic/081_zero_safe_numeric_functions.pl +7 -0
- package/test/conformance/expected/arithmetic/082_comparison_semantics.pl +8 -0
- package/test/conformance/expected/arithmetic/083_between_modes_and_empty_ranges.pl +8 -0
- package/test/conformance/expected/arithmetic/between_bound_value.pl +1 -0
- package/test/conformance/expected/arithmetic/between_singleton.pl +1 -0
- package/test/conformance/expected/arithmetic/duration_comparison.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_acos_one.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_asin_zero.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_atan2_axis.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_difference_leap_day.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_difference_same_day.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_div_float_exact.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_div_integer_trunc.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_division_by_zero_fails.pl +0 -0
- package/test/conformance/expected/arithmetic/extra_exp_zero.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_ge_equal_duration.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_le_equal_string.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_log_one.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_mod_negative_right.pl +1 -0
- package/test/conformance/expected/arithmetic/extra_pow_large_integer.pl +1 -0
- package/test/conformance/expected/arithmetic/float_add_and_div.pl +2 -0
- package/test/conformance/expected/arithmetic/min_max_mixed.pl +2 -0
- package/test/conformance/expected/arithmetic/mod_negative_left.pl +1 -0
- package/test/conformance/expected/arithmetic/neg_abs_integer.pl +2 -0
- package/test/conformance/expected/arithmetic/pow_negative_exponent_fails.pl +1 -0
- package/test/conformance/expected/arithmetic/pow_zero_exponent.pl +1 -0
- package/test/conformance/expected/arithmetic/rounding_negative_float.pl +4 -0
- package/test/conformance/expected/arithmetic/smallest_divisor_prime.pl +1 -0
- package/test/conformance/expected/arithmetic/sqrt_negative_fails.pl +1 -0
- package/test/conformance/expected/atoms/008_graphic_atoms.pl +3 -0
- package/test/conformance/expected/atoms/016_arity_zero_atom.pl +1 -0
- package/test/conformance/expected/atoms/018_quoted_atom_readback.pl +3 -0
- package/test/conformance/expected/atoms/103_angle_iri_atoms.pl +3 -0
- package/test/conformance/expected/atoms/angle_iri_percent_encoded.pl +0 -0
- package/test/conformance/expected/atoms/extra_graphic_backslash_atom.pl +0 -0
- package/test/conformance/expected/atoms/extra_iri_mailto_plus.pl +0 -0
- package/test/conformance/expected/atoms/extra_iri_uuid_scheme.pl +0 -0
- package/test/conformance/expected/atoms/extra_quoted_atom_with_quote_readback.pl +0 -0
- package/test/conformance/expected/atoms/graphic_angle_atom_stays_graphic.pl +1 -0
- package/test/conformance/expected/atoms/graphic_atom_predicate.pl +1 -0
- package/test/conformance/expected/atoms/graphic_less_than_atom.pl +1 -0
- package/test/conformance/expected/atoms/iri_as_predicate_name_quoted.pl +1 -0
- package/test/conformance/expected/atoms/iri_atoms_in_lists.pl +1 -0
- package/test/conformance/expected/atoms/iri_mailto_readback.pl +1 -0
- package/test/conformance/expected/atoms/iri_query_fragment_readback.pl +1 -0
- package/test/conformance/expected/atoms/iri_quoted_absolute_readback.pl +2 -0
- package/test/conformance/expected/atoms/iri_quoted_and_angle_unify.pl +0 -0
- package/test/conformance/expected/atoms/iri_urn_readback.pl +1 -0
- package/test/conformance/expected/atoms/quoted_relative_iri_not_angle.pl +0 -0
- package/test/conformance/expected/atoms/quoted_urn_iri_readback.pl +1 -0
- package/test/conformance/expected/atoms/zero_arity_atom_roundtrip.pl +3 -0
- package/test/conformance/expected/builtins/037_matching_and_comparison.pl +5 -0
- package/test/conformance/expected/builtins/076_composed_reusable_builtins.pl +5 -0
- package/test/conformance/expected/builtins/100_reusable_builtin_workflow.pl +6 -0
- package/test/conformance/expected/builtins/atom_string_iri_atom.pl +1 -0
- package/test/conformance/expected/builtins/eq_unifies_iri_atoms.pl +0 -0
- package/test/conformance/expected/builtins/extra_difference_end_before_start_fails.pl +0 -0
- package/test/conformance/expected/builtins/extra_difference_invalid_date_fails.pl +0 -0
- package/test/conformance/expected/builtins/extra_eq_binds_both_sides.pl +1 -0
- package/test/conformance/expected/builtins/extra_neq_different_iri_atoms.pl +1 -0
- package/test/conformance/expected/builtins/extra_neq_same_iri_fails.pl +1 -0
- package/test/conformance/expected/context/032_holds_parts.pl +3 -0
- package/test/conformance/expected/context/051_nested_holds_parts.pl +3 -0
- package/test/conformance/expected/context/052_holds_member.pl +2 -0
- package/test/conformance/expected/context/094_context_holds_enumeration.pl +8 -0
- package/test/conformance/expected/context/extra_holds_atom_parts.pl +2 -0
- package/test/conformance/expected/context/extra_holds_ignores_string_parts.pl +0 -0
- package/test/conformance/expected/context/extra_holds_list_parts.pl +2 -0
- package/test/conformance/expected/context/extra_holds_term_nested_order.pl +3 -0
- package/test/conformance/expected/context/holds_compound_formula.pl +1 -0
- package/test/conformance/expected/context/holds_fails_when_missing.pl +1 -0
- package/test/conformance/expected/context/holds_parts_from_formula.pl +2 -0
- package/test/conformance/expected/control/014_failure_filters_answers.pl +1 -0
- package/test/conformance/expected/control/043_once_user_predicate.pl +1 -0
- package/test/conformance/expected/control/074_forall_edges.pl +5 -0
- package/test/conformance/expected/control/097_control_negation_once_forall.pl +5 -0
- package/test/conformance/expected/control/double_negation_ground_goal.pl +1 -0
- package/test/conformance/expected/control/extra_forall_bound_check.pl +1 -0
- package/test/conformance/expected/control/extra_forall_counterexample_fails.pl +0 -0
- package/test/conformance/expected/control/extra_not_unbound_existing_goal_fails.pl +0 -0
- package/test/conformance/expected/control/extra_not_unbound_unknown_goal_succeeds.pl +1 -0
- package/test/conformance/expected/control/extra_once_empty_fails.pl +0 -0
- package/test/conformance/expected/control/extra_once_preserves_binding.pl +1 -0
- package/test/conformance/expected/control/forall_detects_counterexample.pl +1 -0
- package/test/conformance/expected/control/forall_empty_generator_true.pl +1 -0
- package/test/conformance/expected/control/negation_with_bound_generator.pl +1 -0
- package/test/conformance/expected/control/once_keeps_first_answer.pl +1 -0
- package/test/conformance/expected/declarations/104_mode_determinism_declarations.pl +4 -0
- package/test/conformance/expected/declarations/det_semidet_do_not_emit_without_materialize.pl +1 -0
- package/test/conformance/expected/declarations/memoize_is_ordinary_fact.pl +1 -0
- package/test/conformance/expected/declarations/mode_determinism_are_facts.pl +3 -0
- package/test/conformance/expected/declarations/mode_ignored_when_arity_mismatch.pl +1 -0
- package/test/conformance/expected/declarations/table_is_also_fact.pl +1 -0
- package/test/conformance/expected/lists/005_list_deconstruction.pl +2 -0
- package/test/conformance/expected/lists/015_improper_list_unification.pl +3 -0
- package/test/conformance/expected/lists/020_nested_list_terms.pl +2 -0
- package/test/conformance/expected/lists/031_lists_aggregation_ordering.pl +9 -0
- package/test/conformance/expected/lists/035_list_relations.pl +4 -0
- package/test/conformance/expected/lists/036_append_splits.pl +3 -0
- package/test/conformance/expected/lists/045_sort_deduplicates_atoms.pl +1 -0
- package/test/conformance/expected/lists/046_append_bound_prefix_suffix.pl +2 -0
- package/test/conformance/expected/lists/047_nth0_index_generation.pl +1 -0
- package/test/conformance/expected/lists/048_set_nth0_edges.pl +2 -0
- package/test/conformance/expected/lists/049_select_duplicate_occurrences.pl +2 -0
- package/test/conformance/expected/lists/063_reusable_list_builtins.pl +9 -0
- package/test/conformance/expected/lists/067_list_edges.pl +8 -0
- package/test/conformance/expected/lists/068_list_generation_order.pl +10 -0
- package/test/conformance/expected/lists/069_list_summaries_and_sets.pl +7 -0
- package/test/conformance/expected/lists/084_append_and_select_composition.pl +10 -0
- package/test/conformance/expected/lists/085_nth_and_update_edges.pl +8 -0
- package/test/conformance/expected/lists/086_slicing_pipeline.pl +7 -0
- package/test/conformance/expected/lists/087_sort_reverse_length.pl +6 -0
- package/test/conformance/expected/lists/088_list_summaries_failures.pl +6 -0
- package/test/conformance/expected/lists/empty_list_term.pl +1 -0
- package/test/conformance/expected/lists/extra_append_all_splits_three.pl +4 -0
- package/test/conformance/expected/lists/extra_append_to_improper_tail.pl +1 -0
- package/test/conformance/expected/lists/extra_drop_all.pl +1 -0
- package/test/conformance/expected/lists/extra_head_and_rest_improper.pl +1 -0
- package/test/conformance/expected/lists/extra_last_singleton.pl +1 -0
- package/test/conformance/expected/lists/extra_length_improper_fails.pl +0 -0
- package/test/conformance/expected/lists/extra_list_to_set_stable_order.pl +1 -0
- package/test/conformance/expected/lists/extra_member_repeated_nested.pl +2 -0
- package/test/conformance/expected/lists/extra_not_member_compound_fails.pl +0 -0
- package/test/conformance/expected/lists/extra_not_member_compound_success.pl +1 -0
- package/test/conformance/expected/lists/extra_nth0_duplicate_indexes.pl +2 -0
- package/test/conformance/expected/lists/extra_reverse_nested_terms.pl +1 -0
- package/test/conformance/expected/lists/extra_select_structured_duplicate.pl +2 -0
- package/test/conformance/expected/lists/extra_slice_end.pl +1 -0
- package/test/conformance/expected/lists/extra_sort_iri_atoms.pl +1 -0
- package/test/conformance/expected/lists/extra_take_all.pl +1 -0
- package/test/conformance/expected/lists/head_rest_last.pl +3 -0
- package/test/conformance/expected/lists/improper_list_readback.pl +1 -0
- package/test/conformance/expected/lists/length_empty_and_nested.pl +2 -0
- package/test/conformance/expected/lists/list_to_set_structural_duplicates.pl +1 -0
- package/test/conformance/expected/lists/list_with_iri_atoms.pl +1 -0
- package/test/conformance/expected/lists/min_list_empty_fails.pl +1 -0
- package/test/conformance/expected/lists/nth0_known_value.pl +1 -0
- package/test/conformance/expected/lists/nth0_out_of_range_fails.pl +1 -0
- package/test/conformance/expected/lists/reverse_empty.pl +1 -0
- package/test/conformance/expected/lists/select_all_occurrences.pl +3 -0
- package/test/conformance/expected/lists/set_nth0_middle.pl +1 -0
- package/test/conformance/expected/lists/slice_middle.pl +0 -0
- package/test/conformance/expected/lists/slice_out_of_range_fails.pl +1 -0
- package/test/conformance/expected/lists/sort_structured_terms.pl +1 -0
- package/test/conformance/expected/lists/sum_list_empty_zero.pl +1 -0
- package/test/conformance/expected/lists/sum_min_max_list.pl +3 -0
- package/test/conformance/expected/lists/take_zero_and_drop_all.pl +2 -0
- package/test/conformance/expected/materialize/027_default_derived_output.pl +3 -0
- package/test/conformance/expected/materialize/028_materialize_focus.pl +1 -0
- package/test/conformance/expected/materialize/053_materialize_excludes_source_fact.pl +1 -0
- package/test/conformance/expected/materialize/099_materialize_multiple_arities.pl +4 -0
- package/test/conformance/expected/materialize/arity_specific_outputs.pl +0 -0
- package/test/conformance/expected/materialize/extra_materialize_derived_only_with_same_source.pl +1 -0
- package/test/conformance/expected/materialize/extra_materialize_selects_arity.pl +0 -0
- package/test/conformance/expected/materialize/source_facts_suppressed.pl +1 -0
- package/test/conformance/expected/negation/033_negation_once_generators.pl +2 -0
- package/test/conformance/expected/negation/042_negation_filter.pl +2 -0
- package/test/conformance/expected/negation/050_not_member_filter.pl +1 -0
- package/test/conformance/expected/negation/extra_not_with_bound_fails.pl +0 -0
- package/test/conformance/expected/negation/extra_not_with_bound_success.pl +1 -0
- package/test/conformance/expected/negation/not_known_goal_fails.pl +0 -0
- package/test/conformance/expected/negation/not_unknown_goal_succeeds.pl +1 -0
- package/test/conformance/expected/negation/stratified_negation_answers.pl +1 -0
- package/test/conformance/expected/rules/001_fact_output.pl +1 -0
- package/test/conformance/expected/rules/002_rule_recursion.pl +2 -0
- package/test/conformance/expected/rules/011_predicate_arity.pl +2 -0
- package/test/conformance/expected/rules/013_multiple_clauses_order.pl +2 -0
- package/test/conformance/expected/rules/017_three_step_recursion.pl +3 -0
- package/test/conformance/expected/rules/022_rule_head_structure.pl +2 -0
- package/test/conformance/expected/rules/077_recursive_path_with_lists.pl +3 -0
- package/test/conformance/expected/rules/078_mutual_recursion_with_arithmetic.pl +7 -0
- package/test/conformance/expected/rules/extra_left_to_right_multiple_bindings.pl +2 -0
- package/test/conformance/expected/rules/extra_structured_head_rule.pl +1 -0
- package/test/conformance/expected/rules/left_to_right_body_binding.pl +1 -0
- package/test/conformance/expected/rules/transitive_rule_three_edges.pl +6 -0
- package/test/conformance/expected/strings/023_quoted_escapes_readback.pl +2 -0
- package/test/conformance/expected/strings/030_strings_and_atoms.pl +2 -0
- package/test/conformance/expected/strings/055_string_matching_filters.pl +2 -0
- package/test/conformance/expected/strings/056_string_and_atom_concat.pl +1 -0
- package/test/conformance/expected/strings/064_reusable_string_builtins.pl +10 -0
- package/test/conformance/expected/strings/070_matches_named_captures.pl +1 -0
- package/test/conformance/expected/strings/071_string_edges.pl +8 -0
- package/test/conformance/expected/strings/072_string_conversions.pl +8 -0
- package/test/conformance/expected/strings/089_string_split_join_pipeline.pl +4 -0
- package/test/conformance/expected/strings/090_string_substring_replace_edges.pl +7 -0
- package/test/conformance/expected/strings/091_string_case_and_trim.pl +5 -0
- package/test/conformance/expected/strings/092_scalar_string_conversions.pl +7 -0
- package/test/conformance/expected/strings/093_regex_named_captures_context.pl +5 -0
- package/test/conformance/expected/strings/atom_string_from_string.pl +1 -0
- package/test/conformance/expected/strings/casefold_atoms.pl +2 -0
- package/test/conformance/expected/strings/contains_empty_needle.pl +1 -0
- package/test/conformance/expected/strings/extra_atom_string_number_input.pl +1 -0
- package/test/conformance/expected/strings/extra_join_empty_list.pl +1 -0
- package/test/conformance/expected/strings/extra_join_iri_and_atom.pl +1 -0
- package/test/conformance/expected/strings/extra_lowercase_iri_atom.pl +1 -0
- package/test/conformance/expected/strings/extra_matches_invalid_pattern_fails.pl +0 -0
- package/test/conformance/expected/strings/extra_named_regex_optional_missing.pl +1 -0
- package/test/conformance/expected/strings/extra_number_string_atom_input.pl +1 -0
- package/test/conformance/expected/strings/extra_replace_multiple.pl +1 -0
- package/test/conformance/expected/strings/extra_split_empty_separator.pl +1 -0
- package/test/conformance/expected/strings/extra_substring_last_char.pl +1 -0
- package/test/conformance/expected/strings/extra_term_string_iri_list.pl +1 -0
- package/test/conformance/expected/strings/extra_uppercase_mixed_string.pl +1 -0
- package/test/conformance/expected/strings/join_mixed_scalars.pl +1 -0
- package/test/conformance/expected/strings/matches_simple_alternation.pl +1 -0
- package/test/conformance/expected/strings/named_regex_two_groups.pl +1 -0
- package/test/conformance/expected/strings/not_matches_simple_pattern.pl +1 -0
- package/test/conformance/expected/strings/number_string_from_string.pl +1 -0
- package/test/conformance/expected/strings/number_string_rejects_non_numeric.pl +1 -0
- package/test/conformance/expected/strings/replace_empty_search_no_change.pl +1 -0
- package/test/conformance/expected/strings/split_without_separator_match.pl +1 -0
- package/test/conformance/expected/strings/substring_out_of_range_fails.pl +1 -0
- package/test/conformance/expected/strings/substring_zero_count.pl +1 -0
- package/test/conformance/expected/strings/term_string_nested_term.pl +1 -0
- package/test/conformance/expected/strings/trim_tabs_and_spaces.pl +1 -0
- package/test/conformance/expected/syntax/004_conjunction_and_parentheses.pl +1 -0
- package/test/conformance/expected/syntax/006_comma_formula_data.pl +1 -0
- package/test/conformance/expected/syntax/009_comments_and_whitespace.pl +2 -0
- package/test/conformance/expected/syntax/019_parenthesized_three_conjuncts.pl +1 -0
- package/test/conformance/expected/syntax/025_body_parentheses_with_formula_data.pl +1 -0
- package/test/conformance/expected/syntax/comments_inside_program.pl +0 -0
- package/test/conformance/expected/syntax/extra_comments_after_terms.pl +0 -0
- package/test/conformance/expected/syntax/extra_nested_parenthesized_body.pl +1 -0
- package/test/conformance/expected/syntax/parenthesized_query_style_body.pl +1 -0
- package/test/conformance/expected/syntax/quoted_atom_with_newline_escape.pl +0 -0
- package/test/conformance/expected/syntax/string_with_tab_escape.pl +0 -0
- package/test/conformance/expected/table/038_table_declaration.pl +2 -0
- package/test/conformance/expected/table/102_table_declaration.pl +6 -0
- package/test/conformance/expected/table/extra_table_bound_cycle.pl +2 -0
- package/test/conformance/expected/table/extra_table_open_call_fallback.pl +2 -0
- package/test/conformance/expected/table/table_does_not_change_answers.pl +3 -0
- package/test/conformance/expected/table/tabled_left_recursion_path.pl +1 -0
- package/test/conformance/expected/terms/003_terms_and_readback.pl +13 -0
- package/test/conformance/expected/terms/065_reusable_term_control_builtins.pl +6 -0
- package/test/conformance/expected/terms/073_term_introspection_edges.pl +9 -0
- package/test/conformance/expected/terms/095_term_introspection_roundtrip.pl +6 -0
- package/test/conformance/expected/terms/096_functor_scalar_edges.pl +6 -0
- package/test/conformance/expected/terms/arg_first_and_second.pl +2 -0
- package/test/conformance/expected/terms/arg_zero_fails.pl +1 -0
- package/test/conformance/expected/terms/compound_name_arguments_atom_zero_args.pl +1 -0
- package/test/conformance/expected/terms/compound_name_arguments_bad_args_fail.pl +1 -0
- package/test/conformance/expected/terms/compound_name_arguments_builds_atom_from_empty_args.pl +1 -0
- package/test/conformance/expected/terms/compound_name_arguments_builds_compound.pl +1 -0
- package/test/conformance/expected/terms/compound_name_arguments_iri_name.pl +1 -0
- package/test/conformance/expected/terms/extra_arg_atom_fails.pl +0 -0
- package/test/conformance/expected/terms/extra_arg_first_last.pl +1 -0
- package/test/conformance/expected/terms/extra_arg_zero_fails.pl +0 -0
- package/test/conformance/expected/terms/extra_compound_name_arguments_bad_args_fails.pl +0 -0
- package/test/conformance/expected/terms/extra_compound_name_arguments_construct_atom_zero.pl +1 -0
- package/test/conformance/expected/terms/extra_compound_name_arguments_construct_iri.pl +1 -0
- package/test/conformance/expected/terms/extra_compound_name_arguments_decompose_list.pl +1 -0
- package/test/conformance/expected/terms/extra_functor_list_cons.pl +1 -0
- package/test/conformance/expected/terms/extra_functor_number_scalar.pl +1 -0
- package/test/conformance/expected/terms/extra_functor_string_scalar.pl +1 -0
- package/test/conformance/expected/terms/functor_atom_arity_zero.pl +1 -0
- package/test/conformance/expected/terms/functor_number_and_string.pl +2 -0
- package/test/conformance/expected/terms/herbrand_witness_different_inputs_distinct.pl +1 -0
- package/test/conformance/expected/terms/herbrand_witness_one_input.pl +2 -0
- package/test/conformance/expected/terms/herbrand_witness_same_inputs_same_term.pl +1 -0
- package/test/conformance/expected/terms/herbrand_witness_two_inputs.pl +2 -0
- package/test/conformance/expected/terms/term_string_readback_iri_list.pl +1 -0
- package/test/conformance/expected/unification/012_nested_compound_unification.pl +2 -0
- package/test/conformance/expected/unification/021_repeated_variable_head.pl +2 -0
- package/test/conformance/expected/unification/034_equality_and_inequality.pl +4 -0
- package/test/conformance/expected/unification/compound_arity_mismatch_fails.pl +1 -0
- package/test/conformance/expected/unification/extra_eq_iri_and_quoted_atom.pl +0 -0
- package/test/conformance/expected/unification/extra_eq_list_tail_binding.pl +1 -0
- package/test/conformance/expected/unification/extra_eq_nested_repeated_fails.pl +0 -0
- package/test/conformance/expected/unification/extra_eq_nested_repeated_success.pl +1 -0
- package/test/conformance/expected/unification/extra_eq_scalar_number_atom.pl +1 -0
- package/test/conformance/expected/unification/extra_eq_scalar_string_number.pl +1 -0
- package/test/conformance/expected/unification/extra_neq_compound_arity_mismatch.pl +1 -0
- package/test/conformance/expected/unification/extra_neq_scalar_same_lexical_fails.pl +0 -0
- package/test/conformance/expected/unification/extra_variable_clause_locality.pl +2 -0
- package/test/conformance/expected/unification/list_tail_binding.pl +1 -0
- package/test/conformance/expected/unification/nested_repeated_variable.pl +1 -0
- package/test/conformance/expected/unification/scalar_cross_type_same_lexical_value.pl +2 -0
- package/test/conformance/expected/variables/007_anonymous_variables.pl +1 -0
- package/test/conformance/expected/variables/010_variable_scope_and_reuse.pl +2 -0
- package/test/conformance/expected/variables/026_question_underscore_named_variable_reuse.pl +1 -0
- package/test/conformance/expected/variables/101_question_mark_variables.pl +3 -0
- package/test/conformance/expected/variables/anonymous_in_two_goals.pl +1 -0
- package/test/conformance/expected/variables/clause_local_variable_names.pl +2 -0
- package/test/conformance/expected/variables/extra_anonymous_not_reused.pl +1 -0
- package/test/conformance/expected/variables/extra_named_variable_reused.pl +1 -0
- package/test/conformance/expected/variables/extra_question_underscore_named_distinct.pl +1 -0
- package/test/conformance/expected/variables/extra_question_uppercase_named.pl +1 -0
- package/test/conformance/expected/variables/question_anonymous_not_reused.pl +4 -0
- package/test/conformance/expected/variables/question_underscore_named_reuse.pl +1 -0
- package/test/conformance/expected/variables/question_uppercase_variable.pl +1 -0
- package/test/conformance/expected/variables/question_variable_digits_and_underscore.pl +1 -0
- package/test/conformance/expected/variables/question_variable_uppercase_name.pl +1 -0
- package/test/conformance/expected/variables/variable_scope_per_clause.pl +2 -0
- package/test/conformance/expected-errors/atoms/extra_angle_iri_backslash_rejected.txt +1 -0
- package/test/conformance/expected-errors/atoms/extra_angle_iri_pipe_rejected.txt +1 -0
- package/test/conformance/expected-errors/atoms/extra_angle_iri_quote_rejected.txt +1 -0
- package/test/conformance/expected-errors/atoms/hash_comment_not_atom_at_line_start.txt +1 -0
- package/test/conformance/expected-errors/atoms/relative_angle_name_rejected.txt +1 -0
- package/test/conformance/expected-errors/atoms/space_in_angle_iri_rejected.txt +1 -0
- package/test/conformance/expected-errors/atoms/unclosed_angle_iri_rejected.txt +1 -0
- package/test/conformance/expected-errors/atoms/zero_arity_compound_rejected.txt +1 -0
- package/test/conformance/expected-errors/lists/extra_missing_tail_after_bar.txt +1 -0
- package/test/conformance/expected-errors/lists/extra_unclosed_list_tail.txt +1 -0
- package/test/conformance/expected-errors/lists/missing_list_tail.txt +1 -0
- package/test/conformance/expected-errors/rules/extra_empty_head_with_body.txt +1 -0
- package/test/conformance/expected-errors/rules/extra_rule_without_body.txt +1 -0
- package/test/conformance/expected-errors/rules/rule_head_cannot_be_empty_parentheses.txt +1 -0
- package/test/conformance/expected-errors/syntax/angle_iri_with_space_rejected.txt +1 -0
- package/test/conformance/expected-errors/syntax/bad_question_digit_variable.txt +1 -0
- package/test/conformance/expected-errors/syntax/bad_question_variable.txt +1 -0
- package/test/conformance/expected-errors/syntax/colon_name_rejected.txt +1 -0
- package/test/conformance/expected-errors/syntax/empty_body_after_rule_marker.txt +1 -0
- package/test/conformance/expected-errors/syntax/empty_compound_nested.txt +1 -0
- package/test/conformance/expected-errors/syntax/extra_bad_backtick_character.txt +1 -0
- package/test/conformance/expected-errors/syntax/extra_bad_iri_empty_body.txt +1 -0
- package/test/conformance/expected-errors/syntax/extra_bad_list_double_comma.txt +1 -0
- package/test/conformance/expected-errors/syntax/extra_bad_list_double_tail.txt +1 -0
- package/test/conformance/expected-errors/syntax/extra_bad_number_two_decimal_points.txt +1 -0
- package/test/conformance/expected-errors/syntax/extra_double_period_rejected.txt +1 -0
- package/test/conformance/expected-errors/syntax/extra_extra_closing_paren.txt +1 -0
- package/test/conformance/expected-errors/syntax/extra_missing_closing_rule_body.txt +1 -0
- package/test/conformance/expected-errors/syntax/extra_missing_head_rejected.txt +1 -0
- package/test/conformance/expected-errors/syntax/missing_final_dot_rejected.txt +1 -0
- package/test/conformance/expected-errors/syntax/missing_period.txt +1 -0
- package/test/conformance/expected-errors/syntax/relative_angle_iri_rejected.txt +1 -0
- package/test/conformance/expected-errors/syntax/trailing_comma_in_body.txt +1 -0
- package/test/conformance/expected-errors/syntax/unclosed_compound.txt +1 -0
- package/test/conformance/expected-errors/syntax/unclosed_list.txt +1 -0
- package/test/conformance/expected-errors/syntax/unclosed_list_rejected.txt +1 -0
- package/test/conformance/expected-errors/syntax/unclosed_quoted_atom.txt +1 -0
- package/test/conformance/expected-errors/syntax/unclosed_quoted_atom_rejected.txt +1 -0
- package/test/conformance/expected-errors/syntax/unclosed_string.txt +1 -0
- package/test/conformance/expected-errors/syntax/unquoted_colon_predicate.txt +1 -0
- package/test/conformance/expected-errors/syntax/unquoted_dotted_predicate.txt +1 -0
- package/test/conformance/expected-errors/syntax/uppercase_predicate_rejected.txt +1 -0
- package/test/conformance/expected-errors/terms/extra_empty_nested_compound.txt +1 -0
- package/test/conformance/expected-errors/terms/extra_empty_top_level_compound.txt +1 -0
- package/test/conformance/expected-errors/terms/zero_arity_compound_nested_rejected.txt +1 -0
- package/test/conformance/expected-errors/variables/bare_underscore_in_list_rejected.txt +1 -0
- package/test/conformance/expected-errors/variables/bare_underscore_name_in_compound_rejected.txt +1 -0
- package/test/conformance/expected-errors/variables/bare_underscore_rejected.txt +1 -0
- package/test/conformance/expected-errors/variables/extra_bare_underscore_in_rule_head.txt +1 -0
- package/test/conformance/expected-errors/variables/extra_question_dash_variable.txt +1 -0
- package/test/conformance/expected-errors/variables/extra_uppercase_in_list.txt +1 -0
- package/test/conformance/expected-errors/variables/question_digit_rejected.txt +1 -0
- package/test/conformance/expected-errors/variables/question_dot_rejected.txt +1 -0
- package/test/conformance/expected-errors/variables/underscore_named_rejected.txt +1 -0
- package/test/conformance/expected-errors/variables/uppercase_in_body_rejected.txt +1 -0
- package/test/conformance/expected-errors/variables/uppercase_variable_rejected.txt +1 -0
- package/test/conformance/expected-proofs/proofs/bindings_nested_term.pl +16 -0
- package/test/conformance/expected-proofs/proofs/builtin_numeric.pl +16 -0
- package/test/conformance/expected-proofs/proofs/conjunction_order.pl +19 -0
- package/test/conformance/expected-proofs/proofs/extra_aggregate_min.pl +16 -0
- package/test/conformance/expected-proofs/proofs/extra_compound_name_arguments.pl +16 -0
- package/test/conformance/expected-proofs/proofs/extra_eq_builtin.pl +16 -0
- package/test/conformance/expected-proofs/proofs/extra_findall_builtin.pl +16 -0
- package/test/conformance/expected-proofs/proofs/extra_forall_builtin.pl +15 -0
- package/test/conformance/expected-proofs/proofs/extra_holds_parts.pl +32 -0
- package/test/conformance/expected-proofs/proofs/extra_iri_join.pl +16 -0
- package/test/conformance/expected-proofs/proofs/extra_negation_success.pl +15 -0
- package/test/conformance/expected-proofs/proofs/extra_nested_list_binding.pl +16 -0
- package/test/conformance/expected-proofs/proofs/extra_once_member.pl +22 -0
- package/test/conformance/expected-proofs/proofs/extra_recursive_path.pl +59 -0
- package/test/conformance/expected-proofs/proofs/extra_table_path_bound.pl +57 -0
- package/test/conformance/expected-proofs/proofs/herbrand_witness.pl +16 -0
- package/test/conformance/expected-proofs/proofs/iri_atom.pl +16 -0
- package/test/conformance/expected-proofs/proofs/list_builtin.pl +20 -0
- package/test/conformance/expected-proofs/proofs/once_child.pl +22 -0
- package/test/conformance/expected-proofs/proofs/rule_fact.pl +16 -0
- package/test/conformance/expected-proofs/proofs/table_recursive.pl +59 -0
- package/test/conformance/expected-warnings/negation/extra_stratified_multiple_negations_quiet.pl +1 -0
- package/test/conformance/expected-warnings/negation/extra_stratified_multiple_negations_quiet.txt +0 -0
- package/test/conformance/expected-warnings/negation/extra_stratified_negation_with_table_quiet.pl +1 -0
- package/test/conformance/expected-warnings/negation/extra_stratified_negation_with_table_quiet.txt +0 -0
- package/test/conformance/expected-warnings/negation/extra_unstratified_indirect_self_with_fact.pl +0 -0
- package/test/conformance/expected-warnings/negation/extra_unstratified_indirect_self_with_fact.txt +2 -0
- package/test/conformance/expected-warnings/negation/extra_unstratified_positive_negative_loop.pl +0 -0
- package/test/conformance/expected-warnings/negation/extra_unstratified_positive_negative_loop.txt +2 -0
- package/test/conformance/expected-warnings/negation/extra_unstratified_three_cycle_all_negative.pl +0 -0
- package/test/conformance/expected-warnings/negation/extra_unstratified_three_cycle_all_negative.txt +4 -0
- package/test/conformance/expected-warnings/negation/extra_warning_preserves_empty_stdout.pl +0 -0
- package/test/conformance/expected-warnings/negation/extra_warning_preserves_empty_stdout.txt +3 -0
- package/test/conformance/expected-warnings/negation/negative_unknown_group_quiet.pl +1 -0
- package/test/conformance/expected-warnings/negation/negative_unknown_group_quiet.txt +0 -0
- package/test/conformance/expected-warnings/negation/no_negation_quiet.pl +1 -0
- package/test/conformance/expected-warnings/negation/no_negation_quiet.txt +0 -0
- package/test/conformance/expected-warnings/negation/stratified_negative_unknown_after_positive_quiet.pl +1 -0
- package/test/conformance/expected-warnings/negation/stratified_negative_unknown_after_positive_quiet.txt +0 -0
- package/test/conformance/expected-warnings/negation/stratified_quiet.pl +1 -0
- package/test/conformance/expected-warnings/negation/stratified_quiet.txt +0 -0
- package/test/conformance/expected-warnings/negation/stratified_two_level_quiet.pl +1 -0
- package/test/conformance/expected-warnings/negation/stratified_two_level_quiet.txt +0 -0
- package/test/conformance/expected-warnings/negation/unstratified_mutual.pl +0 -0
- package/test/conformance/expected-warnings/negation/unstratified_mutual.txt +3 -0
- package/test/conformance/expected-warnings/negation/unstratified_positive_prefix.pl +0 -0
- package/test/conformance/expected-warnings/negation/unstratified_positive_prefix.txt +2 -0
- package/test/conformance/expected-warnings/negation/unstratified_self.pl +0 -0
- package/test/conformance/expected-warnings/negation/unstratified_self.txt +2 -0
- package/test/conformance/expected-warnings/negation/unstratified_three_step.pl +1 -0
- package/test/conformance/expected-warnings/negation/unstratified_three_step.txt +2 -0
- package/test/conformance/expected-warnings/negation/unstratified_two_arity_cycle.pl +0 -0
- package/test/conformance/expected-warnings/negation/unstratified_two_arity_cycle.txt +3 -0
- package/test/conformance/expected-warnings/negation/unstratified_two_independent_cycles.pl +0 -0
- package/test/conformance/expected-warnings/negation/unstratified_two_independent_cycles.txt +5 -0
- package/test/conformance/expected-warnings/negation/unstratified_with_iri_predicates.pl +0 -0
- package/test/conformance/expected-warnings/negation/unstratified_with_iri_predicates.txt +3 -0
- package/test/conformance/expected-warnings/negation/warning_preserves_multiple_stdout_answers.pl +0 -0
- package/test/conformance/expected-warnings/negation/warning_preserves_multiple_stdout_answers.txt +3 -0
- package/test/conformance/proofs/proofs/bindings_nested_term.pl +4 -0
- package/test/conformance/proofs/proofs/builtin_numeric.pl +3 -0
- package/test/conformance/proofs/proofs/conjunction_order.pl +5 -0
- package/test/conformance/proofs/proofs/extra_aggregate_min.pl +4 -0
- package/test/conformance/proofs/proofs/extra_compound_name_arguments.pl +2 -0
- package/test/conformance/proofs/proofs/extra_eq_builtin.pl +2 -0
- package/test/conformance/proofs/proofs/extra_findall_builtin.pl +4 -0
- package/test/conformance/proofs/proofs/extra_forall_builtin.pl +2 -0
- package/test/conformance/proofs/proofs/extra_holds_parts.pl +2 -0
- package/test/conformance/proofs/proofs/extra_iri_join.pl +2 -0
- package/test/conformance/proofs/proofs/extra_negation_success.pl +3 -0
- package/test/conformance/proofs/proofs/extra_nested_list_binding.pl +2 -0
- package/test/conformance/proofs/proofs/extra_once_member.pl +2 -0
- package/test/conformance/proofs/proofs/extra_recursive_path.pl +5 -0
- package/test/conformance/proofs/proofs/extra_table_path_bound.pl +7 -0
- package/test/conformance/proofs/proofs/herbrand_witness.pl +3 -0
- package/test/conformance/proofs/proofs/iri_atom.pl +4 -0
- package/test/conformance/proofs/proofs/list_builtin.pl +3 -0
- package/test/conformance/proofs/proofs/once_child.pl +5 -0
- package/test/conformance/proofs/proofs/rule_fact.pl +4 -0
- package/test/conformance/proofs/proofs/table_recursive.pl +7 -0
- package/test/conformance/warnings/negation/extra_stratified_multiple_negations_quiet.pl +4 -0
- package/test/conformance/warnings/negation/extra_stratified_negation_with_table_quiet.pl +6 -0
- package/test/conformance/warnings/negation/extra_unstratified_indirect_self_with_fact.pl +5 -0
- package/test/conformance/warnings/negation/extra_unstratified_positive_negative_loop.pl +5 -0
- package/test/conformance/warnings/negation/extra_unstratified_three_cycle_all_negative.pl +5 -0
- package/test/conformance/warnings/negation/extra_warning_preserves_empty_stdout.pl +3 -0
- package/test/conformance/warnings/negation/negative_unknown_group_quiet.pl +2 -0
- package/test/conformance/warnings/negation/no_negation_quiet.pl +3 -0
- package/test/conformance/warnings/negation/stratified_negative_unknown_after_positive_quiet.pl +3 -0
- package/test/conformance/warnings/negation/stratified_quiet.pl +4 -0
- package/test/conformance/warnings/negation/stratified_two_level_quiet.pl +5 -0
- package/test/conformance/warnings/negation/unstratified_mutual.pl +5 -0
- package/test/conformance/warnings/negation/unstratified_positive_prefix.pl +5 -0
- package/test/conformance/warnings/negation/unstratified_self.pl +4 -0
- package/test/conformance/warnings/negation/unstratified_three_step.pl +6 -0
- package/test/conformance/warnings/negation/unstratified_two_arity_cycle.pl +4 -0
- package/test/conformance/warnings/negation/unstratified_two_independent_cycles.pl +6 -0
- package/test/conformance/warnings/negation/unstratified_with_iri_predicates.pl +4 -0
- package/test/conformance/warnings/negation/warning_preserves_multiple_stdout_answers.pl +5 -0
- package/test/run-all.mjs +20 -0
- package/test/run-conformance-report.mjs +120 -0
- package/test/run-conformance.mjs +189 -0
- package/test/run-examples.mjs +155 -0
- package/test/run-regression.mjs +1251 -0
- package/test/test-style.mjs +94 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
fallacy(arg_affirming_consequent, affirming_consequent).
|
|
2
|
+
fallacy(arg_denying_antecedent, denying_antecedent).
|
|
3
|
+
fallacy(arg_hasty_generalization, hasty_generalization).
|
|
4
|
+
fallacy(arg_false_dilemma, false_dilemma).
|
|
5
|
+
type(arg_affirming_consequent, illegitimate_reasoning).
|
|
6
|
+
type(arg_denying_antecedent, illegitimate_reasoning).
|
|
7
|
+
type(arg_hasty_generalization, illegitimate_reasoning).
|
|
8
|
+
type(arg_false_dilemma, illegitimate_reasoning).
|
|
9
|
+
conclusion(arg_affirming_consequent, rain).
|
|
10
|
+
conclusion(arg_denying_antecedent, neg(door_opens)).
|
|
11
|
+
conclusion(arg_hasty_generalization, all(crows, black)).
|
|
12
|
+
conclusion(arg_false_dilemma, approve_now).
|
|
13
|
+
sampleSize(arg_hasty_generalization, 3).
|
|
14
|
+
requiredSampleSize(arg_hasty_generalization, 30).
|
|
15
|
+
omittedAlternative(arg_false_dilemma, revise_proposal).
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
intuitionistic_truth(monotone_p_reaches_both, both, atom(p)).
|
|
2
|
+
intuitionistic_truth(constructive_case_analysis, root, implies(atom(p), or(atom(p), atom(q)))).
|
|
3
|
+
intuitionistic_truth(double_negated_branch_information, root, neg(neg(or(atom(p), atom(q))))).
|
|
4
|
+
intuitionistic_countermodel(root_does_not_decide_branch, root, or(atom(p), atom(q))).
|
|
5
|
+
intuitionistic_countermodel(excluded_middle_not_forced, root, or(atom(p), neg(atom(p)))).
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
target_fact(msg1, sosa_madeBySensor, probe7).
|
|
2
|
+
target_fact(msg1, sosa_resultTime, "2026-06-17T12:34:56Z").
|
|
3
|
+
target_fact(msg1, sosa_hasSimpleResult, 18.6).
|
|
4
|
+
target_fact(msg1, fpv_hasFlowStep, ingest_step).
|
|
5
|
+
target_fact(msg1, sosa_hasFeatureOfInterest, platform_b).
|
|
6
|
+
runtime_rule(observed_by, copy_to_target).
|
|
7
|
+
runtime_rule(observed_at, copy_to_target).
|
|
8
|
+
runtime_rule(temperature_celsius, copy_to_target).
|
|
9
|
+
runtime_rule(in_flow, copy_to_target).
|
|
10
|
+
runtime_rule(observed_feature, copy_to_target).
|
|
11
|
+
target_predicate(observed_by, sosa_madeBySensor).
|
|
12
|
+
target_predicate(observed_at, sosa_resultTime).
|
|
13
|
+
target_predicate(temperature_celsius, sosa_hasSimpleResult).
|
|
14
|
+
target_predicate(in_flow, fpv_hasFlowStep).
|
|
15
|
+
target_predicate(observed_feature, sosa_hasFeatureOfInterest).
|
|
16
|
+
flow_emits(ingest_step, msg1).
|
|
17
|
+
trusted_by(ingest_step, probe7).
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
kbAnswer(sample_normal_form, append(a, append(b, c))).
|
|
2
|
+
kbAnswer(joined_critical_pair, left_identity_assoc).
|
|
3
|
+
kbAnswer(joined_critical_pair, right_identity_assoc).
|
|
4
|
+
kbAnswer(joined_critical_pair, nested_assoc).
|
|
5
|
+
kbAnswer(oriented_rule_count, 3).
|
|
6
|
+
kbAnswer(joined_critical_pair_count, 3).
|
|
7
|
+
kbAnswer(note, "a bounded completion check proves the selected critical pairs join").
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
path('<urn:example:a>', '<urn:example:b>').
|
|
2
|
+
path('<urn:example:b>', '<urn:example:c>').
|
|
3
|
+
path('<urn:example:c>', '<urn:example:d>').
|
|
4
|
+
path('<urn:example:a>', '<urn:example:c>').
|
|
5
|
+
path('<urn:example:a>', '<urn:example:d>').
|
|
6
|
+
path('<urn:example:b>', '<urn:example:d>').
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type(meas47, lld_alarm).
|
|
2
|
+
lld_left_length_cm(meas47, 21.548900464617255).
|
|
3
|
+
lld_right_length_cm(meas47, 23.45713444515475).
|
|
4
|
+
lld_discrepancy_cm(meas47, -1.9082339805374957).
|
|
5
|
+
lld_threshold_cm(meas47, 1.25).
|
|
6
|
+
lld_reason(meas47, "discrepancy below negative threshold").
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
cpk(line7_shift_a, 0.6666666666666673).
|
|
2
|
+
cpk(line8_shift_b, 1.6666666666666607).
|
|
3
|
+
status(line8_shift_b, capable_process).
|
|
4
|
+
status(line7_shift_a, needs_process_adjustment).
|
|
5
|
+
reason(line8_shift_b, "Cpk meets the production capability threshold").
|
|
6
|
+
reason(line7_shift_a, "Cpk is below the production capability threshold").
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
four_color_answer(european_union, [[belgium, yellow], [netherlands, green], [luxemburg, green], [france, blue], [germany, red], [italy, red], [denmark, green], [ireland, red], [greece, red], [spain, green], [portugal, red], [austria, yellow], [sweden, green], [finland, red], [cyprus, red], [malta, red], [poland, blue], [hungary, blue], [czech_republic, green], [slovakia, red], [slovenia, green], [estonia, red], [latvia, green], [lithuania, red], [bulgaria, green], [romania, red], [croatia, red]]).
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
mlnWeight(friend_smoking, log_weight_tenths(20)).
|
|
2
|
+
mlnWeight(smoking_causes_cancer, log_weight_tenths(13)).
|
|
3
|
+
mlnWeight(cancer_is_rare, log_weight_tenths(6)).
|
|
4
|
+
mlnWorld(w_bob_not_smokes_not_cancer, world(smokes(bob, no), cancer(bob, no))).
|
|
5
|
+
mlnWorld(w_bob_not_smokes_cancer, world(smokes(bob, no), cancer(bob, yes))).
|
|
6
|
+
mlnWorld(w_bob_smokes_not_cancer, world(smokes(bob, yes), cancer(bob, no))).
|
|
7
|
+
mlnWorld(w_bob_smokes_cancer, world(smokes(bob, yes), cancer(bob, yes))).
|
|
8
|
+
mlnSatisfied(w_bob_smokes_not_cancer, friend_smoking).
|
|
9
|
+
mlnSatisfied(w_bob_smokes_cancer, friend_smoking).
|
|
10
|
+
mlnSatisfied(w_bob_not_smokes_not_cancer, smoking_causes_cancer).
|
|
11
|
+
mlnSatisfied(w_bob_not_smokes_cancer, smoking_causes_cancer).
|
|
12
|
+
mlnSatisfied(w_bob_smokes_cancer, smoking_causes_cancer).
|
|
13
|
+
mlnSatisfied(w_bob_not_smokes_not_cancer, cancer_is_rare).
|
|
14
|
+
mlnSatisfied(w_bob_smokes_not_cancer, cancer_is_rare).
|
|
15
|
+
mlnViolated(w_bob_not_smokes_not_cancer, friend_smoking).
|
|
16
|
+
mlnViolated(w_bob_not_smokes_cancer, friend_smoking).
|
|
17
|
+
mlnViolated(w_bob_not_smokes_cancer, cancer_is_rare).
|
|
18
|
+
mlnViolated(w_bob_smokes_not_cancer, smoking_causes_cancer).
|
|
19
|
+
mlnViolated(w_bob_smokes_cancer, cancer_is_rare).
|
|
20
|
+
mlnContribution(w_bob_smokes_not_cancer, friend_smoking, log_weight_tenths(20)).
|
|
21
|
+
mlnContribution(w_bob_smokes_cancer, friend_smoking, log_weight_tenths(20)).
|
|
22
|
+
mlnContribution(w_bob_not_smokes_not_cancer, smoking_causes_cancer, log_weight_tenths(13)).
|
|
23
|
+
mlnContribution(w_bob_not_smokes_cancer, smoking_causes_cancer, log_weight_tenths(13)).
|
|
24
|
+
mlnContribution(w_bob_smokes_cancer, smoking_causes_cancer, log_weight_tenths(13)).
|
|
25
|
+
mlnContribution(w_bob_not_smokes_not_cancer, cancer_is_rare, log_weight_tenths(6)).
|
|
26
|
+
mlnContribution(w_bob_smokes_not_cancer, cancer_is_rare, log_weight_tenths(6)).
|
|
27
|
+
mlnWorldScore(w_bob_not_smokes_not_cancer, log_weight_tenths(19)).
|
|
28
|
+
mlnWorldScore(w_bob_not_smokes_cancer, log_weight_tenths(13)).
|
|
29
|
+
mlnWorldScore(w_bob_smokes_not_cancer, log_weight_tenths(26)).
|
|
30
|
+
mlnWorldScore(w_bob_smokes_cancer, log_weight_tenths(33)).
|
|
31
|
+
mlnMapWorld(w_bob_smokes_cancer, log_weight_tenths(33)).
|
|
32
|
+
mlnConclusion(case, "MAP world predicts that Bob smokes and has cancer").
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
renewablePower_kW(campus_interval_17, 270.0).
|
|
2
|
+
batteryDispatch_kW(campus_interval_17, 240.0).
|
|
3
|
+
gridImport_kW(campus_interval_17, 110.0).
|
|
4
|
+
reserveAfterDispatch_kW(campus_interval_17, 80.0).
|
|
5
|
+
status(campus_interval_17, stable_dispatch).
|
|
6
|
+
reason(campus_interval_17, "battery dispatch covers the deficit while preserving reserve and grid contract limits").
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
missionaries_cannibals_answer(first_solution, [state(3, 3, left), state(3, 1, right), state(3, 2, left), state(3, 0, right), state(3, 1, left), state(1, 1, right), state(2, 2, left), state(0, 2, right), state(0, 3, left), state(0, 1, right), state(1, 1, left), state(0, 0, right)]).
|
|
2
|
+
missionaries_cannibals_answer(state_count, 10).
|
|
3
|
+
missionaries_cannibals_answer(step_count, 11).
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
plan(monkeyBananas, [go(loc3), push(loc1), climb_on, grab]).
|
|
2
|
+
plan(monkeyBananas, [go(loc1), go(loc3), push(loc1), climb_on, grab]).
|
|
3
|
+
plan(monkeyBananas, [go(loc3), push(loc1), climb_on, grab, climb_off]).
|
|
4
|
+
plan(monkeyBananas, [go(loc3), push(loc2), push(loc1), climb_on, grab]).
|
|
5
|
+
solved(monkeyBananas, true).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
n_queens_answer(first_solution, [1, 5, 8, 6, 3, 7, 2, 4]).
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
captured_field(l1, ts, "2026-06-18T10:00:00Z").
|
|
2
|
+
captured_field(l1, level, "warn").
|
|
3
|
+
captured_field(l1, event, "login_failed").
|
|
4
|
+
captured_field(l1, user, "alice").
|
|
5
|
+
captured_field(l1, ip, "203.0.113.9").
|
|
6
|
+
captured_field(l1, trace_id, "4bf92f3577b34da6a3ce929d0e0e4736").
|
|
7
|
+
captured_field(l1, span_id, "00f067aa0ba902b7").
|
|
8
|
+
captured_field(l1, flags, "01").
|
|
9
|
+
captured_field(l2, ts, "2026-06-18T10:00:03Z").
|
|
10
|
+
captured_field(l2, level, "error").
|
|
11
|
+
captured_field(l2, event, "payment_denied").
|
|
12
|
+
captured_field(l2, user, "alice").
|
|
13
|
+
captured_field(l2, ip, "203.0.113.9").
|
|
14
|
+
captured_field(l2, trace_id, "4bf92f3577b34da6a3ce929d0e0e4736").
|
|
15
|
+
captured_field(l2, span_id, "aaf067aa0ba90000").
|
|
16
|
+
captured_field(l2, flags, "01").
|
|
17
|
+
captured_field(l3, ts, "2026-06-18T10:01:12Z").
|
|
18
|
+
captured_field(l3, level, "info").
|
|
19
|
+
captured_field(l3, event, "login_success").
|
|
20
|
+
captured_field(l3, user, "bob").
|
|
21
|
+
captured_field(l3, ip, "198.51.100.4").
|
|
22
|
+
captured_field(l3, trace_id, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").
|
|
23
|
+
captured_field(l3, span_id, "bbbbbbbbbbbbbbbb").
|
|
24
|
+
captured_field(l3, flags, "01").
|
|
25
|
+
parsed_event(l1, "login_failed", "alice", "203.0.113.9", "4bf92f3577b34da6a3ce929d0e0e4736").
|
|
26
|
+
parsed_event(l2, "payment_denied", "alice", "203.0.113.9", "4bf92f3577b34da6a3ce929d0e0e4736").
|
|
27
|
+
parsed_event(l3, "login_success", "bob", "198.51.100.4", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").
|
|
28
|
+
trace_alert("alice", "4bf92f3577b34da6a3ce929d0e0e4736", "203.0.113.9").
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
decision(flow_care, fpv_permit).
|
|
2
|
+
decision(flow_clinic, fpv_review).
|
|
3
|
+
decision(flow_ads, fpv_deny).
|
|
4
|
+
confidence(flow_care, 0.92).
|
|
5
|
+
confidence(flow_clinic, 0.63).
|
|
6
|
+
status(flow_care, fpv_executable_flow).
|
|
7
|
+
status(flow_ads, fpv_blocked_flow).
|
|
8
|
+
risk(flow_clinic, risk_trustworthiness_risk).
|
|
9
|
+
risk(flow_ads, risk_unwanted_disclosure_data).
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
score(riskH1, 100).
|
|
2
|
+
score(riskH2, 100).
|
|
3
|
+
score(riskH4, 70).
|
|
4
|
+
policyGraph(agreementHC1, (type(policyHC1, odrl_Policy), odrl_permission(policyHC1, permResearchUse), odrl_permission(policyHC1, permShareWithPharma), odrl_permission(policyHC1, permAutomatedTriage), odrl_permission(policyHC1, permRetention10y), type(permResearchUse, odrl_Permission), odrl_assigner(permResearchUse, hospital), odrl_assignee(permResearchUse, researchUnit), odrl_action(permResearchUse, hl7ca_use), odrl_target(permResearchUse, healthRecordData), odrl_target(permResearchUse, genomicData), odrl_constraint(permResearchUse, cResearchPurpose), odrl_leftOperand(cResearchPurpose, odrl_purpose), odrl_rightOperandReference(cResearchPurpose, purposeHMB), clause(permResearchUse, clauseH1), type(permShareWithPharma, odrl_Permission), odrl_assigner(permShareWithPharma, hospital), odrl_assignee(permShareWithPharma, pharmaPartner), odrl_action(permShareWithPharma, hl7ca_disclose), odrl_target(permShareWithPharma, genomicData), odrl_constraint(permShareWithPharma, cSharePurpose), odrl_leftOperand(cSharePurpose, odrl_purpose), odrl_rightOperandReference(cSharePurpose, purposeHMB), clause(permShareWithPharma, clauseH2), type(permAutomatedTriage, odrl_Permission), odrl_assigner(permAutomatedTriage, hospital), odrl_assignee(permAutomatedTriage, clinicalAIService), odrl_action(permAutomatedTriage, hl7ca_use), odrl_target(permAutomatedTriage, healthRecordData), odrl_constraint(permAutomatedTriage, cTriagePurpose), odrl_leftOperand(cTriagePurpose, odrl_purpose), odrl_rightOperandReference(cTriagePurpose, purposeCC), odrl_duty(permAutomatedTriage, dutyHumanReview), odrl_action(dutyHumanReview, humanReview), odrl_constraint(dutyHumanReview, cTriageEncryption), odrl_leftOperand(cTriageEncryption, encryptionAtRest), odrl_rightOperand(cTriageEncryption, true), clause(permAutomatedTriage, clauseH3), type(permRetention10y, odrl_Permission), odrl_assigner(permRetention10y, hospital), odrl_assignee(permRetention10y, hospital), odrl_action(permRetention10y, hl7ca_collect), odrl_target(permRetention10y, healthRecordData), odrl_constraint(permRetention10y, cRetentionPurpose), odrl_leftOperand(cRetentionPurpose, odrl_purpose), odrl_rightOperandReference(cRetentionPurpose, purposeCC), odrl_constraint(permRetention10y, cRetentionDays), odrl_leftOperand(cRetentionDays, retentionDays), odrl_rightOperand(cRetentionDays, 3650), clause(permRetention10y, clauseH4))).
|
|
5
|
+
dpv_hasRisk(processContextHC1, riskH1).
|
|
6
|
+
dpv_hasRisk(processContextHC1, riskH2).
|
|
7
|
+
dpv_hasRisk(processContextHC1, riskH4).
|
|
8
|
+
type(riskH1, dpv_Risk).
|
|
9
|
+
type(riskH2, dpv_Risk).
|
|
10
|
+
type(riskH4, dpv_Risk).
|
|
11
|
+
scoreRaw(riskH1, 120).
|
|
12
|
+
scoreRaw(riskH2, 125).
|
|
13
|
+
scoreRaw(riskH4, 70).
|
|
14
|
+
dpv_hasRiskLevel(riskH1, risk_HighRisk).
|
|
15
|
+
dpv_hasRiskLevel(riskH2, risk_HighRisk).
|
|
16
|
+
dpv_hasRiskLevel(riskH4, risk_ModerateRisk).
|
|
17
|
+
dpv_hasSeverity(riskH1, risk_HighSeverity).
|
|
18
|
+
dpv_hasSeverity(riskH2, risk_HighSeverity).
|
|
19
|
+
dpv_hasSeverity(riskH4, risk_ModerateSeverity).
|
|
20
|
+
aboutClause(riskH1, clauseH1).
|
|
21
|
+
aboutClause(riskH2, clauseH2).
|
|
22
|
+
aboutClause(riskH4, clauseH4).
|
|
23
|
+
violatesNeed(riskH1, need_ConsentForResearch).
|
|
24
|
+
violatesNeed(riskH2, need_DeIdentifyBeforeSharing).
|
|
25
|
+
violatesNeed(riskH4, need_RetentionLimit3y).
|
|
26
|
+
dct_source(riskH1, permResearchUse).
|
|
27
|
+
dct_source(riskH2, permShareWithPharma).
|
|
28
|
+
dct_source(riskH4, permRetention10y).
|
|
29
|
+
dct_description(riskH1, "Risk: health/genomic data may be used for research without explicit opt-in consent.").
|
|
30
|
+
dct_description(riskH2, "Risk: genomic data may be shared with external pharma partners without a de-identification/pseudonymisation requirement.").
|
|
31
|
+
dct_description(riskH4, "Risk: retention (3650 days) exceeds patient preference (1095 days).").
|
|
32
|
+
reportKey(riskH1, 900).
|
|
33
|
+
reportKey(riskH2, 900).
|
|
34
|
+
reportKey(riskH4, 930).
|
|
35
|
+
dpv_isMitigatedByMeasure(riskH1, mitigateConsent).
|
|
36
|
+
dpv_isMitigatedByMeasure(riskH2, mitigateDeId).
|
|
37
|
+
dpv_isMitigatedByMeasure(riskH4, mitigateRetention).
|
|
38
|
+
suggestAddGraph(mitigateConsent, (odrl_constraint(permResearchUse, cExplicitConsent), odrl_leftOperand(cExplicitConsent, explicitConsent), odrl_rightOperand(cExplicitConsent, true))).
|
|
39
|
+
suggestAddGraph(mitigateDeId, (odrl_constraint(permShareWithPharma, cDeIdentified), odrl_leftOperand(cDeIdentified, deIdentified), odrl_rightOperand(cDeIdentified, true), odrl_duty(permShareWithPharma, dutyDeIdentify), odrl_action(dutyDeIdentify, deIdentify))).
|
|
40
|
+
suggestAddGraph(mitigateRetention, (odrl_constraint(permRetention10y, cRetentionLimit), odrl_leftOperand(cRetentionLimit, retentionDays), odrl_rightOperand(cRetentionLimit, 1095))).
|
|
41
|
+
firstRisk(report, riskH1).
|
|
42
|
+
retentionRiskScore(report, 70).
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
score(risk1, 100).
|
|
2
|
+
score(risk2, 85).
|
|
3
|
+
score(risk3, 97).
|
|
4
|
+
score(risk4, 70).
|
|
5
|
+
dct_title(agreement1, "Example Agreement").
|
|
6
|
+
dct_title(consumerExample, "Example consumer profile").
|
|
7
|
+
dct_title(processContext1, "Service operation under Agreement1").
|
|
8
|
+
dpv_hasRisk(processContext1, risk1).
|
|
9
|
+
dpv_hasRisk(processContext1, risk2).
|
|
10
|
+
dpv_hasRisk(processContext1, risk3).
|
|
11
|
+
dpv_hasRisk(processContext1, risk4).
|
|
12
|
+
type(risk1, dpv_Risk).
|
|
13
|
+
type(risk2, dpv_Risk).
|
|
14
|
+
type(risk3, dpv_Risk).
|
|
15
|
+
type(risk4, dpv_Risk).
|
|
16
|
+
type(risk1, risk_UnwantedDataDeletion).
|
|
17
|
+
type(risk1, risk_DataUnavailable).
|
|
18
|
+
type(risk1, risk_DataErasureError).
|
|
19
|
+
type(risk1, risk_DataLoss).
|
|
20
|
+
type(risk2, risk_PolicyRisk).
|
|
21
|
+
type(risk2, risk_CustomerConfidenceLoss).
|
|
22
|
+
type(risk3, risk_UnwantedDisclosureData).
|
|
23
|
+
type(risk3, risk_CustomerConfidenceLoss).
|
|
24
|
+
type(risk4, risk_PolicyRisk).
|
|
25
|
+
type(risk4, risk_CustomerConfidenceLoss).
|
|
26
|
+
type(src1, risk_RiskSource).
|
|
27
|
+
type(src2, risk_RiskSource).
|
|
28
|
+
type(src3, risk_RiskSource).
|
|
29
|
+
type(src4, risk_RiskSource).
|
|
30
|
+
type(src1, risk_LegalComplianceRisk).
|
|
31
|
+
type(src2, risk_PolicyRisk).
|
|
32
|
+
type(src3, risk_PolicyRisk).
|
|
33
|
+
type(src4, risk_PolicyRisk).
|
|
34
|
+
type(m11, dpv_RiskMitigationMeasure).
|
|
35
|
+
type(m21, dpv_RiskMitigationMeasure).
|
|
36
|
+
type(m12, dpv_RiskMitigationMeasure).
|
|
37
|
+
type(m13, dpv_RiskMitigationMeasure).
|
|
38
|
+
type(m14, dpv_RiskMitigationMeasure).
|
|
39
|
+
firstRisk(report, risk1).
|
|
40
|
+
before(riskRanking, pair(risk1, risk2)).
|
|
41
|
+
before(riskRanking, pair(risk1, risk3)).
|
|
42
|
+
before(riskRanking, pair(risk1, risk4)).
|
|
43
|
+
before(riskRanking, pair(risk2, risk4)).
|
|
44
|
+
before(riskRanking, pair(risk3, risk2)).
|
|
45
|
+
before(riskRanking, pair(risk3, risk4)).
|
|
46
|
+
dct_source(risk1, permDeleteAccount).
|
|
47
|
+
dct_source(risk2, permChangeTerms).
|
|
48
|
+
dct_source(risk3, permShareData).
|
|
49
|
+
dct_source(risk4, prohibitExportData).
|
|
50
|
+
dct_source(src1, permDeleteAccount).
|
|
51
|
+
dct_source(src2, permChangeTerms).
|
|
52
|
+
dct_source(src3, permShareData).
|
|
53
|
+
dct_source(src4, prohibitExportData).
|
|
54
|
+
risk_hasRiskSource(risk1, src1).
|
|
55
|
+
risk_hasRiskSource(risk2, src2).
|
|
56
|
+
risk_hasRiskSource(risk3, src3).
|
|
57
|
+
risk_hasRiskSource(risk4, src4).
|
|
58
|
+
dpv_hasConsequence(risk1, risk_DataLoss).
|
|
59
|
+
dpv_hasConsequence(risk1, risk_DataUnavailable).
|
|
60
|
+
dpv_hasConsequence(risk1, risk_CustomerConfidenceLoss).
|
|
61
|
+
dpv_hasConsequence(risk2, risk_CustomerConfidenceLoss).
|
|
62
|
+
dpv_hasConsequence(risk3, risk_CustomerConfidenceLoss).
|
|
63
|
+
dpv_hasConsequence(risk4, risk_CustomerConfidenceLoss).
|
|
64
|
+
dpv_hasImpact(risk1, risk_FinancialLoss).
|
|
65
|
+
dpv_hasImpact(risk1, risk_NonMaterialDamage).
|
|
66
|
+
dpv_hasImpact(risk2, risk_NonMaterialDamage).
|
|
67
|
+
dpv_hasImpact(risk3, risk_NonMaterialDamage).
|
|
68
|
+
dpv_hasImpact(risk3, risk_FinancialLoss).
|
|
69
|
+
dpv_hasImpact(risk4, risk_NonMaterialDamage).
|
|
70
|
+
aboutClause(risk1, clauseC1).
|
|
71
|
+
aboutClause(risk2, clauseC2).
|
|
72
|
+
aboutClause(risk3, clauseC3).
|
|
73
|
+
aboutClause(risk4, clauseC4).
|
|
74
|
+
violatesNeed(risk1, need_DataCannotBeRemoved).
|
|
75
|
+
violatesNeed(risk2, need_ChangeOnlyWithPriorNotice).
|
|
76
|
+
violatesNeed(risk3, need_NoSharingWithoutConsent).
|
|
77
|
+
violatesNeed(risk4, need_DataPortability).
|
|
78
|
+
scoreRaw(risk1, 110).
|
|
79
|
+
scoreRaw(risk2, 85).
|
|
80
|
+
scoreRaw(risk3, 97).
|
|
81
|
+
scoreRaw(risk4, 70).
|
|
82
|
+
dpv_hasSeverity(risk1, risk_HighSeverity).
|
|
83
|
+
dpv_hasSeverity(risk2, risk_HighSeverity).
|
|
84
|
+
dpv_hasSeverity(risk3, risk_HighSeverity).
|
|
85
|
+
dpv_hasSeverity(risk4, risk_ModerateSeverity).
|
|
86
|
+
dpv_hasRiskLevel(risk1, risk_HighRisk).
|
|
87
|
+
dpv_hasRiskLevel(risk2, risk_HighRisk).
|
|
88
|
+
dpv_hasRiskLevel(risk3, risk_HighRisk).
|
|
89
|
+
dpv_hasRiskLevel(risk4, risk_ModerateRisk).
|
|
90
|
+
dct_description(risk1, "Risk: account/data removal is permitted without notice safeguards (no notice constraint and no duty to inform). Clause C1: Provider may remove the user account (and associated data) at its discretion.").
|
|
91
|
+
dct_description(risk2, "Risk: terms may change with notice (3 days) below consumer requirement (14 days). Clause C2: Provider may change terms by informing users at least 3 days in advance.").
|
|
92
|
+
dct_description(risk3, "Risk: user data sharing is permitted without an explicit consent constraint. Clause C3: Provider may share user data with partners for business purposes.").
|
|
93
|
+
dct_description(risk4, "Risk: portability is restricted because exporting user data is prohibited. Clause C4: Users are not permitted to export their data.").
|
|
94
|
+
dct_description(m11, "Add a notice constraint (minimum noticeDays) before account removal.").
|
|
95
|
+
dct_description(m21, "Add a duty to inform the consumer prior to account removal.").
|
|
96
|
+
dct_description(m12, "Increase minimum noticeDays in the inform duty to meet the consumer requirement.").
|
|
97
|
+
dct_description(m13, "Add an explicit consent constraint before data sharing.").
|
|
98
|
+
dct_description(m14, "Add a permission allowing data export (or remove the prohibition) to support portability.").
|
|
99
|
+
reportKey(risk1, key(900, "C1")).
|
|
100
|
+
reportKey(risk2, key(915, "C2")).
|
|
101
|
+
reportKey(risk3, key(903, "C3")).
|
|
102
|
+
reportKey(risk4, key(930, "C4")).
|
|
103
|
+
dpv_isMitigatedByMeasure(risk1, m11).
|
|
104
|
+
dpv_isMitigatedByMeasure(risk1, m21).
|
|
105
|
+
dpv_isMitigatedByMeasure(risk2, m12).
|
|
106
|
+
dpv_isMitigatedByMeasure(risk3, m13).
|
|
107
|
+
dpv_isMitigatedByMeasure(risk4, m14).
|
|
108
|
+
dpv_mitigatesRisk(m11, risk1).
|
|
109
|
+
dpv_mitigatesRisk(m21, risk1).
|
|
110
|
+
dpv_mitigatesRisk(m12, risk2).
|
|
111
|
+
dpv_mitigatesRisk(m13, risk3).
|
|
112
|
+
dpv_mitigatesRisk(m14, risk4).
|
|
113
|
+
clauseId(clauseC1, "C1").
|
|
114
|
+
clauseId(clauseC2, "C2").
|
|
115
|
+
clauseId(clauseC3, "C3").
|
|
116
|
+
clauseId(clauseC4, "C4").
|
|
117
|
+
text(clauseC1, "Provider may remove the user account (and associated data) at its discretion.").
|
|
118
|
+
text(clauseC2, "Provider may change terms by informing users at least 3 days in advance.").
|
|
119
|
+
text(clauseC3, "Provider may share user data with partners for business purposes.").
|
|
120
|
+
text(clauseC4, "Users are not permitted to export their data.").
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
transferSemiMajorAxis_km(mars_hohmann, 188768535.34999999).
|
|
2
|
+
departureDeltaV_km_s(mars_hohmann, 2.9446911328430403).
|
|
3
|
+
arrivalDeltaV_km_s(mars_hohmann, 2.6488967223855973).
|
|
4
|
+
totalDeltaV_km_s(mars_hohmann, 5.5935878552286376).
|
|
5
|
+
transferTime_days(mars_hohmann, 258.86582676796297).
|
|
6
|
+
status(mars_hohmann, feasible_reference_transfer).
|
|
7
|
+
reason(mars_hohmann, "total Hohmann transfer delta-v is within the mission budget").
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
partialEvalAnswer(residual(poly_y), add(mul(const(10), var(y)), const(13))).
|
|
2
|
+
partialEvalAnswer(residual(static_branch), const(11)).
|
|
3
|
+
partialEvalAnswer(residual(dynamic_branch), if(var(flag), const(11), mul(var(y), const(2)))).
|
|
4
|
+
partialEvalAnswer(note, "static inputs are folded while dynamic variables remain as residual code").
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
airroute("Ostend-Bruges International Airport", "Václav Havel Airport Prague", 2, "Ostend-Bruges International Airport -> Liège Airport -> Heraklion International Nikos Kazantzakis Airport -> Václav Havel Airport Prague").
|
|
2
|
+
airroute("Ostend-Bruges International Airport", "Václav Havel Airport Prague", 2, "Ostend-Bruges International Airport -> Liège Airport -> Diagoras Airport -> Václav Havel Airport Prague").
|
|
3
|
+
airroute("Ostend-Bruges International Airport", "Václav Havel Airport Prague", 2, "Ostend-Bruges International Airport -> Liège Airport -> Palma De Mallorca Airport -> Václav Havel Airport Prague").
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
factorial(0, s(0)).
|
|
2
|
+
factorial(s(0), s(0)).
|
|
3
|
+
factorial(s(s(s(s(s(0))))), s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))).
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
prod([3, 0], 0).
|
|
2
|
+
prod([5, 6], 30).
|
|
3
|
+
prod([238, 13], 3094).
|
|
4
|
+
prod([8367238, 27133], 227028268654).
|
|
5
|
+
prod([62713345408367238, 40836723862713345], 2561007568948454773873964883391110).
|
|
6
|
+
prod([4083672386271334562713345408367238, 4083672386271334562713345408367238], 16676380158395015918313370200581208707756668987398133546021071748644).
|
|
7
|
+
pow([3, 0], 1).
|
|
8
|
+
pow([5, 6], 15625).
|
|
9
|
+
pow([238, 13], 7861409907565911395902147452928).
|
|
10
|
+
pow([8367238, 2713], 9232045607212052006795246694645720931277949466279701628177907740283538142209103234039439973517187737529281630849057170752784305720492044921879310570197821189938111046880741611757099186209515996545574560595569398421819439327724593883790330554198464119958380253077594176476747486483990058232772330391614523765695590076933329094315903926160289597769818256424419293451613076627508324466360726612186400591843593021231178672747824182045603899165848423037855152265845482950837492362915381074102657811860380193315088111381992883369163984493249061979770577658980276182984413366453224501926276668558570391059133297007461733806379970178451177729443654591147548896171773534035466913353947716920292373556746770210709597354796556198245785294464841029427784489194700756195161952011832934270934818959887313446096063911307313403409406593074480469018845582204848718220812149409978732541417363909693033995650385298289888835192900522879993196481107895143038431062207845467671409292879939993495775794191338994049129251032889407078950814229876697652230493052574335511698335543098672124864569018630506760295111122506445140314839898755383719270725319655624324653729144440668885419886163313402113032552728510164639345415361410433532741555249023965973869142391370132857395337987963613790104142070052402177691750836796141362723112626981402690615399678911240733885693719987133461963485799194537978265131294945084051710190782912037523869473566324564067662402020127129653928235567374270957792629843988690452449502040513392238182577391145569545326772214717486136487306194746864658381436701646272673672612457633580843635990846893525988282282093466920839358262292698962588093070552224508091588014202322431888011997254541356185442670480336382675292780234442420998836454160687713951669966694067789082527623789540493325741322401179285307729734864003865620327018038144251278427904425993839963431858469683642579025539687658707527821874613626906565574468413670320414902322069802809289982509353199027263860384935123762033392474479252822920162146066431070995077991756163501940441486598169760977714217023603171643228693290613825091933153470402008614288027113249817571790573049280856169793563989538663092879420421180211097823999933496099083547524003457897046070188962227737811303557067887562539653015054200031581930142158758651682706407760565111566395197167436716778331449745461773213880175118958247071711120226977343115076634486056288862634416836057993090542460810615795180465257137099539487302977231252633410611087234713363193018194431064477385596193687914609860899819646154234541258374587766469746031309924563268050973709826678072635114137624052372074465835606867867641797613495101553851949062461284718976103071160859786521073486285824956537559335900453036172621923823281897437885918855447442508438811473571004532093737707368850492372158447435664386797009250629905181864516221477057654887607999031943119842220983502364425918535930932664096792924717485823463880563955006251963236229972069382372530859518664887435914735765392364477866917165545798262116641859167876216687936473067421260307308596961793501475146026893251578236059157662198964612144962622999033073992589639544861589580728141516172243800932285688023006999709470217245053378527780724182120910815070866561570949149512494544474202311521764652847613978356283086522899196049238234232353079532310352784234713348573837365057785082577737849218338308467006198602741702149614256721858207668616400361542981566121180010834914431005593156346680447089258659759642006714652445084021218621296680574425003383945892723537234404530084127417129328380262998091118233383126636734301103743003544023439491357785360765916514348826561168250634462186776327578612443050776385746602790785065565625074579032786456011384842603179920952372535766477972557986594260611648084254254973781435906194480015806158205216234419475859657349754201310444279980455201256867208871727394205195927703689583558400125728042058741958776175643909467804052305534511425258126703252211055068005363074326091132645600706591357200350625778365167382833103099508306870067751436708101863531971664207525023545990896709941518325240079664478141353979810713442971539906056744019857418275613892197653313375382754389249315791071450892281011882774320476855407219852116307687771792421911542465087937079448650771626507721547711336762848560509944336367174727959905725047971088214697176796039849687939168565905716614497026641794708224515081332518836736718734272344833370995389033846468551411646577526869132060204040248528016581187098895732644486362322344896226958305925356505796032186058898302694907839960498775089055174750947819914995480730235238347194297192231152299975869624481607192869316127058997700595028994126448504702063114456502903007909266030457673675252210035614599224309622846991456440619848418950320835523122242548983717186702818931632480126600964438729449330425789858190471525892456712359896837117779158807190964727353763206579340379538739340802368199112382926337902711252178657832880738147015729833968615655206820274165657254653390581247258635568333632426810478450420392964072477715425100724376075302865873003496192079652858832726646877919495221020140924637885038196880004845448948760985845164022914491368239592214952043381395434656064547651610637595803306562912531014781573817389722172671719163835359730465784413571435031796035901679842830750408489614367744052739839440947633806376868192573379596445350919637463198732129143563288395253217620348191123621886805143501200536407681391600424097869484448481917153534987888930165734468156327323080141369378990449647609640502564317864413184425795276685084668951548107595882065146877803271684850374309412028294371208572428286827962622658906157579748000820715989372369572434065280362195582281893576951300643504694469969140655738124415880837950788925726406198844131042956608278997619519468516612998238813876435268822514759867836497176632617348780011906302523927924878522899168890212776448145530620418479470113951173371674914615780662301657139236088162600380361306783481603939408842255609933093699389300902560129141423126983893804814013786759932396874638842922139772597177764994343155837800181835648736504589347951342890430132604158202832913017130110276462823182377110373232860779188830226082483373271262070644422794293142839134156243621695491894526749882266106569612334133451641152245411627537901959693282771936966371603154063273751806507963066779141416146179788392778544181271524425809348668223878748380751676686842073539448509706568361017798144420108391278161685517117042692159852119705266946435179666704282725679953329003411496321034542496237598892609036723708215903254351646595992387434094106029974453502635304828550195988020334109848829338936059421457602785403605738695731413192664698795339910723770359104783338396650713562930237165713352852933031364201490836291652695840324383358851345947200861247494781634271602663238185226011528457766966757472328207393117660439768743275520780457354963314402783137581887151714302675427144872457135294959074989839362823280658438307245300024005198496934860891625815588262458462412036777167305084084441937586905199484726977287932935290016316496797364174018606441229120520578833390869277507092449881231708000689958250584468393257236959660603929861031385644907266926646627141645198872774771045880316984592752093208323212724685977968940408644986807835531323622606632004554785437942980330235986226959685485513753147267037636564135073751858213062127337573752625245934898155228194585723654879581467855135204200422740585301078730492966003390522542271744301554392235985282014957623541515202775076289354244057493736657439694929667618560916049568160869306184308987905818394367132458603406310128086069384240734722256488469370368464792081841884558991639164135499845403833551711948956689171438665043328866440505241104741712762062396496344129747898994931659989791470078669318601495080462518413591906969554298443373487025364697391161131507149223029431293737863281210665185481556491149286177497436169458736758568306643586698817958994173061773761826362940194776234330718231450825931969422078146817997485554458510156731403606078336779183413459099438517316651455863716144285822855365655253272340099182509640728400186182180386347540063563620327603569440409652598157127675204412261676855766391638740827818278825395877404093667464202668228286567520662217591282398964724397579102837139978437336480209987586832077896507438720640945341599374231857638645400259668646520831792981033802824467670509078225891396339621538125130754036100825685520007669511330457576183419809140675426736238536148428774372977687493453602292557291553360333291744784377227615036386890766859291167320554532596612430168498152052042760513780975410234536969871199857108220510060279257221963943284492100771660996786169402084094588755519294969504728086903114208096243679815184506455979783966809280469534326955292349607481693325330169048586011253515820995296292015824019421948397731055746966569540669462124766972266046631445298132087740309795367888437084370655348433881077712541951112605341145751568496665195320424043217718250182246013436733815092223288740027737618507093474925387448386269433213468265113693267120840397561272881509219164454955353542073756267041510311999195846457170275010632988113652089113680350385255749579636027461979755116384360391898332125732109221255895726565300634189768944611805272868825608946791566917640854339549429136796841935431631646639673253333111903804505781240621228997045113471677126161987864042165853569298815799264217175249477055241694927185500465814697418373783731711285421398206834571270519870455314193073694038548628714045818896559566352184432393309805210033129551525077029125803923233052529137897512135780750026335773328310023485988784267840304078124650554950463702922449598155949451847174289306175282261600985847050667740150832615907898149210612742055271697654222013473892765727373945974666224878494485300169886761791972431144989307312682159507593525880949223538375003197260168096561455302129228184524671480842058343603942948191475565356131529230189018183171499240131846463217264963531315560760264267960465817683692987954259172163904027575258250080987047195626487889115545984268054509707240807225016859433320402964897231085684514639471476669042878997617840144863047152058655619730522819779528371769672066077368094455294510912530848633599242236832402399826059135561269578411778566840843214006781963673638281315740515861933414690145203058081944772795887541137725796674303449007453909472694610701523305037225556759795716604225960534825551177082491345694180971182693230986719589257554495426032757124605606187476556307486975264449346744722403313295393641574099412009513010672238754222576333273155084845351650958207783871170754198705546174714151203793009475890888853429819858387206790156222412664400830353275548391817864679747022363704903761460537131337660340746198535949147835260181475464507898693321594591327311144444369597587552907247737666841685551185235338321990609666777716727170387123282113156402471327293272454658490900956637104277503284060459335612888018825476564054845877744286808999172445545611628519950147127154046043674028249275783327071274193529816176429506935032311650718610092085875443903280595312660495403842249133031446191562483390936000195289077949592663940210833456822255202277991786553760300836853031815529659401901682556495047804839898973475729887010071174515103660930807024738046893913114724575300298790979978352282963948435527839090683625060184386302485712216293158126264228028910505983203295811751635907557577430370928280072081835631632920614539375103209383733627115617105566340456417118569202108888258916280303936317567655261354860126775463060075541542627676783292446532102582915716172077428949920437746319661944155887256483313190408938846939945331502042591525882663421149367201043585575214354388196521661536471912889850723298503941165196908683901209242053731162464346994917740744139614413723003309738319947990962469167737045204155392611193525521425426016450080242335234066883156448431793163579581428292130911977501010533562700359870297222321520499810781988980427863716359895578528332458732096321894119396238729268860306407882030869109838579260751323260166783964222237783482594723108387089874437627419730642129510692763999550658852752260497693990106358537481168577603762422120894395163341979318001231893148596612122448800472364152360782513637632253256588301482205436462594601830324132211150526625025075205452365790444690491557602002814592445745673174732487402525217996052886641201949036510781238243458523456625477352280267127722245593841203920715608323005958564673704721302531512848964648789339279014635067502188129046021721945882392848492073572882374425758855575190298322349161601942841365242151889703701205865254072007466299704843951887406321996346219991922008918546479651301742580820847583404594451294192273374699760358568985513379415080946845864890477469320128948450385367986463269802991107368620485808926816715422223930689893987576410996377933428149868310379903492271047854169639045038599531763247350938319646344948157859494370816845079293102288575576188229091052330311564100250168710473469012692368361328988116289106921618682257179466649483706380881878014992970223154301585574993624561902404107869064053698016031255189937791438093828315135648995872129904042268400562113284844327854575988206730113481074073819245784134353681327577931922241812952186967974468425725410408007655976849188205971433308713217116821812283201782298628506465209361867971229280777230032674683455757737234795947205328515416099216126062764224431570469504357900045054784028213379557174062980337049225937948617432346751391068157626753581575862697096359938497232945925377863030002392452878273987998001679182131017736083672935631714166745625749789915661189743239934524515609803389418647452112156392316786914853242526675002733869812239552632861187470506140513550690740652682308035915412580501160394839857630652114528152980759653553767053560529836722177296241210230820340818517060573617218530940789305753492627545740585169103421499266888095682329356747509589725051040624688433434138027942555463572603089853184586466657684901478533411603490475460182157426864388557475280018810050405773405284304845195354685540824855390079342126605434777429339598101562900357538501668057044597732947870477656967256437179464367324885279934350255026655332693671341415555222136497930287314793876856094608702531970136965327688584221888939974908109036632758724007972252068428868882496292332342265729456027882657309962092603092817694564562799969190597522832497169741515133378064755633436657931757108842040683811401568832941770609803400717956272567431981923722069188461891542285750307204904205204414534133785627660992081008607377652413199453771213687144439399357965275974539439729024029923364299977081951045588934824272589840384237051965927135966346742605831797076960724519840989469632137752625019956398379858048442741065819650839225477029639404739080700848378668024211472558587104406377105165234406235655896915285098449328423987207371129003246605341959023555788925246834308178128511779072902188655543159852244614580673994047932199092039581951500050042209914496648719140313411424658305091397945968029374793145391827456995913497817493208695899986437060186653504745368970106019243853008256171595987541471164141131765628658340521964084670003467509829797830873372254532710791068666101602921237251076342015595763098308359413073050761536949465266193220477631636129085931950110086794879343925310678333950796405991644884566758341305442899837240339816537573053728589644455509243741168558693421968846045016026576756310231469702455949817287094552275168085555991703097743274053058986635181606036056941045341364481954941338841321463898224976675055210251281115745120511247800209782900796271700165710725353538799726041022603363855091476472472584794695043164671428124956251880247702022593515077402393380101122578294371022042538901051648450183653581797852707782706053991197443174313613798201697137431862909174710977762208616264343601946195795533467556520982795644656805390031425064136707768124137598685756109743909131570570625237827187899815223047624583946948704930436135987496683336383905173035135092991586549655150636295066112227452863013464469246372204722659087694886036877930141495847960368310337594056222729549115599626742144816617554216853506441922474866086400772046001767381807059455608634336194673557511943163416412932537145606213869113397725295956094899357905022083036578844548691919819194084265323512068227158917151576058650700959663928454622927704229278946151328403516655776563626695274064109540763766529847398733749130232173007794186235615933534153794911087504938425864784972002146646376889615055946215955430673729205426023219974269024391413146677467875540368403104385904883965416968221149377679051114905218443586131302536287634772472335280384205713654950713553406925266316508192499868529781311094253634584832514624674760265552984465233516234175313286015477141188438629539171582456376661212689012044665076206925086776150572857684631540669581299917360154178278343422943038298950897341274826595152935691846511758269411890996528390343302452602342273324817900647081421231101597684576113526942207533306224207713154444515779137696713976838894825989985045601291279990921216976118301132045844199635180267794798961815961564777076198912930637484831178846059676415122815265998785179998511147672916641430373708027322847542474922324773136505243234683544277823550837588695028434490229391566031712040113496013017139016182929253609799607296768923108053225283314856415804581537366769520544554858176009456915283566484339276992576228490292183439180209653842930937712475373726903054916886368160347935539828396847834637597635732592578896703600708443821672942396368888197804253342683881577369460648185754807570553026032306461882051924328067921155672392352776429486447417812049905988354935979287938354498050980178898454612634297480410019771423114771799337790074439694078154311051591007362971127515461161513978337302646565055933088649199441896577538606889090972266492412029483856435200741249268589843748997840321708130999210196782674992883798060672385292747263195983610957820412510503741035770773741007849440583251815137511130163803292321126272676509546286067892939190782352342295023338594623143407833243240877140958037336091157366728593341355339980514411104664672883375438193953880661432744764665482407644500717175205659369888335431044744424104859129248895994067991101858383256657024416739404343121823561227714684788372714965963238306138949221250862728496353526572282722656161290216632774117672205113189055147421681029898962453381597132514058906911135757112480673841607490058723637572175910618991844724659518152552228063046646183576521767332477560746893369412649765846639943581405674445617241157425525948915925607413819322279297752781654925328617544641010595728087334395065943588258730783733293378439767792368150857990012928).
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
pointsTo(x, object_a).
|
|
2
|
+
pointsTo(z, object_b).
|
|
3
|
+
pointsTo(y, object_a).
|
|
4
|
+
pointsTo(r, object_b).
|
|
5
|
+
pointsTo(q, object_b).
|
|
6
|
+
heapField(object_a, object_b).
|
|
7
|
+
pointerFlow(load_q_from_x, object_b).
|
|
8
|
+
pointerConclusion(case, "the load q = *x recovers object_b through the store *y = z and y = x").
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
root(real_quartic, [1, 0]).
|
|
2
|
+
root(real_quartic, [2, 0]).
|
|
3
|
+
root(real_quartic, [3, 0]).
|
|
4
|
+
root(real_quartic, [4, 0]).
|
|
5
|
+
root(complex_quartic, [0, 1]).
|
|
6
|
+
root(complex_quartic, [1, 1]).
|
|
7
|
+
root(complex_quartic, [3, 2]).
|
|
8
|
+
root(complex_quartic, [5, 1]).
|
|
9
|
+
reconstructedPolynomial(real_quartic, [[1, 0], [-10, 0], [35, 0], [-50, 0], [24, 0]]).
|
|
10
|
+
reconstructedPolynomial(complex_quartic, [[1, 0], [-9, -5], [14, 33], [24, -44], [-26, 0]]).
|
|
11
|
+
reconstructionMatches(real_quartic, true).
|
|
12
|
+
reconstructionMatches(complex_quartic, true).
|
|
13
|
+
allRootsVerified(real_quartic, true).
|
|
14
|
+
allRootsVerified(complex_quartic, true).
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
registerAnswer(best_allocation, [bind(a, r1), bind(b, spill), bind(c, r2), bind(d, r1)]).
|
|
2
|
+
registerAnswer(spill_cost, 1).
|
|
3
|
+
registerAnswer(place(a), r1).
|
|
4
|
+
registerAnswer(place(b), spill).
|
|
5
|
+
registerAnswer(place(c), r2).
|
|
6
|
+
registerAnswer(place(d), r1).
|
|
7
|
+
registerAnswer(valid_allocation_count, 33).
|
|
8
|
+
registerAnswer(note, "the cheapest solution spills b to color the a-b-c triangle with two registers").
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
rh(scope, finite_catalog_only).
|
|
2
|
+
rh(caveat, "finite catalogue evidence only; this is not a proof of RH").
|
|
3
|
+
rh(status, no_counterexample_in_catalog).
|
|
4
|
+
zero_check(z1, real_part, 0.5).
|
|
5
|
+
zero_check(z2, real_part, 0.5).
|
|
6
|
+
zero_check(z3, real_part, 0.5).
|
|
7
|
+
zero_check(z1, imaginary_part, 14.134725).
|
|
8
|
+
zero_check(z2, imaginary_part, 21.02204).
|
|
9
|
+
zero_check(z3, imaginary_part, 25.010858).
|
|
10
|
+
zero_check(z1, classification, on_critical_line).
|
|
11
|
+
zero_check(z2, classification, on_critical_line).
|
|
12
|
+
zero_check(z3, classification, on_critical_line).
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
route_to_nantes(angers, go(angers, nantes, goal)).
|
|
2
|
+
route_to_nantes(paris, go(paris, chartres, go(chartres, lemans, go(lemans, angers, go(angers, nantes, goal))))).
|
|
3
|
+
route_to_nantes(chartres, go(chartres, lemans, go(lemans, angers, go(angers, nantes, goal)))).
|
|
4
|
+
route_to_nantes(lemans, go(lemans, angers, go(angers, nantes, goal))).
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
satModel([bind(d, true), bind(c, true), bind(b, true), bind(a, false)]).
|
|
2
|
+
satValue(d, true).
|
|
3
|
+
satValue(c, true).
|
|
4
|
+
satValue(b, true).
|
|
5
|
+
satValue(a, false).
|
|
6
|
+
satClauseStatus(c1, satisfied).
|
|
7
|
+
satClauseStatus(c2, satisfied).
|
|
8
|
+
satClauseStatus(c3, satisfied).
|
|
9
|
+
satClauseStatus(c4, satisfied).
|
|
10
|
+
satClauseStatus(c5, satisfied).
|
|
11
|
+
satConclusion(case, "DPLL finds a satisfying assignment after pruning clauses that become impossible").
|