An occupied residue bound under the explicit held-relation reading
ProvedAPFB06.held_relation_residue_r2apfapf-referencesib-v52-2026-11
Assume the shared guarded B05, B06 instantiated at the specified physical-domain pullback and extensional service class, profile descent hresp, and explicit hread that every actual joint alignment holds a tested support-novel relation. Some actual alignment holds a nonempty S and r outside S, with positive epsilon, and for every decomposition S1 union S2=S the whole-minus-parts residue is at least epsilon minus sharedCost(S1,S2).
Preamble
import Definitions.Def_APF_B05_DeclaredInput_r2
import Definitions.Def_APFPaper5_K1_SharedCost
import Theorems.Thm_APFB06_needsNewRecord_iff_inside_held
import Theorems.Thm_APFB06_heldRelationExists_of_alignments_hold_relation
import Theorems.Thm_APFB06_held_relation_pays_floor
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 → ℝ)
namespace APFB06
end APFB06
open APFB06
Formal statement
theorem APFB06.held_relation_residue_r2
{Context : Type*} {X Q Resource Record : Context → Type*}
(Cont : (g : Context) → X g → Q g → Prop)
(Delta : (g : Context) → (X g → Bool) → Prop)
[∀ g, DecidableEq {d : X g → Bool // Delta g d}]
(hresp : ∀ (g : Context) (d : {d : X g → Bool // Delta g d}) (x y : X g),
Cont g x = Cont g y → d.val x = d.val y)
(protocols : (g : Context) → Set (Q g))
(maintained : (g : Context) → {p // p ∈ protocols g} → Set (Record g))
(sufficient : (g : Context) → {p // p ∈ protocols g} → Set (Record g) →
{d : X g → Bool // Delta g d} → Prop)
(usesToRealize : (g : Context) → {p // p ∈ protocols g} →
{d : X g → Bool // Delta g d} → Set (Record g) → Prop)
(wholeResource : (g : Context) → {p // p ∈ protocols g} → Resource g)
(calibration : (g : Context) → Resource g → NNReal)
(C : Context → NNReal)
(tested : (g : Context) → {d : X g → Bool // Delta g d} → Prop)
(epsilon : Context → ℝ)
(actualJoint : Set (Sigma fun g =>
OriginalAlignment (Cont g) (physicalDomain (Cont g) (Delta g) (hresp g))))
(hB05 : APFB05.MarginalFloor
wholeResource calibration maintained sufficient usesToRealize tested
(fun g => (C g : ℝ)) epsilon)
(hB06 : AmendedB06_20260914 Cont
(fun g => physicalDomain (Cont g) (Delta g) (hresp g)) protocols
(fun g => extensionalJoint (maintained g)
(fun p s t => sufficient g p s (taskEquiv (Cont g) (Delta g) (hresp g) t))
(fun p t s => usesToRealize g p (taskEquiv (Cont g) (Delta g) (hresp g) t) s))
wholeResource calibration C actualJoint)
(hread : ∀ o : Sigma fun g =>
OriginalAlignment (Cont g) (physicalDomain (Cont g) (Delta g) (hresp g)),
o ∈ actualJoint →
AlignmentHoldsRelation (Cont o.1) (Delta o.1) (hresp o.1) (wholeResource o.1)
(calibration o.1) (maintained o.1) (sufficient o.1) (usesToRealize o.1) (tested o.1) o.2) :
∃ o : Sigma fun g => OriginalAlignment (Cont g) (physicalDomain (Cont g) (Delta g) (hresp g)),
o ∈ actualJoint ∧ 0 < epsilon o.1 ∧
∃ (S : Finset {d : X o.1 → Bool // Delta o.1 d}) (r : {d : X o.1 → Bool // Delta o.1 d}),
S.Nonempty ∧ r ∉ S ∧
insert r S ⊆ heldDistinctions (Cont o.1) (Delta o.1) (hresp o.1) o.2 ∧
∀ S1 S2 : Finset {d : X o.1 → Bool // Delta o.1 d}, S1 ∪ S2 = S →
epsilon o.1 - sharedCost (familyCost (wholeResource o.1) (calibration o.1)
(maintained o.1) (sufficient o.1) (usesToRealize o.1)) S1 S2 ≤
familyCost (wholeResource o.1) (calibration o.1) (maintained o.1) (sufficient o.1)
(usesToRealize o.1) (insert r S) -
familyCost (wholeResource o.1) (calibration o.1) (maintained o.1) (sufficient o.1)
(usesToRealize o.1) S1 -
familyCost (wholeResource o.1) (calibration o.1) (maintained o.1) (sufficient o.1)
(usesToRealize o.1) S2 := by sorry
Source
Theorems/Thm_APFB05_relation_residue.lean:125
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.