{ Math

Formal model

Intents, CoW, auction, and signer welfare as equations.

This page is the protocol as written math. Same objects as the rest of the dome โ€” intents, CoW, surplus, bond โ€” without the prose around them.

Intent

I โˆˆ ๐’œ ร— ๐’œ ร— โ„+ ร— โ„+ ร— โ„• ร— Sig
(9.1)

Limit price p_lim(I) = q_min / q_in. Feasibility is (2.2). Partial fills scale q_min linearly.

Coincidence of wants

CoW(I, J) โ‡” aout(I) = ain(J) โˆง plim(I) ยท plim(J) โ‰ค 1
(9.2)

The feasible uniform rate sits in the closed interval

r* โˆˆ [ plim(I) , plim(J)-1 ]
(9.3)
r*min-out Bmin-out Arate
//R.05 Uniform clearing rate r* inside the CoW interval

Picking r*

Archerdome picks the rate that maximises total surplus inside the interval. Ties break toward the older intent.

r* = arg maxr SI(r) + SJ(r)
(9.4)

Auction

Each solver v submits a bundle F_v of feasible fills. The winner maximises

maxv ฮฃi โˆˆ F_v ฯ€v(i) โˆ’ cgas(F_v)
(9.5)

subject to the bond (7.1) and no overlapping claims on the same intent.

Signer welfare

u(I) = ฯ€u = ยฝ max(0, qout โˆ’ qmin)
(9.6)

The signer is strictly better off than the limit they signed whenever a fill improves, and never worse. That is the only welfare claim the protocol makes.