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] - feat: port Control.Fix #1194

Closed
wants to merge 11 commits into from
Closed

Conversation

Shreyas4991
Copy link
Collaborator

@Shreyas4991 Shreyas4991 commented Dec 23, 2022

Mathlib Commit : 207cfac9fcd06138865b5d04f7091e46d9320432

@Shreyas4991 Shreyas4991 added awaiting-review The author would like community review of the PR mathlib-port This is a port of a theory file from mathlib. labels Dec 23, 2022
@@ -67,22 +67,22 @@ it satisfies the equations:
1. `fix f = f (fix f)` (is a fixed point)
2. `∀ X, f X ≤ X → fix f ≤ X` (least fixed point)
-/
protected def fix (x : α) : Part <| β x :=
protected noncomputable def fix (x : α) : Part <| β x :=
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add porting notes that noncomputable was required.

@@ -114,7 +115,7 @@ end Part

namespace Part

instance : HasFix (Part α) :=
noncomputable instance : HasFix (Part α) :=
Copy link
Collaborator

Choose a reason for hiding this comment

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

porting notes on noncomputable

@@ -123,9 +124,8 @@ open Sigma

namespace Pi

instance Part.hasFix {β} : HasFix (α → Part β) :=
noncomputable instance Part.hasFix {β} : HasFix (α → Part β) :=
Copy link
Collaborator

Choose a reason for hiding this comment

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

porting notes on noncomputable

@jcommelin jcommelin added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Dec 24, 2022
@Shreyas4991 Shreyas4991 added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Dec 24, 2022
@Shreyas4991
Copy link
Collaborator Author

Is there anything further to be done on this PR from my end?

@rwbarton
Copy link
Contributor

bors merge

bors bot pushed a commit that referenced this pull request Dec 24, 2022
Mathlib Commit : 207cfac9fcd06138865b5d04f7091e46d9320432

Co-authored-by: Arien Malec <arien.malec@gmail.com>
Co-authored-by: Reid Barton <rwbarton@gmail.com>
@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Dec 24, 2022
@bors
Copy link

bors bot commented Dec 24, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat: port Control.Fix [Merged by Bors] - feat: port Control.Fix Dec 24, 2022
@bors bors bot closed this Dec 24, 2022
@bors bors bot deleted the Control_Fix branch December 24, 2022 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mathlib-port This is a port of a theory file from mathlib. ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants