genpark-first-order-logic-resolution-refutation-skill

mcp
Security Audit
Warn
Health Warn
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 7 GitHub stars
Code Pass
  • Code scan — Scanned 6 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

First-Order Logic Robinson syntactic unifier with occurs-check and resolution refutation theorem prover

README.md

First-Order Logic Unifier Skill

Robinson's syntactic Most General Unifier (MGU) algorithm with strict occurs-check for automated theorem proving.

flowchart TD
    Terms["Input Terms (t1, t2)"] --> Decomp["Recursive Term Decomposition"]
    Decomp --> VarCheck{"Variable in Sub-term?"}
    VarCheck -- Yes --> Occurs{"Occurs Check Passed?"}
    Occurs -- No --> Fail["Unification Failed (Cycle)"]
    Occurs -- Yes --> Bind["Bind Variable to Sub-term"]
    VarCheck -- No --> Match{"Symbols Match?"}
    Match -- Yes --> SubTerms["Unify Arguments"]
    Match -- No --> Fail
    Bind --> Accum["Accumulate Substitutions θ"]
    Accum --> MGU["Return Valid MGU"]

Features

  • 100% Python Standard Library: Recursive syntactic tree traversal.
  • Strict Occurs Check: Prevents infinite circular term expansions.
  • Composed Substitutions: Automatic term propagation across nested expressions.

Reviews (0)

No results found