Proof of Karlin-Rubin's theorem
Statement
I asked this question on Math Exchange, but as I did not receive a successful answer, maybe you could help me.
Karlin-Rubin's theorem states conditions under which we can find a uniformly most powerful test (UMPT) for a statistical hypothesis:
Suppose a family of density or mass functions and we want to test If the likelihood ratio is monotone on a statistic (that is, for every fixed in , the ratio is nondecreasing on as a function of , interpreting if ), then the test of critical region , where is chosen so that , is the UMPT of size .
In all the proofs I have read (for instance, in page 22 here or in "Statistical inference" by Casella-Berger, 2n edition, page 391), it is (more or less) said: "we can find such that, if , then …
Posed by user39756 · pr.probability, real-analysis, st.statistics
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-259598.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-259598.lean
import Mathlib /-! # Proof of Karlin-Rubin's theorem Source: https://mathoverflow.net/questions/259598 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_259598 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_259598