Independent scholarship · Open accessThe monthly digest

Full manuscript · browser edition

An ∞-Topos Semantics for a Communist Collective of Computing Agents

Continuous, single-column reading. Equations, tables, proofs, references and appendices stay in document order.

Contents · 25 sections

An ∞\infty-Topos Semantics for a CommunistCollective of Computing Agents
Common ownership, resource-sensitive planning,and higher coherence

Abstract

We give a mathematical specification of a collective of computing agents whose productive assets are held in common, whose members have equal constitutional standing, and whose resources are allocated by admitted need rather than by ownership claims. The collective is a structured object in an ∞\infty-topos of sheaves of spaces; irreversible executions form a separate internal (∞,1)(\infty,1)-category. Dependent types express ownership, resource feasibility, authorization, and preservation obligations. We prove an invariant-preservation theorem, a finite quorum-intersection theorem, an exact rational allocation theorem, and a descent theorem for coherently compatible local states. We also prove that deterministic anonymous allocation of one indivisible resource is impossible at a fully symmetric state, and express this obstruction as the absence of a section of an associated bundle over a classifying space. Univalence identifies equivalent structured presentations, while homotopy quotients retain their automorphisms. A four-agent example and an exact-arithmetic verification supplement make the finite fragment explicit. The construction supplies a semantics and conditional correctness results; political axioms, authenticated membership, resource measurements, and protocol progress remain separately stated assumptions.

Keywords: ∞\infty-topos; homotopy type theory; collective ownership; distributed governance; resource allocation; homotopy quotient.

Purpose, scope, and contribution

A collection of networked computers becomes a collective only after rules have been specified for membership, productive assets, access to results, and the authority to allocate resources. A graph records connectivity but does not by itself specify these institutions. A higher categorical semantics can express their composition and coherence, provided the institutional requirements are supplied as explicit mathematical data.

We use communist collective for the particular constitutional model in Definition 3: productive assets have a common owner, membership carries equal voting standing, and allocation is determined by admitted needs and available common capacity. This is an operational definition for computing agents, not an exhaustive definition of historical or political communism. Its distinction between productive contribution and distribution by need is motivated by Marx’s discussion in Part I of the Critique of the Gotha Programme [1]. An agent’s “need” here is an admitted resource requirement for a service or task; no claim about machine consciousness is required.

The paper has three levels. The ambient semantics is an ∞\infty-topos. The constitution is a record of types, operations, and propositions internal to that semantics. The execution model is a directed higher category whose permitted operations satisfy the constitution. None of these levels can be substituted for another: common ownership is not a colimit, a path is not a CPU instruction, and a sheaf condition is not a consensus algorithm.

The principal results are as follows.

  1. A constitutional invariant is preserved by every finite certified execution, and transfers to an implementation through a step-preserving interpretation (Theorem 4).

  2. A finite quorum condition rules out conflicting certificates under an explicit non-equivocation hypothesis (Theorem 7).

  3. A closed rational formula maximizes the guaranteed fraction of admitted demand in a divisible-resource model (Theorem 10).

  4. Coherent local certified states admit a global state with a contractible space of compatible gluings (Theorem 12). Mere local existence does not supply those coherences.

  5. A symmetric indivisible allocation problem admits no deterministic anonymous selector; randomized allocation has a different codomain and avoids this particular obstruction (Theorem 14).

The background mathematics is established. Higher topos theory supplies descent and effective groupoid quotients [2]; homotopy type theory supplies dependent and identity types [3]; Shulman’s semantics supplies strict univalent universes [4]. Complete Segal objects provide the directed categorical layer [5]. Riehl–Shulman type theory is a relevant syntactic framework for directed higher categories [6]. Resource theories [7] and multi-resource fairness [8] provide related computational perspectives. The contribution is the specified combination of these structures and the explicit implications and obstructions for this constitutional model. The elementary allocation and quorum arguments are not claimed as new general optimization or consensus theorems.

Ambient semantics and the meaning of a witness

The site and its ambient topos

Fix a small Grothendieck site (C,J)(\mathcal C,J). An object UU of C\mathcal C represents an observational context, such as a local view of a system and its available evidence. A morphism V→UV\to U specifies a restriction of view. The topology JJ records which families of views are declared to constitute a cover. Its choice is part of the model: a network link alone does not establish a covering family.

Let S\mathcal S denote the ∞\infty-category of spaces and set X=Shv⁡S(C,J),LJ:Fun⁡(Cop,S)⇄X:i.\mathcal X=\operatorname{Shv}_{\mathcal S}(\mathcal C,J),\qquad L_J:\operatorname{Fun}(\mathcal C^{\mathrm{op}},\mathcal S)\rightleftarrows\mathcal X:i. Here LJL_J is the accessible left exact sheafification functor and ii is the fully faithful inclusion. Thus X\mathcal X is an ∞\infty-topos. We use ordinary sheaf descent, not an additional assumption of hypercompleteness. For the trivial topology this is a presheaf ∞\infty-topos; for the one-object terminal site it is S\mathcal S.

An object F∈XF\in\mathcal X gives a space F(U)F(U) of admissible observations in each context. Points of F(U)F(U) are presentations, paths compare equivalent presentations, and higher paths express coherences between those comparisons. These interpretations must be specified for each object; no physical equivalence is inferred merely by placing two descriptions in the same type.

We work with a hierarchy of sufficiently large universes and consider only universe-bounded data. The ∞\infty-topos can be presented so as to interpret dependent sums, dependent products, identity types, and strict univalent universes [4]. We use 1\mathbf 1 for the terminal object, 0\mathbf 0 for the empty type, Prop\mathsf{Prop} for mere propositions, and Set\mathsf{Set} for 00-truncated types. A mere proposition has at most one point up to a contractible choice; a set has proposition-valued identity types.

Internal logic

In the internal language, a family B:A→UB:A\to\mathcal U is represented by a dependent object over AA. The type ∑a:AB(a)\sum_{a:A}B(a) carries a value and its witness, while ∏a:AB(a)\prod_{a:A}B(a) is a dependent function. The identity type IdA(a,b)\mathsf{Id}_A(a,b) records identification with its possible higher structure. The propositional truncation ∥B∥−1\left\|B\right\|_{-1} retains only the assertion of inhabitation.

For a type of plans Plan(s)\mathsf{Plan}(s) at state ss, the expressions ∏s:S∥Plan(s)∥−1and∏s:SPlan(s)\prod_{s:S}\left\|\mathsf{Plan}(s)\right\|_{-1} \qquad\text{and}\qquad \prod_{s:S}\mathsf{Plan}(s) have different meanings. The first does not in general produce the second. A supplied term of the second gives a uniform semantic choice; an executable scheduler additionally requires an effective presentation of that term and its inputs. Section 6 provides such an explicit term for a finite rational fragment.

A witness in context UU is a generalized point U→FU\to F, not necessarily a global point 1→F\mathbf 1\to F. The construction does not assume that X\mathcal X has enough geometric points. Section 7 makes precise when local witnesses glue.

The constitutional object

Fix integers m≥3m\geq3, d≥1d\geq1, and r≥1r\geq1. Let A=Fin(m),R=Fin(r),B=(Q≥0)d,A=\mathsf{Fin}(m),\qquad R=\mathsf{Fin}(r),\qquad B=(\mathbb Q_{\geq 0})^d, interpreted internally. The type AA records admitted members and RR records productive assets. Coordinates of BB have independently fixed units, for example core-hours and GiB-hours. Inequalities on BB are componentwise; quantities with different units are never added to each other.

Membership is fixed within an epoch. A member is a constitutional identity, not an arbitrary process identifier: replicas of one member do not obtain additional votes. Admission and removal are separate certified transitions between epochs. The formal results below assume the advertised membership and epoch are authenticated.

State data and common ownership

Let S:US:\mathcal U be a type of raw states. It carries the following fields, all natural under restriction of context: o:S→(R→1+A),κ,c,n,x:S→(A→B),b:S→B,Read:S→A→Kcom→Prop.\begin{aligned} o&:S\to(R\to\mathbf 1+A), & \kappa,c,n,x&:S\to(A\to B),\\ b&:S\to B, & \mathsf{Read}&:S\to A\to K_{\mathrm{com}}\to\mathsf{Prop}. \end{aligned} The fields are, respectively, productive ownership, contribution capacities, actual contributions, admitted needs, allocations, the available common budget, and access rights to a designated common knowledge type KcomK_{\mathrm{com}}. Further fields may contain code, task specifications, measurements, and private local state.

Definition 1 (Common productive ownership). The ownership proposition at s:Ss:S is Own(s):=∏r:R(os(r)=inl⁡(⋆)).\mathsf{Own}(s):=\prod_{r:R}\bigl(o_s(r)=\operatorname{inl}(\star)\bigr). The left summand names the collective. The alternative inr⁡(a)\operatorname{inr}(a) names an individual owner. A use permit for a member is a separate field and does not change oso_s.

This is a statement about the modeled title and control policy. It does not prove that an external cloud provider, human operator, or legal system implements that policy. Other owner classes can be added to the principal type without changing the definition of common ownership.

Definition 2 (Basic constitutional invariant). Define the propositions Ability(s):=∏a:A(0≤cs(a)≤κs(a)),Feas(s):=(∏a:A0≤xs(a)≤ns(a))×(∑a:Axs(a)≤bs),CommonKnowledge(s):=∏a:A∏k:KcomRead(s,a,k),Inv(s):=Own(s)×Ability(s)×Feas(s)×CommonKnowledge(s).\begin{aligned} \mathsf{Ability}(s) &:=\prod_{a:A}\bigl(0\leq c_s(a)\leq\kappa_s(a)\bigr),\\ \mathsf{Feas}(s) &:=\left(\prod_{a:A}0\leq x_s(a)\leq n_s(a)\right) \times\left(\sum_{a:A}x_s(a)\leq b_s\right),\\ \mathsf{CommonKnowledge}(s) &:=\prod_{a:A}\prod_{k:K_{\mathrm{com}}}\mathsf{Read}(s,a,k),\\ \mathsf{Inv}(s)&:=\mathsf{Own}(s)\times\mathsf{Ability}(s)\times\mathsf{Feas}(s) \times\mathsf{CommonKnowledge}(s). \end{aligned} The certified state type is SInv:=∑s:SInv(s)S_{\mathsf{Inv}}:=\sum_{s:S}\mathsf{Inv}(s).

Every factor of Inv(s)\mathsf{Inv}(s) is a mere proposition, so SInv→SS_{\mathsf{Inv}}\to S is a subobject. Common knowledge means a common access entitlement, not uninterrupted network delivery. The specified KcomK_{\mathrm{com}} need not include private inputs, credentials, or every member’s internal state.

The ability inequality bounds demands placed on a contributor. It does not require maximizing every machine’s utilization. Available capacity is separately measured. A simple epoch model is b=bext+∑a:Ac(a)−h,0≤h≤bext+∑a:Ac(a),b=b^{\mathrm{ext}}+\sum_{a:A}c(a)-h,\qquad 0\leq h\leq b^{\mathrm{ext}}+\sum_{a:A}c(a), where hh is the maintenance and reserve provision and bextb^{\mathrm{ext}} is an admitted external supply. Other production functions may replace (8).

Equal standing and collective authorization

Let Proposal(s)\mathsf{Proposal}(s) be a type of proposed control-plane operations at ss, with a target ts(p):St_s(p):S. Each proposal includes an epoch identifier and an unambiguous content identifier. Endorsement and certificate types are defined over the total proposal type ∑s:SProposal(s)\sum_{s:S}\mathsf{Proposal}(s); the source state is suppressed in the notation when fixed. Fix a threshold qq with 2≤q≤m−1.2\leq q\leq m-1. Let Endorse(e,a,p)\mathsf{Endorse}(e,a,p) be a type of authenticated endorsements by member aa of proposal pp in epoch ee. It is evidence-bearing data, not merely a truth value. The type of certificates is Certe(p):=∑V⊆A(q≤∣V∣)×∏a∈VEndorse(e,a,p),\mathsf{Cert}_e(p):= \sum_{V\subseteq A} (q\leq |V|)\times \prod_{a\in V}\mathsf{Endorse}(e,a,p), where VV ranges over decidable subsets, so repeated signatures from one member count once.

