Original selected task deployment and own account
DefinitionAPFTF1Sourceapftf1
Formal coverage of existing original source content. Primary original operational occupancy and pointwise joint-service inhabitance are retained physical source inputs, not newly derived existence. The checked erasure runs TO old SourceB06, with no generic converse. Original protocol, task, support, full occurrence and own account stay matched. Written source meaning, executable witnesses, Lean proof and recursive foundation acceptance are distinct. Independent scientific review accepted the exact original-source formalization and its foundation correspondence; this record retains that scope. No observed execution, changed output, full transport or quantum reconstruction claim.
Definition code
import Definitions.Def_APFOriginalAdmissionSource
import Definitions.Def_APFOriginalUseParts
/-! AWO170 selected revision02. Primary original source presentation.
Physical interpretations/every-only scope are in SOURCE_MAP.md, not consequences
of validity for arbitrary parameters. Only the selected request is reified. -/
set_option autoImplicit false
universe uO
namespace APFTF1
open APFOriginalProcess APFOriginalSource APFUpstreamOccupant
open APFPaper1.Foundation APFOriginalFinitePossibilities APFOriginalAdmission
open APFOriginalUseParts
variable {Γ : Type*} {Raw FullProcess Resource Support : Γ → Type*}
variable [∀ γ, AddCommMonoid (Resource γ)] [∀ γ, Preorder (Resource γ)]
structure UseSource (T : OriginalTyping Γ FullProcess)
(protocols : ∀ γ, Set (FullProcess γ))
(A : ∀ γ, Account (R := Resource γ) (protocols γ)) where
occurrence : ∀ (γ : Γ) (q : FullProcess γ) (x : Raw γ), Raw ((T γ).outputContext q) → Type uO
account : ∀ {γ q x b}, occurrence γ q x b → AccountView (protocols γ) q
within : ∀ {γ q x b} (ρ : occurrence γ q x b), BudgetContent (A γ) (account ρ)
variable {T : OriginalTyping Γ FullProcess}
variable {protocols : ∀ γ, Set (FullProcess γ)}
variable {A : ∀ γ, Account (R := Resource γ) (protocols γ)}
def UseSource.judgment (U : UseSource (Raw := Raw) T protocols A) :
JudgmentFamily (Raw := Raw) T protocols A :=
fun γ q x b v _ => ∃ ρ : U.occurrence γ q x b, U.account ρ = v
def UseSource.admissionOf (U : UseSource (Raw := Raw) T protocols A)
{γ q x b} (ρ : U.occurrence γ q x b) :
Admission T protocols A U.judgment γ q x b :=
⟨U.account ρ, U.within ρ, ⟨ρ, rfl⟩⟩
abbrev Profile (U : UseSource (Raw := Raw) T protocols A) (γ : Γ) :=
Cont T (fullUse T protocols A U.judgment) γ
abbrev Task (U : UseSource (Raw := Raw) T protocols A)
(D : ∀ γ, Set (PhysicalState (Profile U γ) → Bool)) (γ : Γ) :=
OriginalTask (Profile U γ) (D γ)
abbrev Focus (U : UseSource (Raw := Raw) T protocols A)
(D : ∀ γ, Set (PhysicalState (Profile U γ) → Bool)) :=
Σ γ, ProtocolView (protocols γ) × Task U D γ
def WholeUse (U : UseSource (Raw := Raw) T protocols A) (γ : Γ)
(p : ProtocolView (protocols γ)) (x : Raw γ)
(b : Raw ((T γ).outputContext p.val)) :=
{ρ : U.occurrence γ p.val x b // U.account ρ = AccountView.originalWhole p.property}
abbrev Fulfillment (U : UseSource (Raw := Raw) T protocols A)
{D : ∀ γ, Set (PhysicalState (Profile U γ) → Bool)} (f : Focus U D) :=
∀ (σ : Set (Support f.1)) (x : Raw f.1)
(b : Raw ((T f.1).outputContext f.2.1.val)), WholeUse U f.1 f.2.1 x b → Prop
structure Deployment (U : UseSource (Raw := Raw) T protocols A)
{D : ∀ γ, Set (PhysicalState (Profile U γ) → Bool)}
(f : Focus U D) (Φ : Fulfillment (Support := Support) U f)
(σ : Set (Support f.1)) where
input : Raw f.1
boundary : Raw ((T f.1).outputContext f.2.1.val)
use : WholeUse U f.1 f.2.1 input boundary
fulfills : Φ σ input boundary use
abbrev OrdinaryUse (U : UseSource (Raw := Raw) T protocols A)
(D : ∀ γ, Set (PhysicalState (Profile U γ) → Bool)) :=
∀ γ, ProtocolView (protocols γ) → Task U D γ → Set (Support γ) → Prop
inductive UseEvidence (U : UseSource (Raw := Raw) T protocols A)
(D : ∀ γ, Set (PhysicalState (Profile U γ) → Bool)) (f : Focus U D)
(ordinaryUse : OrdinaryUse (Support := Support) U D)
(Φ : Fulfillment (Support := Support) U f) :
∀ γ, ProtocolView (protocols γ) → Task U D γ → Set (Support γ) → Type _
| ordinary {γ p d σ} (notFocus : (⟨γ, p, d⟩ : Focus U D) ≠ f)
(uses : ordinaryUse γ p d σ) : UseEvidence U D f ordinaryUse Φ γ p d σ
| focused (σ : Set (Support f.1)) (w : Deployment U f Φ σ) :
UseEvidence U D f ordinaryUse Φ f.1 f.2.1 f.2.2 σ
structure TaskSource (U : UseSource (Raw := Raw) T protocols A)
(D : ∀ γ, Set (PhysicalState (Profile U γ) → Bool)) (f : Focus U D) where
ordinaryUse : OrdinaryUse (Support := Support) U D
fulfillment : Fulfillment (Support := Support) U f
maintained : ∀ γ, ProtocolView (protocols γ) → Set (Support γ)
sufficient : ∀ γ, ProtocolView (protocols γ) → Set (Support γ) → Task U D γ → Prop
jointClass : ∀ γ, Finset (Task U D γ) → Set (ProtocolView (protocols γ))
joint_support : ∀ γ S p, p ∈ jointClass γ S → ∀ d ∈ S,
∃ σ, σ ⊆ maintained γ p ∧ sufficient γ p σ d ∧
Nonempty (UseEvidence U D f ordinaryUse fulfillment γ p d σ)
physical : ∀ γ (d : Task U D γ), (∃ a b, d.val a ≠ d.val b) ∧
∃ p σ, σ ⊆ maintained γ p ∧ sufficient γ p σ d ∧
Nonempty (UseEvidence U D f ordinaryUse fulfillment γ p d σ)
def TaskSource.toRelations {U : UseSource (Raw := Raw) T protocols A}
{D : ∀ γ, Set (PhysicalState (Profile U γ) → Bool)} {f : Focus U D}
(E : TaskSource (Support := Support) U D f) (γ : Γ) :
Relations (R := Resource γ) (Record := Support γ) (Profile U γ) (D γ) (protocols γ) where
maintained := E.maintained γ
sufficient := E.sufficient γ
usesToRealize := fun p d σ => Nonempty (UseEvidence U D f E.ordinaryUse E.fulfillment γ p d σ)
jointClass := E.jointClass γ
joint_support := E.joint_support γ
physical := E.physical γ
def SelectedSourceB06 {U : UseSource (Raw := Raw) T protocols A}
{D : ∀ γ, Set (PhysicalState (Profile U γ) → Bool)} {f : Focus U D}
(E : TaskSource (Support := Support) U D f)
(actualJoint : Set (Σ γ, OriginalAlignment (Profile U γ) (D γ))) : Prop :=
∃ o : OriginalAlignment (Profile U f.1) (D f.1),
(⟨f.1, o⟩ : Σ γ, OriginalAlignment (Profile U γ) (D γ)) ∈ actualJoint ∧
o.carried.Nonempty ∧ f.2.2 ∈ o.carried ∧
originalCost (toOriginalData (A f.1) (E.toRelations f.1)) o.carried ≤
((A f.1).capacity : ENNReal) ∧
f.2.1 ∈ (E.toRelations f.1).jointClass o.carried ∧
∃ (x : Raw f.1) (b : Raw ((T f.1).outputContext f.2.1.val))
(u : Admission T protocols A U.judgment f.1 f.2.1.val x b),
u.view = AccountView.originalWhole f.2.1.property
end APFTF1
Source
P1 original source; exact local package and acceptance evidence must accompany release.