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(order/initial_seg): move definitions of initial and principal segments #15328

Closed
wants to merge 2 commits into from

Conversation

vihdzp
Copy link
Collaborator

@vihdzp vihdzp commented Jul 14, 2022

We move the definitions of initial and principal segments from set_theory/ordinal/basic.lean to a new file order/initial_seg.lean. We minimally change this file, just doing the following:

  • add a copyright header
  • copy over existing documentation
  • add a few noncomputable attributes
  • localize the notation
  • use by_cases in initial_seg.lt_or_eq (needed as the classical locale is no longer open)

This part of the file always seemed out of place to me.

Open in Gitpod

@vihdzp vihdzp added the awaiting-review The author would like community review of the PR label Jul 14, 2022
@digama0
Copy link
Member

digama0 commented Jul 17, 2022

bors r+

@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 Jul 17, 2022
bors bot pushed a commit that referenced this pull request Jul 17, 2022
…egments (#15328)

We move the definitions of initial and principal segments from `set_theory/ordinal/basic.lean` to a new file `order/initial_seg.lean`. We minimally change this file, just doing the following:
- add a copyright header
- copy over existing documentation
- add a few `noncomputable` attributes 
- localize the notation
- use `by_cases` in `initial_seg.lt_or_eq` (needed as the `classical` locale is no longer open)
@bors
Copy link

bors bot commented Jul 17, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(order/initial_seg): move definitions of initial and principal segments [Merged by Bors] - chore(order/initial_seg): move definitions of initial and principal segments Jul 17, 2022
@bors bors bot closed this Jul 17, 2022
@bors bors bot deleted the principal_seg_move branch July 17, 2022 17:24
joelriou pushed a commit that referenced this pull request Jul 23, 2022
…egments (#15328)

We move the definitions of initial and principal segments from `set_theory/ordinal/basic.lean` to a new file `order/initial_seg.lean`. We minimally change this file, just doing the following:
- add a copyright header
- copy over existing documentation
- add a few `noncomputable` attributes 
- localize the notation
- use `by_cases` in `initial_seg.lt_or_eq` (needed as the `classical` locale is no longer open)
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

2 participants