Skip to content

refactor: put new eqns options into backward namespace - #5207

Merged
nomeata merged 1 commit into
masterfrom
joachim/eqn-backward-options
Aug 29, 2024
Merged

nomeata merged 1 commit into
masterfrom
joachim/eqn-backward-options

Conversation

@nomeata

@nomeata nomeata commented Aug 29, 2024

Copy link
Copy Markdown
Collaborator

in #4154 and #5129 the rules for equational lemmas have changed, and new
options were introduced that can be used to revert to the pre-4.12
behavior. Hopefully nobody really needs these options besides for
backwards compatibility, therefore we put these options in the
backward option name space.

So the previous behavior can be achieved by setting

set_option backward.eqns.nonrecursive false
set_option backward.eqns.deepRecursiveSplit false

in #4154 and #5129 the rules for equational lemmas have changed, and new
options were introduced that can be used to revert to the pre-4.12
behavior. Hopefully nobody really needs these options besides for
backwards compatibility, therefore we put these options in the
`backward` option name space.

So the previous behavior can be achieved by setting
```lean
set_option backward.eqns.nonrecursive false
set_option backward.eqns.deepRecursiveSplit false
```
@nomeata nomeata added the will-merge-soon …unless someone speaks up label Aug 29, 2024
@nomeata
nomeata enabled auto-merge August 29, 2024 16:50
@github-actions
github-actions Bot temporarily deployed to lean-lang.org/lean4/doc August 29, 2024 16:55 Inactive
@nomeata
nomeata added this pull request to the merge queue Aug 29, 2024
@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 Aug 29, 2024
@ghost

ghost commented Aug 29, 2024

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 aa3c87b2c7fa877d3e6f7878a84b454a6de7d8f8 --onto 9ce15fb0c61e3a1bee17fd81647ed4d02b4f6c6d. (2024-08-29 17:06:51)

Merged via the queue into master with commit f30ff6a Aug 29, 2024

This branch was previously deployed

1 inactive deployment
lean-lang.org/lean4/doc — 199463ee Deployed Aug 29, 2024 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN will-merge-soon …unless someone speaks up

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant