Proof of Proposition 3.13(1), p. 20 — linearity of an n-th unfolding implies linearity after one unfolding
ProvedMPSTAsync.Linearity.linear_one_of_linear_nlinearityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1process-calculussession-typesunfolding
Let be a well-formed global type and let . If its -th finite unfolding is linear, then its one-time unfolding is linear:
This is the reverse direction singled out in the proof of Proposition 3.13(1), and it makes the finite one-time test a necessary condition for linearity at every later unfolding.
Formalization Note WellFormed G makes explicit the paper's standing guarded-recursion and closed carried-type conventions, together with its stated shape conventions. Unfolding does not enter carried types. The lower bound is taken from Appendix A's induction and excludes the paper's zero-unfolding counterexample. The statement uses no hypothesis about folding or dependency chains.
Preamble
import Mathlib import Definitions.Def_MPSTAsync_Linearity_Linearity
Formal statement
namespace MPSTAsync.Linearity
theorem linear_one_of_linear_n (G : GType) (hG : WellFormed G) (n : ℕ) (hn : 1 ≤ n) :
Linear (unfold n G) → Linear (unfold 1 G) := by sorry
end MPSTAsync.Linearity
Source
Honda, Yoshida, Carbone, Multiparty Asynchronous Session Types, J. ACM 63(1) (2016), Art. 9, p. 20, proof of Proposition 3.13(1); https://doi.org/10.1145/2827695
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.