Skip to content

Encountered representation_error(max_arity, assertz/1) when running check/1 with LPTPย #3127

@thierrymarianne

Description

@thierrymarianne

Hello,

When trying to run the test suite for Logic Program Theorem Prover (LPTP) with Scryer Prolog,
I have encountered the representation_error(max_arity, assertz/1) error
for the following proofs examples:

  • ./examples/parser/pr/termination.pr,
  • ./examples/parser/pr/soundness.pr,
  • ./examples/taut/taut.pr.

(Please note that the file extension is not conventional but checking proofs works as expected
with a few adjustments detailed in this pull-request git log history and reply.

I don't really expect this issue to be solved because of what I gathered from #67 (7.11.2.3 ?).
I don't have the ISO standard at my disposal
but I trust there are ways how to work around this issue somehow.

Besides, after discovering past discussions like #2594 on the topic,
I thought it could be helpful to have some use cases.

A test case exhibiting the error thrown has been pushed to this branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions