-
Notifications
You must be signed in to change notification settings - Fork 70
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
Refactoring positive integers #1059
Conversation
fixes type inference in other modules
9d96f19
to
ad138be
Compare
src/elementary-number-theory/inequality-integer-fractions.lagda.md
Outdated
Show resolved
Hide resolved
src/elementary-number-theory/positive-and-negative-integers.lagda.md
Outdated
Show resolved
Hide resolved
I quite like your organization of the concepts into their own files + a file about the relations between them. But if I didn't misunderstand @EgbertRijke rather wanted one file for all 5? Maybe he can comment on that. |
Your work looks pretty good so far by the way! |
Co-authored-by: Fredrik Bakke <[email protected]>
Co-authored-by: Fredrik Bakke <[email protected]>
Co-authored-by: Fredrik Bakke <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the library, I believe "inequality" is the name we use for the standard ordering on integers and so on. We shouldn't introduce "standard inequality" as an extra term for the same thing.
src/elementary-number-theory/inequality-integer-fractions.lagda.md
Outdated
Show resolved
Hide resolved
src/elementary-number-theory/inequality-integer-fractions.lagda.md
Outdated
Show resolved
Hide resolved
…a.md Co-authored-by: Fredrik Bakke <[email protected]>
…a.md Co-authored-by: Fredrik Bakke <[email protected]>
Ok. I chose |
src/elementary-number-theory/inequality-natural-numbers.lagda.md
Outdated
Show resolved
Hide resolved
src/elementary-number-theory/inequality-natural-numbers.lagda.md
Outdated
Show resolved
Hide resolved
src/elementary-number-theory/inequality-rational-numbers.lagda.md
Outdated
Show resolved
Hide resolved
src/elementary-number-theory/strict-inequality-natural-numbers.lagda.md
Outdated
Show resolved
Hide resolved
src/elementary-number-theory/strict-inequality-integer-fractions.lagda.md
Outdated
Show resolved
Hide resolved
I think your choice is very sensible, and I can't see why it is a mistake. It seemed rather arbitrary how the prose kept switching between the two terms before. |
Co-authored-by: Fredrik Bakke <[email protected]>
I like the current version of things, so I think this PR should be merged after my final suggestions have been implemented |
well, each contributor will have its own prose and preferred terms so I guess this is bound to happen somehow. But it does give a kind of "organic" touch. As a reader, it's nice to feel that this was written by humans and that it's not just a juxtaposition of automatically derived proofs and generated text.
thx. I also quite liked how it all turned out. Thank you again for all your time and dedication. |
Thank you! If you don't mind, may I keep myself as co-author of this contribution? Reviewers are automatically added as co-authors when you accept one of their suggestions, but we have a policy that we do not preserve co-authorship status in these cases unless the submitter agrees to it. Normally I wouldn't even ask, but given that we've worked so closely on this one it seems fitting to keep my name on it. I do not mean to take any credit away from you though, you definitely deserve most of it for your hard work! |
Of course! I wouldn't have it any other way. I may have written most of the new code but I definitely consider we worked together on this. (and this goes for any future collaborations; I trust your judgment on your level of contribution). |
Merged! |
Resolves #1043.