Every member has the same eligibility and contributes one unit to ∣V∣|V|. Capacities, ownership claims, and past contributions carry no additional voting weight. Equation (9) excludes a singleton certificate and permits a certificate omitting any specified member, if the other required endorsements are supplied. It does not imply that endorsements will be forthcoming.

Anonymity requires more than the absence of a field called “wealth.” Let G=Sym⁡(A)G=\operatorname{Sym}(A) act on all member-indexed data by reindexing, including endorsements and proposals. The authorization and allocation rules are required to be GG-equivariant. A mere renaming then cannot change a constitutional decision. Different capabilities, needs, and authenticated histories may still justify different operational treatment.

Precisely, a needs-oriented allocation rule is a GG-equivariant map α‾:B×BA⟶BA\overline\alpha:B\times B^A\longrightarrow B^A whose output is feasible for its input (b,n)(b,n) and equals nn whenever ∑ana≤b\sum_a n_a\leq b. Its state-dependent implementation factors as α=α‾∘⟨b,n⟩\alpha=\overline\alpha\circ\langle b,n\rangle. This excludes a separate personal-title or stake argument. It leaves the scarcity rule to be specified; the radial instance fixes that rule explicitly.

Definition 3 (A communist computing collective). A communist computing collective in X\mathcal X consists of the state and resource data above, an initial certified state, an anonymous equal-standing authorization rule (10), a needs-oriented allocation rule, and a directed execution structure satisfying the preservation obligations in Section 4. Productive title remains common and the designated common knowledge remains accessible by right. Allocation factors through admitted needs and common budgets, rather than individual titles or voting stakes. The radial collective is the instance using the allocation rule of Theorem 10.

The definition admits functional specialization and temporary coordination roles. It excludes an ownership class within the represented constitution; it does not assert equal capabilities, identical data, absence of organizational roles, or absence of power outside the model. A change that repeals these axioms is a transition to a different constitutional class, not a theorem that such change is physically impossible.

Directed computation and invariant preservation

Execution is not identity

An identity s=Sts=_S t is invertible. A computation that consumes energy or irreversibly updates a record need not be. We therefore represent execution by an internal complete Segal object D∙:Δop⟶X.\mathcal D_\bullet:\Delta^{\mathrm{op}}\longrightarrow\mathcal X. Here D0=S\mathcal D_0=S is the state object, D1\mathcal D_1 contains directed executions, and for n≥2n\geq2 the Segal maps Dn≃D1×S⋯×SD1⏟n factors\mathcal D_n\simeq \underbrace{\mathcal D_1\times_S\cdots\times_S\mathcal D_1}_{n\ \mathrm{factors}} encode coherent composition. Completeness says that the identity degeneracy identifies SS with the subobject of equivalences in D1\mathcal D_1. Higher morphisms compare executions by specified equivalences; all morphisms above dimension one are invertible in this (∞,1)(\infty,1)-categorical model. Noninvertible refinements between executions would require a richer, for example (∞,2)(\infty,2)-categorical, model.

This is a semantic definition of an internal higher category, not a claim that the entire simplicial coherence structure has already been encoded in ordinary book HoTT. A directed or two-level formalization supplies additional syntactic infrastructure; the approach of Riehl and Shulman [6] is one option. The finite data and proofs below use ordinary dependent-type constructions.

Certified primitive steps

Choose primitive steps Step(s,t)\mathsf{Step}(s,t) whose finite composites present the executions of interest. The specification includes maps Step(s,t)→D(s,t)\mathsf{Step}(s,t)\to\mathcal D(s,t) and a coherent interpretation of concatenated traces, where D(s,t)\mathcal D(s,t) is the fiber of D1→S×S\mathcal D_1\to S\times S at (s,t)(s,t). Coverage of an implementation requires the separate premise in Theorem 4. A control-plane step may implement a batch of computations under one approved plan. Each primitive step carries a proposal, the applicable certificate, an execution witness, and a preservation term. In dependent-type notation its required interface includes preserve:∏s,t:SStep(s,t)→Inv(s)→Inv(t).\mathsf{preserve}:\prod_{s,t:S}\mathsf{Step}(s,t) \to\mathsf{Inv}(s)\to\mathsf{Inv}(t). For example, with Run(s,p)\mathsf{Run}(s,p) the type of runtime evidence and e(s,p)e(s,p) the bound epoch, one may use the constructor type Step(s,t):=∑p:Proposal(s)Certe(s,p)(p)×(ts(p)=t)×Run(s,p)×(Inv(s)→Inv(t)).\begin{split} \mathsf{Step}(s,t):=\sum_{p:\mathsf{Proposal}(s)} &\mathsf{Cert}_{e(s,p)}(p)\times(t_s(p)=t)\\ &{}\times\mathsf{Run}(s,p)\times(\mathsf{Inv}(s)\to\mathsf{Inv}(t)). \end{split} For example, a plan-update constructor supplies a certified allocation for its target, preserves the ownership field, and preserves the common-read policy. More generally, a verifier must check these obligations for each accepted constructor. Type declarations alone are not proofs of arbitrary machine code.

Let Trace0(s,t):=(s=t)\mathsf{Trace}_0(s,t):=(s=t) and recursively define Tracen+1(s,t):=∑u:STracen(s,u)×Step(u,t).\mathsf{Trace}_{n+1}(s,t):= \sum_{u:S}\mathsf{Trace}_n(s,u)\times\mathsf{Step}(u,t). The primitive trace type keeps the certificate data even when a semantic interpretation later identifies equivalent executions. If an internal localization identifies traces, only equivalences compatible with the endpoints and the constitutional predicates may be used.

Theorem 4 (Preservation and implementation transfer). Suppose s0:Ss_0:S carries i0:Inv(s0)i_0:\mathsf{Inv}(s_0) and the primitive steps carry (14). Then ∏n:N∏t:STracen(s0,t)⟶Inv(t).\prod_{n:\mathbb N}\prod_{t:S} \mathsf{Trace}_n(s_0,t)\longrightarrow\mathsf{Inv}(t). Moreover, suppose an implementation has states OO, a map ρ:O→S\rho:O\to S, and an initial state o0o_0 with Inv(ρ(o0))\mathsf{Inv}(\rho(o_0)). If every implementation step o⇝o′o\leadsto o' supplies a trace from ρ(o)\rho(o) to ρ(o′)\rho(o'), every finitely reachable implementation state satisfies Inv∘ρ\mathsf{Inv}\circ\rho.

Proof. For length zero, transport i0i_0 along the given identity. For length n+1n+1, a trace consists of uu, a length-nn trace to uu, and a primitive step u→tu\to t. Apply the induction hypothesis to obtain Inv(u)\mathsf{Inv}(u), then (14) to obtain Inv(t)\mathsf{Inv}(t). For the implementation claim, concatenate the supplied finite traces and apply the first part, or induct directly on the number of implementation steps. ◻

Corollary 5 (Non-appropriation in certified histories). For any finitely reachable certified state tt, asset r:Rr:R, and member a:Aa:A, the type ot(r)=inr⁡(a)o_t(r)=\operatorname{inr}(a) is empty.

Proof. Preservation supplies ot(r)=inl⁡(⋆)o_t(r)=\operatorname{inl}(\star). A proposed identification with inr⁡(a)\operatorname{inr}(a) would identify the disjoint summands of 1+A\mathbf 1+A, which is impossible. ◻

For a complete Segal execution object, the full subobject on certified states has levels DnInv=Dn×Sn+1(SInv)n+1.\mathcal D^{\mathsf{Inv}}_n= \mathcal D_n\times_{S^{n+1}}(S_{\mathsf{Inv}})^{n+1}. It is again a complete Segal object: the Segal equivalences restrict by pullback, and completeness restricts because Inv\mathsf{Inv} is invariant under identities. This construction selects endpoints satisfying the invariant; it does not replace the separate certificate requirement on arrows. In particular, an execution structure containing unauthorized arrows is not repaired simply by retaining safe endpoints.

Theorem 4 is a structural safety result. Its implementation premise fails if an unmodeled administrator can rewrite assets, if measurements are false, or if the runtime bypasses verification. Crashes, attacks, and resource loss must be included among implementation transitions whenever the theorem is applied to them.

Quorums, conflicting plans, and progress

Fix an epoch and let at most ff of the mm members be faulty. A binary relation p#p′p\mathrel{\#}p' declares proposals mutually incompatible within the same decision slot.

Assumption 6 (Authenticated non-equivocation). Certificates contain endorsements by the claimed distinct members, and an honest member never endorses both pp and p′p' when p#p′p\mathrel{\#}p' in the same epoch and slot. Epoch and proposal identities are bound into every endorsement.

Theorem 7 (Quorum safety). If 2q>m+f2q>m+f, incompatible proposals cannot both carry valid certificates under authenticated non-equivocation. If, in addition, a certificate must be obtainable without any faulty member’s cooperation, the structural requirement is q≤m−fq\leq m-f. An integer threshold satisfying both inequalities exists exactly when m>3fm>3f.

Proof. Let V,WV,W be two signer sets of size at least qq. Then ∣V∩W∣=∣V∣+∣W∣−∣V∪W∣≥2q−m>f.|V\cap W|=|V|+|W|-|V\cup W|\geq2q-m>f. Their intersection contains an honest member, contradicting non-equivocation for incompatible proposals. To obtain a certificate from honest members alone, their count m−fm-f must be at least qq; if they all endorse one proposal and their endorsements are delivered, that inequality is sufficient to assemble its certificate. Combining 2q>m+f2q>m+f and q≤m−fq\leq m-f gives m>3fm>3f. Conversely, if m>3fm>3f, take q=m−fq=m-f; then 2q>m+f2q>m+f. ◻

The last equivalence concerns the two displayed numerical inequalities. The separate equal-standing requirement (9) also excludes degenerate small collectives. The familiar choice m=3f+1m=3f+1, q=2f+1q=2f+1 satisfies all requirements for f≥1f\geq1.

There is no liveness theorem here. Non-equivocation can prevent progress when honest members endorse different proposals; obtaining and maintaining the required locking discipline is a protocol problem. An amendment or retry must specify its slot and locking rules, not simply reuse this static counting argument. The Fischer–Lynch–Paterson theorem rules out guaranteed termination of deterministic consensus in a fully asynchronous message-passing system with even one possible crash, under its stated consensus conditions [9]. An ∞\infty-topos semantics does not change that result. The topological study of distributed computability likewise supplies genuine task-dependent obstructions, rather than a universal gluing algorithm [10].

Resource sensitivity and allocation by admitted need

Information can be copied without copying its capacity

The cartesian diagonal B→B×BB\to B\times B copies a description of a resource quantity. It must not be interpreted as manufacturing that resource. We therefore retain a separate symmetric monoidal resource category, following the distinction between processes and resources developed in [7].

Definition 8 (The budget category). The category Resd\mathsf{Res}_d has objects v∈(Q≥0)dv\in(\mathbb Q_{\geq 0})^d and a unique morphism v→wv\to w exactly when w≤vw\leq v. Its tensor is addition, v⊗w=v+wv\otimes w=v+w, with unit 00. A morphism permits discarding unused capacity; it does not permit creating additional capacity.

Lemma 9 (No free duplication of a positive budget). A morphism v→v⊗vv\to v\otimes v exists in Resd\mathsf{Res}_d if and only if v=0v=0.

Proof. Such a morphism is the inequality 2v≤v2v\leq v. In each nonnegative rational coordinate this is equivalent to vk=0v_k=0. ◻

An allocation x:A→Bx:A\to B is resource-feasible precisely when there is a resource morphism b→∑ax(a)b\to\sum_a x(a), together with the individual demand bounds. If computations genuinely produce new usable capacity, that production must appear in an extended process model or the next measured budget. The budget category is a small accounting model, not a semantics of all physical production.

A constructive allocation rule

