Skip to content

experiment: Decidable as subtype of Bool using the new compiler #8309

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

Draft
wants to merge 33 commits into
base: new_codegen
Choose a base branch
from

Conversation

Rob23oba
Copy link
Contributor

@Rob23oba Rob23oba commented May 12, 2025

Test for how well the new compiler works with Decidable being a subtype of Bool (basically #2038 for the new compiler). Init/Data/UInt/Lemmas seems to elaborate slow although the generated code size is relatively normal (not sure what's going on there).

@Rob23oba Rob23oba closed this May 12, 2025
@Rob23oba Rob23oba force-pushed the decidable-as-bool branch from 91e03d3 to 3bc08d6 Compare May 12, 2025 22:17
@Rob23oba Rob23oba reopened this May 12, 2025
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label May 13, 2025
@leanprover-community-bot
Copy link
Collaborator

leanprover-community-bot commented May 13, 2025

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 579d0ad15db8062933ecc0833562c875216cc9d7 --onto 2b4f372317f214e92988a79fc765586fbfb64e97. You can force Mathlib CI using the force-mathlib-ci label. (2025-05-13 10:04:37)
  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase ff85acedb91537b383b744fcf4639a3a663df90f --onto 29cc75531a5a0e8626fa5e96371e7ceb98877782. You can force Mathlib CI using the force-mathlib-ci label. (2025-05-14 12:42:55)

@Rob23oba Rob23oba force-pushed the decidable-as-bool branch from 2f09103 to 9f39872 Compare May 14, 2025 10:11
@github-actions github-actions bot added the release-ci Enable all CI checks for a PR, like is done for releases label May 14, 2025
@Rob23oba Rob23oba force-pushed the decidable-as-bool branch from d1a4f37 to ab73b1c Compare May 15, 2025 19:50
@zwarich zwarich force-pushed the new_codegen branch 6 times, most recently from a1ed0b3 to 95b6237 Compare May 22, 2025 20:33
@zwarich zwarich force-pushed the new_codegen branch 3 times, most recently from 81e853a to 64151e4 Compare May 23, 2025 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-ci Enable all CI checks for a PR, like is done for releases toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants