Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

COROLLARY 1, p. 604 — a node of rank k has at least F_{k+2} ≥ φ^k descendants, including itself

Proved
FibHeap.Amort.corollary_1

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

fibonacci-heapfibonacci-numbersgolden-ratiop2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1rank

Let S\mathcal SS be a collection of F-heaps obtained from no heaps by an arbitrary sequence of F-heap operations, and let xxx be a node of rank kkk in a heap of S\mathcal SS. Write size(x)\mathrm{size}(x)size(x) for the number of descendants of xxx, including xxx itself, FkF_kFk​ for the kkkth Fibonacci number (F0=0F_0 = 0F0​=0, F1=1F_1 = 1F1​=1, Fk=Fk−2+Fk−1F_k = F_{k-2} + F_{k-1}Fk​=Fk−2​+Fk−1​ for k≥2k \ge 2k≥2) and φ=(1+5)/2\varphi = (1+\sqrt5)/2φ=(1+5​)/2 for the golden ratio. Then

size(x)  ≥  Fk+2  ≥  φk.\mathrm{size}(x) \;\ge\; F_{k+2} \;\ge\; \varphi^{k} .size(x)≥Fk+2​≥φk.

This is the source of the name "Fibonacci heap": it bounds the rank of every node by a logarithm of the heap's size.

Formalization Note The statement quantifies over reachable collections only.

Preamble
import Mathlib
import Definitions.Def_FibHeap_Amort_Model
Formal statement
namespace FibHeap.Amort
theorem corollary_1 (s : Coll) (hs : Reachable s) :
    ∀ r ∈ s, ∀ τ ∈ r, ∀ x ∈ τ.subtrees,
      Nat.fib (x.rank + 2) ≤ x.size ∧
        Real.goldenRatio ^ x.rank ≤ (Nat.fib (x.rank + 2) : ℝ) := by sorry
end FibHeap.Amort
Source
Fredman and Tarjan, Fibonacci heaps and their uses in improved network optimization algorithms, J. ACM 34 (1987), p. 604, COROLLARY 1
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me