rustdl 0.4.35__tar.gz → 0.4.36__tar.gz
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.
- {rustdl-0.4.35 → rustdl-0.4.36}/Cargo.lock +12 -12
- {rustdl-0.4.35 → rustdl-0.4.36}/Cargo.toml +9 -9
- {rustdl-0.4.35 → rustdl-0.4.36}/PKG-INFO +1 -1
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/clause.rs +26 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/lib.rs +42 -3
- rustdl-0.4.36/crates/owl-dl-reasoner/tests/disjoint_roles_wedge.rs +119 -0
- rustdl-0.4.36/crates/owl-dl-reasoner/tests/reflexive_tbox_inconsistency.rs +129 -0
- rustdl-0.4.36/crates/owl-dl-reasoner/tests/tableau_role_axioms.rs +176 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/src/rules.rs +42 -49
- {rustdl-0.4.35 → rustdl-0.4.36}/README.md +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/Cargo.toml +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/README.md +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/absorb.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/approx_saturation.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/convert.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/convert_back.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/data_axioms.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/definitions.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/disjunction_existential.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/disjunctive_antecedent.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/dropped.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/ir.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/lib.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/locality.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/negation_gci.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/normalize.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/ontology.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/residual_absorbability.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/residual_trigger.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/role_hierarchy.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/told.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/transform.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/src/vocab.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/tests/concept_pool_proptest.proptest-regressions +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/tests/concept_pool_proptest.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/tests/convert_round_trip_proptest.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/tests/domain_absorption_default.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-core/tests/role_hierarchy_proptest.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-datatypes/Cargo.toml +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-datatypes/README.md +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-datatypes/src/lib.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/.gitignore +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/Cargo.toml +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/README.md +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/.gitignore +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/README.md +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/__init__.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/fixtures/recorded_replies_clash.json +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/fixtures/seed.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/gate.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/llm.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/loop.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/out/candidate.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/out/current.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/out/metrics.md +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/out/transcript.jsonl +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/out-clash/candidate.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/out-clash/current.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/out-clash/metrics.md +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/out-clash/transcript.jsonl +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/requirements.txt +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/run.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/tests/__init__.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/tests/test_gate.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/tests/test_llm.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/tests/test_loop.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/tests/test_run.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/examples/nesy_loop/tests/test_seed.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/src/classify.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/src/errors.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/src/explain.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/src/lib.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/src/load.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/src/materialize.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/src/queries.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/tests/python/conftest.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/tests/python/test_classify.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/tests/python/test_examples.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/tests/python/test_explain.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/tests/python/test_manchester.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/tests/python/test_materialize.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/tests/python/test_queries.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/tests/python/test_results.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/tests/python/test_smoke.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/tests/python/test_soundness.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/tests/python/test_stubs.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-py/tests/python/test_tutorial.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/Cargo.toml +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/README.md +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/examples/abox_precheck_probe.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/examples/clause_stats_probe.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/examples/embed_classify.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/abox_check.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/abox_saturation.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/class_expr_query.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/classify.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/diagnose.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/disjointness.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/individuals.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/justify.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/laconic.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/model_cache.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/oracle_diff.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/property_classify.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/property_values.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/realize.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/repair.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/rss_probe.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/src/union_find.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/abox_chain_index.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/abox_check_reduced_input.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/abox_consistency.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/abox_disjoint_index.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/abox_sat_fp_probe.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/abox_saturation.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/adaptive_budget.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/adaptive_inconsistency_budget.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/anon349_diagnostic.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/anonymous_individuals_identity.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/anonymous_individuals_reporting.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/approx_saturation_forced_disjunct.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/backfold.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/backjump_precision_gate.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/bare_role_decl_observability.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/bjgap_dl_tail.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/blocked_disjunction_soundness.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/blocked_disjunction_termination.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/bounded_consistency.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/canon_subrole_polarity.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/cardinality_disjunct_atoms.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/cb_eli_eligible.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/chain_induced_range.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/chain_symmetric_leg.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/class_expr.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/class_expr_oracle.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/classify_concrete_domain.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/classify_consistency_probe.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/classify_defined_sweep.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/classify_dkey_alias_consistency.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/classify_inconsistency.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/classify_inconsistency_budget.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/classify_inverse_domain.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/classify_stats_dropped.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/classify_verify_refutations.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/classify_wedge_inconsistency.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/completeness_contract.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/complex_qualifier_counting.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/composed_chain_range.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/concrete_domain_clash.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/conjunctive_domain_range.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/conjunctive_lhs_range_folding.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/conjunctive_unsat.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/consistency_give_up.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/data_cardinality_over_union.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/data_properties.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/data_property_assertions.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/data_union_of_enumerations.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/data_union_of_intervals.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/datatype_completeness.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/datatype_inconsistency.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/datatype_value_membership.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/decide_pair_probe.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/diagnose_partition.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/disjoint_nodecap.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/disjoint_oracle.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/disjoint_union_covering.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/disjunctive_existential_marker_fp.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/dkey_collapse_broadcast.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/dkey_cross_bucket_disjointness.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/dkey_emit_order.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/dkey_flag_defaults.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/dkey_id_aliasing.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/dkey_nominal_range_merge.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/dkey_post_nnf.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/dkey_range_oneof_disjointness.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/domain_absorption.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/domain_gci_completeness.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/dropped_axioms.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/el_bot_filler.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/el_exists_top_weakening.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/existential_successors.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/exists_top_filler.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fast_direct_subsumers.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p1_direct_bot.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p1_no_bot.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p2_disjoint_different_individuals.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p2_disjoint_types.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p3_neg_opa.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p3_neg_opa_no_clash.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p3_role_hierarchy_neg_consistent.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p3_role_hierarchy_neg_inconsistent.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p4_same_different.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p4_same_without_different.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p5_functional_diff.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p5_functional_same_target.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p6_asymmetric.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p6_asymmetric_one_way.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p6_irreflexive.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p6_irreflexive_distinct.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p7_range_compatible.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/abox/p7_range_disjoint.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/class_expr/ce-materialized.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/class_expr/ce.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/datatype/data_cardinality_disjoint.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/datatype/data_property_domain-classified.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/datatype/data_property_domain.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/datatype/datatype_definition-classified.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/datatype/datatype_definition.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/datatype/datatype_facet.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/datatype/functional_data_property.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/datatype/sub_data_property-classified.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/datatype/sub_data_property.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/disjoint/dj-disjoint.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/disjoint/dj.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/dkey_collapse_broadcast/KNOWN-MISS-forall-super-value-sub.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/dkey_collapse_broadcast/NEGATIVE-functional-sub-values-on-super.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/dkey_collapse_broadcast/README.md +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/dkey_collapse_broadcast/downward-closure-two-subs.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/dkey_collapse_broadcast/exists-plus-two-forall-dataoneof.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/dkey_collapse_broadcast/functional-3-level.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/dkey_collapse_broadcast/functional-super-values-on-sub.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/dkey_collapse_broadcast/range-on-super-value-on-sub.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/dkey_collapse_broadcast/range-vs-datahasvalue.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/dkey_collapse_broadcast/range-vs-value-d11b-flagship.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/dkey_collapse_broadcast/two-disjoint-ranges.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/dkey_collapse_broadcast/two-ranges-class-unsat.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/functional-equiv-some-bug.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/individuals/inds.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/inverse_functional/func-transitive-chain.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/inverse_functional/shared-filler.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/inverse_functional/subrole-merge.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/inverse_functional_derivation/a-derived-inverse-functional.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/inverse_functional_derivation/d-direct-functional-CONTROL.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/inverse_functional_derivation/e-declared-inverse-functional-CONTROL.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/inverse_functional_derivation/f-derived-functional.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/inverse_functional_derivation/g-chained-needs-fixpoint.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/inverse_functional_derivation/ore_ont_4141-7axiom-core.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/issue182/control.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/issue182/reproducer.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/materialize/rbox-materialized.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/materialize/rbox.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/named-pizza-country-bug.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/p2b0-terms-01.txt +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/p2b0-terms-02.txt +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/p2b0-terms-03.txt +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/p2b0-terms-04.txt +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/p2b0-terms-05.txt +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/p2b0-terms-06.txt +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/p2b0-terms-07.txt +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/p2b0-terms-08.txt +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_01.hermit.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_01.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_01.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_02.hermit.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_02.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_02.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_03.hermit.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_03.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_03.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_04.hermit.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_04.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_04.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_05.hermit.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_05.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_05.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_06.hermit.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_06.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_06.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_07.hermit.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_07.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_07.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_08.hermit.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_08.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/pair_08.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/phase2b/phase2b-verdicts.log +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/property_values/pv-materialized.owx +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/property_values/pv.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/pseudo_model/nominal_abox-hermit.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/pseudo_model/nominal_abox.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/pseudo_model/nominal_abox_scaled.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/pseudo_model_merge/max-cardinality-one.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/realize_derived_same/asserted-same.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/realize_derived_same/functional.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/realize_derived_same/inverse-functional.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/regression/chain_closure_consistent.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/regression/issue35_nominal_cycle_hang.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/regression/issue35_tableau_depth_hang.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/fixtures/regression/realize_inconsistent.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/flag_defaults.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/funcmerge_inverse.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/funcmerge_scaling.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/functional_enforcement.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/gci_domain_nonatomic_head.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/individuals_nodecap.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/individuals_oracle.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/instance_truncation_flag.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/inverse_cardinality_soundness.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/inverse_domain_range.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/inverse_functional_inert.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/inverse_functional_tbox_admission.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/inverse_pair_functionality.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/inverse_polarity_guards.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/inverse_symmetric_domain.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/irreflexive_asymmetric_wedge.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/issue35_nominal_cycle_hang.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/issue35_tableau_depth_hang.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/justification.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/konclude_closure_diff.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/label_cache_total_budget.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/label_heuristic_canary.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/laconic_justification.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/langstring_values.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/materialize_oracle.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/max_merge_pair_choice.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/negation_to_bot_gci.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/nested_existential_monotonicity.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/node_cap.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/nominal_cardinality_realize.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/nominal_exists_absorption.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/object_has_self_domain.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/per_pair_fp_gate.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/phase2c_pair_06_canary.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/phase_attribution.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/precompletion_probe_gate.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/prep_deadline.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/prep_empty_retry.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/probe_on_incomplete.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/property_assertions.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/property_hierarchy.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/property_values_oracle.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/pseudo_model_realize.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/real_ontology_corpus.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/realize_derived_same.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/realize_incomplete_signal.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/realize_inconsistent_shortcircuit.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/reflexive_role_wedge.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/repair_suggestions.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/sat_lookahead_gate.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/saturator_disjointness.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/seed_probe_gate.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/self_under_forall.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/shadow_dep_gate.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/signed_role_hierarchy.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/snapshot_phase0_canary.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/sp2_nogood_gate.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/sparse_classification_identity.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/subproperty_axioms.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/surface_agreement.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/symmetric_inverse_polarity.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/symmetric_role_chain.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/tautology_skip_canary.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/taxonomy_unsat_direct.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/tbox_only_classify.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/top_subsumes_all.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/unsat_probe_budget.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/value_type_disjoint_canary.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/value_type_disjoint_probe.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/wedge_consistency.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/wedge_neg_disjunct_anchor.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-reasoner/tests/xsd_integer_derived_datatypes.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-saturation/Cargo.toml +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-saturation/README.md +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-saturation/src/lib.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-saturation/src/proof.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-saturation/src/seed_sat.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-saturation/tests/fixtures/phase2a_functional_role_canary.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-saturation/tests/fixtures/phase2b_compound_existential_canary.ofn +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/Cargo.toml +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/README.md +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/src/counters.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/src/deps.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/src/graph.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/src/hyper.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/src/lib.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/src/replay.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/src/saturate.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/src/search.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/src/shadow_measures.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/src/snapshot.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/src/trail.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/backprop_risk.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/fixpoint_deadline_default.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/head_present_skip.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/match_deadline_default.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/nominal_first_bounded.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/nominal_first_bounded_divergence_canary.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/pos_first_leg_target_trigger.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/replay_driver.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/replay_roundtrip.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/sat_lookahead_drop.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/semantic_branching.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/shadow_dep_probe.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/snapshot_capture.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/crates/owl-dl-tableau/tests/subrole_edge_trigger.rs +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/pyproject.toml +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/python/rustdl/__init__.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/python/rustdl/__init__.pyi +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/python/rustdl/_results.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/python/rustdl/data/pizza.owl.gz +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/python/rustdl/data/sio.owl.gz +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/python/rustdl/data/sulo.owl.gz +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/python/rustdl/examples.py +0 -0
- {rustdl-0.4.35 → rustdl-0.4.36}/python/rustdl/py.typed +0 -0
|
@@ -826,7 +826,7 @@ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
|
826
826
|
|
|
827
827
|
[[package]]
|
|
828
828
|
name = "owl-dl-bench"
|
|
829
|
-
version = "0.4.
|
|
829
|
+
version = "0.4.36"
|
|
830
830
|
dependencies = [
|
|
831
831
|
"anyhow",
|
|
832
832
|
"clap",
|
|
@@ -845,7 +845,7 @@ dependencies = [
|
|
|
845
845
|
|
|
846
846
|
[[package]]
|
|
847
847
|
name = "owl-dl-cb"
|
|
848
|
-
version = "0.4.
|
|
848
|
+
version = "0.4.36"
|
|
849
849
|
dependencies = [
|
|
850
850
|
"hashbrown 0.15.5",
|
|
851
851
|
"owl-dl-core",
|
|
@@ -853,7 +853,7 @@ dependencies = [
|
|
|
853
853
|
|
|
854
854
|
[[package]]
|
|
855
855
|
name = "owl-dl-cli"
|
|
856
|
-
version = "0.4.
|
|
856
|
+
version = "0.4.36"
|
|
857
857
|
dependencies = [
|
|
858
858
|
"anyhow",
|
|
859
859
|
"clap",
|
|
@@ -869,7 +869,7 @@ dependencies = [
|
|
|
869
869
|
|
|
870
870
|
[[package]]
|
|
871
871
|
name = "owl-dl-core"
|
|
872
|
-
version = "0.4.
|
|
872
|
+
version = "0.4.36"
|
|
873
873
|
dependencies = [
|
|
874
874
|
"bitvec",
|
|
875
875
|
"bumpalo",
|
|
@@ -883,7 +883,7 @@ dependencies = [
|
|
|
883
883
|
|
|
884
884
|
[[package]]
|
|
885
885
|
name = "owl-dl-datatypes"
|
|
886
|
-
version = "0.4.
|
|
886
|
+
version = "0.4.36"
|
|
887
887
|
dependencies = [
|
|
888
888
|
"owl-dl-core",
|
|
889
889
|
"proptest",
|
|
@@ -893,7 +893,7 @@ dependencies = [
|
|
|
893
893
|
|
|
894
894
|
[[package]]
|
|
895
895
|
name = "owl-dl-py"
|
|
896
|
-
version = "0.4.
|
|
896
|
+
version = "0.4.36"
|
|
897
897
|
dependencies = [
|
|
898
898
|
"horned-owl",
|
|
899
899
|
"owl-dl-core",
|
|
@@ -904,7 +904,7 @@ dependencies = [
|
|
|
904
904
|
|
|
905
905
|
[[package]]
|
|
906
906
|
name = "owl-dl-reasoner"
|
|
907
|
-
version = "0.4.
|
|
907
|
+
version = "0.4.36"
|
|
908
908
|
dependencies = [
|
|
909
909
|
"anyhow",
|
|
910
910
|
"dashmap",
|
|
@@ -922,7 +922,7 @@ dependencies = [
|
|
|
922
922
|
|
|
923
923
|
[[package]]
|
|
924
924
|
name = "owl-dl-saturation"
|
|
925
|
-
version = "0.4.
|
|
925
|
+
version = "0.4.36"
|
|
926
926
|
dependencies = [
|
|
927
927
|
"dashmap",
|
|
928
928
|
"fixedbitset",
|
|
@@ -938,7 +938,7 @@ dependencies = [
|
|
|
938
938
|
|
|
939
939
|
[[package]]
|
|
940
940
|
name = "owl-dl-tableau"
|
|
941
|
-
version = "0.4.
|
|
941
|
+
version = "0.4.36"
|
|
942
942
|
dependencies = [
|
|
943
943
|
"bitvec",
|
|
944
944
|
"bumpalo",
|
|
@@ -956,7 +956,7 @@ dependencies = [
|
|
|
956
956
|
|
|
957
957
|
[[package]]
|
|
958
958
|
name = "owl-dl-verify"
|
|
959
|
-
version = "0.4.
|
|
959
|
+
version = "0.4.36"
|
|
960
960
|
dependencies = [
|
|
961
961
|
"hashbrown 0.15.5",
|
|
962
962
|
"horned-owl",
|
|
@@ -1405,7 +1405,7 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
|
1405
1405
|
|
|
1406
1406
|
[[package]]
|
|
1407
1407
|
name = "rustdl"
|
|
1408
|
-
version = "0.4.
|
|
1408
|
+
version = "0.4.36"
|
|
1409
1409
|
dependencies = [
|
|
1410
1410
|
"horned-owl",
|
|
1411
1411
|
"owl-dl-reasoner",
|
|
@@ -1952,7 +1952,7 @@ dependencies = [
|
|
|
1952
1952
|
|
|
1953
1953
|
[[package]]
|
|
1954
1954
|
name = "xtask"
|
|
1955
|
-
version = "0.4.
|
|
1955
|
+
version = "0.4.36"
|
|
1956
1956
|
dependencies = [
|
|
1957
1957
|
"anyhow",
|
|
1958
1958
|
"clap",
|
|
@@ -3,7 +3,7 @@ resolver = "2"
|
|
|
3
3
|
members = ["crates/owl-dl-core", "crates/owl-dl-saturation", "crates/owl-dl-tableau", "crates/owl-dl-datatypes", "crates/owl-dl-reasoner", "crates/owl-dl-py"]
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
|
-
version = "0.4.
|
|
6
|
+
version = "0.4.36"
|
|
7
7
|
edition = "2024"
|
|
8
8
|
rust-version = "1.88"
|
|
9
9
|
license = "Apache-2.0 OR MIT"
|
|
@@ -15,14 +15,14 @@ keywords = ["owl", "ontology", "reasoner", "description-logic", "semantic-web"]
|
|
|
15
15
|
categories = ["science", "data-structures"]
|
|
16
16
|
|
|
17
17
|
[workspace.dependencies]
|
|
18
|
-
owl-dl-core = { path = "crates/owl-dl-core", version = "0.4.
|
|
19
|
-
owl-dl-saturation = { path = "crates/owl-dl-saturation", version = "0.4.
|
|
20
|
-
owl-dl-tableau = { path = "crates/owl-dl-tableau", version = "0.4.
|
|
21
|
-
owl-dl-datatypes = { path = "crates/owl-dl-datatypes", version = "0.4.
|
|
22
|
-
owl-dl-cb = { path = "crates/owl-dl-cb", version = "0.4.
|
|
23
|
-
owl-dl-verify = { path = "crates/owl-dl-verify", version = "0.4.
|
|
24
|
-
owl-dl-reasoner = { path = "crates/owl-dl-reasoner", version = "0.4.
|
|
25
|
-
rustdl = { path = "crates/rustdl", version = "0.4.
|
|
18
|
+
owl-dl-core = { path = "crates/owl-dl-core", version = "0.4.36" }
|
|
19
|
+
owl-dl-saturation = { path = "crates/owl-dl-saturation", version = "0.4.36" }
|
|
20
|
+
owl-dl-tableau = { path = "crates/owl-dl-tableau", version = "0.4.36" }
|
|
21
|
+
owl-dl-datatypes = { path = "crates/owl-dl-datatypes", version = "0.4.36" }
|
|
22
|
+
owl-dl-cb = { path = "crates/owl-dl-cb", version = "0.4.36" }
|
|
23
|
+
owl-dl-verify = { path = "crates/owl-dl-verify", version = "0.4.36" }
|
|
24
|
+
owl-dl-reasoner = { path = "crates/owl-dl-reasoner", version = "0.4.36" }
|
|
25
|
+
rustdl = { path = "crates/rustdl", version = "0.4.36" }
|
|
26
26
|
|
|
27
27
|
horned-owl = { version = "3.0", default-features = false }
|
|
28
28
|
|
|
@@ -417,6 +417,32 @@ impl Clausifier {
|
|
|
417
417
|
head: Vec::new(),
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
|
+
// Role disjointness `¬(R(x,y) ∧ S(x,y))`, pairwise →
|
|
421
|
+
// `R(X,y) ∧ S(X,y) → ⊥`. The second atom has both endpoints bound,
|
|
422
|
+
// so it is an edge check (`filters`). With a reflexive `R` and `S`,
|
|
423
|
+
// contraction reduces it to the empty clause (#198).
|
|
424
|
+
Axiom::DisjointObjectProperties(roles) => {
|
|
425
|
+
for i in 0..roles.len() {
|
|
426
|
+
for j in (i + 1)..roles.len() {
|
|
427
|
+
// A repeated operand (`Disjoint(r r)`) is a set-collapse,
|
|
428
|
+
// vacuous to HermiT, Konclude and the main tableau; as a
|
|
429
|
+
// clause it would empty `r`. Compare BEFORE `canon_role`:
|
|
430
|
+
// `Disjoint(s, r⁻)` with `s ≡ r⁻` canonicalises to equal
|
|
431
|
+
// roles and is a genuine constraint.
|
|
432
|
+
if roles[i] == roles[j] {
|
|
433
|
+
continue;
|
|
434
|
+
}
|
|
435
|
+
self.next_var = X + 1;
|
|
436
|
+
let y = self.fresh_var();
|
|
437
|
+
let r = self.canon_role(roles[i]);
|
|
438
|
+
let s = self.canon_role(roles[j]);
|
|
439
|
+
self.clauses.push(DlClause {
|
|
440
|
+
body: vec![Atom::Role(r, X, y), Atom::Role(s, X, y)],
|
|
441
|
+
head: Vec::new(),
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
420
446
|
// RBox role hierarchy (`SubObjectPropertyOf{ Role }`),
|
|
421
447
|
// characteristics other than transitivity, ABox,
|
|
422
448
|
// declarations: not handled here. `SubObjectPropertyOf{ Role }`
|
|
@@ -3183,6 +3183,43 @@ pub(crate) fn classify_inconsistency_precheck(
|
|
|
3183
3183
|
},
|
|
3184
3184
|
)
|
|
3185
3185
|
|| classify_wedge_inconsistent(internal)
|
|
3186
|
+
|| reflexive_empty_clause_inconsistent(internal)
|
|
3187
|
+
}
|
|
3188
|
+
|
|
3189
|
+
/// A syntactic inconsistency certificate from the wedge clausifier (#194).
|
|
3190
|
+
///
|
|
3191
|
+
/// Every clause `clausify_with_stats` emits is entailed by the KB, so a clause with
|
|
3192
|
+
/// an EMPTY body and an EMPTY head (`⊤ → ⊥`, fired at every element) proves the KB
|
|
3193
|
+
/// has no model. The one producer the other pre-checks miss is reflexive-role
|
|
3194
|
+
/// contraction (#191): `Reflexive(r)` + `Asymmetric(r)` contracts
|
|
3195
|
+
/// `r(X,y) ∧ r(y,X) → ⊥` to `→ ⊥`, and without this `classify` reported every class
|
|
3196
|
+
/// unsatisfiable alongside `consistent: true` while `rustdl consistent` said
|
|
3197
|
+
/// `consistent` outright.
|
|
3198
|
+
///
|
|
3199
|
+
/// This rests on every axiom in `internal.axioms` being entailed by the input
|
|
3200
|
+
/// ontology. That holds for every current conversion pass; a pass that adds a
|
|
3201
|
+
/// non-entailed axiom (rather than a conservative extension over fresh names)
|
|
3202
|
+
/// would make this check unsound.
|
|
3203
|
+
///
|
|
3204
|
+
/// Gated on a declared `ReflexiveObjectProperty`, so every other input pays nothing.
|
|
3205
|
+
/// A plain `⊤ ⊑ ⊥` reaches the saturator's `globally_inconsistent` first. FP-safe by
|
|
3206
|
+
/// construction: it reports `true` only on an entailed `⊤ ⊑ ⊥`.
|
|
3207
|
+
pub(crate) fn reflexive_empty_clause_inconsistent(internal: &InternalOntology) -> bool {
|
|
3208
|
+
if !internal
|
|
3209
|
+
.axioms
|
|
3210
|
+
.iter()
|
|
3211
|
+
.any(|ax| matches!(ax, owl_dl_core::ontology::Axiom::ReflexiveRole(_)))
|
|
3212
|
+
{
|
|
3213
|
+
return false;
|
|
3214
|
+
}
|
|
3215
|
+
let (clauses, _stats) = owl_dl_core::clause::clausify_with_stats(internal);
|
|
3216
|
+
let found = clauses
|
|
3217
|
+
.iter()
|
|
3218
|
+
.any(|c| c.body.is_empty() && c.head.is_empty());
|
|
3219
|
+
if found && std::env::var_os("RUSTDL_TRACE").is_some() {
|
|
3220
|
+
eprintln!("inconsistency: empty wedge clause (reflexive contraction)");
|
|
3221
|
+
}
|
|
3222
|
+
found
|
|
3186
3223
|
}
|
|
3187
3224
|
|
|
3188
3225
|
/// `RUSTDL_CLASSIFY_WEDGE_INCONSISTENCY` — **default ON**, `=0` reverts (#89).
|
|
@@ -6367,7 +6404,9 @@ pub fn is_consistent_internal_bounded(
|
|
|
6367
6404
|
// deadline check immediately after converts that into `None` rather than a
|
|
6368
6405
|
// guess.
|
|
6369
6406
|
let remaining = deadline.saturating_duration_since(std::time::Instant::now());
|
|
6370
|
-
if abox_saturation_inconsistent_bounded(&internal, Some(remaining))
|
|
6407
|
+
if abox_saturation_inconsistent_bounded(&internal, Some(remaining))
|
|
6408
|
+
|| reflexive_empty_clause_inconsistent(&internal)
|
|
6409
|
+
{
|
|
6371
6410
|
return Ok(Some(false));
|
|
6372
6411
|
}
|
|
6373
6412
|
if std::time::Instant::now() >= deadline {
|
|
@@ -6408,9 +6447,9 @@ fn is_consistent_internal_full(
|
|
|
6408
6447
|
// Runs before `from_internal` (which moves `internal`); guarded by
|
|
6409
6448
|
// `has_abox_axioms` so ABox-free inputs skip it. Non-clash ⇒ fall through to
|
|
6410
6449
|
// the existing hybrid path unchanged (FP-safe; sound under-approximation).
|
|
6411
|
-
if abox_saturation_inconsistent(&internal) {
|
|
6450
|
+
if abox_saturation_inconsistent(&internal) || reflexive_empty_clause_inconsistent(&internal) {
|
|
6412
6451
|
if std::env::var_os("RUSTDL_TRACE").is_some() {
|
|
6413
|
-
eprintln!("
|
|
6452
|
+
eprintln!("consistency pre-check: inconsistent (abox_saturation or empty clause)");
|
|
6414
6453
|
}
|
|
6415
6454
|
return Ok((
|
|
6416
6455
|
false,
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
#![allow(clippy::doc_markdown)]
|
|
2
|
+
//! `DisjointObjectProperties` was dropped from the wedge's clause theory (#198): it
|
|
3
|
+
//! fell into `clausify_axiom`'s catch-all, uncounted. It now clausifies pairwise to
|
|
4
|
+
//! `R(X,y) ∧ S(X,y) → ⊥`. Each fixture carries a `∀` so it leaves the EL fast path.
|
|
5
|
+
|
|
6
|
+
use owl_dl_reasoner::classify;
|
|
7
|
+
|
|
8
|
+
fn unsat(axioms: &str) -> Vec<String> {
|
|
9
|
+
let src = format!(
|
|
10
|
+
"Prefix(:=<http://ex.org/#>)
|
|
11
|
+
Ontology(<http://ex.org/dj>
|
|
12
|
+
Declaration(Class(:A)) Declaration(Class(:B)) Declaration(Class(:C)) Declaration(Class(:E))
|
|
13
|
+
Declaration(ObjectProperty(:p)) Declaration(ObjectProperty(:q)) Declaration(ObjectProperty(:t))
|
|
14
|
+
SubClassOf(:E ObjectAllValuesFrom(:t :C))
|
|
15
|
+
DisjointObjectProperties(:p :q)
|
|
16
|
+
{axioms}
|
|
17
|
+
)
|
|
18
|
+
"
|
|
19
|
+
);
|
|
20
|
+
let mut cur = std::io::Cursor::new(src);
|
|
21
|
+
let (onto, _): (
|
|
22
|
+
horned_owl::ontology::set::SetOntology<horned_owl::model::RcStr>,
|
|
23
|
+
_,
|
|
24
|
+
) = horned_owl::io::ofn::reader::read(&mut cur, horned_owl::io::ParserConfiguration::default())
|
|
25
|
+
.expect("parse");
|
|
26
|
+
let mut v: Vec<String> = classify(&onto)
|
|
27
|
+
.expect("classify")
|
|
28
|
+
.unsatisfiable_classes()
|
|
29
|
+
.into_iter()
|
|
30
|
+
.map(|c| c.trim_start_matches("http://ex.org/#").to_owned())
|
|
31
|
+
.collect();
|
|
32
|
+
v.sort();
|
|
33
|
+
v
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/// `p` and `q` edges to the same named-by-self successor: `∃p.Self ⊓ ∃q.Self`.
|
|
37
|
+
#[test]
|
|
38
|
+
fn disjoint_roles_refute_a_shared_self_loop() {
|
|
39
|
+
assert_eq!(
|
|
40
|
+
unsat("SubClassOf(:A ObjectIntersectionOf(ObjectHasSelf(:p) ObjectHasSelf(:q)))"),
|
|
41
|
+
["A"]
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/// A functional super-role forces the `p` and `q` successors to merge into one node,
|
|
46
|
+
/// which is then reached by both roles.
|
|
47
|
+
#[test]
|
|
48
|
+
fn disjoint_roles_refute_a_merged_successor() {
|
|
49
|
+
assert_eq!(
|
|
50
|
+
unsat(
|
|
51
|
+
"SubObjectPropertyOf(:p :t)\nSubObjectPropertyOf(:q :t)\nFunctionalObjectProperty(:t)\n\
|
|
52
|
+
SubClassOf(:A ObjectIntersectionOf(ObjectSomeValuesFrom(:p :B) ObjectSomeValuesFrom(:q :B)))"
|
|
53
|
+
),
|
|
54
|
+
["A"]
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/// FP guard: separate `p` and `q` successors are fine.
|
|
59
|
+
#[test]
|
|
60
|
+
fn disjoint_roles_allow_separate_successors() {
|
|
61
|
+
assert!(
|
|
62
|
+
unsat("SubClassOf(:A ObjectIntersectionOf(ObjectSomeValuesFrom(:p :B) ObjectSomeValuesFrom(:q :B)))")
|
|
63
|
+
.is_empty()
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/// FP guard: a `p`-edge one way and a `q`-edge the other way share no ordered pair.
|
|
68
|
+
/// `{o} ⊑ ∃p.{o2}`, `{o2} ⊑ ∃q.{o}` is consistent (HermiT).
|
|
69
|
+
#[test]
|
|
70
|
+
fn disjoint_roles_allow_opposite_directions() {
|
|
71
|
+
assert!(
|
|
72
|
+
unsat(
|
|
73
|
+
"Declaration(NamedIndividual(:o)) Declaration(NamedIndividual(:o2))\n\
|
|
74
|
+
SubClassOf(ObjectOneOf(:o) ObjectSomeValuesFrom(:p ObjectOneOf(:o2)))\n\
|
|
75
|
+
SubClassOf(ObjectOneOf(:o2) ObjectSomeValuesFrom(:q ObjectOneOf(:o)))\n\
|
|
76
|
+
SubClassOf(:A ObjectSomeValuesFrom(:p :B))"
|
|
77
|
+
)
|
|
78
|
+
.is_empty()
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/// `Disjoint(p, t⁻)`: a `t` self-loop is also a `t⁻` self-loop, so it clashes with a
|
|
83
|
+
/// `p` self-loop on the same node. Exercises the inverse-polarity edge check.
|
|
84
|
+
#[test]
|
|
85
|
+
fn disjointness_with_an_inverse_role_matches_through_polarity() {
|
|
86
|
+
assert_eq!(
|
|
87
|
+
unsat(
|
|
88
|
+
"DisjointObjectProperties(:p ObjectInverseOf(:t))\n\
|
|
89
|
+
SubClassOf(:A ObjectIntersectionOf(ObjectHasSelf(:p) ObjectHasSelf(:t)))"
|
|
90
|
+
),
|
|
91
|
+
["A"]
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/// A repeated operand is vacuous (OWL 2 operands are a set): `Disjoint(t t)` must not
|
|
96
|
+
/// empty `t`. HermiT and the main tableau agree.
|
|
97
|
+
#[test]
|
|
98
|
+
fn a_repeated_operand_is_vacuous() {
|
|
99
|
+
assert!(
|
|
100
|
+
unsat("DisjointObjectProperties(:t :t)\nSubClassOf(:A ObjectSomeValuesFrom(:t :B))")
|
|
101
|
+
.is_empty()
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/// ...but disjointness between a role and the declared inverse of its inverse is
|
|
106
|
+
/// genuine: `InverseObjectProperties(t s)` makes `s ≡ t⁻`, so `Disjoint(s, t⁻)`
|
|
107
|
+
/// empties `s` (HermiT, Konclude). The duplicate check must run before inverse
|
|
108
|
+
/// canonicalisation.
|
|
109
|
+
#[test]
|
|
110
|
+
fn disjointness_of_a_role_with_its_own_equivalent_is_not_skipped() {
|
|
111
|
+
assert_eq!(
|
|
112
|
+
unsat(
|
|
113
|
+
"Declaration(ObjectProperty(:s))\nInverseObjectProperties(:t :s)\n\
|
|
114
|
+
DisjointObjectProperties(:s ObjectInverseOf(:t))\n\
|
|
115
|
+
SubClassOf(:A ObjectSomeValuesFrom(:s :B))"
|
|
116
|
+
),
|
|
117
|
+
["A"]
|
|
118
|
+
);
|
|
119
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
//! A TBox-only KB made inconsistent by a reflexive role (#194).
|
|
2
|
+
//!
|
|
3
|
+
//! `Reflexive(r)` + `Asymmetric(r)` has no model: every element has an `r` self-loop,
|
|
4
|
+
//! which asymmetry forbids. The wedge clausifier derives this as an empty clause
|
|
5
|
+
//! (`r(X,y) ∧ r(y,X) → ⊥` contracted by reflexivity to `→ ⊥`), but neither surface
|
|
6
|
+
//! read it: `classify` reported every class unsatisfiable alongside
|
|
7
|
+
//! `consistent: true`, and `is_consistent` said consistent. HermiT calls it
|
|
8
|
+
//! inconsistent.
|
|
9
|
+
//!
|
|
10
|
+
//! The negative controls are the load-bearing half: a spurious verdict here marks
|
|
11
|
+
//! every class unsatisfiable.
|
|
12
|
+
|
|
13
|
+
#![allow(clippy::unwrap_used)]
|
|
14
|
+
#![allow(clippy::doc_markdown)]
|
|
15
|
+
|
|
16
|
+
use horned_owl::io::ParserConfiguration;
|
|
17
|
+
use horned_owl::io::ofn::reader::read as read_ofn;
|
|
18
|
+
use horned_owl::model::RcStr;
|
|
19
|
+
use horned_owl::ontology::set::SetOntology;
|
|
20
|
+
use std::io::Cursor;
|
|
21
|
+
|
|
22
|
+
fn onto(body: &str) -> SetOntology<RcStr> {
|
|
23
|
+
let src = format!(
|
|
24
|
+
"Prefix(:=<http://ex#>)\n\
|
|
25
|
+
Ontology(\n\
|
|
26
|
+
Declaration(Class(:A)) Declaration(Class(:B))\n\
|
|
27
|
+
Declaration(ObjectProperty(:r)) Declaration(ObjectProperty(:s)) Declaration(ObjectProperty(:t))\n\
|
|
28
|
+
SubClassOf(:A :B)\n\
|
|
29
|
+
{body}\n)"
|
|
30
|
+
);
|
|
31
|
+
let mut reader = Cursor::new(src);
|
|
32
|
+
read_ofn(&mut reader, ParserConfiguration::default())
|
|
33
|
+
.expect("parse")
|
|
34
|
+
.0
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/// `(classify says consistent, is_consistent)`.
|
|
38
|
+
fn verdicts(body: &str) -> (bool, bool) {
|
|
39
|
+
let o = onto(body);
|
|
40
|
+
(
|
|
41
|
+
!owl_dl_reasoner::classify(&o).unwrap().stats().inconsistent,
|
|
42
|
+
owl_dl_reasoner::is_consistent(&o).unwrap(),
|
|
43
|
+
)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
#[test]
|
|
47
|
+
fn reflexive_and_asymmetric_role_is_inconsistent_on_both_surfaces() {
|
|
48
|
+
assert_eq!(
|
|
49
|
+
verdicts("ReflexiveObjectProperty(:r)\nAsymmetricObjectProperty(:r)"),
|
|
50
|
+
(false, false)
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/// Reflexivity reaches a super-role, so an asymmetric super-role clashes too.
|
|
55
|
+
#[test]
|
|
56
|
+
fn asymmetric_super_role_of_a_reflexive_role_is_inconsistent() {
|
|
57
|
+
assert_eq!(
|
|
58
|
+
verdicts(
|
|
59
|
+
"ReflexiveObjectProperty(:r)\nSubObjectPropertyOf(:r :s)\nAsymmetricObjectProperty(:s)"
|
|
60
|
+
),
|
|
61
|
+
(false, false)
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
#[test]
|
|
66
|
+
fn reflexive_and_irreflexive_role_is_inconsistent_on_both_surfaces() {
|
|
67
|
+
assert_eq!(
|
|
68
|
+
verdicts("ReflexiveObjectProperty(:r)\nIrreflexiveObjectProperty(:r)"),
|
|
69
|
+
(false, false)
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/// Control: the characteristics sit on different roles.
|
|
74
|
+
#[test]
|
|
75
|
+
fn asymmetry_on_an_unrelated_role_is_consistent() {
|
|
76
|
+
assert_eq!(
|
|
77
|
+
verdicts("ReflexiveObjectProperty(:r)\nAsymmetricObjectProperty(:t)"),
|
|
78
|
+
(true, true)
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/// Control: reflexivity is closed UPWARD only. An asymmetric SUB-role of a reflexive
|
|
83
|
+
/// role need not be reflexive, so this is consistent.
|
|
84
|
+
#[test]
|
|
85
|
+
fn asymmetric_sub_role_of_a_reflexive_role_is_consistent() {
|
|
86
|
+
assert_eq!(
|
|
87
|
+
verdicts(
|
|
88
|
+
"ReflexiveObjectProperty(:r)\nSubObjectPropertyOf(:t :r)\nAsymmetricObjectProperty(:t)"
|
|
89
|
+
),
|
|
90
|
+
(true, true)
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/// Control: reflexive alone.
|
|
95
|
+
#[test]
|
|
96
|
+
fn reflexive_role_alone_is_consistent() {
|
|
97
|
+
assert_eq!(verdicts("ReflexiveObjectProperty(:r)"), (true, true));
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/// The bounded entry point agrees with `is_consistent` (review of #197).
|
|
101
|
+
#[test]
|
|
102
|
+
fn bounded_consistency_check_agrees() {
|
|
103
|
+
let o = onto("ReflexiveObjectProperty(:r)\nAsymmetricObjectProperty(:r)");
|
|
104
|
+
assert_eq!(
|
|
105
|
+
owl_dl_reasoner::is_consistent_with_timeout(&o, std::time::Duration::from_secs(20))
|
|
106
|
+
.unwrap(),
|
|
107
|
+
Some(false)
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/// Two reflexive roles cannot be disjoint: both have a self-loop everywhere (#198).
|
|
112
|
+
#[test]
|
|
113
|
+
fn disjoint_reflexive_roles_are_inconsistent_on_both_surfaces() {
|
|
114
|
+
assert_eq!(
|
|
115
|
+
verdicts(
|
|
116
|
+
"ReflexiveObjectProperty(:r)\nReflexiveObjectProperty(:s)\nDisjointObjectProperties(:r :s)"
|
|
117
|
+
),
|
|
118
|
+
(false, false)
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/// Control: only one of the two disjoint roles is reflexive.
|
|
123
|
+
#[test]
|
|
124
|
+
fn disjointness_with_one_reflexive_role_is_consistent() {
|
|
125
|
+
assert_eq!(
|
|
126
|
+
verdicts("ReflexiveObjectProperty(:r)\nDisjointObjectProperties(:r :s)"),
|
|
127
|
+
(true, true)
|
|
128
|
+
);
|
|
129
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
//! The main tableau's `Asymmetric` / `DisjointObjectProperties` check (#198 item 2).
|
|
2
|
+
//!
|
|
3
|
+
//! `apply_role_axioms` compared raw forward `RoleId`s and skipped self-loops, so the
|
|
4
|
+
//! per-pair surface (`sat`, `subclass`, `explain`) missed clashes the wedge finds:
|
|
5
|
+
//! an asymmetric role's self-loop, an asymmetric symmetric role, and disjoint roles
|
|
6
|
+
//! reached through a common sub-role. Every test runs with the wedge OFF so the main
|
|
7
|
+
//! tableau is the engine answering.
|
|
8
|
+
|
|
9
|
+
#![allow(clippy::doc_markdown)]
|
|
10
|
+
|
|
11
|
+
use horned_owl::io::ParserConfiguration;
|
|
12
|
+
use horned_owl::io::ofn::reader::read as read_ofn;
|
|
13
|
+
use horned_owl::model::RcStr;
|
|
14
|
+
use horned_owl::ontology::set::SetOntology;
|
|
15
|
+
use std::io::Cursor;
|
|
16
|
+
|
|
17
|
+
// Env mutation is process-wide; serialise and restore on Drop.
|
|
18
|
+
static ENV_MUTEX: std::sync::Mutex<()> = std::sync::Mutex::new(());
|
|
19
|
+
|
|
20
|
+
struct EnvGuard(&'static str, Option<std::ffi::OsString>);
|
|
21
|
+
|
|
22
|
+
impl EnvGuard {
|
|
23
|
+
#[allow(unsafe_code)]
|
|
24
|
+
fn set(key: &'static str, value: &str) -> Self {
|
|
25
|
+
let prior = std::env::var_os(key);
|
|
26
|
+
// SAFETY: every mutation here happens while ENV_MUTEX is held by the caller.
|
|
27
|
+
unsafe { std::env::set_var(key, value) };
|
|
28
|
+
Self(key, prior)
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
impl Drop for EnvGuard {
|
|
33
|
+
#[allow(unsafe_code)]
|
|
34
|
+
fn drop(&mut self) {
|
|
35
|
+
// SAFETY: as above — the lock is still held by the test body.
|
|
36
|
+
unsafe {
|
|
37
|
+
match self.1.take() {
|
|
38
|
+
Some(v) => std::env::set_var(self.0, v),
|
|
39
|
+
None => std::env::remove_var(self.0),
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
fn onto(body: &str) -> SetOntology<RcStr> {
|
|
46
|
+
let src = format!(
|
|
47
|
+
"Prefix(:=<http://ex#>)\n\
|
|
48
|
+
Ontology(\n\
|
|
49
|
+
Declaration(Class(:A)) Declaration(Class(:B)) Declaration(Class(:C))\n\
|
|
50
|
+
Declaration(ObjectProperty(:r)) Declaration(ObjectProperty(:s)) Declaration(ObjectProperty(:t))\n\
|
|
51
|
+
{body}\n)"
|
|
52
|
+
);
|
|
53
|
+
let mut reader = Cursor::new(src);
|
|
54
|
+
read_ofn(&mut reader, ParserConfiguration::default())
|
|
55
|
+
.expect("parse")
|
|
56
|
+
.0
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/// `A` satisfiable, decided by the main tableau.
|
|
60
|
+
fn tableau_sat(body: &str) -> bool {
|
|
61
|
+
let _lock = ENV_MUTEX
|
|
62
|
+
.lock()
|
|
63
|
+
.unwrap_or_else(std::sync::PoisonError::into_inner);
|
|
64
|
+
let _wedge = EnvGuard::set("RUSTDL_HYPERTABLEAU", "0");
|
|
65
|
+
owl_dl_reasoner::is_class_satisfiable(&onto(body), "http://ex#A").expect("sat")
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
#[test]
|
|
69
|
+
fn an_asymmetric_self_loop_clashes() {
|
|
70
|
+
assert!(!tableau_sat(
|
|
71
|
+
"AsymmetricObjectProperty(:r)\nSubClassOf(:A ObjectHasSelf(:r))"
|
|
72
|
+
));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
#[test]
|
|
76
|
+
fn an_asymmetric_symmetric_role_clashes() {
|
|
77
|
+
assert!(!tableau_sat(
|
|
78
|
+
"AsymmetricObjectProperty(:r)\nSymmetricObjectProperty(:r)\nSubClassOf(:A ObjectSomeValuesFrom(:r :B))"
|
|
79
|
+
));
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/// `t ⊑ r`, `Asymmetric(r)`: a `t` self-loop is an `r` self-loop.
|
|
83
|
+
#[test]
|
|
84
|
+
fn asymmetry_sees_a_sub_role_self_loop() {
|
|
85
|
+
assert!(!tableau_sat(
|
|
86
|
+
"AsymmetricObjectProperty(:r)\nSubObjectPropertyOf(:t :r)\nSubClassOf(:A ObjectHasSelf(:t))"
|
|
87
|
+
));
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/// `t ⊑ r`, `t ⊑ s`, `Disjoint(r, s)`: any `t`-edge is both an `r`- and an `s`-edge.
|
|
91
|
+
#[test]
|
|
92
|
+
fn disjoint_roles_see_a_common_sub_role() {
|
|
93
|
+
assert!(!tableau_sat(
|
|
94
|
+
"DisjointObjectProperties(:r :s)\nSubObjectPropertyOf(:t :r)\nSubObjectPropertyOf(:t :s)\n\
|
|
95
|
+
SubClassOf(:A ObjectSomeValuesFrom(:t :B))"
|
|
96
|
+
));
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/// FP guard: a one-way edge on an asymmetric role.
|
|
100
|
+
#[test]
|
|
101
|
+
fn a_one_way_asymmetric_edge_is_fine() {
|
|
102
|
+
assert!(tableau_sat(
|
|
103
|
+
"AsymmetricObjectProperty(:r)\nSubClassOf(:A ObjectSomeValuesFrom(:r :B))"
|
|
104
|
+
));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/// FP guard: an asymmetric SUB-role of a symmetric role need not be symmetric.
|
|
108
|
+
#[test]
|
|
109
|
+
fn an_asymmetric_sub_role_of_a_symmetric_role_is_fine() {
|
|
110
|
+
assert!(tableau_sat(
|
|
111
|
+
"AsymmetricObjectProperty(:t)\nSubObjectPropertyOf(:t :r)\nSymmetricObjectProperty(:r)\n\
|
|
112
|
+
SubClassOf(:A ObjectSomeValuesFrom(:t :B))"
|
|
113
|
+
));
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/// FP guard: separate successors on disjoint roles.
|
|
117
|
+
#[test]
|
|
118
|
+
fn separate_successors_on_disjoint_roles_are_fine() {
|
|
119
|
+
assert!(tableau_sat(
|
|
120
|
+
"DisjointObjectProperties(:r :s)\n\
|
|
121
|
+
SubClassOf(:A ObjectIntersectionOf(ObjectSomeValuesFrom(:r :B) ObjectSomeValuesFrom(:s :B)))"
|
|
122
|
+
));
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// ── `≤n` trial merge × role axioms (#200 review) ────────────────────────────
|
|
126
|
+
//
|
|
127
|
+
// `apply_max` keeps a merge pair when the survivor is clash-free. A merge whose
|
|
128
|
+
// only consequence is an asymmetry violation through the fused edges must be
|
|
129
|
+
// rejected inside the trial too, or the `≤`-rule commits to it without a choice
|
|
130
|
+
// point and a satisfiable class reads unsat (the #76 shape). Here `A` has three
|
|
131
|
+
// `s.C` witnesses under `≤2 s.C`: merging the `r → a` and `a → r` witnesses
|
|
132
|
+
// violates asymmetry, merging either with the plain `C3` witness is harmless, so
|
|
133
|
+
// `A` is satisfiable (HermiT, Konclude). The `C3` witness arrives last, behind two
|
|
134
|
+
// unfoldings, so the clashing pair is enumerated first.
|
|
135
|
+
|
|
136
|
+
const MERGE_DECLS: &str = "Declaration(Class(:C1)) Declaration(Class(:C2)) Declaration(Class(:C3))\n\
|
|
137
|
+
Declaration(Class(:D1)) Declaration(Class(:D2)) Declaration(ObjectProperty(:q))\n\
|
|
138
|
+
Declaration(NamedIndividual(:a))\n\
|
|
139
|
+
SubClassOf(:C1 :C) SubClassOf(:C2 :C) SubClassOf(:C3 :C) ClassAssertion(:A :a)\n";
|
|
140
|
+
|
|
141
|
+
fn merge_fixture(back_edge: &str, max: u32, with_harmless: bool) -> String {
|
|
142
|
+
let harmless = if with_harmless {
|
|
143
|
+
"SubClassOf(:A :D1) SubClassOf(:D1 :D2) SubClassOf(:D2 ObjectSomeValuesFrom(:s :C3))"
|
|
144
|
+
} else {
|
|
145
|
+
""
|
|
146
|
+
};
|
|
147
|
+
format!(
|
|
148
|
+
"{MERGE_DECLS}AsymmetricObjectProperty(:r)\n\
|
|
149
|
+
SubClassOf(:A ObjectMaxCardinality({max} :s :C))\n\
|
|
150
|
+
SubClassOf(:A ObjectSomeValuesFrom(:s ObjectIntersectionOf(:C1 ObjectHasValue(:r :a))))\n\
|
|
151
|
+
SubClassOf(:A ObjectSomeValuesFrom(:s ObjectIntersectionOf(:C2 {back_edge})))\n\
|
|
152
|
+
{harmless}"
|
|
153
|
+
)
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
const FWD_BACK: &str = "ObjectSomeValuesFrom(ObjectInverseOf(:r) ObjectOneOf(:a))";
|
|
157
|
+
|
|
158
|
+
#[test]
|
|
159
|
+
fn a_harmless_merge_is_found_past_an_asymmetric_one_declared_inverse() {
|
|
160
|
+
let body = merge_fixture("ObjectHasValue(:q :a)", 2, true) + "\nInverseObjectProperties(:q :r)";
|
|
161
|
+
assert!(tableau_sat(&body));
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
#[test]
|
|
165
|
+
fn a_harmless_merge_is_found_past_an_asymmetric_one_inverse_role() {
|
|
166
|
+
assert!(tableau_sat(&merge_fixture(FWD_BACK, 2, true)));
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/// Positive control: under `≤1` the clashing merge is forced, so `A` is unsat.
|
|
170
|
+
#[test]
|
|
171
|
+
fn a_forced_asymmetric_merge_is_still_unsat() {
|
|
172
|
+
let body =
|
|
173
|
+
merge_fixture("ObjectHasValue(:q :a)", 1, false) + "\nInverseObjectProperties(:q :r)";
|
|
174
|
+
assert!(!tableau_sat(&body));
|
|
175
|
+
assert!(!tableau_sat(&merge_fixture(FWD_BACK, 1, false)));
|
|
176
|
+
}
|