each eq floor of sum le
ProvedAPFPaper1.Source.each_eq_floor_of_sum_leapfapf-referencepullbacks-v46-2026-11
Result: each eq floor of sum le. All parameters and hypotheses are retained in the declaration below.
theorem each_eq_floor_of_sum_le {Record : Type*} (N : Finset Record) (cost : Record → ℝ) (eps : ℝ)
(hfloor : ∀ a ∈ N, eps ≤ cost a) (hatt : ∑ a ∈ N, cost a ≤ (N.card : ℝ) * eps) :
∀ a ∈ N, cost a = eps
Module context and limits: For a finite record set, each cost equals epsilon exactly when each is at least epsilon and their sum is at most cardinality times epsilon. The family-cost version assumes exact occupancy. Neither the individual floor nor aggregate attainment follows here from A2 or the installed inputs.
Source scope parameters:
variable {D P R Record : Type*}
(wholeResource : P → R) (calibration : R → NNReal)
(maintained : P → Set Record)
(sufficient : P → Set Record → D → Prop)
(usesToRealize : P → D → Set Record → Prop)
(cost : Record → ℝ)
Public reference result; this record does not establish Foundation admission, physical K1–K4 closure, a forced transfer or Born-rule derivation.
Preamble
import Theorems.Thm_APFPaper1_Source_maintained_eq_needs_of_occupant import Theorems.Thm_APFPaper1_Source_familyCost_eq_bill_of_occupant import Theorems.Thm_APFPaper1_Source_familyCost_eq_sum_of_occupant import Theorems.Thm_APFPaper1_Source_paid_new_record_of_floor import Theorems.Thm_APFB06_ResidueWorldR2_every_nonempty_family_occupied import Theorems.Thm_APFB06_OverheadWorld_occupant_single_A import Theorems.Thm_APFB06_OverheadWorld_occupant_single_B import Theorems.Thm_APFB06_OverheadWorld_occupant_pair import Theorems.Thm_APFB06_OverheadWorld_pair_has_no_occupant import Theorems.Thm_APFB06_DiscountWorld_occupant_single_A import Theorems.Thm_APFB06_DiscountWorld_occupant_single_B import Theorems.Thm_APFB06_DiscountWorld_occupant_pair import Theorems.Thm_APFB06_DiscountWorld_pair_has_no_occupant import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.Tactic.Linarith set_option autoImplicit false universe apfNative_u_1
Formal statement
theorem APFPaper1.Source.each_eq_floor_of_sum_le :
∀ {Record : Type apfNative_u_1} (N : Finset.{apfNative_u_1} Record) (cost : Record → Real) (eps : Real)
(hfloor :
∀ (a : Record),
@Membership.mem.{apfNative_u_1, apfNative_u_1} Record (Finset.{apfNative_u_1} Record)
(@SetLike.instMembership.{apfNative_u_1, apfNative_u_1} (Finset.{apfNative_u_1} Record) Record
(@Finset.instSetLike.{apfNative_u_1} Record))
N a →
@LE.le.{0} Real Real.instLE eps (cost a))
(hatt :
@LE.le.{0} Real Real.instLE
(@Finset.sum.{apfNative_u_1, 0} Record Real Real.instAddCommMonoid N fun (a : Record) => cost a)
(@HMul.hMul.{0, 0, 0} Real Real Real (@instHMul.{0} Real Real.instMul)
(@Nat.cast.{0} Real Real.instNatCast (@Finset.card.{apfNative_u_1} Record N)) eps))
(a : Record),
@Membership.mem.{apfNative_u_1, apfNative_u_1} Record (Finset.{apfNative_u_1} Record)
(@SetLike.instMembership.{apfNative_u_1, apfNative_u_1} (Finset.{apfNative_u_1} Record) Record
(@Finset.instSetLike.{apfNative_u_1} Record))
N a →
@Eq.{1} Real (cost a) eps := by sorry
Source
['Theorems.Thm_APFPaper1_record_costs_at_the_floor:38; pullbacks v46; source SHA-256 60adfdb21f52a79559d37b5a0aa1cc347d7d84b1d463185d24c05583035d4af5']