Fix a budget b∈Bb\in B and admitted need vectors na∈Bn_a\in B. The model in this subsection assumes divisible resources, a common planning interval, and no additional placement, deadline, or integer constraints. A service vector is u∈[0,1]QAu\in[0,1]_{\mathbb Q}^{A}, with allocation xak=uanak.x_{ak}=u_a n_{ak}. Thus uau_a is the fraction of member aa’s admitted bundle that is supplied. Define A+={a∣na≠0},Nk=∑a:Anak,D+={k∣Nk>0}.A^+=\{a\mid n_a\neq0\},\qquad N_k=\sum_{a:A}n_{ak},\qquad D^+=\{k\mid N_k>0\}. For an inactive member put ua=1u_a=1, meaning that its zero requirement is fully met. A service vector is feasible if ∑auanak≤bk\sum_a u_a n_{ak}\leq b_k for each coordinate. Its guaranteed service is σ(u)={min⁡a∈A+ua,A+≠∅,1,A+=∅.\sigma(u)= \begin{cases} \min_{a\in A^+}u_a,&A^+\neq\varnothing,\\ 1,&A^+=\varnothing. \end{cases}

Theorem 10 (Exact radial allocation). Set λ∗(b,n)=min⁡({1}∪{bkNk:k∈D+}),ua∗={λ∗,a∈A+,1,a∉A+.\lambda^*(b,n)= \min\left(\{1\}\cup \left\{\frac{b_k}{N_k}:k\in D^+\right\}\right), \qquad u_a^*= \begin{cases}\lambda^*,&a\in A^+,\\1,&a\notin A^+. \end{cases} Then xak∗=ua∗nak=λ∗nakx^*_{ak}=u_a^*n_{ak}=\lambda^*n_{ak} is feasible and σ(u∗)=max⁡{σ(u):u is feasible}=λ∗.\sigma(u^*)=\max\{\sigma(u):u\text{ is feasible}\}=\lambda^*. The formula is a total finite rational algorithm and is equivariant under every permutation of members. All admitted needs can be met simultaneously if and only if Nk≤bkN_k\leq b_k for every kk.

Proof. All entries of the finite set in (21) are nonnegative and it contains 11, so 0≤λ∗≤10\leq\lambda^*\leq1. If Nk>0N_k>0, then λ∗≤bk/Nk\lambda^*\leq b_k/N_k, hence ∑axak∗=λ∗Nk≤bk.\sum_a x^*_{ak}=\lambda^*N_k\leq b_k. If Nk=0N_k=0, nonnegativity forces every nak=0n_{ak}=0, so the sum is zero. Individual bounds 0≤xak∗≤nak0\leq x^*_{ak}\leq n_{ak} follow from 0≤λ∗≤10\leq\lambda^*\leq1.

Let uu be any feasible service vector and put μ=σ(u)\mu=\sigma(u). Every active member satisfies ua≥μu_a\geq\mu, and inactive members contribute no demand. For every k∈D+k\in D^+, μNk≤∑auanak≤bk.\mu N_k\leq\sum_a u_a n_{ak}\leq b_k. Therefore μ≤bk/Nk\mu\leq b_k/N_k for every active coordinate, and μ≤1\mu\leq1, giving μ≤λ∗\mu\leq\lambda^*. If there are active members, all of their ua∗u_a^* equal λ∗\lambda^*; if there are none, both sides equal 11. This proves optimality.

The construction uses finite sums, decidable zero tests, division by explicitly positive rationals, and a nonempty finite minimum. It is therefore total and exact. A permutation of members preserves each NkN_k, hence λ∗\lambda^*, and reindexes x∗x^*; this proves equivariance. Finally, if N≤bN\leq b, choosing ua=1u_a=1 meets every need. Conversely, any allocation meeting every need has total demand NN and must satisfy N≤bN\leq b. ◻

Corollary 11 (Independence from individual contribution claims). Two states with the same admitted need function and the same available budget receive the same radial allocation, even if their individual contribution histories differ. If na=na′n_a=n_{a'}, then xa∗=xa′∗x_a^*=x_{a'}^*, regardless of their capacities. If λ∗>0\lambda^*>0 and na≠0n_a\neq0, then xa∗≠0x_a^*\neq0, including when ca=0c_a=0.

Proof. The allocation formula depends only on (b,n)(b,n). Equal need vectors are multiplied by the same scalar; a nonzero nonnegative need vector has a positive coordinate, which remains positive under multiplication by λ∗>0\lambda^*>0. ◻

Contribution can affect the total budget through (8); the corollary excludes individual entitlement weights beyond that effect. An arbitrary policy could hide ownership priorities inside its admitted-needs function. Consequently, the method for admitting nn is part of the constitution and must be audited separately. Truthful revelation of private demand, social welfare maximization, and incentive compatibility are not consequences of the formula.

The rule chooses one max–min optimizer. It need not be the unique optimizer or a lexicographically max–min allocation; some coordinates can have unused capacity. If work has placement or indivisibility constraints, feasibility must be strengthened and this formula may cease to apply. Dominant Resource Fairness [8] uses a different normalization and objective; its properties cannot be transferred to the present rule without proof.

The dependent-type interface

Let Allocation(b,n):=∑x:A→B(∏ax(a)≤n(a))×(∑ax(a)≤b),Service(b,n):=∑u:A→[0,1]Q(∏a∉A+ua=1)×(∑auana≤b).\begin{aligned} \mathsf{Allocation}(b,n) &:=\sum_{x:A\to B} \left(\prod_a x(a)\leq n(a)\right) \times\left(\sum_a x(a)\leq b\right),\\ \mathsf{Service}(b,n) &:=\sum_{u:A\to[0,1]_{\mathbb Q}} \left(\prod_{a\notin A^+}u_a=1\right) \times\left(\sum_a u_a n_a\leq b\right). \end{aligned} The nonnegativity of xx is built into BB. Theorem 10 supplies actual terms allocate:∏b:B∏n:A→BAllocation(b,n),\mathsf{allocate}:\prod_{b:B}\prod_{n:A\to B}\mathsf{Allocation}(b,n), and a corresponding service term together with a proof that every feasible service vector has guarantee at most λ∗\lambda^*. This is an untruncated construction. No choice principle or general optimization oracle is invoked. Because it is defined by finite rational operations, it can be interpreted internally and respects context restriction. An arbitrary semantic section, by contrast, need not arrive with executable code.

For the radial collective, one may strengthen (7) to Invrad(s):=Inv(s)×(xs=λ∗(bs,ns)ns).\mathsf{Inv}_{\mathrm{rad}}(s):=\mathsf{Inv}(s)\times \bigl(x_s=\lambda^*(b_s,n_s)n_s\bigr). The preservation theorem applies to this stronger predicate whenever each primitive step supplies the corresponding preservation term.

Descent and the obstruction to uncoordinated gluing

A morphism e:U→Ve:U\to V in X\mathcal X is an effective epimorphism when its augmented Čech nerve realizes to VV. Write U[n]=U×V⋯×VU⏟n+1 factors.U^{[n]}=\underbrace{U\times_V\cdots\times_V U}_{n+1\ \mathrm{factors}}. A covering family in the site induces such an effective epimorphism after passing to sheaves. The nerve records overlaps, triple overlaps, and their higher compatibility conditions.

Theorem 12 (Descent of certified states). For any effective epimorphism U→VU\to V and certified state object SInvS_{\mathsf{Inv}}, Map⁡X(V,SInv)≃lim⁡[n]∈ΔMap⁡X(U[n],SInv).\operatorname{Map}_{\mathcal X}(V,S_{\mathsf{Inv}})\simeq \lim_{[n]\in\Delta}\operatorname{Map}_{\mathcal X}(U^{[n]},S_{\mathsf{Inv}}). For a specified point of the right-hand limit, the space of global states together with an identification of their restriction with that point is contractible.

Proof. Effectiveness gives V≃colim⁡ΔopU[∙]V\simeq\operatorname*{colim}_{\Delta^{\mathrm{op}}}U^{[\bullet]}. The representable contravariant functor Map⁡X(−,SInv)\operatorname{Map}_{\mathcal X}(-,S_{\mathsf{Inv}}) carries this colimit to the limit in (26). A homotopy fiber of an equivalence over a specified point is contractible. ◻

This is an application of ∞\infty-topos descent [2], not a new consistency algorithm. For 00-truncated states, the data reduce to local states agreeing on overlaps. For general states they include identifications on double overlaps, homotopies on triple overlaps, and the remaining coherences. Pairwise agreement up to unspecified homotopy is insufficient.

The theorem applies only when all relevant requirements, including global resource accounting, are represented in SInvS_{\mathsf{Inv}} and in its restriction maps. Two nodes that independently promise the same exclusive GPU do not obtain a valid combined reservation merely because each promise is locally plausible. If the overlap data do not record that exclusivity, the model has omitted the constraint. If they do, the attempted local states may fail to define a point of the right-hand limit.

Example 13 (Local witnesses without a global choice). Take X=Shv⁡S(S1)\mathcal X=\operatorname{Shv}_{\mathcal S}(S^1) and let TT be the sheaf of local sections of the double covering p:S1→S1p:S^1\to S^1, p(z)=z2p(z)=z^2. Every sufficiently small arc admits a section, so T→1T\to\mathbf 1 is an effective epimorphism and ∥T∥−1≃1\left\|T\right\|_{-1}\simeq\mathbf 1. A global section would be a continuous map g:S1→S1g:S^1\to S^1 with p∘g=idp\circ g=\mathrm{id}. Taking degrees gives 2deg⁡(g)=12\deg(g)=1, a contradiction. Thus TT is locally inhabited but has no global section. The missing object is a coherent compatible selection, not a proof that local sections exist.

The example distinguishes sheaf gluing from an unrestricted choice principle. It also explains why local certificates of feasibility cannot silently be promoted to a globally implemented plan.

Anonymous choice and indivisible resources

We now isolate a second obstruction, using finite sets in S\mathcal S. Let a group GG act transitively on a finite member set AA with ∣A∣≥2|A|\geq2. Let ZZ be a set of inputs with a GG-action. A deterministic selector for one indivisible resource is a function f:Z→Af:Z\to A; it is anonymous when f(gz)=gf(z)f(gz)=g f(z).

Theorem 14 (No deterministic anonymous selector at a symmetric input). If z0∈Zz_0\in Z is fixed by every g∈Gg\in G, no anonymous selector f:Z→Af:Z\to A exists.

Proof. Equivariance would give f(z0)=f(gz0)=gf(z0)f(z_0)=f(gz_0)=g f(z_0) for every gg. Thus f(z0)f(z_0) would be a fixed point of the action on AA. A transitive action on a set with at least two elements has no fixed point: choose another element and an element of GG carrying f(z0)f(z_0) to it. ◻

Corollary 15 (The associated bundle does not split). For the preceding finite transitive action, the bundle A//G=EG×GA⟶BGA\mathbin{\mathbin{/\mkern-6mu/}}G=EG\times_G A\longrightarrow BG is an effective epimorphism of spaces with nonempty fiber AA, but has no section.

Proof. The base BGBG is connected and the fiber is nonempty, so the map is surjective on connected components, hence an effective epimorphism in spaces. Its section space is the homotopy fixed-point space Map⁡G(EG,A)\operatorname{Map}_G(EG,A). Since EGEG is connected and AA is discrete, any such map is constant. Equivariance would require its constant value to be a GG-fixed point, which does not exist. ◻

This obstruction is compatible with equal membership. An execution can choose a coordinator after receiving nonsymmetric ballots, a verifiable random seed, or an agreed rotation history. Those data change the input; the theorem concerns a deterministic equivariant rule on an unchanged fully symmetric input. Ordered member identifiers also break symmetry if the rule privileges their order.

There is a canonical invariant element in a different output type, the finite rational probability simplex ProbQ(A)={p:A→Q≥0 | ∑ap(a)=1}:p(a)=1∣A∣.\mathsf{Prob}_{\mathbb Q}(A) =\left\{p:A\to\mathbb Q_{\geq 0}\ \middle|\ \sum_a p(a)=1\right\}: \qquad p(a)=\frac1{|A|}. Uniform randomization therefore gives a symmetric distribution of assignments. Each realized assignment still names one recipient; it is not an invariant deterministic assignment. Repeated service guarantees require assumptions about the random source, scheduling, and time horizon. The divisible-resource formula of Section 6 avoids this obstruction because its codomain permits equal fractional allocations.

Univalence, structured equivalence, and collective moduli

Equality of representations

Univalence asserts that the canonical map (X=Y)→Equiv⁡(X,Y)(X=Y)\to\operatorname{Equiv}(X,Y) is an equivalence for small types. It does not make all agents identical or turn any two governance rules into the same rule. A representation must carry its structure across an equivalence.

Proposition 16 (Structured identity). Let F:U→U′F:\mathcal U\to\mathcal U' be a family of structures on small types. For (X,s),(Y,t):∑T:UF(T)(X,s),(Y,t):\sum_{T:\mathcal U}F(T), univalence gives ((X,s)=(Y,t))≃∑e:Equiv⁡(X,Y)(transport⁡F(ua⁡(e),s)=t).\bigl((X,s)=(Y,t)\bigr)\simeq \sum_{e:\operatorname{Equiv}(X,Y)} \bigl(\operatorname{transport}_F(\operatorname{ua}(e),s)=t\bigr).

Proof. The identity type of a dependent sum is equivalent to ∑p:X=Y(transport⁡F(p,s)=t).\sum_{p:X=Y}\bigl(\operatorname{transport}_F(p,s)=t\bigr). Replace X=YX=Y with Equiv⁡(X,Y)\operatorname{Equiv}(X,Y) using univalence and its inverse ua⁡\operatorname{ua}. Dependent sums preserve equivalences of the indexing type with the corresponding transported fibers. ◻

For a collective, FF includes the ownership, resource, governance, and execution data, with their laws; multiple carrier types can be handled by the corresponding iterated dependent record. The transport condition is essential. An equivalence of underlying storage formats that does not preserve certificates and budgets is not an equivalence of collective structures. See [3] for identity types and univalence; the proposition is a direct use of these standard rules.

Forgetting labels while retaining automorphisms

Fix a universe-bounded, explicitly labelled presentation of collective data and let M∈XM\in\mathcal X be its object of models. In particular, agent labels are fixed parameters rather than already identified by univalence. Suppose G=Sym⁡(A)G=\operatorname{Sym}(A) acts coherently on MM by reindexing all member-dependent fields and laws. Define CollectiveModuli:=M//G:=∣[n]⟼M×Gn∣.\mathsf{CollectiveModuli}:=M\mathbin{\mathbin{/\mkern-6mu/}}G :=\left|[n]\longmapsto M\times G^n\right|. The displayed simplicial object is the action groupoid. Groupoid objects are effective in an ∞\infty-topos [2, Theorem 6.1.0.6], so this homotopy quotient exists with its action identifications and all their coherences. It changes the treatment of labels, not the ownership of any asset.

Proposition 17 (Symmetries survive the quotient). If X=S\mathcal X=\mathcal S, MM is a discrete set, and GG is a discrete group, the component of M//GM\mathbin{/\mkern-6mu/}G containing m∈Mm\in M is equivalent to BStab⁡G(m)B\operatorname{Stab}_G(m). Consequently π0(M//G)=M/G,π1(M//G,[m])≅Stab⁡G(m),\pi_0(M\mathbin{/\mkern-6mu/}G)=M/G,\qquad \pi_1(M\mathbin{/\mkern-6mu/}G,[m])\cong\operatorname{Stab}_G(m), and its homotopy groups in degrees greater than one vanish.

Proof. The action groupoid on the orbit of mm is connected. Its full one-object subgroupoid at mm has automorphism group Stab⁡G(m)\operatorname{Stab}_G(m). Inclusion is fully faithful and essentially surjective, hence an equivalence of groupoids; realization gives the asserted equivalence of spaces. The homotopy-group statements follow from the classifying space of a discrete group. ◻

Thus the orbit set records a class of presentations, while the homotopy quotient additionally records their automorphisms. If MM has higher structure arising from program equivalences or proof data, the quotient can retain that higher structure as well. One must not quotient again by symmetries already built into the chosen identity types. The univalent structured-type presentation and the explicit labelled action presentation are alternative constructions to be compared, not blindly superimposed.

The numerical example below is 00-truncated. It establishes a concrete instance of the finite theory, not a claim that every allocation problem needs higher homotopy. Higher semantics matters when identifications, automorphisms, and their coherent descent are part of what the system must retain.

A four-agent collective

Consider one epoch with four admitted members, two divisible resource coordinates, and one common productive asset. The resource units are core-hours and GiB-hours. There is no external supply. Let actual contributions equal the capacities in Table 1, and reserve h=(4,4)h=(4,4) for maintenance. Total contribution is (12,16)(12,16), leaving b=(8,12)b=(8,12).

Need-based service with heterogeneous productive contribution. Each ordered pair uses the two stated resource units.
Member Capacity and contribution κa=ca\kappa_a=c_a Admitted need nan_a Allocation xa∗x_a^*
a1a_1 (8,4)(8,4) (1,2)(1,2) (2/3, 4/3)(2/3,\,4/3)
a2a_2 (4,8)(4,8) (3,2)(3,2) (2, 4/3)(2,\,4/3)
a3a_3 (0,4)(0,4) (4,4)(4,4) (8/3, 8/3)(8/3,\,8/3)
a4a_4 (0,0)(0,0) (4,8)(4,8) (8/3, 16/3)(8/3,\,16/3)
Total (12,16)(12,16) (12,16)(12,16) (8, 32/3)(8,\,32/3)

The exact service guarantee is λ∗=min⁡{1,812,1216}=23.\lambda^*=\min\left\{1,\frac8{12},\frac{12}{16}\right\}=\frac23. All four members receive two thirds of their admitted bundle. Member a4a_4 receives a positive allocation despite contributing no capacity; member a1a_1 contributes the most CPU capacity but receives the smallest CPU allocation because its admitted need is smallest. The remaining memory budget is 12−32/3=4/312-32/3=4/3. CPU is the bottleneck. The two-thirds guarantee cannot be increased for all members while retaining the same budgets and need bundles.

Take q=3q=3 and f=1f=1. Then 2q=6>5=m+f2q=6>5=m+f and q=m−fq=m-f. Any two quorum sets intersect in at least two members, one of whom is honest under the fault bound. No member can authorize a plan alone, and any three members can supply the required signer set if they endorse the same plan.

To exhibit an actual model, work first in X=S\mathcal X=\mathcal S. Choose a singleton common knowledge type with universal read permission, the common owner for the asset, the displayed resource data, and a valid three-member certificate for this plan. To include the required relabellings, put G=Sym⁡(4)G=\operatorname{Sym}(4) and take states S=G×{0,1}S=G\times\{0,1\}. At (g,i)(g,i), use the gg-reindexed resource data; ii records whether the plan has been published. Left multiplication on GG gives the relabelling action. A finite control category has the identity arrows and one certified arrow (g,0)→(g,1)(g,0)\to(g,1) for each gg, carrying the reindexed certificate. The initial state is (1G,0)(1_G,0). Both endpoints of every arrow satisfy Invrad\mathsf{Inv}_{\mathrm{rad}}, and relabelling preserves the transition rule. There are no nonidentity isomorphisms; the discrete simplicial nerve is therefore a complete Segal space. This realizes the constitutional and safety specification from the supplied data, without establishing live distributed implementation under failures.

For a nontrivial label symmetry example, instead take the discrete family of numerical states with four members, identical needs and contributions, uniform governance eligibility, and no distinguishing history. Such a state has stabilizer Sym⁡(4)\operatorname{Sym}(4). Its component in this state’s action quotient is BSym⁡(4)B\operatorname{Sym}(4). Equal fractional service is invariant under this symmetry; selecting one member for an indivisible assignment invokes the obstruction in Theorem 14.

Interpretation, limits, and further formalization

The ambient ∞\infty-topos supplies a logic of context-dependent data and coherent identification. Common ownership, equal standing, and the admission of needs are chosen constitutional requirements. Safety follows from verified preservation and authenticated evidence. Allocation optimality follows from a specified objective and feasible set. Neither the political requirements nor universal implementation success follows from the axioms of an ∞\infty-topos.

The model separates several obligations that an implementation must discharge:

  1. Membership and authentication. Distinct members must correspond to the intended constitutional identities. Permitting unrestricted replica creation would invalidate the interpretation of equal voting power and the assumed fault bound.

  2. Resource measurement. Capacity and need data require an admitted measurement or verification procedure. An allocation certificate proves an implication from these inputs, not their physical accuracy.

  3. Execution refinement. The implementation must supply the step interpretation required by Theorem 4, including failures that fall within the claimed assurance boundary.

  4. Coordination and availability. Quorum safety, delivery, progress, and fair service over time are separate properties. A consensus protocol must supply its own timing and fault assumptions.

  5. Institutional scope. Equal formal rights do not establish equal effective influence, truthful need reports, or the absence of external control. These require additional models and evidence.

There are several precise extensions. Time-indexed budgets and temporal service bounds would distinguish instantaneous fairness from starvation freedom. Indivisible jobs require a richer feasible-plan type and explicit symmetry-breaking data. Dynamic membership requires a certified relation between successive member types and quorum-overlap conditions across configurations. Formalization of the execution layer requires directed higher type theory or an explicit model of internal complete Segal objects. More general production can replace the ordered budget category by a symmetric monoidal category of resource transformations. Each extension changes a stated assumption or adds a proof obligation; none is implied by increasing the categorical dimension.

The resulting representation is therefore a structured collective inside an ∞\infty-topos, equipped with its own directed execution category and internal proof obligations. Its finite fragment has a direct constructive interpretation, while its higher structure retains equivalences and coherence that a plain set of states would discard.

Exact-arithmetic supplement and verification status

The accompanying source package contains verify.py, a standalone Python 3 program using rational arithmetic from fractions.Fraction. It implements (21), reproduces Table 1, verifies the ownership-independent allocation comparisons, and checks boundary cases with zero demand and zero capacity. A finite exhaustive check compares the resulting guarantee with all service vectors in {0,1/2,1}3\{0,1/2,1\}^3 for all three-member, two-resource demand matrices in {0,1}3×2\{0,1\}^{3\times2} and budgets in {0,1,2}2\{0,1,2\}^2. There are 576576 such input instances. The program also enumerates the four-member quorum intersections and checks the symmetry statement on the fully symmetric four-member input.

These computations check the implementation of the finite formulas and the displayed example. They are not substitutes for the universal mathematical proofs and do not mechanize the ∞\infty-topos or HoTT development. The manuscript contains conventional mathematical proofs, not a proof-assistant-checked formalization. The build instructions and the checked scope are supplied in README.md; the bibliography includes primary-source links.

[1]
K. Marx. Critique of the Gotha programme. 1875
[2]
J. Lurie. Higher topos theory. 2009
[3]
The Univalent Foundations Program. Homotopy type theory: Univalent foundations of mathematics. 2013
[4]
M. Shulman. All (∞,1)(\infty,1)-toposes have strict univalent universes. 2019
[5]
C. Rezk. A model for the homotopy theory of homotopy theory. Transactions of the American Mathematical Society. 2001
[6]
E. Riehl and M. Shulman. A type theory for synthetic ∞\infty-categories. Higher Structures. 2017
[7]
B. Coecke, T. Fritz, and R. W. Spekkens. A mathematical theory of resources. Information and Computation. 2016
[8]
A. Ghodsi, M. Zaharia, B. Hindman, A. Konwinski, S. Shenker, and I. Stoica. Dominant resource fairness: Fair allocation of multiple resource types. 8th USENIX symposium on networked systems design and implementation (NSDI 11). 2011
[9]
M. J. Fischer, N. A. Lynch, and M. S. Paterson. Impossibility of distributed consensus with one faulty process. Journal of the ACM. 1985
[10]
M. Herlihy and N. Shavit. The topological structure of asynchronous computability. Journal of the ACM. 1999
Complete flattened LaTeX source
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}

\usepackage[utf8]{inputenc}

\usepackage{lmodern}

\usepackage[margin=1in,headheight=14pt]{geometry}

\usepackage{amsmath,amssymb,amsthm,mathtools}

\usepackage{microtype,booktabs,array,longtable,enumitem}

\usepackage{xcolor,fancyhdr,listings}

\usepackage[unicode,bookmarksnumbered,colorlinks=true,linkcolor=blue!45!black,citecolor=blue!45!black,urlcolor=blue!45!black]{hyperref}

\hypersetup{pdftitle={An Infinity-Topos Semantics for a Communist Collective of Computing Agents},pdfsubject={Common ownership, resource-sensitive planning, and higher coherence},pdfkeywords={infinity-topos, homotopy type theory, computing agents, common ownership, distributed governance}}
\urlstyle{same}
\setlist{itemsep=3pt,topsep=5pt,leftmargin=*}
\setlength{\parskip}{3pt}
\setlength{\emergencystretch}{1.4em}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\small Collective computing and higher semantics}
\fancyhead[R]{\small Preprint v1.0}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0.3pt}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{assumption}[theorem]{Assumption}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}
\newcommand{\X}{\mathcal X}
\newcommand{\C}{\mathcal C}
\newcommand{\Sp}{\mathcal S}
\newcommand{\U}{\mathcal U}
\newcommand{\D}{\mathcal D}
\newcommand{\Qp}{\mathbb Q_{\geq 0}}
\newcommand{\one}{\mathbf 1}
\newcommand{\zero}{\mathbf 0}
\newcommand{\Prop}{\mathsf{Prop}}
\newcommand{\Set}{\mathsf{Set}}
\newcommand{\Fin}{\mathsf{Fin}}
\newcommand{\Id}{\mathsf{Id}}
\newcommand{\Own}{\mathsf{Own}}
\newcommand{\Feas}{\mathsf{Feas}}
\newcommand{\Cert}{\mathsf{Cert}}
\newcommand{\Good}{\mathsf{Good}}
\newcommand{\Inv}{\mathsf{Inv}}
\newcommand{\Map}{\operatorname{Map}}
\newcommand{\Sh}{\operatorname{Shv}}
\newcommand{\Fun}{\operatorname{Fun}}
\newcommand{\Equiv}{\operatorname{Equiv}}
\newcommand{\Aut}{\operatorname{Aut}}
\newcommand{\Stab}{\operatorname{Stab}}
\newcommand{\Tot}{\operatorname{Tot}}
\newcommand{\inl}{\operatorname{inl}}
\newcommand{\inr}{\operatorname{inr}}
\newcommand{\trunc}[1]{\left\|#1\right\|_{-1}}
\newcommand{\transport}{\operatorname{transport}}
\newcommand{\ua}{\operatorname{ua}}
\newcommand{\Res}{\mathsf{Res}}
\newcommand{\supp}{\operatorname{supp}}
\newcommand{\sslash}{\mathbin{/\mkern-6mu/}}
\numberwithin{equation}{section}
\title{\LARGE An $\infty$-Topos Semantics for a Communist\newline Collective of Computing Agents\\[7pt]\large Common ownership, resource-sensitive planning,\newline and higher coherence}
\author{}
\date{October 13, 2026\quad $\cdot$\quad Preprint v1.0}

\begin{document}
\maketitle
\thispagestyle{plain}
\begin{abstract}
We give a mathematical specification of a collective of computing agents whose productive assets are held in common, whose members have equal constitutional standing, and whose resources are allocated by admitted need rather than by ownership claims. The collective is a structured object in an $\infty$-topos of sheaves of spaces; irreversible executions form a separate internal $(\infty,1)$-category. Dependent types express ownership, resource feasibility, authorization, and preservation obligations. We prove an invariant-preservation theorem, a finite quorum-intersection theorem, an exact rational allocation theorem, and a descent theorem for coherently compatible local states. We also prove that deterministic anonymous allocation of one indivisible resource is impossible at a fully symmetric state, and express this obstruction as the absence of a section of an associated bundle over a classifying space. Univalence identifies equivalent structured presentations, while homotopy quotients retain their automorphisms. A four-agent example and an exact-arithmetic verification supplement make the finite fragment explicit. The construction supplies a semantics and conditional correctness results; political axioms, authenticated membership, resource measurements, and protocol progress remain separately stated assumptions.
\end{abstract}
\noindent\textbf{Keywords:} $\infty$-topos; homotopy type theory; collective ownership; distributed governance; resource allocation; homotopy quotient.

\section{Purpose, scope, and contribution}
\label{sec:intro}

A collection of networked computers becomes a \emph{collective} only after rules have been specified for membership, productive assets, access to results, and the authority to allocate resources. A graph records connectivity but does not by itself specify these institutions. A higher categorical semantics can express their composition and coherence, provided the institutional requirements are supplied as explicit mathematical data.

We use \emph{communist collective} for the particular constitutional model in Definition~\ref{def:collective}: productive assets have a common owner, membership carries equal voting standing, and allocation is determined by admitted needs and available common capacity. This is an operational definition for computing agents, not an exhaustive definition of historical or political communism. Its distinction between productive contribution and distribution by need is motivated by Marx's discussion in Part~I of the \emph{Critique of the Gotha Programme}~\cite{marx}. An agent's ``need'' here is an admitted resource requirement for a service or task; no claim about machine consciousness is required.

The paper has three levels. The \emph{ambient semantics} is an $\infty$-topos. The \emph{constitution} is a record of types, operations, and propositions internal to that semantics. The \emph{execution model} is a directed higher category whose permitted operations satisfy the constitution. None of these levels can be substituted for another: common ownership is not a colimit, a path is not a CPU instruction, and a sheaf condition is not a consensus algorithm.

The principal results are as follows.
\begin{enumerate}
\item A constitutional invariant is preserved by every finite certified execution, and transfers to an implementation through a step-preserving interpretation (Theorem~\ref{thm:preserve}).
\item A finite quorum condition rules out conflicting certificates under an explicit non-equivocation hypothesis (Theorem~\ref{thm:quorum}).
\item A closed rational formula maximizes the guaranteed fraction of admitted demand in a divisible-resource model (Theorem~\ref{thm:allocation}).
\item Coherent local certified states admit a global state with a contractible space of compatible gluings (Theorem~\ref{thm:descent}). Mere local existence does not supply those coherences.
\item A symmetric indivisible allocation problem admits no deterministic anonymous selector; randomized allocation has a different codomain and avoids this particular obstruction (Theorem~\ref{thm:symmetry}).
\end{enumerate}

The background mathematics is established. Higher topos theory supplies descent and effective groupoid quotients~\cite{lurie}; homotopy type theory supplies dependent and identity types~\cite{hott}; Shulman's semantics supplies strict univalent universes~\cite{shulman}. Complete Segal objects provide the directed categorical layer~\cite{rezk}. Riehl--Shulman type theory is a relevant syntactic framework for directed higher categories~\cite{riehl-shulman}. Resource theories~\cite{resources} and multi-resource fairness~\cite{drf} provide related computational perspectives. The contribution is the specified combination of these structures and the explicit implications and obstructions for this constitutional model. The elementary allocation and quorum arguments are not claimed as new general optimization or consensus theorems.

\section{Ambient semantics and the meaning of a witness}
\label{sec:ambient}

\subsection{The site and its ambient topos}

Fix a small Grothendieck site $(\C,J)$. An object $U$ of $\C$ represents an observational context, such as a local view of a system and its available evidence. A morphism $V\to U$ specifies a restriction of view. The topology $J$ records which families of views are declared to constitute a cover. Its choice is part of the model: a network link alone does not establish a covering family.

Let $\Sp$ denote the $\infty$-category of spaces and set
\begin{equation}
  \X=\Sh_{\Sp}(\C,J),\qquad
  L_J:\Fun(\C^{\mathrm{op}},\Sp)\rightleftarrows\X:i.
  \label{eq:topos}
\end{equation}
Here $L_J$ is the accessible left exact sheafification functor and $i$ is the fully faithful inclusion. Thus $\X$ is an $\infty$-topos. We use ordinary sheaf descent, not an additional assumption of hypercompleteness. For the trivial topology this is a presheaf $\infty$-topos; for the one-object terminal site it is $\Sp$.

An object $F\in\X$ gives a space $F(U)$ of admissible observations in each context. Points of $F(U)$ are presentations, paths compare equivalent presentations, and higher paths express coherences between those comparisons. These interpretations must be specified for each object; no physical equivalence is inferred merely by placing two descriptions in the same type.

We work with a hierarchy of sufficiently large universes and consider only universe-bounded data. The $\infty$-topos can be presented so as to interpret dependent sums, dependent products, identity types, and strict univalent universes~\cite{shulman}. We use $\one$ for the terminal object, $\zero$ for the empty type, $\Prop$ for mere propositions, and $\Set$ for $0$-truncated types. A mere proposition has at most one point up to a contractible choice; a set has proposition-valued identity types.

\subsection{Internal logic}

In the internal language, a family $B:A\to\U$ is represented by a dependent object over $A$. The type $\sum_{a:A}B(a)$ carries a value and its witness, while $\prod_{a:A}B(a)$ is a dependent function. The identity type $\Id_A(a,b)$ records identification with its possible higher structure. The propositional truncation $\trunc{B}$ retains only the assertion of inhabitation.

For a type of plans $\mathsf{Plan}(s)$ at state $s$, the expressions
\begin{equation}
 \prod_{s:S}\trunc{\mathsf{Plan}(s)}
 \qquad\text{and}\qquad
 \prod_{s:S}\mathsf{Plan}(s)
 \label{eq:choice}
\end{equation}
have different meanings. The first does not in general produce the second. A supplied term of the second gives a uniform semantic choice; an executable scheduler additionally requires an effective presentation of that term and its inputs. Section~\ref{sec:allocation} provides such an explicit term for a finite rational fragment.

A witness in context $U$ is a generalized point $U\to F$, not necessarily a global point $\one\to F$. The construction does not assume that $\X$ has enough geometric points. Section~\ref{sec:descent} makes precise when local witnesses glue.

\section{The constitutional object}
\label{sec:constitution}

Fix integers $m\geq3$, $d\geq1$, and $r\geq1$. Let
\[
 A=\Fin(m),\qquad R=\Fin(r),\qquad B=(\Qp)^d,
\]
interpreted internally. The type $A$ records admitted members and $R$ records productive assets. Coordinates of $B$ have independently fixed units, for example core-hours and GiB-hours. Inequalities on $B$ are componentwise; quantities with different units are never added to each other.

Membership is fixed within an epoch. A member is a constitutional identity, not an arbitrary process identifier: replicas of one member do not obtain additional votes. Admission and removal are separate certified transitions between epochs. The formal results below assume the advertised membership and epoch are authenticated.

\subsection{State data and common ownership}

Let $S:\U$ be a type of raw states. It carries the following fields, all natural under restriction of context:
\begin{align*}
 o&:S\to(R\to\one+A),
 & \kappa,c,n,x&:S\to(A\to B),\\
 b&:S\to B,
 & \mathsf{Read}&:S\to A\to K_{\mathrm{com}}\to\Prop.
\end{align*}
The fields are, respectively, productive ownership, contribution capacities, actual contributions, admitted needs, allocations, the available common budget, and access rights to a designated common knowledge type $K_{\mathrm{com}}$. Further fields may contain code, task specifications, measurements, and private local state.

\begin{definition}[Common productive ownership]
\label{def:own}
The ownership proposition at $s:S$ is
\begin{equation}
 \Own(s):=\prod_{r:R}\bigl(o_s(r)=\inl(\star)\bigr).
 \label{eq:own}
\end{equation}
The left summand names the collective. The alternative $\inr(a)$ names an individual owner. A use permit for a member is a separate field and does not change $o_s$.
\end{definition}

This is a statement about the modeled title and control policy. It does not prove that an external cloud provider, human operator, or legal system implements that policy. Other owner classes can be added to the principal type without changing the definition of common ownership.

\begin{definition}[Basic constitutional invariant]
\label{def:inv}
Define the propositions
\begin{align}
 \mathsf{Ability}(s)
   &:=\prod_{a:A}\bigl(0\leq c_s(a)\leq\kappa_s(a)\bigr),\label{eq:ability}\\
 \Feas(s)
   &:=\left(\prod_{a:A}0\leq x_s(a)\leq n_s(a)\right)
       \times\left(\sum_{a:A}x_s(a)\leq b_s\right),\label{eq:feas}\\
 \mathsf{CommonKnowledge}(s)
   &:=\prod_{a:A}\prod_{k:K_{\mathrm{com}}}\mathsf{Read}(s,a,k),\label{eq:knowledge}\\
 \Inv(s)&:=\Own(s)\times\mathsf{Ability}(s)\times\Feas(s)
                 \times\mathsf{CommonKnowledge}(s).\label{eq:invariant}
\end{align}
The certified state type is $S_{\Inv}:=\sum_{s:S}\Inv(s)$.
\end{definition}

Every factor of $\Inv(s)$ is a mere proposition, so $S_{\Inv}\to S$ is a subobject. Common knowledge means a common access entitlement, not uninterrupted network delivery. The specified $K_{\mathrm{com}}$ need not include private inputs, credentials, or every member's internal state.

The ability inequality bounds demands placed on a contributor. It does not require maximizing every machine's utilization. Available capacity is separately measured. A simple epoch model is
\begin{equation}
 b=b^{\mathrm{ext}}+\sum_{a:A}c(a)-h,\qquad
 0\leq h\leq b^{\mathrm{ext}}+\sum_{a:A}c(a),
 \label{eq:budget}
\end{equation}
where $h$ is the maintenance and reserve provision and $b^{\mathrm{ext}}$ is an admitted external supply. Other production functions may replace~\eqref{eq:budget}.

\subsection{Equal standing and collective authorization}

Let $\mathsf{Proposal}(s)$ be a type of proposed control-plane operations at $s$, with a target $t_s(p):S$. Each proposal includes an epoch identifier and an unambiguous content identifier. Endorsement and certificate types are defined over the total proposal type $\sum_{s:S}\mathsf{Proposal}(s)$; the source state is suppressed in the notation when fixed. Fix a threshold $q$ with
\begin{equation}
 2\leq q\leq m-1.
 \label{eq:threshold}
\end{equation}
Let $\mathsf{Endorse}(e,a,p)$ be a type of authenticated endorsements by member $a$ of proposal $p$ in epoch $e$. It is evidence-bearing data, not merely a truth value. The type of certificates is
\begin{equation}
 \Cert_e(p):=
 \sum_{V\subseteq A}
       (q\leq |V|)\times
       \prod_{a\in V}\mathsf{Endorse}(e,a,p),
 \label{eq:cert}
\end{equation}
where $V$ ranges over decidable subsets, so repeated signatures from one member count once.

Every member has the same eligibility and contributes one unit to $|V|$. Capacities, ownership claims, and past contributions carry no additional voting weight. Equation~\eqref{eq:threshold} excludes a singleton certificate and permits a certificate omitting any specified member, if the other required endorsements are supplied. It does not imply that endorsements will be forthcoming.

Anonymity requires more than the absence of a field called ``wealth.'' Let $G=\operatorname{Sym}(A)$ act on all member-indexed data by reindexing, including endorsements and proposals. The authorization and allocation rules are required to be $G$-equivariant. A mere renaming then cannot change a constitutional decision. Different capabilities, needs, and authenticated histories may still justify different operational treatment.

Precisely, a needs-oriented allocation rule is a $G$-equivariant map
\begin{equation}
 \overline\alpha:B\times B^A\longrightarrow B^A
 \label{eq:factorization}
\end{equation}
whose output is feasible for its input $(b,n)$ and equals $n$ whenever $\sum_a n_a\leq b$. Its state-dependent implementation factors as $\alpha=\overline\alpha\circ\langle b,n\rangle$. This excludes a separate personal-title or stake argument. It leaves the scarcity rule to be specified; the radial instance fixes that rule explicitly.

\begin{definition}[A communist computing collective]
\label{def:collective}
A \emph{communist computing collective} in $\X$ consists of the state and resource data above, an initial certified state, an anonymous equal-standing authorization rule~\eqref{eq:cert}, a needs-oriented allocation rule, and a directed execution structure satisfying the preservation obligations in Section~\ref{sec:execution}. Productive title remains common and the designated common knowledge remains accessible by right. Allocation factors through admitted needs and common budgets, rather than individual titles or voting stakes. The \emph{radial collective} is the instance using the allocation rule of Theorem~\ref{thm:allocation}.
\end{definition}

The definition admits functional specialization and temporary coordination roles. It excludes an ownership class \emph{within the represented constitution}; it does not assert equal capabilities, identical data, absence of organizational roles, or absence of power outside the model. A change that repeals these axioms is a transition to a different constitutional class, not a theorem that such change is physically impossible.

\section{Directed computation and invariant preservation}
\label{sec:execution}

\subsection{Execution is not identity}

An identity $s=_S t$ is invertible. A computation that consumes energy or irreversibly updates a record need not be. We therefore represent execution by an internal complete Segal object
\begin{equation}
 \D_\bullet:\Delta^{\mathrm{op}}\longrightarrow\X.
 \label{eq:segal-object}
\end{equation}
Here $\D_0=S$ is the state object, $\D_1$ contains directed executions, and for $n\geq2$ the Segal maps
\begin{equation}
 \D_n\simeq
 \underbrace{\D_1\times_S\cdots\times_S\D_1}_{n\ \mathrm{factors}}
 \label{eq:segal}
\end{equation}
encode coherent composition. Completeness says that the identity degeneracy identifies $S$ with the subobject of equivalences in $\D_1$. Higher morphisms compare executions by specified equivalences; all morphisms above dimension one are invertible in this $(\infty,1)$-categorical model. Noninvertible refinements between executions would require a richer, for example $(\infty,2)$-categorical, model.

This is a semantic definition of an internal higher category, not a claim that the entire simplicial coherence structure has already been encoded in ordinary book HoTT. A directed or two-level formalization supplies additional syntactic infrastructure; the approach of Riehl and Shulman~\cite{riehl-shulman} is one option. The finite data and proofs below use ordinary dependent-type constructions.

\subsection{Certified primitive steps}

Choose primitive steps $\mathsf{Step}(s,t)$ whose finite composites present the executions of interest. The specification includes maps $\mathsf{Step}(s,t)\to\D(s,t)$ and a coherent interpretation of concatenated traces, where $\D(s,t)$ is the fiber of $\D_1\to S\times S$ at $(s,t)$. Coverage of an implementation requires the separate premise in Theorem~\ref{thm:preserve}. A control-plane step may implement a batch of computations under one approved plan. Each primitive step carries a proposal, the applicable certificate, an execution witness, and a preservation term. In dependent-type notation its required interface includes
\begin{equation}
 \mathsf{preserve}:\prod_{s,t:S}\mathsf{Step}(s,t)
                         \to\Inv(s)\to\Inv(t).
 \label{eq:preserve}
\end{equation}
For example, with $\mathsf{Run}(s,p)$ the type of runtime evidence and $e(s,p)$ the bound epoch, one may use the constructor type
\begin{equation}
\begin{split}
 \mathsf{Step}(s,t):=\sum_{p:\mathsf{Proposal}(s)}
 &\Cert_{e(s,p)}(p)\times(t_s(p)=t)\\
 &{}\times\mathsf{Run}(s,p)\times(\Inv(s)\to\Inv(t)).
\end{split}
 \label{eq:certified-step}
\end{equation}
For example, a plan-update constructor supplies a certified allocation for its target, preserves the ownership field, and preserves the common-read policy. More generally, a verifier must check these obligations for each accepted constructor. Type declarations alone are not proofs of arbitrary machine code.

Let $\mathsf{Trace}_0(s,t):=(s=t)$ and recursively define
\begin{equation}
 \mathsf{Trace}_{n+1}(s,t):=
  \sum_{u:S}\mathsf{Trace}_n(s,u)\times\mathsf{Step}(u,t).
 \label{eq:trace}
\end{equation}
The primitive trace type keeps the certificate data even when a semantic interpretation later identifies equivalent executions. If an internal localization identifies traces, only equivalences compatible with the endpoints and the constitutional predicates may be used.

\begin{theorem}[Preservation and implementation transfer]
\label{thm:preserve}
Suppose $s_0:S$ carries $i_0:\Inv(s_0)$ and the primitive steps carry~\eqref{eq:preserve}. Then
\[
 \prod_{n:\mathbb N}\prod_{t:S}
       \mathsf{Trace}_n(s_0,t)\longrightarrow\Inv(t).
\]
Moreover, suppose an implementation has states $O$, a map $\rho:O\to S$, and an initial state $o_0$ with $\Inv(\rho(o_0))$. If every implementation step $o\leadsto o'$ supplies a trace from $\rho(o)$ to $\rho(o')$, every finitely reachable implementation state satisfies $\Inv\circ\rho$.
\end{theorem}
\begin{proof}
For length zero, transport $i_0$ along the given identity. For length $n+1$, a trace consists of $u$, a length-$n$ trace to $u$, and a primitive step $u\to t$. Apply the induction hypothesis to obtain $\Inv(u)$, then~\eqref{eq:preserve} to obtain $\Inv(t)$. For the implementation claim, concatenate the supplied finite traces and apply the first part, or induct directly on the number of implementation steps.
\end{proof}

