Nonpositive sharing gives the full floor over separate costs
ProvedAPFB05.whole_ge_parts_add_floor_of_no_sharingapffoundation-ledgersib-v52-2026-11
Under guarded B05, tested support novelty and ledger admissibility before and after insertion, assume k(S)+k(T)<=k(S union T), equivalently sharedCost(S,T)<=0. Then k(S)+k(T)+epsilon<=k(insert r (S union T)). Equality of shared cost to zero is not required.
Preamble
import Definitions.Def_APF_B05_DeclaredInput_r2
import Definitions.Def_APFPaper5_K1_SharedCost
import Mathlib.Tactic.Linarith
set_option autoImplicit false
open APFPaper1.Source APFPaper5.K1
variable {Context : Type*} {D P R Record : Context → Type*} [∀ g, DecidableEq (D g)]
(wholeResource : (g : Context) → P g → R g)
(calibration : (g : Context) → R g → NNReal)
(maintained : (g : Context) → P g → Set (Record g))
(sufficient : (g : Context) → P g → Set (Record g) → D g → Prop)
(usesToRealize : (g : Context) → P g → D g → Set (Record g) → Prop)
(tested : (g : Context) → D g → Prop)
(C epsilon : Context → ℝ)
Formal statement
theorem APFB05.whole_ge_parts_add_floor_of_no_sharing
(hB05 : APFB05.MarginalFloor wholeResource calibration maintained sufficient usesToRealize
tested C epsilon)
(g : Context) (S T : Finset (D g)) (r : D g) (htested : tested g r)
(hU : familyAdmissible (wholeResource g) (calibration g) (maintained g)
(sufficient g) (usesToRealize g) (C g) (S ∪ T))
(hW : familyAdmissible (wholeResource g) (calibration g) (maintained g)
(sufficient g) (usesToRealize g) (C g) (insert r (S ∪ T)))
(hnew : supportNovel (wholeResource g) (calibration g) (maintained g)
(sufficient g) (usesToRealize g) (S ∪ T) r)
(hind : familyCost (wholeResource g) (calibration g) (maintained g)
(sufficient g) (usesToRealize g) S +
familyCost (wholeResource g) (calibration g) (maintained g)
(sufficient g) (usesToRealize g) T ≤
familyCost (wholeResource g) (calibration g) (maintained g)
(sufficient g) (usesToRealize g) (S ∪ T)) :
familyCost (wholeResource g) (calibration g) (maintained g)
(sufficient g) (usesToRealize g) S +
familyCost (wholeResource g) (calibration g) (maintained g)
(sufficient g) (usesToRealize g) T + epsilon g ≤
familyCost (wholeResource g) (calibration g) (maintained g)
(sufficient g) (usesToRealize g) (insert r (S ∪ T)) := by sorry
Source
Theorems/Thm_APFB05_relation_residue.lean:96