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

[Merged by Bors] - chore(data/fin): reorder file to group declarations #6109

Closed
wants to merge 4 commits into from

Conversation

pechersky
Copy link
Collaborator

@pechersky pechersky commented Feb 8, 2021

The data/fin file has a lot of definitions and lemmas. This reordering groups declarations and places ones that do not rely on fin operations first, like order. No definitions or lemma statements have been changed. A minimal amount of proofs have been rephrased. No reformatting of style has been done. Section titles have been added.

This is useful in preparation for redefining fin operations (lean#527). Additionally, it allows for better organization for other refactors like making pred and pred_above total.


@bryangingechen
Copy link
Collaborator

Do you mind adding some sectioning module doc strings like this while you're reorganizing things?

/-!
### title
-/

These will also make the web docs more readable.

@semorrison
Copy link
Collaborator

@pechersky, would you mind making PRs by pushing branches to the main repository? It's easier for reviewers to check out copies / merge into other branches, etc., if we don't need to configure other remotes.

@jcommelin
Copy link
Member

@semorrison It is a branch on the main repo, but it has a / in the branch name.

@pechersky pechersky added the awaiting-review The author would like community review of the PR label Feb 9, 2021
@semorrison
Copy link
Collaborator

@semorrison It is a branch on the main repo, but it has a / in the branch name.

Awesome --- excellent practice! :-)

@semorrison
Copy link
Collaborator

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Feb 9, 2021
bors bot pushed a commit that referenced this pull request Feb 10, 2021
The `data/fin` file has a lot of definitions and lemmas. This reordering groups declarations and places ones that do not rely on `fin` operations first, like order. No definitions or lemma statements have been changed. A minimal amount of proofs have been rephrased. No reformatting of style has been done. Section titles have been added.

This is useful in preparation for redefining `fin` operations (lean#527). Additionally, it allows for better organization for other refactors like making `pred` and `pred_above` total.
@bors
Copy link

bors bot commented Feb 10, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(data/fin): reorder file to group declarations [Merged by Bors] - chore(data/fin): reorder file to group declarations Feb 10, 2021
@bors bors bot closed this Feb 10, 2021
@bors bors bot deleted the pechersky/fin-refactor-reorder branch February 10, 2021 03:37
b-mehta pushed a commit that referenced this pull request Apr 2, 2021
The `data/fin` file has a lot of definitions and lemmas. This reordering groups declarations and places ones that do not rely on `fin` operations first, like order. No definitions or lemma statements have been changed. A minimal amount of proofs have been rephrased. No reformatting of style has been done. Section titles have been added.

This is useful in preparation for redefining `fin` operations (lean#527). Additionally, it allows for better organization for other refactors like making `pred` and `pred_above` total.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants