Skip to content

[#14892] feat: define well-founded recursion without large elimination of Acc - #162

Merged
downstream-lean4[bot] merged 5 commits into
masterfrom
adaptation-14892
Oct 15, 2026
Merged

downstream-lean4[bot] merged 5 commits into
masterfrom
adaptation-14892

Conversation

@downstream-lean4

Copy link
Copy Markdown
Contributor

This is the adaptation PR for leanprover/lean4#14892.

@downstream-lean4
downstream-lean4 Bot marked this pull request as ready for review October 13, 2026 17:19
…nto data

The three definitions that recurse on an accessibility proof to produce data go through `Acc.recOn'` / `Acc.rec'` (added in leanprover/lean4#14892), and their unfolding equations, previously closed by `rfl`, go through `Acc.rec'_eq`. This prepares for leanprover/lean4#13851, which restricts `Acc.rec` to `Prop` motives.

Ported from mathlib4-nightly-testing's `lean-pr-testing-13851` (f88713414c).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@downstream-lean4

Copy link
Copy Markdown
Contributor Author

Build report for downstream: follow upstream PR

Stayed red
Repo Critical Build Test Lint
cslib 🟥 in 28s ⏭️ ⏭️
Stayed green
Repo Critical Build Test Lint
aesop ✅ ✅ in 17s ✅ in 4s ⏭️
batteries ✅ ✅ in 12s ✅ in 4s ✅ in 2s
import-graph ✅ ✅ in 6s ✅ in 4s ⏭️
lean4-cli ✅ ✅ in 3s ✅ in 0s ⏭️
mathlib4 ✅ ✅ in 16m 2s ✅ in 41s ✅ in 1m 33s
plausible ✅ ✅ in 3s ✅ in 2s ⏭️
ProofWidgets4 ✅ ✅ in 5s ✅ in 1s ⏭️
quote4 ✅ ✅ in 6s ✅ in 1s ⏭️
reference-manual ✅ ✅ in 1m 20s ⏭️ ⏭️
BibtexQuery ✅ in 3s ⏭️ ⏭️
comparator ✅ in 3s ⏭️ ⏭️
doc-gen4 ✅ in 15s ⏭️ ⏭️
illuminate ✅ in 8s ✅ in 10s ⏭️
lean4-unicode-basic ✅ in 4s ⏭️ ⏭️
lean4export ✅ in 3s ✅ in 8s ⏭️
LeanSearchClient ✅ in 2s ✅ in 0s ⏭️
leansqlite ✅ in 9s ✅ in 20s ⏭️
nerodia ✅ in 6s ✅ in 22s ⏭️
repl ✅ in 4s ✅ in 54s ⏭️
verso ✅ in 1m 42s ✅ in 2m 58s ⏭️
verso-slides ✅ in 48s ✅ in 9s ⏭️
verso-web-components ✅ in 31s ⏭️ ⏭️

View run

skip-checks: true
@downstream-lean4

Copy link
Copy Markdown
Contributor Author

The upstream PR has landed. This adaptation PR is being merged.

@downstream-lean4
downstream-lean4 Bot merged commit f1fc31b into master Oct 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adaptation This is an adaptation PR for a PR in the lean4 repository. toolchain-available

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant