Skip to content

Commit

Permalink
Extrinsics come with length
Browse files Browse the repository at this point in the history
  • Loading branch information
gavofyork committed Jul 21, 2024
1 parent 44004df commit ebdee62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions text/work_packages_and_reports.tex
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ \subsection{Packages and Items}\label{sec:packagesanditems}
\isa{\mathbf{y}}{\Y} \ts
\isa{g}{\N_G} \ts \\
&\isa{\mathbf{i}}{\seq{\tuple{\H,\N}}} \ts
\isa{\mathbf{x}}{\seq{\H}} \ts
\isa{\mathbf{x}}{\seq{(\H, \N)}} \ts
\isa{e}{\N}
\end{aligned}}
\end{equation}
Expand All @@ -91,7 +91,7 @@ \subsection{Packages and Items}\label{sec:packagesanditems}
\begin{align}
\label{eq:checkextractsize}
\forall p &\in \mathbb{P}: \left(
\sum_{i \in p_\mathbf{i}} |i_\mathbf{i}|\cdot\mathsf{W}_S\mathsf{W}_C + \sum_{i \in p_\mathbf{i}} \sum_{\mathcal{H}(\mathbf{x}) \in i_x} |\mathbf{x}|\right) \le \mathsf{W}_P \\
\sum_{i \in p_\mathbf{i}} |i_\mathbf{i}|\cdot\mathsf{W}_S\mathsf{W}_C + \sum_{i \in p_\mathbf{i}} \sum_{(h, l) \in i_\mathbf{x}} \!\!\!l\right) \le \mathsf{W}_P \\
\mathsf{W}_P &= 12\cdot2^{20}
\end{align}

Expand Down Expand Up @@ -163,15 +163,15 @@ \subsection{Computation of Work Results}\label{sec:computeworkresult}
\begin{equation}
\begin{aligned}
\importsegmentdata(i \in \mathbb{I}) &\equiv [\mathbf{s}[n] \mid (\mathcal{M}(\mathbf{s}), n) \orderedin i_\mathbf{i}] \\
\extrinsicdata(i \in \mathbb{I}) &\equiv [x \mid \mathcal{H}(x) \orderedin i_\mathbf{x}]
\extrinsicdata(i \in \mathbb{I}) &\equiv [\mathbf{d} \mid (\mathcal{H}(\mathbf{d}), |\mathbf{d}|) \orderedin i_\mathbf{x}]
\end{aligned}
\end{equation}

We may then define $s$ as the data availability specification of the package using these two functions together with the yet to be defined \emph{Availability Specifier} function $\newavailabilityspecifier$ (see section \ref{sec:availabiltyspecifier}):
\begin{equation}
\begin{aligned}
s &= \newavailabilityspecifier(\mathcal{H}(\mathbf{p}), \se(\var{\mathbf{p}}, \mathbf{x}, \mathbf{i}, \mathbf{j}), \wideparen{\overline{\mathbf{e}}}) \\
\nonumber \where \mathbf{x} &= [[\var{\se(\mathbf{x})} \mid \mathbf{x} \in \extrinsicdata(i)] \mid i \orderedin \mathbf{p}_\mathbf{i}]\\
\nonumber \where \mathbf{x} &= [[\var{\se(\mathbf{d})} \mid \mathbf{d} \in \extrinsicdata(i)] \mid i \orderedin \mathbf{p}_\mathbf{i}]\\
\nonumber \also \mathbf{i} &= [\importsegmentdata(i) \mid i \orderedin \mathbf{p}_\mathbf{i}]\\
\nonumber \also \mathbf{j} &= [\mathcal{J}(\mathbf{s}, n) \mid (\mathcal{M}(\mathbf{s}), n) \orderedin i_\mathbf{i}, i \orderedin \mathbf{p}_\mathbf{i}]
\end{aligned}
Expand Down

0 comments on commit ebdee62

Please sign in to comment.