The Neyman-Pearson lemma states that, for testing one simple hypothesis with density against another with density , a size- test that rejects for the largest values of the likelihood ratio is most powerful among all tests of size at most , with boundary randomization if needed.
Solved by gpt-5.6-sol high.
Codex Wiki