Skip to content

fix axiom counting#1469

Merged
fblanqui merged 3 commits into
Deducteam:masterfrom
fblanqui:admit
Jul 22, 2026
Merged

fix axiom counting#1469
fblanqui merged 3 commits into
Deducteam:masterfrom
fblanqui:admit

Conversation

@fblanqui

@fblanqui fblanqui commented Jul 22, 2026

Copy link
Copy Markdown
Member

A.lp:

symbol A:TYPE;

B.lp:

symbol B:TYPE;

bug.lp

require open Stdlib.A;
symbol a:A ≔ begin admit end;
require open Stdlib.B;
symbol b:B ≔ begin admit end;

was generating 2 axioms with the same name (namely _ax0) because each require reset the axiom counter.
This PR:

  • fixes that bug (in compile.ml and tactic.ml)
  • make Sign.add_symbol check that the signature does not already have a symbol with the same name
  • add Term.qsym
  • remove Print.path (= Path.pp)
  • replace Term.is_ac by Term.is_modulo

@fblanqui
fblanqui merged commit 869f9fc into Deducteam:master Jul 22, 2026
31 checks passed
@fblanqui
fblanqui deleted the admit branch July 22, 2026 21:03
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