fin_cases i
d : ℕ
inst✝ : NeZero d
w : Weight 2 d
h : normalized w
i : Fin (Nat.succ 2)
⊢ w i = of_fraction d (w 2 - w 1) (w 1) i
case head
d : ℕ
inst✝ : NeZero d
w : Weight 2 d
h : normalized w
⊢ w { val := 0, isLt := (_ : 0 < Nat.succ 2) } =
    of_fraction d (w 2 - w 1) (w 1) { val := 0, isLt := (_ : 0 < Nat.succ 2) }

case tail.head
d : ℕ
inst✝ : NeZero d
w : Weight 2 d
h : normalized w
⊢ w { val := 1, isLt := (_ : (fun a => a < Nat.succ 2) 1) } =
    of_fraction d (w 2 - w 1) (w 1) { val := 1, isLt := (_ : (fun a => a < Nat.succ 2) 1) }

case tail.tail.head
d : ℕ
inst✝ : NeZero d
w : Weight 2 d
h : normalized w
⊢ w { val := 2, isLt := (_ : (fun a => (fun a => a < Nat.succ 2) a) 2) } =
    of_fraction d (w 2 - w 1) (w 1) { val := 2, isLt := (_ : (fun a => (fun a => a < Nat.succ 2) a) 2) }