/-- Constant ratios mean an exponential model: if `u (n + 1) = b * u n` for every `n`, then
`u n = u 0 * b ^ n`. Hint: `induction n with`; in the successor step rewrite with `h n`, the
induction hypothesis and `pow_succ`, then finish with `ring`. -/
theorem exponential_of_const_ratio (u : ℕ → ℝ) (b : ℝ) (h : ∀ n, u (n + 1) = b * u n) (n : ℕ) :
u n = u 0 * b ^ n := by
sorryShow the compiled solution
/-- **Constant ratios mean an exponential model.** If each value is `b` times the one before,
then `u n = u 0 · bⁿ`. Induction on `n`. -/
theorem exponential_of_const_ratio (u : ℕ → ℝ) (b : ℝ) (h : ∀ n, u (n + 1) = b * u n) (n : ℕ) :
u n = u 0 * b ^ n := by
induction n with
| zero => simp
| succ n ih => rw [h n, ih, pow_succ]; ringAxioms used: propext, Classical.choice, Quot.soundformal/Lumenary/ModellingWithFunctions.leanTry it in the Lean web editor