lean_workbook_plus_34897
ProvedFind all functions such that for any positive integers and the number is a prime number only and only if the number is a prime number.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_34897 (f : ℕ → ℕ) (hf: ∀ a b c : ℕ, Nat.Prime (a - b + (b + c - f b) * c + 2 * f b + f (3 * c - 2)) ↔ Nat.Prime (2 * a + (f a - a + 3 * c) + f (f b) + f (c ^ 2) - f a - 2)) : ∀ a b c : ℕ, Nat.Prime (a - b + (b + c - f b) * c + 2 * f b + f (3 * c - 2)) ↔ Nat.Prime (2 * a + (f a - a + 3 * c) + f (f b) + f (c ^ 2) - f a - 2) := by sorry
Source