A formal theory of paradigmatic futures as composable algebraic structures.
Badges resolve to concept DOIs (always the latest version). Cite a specific version with its pinned DOI (see Citation).
Status: Phase 6 ✅ — v0.2 live on Zenodo (supersedes v0.1). Lean: 0 errors, 1 documented sorry on parTensor_comm_iso.phi, no others. Next: ACT 2027.
Track: Theory (public) + Applied formalization (private)
Latest: Level 1 positioning paper, 12 pages — Zenodo v0.2.
Composable Future: An Algebraic Theory of Paradigmatic Transitions I Made Agus Kresna Sucandra — Fakultas Kedokteran, Universitas Udayana Version 0.2, May 2026
DOIs — v0.2: 10.5281/zenodo.20250638 · Concept: 10.5281/zenodo.19433810 · v0.1: 10.5281/zenodo.19433811
Comments welcome — see v0.2 release notes for changes since v0.1.
Composable Future is a coined term for a structure not currently named in the literature.
The central claim: paradigmatic futures have the algebraic properties of composable types. They can be combined without either being destroyed, sequenced without loss of identity, and the result of composition is itself a valid future that can be further composed.
A falsifiable test distinguishing genuine paradigm shifts from rebranded compositions: if a claimed "new paradigm" can be expressed as a finite term in the pre-existing operator set without loss, it is a composition. If expression requires a new operator that did not previously exist, it is an extension. Real shifts: backprop (1986), attention mechanism (2017), score-matching (2020). Rebranded compositions: most "new paradigms" including current "Agentic AI" (LLM + tool-calling + retrieval + control flow).
This is distinct from:
- Convergence — which implies two things merging into one fixed outcome
- Futures studies — which models scenarios qualitatively, not algebraically
Future<T>in async programming — which operates on computations, not paradigms
A Future F is a 4-tuple:
F = (S₀, τ, S₁, Φ)
| Symbol | Meaning |
|---|---|
S₀ |
Current paradigmatic state — existing assumptions, constraints, infrastructure |
τ |
Trajectory — mechanism of change; carries path : List ParadigmaticState (ADR-0002) |
S₁ |
Reachable paradigmatic state |
Φ |
Affordance set — futures compositionally accessible from S₁ (stored field, ADR-0005) |
ADR-0005 (Done, 2026-05-15 — state-anchored): Φ is a stored field. The
literal Set ComposableFuture was kernel-rejected (strict positivity:
Set T = T → Prop is a negative occurrence), so Φ : Set ParadigmaticState
stores the affordance anchor states; the paper's 𝒫(F) is recovered by the
projection afforded F := {G | G.S₀ ∈ F.Φ}, proved content-equivalent to
AffordanceSet F.S₁ for well-formed futures (afforded_eq_affordanceSet).
Option B preserved: idFuture S carries Φ = {S}, so
afforded (idFuture S) = AffordanceSet S — the null future preserves all
affordances accessible from S because a transition that changes nothing changes
nothing about what is accessible. The terminate operator (Paper 2, unary) is
what genuinely zeros affordances, distinguished from identity by its resource
signature under Coecke–Fritz–Spekkens enrichment.
v0.2 derived-Φ (superseded): The interim 3-tuple derivation resolved a universe mismatch but
created a paper/Lean theory split. ADR-0005's state-anchored 4-tuple closes that split.
See docs/adr/0005-restore-4tuple.md.
Four primitive operations over futures (Paper 1 scope):
A >>= B sequential A's S₁ becomes B's S₀; result carries Φ^B
A ⊗ B parallel both proceed; result carries Φ^A × Φ^B
A | B fork branch point — one path realized; result carries Φ^A ⊔ Φ^B
A ⊕ B merge two independent futures reconverge (symmetric case only)
Scope note: A fifth unary operator — terminate/prune — exists in the informal algebra but is deferred to Paper 2, where it becomes substantive under resource enrichment (Landauer erasure, irreversibility). Paper 1's merge covers the symmetric case only; absorptive merge (asymmetric resource transfer + source termination) is a Paper 2 question.
Identity
F >>= Id = F and Id >>= F = F
Where Id_S is the null future at S — a transition that changes nothing and preserves all
affordances accessible from S. Identity holds for well-formed futures (F.τ.source = F.S₀,
F.τ.target = F.S₁, F.Φ = {F.S₁} — equivalently afforded F = AffordanceSet F.S₁).
right_identity is substantive in the Φ conjunct (#print confirms it uses
hF.2.2, not rfl/Subsingleton; depends only on propext).
Remark (revision of preprint Remark 4.1): The affordance set of F >>= Id_S₁ equals F.Φ,
not ∅. The null future preserves affordances; it does not eliminate them. Termination —
the operation that genuinely zeros affordances — is the terminate operator of Paper 2.
Associativity
(A >>= B) >>= C = A >>= (B >>= C)
*Status: Proved — five independent theorems, all substantive, 0 sorry.*
Laws.seqBind_assoc: unconditional for allComposableFutureviaList.append_assocEffect.EffectfulFuture.seq_assoc: value-less indexed futuresEffect.EffectfulComputation.bind_assoc: indexed monad with valuesIndexed.IndexedFuture.assoc: graded monad (indexed byTrajectoryType)Stateless.assoc_stateless: stateless subtype (specialization)
Commutativity of parallel
A ⊗ B ≠ B ⊗ A (in general)
*Status: Structurally witnessed; commutativity up to isomorphism proved at the
state/trajectory level (OP3 ✅). Affordance-level commutativity
(parTensor_comm_iso.phi) reduces to type-level A×B = B×A and is the one
documented Phase-4 sorry — same univalence limitation as
parTensor_not_comm_of_type_ne.*
Paper 1 (current) Foundational algebra
4-tuple F=(S₀,τ,S₁,Φ), four operators, identity/closure/associativity
Kleisli probabilistic extension
Venue: LMCS (primary), ACT 2027 (conference)
Zenodo concept (latest): doi.org/10.5281/zenodo.19433810 — currently v0.2 (…20250638)
Paper 2 (planned) Enriched Composable Future
τ enriched with time (Lawvere over (ℝ₊,+,0)) + resources (Coecke–Fritz–Spekkens 2016)
Terminate operator (unary) — substantive under resource enrichment
Absorptive merge — symmetric vs asymmetric question
Venue: Theory and Applications of Categories (TAC) or JPAA
Paper 3 (draft) Applied mapping — Meadows leverage levels
Backed by Paper 2 enrichment machinery
Systems-thinking venue (PLOS ONE or similar)
Blocked on Paper 2
Scope discipline: three papers, individually publishable, sequence reflects formal dependency. Paper 2 not strictly blocked on Paper 1's publication; enrichment works over premonoidal bases.
| Structure | Condition | Status |
|---|---|---|
| Category | Identity + associativity + closure | ✅ Proved (Paper 1) |
| Monoid | Category + single object | Under investigation |
| Monad | Monoid + return + associativity |
Requires Paper 1 complete |
| Enriched category | τ with (time, resource) signatures | Paper 2 target |
| Fibered category | Path-dependent τ |
Subsumed by indexed resolution |
| Formalism | Role in this theory |
|---|---|
| Category theory | Backbone — objects, morphisms, composition |
| Process algebra (CSP/CCS) | Formal semantics for ⊗, |, ⊕ |
| Modal / temporal logic (CTL*) | Grounding S₁ as a distribution over reachable states |
| Coalgebra | State-transition structure per future |
| Affordance theory (Chemero) | Relational ontology of Φ — not a property of S₁ alone |
| Dependent type theory | Φ as a dependent type over S₁ |
| Resource theory (CFS 2016) | Paper 2 — enrichment of τ with convertibility preorder |
| Lawvere enrichment | Paper 2 — time signature over (ℝ₊,+,0) |
Phase 0 Define F precisely — prove identity law ✅
Phase 1 Prove closure under >>= and ⊗ ✅
Phase 2 Settle associativity ✅ (5 theorems)
Phase 3 Probabilistic extension — Kleisli / Markov kernels ✅
Phase 4 Formalize Φ as dependent type / effect system ✅
Phase 5 Mechanized proof — ADR-0005 ✅; ADR-0003 Path 3 ✅ ✅ (amended gate)
Phase 6 Paper/Lean coherence + preprint v0.2 ✅ (v0.2 live)
Zenodo preprint v0.1 ← doi.org/10.5281/zenodo.19433811 (superseded)
↓
Zenodo preprint v0.2 (live) ← doi.org/10.5281/zenodo.20250638 · concept: …19433810
↓
ACT 2027 conference ← positioning paper, right community, seeds journal citation
↓
LMCS submission ← Logical Methods in Computer Science (diamond open access)
↓
Paper 2 (TAC/JPAA) ← enriched CF; cites Paper 1
↓
Paper 3 (systems venue) ← Meadows mapping; cites Papers 1 and 2
Resolved:
- OP1: Associativity ✅ Five independent Lean theorems, all substantive (ADR-0002)
- OP2: Φ well-definedness ✅ superseded by ADR-0005 state-anchored stored field
- OP3: Equivalence relation ✅
FutureIso(+phi) +PathIso+TrajectoryEquiv(2026-05-15) - OP4: Affordance composition ✅
seqBind_Φ_eq+ membership theorems - ADR-0003 gap ✅ closed as a decision (Path 3 final): strict
≠is independent of Lean's axioms; the categorically correct result isparTensor_comm_iso(commutativity up to iso)
Active:
- OP5: Completeness — trivial form closed by type; non-trivial form deferred
- Phase-4 carry-over —
parTensor_comm_iso.phi(affordance-level SMC commutativity; needs univalence; one documentedsorry)
Critique-driven (identified 2026-05-15) — ✅ all applied in v0.2:
- C1: State identity criterion — equality not specified in paper; Lean uses propositional equality;
FutureIsoprovides weaker notion. ✅ Applied (v0.2): Remark after Def 2.1. - C2: OP1 status — paper claimed unresolved; Lean resolves it. ✅ Applied (v0.2): preprint status updated.
- C3: Affordance circularity —
FcontainsΦ,Φ : S₁ → 𝒫(F). A storedSet ComposableFutureis not admissible in Lean 4 (strict-positivity violation, kernel-verified); Lean storesSet ParadigmaticStateanchors and recovers𝒫(F)viaafforded, content-equivalent toAffordanceSet F.S₁. ✅ Applied (v0.2): Remark after Def 2.2. - C4: Path-dependence — resolved;
List.append_assocargument. ✅ Applied (v0.2): §4.3 revised. - C5: Semantic level mixing — morphism vs affordance vs probabilistic readings. ✅ Applied (v0.2): §2.5 added.
- C6: Fork/merge temporal semantics — placeholder implementations. ✅ Applied (v0.2): deferral Remark in §3.3–3.4.
- C7: CT maximalism — every proved claim needs Lean theorem tag. ✅ Applied (v0.2): footnote tags.
- C8: Falsifiability — answered by the composition vs extension test (see The Claim above). ✅ Applied (v0.2): §8 worked instance.
Post-critique pre-upload coherence pass (v0.2) — ✅ applied: \cite{orchard2014}×3 + Wang citation; OP-numbering leak removed; §3.4/§4.1.5 stated in Lean state-anchored encoding; §6 𝒫→𝒟 kernel notation; §8 schema-level falsifiability caveat; "Phase-4 sorry" → reader-facing phrasing; systemic citation author-duplication (\cite→\citeyearpar) and Şahin Turkish-character rendering fixed; version stamp.
composable-future/
├── README.md
├── TODO.md
├── CONTRIBUTING.md
├── search.py
├── refinement.py
├── audit/
│ ├── domain-1-category-theory.md
│ ├── domain-2-paradigm-change.md
│ ├── domain-3-process-algebra.md
│ ├── domain-4-affordance-theory.md
│ ├── domain-5-futures-formalization.md
│ └── gap-summary.md
├── docs/
│ ├── constraints.md
│ └── adr/
│ ├── 0001-record-proof-decisions.md
│ ├── 0002-trajectory-enrichment.md # Accepted (2026-05-13)
│ ├── 0003-noncommutativity-strategy.md # Accepted — Revised (2026-05-08)
│ ├── 0004-pmf-mathlib-upgrade.md # Accepted (2026-05-07)
│ └── 0005-restore-4tuple.md # Accepted (2026-05-15) ← NEW
├── lean/
│ ├── lakefile.lean
│ ├── lean-toolchain
│ ├── ComposableFuture.lean
│ └── Core/
│ ├── Future.lean
│ ├── Operators.lean
│ ├── Laws.lean
│ ├── Stateless.lean
│ ├── Indexed.lean
│ ├── WeakAssoc.lean
│ ├── Probabilistic.lean
│ ├── Affordance.lean
│ ├── Effect.lean
│ └── Equivalence.lean
├── paper/
│ ├── composable-future-level1.tex
│ ├── composable-future-level1.pdf
│ └── references.bib
└── proofs/
├── notes.md
├── stateless-case.md
└── attempt-associativity.md
| Phase | Description | Status | Gate condition |
|---|---|---|---|
| 0 | Audit + repo foundation | ✅ complete | All 5 syntheses filled; DOI live |
| 1 | Lean 4 scaffold | ✅ complete | lake build passes, no sorry |
| 2 | Stateless associativity proof | ✅ complete | assoc_stateless + indexed monad + paper |
| 3 | Probabilistic extension | ✅ complete | Kleisli proved (no sorry); Mathlib PMF |
| 4 | Φ as dependent type | ✅ complete | OP1–OP4 resolved; v0.2 derived-Φ |
| 5 | Full mechanized proof | ✅ complete | ADR-0005 ✅ + ADR-0003 Path 3 ✅; 0 errors, 1 documented Phase-4 sorry (amended gate) |
| 6 | Paper/Lean coherence + v0.2 | ✅ complete | Lean 4-tuple = paper 4-tuple; Zenodo v0.2 live (10.5281/zenodo.20250638) |
-
ADR-0005 ✅ complete — state-anchored 4-tuple in Lean (Option B)
Φ : Set ParadigmaticStatefield (literalSet ComposableFuturekernel-rejected)idFuture ScarriesΦ = {S};affordedrecoversAffordanceSet Swell_formedextended withF.Φ = {F.S₁}; all operators propagate Φ- Gate met:
lake buildclean,right_identitysubstantive (noSubsingleton), only the documented Phase-4parTensor_comm_iso.phisorryremains
-
ADR-0003 gap ✅ closed — Path 3 final (decision, no code); strict
≠independent of Lean's axioms;parTensor_comm_isois the categorically correct result -
Preprint v0.2 ✅ complete — eight critique responses (C1–C8) + Remark 4.1 revision + Paper 2/3 forward pointer + Lean theorem tags + pre-upload coherence/rendering pass; live on Zenodo (v0.2
10.5281/zenodo.20250638; concept10.5281/zenodo.19433810; supersedes v0.110.5281/zenodo.19433811) -
ACT 2027 submission — next; check the annual CFP (typically January deadline); submit the positioning paper + Lean artifact reference
curl -sSf https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh | sh
cd lean && lake build # 0 errors; only expected warning: parTensor_comm_iso.phi (documented Phase-4 sorry)All 5 domain syntheses filled; 166 papers reviewed. Do not run search.py or refinement.py.
Cite the pinned v0.2 version DOI (reviewers/reproducibility). For a
forever-latest link, use the concept DOI 10.5281/zenodo.19433810.
@software{sucandra_composable_future_lean_2026_v02,
author = {Sucandra, I Made Agus Kresna},
title = {{Lean 4 Mechanization of `Composable Future:
An Algebraic Theory of Paradigmatic Transitions'}},
year = {2026},
month = may,
publisher = {Zenodo},
version = {0.2},
doi = {10.5281/zenodo.20300703},
url = {https://doi.org/10.5281/zenodo.20300703}
}Theory and audit materials: CC BY 4.0 Code: MIT