Skip to content

Stop recursive eta expansion in --verdict - #1815

Closed
oxura wants to merge 1 commit into
bendlang:mainfrom
oxura:fix/recursive-eta-1164-20261021
Closed

oxura wants to merge 1 commit into
bendlang:mainfrom
oxura:fix/recursive-eta-1164-20261021

Conversation

@oxura

@oxura oxura commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

This cuts the infinite eta expansion in #1164 without turning eta off for ordinary function equalities. Only eta-introduced terms carry the type path; original arguments still expand normally.

Once export worked, I hit a second loop in the kernel's F-to-F type fit. It now handles identical named references before unfolding them. The updated fits_sound proof checks with Lean 4.34.0.

Checked the F/G examples, the function leaf, and a finite-alias equality through export and the rebuilt native --verdict path. The fixture runs to 42; ten existing eta/pattern/copy controls pass. Repo gate: 54/54, with the original caps unchanged.

This doesn't touch bend.ts or fix Sink's separate --check-only loop. No private-cluster run claimed.

Fixes #1164

@nicolas-abril

Copy link
Copy Markdown
Collaborator

Closing in favor of #1892 + #1896

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A zero-argument recursive type definition checks, but --verdict and -o stack-overflow elaborating it

2 participants