lean_workbook_plus_40308
ProvedFor all,n : (if n is odd ,then ) and ( if n is even,then ).\nNow let us see if logic allows for that definition.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_40308 (n : ℕ) (a : ℕ → ℕ) (h₁ : ∀ n, Odd n → a n = 0) (h₂ : ∀ n, Even n → a n = n / 2) : (∀ n, (Odd n ∨ Even n) → a n = 0 ∨ a n = n / 2) := by sorry
Source