Skip to content

pos-+-commute vs pos-distrib-* in lib-1.5 #1454

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

Closed
mechvel opened this issue Mar 27, 2021 · 2 comments
Closed

pos-+-commute vs pos-distrib-* in lib-1.5 #1454

mechvel opened this issue Mar 27, 2021 · 2 comments

Comments

@mechvel
Copy link
Contributor

mechvel commented Mar 27, 2021

Data.Integer.Properties declares

pos-+-commute : ℕtoℤ.Homomorphic₂ +_ ℕ._+_ _+_
...
pos-distrib-* : ∀ x y → (+ x) * (+ y) ≡ + (x ℕ.* y) 

Probably the latter needs to be

pos-distrib-* :   ∀ x y → + (x ℕ.* y)   ≡  (+ x) * (+ y)

-- to follow the format of "something distributes over _*_".
Or may be

pos-*-commute  :   ∀ x y → + (x ℕ.* y)   ≡  (+ x) * (+ y)

-- to follow the format of pos-+-commute.
?

@gallais
Copy link
Member

gallais commented Mar 27, 2021

Is this #501?

@mechvel
Copy link
Contributor Author

mechvel commented Mar 27, 2021

Yes,
withdraw this my issue, please.
I vote for #501.

@mechvel mechvel closed this as completed Mar 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants