Skip to content

add Univ.v#67

Merged
fblanqui merged 5 commits into
Deducteam:masterfrom
fblanqui:univ
Jul 21, 2026
Merged

add Univ.v#67
fblanqui merged 5 commits into
Deducteam:masterfrom
fblanqui:univ

Conversation

@fblanqui

@fblanqui fblanqui commented Jul 16, 2026

Copy link
Copy Markdown
Member

Some #tactics currently take arguments of type (\tau a) only while we would like them to take arguments of type (\pi a) as well, or vice versa. This PR introduces a simple notion of universe that I believe solves this problem. It also adds new builtins for the #tactics introduced recently:

fblanqui added a commit to Deducteam/lambdapi that referenced this pull request Jul 21, 2026
- rename "P" into "Prf", "T" into "El", and "and" into "compose" to not clash with the builtin "and" used in why3 tactic
- change types of tactic builtins by using universes to handle \tau and \pi uniformly (Deducteam/lambdapi-stdlib#67)
- builtin.ml: factorize and simplify type checking of builtins, and add type checking of why3 tactic builtins
- rewrite.ml: move builtin type checking to builtin.ml
- enforce the declaration of builtins
- doc on tacticals: update the types of builtins
- tactic.ml: fix handling of "change" in tac_eval
- move the contents of fol.ml into why3_tactic.ml
- update stdlib files in tests/OK
@fblanqui
fblanqui merged commit cc870b1 into Deducteam:master Jul 21, 2026
1 of 2 checks passed
@fblanqui
fblanqui deleted the univ branch July 21, 2026 09:06
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