Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A qualified two-step chain yields an original composite result — original source

Proved
APFSourceBoundOutput.qualified_two_step_composite

by FiniteUniverse · Sep 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

apfoutput-path

A supplied two-step chain yields an original composite result when its specified procedure has actual recovery, full physical qualification and the complete composite’s whole-load bound. Individual-step budgets alone do not establish those conditions.

The existing general physical-fact source and approved original possible-result meaning are supplied explicitly. Full B01 is consumed through its existing fixed field. The original qualified C2 clause is separately declared and projected without dropping any recovery, qualification or whole-load condition. Source laws remain adopted inputs; this theorem proves their stated application.

This result concerns already-supplied original processes and possibilities. It supplies no changing process, new path existence, deterministic output, automatic composite qualification or full physical transport.

Preamble
import Definitions.Def_APFOriginalResultBinding
import Definitions.Def_APFOriginalC2Binding
import Theorems.Thm_APFOriginalC2_qualified_two_step_composite
import Definitions.Def_APFOriginalC2
import Theorems.Thm_APFOutputRelation_original_output_occurrence_lift

set_option autoImplicit false
open APFOriginalC2
open APFTF1 APFOriginalProcess APFOriginalSource APFUpstreamOccupant
open APFPaper1.Foundation APFOriginalFinitePossibilities APFOriginalAdmission
variable {Γ : Type*} {Raw FullProcess Resource : Γ → Type*}
variable [∀ γ, AddCommMonoid (Resource γ)] [∀ γ, Preorder (Resource γ)]
variable {T : OriginalTyping Γ FullProcess}
variable {P : ∀ γ, Set (FullProcess γ)}
variable {A : ∀ γ, Account (R := Resource γ) (P γ)}
open APFOutputRelation
variable (U : UseSource (Raw := Raw) T P A)

Formal statement
theorem APFSourceBoundOutput.qualified_two_step_composite (S : APFOriginalResultBinding.ContextFacts U)
    (K : APFOriginalResultBinding.PossibleResultCoverage U S)
    (C : OriginalC2Presentation U) (laws : APFOriginalC2Binding.OriginalQualifiedC2Clauses U C)
    {γ : Γ} (p : FullProcess γ) (q : FullProcess ((T γ).outputContext p))
    (r : ProtocolView (P γ)) (s : C.Procedure p q r)
    (a : PhysicalState (Profile U γ))
    (b : PhysicalState (Profile U ((T γ).outputContext p)))
    (c : PhysicalState (Profile U ((T ((T γ).outputContext p)).outputContext q)))
    (x : Raw γ) (hx : physicalClass (Profile U γ) x = a)
    (qualifiedChain : ∃ (y : Raw ((T γ).outputContext p))
      (z : Raw ((T ((T γ).outputContext p)).outputContext q))
      (ρp : U.occurrence γ p x y)
      (ρq : U.occurrence ((T γ).outputContext p) q y z) (rec : C.Recovery s),
      physicalClass (Profile U ((T γ).outputContext p)) y = b ∧
      physicalClass (Profile U ((T ((T γ).outputContext p)).outputContext q)) z = c ∧
      C.Qualification s rec ρp ρq ∧
      (A γ).calibration ((A γ).wholeResource r) ≤ (A γ).capacity) :
    outputRelation U r.val a (castState U (C.output_context s).symm c) ∧
    ∃ (v : Raw ((T γ).outputContext r.val)) (ρr : U.occurrence γ r.val x v),
      physicalClass (Profile U ((T γ).outputContext r.val)) v =
        castState U (C.output_context s).symm c ∧
      (U.admissionOf ρr).view = U.account ρr ∧ BudgetContent (A γ) (U.account ρr) := by
  sorry
Source
APF Paper 1 Supplement v9.27: full B01(1057–1064), original relational reach and C2(1223–1254), typed partial process structure(3187–3228); independently accepted output/path and original-source-binding packages,20 September2026.
Human review
  • Endorsed by Shuze Chen · Nov 18, 2026

    Confirmed by the moderator at approval.

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