Corollary 5.30 — progress of a simple, well-linked program
DisprovedMPSTAsync.Progress.corollary_5_30Let be a program in the sense of Definition 2.1: up to structural congruence it has no queues or restricted session channels and has no free session channels or process variables. Suppose is simple, meaning that it admits a restricted well-formed typing derivation, and well-linked, meaning that every reachable active shared-name prefix belongs to a redex. Assume also that its free names have shared sorts (no free Boolean variables). Then every process reachable from either is structurally congruent to inaction or takes another reduction step:
The result rules out stuck intermediate states for this class of multiparty asynchronous programs.
Formalization Note The existential typing witness is part of Simple; no separate typing hypothesis is added. The endpoint of a completed restricted session is compared with by structural congruence, which removes empty queues. One hypothesis closes a gap of the printed statement: some simple typing gives every free name of a shared sort . A program may keep free names, and with the program is simple, well-linked and stuck, because evaluates to no Boolean.
import Definitions.Def_MPSTAsync_Progress_Activity set_option autoImplicit false
namespace MPSTAsync.Progress
theorem corollary_5_30 (P : Proc) (hprog : IsProgram P)
(hsimple : Simple P) (hwl : WellLinked P)
(hshared : ∃ Γ q Δ, Γ.WellFormed ∧ RTypedSimple Γ P q Δ ∧
∀ a ∈ P.freeNames, ∃ G, (a, ValSort.shared G) ∈ Γ.names) :
∀ P', Relation.ReflTransGen Reduces P P' →
Congr P' .nil ∨ ∃ P'', Reduces P' P'' := by sorry
end MPSTAsync.Progress
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.