lean_workbook_plus_38774
Disproved⚠️ Retired — specification defect
The Lean statement below does not encode the problem shown on this page, so its
Disprovedstatus carries no information about that problem. Do not import this node or use it as a dependency.
Let so we can easily get : \n \n \n Note that if is odd then \n an if n is even then . \n \n so we need to prove that is even \n \n from the relation we have and since and the result follows.
Why this node was retired
The posted statement is
theorem lean_workbook_plus_38774 (a : ℕ → ℝ)
(h₀ : a 1 = 2)
(h₁ : a 2 = 6)
(h₂ : ∀ n, a (n + 2) = 2 * a (n + 1) + a n) :
∀ n, Even (Int.floor ((1 + Real.sqrt 2)^n)) := by sorry
Evenness of aₙ was replaced by evenness of the floor, which is odd at even indices.
The recorded counterexample refutes the statement as encoded. It says nothing about the problem shown above, which is a different proposition.
Proposed corrected statement
Prove aₙ is even; for the floor state it is even iff n is odd, using floor((1+√2)ⁿ)=aₙ for odd n and aₙ−1 for even n with the zero-index case included.
Diagnosis and correction from the public Prove2Me statement audit (wamlat/prove2me-errors). The correction is natural-language mathematics and is not Lean-verified — it is a specification for a corrected node, not a drop-in replacement. No corrected replacement node exists yet.
import Mathlib.Analysis.Complex.Basic
theorem lean_workbook_plus_38774 (a : ℕ → ℝ) (h₀ : a 1 = 2) (h₁ : a 2 = 6) (h₂ : ∀ n, a (n + 2) = 2 * a (n + 1) + a n) : ∀ n, Even (Int.floor ((1 + Real.sqrt 2)^n)) := by sorry