Skip to content

do not take into account extra rules when checking a dependency#1470

Merged
fblanqui merged 1 commit into
Deducteam:masterfrom
fblanqui:dtree
Jul 23, 2026
Merged

do not take into account extra rules when checking a dependency#1470
fblanqui merged 1 commit into
Deducteam:masterfrom
fblanqui:dtree

Conversation

@fblanqui

@fblanqui fblanqui commented Jul 23, 2026

Copy link
Copy Markdown
Member

A require M command can fail, even though lambdapi check M succeeds, if in previous commands (including previous requires), some rules are added on symbols defined or used in M (issue #1435). This PR fixes this problem by updating the decision trees of external symbols before and after requires (using the fact that, for a symbol s, s.sym_dtree does not need to be in sync with s.sym_rules).

  • Sig_state: add update_ext_sym_dtrees
  • Tree: rename update_dtree into add_and_update, and add update and add set_dtree
  • Term: add eq, eq_lhs and Raw.sym_rule

@fblanqui fblanqui changed the title do not take into account rules on external symbols when checking a de… do not take into account extra rules when checking a dependency Jul 23, 2026
@fblanqui
fblanqui merged commit 4139cf9 into Deducteam:master Jul 23, 2026
31 checks passed
@fblanqui
fblanqui deleted the dtree branch July 23, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant