Skip to content

[tify] generalises [zify] for an arbitrary type.#1

Open
proux01 wants to merge 2 commits into
masterfrom
tify
Open

[tify] generalises [zify] for an arbitrary type.#1
proux01 wants to merge 2 commits into
masterfrom
tify

Conversation

@proux01
Copy link
Copy Markdown
Contributor

@proux01 proux01 commented Apr 5, 2026

The goal of the zify tactic is to map numeric types (e.g. nat) and operators (e.g Nat.add) towards Z.
However, it is sometimes useful to define other mappings (e.g. towards R).

The PR defines the tify T tactic where T is the target type that is used to disambiguate the mapping.
As a result, zify can be redefined as tify Z.

Overlay (to be merged in sync with the current PR)

fajb and others added 2 commits April 14, 2026 09:25
- [zify] is defined as [tify Z]
- [Nat.add] to be injected into both [Z] and [R].
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.

2 participants