Documentation

Collatz.Tree

Section 1: Inductive Definition #

Membership in the Collatz preimage tree rooted at 1. Built by iterating preimage operations backward from 1: every n has even preimage 2n, and odd preimage (n-1)/3 precisely when n ≡ 4 (mod 6).

Instances For

    Section 2: Basic Members #

    Section 3: Tree → Converges #

    Section 4: Backward Closure #

    If collatz n is in the tree, then n is in the tree. This is the key lemma: it lets us "pull back" tree membership through any single Collatz step.

    Section 5: Converges → Tree #

    Section 6: Equivalence #

    Section 7: Conjecture Reformulation #

    theorem Collatz.collatz_conjecture_iff_tree :
    (∀ (n : ), 1 nCollatzConverges n) ∀ (n : ), 1 nCollatzTree n

    The Collatz conjecture, reformulated: every positive integer belongs to the preimage tree rooted at 1.

    Section 8: Tree Structure Properties #

    theorem Collatz.CollatzTree.pos {n : } (h : CollatzTree n) :
    0 < n