Skip to content
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

Well-founded recursion without infinity #4296

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

sctfn
Copy link
Contributor

@sctfn sctfn commented Oct 16, 2024

Continuation of #4290. This MR brings in well-founded recursion over a partial order. This can be used to revise wrecs and shorten a lot of theorems there.

Copy link
Contributor

@benjub benjub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few remarks. That's a very nice addition to our fundamental constructions.

set.mm Show resolved Hide resolved
set.mm Outdated Show resolved Hide resolved
set.mm Show resolved Hide resolved
nffrecs.3 $e |- F/_ x F $.
$( Bound-variable hypothesis builder for the well-founded recursion
generator. (Contributed by Scott Fenton, 23-Dec-2021.) $)
nffrecs $p |- F/_ x frecs ( R , A , F ) $=
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably this and later theorems should be put in deduction form eventually, for wide usability. This can of course be done later, and by others. Since applications are rather at a fundamental level, the need of being contextual is less frequent, so the need for deduction form is less acute.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(And that particular theorem is not a very good example, since the need of deduction form would be very rare: we have the choice to use a fresh variable x; for other theorems, there may be a need.)

set.mm Outdated Show resolved Hide resolved
set.mm Show resolved Hide resolved
set.mm Show resolved Hide resolved
@benjub
Copy link
Contributor

benjub commented Oct 16, 2024

Also: have you had a look at BNJ's mathbox ? If the work is related, we should find a place to add some credit to him.

@sctfn
Copy link
Contributor Author

sctfn commented Oct 16, 2024

Sorry, who's BNJ? You're the only BJ I can find in set.mm

@benjub
Copy link
Contributor

benjub commented Oct 16, 2024

Sorry, who's BNJ? You're the only BJ I can find in set.mm

Sorry, I meant "Jonathan Ben-Naim". Most of his theorems are labeled bnj*, hence my confusion. No relation whatsoever with me. See https://us.metamath.org/mpeuni/mmtheorems.html#dtl:20.4

He's apparently a former contributor and his theorems date from before I even know of metamath. His mathbox has sections on recursion too.

@sctfn
Copy link
Contributor Author

sctfn commented Oct 16, 2024

Hm, he and I seem to have developed the same theorems around the same time. We even used the same reference! His theorems only cover the case that requires infinity though. I'm not completely sure what to do about credit here.

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.

2 participants