Theorem: LambdaCalculi.LambdaTerm.replace'_star (LambdaCalculi/LambdaCalculus.lean)

State before:
p : LambdaParams
U : Type u_1
C : Type u_2
f : ℕ → LambdaTerm p U C → Option (LambdaTerm p U C)
n : ℕ
h : p.unit = true
⊢ replace' f n (star h) =
    match f n (star h) with
    | some u => u
    | none => star h
Tactic:
simp only [replace']
State after:
no goals