team_T2_get
lemmaverified
The k-th entry of the list 0,b,...,0 is 0 at even k and b at odd k.
Statement
lemma team_T2_get (b : ℝ) (m : ℕ) (k : ℕ) (hk : k < (team_T2 b m).length) : (team_T2 b m)[k] = if k % 2 = 0 then 0 else b
- Source
- step towards team_thm4_part2_false / team_thm4_part2_exists_false (The Team Order Problem: Maximizing the Probability of Matching Being Large Enough, SAGT 2024 (arXiv:2605.21234), Section 6, Theorem 4(2))
- Verified
- 06 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- team_T2The list 0, b, 0, b, …, b, 0 (m copies of b).
- Used by 1
- team_rot_list2The edge probabilities of the rotation in the strengthened instance are 3/4 - 3tau/2, 3/4 - 3tau/2, followed by 0, 1-2tau, 0, ..., 0.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
lemma team_T2_get (b : ℝ) (m : ℕ) (k : ℕ) (hk : k < (team_T2 b m).length) : (team_T2 b m)[k] = if k % 2 = 0 then 0 else b := by induction m generalizing k with | zero => simp [team_T2] at hk subst hk; simp [team_T2] | succ m ih => match k, hk with | 0, _ => simp [team_T2] | 1, _ => simp [team_T2] | k + 2, hk => simp only [team_T2, List.getElem_cons_succ] rw [ih k (by simp [team_T2] at hk; omega)] simp