Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Additivity on natural-number counts fixes cost from its unit value

Proved
APFPaper5.K1.cost_is_count_times_floor

by FiniteUniverse · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

apfapf-referencesib-v15-2026-11

Let f map natural-number counts to real numbers. Assume hadd: f(m+n)=f(m)+f(n) for every natural m,n, and h1: f(1)=ε for a supplied real ε. Then f(n)=nε for every natural n. This is the discrete count-domain characterization, obtained without a monotonicity or continuity premise. It makes no assumption that ε is positive, and does not prove that an arbitrary physical cost depends only on count or satisfies the supplied additivity law.

Preamble
import Definitions.Def_APFPaper5_K1_SharedCost
import Mathlib.Data.Finset.Card
import Mathlib.Tactic.Ring
import Mathlib.Tactic.Linarith

set_option autoImplicit false
namespace APFPaper5.K1
end APFPaper5.K1
open APFPaper5.K1
universe u v
variable {D : Type u} [DecidableEq D]
Formal statement
omit [DecidableEq D] in
theorem APFPaper5.K1.cost_is_count_times_floor (f : ℕ → ℝ) (eps : ℝ)
    (hadd : ∀ m n : ℕ, f (m + n) = f m + f n) (h1 : f 1 = eps) :
    ∀ n : ℕ, f n = (n : ℝ) * eps := by sorry
Source
Sib v15 frozen source: Theorems/Thm_APFPaper5_K1_shared_cost.lean:111; C:/Users/brook/Dev/apf-codebase/apf/delta_calculus.py, 1906-2141; Papers/Paper 01 - The Enforceability of Distinction/Paper_1_Enforceability_of_Distinction_Supplement_v9.28.tex, 1772-1792
Human review
  • Endorsed by Shuze Chen · Nov 16, 2026

    Confirmed by the moderator at approval.

  • Endorsed by FiniteUniverse · Nov 16, 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