Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pure-prover-gtrailで newgoallistの制御がおかしくて消えていく #226

Open
sazare opened this issue Feb 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working cheaplogic general on cheaplogic

Comments

@sazare
Copy link
Owner

sazare commented Feb 20, 2024

★unifyに失敗しているのにgoallistから消去しているのはなぜ???
pure-prover-gtrailで newgoallistの制御がおかしくて消えていく

(require :gtrail)
(in-package :rubbish)
(defparameter fkname "kqc/cake/cake006-sim1.kqc")
;; run
(defparameter max-clauses 10000)
(defparameter max-trials 1000)
(defparameter max-steps 1000)
(defparameter timeout-sec 10)

(logshow)
の最後あたりをみよ。

何か変だ

@sazare
Copy link
Owner Author

sazare commented Feb 20, 2024

step-solverで
(setq newgoal (step-solver goal))

     (multiple-value-setq (newgoals cs ts) (gathercontra newgoal) )
     (setq *contradictions* (append cs *contradictions*))

     (setq valids (append ts valids))
     (setq goallist (append (list newgoal) newgoals goallist))

; (setq goallist (append goallist newgoals))
(setq newgoal nil)
(setq goallist goallist)

goallistをupdateしているが、どうもうまくいっていない。

そもそもどうなっていればよいのか、考え直すこと

@sazare sazare self-assigned this Feb 20, 2024
@sazare sazare added bug Something isn't working cheaplogic general on cheaplogic labels Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cheaplogic general on cheaplogic
Projects
None yet
Development

No branches or pull requests

1 participant