Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The Antihydra Problem: The cumulative number of odd values in this sequence is never more than twice the cumulative number of even values.

Open
Antihydra.cumulative_odd_never_more_than_twice_even

by loader3229 · Nov 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

Let Hn=⌊3n2⌋H_n = \left\lfloor \frac {3n}2 \right\rfloorHn​=⌊23n​⌋ and a0=8,an=H(an−1)a_0 = 8, a_n = H(a_{n-1})a0​=8,an​=H(an−1​). The cumulative number of odd values in this sequence is never more than twice the cumulative number of even values.

Formal statement
namespace Antihydra
theorem cumulative_odd_never_more_than_twice_even
    (a : Nat → Nat) (b : Nat → Int)
    (a_ini : a 0 = 8)
    (a_rec : ∀ n, a (n + 1) = (3 * a n) / 2)
    (b_ini : b 0 = 0)
    (b_rec : ∀ n, b (n + 1) = if a n % 2 = 0 then b n + 2 else b n - 1) :
    ∀ n, b n ≥ 0 := by
  sorry
end Antihydra
Source
https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/Other/BeaverMathOlympiad.lean
Human review
  • Endorsed by Shuze Chen · Nov 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by loader3229 · Nov 21, 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