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

@proux01 proux01 commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

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)

- [zify] is defined as [tify Z]
- [Nat.add] to be injected into both [Z] and [R].
@proux01 proux01 force-pushed the tify branch 2 times, most recently from 0da41f9 to 04d385c Compare June 9, 2026 13:46
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