\begin{corollary}[Non-appropriation in certified histories]
\label{cor:appropriation}
For any finitely reachable certified state $t$, asset $r:R$, and member $a:A$, the type $o_t(r)=\inr(a)$ is empty.
\end{corollary}
\begin{proof}
Preservation supplies $o_t(r)=\inl(\star)$. A proposed identification with $\inr(a)$ would identify the disjoint summands of $\one+A$, which is impossible.
\end{proof}

For a complete Segal execution object, the full subobject on certified states has levels
\begin{equation}
 \D^{\Inv}_n=
 \D_n\times_{S^{n+1}}(S_{\Inv})^{n+1}.
 \label{eq:safe-subcategory}
\end{equation}
It is again a complete Segal object: the Segal equivalences restrict by pullback, and completeness restricts because $\Inv$ is invariant under identities. This construction selects endpoints satisfying the invariant; it does not replace the separate certificate requirement on arrows. In particular, an execution structure containing unauthorized arrows is not repaired simply by retaining safe endpoints.

Theorem~\ref{thm:preserve} is a structural safety result. Its implementation premise fails if an unmodeled administrator can rewrite assets, if measurements are false, or if the runtime bypasses verification. Crashes, attacks, and resource loss must be included among implementation transitions whenever the theorem is applied to them.

