-
Notifications
You must be signed in to change notification settings - Fork 275
[Add] Division properties for Nat, Integer, and Rational #2962
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
Open
aortega0703
wants to merge
30
commits into
agda:master
Choose a base branch
from
aortega0703:division-properties
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 18 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
7516f2f
n/1=n Integer proof
aortega0703 38f1348
Integer n/Nd = 0 iff n < d, kinda
aortega0703 81738ce
Integer n/d = 0 iff n < d, kinda
aortega0703 5d7bc76
Rational.Unnormalised, /-mono-<
aortega0703 9c8f6f1
Rational.Unnormalised, /-mono-<=
aortega0703 f692204
Rational.Unnormalised /-distrib-+
aortega0703 45338a6
Integer, n<0 implies n/Nd<0
aortega0703 0a8c903
Nat, suc m % d = suc k implies m % d = k
aortega0703 8b2b8ca
Nat, suc n % d > 0 implies suc n / d = n / d
aortega0703 509aac7
Integer, /N mono<= left
aortega0703 954c424
Integer, /N-mono-r-<=nonNeg
aortega0703 cb004f2
Integer, 0/n=0
aortega0703 2f4ef4b
simplify proofs
aortega0703 ca33ad7
Integer, /N-monor-<=-nonPos
aortega0703 07dd874
Integer, /-monol-\<= pos and neg
aortega0703 057a4e6
Integer, /-monor-\<= nonPos and nonNeg, for equal signs
aortega0703 343175b
Integer, /-monor-\<= nonPos and nonNeg, for opposite signs
aortega0703 568d2a8
update CHANGELOG.md
aortega0703 614b7d9
Rational.Unnormalized, n/d = [n/a]*[a/d]
aortega0703 de24c92
Merge branch 'master' of github.com:agda/agda-stdlib into division-pr…
aortega0703 b3c3ee4
Split n/d≡0⇒∣n∣<∣d∣ into n/d≡0⇒n<∣d∣ and n/d≡0⇒nonNeg-n
aortega0703 877acc1
Extract sn%d≡0⇒-[1+n]/ℕd≡-[1+n/d] into its own proof
aortega0703 694496a
n/d≡[n/a]*[a/d] for (normalized) Rational
aortega0703 244429c
/-distribʳ-+ for (normalized) Rational
aortega0703 0d44fe8
/-mono for (normalized) Rationals
aortega0703 8c5aeb3
Update CHANGELOG.md
aortega0703 10a2309
Update CHANGELOG.md
aortega0703 3d3773e
change n-m to n₁-n₂ to suggest _numerator_
aortega0703 9cd9be1
remove reduntant proof of '/-distribʳ-+' (under the name 'i/n+j/n≡[i+…
aortega0703 eea8994
change n₁-n₂ to i-j
aortega0703 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.