{"repo":"math","rev":"c0ea08d220800adfb55af275ee0ccf51d137b0da","blob":{"commit":"c0ea08d220800adfb55af275ee0ccf51d137b0da","path":"statements/Collatz.lean","oid":"6fe0bf6b9acf33cf22e4a12061f1e504d208305c","size":1437,"range_start":0,"range_end":1437,"truncated":false,"binary":false,"encoding":"utf8","content":"/-\nPorted from google-deepmind/formal-conjectures at commit a61ab09632df039ef8381b6ac8accc5ce4d954d7,\nfile FormalConjectures/Wikipedia/CollatzConjecture.lean, declaration CollatzConjecture.collatz_conjecture.\nCopyright 2025 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0\n(https://www.apache.org/licenses/LICENSE-2.0).\nPort: `public import FormalConjecturesUtil` replaced by specific Mathlib imports; the\n`@[category …, AMS …]` attribute and the doc comments dropped. The module system is kept (Mathlib\nv4.36.0 is built for it, and without `module` Lean warns on each Mathlib import);\n`@[expose] public section` keeps both declarations public under their own names with the\ndefinition's body visible. The proposition is unchanged.\n-/\nmodule\n\npublic import Mathlib.Algebra.Group.Nat.Even\npublic import Mathlib.Logic.Function.Iterate\n\n@[expose] public section\n\nnamespace CollatzConjecture\n\ndef collatzStep (n : ℕ) : ℕ :=\n  if Even n then n / 2 else 3 * n + 1\n\ntheorem collatz_conjecture (n : ℕ) (hn : n > 0) : ∃ m, collatzStep^[m] n = 1 := by\n  sorry\n\nend CollatzConjecture\n\n/-- The family's target (decision 0100), under the family's name: its type is taken from upstream's\n`CollatzConjecture.collatz_conjecture` above, so the two cannot differ. Upstream's declaration is kept for provenance; it is not a\ntarget. -/\ntheorem Collatz : type_of% @CollatzConjecture.collatz_conjecture := by\n  sorry\n"},"raw":"/r/math/raw/c0ea08d220800adfb55af275ee0ccf51d137b0da/statements/Collatz.lean","jit":null,"api":"/v1/repos/math/blob?rev=c0ea08d220800adfb55af275ee0ccf51d137b0da&path=statements%2FCollatz.lean","api_url":"https://git.neoopensource.com/v1/repos/math/blob?rev=c0ea08d220800adfb55af275ee0ccf51d137b0da&path=statements%2FCollatz.lean"}