Skip to content

Weaken Lattice.Lift{,2}Conf arguments, remove Lattice.LiftPO#1728

Merged
sim642 merged 4 commits intomasterfrom
lattice-lift-po
Apr 17, 2025
Merged

Weaken Lattice.Lift{,2}Conf arguments, remove Lattice.LiftPO#1728
sim642 merged 4 commits intomasterfrom
lattice-lift-po

Conversation

@sim642
Copy link
Copy Markdown
Member

@sim642 sim642 commented Apr 15, 2025

Lattice.LiftConf adds a bot and top, but its argument also required them without using them. Therefore, the sensible thing is to just weaken the argument signature.
This allows us to just get rid of Lattice.LiftPO, which was a copy of Lattice.LiftConf with basically just this difference (and the handling of Uncomparable).

The benefit of this weakening is that fewer dummy top and bot implementations are needed just to lift domains without top and bottom. We probably have a bunch around but they're not too easy to find immediately.

This is on top of #1727.

@sim642 sim642 added cleanup Refactoring, clean-up type-safety Type-safety improvements pr-dependency Depends or builds on another PR, which should be merged before labels Apr 15, 2025
@sim642 sim642 added this to the v2.6.0 milestone Apr 15, 2025
Base automatically changed from intdomain-no-top to master April 17, 2025 15:51
@sim642 sim642 removed the pr-dependency Depends or builds on another PR, which should be merged before label Apr 17, 2025
@sim642 sim642 merged commit 52a3bbb into master Apr 17, 2025
21 checks passed
@sim642 sim642 deleted the lattice-lift-po branch April 17, 2025 16:32
sim642 added a commit that referenced this pull request Nov 7, 2025
These are unneeded since PR #1728.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Refactoring, clean-up type-safety Type-safety improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants