The Antihydra Problem: The cumulative number of odd values in this sequence is never more than twice the cumulative number of even values.
OpenAntihydra.cumulative_odd_never_more_than_twice_evenLet and . 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 AntihydraSource
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.