pith. machine review for the scientific record. sign in
theorem proved tactic proof

log_phi_gt_0481

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

 239theorem log_phi_gt_0481 : (0.481 : ℝ) < log Real.goldenRatio := by

proof body

Tactic-mode proof.

 240  rw [Real.lt_log_iff_exp_lt Real.goldenRatio_pos]
 241  have hx_pos : (0 : ℝ) ≤ (0.481 : ℝ) := by norm_num
 242  have hx_le1 : (0.481 : ℝ) ≤ 1 := by norm_num
 243  have h_bound := Real.exp_bound' hx_pos hx_le1 (n := 10) (by norm_num : 0 < 10)
 244  have h_taylor_eq : (∑ m ∈ Finset.range 10, (0.481 : ℝ)^m / m.factorial) =
 245      (exp_taylor_10_at_0481 : ℝ) := by
 246    simp only [exp_taylor_10_at_0481, Finset.sum_range_succ, Finset.sum_range_zero, Nat.factorial]
 247    norm_num
 248  have h_err_eq : (0.481 : ℝ)^10 * (10 + 1) / (Nat.factorial 10 * 10) =
 249      (exp_error_10_at_0481 : ℝ) := by
 250    simp only [exp_error_10_at_0481, Nat.factorial]
 251    norm_num
 252  have h_lt := exp_0481_lt_phi
 253  calc Real.exp (0.481 : ℝ)
 254      ≤ (∑ m ∈ Finset.range 10, (0.481 : ℝ)^m / m.factorial) +
 255        (0.481 : ℝ)^10 * (10 + 1) / (Nat.factorial 10 * 10) := h_bound
 256    _ = (exp_taylor_10_at_0481 : ℝ) + (exp_error_10_at_0481 : ℝ) := by rw [h_taylor_eq, h_err_eq]
 257    _ < ((161803395 / 100000000 : ℚ) : ℝ) := by exact_mod_cast h_lt
 258    _ = (1.61803395 : ℝ) := by norm_num
 259    _ < Real.goldenRatio := phi_gt_161803395
 260
 261/-- Taylor sum for exp at x = 483/1000 (rational) -/

used by (2)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (9)

Lean names referenced from this declaration's body.