Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 17, 2025

Conversation

sim642
Copy link
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
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