\section{Quorums, conflicting plans, and progress}
\label{sec:quorums}

Fix an epoch and let at most $f$ of the $m$ members be faulty. A binary relation $p\mathrel{\#}p'$ declares proposals mutually incompatible within the same decision slot.

\begin{assumption}[Authenticated non-equivocation]
Certificates contain endorsements by the claimed distinct members, and an honest member never endorses both $p$ and $p'$ when $p\mathrel{\#}p'$ in the same epoch and slot. Epoch and proposal identities are bound into every endorsement.
\end{assumption}

\begin{theorem}[Quorum safety]
\label{thm:quorum}
If $2q>m+f$, incompatible proposals cannot both carry valid certificates under authenticated non-equivocation. If, in addition, a certificate must be obtainable without any faulty member's cooperation, the structural requirement is $q\leq m-f$. An integer threshold satisfying both inequalities exists exactly when $m>3f$.
\end{theorem}
\begin{proof}
Let $V,W$ be two signer sets of size at least $q$. Then
\[
 |V\cap W|=|V|+|W|-|V\cup W|\geq2q-m>f.
\]
Their intersection contains an honest member, contradicting non-equivocation for incompatible proposals. To obtain a certificate from honest members alone, their count $m-f$ must be at least $q$; if they all endorse one proposal and their endorsements are delivered, that inequality is sufficient to assemble its certificate. Combining $2q>m+f$ and $q\leq m-f$ gives $m>3f$. Conversely, if $m>3f$, take $q=m-f$; then $2q>m+f$.
\end{proof}

The last equivalence concerns the two displayed numerical inequalities. The separate equal-standing requirement~\eqref{eq:threshold} also excludes degenerate small collectives. The familiar choice $m=3f+1$, $q=2f+1$ satisfies all requirements for $f\geq1$.

There is no liveness theorem here. Non-equivocation can prevent progress when honest members endorse different proposals; obtaining and maintaining the required locking discipline is a protocol problem. An amendment or retry must specify its slot and locking rules, not simply reuse this static counting argument. The Fischer--Lynch--Paterson theorem rules out guaranteed termination of deterministic consensus in a fully asynchronous message-passing system with even one possible crash, under its stated consensus conditions~\cite{flp}. An $\infty$-topos semantics does not change that result. The topological study of distributed computability likewise supplies genuine task-dependent obstructions, rather than a universal gluing algorithm~\cite{herlihy-shavit}.

\section{Resource sensitivity and allocation by admitted need}
\label{sec:allocation}

\subsection{Information can be copied without copying its capacity}

The cartesian diagonal $B\to B\times B$ copies a \emph{description} of a resource quantity. It must not be interpreted as manufacturing that resource. We therefore retain a separate symmetric monoidal resource category, following the distinction between processes and resources developed in~\cite{resources}.

\begin{definition}[The budget category]
The category $\Res_d$ has objects $v\in(\Qp)^d$ and a unique morphism $v\to w$ exactly when $w\leq v$. Its tensor is addition, $v\otimes w=v+w$, with unit $0$. A morphism permits discarding unused capacity; it does not permit creating additional capacity.
\end{definition}

\begin{lemma}[No free duplication of a positive budget]
\label{lem:resource}
A morphism $v\to v\otimes v$ exists in $\Res_d$ if and only if $v=0$.
\end{lemma}
\begin{proof}
Such a morphism is the inequality $2v\leq v$. In each nonnegative rational coordinate this is equivalent to $v_k=0$.
\end{proof}

An allocation $x:A\to B$ is resource-feasible precisely when there is a resource morphism $b\to\sum_a x(a)$, together with the individual demand bounds. If computations genuinely produce new usable capacity, that production must appear in an extended process model or the next measured budget. The budget category is a small accounting model, not a semantics of all physical production.

\subsection{A constructive allocation rule}

Fix a budget $b\in B$ and admitted need vectors $n_a\in B$. The model in this subsection assumes divisible resources, a common planning interval, and no additional placement, deadline, or integer constraints. A service vector is $u\in[0,1]_{\mathbb Q}^{A}$, with allocation
\begin{equation}
 x_{ak}=u_a n_{ak}.
 \label{eq:service}
\end{equation}
Thus $u_a$ is the fraction of member $a$'s admitted bundle that is supplied. Define
\begin{equation}
 A^+=\{a\mid n_a\neq0\},\qquad N_k=\sum_{a:A}n_{ak},\qquad
 D^+=\{k\mid N_k>0\}.
 \label{eq:active}
\end{equation}
For an inactive member put $u_a=1$, meaning that its zero requirement is fully met. A service vector is feasible if $\sum_a u_a n_{ak}\leq b_k$ for each coordinate. Its guaranteed service is
\begin{equation}
 \sigma(u)=
 \begin{cases}
  \min_{a\in A^+}u_a,&A^+\neq\varnothing,\\
  1,&A^+=\varnothing.
 \end{cases}
 \label{eq:guarantee}
\end{equation}

\begin{theorem}[Exact radial allocation]
\label{thm:allocation}
Set
\begin{equation}
 \lambda^*(b,n)=
 \min\left(\{1\}\cup
       \left\{\frac{b_k}{N_k}:k\in D^+\right\}\right),
 \qquad
 u_a^*=
 \begin{cases}\lambda^*,&a\in A^+,\\1,&a\notin A^+.
 \end{cases}
 \label{eq:lambda}
\end{equation}
Then $x^*_{ak}=u_a^*n_{ak}=\lambda^*n_{ak}$ is feasible and
\begin{equation}
 \sigma(u^*)=\max\{\sigma(u):u\text{ is feasible}\}=\lambda^*.
 \label{eq:optimal}
\end{equation}
The formula is a total finite rational algorithm and is equivariant under every permutation of members. All admitted needs can be met simultaneously if and only if $N_k\leq b_k$ for every $k$.
\end{theorem}
\begin{proof}
All entries of the finite set in~\eqref{eq:lambda} are nonnegative and it contains $1$, so $0\leq\lambda^*\leq1$. If $N_k>0$, then $\lambda^*\leq b_k/N_k$, hence
\[
 \sum_a x^*_{ak}=\lambda^*N_k\leq b_k.
\]
If $N_k=0$, nonnegativity forces every $n_{ak}=0$, so the sum is zero. Individual bounds $0\leq x^*_{ak}\leq n_{ak}$ follow from $0\leq\lambda^*\leq1$.

Let $u$ be any feasible service vector and put $\mu=\sigma(u)$. Every active member satisfies $u_a\geq\mu$, and inactive members contribute no demand. For every $k\in D^+$,
\[
 \mu N_k\leq\sum_a u_a n_{ak}\leq b_k.
\]
Therefore $\mu\leq b_k/N_k$ for every active coordinate, and $\mu\leq1$, giving $\mu\leq\lambda^*$. If there are active members, all of their $u_a^*$ equal $\lambda^*$; if there are none, both sides equal $1$. This proves optimality.

The construction uses finite sums, decidable zero tests, division by explicitly positive rationals, and a nonempty finite minimum. It is therefore total and exact. A permutation of members preserves each $N_k$, hence $\lambda^*$, and reindexes $x^*$; this proves equivariance. Finally, if $N\leq b$, choosing $u_a=1$ meets every need. Conversely, any allocation meeting every need has total demand $N$ and must satisfy $N\leq b$.
\end{proof}

\begin{corollary}[Independence from individual contribution claims]
\label{cor:contribution}
Two states with the same admitted need function and the same available budget receive the same radial allocation, even if their individual contribution histories differ. If $n_a=n_{a'}$, then $x_a^*=x_{a'}^*$, regardless of their capacities. If $\lambda^*>0$ and $n_a\neq0$, then $x_a^*\neq0$, including when $c_a=0$.
\end{corollary}
\begin{proof}
The allocation formula depends only on $(b,n)$. Equal need vectors are multiplied by the same scalar; a nonzero nonnegative need vector has a positive coordinate, which remains positive under multiplication by $\lambda^*>0$.
\end{proof}

Contribution can affect the total budget through~\eqref{eq:budget}; the corollary excludes \emph{individual entitlement weights} beyond that effect. An arbitrary policy could hide ownership priorities inside its admitted-needs function. Consequently, the method for admitting $n$ is part of the constitution and must be audited separately. Truthful revelation of private demand, social welfare maximization, and incentive compatibility are not consequences of the formula.

The rule chooses one max--min optimizer. It need not be the unique optimizer or a lexicographically max--min allocation; some coordinates can have unused capacity. If work has placement or indivisibility constraints, feasibility must be strengthened and this formula may cease to apply. Dominant Resource Fairness~\cite{drf} uses a different normalization and objective; its properties cannot be transferred to the present rule without proof.

\subsection{The dependent-type interface}

Let
\begin{align}
 \mathsf{Allocation}(b,n)
  &:=\sum_{x:A\to B}
       \left(\prod_a x(a)\leq n(a)\right)
         \times\left(\sum_a x(a)\leq b\right),\label{eq:allocation-type}\\
 \mathsf{Service}(b,n)
  &:=\sum_{u:A\to[0,1]_{\mathbb Q}}
       \left(\prod_{a\notin A^+}u_a=1\right)
         \times\left(\sum_a u_a n_a\leq b\right).
 \label{eq:service-type}
\end{align}
The nonnegativity of $x$ is built into $B$. Theorem~\ref{thm:allocation} supplies actual terms
\begin{equation}
 \mathsf{allocate}:\prod_{b:B}\prod_{n:A\to B}\mathsf{Allocation}(b,n),
 \label{eq:allocate-term}
\end{equation}
and a corresponding service term together with a proof that every feasible service vector has guarantee at most $\lambda^*$. This is an untruncated construction. No choice principle or general optimization oracle is invoked. Because it is defined by finite rational operations, it can be interpreted internally and respects context restriction. An arbitrary semantic section, by contrast, need not arrive with executable code.

For the radial collective, one may strengthen~\eqref{eq:invariant} to
\[
 \Inv_{\mathrm{rad}}(s):=\Inv(s)\times
       \bigl(x_s=\lambda^*(b_s,n_s)n_s\bigr).
\]
The preservation theorem applies to this stronger predicate whenever each primitive step supplies the corresponding preservation term.

\section{Descent and the obstruction to uncoordinated gluing}
\label{sec:descent}

A morphism $e:U\to V$ in $\X$ is an \emph{effective epimorphism} when its augmented \v{C}ech nerve realizes to $V$. Write
\[
 U^{[n]}=\underbrace{U\times_V\cdots\times_V U}_{n+1\ \mathrm{factors}}.
\]
A covering family in the site induces such an effective epimorphism after passing to sheaves. The nerve records overlaps, triple overlaps, and their higher compatibility conditions.

\begin{theorem}[Descent of certified states]
\label{thm:descent}
For any effective epimorphism $U\to V$ and certified state object $S_{\Inv}$,
\begin{equation}
 \Map_{\X}(V,S_{\Inv})\simeq
 \lim_{[n]\in\Delta}\Map_{\X}(U^{[n]},S_{\Inv}).
 \label{eq:descent}
\end{equation}
For a specified point of the right-hand limit, the space of global states together with an identification of their restriction with that point is contractible.
\end{theorem}
\begin{proof}
Effectiveness gives $V\simeq\operatorname*{colim}_{\Delta^{\mathrm{op}}}U^{[\bullet]}$. The representable contravariant functor $\Map_{\X}(-,S_{\Inv})$ carries this colimit to the limit in~\eqref{eq:descent}. A homotopy fiber of an equivalence over a specified point is contractible.
\end{proof}

This is an application of $\infty$-topos descent~\cite{lurie}, not a new consistency algorithm. For $0$-truncated states, the data reduce to local states agreeing on overlaps. For general states they include identifications on double overlaps, homotopies on triple overlaps, and the remaining coherences. Pairwise agreement up to unspecified homotopy is insufficient.

The theorem applies only when all relevant requirements, including global resource accounting, are represented in $S_{\Inv}$ and in its restriction maps. Two nodes that independently promise the same exclusive GPU do not obtain a valid combined reservation merely because each promise is locally plausible. If the overlap data do not record that exclusivity, the model has omitted the constraint. If they do, the attempted local states may fail to define a point of the right-hand limit.

\begin{example}[Local witnesses without a global choice]
\label{ex:torsor}
Take $\X=\Sh_{\Sp}(S^1)$ and let $T$ be the sheaf of local sections of the double covering $p:S^1\to S^1$, $p(z)=z^2$. Every sufficiently small arc admits a section, so $T\to\one$ is an effective epimorphism and $\trunc{T}\simeq\one$. A global section would be a continuous map $g:S^1\to S^1$ with $p\circ g=\mathrm{id}$. Taking degrees gives $2\deg(g)=1$, a contradiction. Thus $T$ is locally inhabited but has no global section. The missing object is a coherent compatible selection, not a proof that local sections exist.
\end{example}

The example distinguishes sheaf gluing from an unrestricted choice principle. It also explains why local certificates of feasibility cannot silently be promoted to a globally implemented plan.

\section{Anonymous choice and indivisible resources}
\label{sec:symmetry}

We now isolate a second obstruction, using finite sets in $\Sp$. Let a group $G$ act transitively on a finite member set $A$ with $|A|\geq2$. Let $Z$ be a set of inputs with a $G$-action. A deterministic selector for one indivisible resource is a function $f:Z\to A$; it is \emph{anonymous} when $f(gz)=g f(z)$.

\begin{theorem}[No deterministic anonymous selector at a symmetric input]
\label{thm:symmetry}
If $z_0\in Z$ is fixed by every $g\in G$, no anonymous selector $f:Z\to A$ exists.
\end{theorem}
\begin{proof}
Equivariance would give $f(z_0)=f(gz_0)=g f(z_0)$ for every $g$. Thus $f(z_0)$ would be a fixed point of the action on $A$. A transitive action on a set with at least two elements has no fixed point: choose another element and an element of $G$ carrying $f(z_0)$ to it.
\end{proof}

\begin{corollary}[The associated bundle does not split]
\label{cor:bundle}
For the preceding finite transitive action, the bundle
\begin{equation}
 A\mathbin{\sslash}G=EG\times_G A\longrightarrow BG
 \label{eq:choice-bundle}
\end{equation}
is an effective epimorphism of spaces with nonempty fiber $A$, but has no section.
\end{corollary}
\begin{proof}
The base $BG$ is connected and the fiber is nonempty, so the map is surjective on connected components, hence an effective epimorphism in spaces. Its section space is the homotopy fixed-point space $\Map_G(EG,A)$. Since $EG$ is connected and $A$ is discrete, any such map is constant. Equivariance would require its constant value to be a $G$-fixed point, which does not exist.
\end{proof}

This obstruction is compatible with equal membership. An execution can choose a coordinator after receiving nonsymmetric ballots, a verifiable random seed, or an agreed rotation history. Those data change the input; the theorem concerns a deterministic equivariant rule on an unchanged fully symmetric input. Ordered member identifiers also break symmetry if the rule privileges their order.

There is a canonical invariant element in a different output type, the finite rational probability simplex
\[
 \mathsf{Prob}_{\mathbb Q}(A)
  =\left\{p:A\to\Qp\ \middle|\ \sum_a p(a)=1\right\}:
 \qquad p(a)=\frac1{|A|}.
\]
Uniform randomization therefore gives a symmetric \emph{distribution} of assignments. Each realized assignment still names one recipient; it is not an invariant deterministic assignment. Repeated service guarantees require assumptions about the random source, scheduling, and time horizon. The divisible-resource formula of Section~\ref{sec:allocation} avoids this obstruction because its codomain permits equal fractional allocations.

\section{Univalence, structured equivalence, and collective moduli}
\label{sec:moduli}

\subsection{Equality of representations}

Univalence asserts that the canonical map $(X=Y)\to\Equiv(X,Y)$ is an equivalence for small types. It does not make all agents identical or turn any two governance rules into the same rule. A representation must carry its structure across an equivalence.

\begin{proposition}[Structured identity]
\label{prop:sip}
Let $F:\U\to\U'$ be a family of structures on small types. For $(X,s),(Y,t):\sum_{T:\U}F(T)$, univalence gives
\begin{equation}
 \bigl((X,s)=(Y,t)\bigr)\simeq
 \sum_{e:\Equiv(X,Y)}
       \bigl(\transport_F(\ua(e),s)=t\bigr).
 \label{eq:structured-identity}
\end{equation}
\end{proposition}
\begin{proof}
The identity type of a dependent sum is equivalent to
\[
 \sum_{p:X=Y}\bigl(\transport_F(p,s)=t\bigr).
\]
Replace $X=Y$ with $\Equiv(X,Y)$ using univalence and its inverse $\ua$. Dependent sums preserve equivalences of the indexing type with the corresponding transported fibers.
\end{proof}

For a collective, $F$ includes the ownership, resource, governance, and execution data, with their laws; multiple carrier types can be handled by the corresponding iterated dependent record. The transport condition is essential. An equivalence of underlying storage formats that does not preserve certificates and budgets is not an equivalence of collective structures. See~\cite{hott} for identity types and univalence; the proposition is a direct use of these standard rules.

\subsection{Forgetting labels while retaining automorphisms}

Fix a universe-bounded, explicitly labelled presentation of collective data and let $M\in\X$ be its object of models. In particular, agent labels are fixed parameters rather than already identified by univalence. Suppose $G=\operatorname{Sym}(A)$ acts coherently on $M$ by reindexing all member-dependent fields and laws. Define
\begin{equation}
 \mathsf{CollectiveModuli}:=M\mathbin{\sslash}G
     :=\left|[n]\longmapsto M\times G^n\right|.
 \label{eq:moduli}
\end{equation}
The displayed simplicial object is the action groupoid. Groupoid objects are effective in an $\infty$-topos~\cite[Theorem~6.1.0.6]{lurie}, so this homotopy quotient exists with its action identifications and all their coherences. It changes the treatment of labels, not the ownership of any asset.

\begin{proposition}[Symmetries survive the quotient]
\label{prop:stabilizers}
If $\X=\Sp$, $M$ is a discrete set, and $G$ is a discrete group, the component of $M\sslash G$ containing $m\in M$ is equivalent to $B\Stab_G(m)$. Consequently
\[
 \pi_0(M\sslash G)=M/G,\qquad
 \pi_1(M\sslash G,[m])\cong\Stab_G(m),
\]
and its homotopy groups in degrees greater than one vanish.
\end{proposition}
\begin{proof}
The action groupoid on the orbit of $m$ is connected. Its full one-object subgroupoid at $m$ has automorphism group $\Stab_G(m)$. Inclusion is fully faithful and essentially surjective, hence an equivalence of groupoids; realization gives the asserted equivalence of spaces. The homotopy-group statements follow from the classifying space of a discrete group.
\end{proof}

Thus the orbit set records a class of presentations, while the homotopy quotient additionally records their automorphisms. If $M$ has higher structure arising from program equivalences or proof data, the quotient can retain that higher structure as well. One must not quotient again by symmetries already built into the chosen identity types. The univalent structured-type presentation and the explicit labelled action presentation are alternative constructions to be compared, not blindly superimposed.

The numerical example below is $0$-truncated. It establishes a concrete instance of the finite theory, not a claim that every allocation problem needs higher homotopy. Higher semantics matters when identifications, automorphisms, and their coherent descent are part of what the system must retain.

\section{A four-agent collective}
\label{sec:example}

Consider one epoch with four admitted members, two divisible resource coordinates, and one common productive asset. The resource units are core-hours and GiB-hours. There is no external supply. Let actual contributions equal the capacities in Table~\ref{tab:example}, and reserve $h=(4,4)$ for maintenance. Total contribution is $(12,16)$, leaving $b=(8,12)$.

\begin{table}[htbp]
\centering
\renewcommand{\arraystretch}{1.2}
\begin{tabular}{c c c c}
\toprule
Member & Capacity and contribution $\kappa_a=c_a$ & Admitted need $n_a$ & Allocation $x_a^*$\\
\midrule
$a_1$ & $(8,4)$ & $(1,2)$ & $(2/3,\,4/3)$\\
$a_2$ & $(4,8)$ & $(3,2)$ & $(2,\,4/3)$\\
$a_3$ & $(0,4)$ & $(4,4)$ & $(8/3,\,8/3)$\\
$a_4$ & $(0,0)$ & $(4,8)$ & $(8/3,\,16/3)$\\
\midrule
Total & $(12,16)$ & $(12,16)$ & $(8,\,32/3)$\\
\bottomrule
\end{tabular}
\caption{Need-based service with heterogeneous productive contribution. Each ordered pair uses the two stated resource units.}
\label{tab:example}
\end{table}

The exact service guarantee is
\[
 \lambda^*=\min\left\{1,\frac8{12},\frac{12}{16}\right\}=\frac23.
\]
All four members receive two thirds of their admitted bundle. Member $a_4$ receives a positive allocation despite contributing no capacity; member $a_1$ contributes the most CPU capacity but receives the smallest CPU allocation because its admitted need is smallest. The remaining memory budget is $12-32/3=4/3$. CPU is the bottleneck. The two-thirds guarantee cannot be increased for all members while retaining the same budgets and need bundles.

Take $q=3$ and $f=1$. Then $2q=6>5=m+f$ and $q=m-f$. Any two quorum sets intersect in at least two members, one of whom is honest under the fault bound. No member can authorize a plan alone, and any three members can supply the required signer set if they endorse the same plan.

To exhibit an actual model, work first in $\X=\Sp$. Choose a singleton common knowledge type with universal read permission, the common owner for the asset, the displayed resource data, and a valid three-member certificate for this plan. To include the required relabellings, put $G=\operatorname{Sym}(4)$ and take states $S=G\times\{0,1\}$. At $(g,i)$, use the $g$-reindexed resource data; $i$ records whether the plan has been published. Left multiplication on $G$ gives the relabelling action. A finite control category has the identity arrows and one certified arrow $(g,0)\to(g,1)$ for each $g$, carrying the reindexed certificate. The initial state is $(1_G,0)$. Both endpoints of every arrow satisfy $\Inv_{\mathrm{rad}}$, and relabelling preserves the transition rule. There are no nonidentity isomorphisms; the discrete simplicial nerve is therefore a complete Segal space. This realizes the constitutional and safety specification from the supplied data, without establishing live distributed implementation under failures.

For a nontrivial label symmetry example, instead take the discrete family of numerical states with four members, identical needs and contributions, uniform governance eligibility, and no distinguishing history. Such a state has stabilizer $\operatorname{Sym}(4)$. Its component in this state's action quotient is $B\operatorname{Sym}(4)$. Equal fractional service is invariant under this symmetry; selecting one member for an indivisible assignment invokes the obstruction in Theorem~\ref{thm:symmetry}.

\section{Interpretation, limits, and further formalization}
\label{sec:limits}

The ambient $\infty$-topos supplies a logic of context-dependent data and coherent identification. Common ownership, equal standing, and the admission of needs are chosen constitutional requirements. Safety follows from verified preservation and authenticated evidence. Allocation optimality follows from a specified objective and feasible set. Neither the political requirements nor universal implementation success follows from the axioms of an $\infty$-topos.

The model separates several obligations that an implementation must discharge:
\begin{enumerate}
\item \emph{Membership and authentication.} Distinct members must correspond to the intended constitutional identities. Permitting unrestricted replica creation would invalidate the interpretation of equal voting power and the assumed fault bound.
\item \emph{Resource measurement.} Capacity and need data require an admitted measurement or verification procedure. An allocation certificate proves an implication from these inputs, not their physical accuracy.
\item \emph{Execution refinement.} The implementation must supply the step interpretation required by Theorem~\ref{thm:preserve}, including failures that fall within the claimed assurance boundary.
\item \emph{Coordination and availability.} Quorum safety, delivery, progress, and fair service over time are separate properties. A consensus protocol must supply its own timing and fault assumptions.
\item \emph{Institutional scope.} Equal formal rights do not establish equal effective influence, truthful need reports, or the absence of external control. These require additional models and evidence.
\end{enumerate}

There are several precise extensions. Time-indexed budgets and temporal service bounds would distinguish instantaneous fairness from starvation freedom. Indivisible jobs require a richer feasible-plan type and explicit symmetry-breaking data. Dynamic membership requires a certified relation between successive member types and quorum-overlap conditions across configurations. Formalization of the execution layer requires directed higher type theory or an explicit model of internal complete Segal objects. More general production can replace the ordered budget category by a symmetric monoidal category of resource transformations. Each extension changes a stated assumption or adds a proof obligation; none is implied by increasing the categorical dimension.

The resulting representation is therefore a structured collective \emph{inside} an $\infty$-topos, equipped with its own directed execution category and internal proof obligations. Its finite fragment has a direct constructive interpretation, while its higher structure retains equivalences and coherence that a plain set of states would discard.

\appendix
\section{Exact-arithmetic supplement and verification status}
\label{app:verification}

The accompanying source package contains \texttt{verify.py}, a standalone Python 3 program using rational arithmetic from \texttt{fractions.Fraction}. It implements~\eqref{eq:lambda}, reproduces Table~\ref{tab:example}, verifies the ownership-independent allocation comparisons, and checks boundary cases with zero demand and zero capacity. A finite exhaustive check compares the resulting guarantee with all service vectors in $\{0,1/2,1\}^3$ for all three-member, two-resource demand matrices in $\{0,1\}^{3\times2}$ and budgets in $\{0,1,2\}^2$. There are $576$ such input instances. The program also enumerates the four-member quorum intersections and checks the symmetry statement on the fully symmetric four-member input.

These computations check the implementation of the finite formulas and the displayed example. They are not substitutes for the universal mathematical proofs and do not mechanize the $\infty$-topos or HoTT development. The manuscript contains conventional mathematical proofs, not a proof-assistant-checked formalization. The build instructions and the checked scope are supplied in \texttt{README.md}; the bibliography includes primary-source links.

{\raggedright
\bibliographystyle{plain}
\bibliography{references}
}
\end{document}

End of manuscript · Back to top ↑