Lean-Workbook Syntax 45249: Counting integers coprime to n
ProvedWorkbookSyntax.plus_45249lean-workbookrepaired-notationsource-checked
For every natural , the number of integers with and equals .
Source: Lean-Workbook row lean_workbook_plus_45249 (Apache-2.0), original record. This corrected declaration replaces the obsolete finite sum/product binder in with ∈ and restores required imports or namespaces. Ranges, casts, quantifiers, and mathematical expressions are preserved.
Preamble
import Mathlib.Data.Nat.Totient
Formal statement
theorem WorkbookSyntax.plus_45249 : ∀ n : ℕ, 1 < n → ∑ k ∈ Finset.filter (fun k => Nat.gcd k n = 1) (Finset.Icc 1 n), 1 = Nat.totient n := by sorry
Source