Skip to content

Exercise 1.17 solved#65

Merged
arademaker merged 3 commits into
arademaker:mainfrom
jhorn26:main
Jul 9, 2026
Merged

Exercise 1.17 solved#65
arademaker merged 3 commits into
arademaker:mainfrom
jhorn26:main

Conversation

@GabrielJP314

@GabrielJP314 GabrielJP314 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Proving that $\texttt{replace} \circ \mathrm{foldr}\; f\; 0 = \mathrm{foldr}\; f\; 0$ using the more restricted proviso of the fusion law for $\texttt{foldr}$.

@GabrielJP314

Copy link
Copy Markdown
Contributor Author

I forgot to create a new branch. So exercise 1.18 is also in this PR.

@arademaker

Copy link
Copy Markdown
Owner

I will accept and make a local review.

@arademaker arademaker merged commit 858ad94 into arademaker:main Jul 9, 2026
@arademaker

Copy link
Copy Markdown
Owner

I simplified the proofs, added some comments, and renamed the theorem.

@arademaker

Copy link
Copy Markdown
Owner

Thank you

@GabrielJP314

Copy link
Copy Markdown
Contributor Author

Thank you. I don't know if you also reviewed exercise 1.18, but it's solved too. Just forgot to create a new PR for it.

@arademaker

Copy link
Copy Markdown
Owner

@GabrielJP314, thank you for calling my attention to 1.18. I added a docstring.

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

Successfully merging this pull request may close these issues.

2 participants