Skip to content

refactor: give the ⦃ … ⦄ notation a single exceptional-postcondition slot#14114

Draft
sgraf812 wants to merge 1 commit into
masterfrom
triple-epost-notation
Draft

refactor: give the ⦃ … ⦄ notation a single exceptional-postcondition slot#14114
sgraf812 wants to merge 1 commit into
masterfrom
triple-epost-notation

Conversation

@sgraf812

Copy link
Copy Markdown
Contributor

This PR changes the Hoare-triple notation so ; introduces the exceptional postcondition as a single EPred term rather than a list of exception cases wrapped in epost⟨…⟩. This lets the notation express an epost variable or any EPred, and makes epost⟨…⟩ an ordinary explicit constructor written in that slot.

…n slot

This PR changes the Hoare-triple notation so `;` introduces the exceptional postcondition as a single `EPred` term rather than a list of exception cases wrapped in `epost⟨…⟩`. This lets the notation express an `epost` variable or any `EPred`, and makes `epost⟨…⟩` an ordinary explicit constructor written in that slot.
@sgraf812 sgraf812 added the changelog-language Language features and metaprograms label Jun 18, 2026
@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 Jun 18, 2026
@mathlib-lean-pr-testing

Copy link
Copy Markdown

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 8e073a29a6d0029980c8ee2486330307817df159 --onto 4792cd22887c8b529a351f6563b693426ff2a8f8. You can force Mathlib CI using the force-mathlib-ci label. (2026-06-18 20:12:28)

@leanprover-bot

Copy link
Copy Markdown
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 8e073a29a6d0029980c8ee2486330307817df159 --onto 803553a556fd82fa1060efb0c43eda542130cb16. You can force reference manual CI using the force-manual-ci label. (2026-06-18 20:12:30)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-language Language features and metaprograms 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.

2 participants