Commit 2023-09-22 08:17 1d02ef70

View on Github →

feat: Zeckendorf's theorem (#6880) Prove Zeckendorf's theorem: Every natural number can be written uniquely as a sum of distinct non-consecutive Fibonacci numbers. Instead of proving an ExistsUnique statement, I define an equivalence between natural numbers and Zeckendorf representations.

Estimated changes

added theorem Nat.fib_add_one
added theorem Nat.fib_eq_zero
added theorem Nat.fib_lt_fib
modified theorem Nat.fib_pos
added theorem Nat.fib_strictMonoOn
added theorem Nat.le_fib_add_one