Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 5.30 — progress of a simple, well-linked program

Disproved
MPSTAsync.Progress.corollary_5_30

by mikedeng1 · Oct 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

deadlock-freedomp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1progresssession-types

Let PPP 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 PPP 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 P′P'P′ reachable from PPP either is structurally congruent to inaction or takes another reduction step:

P⟶∗P′⟹P′≡0∨∃P′′  P′⟶P′′.P\longrightarrow^*P'\quad\Longrightarrow\quad P'\equiv 0\quad\lor\quad\exists P''\;P'\longrightarrow P''.P⟶∗P′⟹P′≡0∨∃P′′P′⟶P′′.

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 000 by structural congruence, which removes empty queues. One hypothesis closes a gap of the printed statement: some simple typing gives every free name of PPP a shared sort ⟨G⟩\langle G\rangle⟨G⟩. A program may keep free names, and with x:boolx:\mathsf{bool}x:bool the program if x then 0 else 0\mathsf{if}\ x\ \mathsf{then}\ 0\ \mathsf{else}\ 0if x then 0 else 0 is simple, well-linked and stuck, because xxx evaluates to no Boolean.

Preamble
import Definitions.Def_MPSTAsync_Progress_Activity

set_option autoImplicit false
Formal statement
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
Source
Honda, Yoshida, Carbone, Multiparty Asynchronous Session Types, J. ACM 63(1) (2016), Art. 9, p. 37, Corollary 5.30, https://doi.org/10.1145/2827695
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 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