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

Variable Mixed Up in Knuth's Optimization lemma proof #1219

Open
kayuwg opened this issue Jan 12, 2024 · 0 comments
Open

Variable Mixed Up in Knuth's Optimization lemma proof #1219

kayuwg opened this issue Jan 12, 2024 · 0 comments

Comments

@kayuwg
Copy link

kayuwg commented Jan 12, 2024

https://cp-algorithms.com/dynamic_programming/knuth-optimization.html
In the proof of the lemma, this line:

Using the QI on $C$ and on the dp state for the indices $z+1 \leq y+1 \leq c \leq d$ (from the induction hypothesis) yields the desired result.

should be:

Using the QI on $C$ and on the dp state for the indices $a \leq b \leq z \leq y$ (from the induction hypothesis) yields the desired result.

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

1 participant