diff --git a/404.html b/404.html index b52426783..ba2ef55ea 100644 --- a/404.html +++ b/404.html @@ -6,7 +6,7 @@ Polkadot Protocol Specification - + diff --git a/Polkadot_Protocol_Spec.pdf b/Polkadot_Protocol_Spec.pdf index 039756ffa..0760ece78 100644 Binary files a/Polkadot_Protocol_Spec.pdf and b/Polkadot_Protocol_Spec.pdf differ diff --git a/Support Docs/privacy_policy.html b/Support Docs/privacy_policy.html index f26994ea4..08ca8741d 100644 --- a/Support Docs/privacy_policy.html +++ b/Support Docs/privacy_policy.html @@ -6,7 +6,7 @@ Privacy Policy | Polkadot Protocol Specification - + diff --git a/__docusaurus/debug.html b/__docusaurus/debug.html index 5c1c60911..e5783a379 100644 --- a/__docusaurus/debug.html +++ b/__docusaurus/debug.html @@ -6,7 +6,7 @@ Docusaurus debug panel - + diff --git a/__docusaurus/debug/config.html b/__docusaurus/debug/config.html index 3cc2007c3..6a15d6024 100644 --- a/__docusaurus/debug/config.html +++ b/__docusaurus/debug/config.html @@ -6,7 +6,7 @@ Docusaurus debug panel - + diff --git a/__docusaurus/debug/content.html b/__docusaurus/debug/content.html index 13a480feb..154639758 100644 --- a/__docusaurus/debug/content.html +++ b/__docusaurus/debug/content.html @@ -6,7 +6,7 @@ Docusaurus debug panel - + diff --git a/__docusaurus/debug/globalData.html b/__docusaurus/debug/globalData.html index f59932973..37dd32893 100644 --- a/__docusaurus/debug/globalData.html +++ b/__docusaurus/debug/globalData.html @@ -6,7 +6,7 @@ Docusaurus debug panel - + diff --git a/__docusaurus/debug/metadata.html b/__docusaurus/debug/metadata.html index 490078726..8076c387f 100644 --- a/__docusaurus/debug/metadata.html +++ b/__docusaurus/debug/metadata.html @@ -6,7 +6,7 @@ Docusaurus debug panel - + diff --git a/__docusaurus/debug/registry.html b/__docusaurus/debug/registry.html index eb622dbf8..28444b02c 100644 --- a/__docusaurus/debug/registry.html +++ b/__docusaurus/debug/registry.html @@ -6,7 +6,7 @@ Docusaurus debug panel - + diff --git a/__docusaurus/debug/routes.html b/__docusaurus/debug/routes.html index af806be3f..9c07b94bb 100644 --- a/__docusaurus/debug/routes.html +++ b/__docusaurus/debug/routes.html @@ -6,7 +6,7 @@ Docusaurus debug panel - + diff --git a/assets/files/Polkadot_Protocol_Spec-b329165805bb42ffc13a7368c0fa6cfd.pdf b/assets/files/Polkadot_Protocol_Spec-0fba8fd0fb9f68fb108a98386459d5b8.pdf similarity index 96% rename from assets/files/Polkadot_Protocol_Spec-b329165805bb42ffc13a7368c0fa6cfd.pdf rename to assets/files/Polkadot_Protocol_Spec-0fba8fd0fb9f68fb108a98386459d5b8.pdf index 039756ffa..0760ece78 100644 Binary files a/assets/files/Polkadot_Protocol_Spec-b329165805bb42ffc13a7368c0fa6cfd.pdf and b/assets/files/Polkadot_Protocol_Spec-0fba8fd0fb9f68fb108a98386459d5b8.pdf differ diff --git a/assets/js/1df93b7f.fc93780e.js b/assets/js/1df93b7f.41039066.js similarity index 99% rename from assets/js/1df93b7f.fc93780e.js rename to assets/js/1df93b7f.41039066.js index 63de97aa6..3fe372ce0 100644 --- a/assets/js/1df93b7f.fc93780e.js +++ b/assets/js/1df93b7f.41039066.js @@ -1,2 +1,2 @@ -/*! For license information please see 1df93b7f.fc93780e.js.LICENSE.txt */ -(self.webpackChunkspec_website=self.webpackChunkspec_website||[]).push([[237],{4541:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r,o=n(7294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...s}=e;return o.createElement("svg",a({width:800,height:800,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},s),t?o.createElement("title",{id:n},t):null,r||(r=o.createElement("path",{d:"M1.811 10.231c-.047 0-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046 0 .058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047 11.306c-.047 0-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047 0 .07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828 1.075c-.047 0-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514-.176.046-.187.058-.34-.117-.174-.199-.303-.327-.548-.444-.737-.362-1.45-.257-2.115.175-.795.514-1.204 1.274-1.192 2.22.011.935.654 1.706 1.577 1.835.795.105 1.46-.175 1.987-.77.105-.13.198-.27.315-.434H10.47c-.245 0-.304-.152-.222-.35.152-.362.432-.97.596-1.274a.315.315 0 0 1 .292-.187h4.253c-.023.316-.023.631-.07.947a4.983 4.983 0 0 1-.958 2.29c-.841 1.11-1.94 1.8-3.33 1.986-1.145.152-2.209-.07-3.143-.77-.865-.655-1.356-1.52-1.484-2.595-.152-1.274.222-2.419.993-3.424.83-1.086 1.928-1.776 3.272-2.02 1.098-.2 2.15-.07 3.096.571.62.41 1.063.97 1.356 1.648.07.105.023.164-.117.2m3.868 6.461c-1.064-.024-2.034-.328-2.852-1.029a3.665 3.665 0 0 1-1.262-2.255c-.21-1.32.152-2.489.947-3.529.853-1.122 1.881-1.706 3.272-1.95 1.192-.21 2.314-.095 3.33.595.923.63 1.496 1.484 1.648 2.605.198 1.578-.257 2.863-1.344 3.962-.771.783-1.718 1.273-2.805 1.495-.315.06-.63.07-.934.106zm2.78-4.72c-.011-.153-.011-.27-.034-.387-.21-1.157-1.274-1.81-2.384-1.554-1.087.245-1.788.935-2.045 2.033-.21.912.234 1.835 1.075 2.21.643.28 1.285.244 1.905-.07.923-.48 1.425-1.228 1.484-2.233z"})))}},8898:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r,o=n(7294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...s}=e;return o.createElement("svg",a({height:24,viewBox:"0 0 24 24",width:24,xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},s),t?o.createElement("title",{id:n},t):null,r||(r=o.createElement("path",{d:"M20.66 7a1.51 1.51 0 0 0-.55-.57l-7.34-4.24a1.67 1.67 0 0 0-1.54 0L3.89 6.43a1.68 1.68 0 0 0-.77 1.33v8.48a1.57 1.57 0 0 0 .22.76 1.51 1.51 0 0 0 .55.57l7.34 4.24a1.67 1.67 0 0 0 1.54 0l7.34-4.24a1.51 1.51 0 0 0 .55-.57 1.57 1.57 0 0 0 .22-.76V7.76a1.57 1.57 0 0 0-.22-.76zM12 17.92A5.92 5.92 0 1 1 17.13 9L16 9.71l-.36.2-1 .61A3 3 0 0 0 9 12a2.88 2.88 0 0 0 .4 1.48 3 3 0 0 0 5.13 0l2.6 1.52A5.94 5.94 0 0 1 12 17.92zm5.92-5.59h-.66V13h-.65v-.66H16v-.66h.66V11h.65v.66h.66zm2.47 0h-.66V13h-.66v-.66h-.65v-.66h.65V11h.66v.66h.66z"})))}},3515:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r,o=n(7294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...s}=e;return o.createElement("svg",a({width:800,height:800,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},s),t?o.createElement("title",{id:n},t):null,r||(r=o.createElement("path",{d:"m47.781 31.608-1.343-.832a18.57 18.57 0 0 0-.038-.391l1.154-1.077a.46.46 0 0 0-.153-.771l-1.476-.552a16.798 16.798 0 0 0-.115-.381l.92-1.279a.462.462 0 0 0-.3-.727l-1.557-.253c-.06-.118-.123-.234-.187-.35l.654-1.435a.46.46 0 0 0-.437-.654l-1.579.055a12.482 12.482 0 0 0-.25-.302l.363-1.539a.461.461 0 0 0-.556-.556l-1.538.362c-.1-.084-.2-.167-.303-.25l.055-1.578a.46.46 0 0 0-.654-.437l-1.435.654a16.712 16.712 0 0 0-.35-.188l-.253-1.556a.462.462 0 0 0-.726-.301l-1.28.92a14.31 14.31 0 0 0-.38-.115l-.552-1.476a.461.461 0 0 0-.771-.154l-1.077 1.156c-.13-.014-.26-.028-.391-.038l-.832-1.344a.462.462 0 0 0-.786 0l-.832 1.344c-.13.01-.261.024-.391.038l-1.077-1.155a.464.464 0 0 0-.771.153l-.552 1.476a14.05 14.05 0 0 0-.38.116l-1.28-.921a.46.46 0 0 0-.727.3l-.254 1.557c-.117.061-.233.124-.35.188l-1.434-.654a.46.46 0 0 0-.654.436l.055 1.58a14.34 14.34 0 0 0-.303.25l-1.538-.363a.464.464 0 0 0-.557.556l.363 1.539c-.085.1-.168.2-.25.302l-1.579-.055a.462.462 0 0 0-.437.654l.654 1.436c-.063.115-.126.231-.187.35l-1.556.252a.462.462 0 0 0-.301.727l.92 1.279c-.04.126-.078.253-.115.38l-1.476.553a.462.462 0 0 0-.153.771l1.155 1.077c-.015.13-.028.26-.039.391l-1.343.832a.462.462 0 0 0 0 .786l1.343.831c.011.131.024.262.039.392l-1.155 1.077a.462.462 0 0 0 .153.771l1.476.552c.037.128.076.255.116.38l-.921 1.28a.462.462 0 0 0 .301.726l1.556.253c.061.118.123.235.188.35l-.655 1.435a.462.462 0 0 0 .437.654l1.579-.055c.082.103.165.203.25.303l-.363 1.539a.46.46 0 0 0 .557.555l1.538-.362c.1.085.201.167.303.249l-.055 1.58a.461.461 0 0 0 .654.436l1.435-.654c.115.064.232.127.35.188l.253 1.555a.461.461 0 0 0 .727.302l1.279-.922c.126.04.253.08.38.116l.552 1.476a.46.46 0 0 0 .771.153l1.078-1.155c.13.015.26.028.391.04l.832 1.343a.463.463 0 0 0 .786 0l.831-1.344c.131-.011.262-.024.392-.039l1.077 1.155a.46.46 0 0 0 .77-.153l.553-1.476c.127-.036.254-.076.38-.116l1.28.922a.463.463 0 0 0 .726-.302l.254-1.556c.117-.06.233-.124.349-.187l1.435.654a.461.461 0 0 0 .654-.437l-.055-1.58c.102-.08.203-.163.303-.248l1.538.362a.46.46 0 0 0 .556-.555l-.362-1.539c.084-.1.167-.2.249-.303l1.58.055a.46.46 0 0 0 .436-.654l-.654-1.435c.064-.115.126-.232.187-.35l1.556-.253a.46.46 0 0 0 .301-.726l-.92-1.28a17.5 17.5 0 0 0 .115-.38l1.476-.552a.46.46 0 0 0 .153-.771l-1.155-1.077c.014-.13.027-.261.039-.392l1.343-.831a.462.462 0 0 0 0-.786zM38.79 42.752a.952.952 0 0 1 .399-1.861.952.952 0 0 1-.4 1.861zm-.457-3.087a.866.866 0 0 0-1.028.666l-.477 2.226A11.649 11.649 0 0 1 32 43.597c-1.76 0-3.43-.39-4.929-1.087l-.477-2.225a.866.866 0 0 0-1.028-.667l-1.965.422a11.68 11.68 0 0 1-1.016-1.197h9.561c.108 0 .18-.02.18-.118v-3.382c0-.099-.072-.118-.18-.118H29.35V33.08h3.024c.276 0 1.476.079 1.86 1.613.12.471.384 2.006.564 2.497.18.551.912 1.652 1.692 1.652h4.764a.977.977 0 0 0 .173-.017c-.33.449-.693.874-1.083 1.27l-2.01-.431zm-13.223 3.04a.952.952 0 0 1-.399-1.861.95.95 0 0 1 .398 1.862zm-3.627-14.707a.95.95 0 1 1-1.737.771.95.95 0 1 1 1.737-.771zm-1.115 2.643 2.047-.91a.868.868 0 0 0 .44-1.145l-.421-.953h1.658v7.474h-3.345a11.714 11.714 0 0 1-.38-4.466zm8.983-.726v-2.203h3.948c.204 0 1.44.236 1.44 1.16 0 .767-.948 1.043-1.728 1.043h-3.66zM43.7 31.898c0 .292-.011.581-.033.868h-1.2c-.12 0-.168.08-.168.197v.551c0 1.298-.732 1.58-1.373 1.652-.61.068-1.288-.256-1.371-.63-.36-2.025-.96-2.458-1.908-3.206 1.176-.746 2.4-1.848 2.4-3.323 0-1.593-1.092-2.596-1.836-3.088-1.044-.688-2.2-.826-2.512-.826H23.285a11.684 11.684 0 0 1 6.545-3.694l1.463 1.535c.331.346.88.36 1.225.028l1.638-1.566a11.71 11.71 0 0 1 8.009 5.704l-1.121 2.532a.869.869 0 0 0 .44 1.145l2.159.958c.037.383.056.77.056 1.163zM31.294 19.093a.95.95 0 0 1 1.344.031.952.952 0 0 1-.032 1.346.949.949 0 0 1-1.343-.032.953.953 0 0 1 .031-1.345zm11.123 8.951a.95.95 0 1 1 1.737.772.95.95 0 1 1-1.737-.772z",fill:"#fff"})))}},8391:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var r=n(7294),o=n(6010),a=n(9960),s=n(2263),i=n(9037),u=n(7788),c=n.n(u),l=n(7462);const f={features:"features_t9lD",featureSvg:"featureSvg_GfXr",kagome:"kagome_eyY2"},p=[{title:"Rust",Svg:n(3515).Z,description:r.createElement(r.Fragment,null,"See ",r.createElement("code",null,r.createElement("a",{href:"https://github.com/paritytech/polkadot"},"Node Implementation by Parity")),"\xa0and\xa0",r.createElement("code",null,r.createElement("a",{href:"https://github.com/smol-dot/smoldot"},"smoldot")))},{title:"Go",Svg:n(4541).Z,description:r.createElement(r.Fragment,null,"See ",r.createElement("code",null,r.createElement("a",{href:"https://github.com/ChainSafe/gossamer"},"Gossamer by Chainsafe")))},{title:"C++",Svg:n(8898).Z,description:r.createElement(r.Fragment,null,"See ",r.createElement("code",null,r.createElement("a",{href:"https://github.com/soramitsu/kagome"},"Kagome by Soramitsu"))),className:f.kagome}];function y(e){let{title:t,Svg:n,description:a,className:s}=e;return r.createElement("div",{className:(0,o.Z)("col col--4")},r.createElement("div",{className:"text--center"},r.createElement("div",{className:"fillWhite"},r.createElement(n,{className:f.featureSvg+""+(s?" "+s:""),role:"img"}))),r.createElement("div",{className:"text--center padding-horiz--md"},r.createElement("h3",null,t),r.createElement("p",null,a)))}function d(){return r.createElement("section",{className:f.features},r.createElement("div",{className:"container"},r.createElement("div",{className:"row"},p.map(((e,t)=>r.createElement(y,(0,l.Z)({key:t},e)))))))}const h={heroBanner:"heroBanner_qdFl",buttons:"buttons_AeoN"};function m(){const{siteConfig:e}=(0,s.Z)();return r.createElement("header",{className:(0,o.Z)("hero hero--primary",h.heroBanner)},r.createElement("div",{className:"container"},r.createElement("h1",{className:"hero__title"},"Polkadot ",r.createElement(c(),{strings:["Protocol Specification"],typeSpeed:120})),r.createElement("p",{className:"hero__subtitle"},e.tagline),r.createElement("div",{className:h.buttons},r.createElement(a.Z,{className:"button button--secondary button--lg",to:"/id-polkadot-protocol"},"Read the Spec"),r.createElement(a.Z,{className:"button button--secondary button--lg",to:n(3739).Z,target:"_blank"},"Download PDF"))))}function b(){const{siteConfig:e}=(0,s.Z)();return r.createElement(i.Z,{title:`${e.title}`,description:`${e.tagline}`},r.createElement(m,null),r.createElement("main",{id:"homepage_features"},r.createElement(d,null)))}},3739:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n.p+"assets/files/Polkadot_Protocol_Spec-b329165805bb42ffc13a7368c0fa6cfd.pdf"},7788:function(e,t,n){var r;e.exports=(r=n(7294),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=5)}([function(e,t,n){var r=n(3);e.exports=n(8)(r.isElement,!0)},function(e,t){e.exports=r},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";e.exports=n(7)},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;ne.length););var u=e.substring(0,t),c=e.substring(u.length+1,t+o),l=e.substring(t+o+1);e=u+c+l,o--}n.timeout=setTimeout((function(){n.toggleBlinking(!1),t>=e.length?n.doneTyping(e,t):n.keepTyping(e,t,o),n.temporaryPause&&(n.temporaryPause=!1,n.options.onTypingResumed(n.arrayPos,n))}),r)}),r):this.setPauseStatus(e,t,!0)}},{key:"keepTyping",value:function(e,t,n){0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),t+=n;var r=e.substr(0,t);this.replaceText(r),this.typewrite(e,t)}},{key:"doneTyping",value:function(e,t){var n=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){n.backspace(e,t)}),this.backDelay))}},{key:"backspace",value:function(e,t){var n=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var r=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){t=a.htmlParser.backSpaceHtmlChars(e,t,n);var r=e.substr(0,t);if(n.replaceText(r),n.smartBackspace){var o=n.strings[n.arrayPos+1];o&&r===o.substr(0,t)?n.stopNum=t:n.stopNum=0}t>n.stopNum?(t--,n.backspace(e,t)):t<=n.stopNum&&(n.arrayPos++,n.arrayPos===n.strings.length?(n.arrayPos=0,n.options.onLastStringBackspaced(),n.shuffleStringsIfNeeded(),n.begin()):n.typewrite(n.strings[n.sequence[n.arrayPos]],t))}),r)}else this.setPauseStatus(e,t,!0)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(e,t,n){this.pause.typewrite=n,this.pause.curString=e,this.pause.curStrPos=t}},{key:"toggleBlinking",value:function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(e){return Math.round(Math.random()*e/2)+e}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))}},{key:"initFadeOut",value:function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)}),this.fadeOutDelay)}},{key:"replaceText",value:function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.el.innerHTML=e:this.el.textContent=e}},{key:"bindFocusEvents",value:function(){var e=this;this.isInput&&(this.el.addEventListener("focus",(function(t){e.stop()})),this.el.addEventListener("blur",(function(t){e.el.value&&0!==e.el.value.length||e.start()})))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),e}();t.default=s,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t":";";e.substr(t+1).charAt(0)!==o&&!(1+ ++t>e.length););t++}return t}},{key:"backSpaceHtmlChars",value:function(e,t,n){if("html"!==n.contentType)return t;var r=e.substr(t).charAt(0);if(">"===r||";"===r){var o="";for(o=">"===r?"<":"&";e.substr(t-1).charAt(0)!==o&&!(--t<0););t--}return t}}]),e}();t.default=r;var o=new r;t.htmlParser=o}])},e.exports=r()},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n.n(r),a=n(0),s=n.n(a),i=n(4),u=n.n(i);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=this.props,r=(n.style,n.typedRef,n.stopped,n.className,l(n,["style","typedRef","stopped","className"]));this.typed&&this.typed.destroy(),this.typed=new u.a(this.rootElement.current,Object.assign(r,t)),this.props.typedRef&&this.props.typedRef(this.typed),this.typed.reConstruct=function(t){e.constructTyped(t)}}},{key:"shouldComponentUpdate",value:function(e){var t=this;if(this.props!==e){e.style,e.typedRef,e.stopped,e.className;var n=l(e,["style","typedRef","stopped","className"]);return this.typed.options=Object.assign(this.typed.options,n),!Object.keys(e).every((function(n){return!t.props[n]&&e[n]?(t.constructTyped(e),!1):(t.typed[n]&&(t.typed[n]=e[n]),!0)}))||this.props.strings.length===e.strings.length||this.constructTyped(e),!0}return!1}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.className,r=e.children,a=o.a.createElement("span",{ref:this.rootElement});return r&&(a=o.a.cloneElement(r,{ref:this.rootElement})),o.a.createElement("span",{style:t,className:n},a)}}])&&f(n.prototype,a),s&&f(n,s),t}();h.propTypes={style:s.a.object,className:s.a.string,children:s.a.object,typedRef:s.a.func,stopped:s.a.bool,strings:s.a.arrayOf(s.a.string),typeSpeed:s.a.number,startDelay:s.a.number,backSpeed:s.a.number,smartBackspace:s.a.bool,shuffle:s.a.bool,backDelay:s.a.number,fadeOut:s.a.bool,fadeOutClass:s.a.string,fadeOutDelay:s.a.number,loop:s.a.bool,loopCount:s.a.number,showCursor:s.a.bool,cursorChar:s.a.string,autoInsertCss:s.a.bool,attr:s.a.string,bindInputFocusEvents:s.a.bool,contentType:s.a.oneOf(["html",""]),onComplete:s.a.func,preStringTyped:s.a.func,onStringTyped:s.a.func,onLastStringBackspaced:s.a.func,onTypingPaused:s.a.func,onTypingResumed:s.a.func,onReset:s.a.func,onStop:s.a.func,onStart:s.a.func,onDestroy:s.a.func},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,y=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case s:case u:case i:case d:return e;default:switch(e=e&&e.$$typeof){case l:case y:case c:return e;default:return t}}case b:case m:case a:return t}}}function S(e){return w(e)===p}t.typeOf=w,t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=y,t.Fragment=s,t.Lazy=b,t.Memo=m,t.Portal=a,t.Profiler=u,t.StrictMode=i,t.Suspense=d,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===p||e===u||e===i||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===y||e.$$typeof===v||e.$$typeof===g)},t.isAsyncMode=function(e){return S(e)||w(e)===f},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return w(e)===y},t.isFragment=function(e){return w(e)===s},t.isLazy=function(e){return w(e)===b},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===u},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===d}},function(e,t,n){"use strict";!function(){Object.defineProperty(t,"__esModule",{value:!0});var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r2?n-2:0),o=2;o1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),c)},oneOfType:function(e){if(!Array.isArray(e))return u("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var t=0;t{"use strict";n.d(t,{Z:()=>s});var r,o=n(7294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...s}=e;return o.createElement("svg",a({width:800,height:800,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},s),t?o.createElement("title",{id:n},t):null,r||(r=o.createElement("path",{d:"M1.811 10.231c-.047 0-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046 0 .058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047 11.306c-.047 0-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047 0 .07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828 1.075c-.047 0-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514-.176.046-.187.058-.34-.117-.174-.199-.303-.327-.548-.444-.737-.362-1.45-.257-2.115.175-.795.514-1.204 1.274-1.192 2.22.011.935.654 1.706 1.577 1.835.795.105 1.46-.175 1.987-.77.105-.13.198-.27.315-.434H10.47c-.245 0-.304-.152-.222-.35.152-.362.432-.97.596-1.274a.315.315 0 0 1 .292-.187h4.253c-.023.316-.023.631-.07.947a4.983 4.983 0 0 1-.958 2.29c-.841 1.11-1.94 1.8-3.33 1.986-1.145.152-2.209-.07-3.143-.77-.865-.655-1.356-1.52-1.484-2.595-.152-1.274.222-2.419.993-3.424.83-1.086 1.928-1.776 3.272-2.02 1.098-.2 2.15-.07 3.096.571.62.41 1.063.97 1.356 1.648.07.105.023.164-.117.2m3.868 6.461c-1.064-.024-2.034-.328-2.852-1.029a3.665 3.665 0 0 1-1.262-2.255c-.21-1.32.152-2.489.947-3.529.853-1.122 1.881-1.706 3.272-1.95 1.192-.21 2.314-.095 3.33.595.923.63 1.496 1.484 1.648 2.605.198 1.578-.257 2.863-1.344 3.962-.771.783-1.718 1.273-2.805 1.495-.315.06-.63.07-.934.106zm2.78-4.72c-.011-.153-.011-.27-.034-.387-.21-1.157-1.274-1.81-2.384-1.554-1.087.245-1.788.935-2.045 2.033-.21.912.234 1.835 1.075 2.21.643.28 1.285.244 1.905-.07.923-.48 1.425-1.228 1.484-2.233z"})))}},8898:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r,o=n(7294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...s}=e;return o.createElement("svg",a({height:24,viewBox:"0 0 24 24",width:24,xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},s),t?o.createElement("title",{id:n},t):null,r||(r=o.createElement("path",{d:"M20.66 7a1.51 1.51 0 0 0-.55-.57l-7.34-4.24a1.67 1.67 0 0 0-1.54 0L3.89 6.43a1.68 1.68 0 0 0-.77 1.33v8.48a1.57 1.57 0 0 0 .22.76 1.51 1.51 0 0 0 .55.57l7.34 4.24a1.67 1.67 0 0 0 1.54 0l7.34-4.24a1.51 1.51 0 0 0 .55-.57 1.57 1.57 0 0 0 .22-.76V7.76a1.57 1.57 0 0 0-.22-.76zM12 17.92A5.92 5.92 0 1 1 17.13 9L16 9.71l-.36.2-1 .61A3 3 0 0 0 9 12a2.88 2.88 0 0 0 .4 1.48 3 3 0 0 0 5.13 0l2.6 1.52A5.94 5.94 0 0 1 12 17.92zm5.92-5.59h-.66V13h-.65v-.66H16v-.66h.66V11h.65v.66h.66zm2.47 0h-.66V13h-.66v-.66h-.65v-.66h.65V11h.66v.66h.66z"})))}},3515:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r,o=n(7294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...s}=e;return o.createElement("svg",a({width:800,height:800,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},s),t?o.createElement("title",{id:n},t):null,r||(r=o.createElement("path",{d:"m47.781 31.608-1.343-.832a18.57 18.57 0 0 0-.038-.391l1.154-1.077a.46.46 0 0 0-.153-.771l-1.476-.552a16.798 16.798 0 0 0-.115-.381l.92-1.279a.462.462 0 0 0-.3-.727l-1.557-.253c-.06-.118-.123-.234-.187-.35l.654-1.435a.46.46 0 0 0-.437-.654l-1.579.055a12.482 12.482 0 0 0-.25-.302l.363-1.539a.461.461 0 0 0-.556-.556l-1.538.362c-.1-.084-.2-.167-.303-.25l.055-1.578a.46.46 0 0 0-.654-.437l-1.435.654a16.712 16.712 0 0 0-.35-.188l-.253-1.556a.462.462 0 0 0-.726-.301l-1.28.92a14.31 14.31 0 0 0-.38-.115l-.552-1.476a.461.461 0 0 0-.771-.154l-1.077 1.156c-.13-.014-.26-.028-.391-.038l-.832-1.344a.462.462 0 0 0-.786 0l-.832 1.344c-.13.01-.261.024-.391.038l-1.077-1.155a.464.464 0 0 0-.771.153l-.552 1.476a14.05 14.05 0 0 0-.38.116l-1.28-.921a.46.46 0 0 0-.727.3l-.254 1.557c-.117.061-.233.124-.35.188l-1.434-.654a.46.46 0 0 0-.654.436l.055 1.58a14.34 14.34 0 0 0-.303.25l-1.538-.363a.464.464 0 0 0-.557.556l.363 1.539c-.085.1-.168.2-.25.302l-1.579-.055a.462.462 0 0 0-.437.654l.654 1.436c-.063.115-.126.231-.187.35l-1.556.252a.462.462 0 0 0-.301.727l.92 1.279c-.04.126-.078.253-.115.38l-1.476.553a.462.462 0 0 0-.153.771l1.155 1.077c-.015.13-.028.26-.039.391l-1.343.832a.462.462 0 0 0 0 .786l1.343.831c.011.131.024.262.039.392l-1.155 1.077a.462.462 0 0 0 .153.771l1.476.552c.037.128.076.255.116.38l-.921 1.28a.462.462 0 0 0 .301.726l1.556.253c.061.118.123.235.188.35l-.655 1.435a.462.462 0 0 0 .437.654l1.579-.055c.082.103.165.203.25.303l-.363 1.539a.46.46 0 0 0 .557.555l1.538-.362c.1.085.201.167.303.249l-.055 1.58a.461.461 0 0 0 .654.436l1.435-.654c.115.064.232.127.35.188l.253 1.555a.461.461 0 0 0 .727.302l1.279-.922c.126.04.253.08.38.116l.552 1.476a.46.46 0 0 0 .771.153l1.078-1.155c.13.015.26.028.391.04l.832 1.343a.463.463 0 0 0 .786 0l.831-1.344c.131-.011.262-.024.392-.039l1.077 1.155a.46.46 0 0 0 .77-.153l.553-1.476c.127-.036.254-.076.38-.116l1.28.922a.463.463 0 0 0 .726-.302l.254-1.556c.117-.06.233-.124.349-.187l1.435.654a.461.461 0 0 0 .654-.437l-.055-1.58c.102-.08.203-.163.303-.248l1.538.362a.46.46 0 0 0 .556-.555l-.362-1.539c.084-.1.167-.2.249-.303l1.58.055a.46.46 0 0 0 .436-.654l-.654-1.435c.064-.115.126-.232.187-.35l1.556-.253a.46.46 0 0 0 .301-.726l-.92-1.28a17.5 17.5 0 0 0 .115-.38l1.476-.552a.46.46 0 0 0 .153-.771l-1.155-1.077c.014-.13.027-.261.039-.392l1.343-.831a.462.462 0 0 0 0-.786zM38.79 42.752a.952.952 0 0 1 .399-1.861.952.952 0 0 1-.4 1.861zm-.457-3.087a.866.866 0 0 0-1.028.666l-.477 2.226A11.649 11.649 0 0 1 32 43.597c-1.76 0-3.43-.39-4.929-1.087l-.477-2.225a.866.866 0 0 0-1.028-.667l-1.965.422a11.68 11.68 0 0 1-1.016-1.197h9.561c.108 0 .18-.02.18-.118v-3.382c0-.099-.072-.118-.18-.118H29.35V33.08h3.024c.276 0 1.476.079 1.86 1.613.12.471.384 2.006.564 2.497.18.551.912 1.652 1.692 1.652h4.764a.977.977 0 0 0 .173-.017c-.33.449-.693.874-1.083 1.27l-2.01-.431zm-13.223 3.04a.952.952 0 0 1-.399-1.861.95.95 0 0 1 .398 1.862zm-3.627-14.707a.95.95 0 1 1-1.737.771.95.95 0 1 1 1.737-.771zm-1.115 2.643 2.047-.91a.868.868 0 0 0 .44-1.145l-.421-.953h1.658v7.474h-3.345a11.714 11.714 0 0 1-.38-4.466zm8.983-.726v-2.203h3.948c.204 0 1.44.236 1.44 1.16 0 .767-.948 1.043-1.728 1.043h-3.66zM43.7 31.898c0 .292-.011.581-.033.868h-1.2c-.12 0-.168.08-.168.197v.551c0 1.298-.732 1.58-1.373 1.652-.61.068-1.288-.256-1.371-.63-.36-2.025-.96-2.458-1.908-3.206 1.176-.746 2.4-1.848 2.4-3.323 0-1.593-1.092-2.596-1.836-3.088-1.044-.688-2.2-.826-2.512-.826H23.285a11.684 11.684 0 0 1 6.545-3.694l1.463 1.535c.331.346.88.36 1.225.028l1.638-1.566a11.71 11.71 0 0 1 8.009 5.704l-1.121 2.532a.869.869 0 0 0 .44 1.145l2.159.958c.037.383.056.77.056 1.163zM31.294 19.093a.95.95 0 0 1 1.344.031.952.952 0 0 1-.032 1.346.949.949 0 0 1-1.343-.032.953.953 0 0 1 .031-1.345zm11.123 8.951a.95.95 0 1 1 1.737.772.95.95 0 1 1-1.737-.772z",fill:"#fff"})))}},8391:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var r=n(7294),o=n(6010),a=n(9960),s=n(2263),i=n(9037),u=n(7788),c=n.n(u),l=n(7462);const f={features:"features_t9lD",featureSvg:"featureSvg_GfXr",kagome:"kagome_eyY2"},p=[{title:"Rust",Svg:n(3515).Z,description:r.createElement(r.Fragment,null,"See ",r.createElement("code",null,r.createElement("a",{href:"https://github.com/paritytech/polkadot"},"Node Implementation by Parity")),"\xa0and\xa0",r.createElement("code",null,r.createElement("a",{href:"https://github.com/smol-dot/smoldot"},"smoldot")))},{title:"Go",Svg:n(4541).Z,description:r.createElement(r.Fragment,null,"See ",r.createElement("code",null,r.createElement("a",{href:"https://github.com/ChainSafe/gossamer"},"Gossamer by Chainsafe")))},{title:"C++",Svg:n(8898).Z,description:r.createElement(r.Fragment,null,"See ",r.createElement("code",null,r.createElement("a",{href:"https://github.com/soramitsu/kagome"},"Kagome by Soramitsu"))),className:f.kagome}];function y(e){let{title:t,Svg:n,description:a,className:s}=e;return r.createElement("div",{className:(0,o.Z)("col col--4")},r.createElement("div",{className:"text--center"},r.createElement("div",{className:"fillWhite"},r.createElement(n,{className:f.featureSvg+""+(s?" "+s:""),role:"img"}))),r.createElement("div",{className:"text--center padding-horiz--md"},r.createElement("h3",null,t),r.createElement("p",null,a)))}function d(){return r.createElement("section",{className:f.features},r.createElement("div",{className:"container"},r.createElement("div",{className:"row"},p.map(((e,t)=>r.createElement(y,(0,l.Z)({key:t},e)))))))}const h={heroBanner:"heroBanner_qdFl",buttons:"buttons_AeoN"};function m(){const{siteConfig:e}=(0,s.Z)();return r.createElement("header",{className:(0,o.Z)("hero hero--primary",h.heroBanner)},r.createElement("div",{className:"container"},r.createElement("h1",{className:"hero__title"},"Polkadot ",r.createElement(c(),{strings:["Protocol Specification"],typeSpeed:120})),r.createElement("p",{className:"hero__subtitle"},e.tagline),r.createElement("div",{className:h.buttons},r.createElement(a.Z,{className:"button button--secondary button--lg",to:"/id-polkadot-protocol"},"Read the Spec"),r.createElement(a.Z,{className:"button button--secondary button--lg",to:n(3739).Z,target:"_blank"},"Download PDF"))))}function b(){const{siteConfig:e}=(0,s.Z)();return r.createElement(i.Z,{title:`${e.title}`,description:`${e.tagline}`},r.createElement(m,null),r.createElement("main",{id:"homepage_features"},r.createElement(d,null)))}},3739:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n.p+"assets/files/Polkadot_Protocol_Spec-0fba8fd0fb9f68fb108a98386459d5b8.pdf"},7788:function(e,t,n){var r;e.exports=(r=n(7294),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=5)}([function(e,t,n){var r=n(3);e.exports=n(8)(r.isElement,!0)},function(e,t){e.exports=r},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";e.exports=n(7)},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;ne.length););var u=e.substring(0,t),c=e.substring(u.length+1,t+o),l=e.substring(t+o+1);e=u+c+l,o--}n.timeout=setTimeout((function(){n.toggleBlinking(!1),t>=e.length?n.doneTyping(e,t):n.keepTyping(e,t,o),n.temporaryPause&&(n.temporaryPause=!1,n.options.onTypingResumed(n.arrayPos,n))}),r)}),r):this.setPauseStatus(e,t,!0)}},{key:"keepTyping",value:function(e,t,n){0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),t+=n;var r=e.substr(0,t);this.replaceText(r),this.typewrite(e,t)}},{key:"doneTyping",value:function(e,t){var n=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){n.backspace(e,t)}),this.backDelay))}},{key:"backspace",value:function(e,t){var n=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var r=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){t=a.htmlParser.backSpaceHtmlChars(e,t,n);var r=e.substr(0,t);if(n.replaceText(r),n.smartBackspace){var o=n.strings[n.arrayPos+1];o&&r===o.substr(0,t)?n.stopNum=t:n.stopNum=0}t>n.stopNum?(t--,n.backspace(e,t)):t<=n.stopNum&&(n.arrayPos++,n.arrayPos===n.strings.length?(n.arrayPos=0,n.options.onLastStringBackspaced(),n.shuffleStringsIfNeeded(),n.begin()):n.typewrite(n.strings[n.sequence[n.arrayPos]],t))}),r)}else this.setPauseStatus(e,t,!0)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(e,t,n){this.pause.typewrite=n,this.pause.curString=e,this.pause.curStrPos=t}},{key:"toggleBlinking",value:function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(e){return Math.round(Math.random()*e/2)+e}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))}},{key:"initFadeOut",value:function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)}),this.fadeOutDelay)}},{key:"replaceText",value:function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.el.innerHTML=e:this.el.textContent=e}},{key:"bindFocusEvents",value:function(){var e=this;this.isInput&&(this.el.addEventListener("focus",(function(t){e.stop()})),this.el.addEventListener("blur",(function(t){e.el.value&&0!==e.el.value.length||e.start()})))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),e}();t.default=s,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t":";";e.substr(t+1).charAt(0)!==o&&!(1+ ++t>e.length););t++}return t}},{key:"backSpaceHtmlChars",value:function(e,t,n){if("html"!==n.contentType)return t;var r=e.substr(t).charAt(0);if(">"===r||";"===r){var o="";for(o=">"===r?"<":"&";e.substr(t-1).charAt(0)!==o&&!(--t<0););t--}return t}}]),e}();t.default=r;var o=new r;t.htmlParser=o}])},e.exports=r()},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n.n(r),a=n(0),s=n.n(a),i=n(4),u=n.n(i);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=this.props,r=(n.style,n.typedRef,n.stopped,n.className,l(n,["style","typedRef","stopped","className"]));this.typed&&this.typed.destroy(),this.typed=new u.a(this.rootElement.current,Object.assign(r,t)),this.props.typedRef&&this.props.typedRef(this.typed),this.typed.reConstruct=function(t){e.constructTyped(t)}}},{key:"shouldComponentUpdate",value:function(e){var t=this;if(this.props!==e){e.style,e.typedRef,e.stopped,e.className;var n=l(e,["style","typedRef","stopped","className"]);return this.typed.options=Object.assign(this.typed.options,n),!Object.keys(e).every((function(n){return!t.props[n]&&e[n]?(t.constructTyped(e),!1):(t.typed[n]&&(t.typed[n]=e[n]),!0)}))||this.props.strings.length===e.strings.length||this.constructTyped(e),!0}return!1}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.className,r=e.children,a=o.a.createElement("span",{ref:this.rootElement});return r&&(a=o.a.cloneElement(r,{ref:this.rootElement})),o.a.createElement("span",{style:t,className:n},a)}}])&&f(n.prototype,a),s&&f(n,s),t}();h.propTypes={style:s.a.object,className:s.a.string,children:s.a.object,typedRef:s.a.func,stopped:s.a.bool,strings:s.a.arrayOf(s.a.string),typeSpeed:s.a.number,startDelay:s.a.number,backSpeed:s.a.number,smartBackspace:s.a.bool,shuffle:s.a.bool,backDelay:s.a.number,fadeOut:s.a.bool,fadeOutClass:s.a.string,fadeOutDelay:s.a.number,loop:s.a.bool,loopCount:s.a.number,showCursor:s.a.bool,cursorChar:s.a.string,autoInsertCss:s.a.bool,attr:s.a.string,bindInputFocusEvents:s.a.bool,contentType:s.a.oneOf(["html",""]),onComplete:s.a.func,preStringTyped:s.a.func,onStringTyped:s.a.func,onLastStringBackspaced:s.a.func,onTypingPaused:s.a.func,onTypingResumed:s.a.func,onReset:s.a.func,onStop:s.a.func,onStart:s.a.func,onDestroy:s.a.func},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,y=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case s:case u:case i:case d:return e;default:switch(e=e&&e.$$typeof){case l:case y:case c:return e;default:return t}}case b:case m:case a:return t}}}function S(e){return w(e)===p}t.typeOf=w,t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=y,t.Fragment=s,t.Lazy=b,t.Memo=m,t.Portal=a,t.Profiler=u,t.StrictMode=i,t.Suspense=d,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===p||e===u||e===i||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===y||e.$$typeof===v||e.$$typeof===g)},t.isAsyncMode=function(e){return S(e)||w(e)===f},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return w(e)===y},t.isFragment=function(e){return w(e)===s},t.isLazy=function(e){return w(e)===b},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===u},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===d}},function(e,t,n){"use strict";!function(){Object.defineProperty(t,"__esModule",{value:!0});var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r2?n-2:0),o=2;o1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),c)},oneOfType:function(e){if(!Array.isArray(e))return u("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var t=0;t{t.d(e,{Zo:()=>i,kt:()=>h});var s=t(7294);function n(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function m(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),t.push.apply(t,s)}return t}function p(a){for(var e=1;e=0||(n[t]=a[t]);return n}(a,e);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(a);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(a,t)&&(n[t]=a[t])}return n}var N=s.createContext({}),l=function(a){var e=s.useContext(N),t=e;return a&&(t="function"==typeof a?a(e):p(p({},e),a)),t},i=function(a){var e=l(a.components);return s.createElement(N.Provider,{value:e},a.children)},k="mdxType",c={inlineCode:"code",wrapper:function(a){var e=a.children;return s.createElement(s.Fragment,{},e)}},o=s.forwardRef((function(a,e){var t=a.components,n=a.mdxType,m=a.originalType,N=a.parentName,i=r(a,["components","mdxType","originalType","parentName"]),k=l(t),o=n,h=k["".concat(N,".").concat(o)]||k[o]||c[o]||m;return t?s.createElement(h,p(p({ref:e},i),{},{components:t})):s.createElement(h,p({ref:e},i))}));function h(a,e){var t=arguments,n=e&&e.mdxType;if("string"==typeof a||n){var m=t.length,p=new Array(m);p[0]=o;var r={};for(var N in e)hasOwnProperty.call(e,N)&&(r[N]=e[N]);r.originalType=a,r[k]="string"==typeof a?a:n,p[1]=r;for(var l=2;l{t.d(e,{Z:()=>n});var s=t(7294);function n(a){let{content:e,algID:t,options:n={indentSize:"1.2em",commentDelimiter:"//",lineNumber:!1,lineNumberPunc:":",noEnd:!1,captionCount:void 0}}=a;(0,s.useEffect)((()=>{if(window&&document){const a=document.createElement("script");a.src="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js",a.addEventListener("load",(()=>{const a=document.createElement("script");a.src="https://cdn.jsdelivr.net/npm/pseudocode@latest/build/pseudocode.min.js",a.addEventListener("load",(()=>{var a=document.getElementById(window.location.hash.substring(1));pseudocode.renderElement(document.getElementById(`_ps_${t}`),n),a&&a.scrollIntoView()})),document.body.appendChild(a)})),document.body.appendChild(a)}}),[]);const m=`
`;return s.createElement("div",{dangerouslySetInnerHTML:{__html:m+e+"
"}})}},3561:(a,e,t)=>{t.r(e),t.d(e,{assets:()=>M,contentTitle:()=>z,default:()=>B,frontMatter:()=>f,metadata:()=>R,toc:()=>E});var s,n=t(7462),m=t(7294),p=t(3905);function r(){return r=Object.assign?Object.assign.bind():function(a){for(var e=1;e{let{title:e,titleId:t,...n}=a;return m.createElement("svg",r({width:"371pt",height:"139pt",viewBox:"0 0 371 139",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-labelledby":t},n),e?m.createElement("title",{id:t},e):null,s||(s=m.createElement("g",{className:"graph"},m.createElement("path",{fill:"#fff",d:"M0 139V0h371v139H0z"}),m.createElement("g",{className:"cluster",transform:"translate(4 135)"},m.createElement("title",null,"cluster__block"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M8-12v-111h206v111H8z"}),m.createElement("text",{textAnchor:"middle",x:111,y:-107.8,fontFamily:"Times,serif",fontSize:14},"Block")),m.createElement("g",{className:"node",transform:"translate(4 135)"},m.createElement("title",null,"block__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M24-66.5v-21h25v21H24z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M24-66.5v-21h25v21H24z"}),m.createElement("text",{x:27,y:-73.3,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M49-66.5v-21h28v21H49z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M49-66.5v-21h28v21H49z"}),m.createElement("text",{x:52,y:-73.3,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M77-66.5v-21h78v21H77z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M77-66.5v-21h78v21H77z"}),m.createElement("text",{x:104,y:-73.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M155-66.5v-21h43v21h-43z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M155-66.5v-21h43v21h-43z"}),m.createElement("text",{x:171,y:-73.3,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M24-45.5v-21h25v21H24z"}),m.createElement("text",{x:33,y:-52.3,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M49-45.5v-21h28v21H49z"}),m.createElement("text",{x:57,y:-52.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M77-45.5v-21h78v21H77z"}),m.createElement("text",{x:80,y:-52.3,fontFamily:"Times,serif",fontSize:14},"BlockHeader"),m.createElement("path",{fill:"none",stroke:"#000",d:"M155-45.5v-21h43v21h-43z"}),m.createElement("text",{x:158,y:-52.3,fontFamily:"Times,serif",fontSize:14},"header"),m.createElement("path",{fill:"none",stroke:"#000",d:"M24-24.5v-21h25v21H24z"}),m.createElement("text",{x:30.5,y:-31.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M49-24.5v-21h28v21H49z"}),m.createElement("text",{x:57,y:-31.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M77-24.5v-21h78v21H77z"}),m.createElement("text",{x:85,y:-31.3,fontFamily:"Times,serif",fontSize:14},"BlockBody"),m.createElement("path",{fill:"none",stroke:"#000",d:"M155-24.5v-21h43v21h-43z"}),m.createElement("text",{x:162.5,y:-31.3,fontFamily:"Times,serif",fontSize:14},"body")),m.createElement("g",{className:"node",transform:"translate(4 135)"},m.createElement("title",null,"block_header__seq"),m.createElement("text",{textAnchor:"middle",x:302.5,y:-68.3,fontFamily:"Times,serif",fontSize:14},m.createElement("a",{xlinkHref:"chap-state#img-block-header",xlinkTitle:"BlockHeader"},"BlockHeader"))),m.createElement("g",{className:"edge",transform:"translate(4 135)"},m.createElement("title",null,"block__seq:header_type->block_header__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M199-56c10.54 0 21.61-.84 32.42-2.12"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m228.75-61.7 10.37 2.15-9.45 4.79-.92-6.94z"})),m.createElement("g",{className:"node",transform:"translate(4 135)"},m.createElement("title",null,"block_body__seq"),m.createElement("text",{textAnchor:"middle",x:302.5,y:-14.3,fontFamily:"Times,serif",fontSize:14},m.createElement("a",{xlinkHref:"chap-state#img-block-body",xlinkTitle:"BlockBody"},"BlockBody"))),m.createElement("g",{className:"edge",transform:"translate(4 135)"},m.createElement("title",null,"block__seq:body_type->block_body__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M199-35c12.07 0 24.83 1.16 37.1 2.88"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m235.37-35.47 9.35 4.98-10.42 1.94 1.07-6.92z"})))))};var l;function i(){return i=Object.assign?Object.assign.bind():function(a){for(var e=1;e{let{title:e,titleId:t,...s}=a;return m.createElement("svg",i({width:"958pt",height:"197pt",viewBox:"0 0 958 196.83",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t},s),e?m.createElement("title",{id:t},e):null,l||(l=m.createElement("g",{className:"graph"},m.createElement("path",{fill:"#fff",d:"M0 196.83V0h958v196.83H0z"}),m.createElement("g",{className:"cluster",transform:"translate(4 192.83)"},m.createElement("title",null,"cluster__block_body"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M188-30.83v-150h626v150H188z"}),m.createElement("text",{textAnchor:"middle",x:501,y:-165.63,fontFamily:"Times,serif",fontSize:14},"BlockBody")),m.createElement("g",{className:"cluster",transform:"translate(4 192.83)"},m.createElement("title",null,"cluster__transaction"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M504-38.83v-111h302v111H504z"}),m.createElement("text",{textAnchor:"middle",x:655,y:-134.63,fontFamily:"Times,serif",fontSize:14},"BlockBody::Transaction")),m.createElement("g",{className:"node",transform:"translate(4 192.83)"},m.createElement("title",null,"block_body__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M204-105.83v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-105.83v-21h25v21h-25z"}),m.createElement("text",{x:207,y:-112.63,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M229-105.83v-21h28v21h-28z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-105.83v-21h28v21h-28z"}),m.createElement("text",{x:232,y:-112.63,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M257-105.83v-21h108v21H257z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-105.83v-21h108v21H257z"}),m.createElement("text",{x:299,y:-112.63,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M365-105.83v-21h103v21H365z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-105.83v-21h103v21H365z"}),m.createElement("text",{x:411,y:-112.63,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-84.83v-21h25v21h-25z"}),m.createElement("text",{x:213,y:-91.63,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-84.83v-21h28v21h-28z"}),m.createElement("text",{x:237,y:-91.63,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-84.83v-21h108v21H257z"}),m.createElement("text",{x:260,y:-91.63,fontFamily:"Times,serif",fontSize:14},"Scale::CompactInt"),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-84.83v-21h103v21H365z"}),m.createElement("text",{x:368,y:-91.63,fontFamily:"Times,serif",fontSize:14},"num_transactions"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-63.83v-21h25v21h-25z"}),m.createElement("text",{x:210.5,y:-70.63,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-63.83v-21h28v21h-28z"}),m.createElement("text",{x:237,y:-70.63,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-63.83v-21h108v21H257z"}),m.createElement("text",{x:279,y:-70.63,fontFamily:"Times,serif",fontSize:14},"Transaction"),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-63.83v-21h103v21H365z"}),m.createElement("text",{x:384,y:-70.63,fontFamily:"Times,serif",fontSize:14},"transactions"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-42.83v-21h264v21H204z"}),m.createElement("text",{x:236,y:-49.63,fontFamily:"Times,serif",fontSize:14},"repeat num_transactions.value times")),m.createElement("g",{className:"node",transform:"translate(4 192.83)"},m.createElement("title",null,"transaction__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M520-93.33v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M520-93.33v-21h25v21h-25z"}),m.createElement("text",{x:523,y:-100.13,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M545-93.33v-21h85v21h-85z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M545-93.33v-21h85v21h-85z"}),m.createElement("text",{x:576.5,y:-100.13,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M630-93.33v-21h108v21H630z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M630-93.33v-21h108v21H630z"}),m.createElement("text",{x:672,y:-100.13,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M738-93.33v-21h52v21h-52z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M738-93.33v-21h52v21h-52z"}),m.createElement("text",{x:758.5,y:-100.13,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M520-72.33v-21h25v21h-25z"}),m.createElement("text",{x:529,y:-79.13,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M545-72.33v-21h85v21h-85z"}),m.createElement("text",{x:581.5,y:-79.13,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M630-72.33v-21h108v21H630z"}),m.createElement("text",{x:633,y:-79.13,fontFamily:"Times,serif",fontSize:14},"Scale::CompactInt"),m.createElement("path",{fill:"none",stroke:"#000",d:"M738-72.33v-21h52v21h-52z"}),m.createElement("text",{x:741,y:-79.13,fontFamily:"Times,serif",fontSize:14},"len_data"),m.createElement("path",{fill:"none",stroke:"#000",d:"M520-51.33v-21h25v21h-25z"}),m.createElement("text",{x:526.5,y:-58.13,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M545-51.33v-21h85v21h-85z"}),m.createElement("text",{x:548,y:-58.13,fontFamily:"Times,serif",fontSize:14},"len_data.value"),m.createElement("path",{fill:"none",stroke:"#000",d:"M630-51.33v-21h108v21H630zM738-51.33v-21h52v21h-52z"}),m.createElement("text",{x:752.5,y:-58.13,fontFamily:"Times,serif",fontSize:14},"data")),m.createElement("g",{className:"edge",transform:"translate(4 192.83)"},m.createElement("title",null,"block_body__seq:transactions_type->transaction__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M469-73.83c10.49 0 21.31-.15 32.21-.4"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m499.03-77.76 10.09 3.24-9.9 3.76-.19-7z"})))))};var c;function o(){return o=Object.assign?Object.assign.bind():function(a){for(var e=1;e{let{title:e,titleId:t,...s}=a;return m.createElement("svg",o({width:820,height:"239pt",viewBox:"0 0 615 239",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-labelledby":t},s),e?m.createElement("title",{id:t},e):null,c||(c=m.createElement("g",{className:"graph"},m.createElement("path",{fill:"#fff",d:"M0 239V0h615v239H0z"}),m.createElement("g",{className:"cluster",transform:"translate(4 235)"},m.createElement("title",null,"cluster__block_header"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M188-8v-215h275V-8H188z"}),m.createElement("text",{textAnchor:"middle",x:325.5,y:-207.8,fontFamily:"Times,serif",fontSize:14},"BlockHeader")),m.createElement("g",{className:"node",transform:"translate(4 235)"},m.createElement("title",null,"block_header__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M204-167v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-167v-21h25v21h-25z"}),m.createElement("text",{x:207,y:-173.8,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M229-167v-21h28v21h-28z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-167v-21h28v21h-28z"}),m.createElement("text",{x:232,y:-173.8,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M257-167v-21h108v21H257z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-167v-21h108v21H257z"}),m.createElement("text",{x:299,y:-173.8,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M365-167v-21h82v21h-82z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-167v-21h82v21h-82z"}),m.createElement("text",{x:400.5,y:-173.8,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-146v-21h25v21h-25z"}),m.createElement("text",{x:213,y:-152.8,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-146v-21h28v21h-28z"}),m.createElement("text",{x:236,y:-152.8,fontFamily:"Times,serif",fontSize:14},"32"),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-146v-21h108v21H257zM365-146v-21h82v21h-82z"}),m.createElement("text",{x:373,y:-152.8,fontFamily:"Times,serif",fontSize:14},"parent_hash"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-125v-21h25v21h-25z"}),m.createElement("text",{x:209.5,y:-131.8,fontFamily:"Times,serif",fontSize:14},"32"),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-125v-21h28v21h-28z"}),m.createElement("text",{x:237,y:-131.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-125v-21h108v21H257z"}),m.createElement("text",{x:260,y:-131.8,fontFamily:"Times,serif",fontSize:14},"Scale::CompactInt"),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-125v-21h82v21h-82z"}),m.createElement("text",{x:384.5,y:-131.8,fontFamily:"Times,serif",fontSize:14},"number"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-104v-21h25v21h-25z"}),m.createElement("text",{x:210.5,y:-110.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-104v-21h28v21h-28z"}),m.createElement("text",{x:236,y:-110.8,fontFamily:"Times,serif",fontSize:14},"32"),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-104v-21h108v21H257zM365-104v-21h82v21h-82z"}),m.createElement("text",{x:379,y:-110.8,fontFamily:"Times,serif",fontSize:14},"state_root"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-83v-21h25v21h-25z"}),m.createElement("text",{x:210.5,y:-89.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-83v-21h28v21h-28z"}),m.createElement("text",{x:236,y:-89.8,fontFamily:"Times,serif",fontSize:14},"32"),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-83v-21h108v21H257zM365-83v-21h82v21h-82z"}),m.createElement("text",{x:368,y:-89.8,fontFamily:"Times,serif",fontSize:14},"extrinsic_root"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-62v-21h25v21h-25z"}),m.createElement("text",{x:210.5,y:-68.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-62v-21h28v21h-28z"}),m.createElement("text",{x:237,y:-68.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-62v-21h108v21H257z"}),m.createElement("text",{x:260,y:-68.8,fontFamily:"Times,serif",fontSize:14},"Scale::CompactInt"),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-62v-21h82v21h-82z"}),m.createElement("text",{x:371,y:-68.8,fontFamily:"Times,serif",fontSize:14},"num_digests"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-41v-21h25v21h-25z"}),m.createElement("text",{x:210.5,y:-47.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-41v-21h28v21h-28z"}),m.createElement("text",{x:237,y:-47.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-41v-21h108v21H257z"}),m.createElement("text",{x:293,y:-47.8,fontFamily:"Times,serif",fontSize:14},"Digest"),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-41v-21h82v21h-82z"}),m.createElement("text",{x:387,y:-47.8,fontFamily:"Times,serif",fontSize:14},"digests"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-20v-21h243v21H204z"}),m.createElement("text",{x:239,y:-26.8,fontFamily:"Times,serif",fontSize:14},"repeat num_digests.value times")),m.createElement("g",{className:"node",transform:"translate(4 235)"},m.createElement("title",null,"digest__seq"),m.createElement("text",{textAnchor:"middle",x:549,y:-47.3,fontFamily:"Times,serif",fontSize:14},m.createElement("a",{xlinkHref:"chap-state#img-digest",xlinkTitle:"Digest"},"Digest"))),m.createElement("g",{className:"edge",transform:"translate(4 235)"},m.createElement("title",null,"block_header__seq:digests_type->digest__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M448.5-51h50.03"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m496.25-54.5 10 3.5-10 3.5v-7z"})))))};var g;function d(){return d=Object.assign?Object.assign.bind():function(a){for(var e=1;e{let{title:e,titleId:t,...s}=a;return m.createElement("svg",d({width:"827pt",height:660,viewBox:"0 0 827 495",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t},s),e?m.createElement("title",{id:t},e):null,g||(g=m.createElement("g",{className:"graph"},m.createElement("path",{fill:"#fff",d:"M0 495V0h827v495H0z"}),m.createElement("g",{className:"cluster",transform:"translate(4 491)"},m.createElement("title",null,"cluster__digest"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M8-8v-471h714V-8H8z"}),m.createElement("text",{textAnchor:"middle",x:365,y:-463.8,fontFamily:"Times,serif",fontSize:14},"Digest")),m.createElement("g",{className:"cluster",transform:"translate(4 491)"},m.createElement("title",null,"cluster__pre_runtime"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M506-337v-111h208v111H506z"}),m.createElement("text",{textAnchor:"middle",x:610,y:-432.8,fontFamily:"Times,serif",fontSize:14},"Digest::PreRuntime")),m.createElement("g",{className:"cluster",transform:"translate(4 491)"},m.createElement("title",null,"cluster__post_runtime"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M506-218v-111h208v111H506z"}),m.createElement("text",{textAnchor:"middle",x:610,y:-313.8,fontFamily:"Times,serif",fontSize:14},"Digest::PostRuntime")),m.createElement("g",{className:"cluster",transform:"translate(4 491)"},m.createElement("title",null,"cluster__seal"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M506-99v-111h208v111H506z"}),m.createElement("text",{textAnchor:"middle",x:610,y:-194.8,fontFamily:"Times,serif",fontSize:14},"Digest::Seal")),m.createElement("g",{className:"cluster",transform:"translate(4 491)"},m.createElement("title",null,"cluster__empty"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M544-16v-75h132v75H544z"}),m.createElement("text",{textAnchor:"middle",x:610,y:-75.8,fontFamily:"Times,serif",fontSize:14},"Digest::Empty")),m.createElement("g",{className:"node",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M24-244.5v-21h25v21H24z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M24-244.5v-21h25v21H24z"}),m.createElement("text",{x:27,y:-251.3,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M49-244.5v-21h28v21H49z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M49-244.5v-21h28v21H49z"}),m.createElement("text",{x:52,y:-251.3,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M77-244.5v-21h78v21H77z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M77-244.5v-21h78v21H77z"}),m.createElement("text",{x:104,y:-251.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M155-244.5v-21h36v21h-36z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M155-244.5v-21h36v21h-36z"}),m.createElement("text",{x:167.5,y:-251.3,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M24-223.5v-21h25v21H24z"}),m.createElement("text",{x:33,y:-230.3,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M49-223.5v-21h28v21H49z"}),m.createElement("text",{x:59.5,y:-230.3,fontFamily:"Times,serif",fontSize:14},"1"),m.createElement("path",{fill:"none",stroke:"#000",d:"M77-223.5v-21h78v21H77z"}),m.createElement("text",{x:82.5,y:-230.3,fontFamily:"Times,serif",fontSize:14},"u1\u2192TypeId"),m.createElement("path",{fill:"none",stroke:"#000",d:"M155-223.5v-21h36v21h-36z"}),m.createElement("text",{x:161,y:-230.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"none",stroke:"#000",d:"M24-202.5v-21h25v21H24z"}),m.createElement("text",{x:33,y:-209.3,fontFamily:"Times,serif",fontSize:14},"1"),m.createElement("path",{fill:"none",stroke:"#000",d:"M49-202.5v-21h28v21H49z"}),m.createElement("text",{x:57,y:-209.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M77-202.5v-21h78v21H77z"}),m.createElement("text",{x:80,y:-209.3,fontFamily:"Times,serif",fontSize:14},"switch (type)"),m.createElement("path",{fill:"none",stroke:"#000",d:"M155-202.5v-21h36v21h-36z"}),m.createElement("text",{x:158,y:-209.3,fontFamily:"Times,serif",fontSize:14},"value")),m.createElement("g",{className:"edge",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq:type_type->digest__seq:value_type"),m.createElement("path",{fill:"none",stroke:"#404040",d:"M155.02-240.55c-43-18.78-36.84-46.95 18.48-46.95 51.45 0 60.37 38.7 26.79 62.21"}),m.createElement("path",{fill:"#404040",stroke:"#404040",d:"m202.22-221.78-10.39 2.1 6.81-8.12 3.58 6.02z"})),m.createElement("g",{className:"node",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq_value_switch"),m.createElement("path",{fill:"#e6007a4f",d:"M243-244.5v-21h150v21H243z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M243-244.5v-21h150v21H243z"}),m.createElement("text",{x:306,y:-251.3,fontFamily:"Times,serif",fontSize:14},"case"),m.createElement("path",{fill:"#e6007a4f",d:"M393-244.5v-21h77v21h-77z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M393-244.5v-21h77v21h-77z"}),m.createElement("text",{x:419.5,y:-251.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"none",stroke:"#000",d:"M243-223.5v-21h150v21H243z"}),m.createElement("text",{x:259,y:-230.3,fontFamily:"Times,serif",fontSize:14},":type_id_pre_runtime"),m.createElement("path",{fill:"none",stroke:"#000",d:"M393-223.5v-21h77v21h-77z"}),m.createElement("text",{x:398.5,y:-230.3,fontFamily:"Times,serif",fontSize:14},"PreRuntime"),m.createElement("path",{fill:"none",stroke:"#000",d:"M243-202.5v-21h150v21H243z"}),m.createElement("text",{x:256,y:-209.3,fontFamily:"Times,serif",fontSize:14},":type_id_post_runtime"),m.createElement("path",{fill:"none",stroke:"#000",d:"M393-202.5v-21h77v21h-77z"}),m.createElement("text",{x:396,y:-209.3,fontFamily:"Times,serif",fontSize:14},"PostRuntime"),m.createElement("path",{fill:"none",stroke:"#000",d:"M243-181.5v-21h150v21H243z"}),m.createElement("text",{x:281.5,y:-188.3,fontFamily:"Times,serif",fontSize:14},":type_id_seal"),m.createElement("path",{fill:"none",stroke:"#000",d:"M393-181.5v-21h77v21h-77z"}),m.createElement("text",{x:419.5,y:-188.3,fontFamily:"Times,serif",fontSize:14},"Seal"),m.createElement("path",{fill:"none",stroke:"#000",d:"M243-160.5v-21h150v21H243z"}),m.createElement("text",{x:246,y:-167.3,fontFamily:"Times,serif",fontSize:14},":type_id_runtime_updated"),m.createElement("path",{fill:"none",stroke:"#000",d:"M393-160.5v-21h77v21h-77z"}),m.createElement("text",{x:413,y:-167.3,fontFamily:"Times,serif",fontSize:14},"Empty")),m.createElement("g",{className:"edge",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq:value_type->digest__seq_value_switch"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M192.5-213h32"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m222.33-216.5 10 3.5-10 3.5v-7z"})),m.createElement("g",{className:"node",transform:"translate(4 491)"},m.createElement("title",null,"pre_runtime__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M522-391.5v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-391.5v-21h25v21h-25z"}),m.createElement("text",{x:525,y:-398.3,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M547-391.5v-21h28v21h-28z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-391.5v-21h28v21h-28z"}),m.createElement("text",{x:550,y:-398.3,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M575-391.5v-21h74v21h-74z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-391.5v-21h74v21h-74z"}),m.createElement("text",{x:600,y:-398.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M649-391.5v-21h49v21h-49z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-391.5v-21h49v21h-49z"}),m.createElement("text",{x:668,y:-398.3,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-370.5v-21h25v21h-25z"}),m.createElement("text",{x:531,y:-377.3,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-370.5v-21h28v21h-28z"}),m.createElement("text",{x:557.5,y:-377.3,fontFamily:"Times,serif",fontSize:14},"4"),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-370.5v-21h74v21h-74z"}),m.createElement("text",{x:583,y:-377.3,fontFamily:"Times,serif",fontSize:14},"str(ASCII)"),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-370.5v-21h49v21h-49z"}),m.createElement("text",{x:655,y:-377.3,fontFamily:"Times,serif",fontSize:14},"engine"),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-349.5v-21h25v21h-25z"}),m.createElement("text",{x:531,y:-356.3,fontFamily:"Times,serif",fontSize:14},"4"),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-349.5v-21h28v21h-28z"}),m.createElement("text",{x:555,y:-356.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-349.5v-21h74v21h-74z"}),m.createElement("text",{x:578,y:-356.3,fontFamily:"Times,serif",fontSize:14},"Scale::Bytes"),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-349.5v-21h49v21h-49z"}),m.createElement("text",{x:652,y:-356.3,fontFamily:"Times,serif",fontSize:14},"payload")),m.createElement("g",{className:"edge",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq_value_switch:case0->pre_runtime__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M471.5-234c46.6 0 3.25-64.43 34.5-99 1.85-2.05 3.81-4.02 5.86-5.91"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m508.23-341.11 9.92-3.71-5.44 9.09-4.48-5.38z"})),m.createElement("g",{className:"node",transform:"translate(4 491)"},m.createElement("title",null,"post_runtime__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M522-272.5v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-272.5v-21h25v21h-25z"}),m.createElement("text",{x:525,y:-279.3,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M547-272.5v-21h28v21h-28z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-272.5v-21h28v21h-28z"}),m.createElement("text",{x:550,y:-279.3,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M575-272.5v-21h74v21h-74z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-272.5v-21h74v21h-74z"}),m.createElement("text",{x:600,y:-279.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M649-272.5v-21h49v21h-49z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-272.5v-21h49v21h-49z"}),m.createElement("text",{x:668,y:-279.3,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-251.5v-21h25v21h-25z"}),m.createElement("text",{x:531,y:-258.3,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-251.5v-21h28v21h-28z"}),m.createElement("text",{x:557.5,y:-258.3,fontFamily:"Times,serif",fontSize:14},"4"),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-251.5v-21h74v21h-74z"}),m.createElement("text",{x:583,y:-258.3,fontFamily:"Times,serif",fontSize:14},"str(ASCII)"),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-251.5v-21h49v21h-49z"}),m.createElement("text",{x:655,y:-258.3,fontFamily:"Times,serif",fontSize:14},"engine"),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-230.5v-21h25v21h-25z"}),m.createElement("text",{x:531,y:-237.3,fontFamily:"Times,serif",fontSize:14},"4"),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-230.5v-21h28v21h-28z"}),m.createElement("text",{x:555,y:-237.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-230.5v-21h74v21h-74z"}),m.createElement("text",{x:578,y:-237.3,fontFamily:"Times,serif",fontSize:14},"Scale::Bytes"),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-230.5v-21h49v21h-49z"}),m.createElement("text",{x:652,y:-237.3,fontFamily:"Times,serif",fontSize:14},"payload")),m.createElement("g",{className:"edge",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq_value_switch:case1->post_runtime__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M471.5-213c18.84 0 38.32-4.13 56.5-9.99"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m525.65-226.57 10.59.05-8.32 6.57-2.27-6.62z"})),m.createElement("g",{className:"node",transform:"translate(4 491)"},m.createElement("title",null,"seal__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M522-153.5v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-153.5v-21h25v21h-25z"}),m.createElement("text",{x:525,y:-160.3,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M547-153.5v-21h28v21h-28z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-153.5v-21h28v21h-28z"}),m.createElement("text",{x:550,y:-160.3,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M575-153.5v-21h74v21h-74z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-153.5v-21h74v21h-74z"}),m.createElement("text",{x:600,y:-160.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M649-153.5v-21h49v21h-49z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-153.5v-21h49v21h-49z"}),m.createElement("text",{x:668,y:-160.3,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-132.5v-21h25v21h-25z"}),m.createElement("text",{x:531,y:-139.3,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-132.5v-21h28v21h-28z"}),m.createElement("text",{x:557.5,y:-139.3,fontFamily:"Times,serif",fontSize:14},"4"),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-132.5v-21h74v21h-74z"}),m.createElement("text",{x:583,y:-139.3,fontFamily:"Times,serif",fontSize:14},"str(ASCII)"),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-132.5v-21h49v21h-49z"}),m.createElement("text",{x:655,y:-139.3,fontFamily:"Times,serif",fontSize:14},"engine"),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-111.5v-21h25v21h-25z"}),m.createElement("text",{x:531,y:-118.3,fontFamily:"Times,serif",fontSize:14},"4"),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-111.5v-21h28v21h-28z"}),m.createElement("text",{x:555,y:-118.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-111.5v-21h74v21h-74z"}),m.createElement("text",{x:578,y:-118.3,fontFamily:"Times,serif",fontSize:14},"Scale::Bytes"),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-111.5v-21h49v21h-49z"}),m.createElement("text",{x:652,y:-118.3,fontFamily:"Times,serif",fontSize:14},"payload")),m.createElement("g",{className:"edge",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq_value_switch:case2->seal__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M471.5-192c18.84 0 38.32 4.13 56.5 9.99"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m527.92-185.05 8.32 6.57-10.59.05 2.27-6.62z"})),m.createElement("g",{className:"node",transform:"translate(4 491)"},m.createElement("title",null,"empty__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M560-31.5v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M560-31.5v-21h25v21h-25z"}),m.createElement("text",{x:563,y:-38.3,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M585-31.5v-21h28v21h-28z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M585-31.5v-21h28v21h-28z"}),m.createElement("text",{x:588,y:-38.3,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M613-31.5v-21h30v21h-30z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M613-31.5v-21h30v21h-30z"}),m.createElement("text",{x:616,y:-38.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M643-31.5v-21h17v21h-17z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M643-31.5v-21h17v21h-17z"}),m.createElement("text",{x:646,y:-38.3,fontFamily:"Times,serif",fontSize:14},"id")),m.createElement("g",{className:"edge",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq_value_switch:case3->empty__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M471.5-171c37.1 0 8.92 49.13 34.5 76 11.89 12.48 27.36 22.55 42.68 30.42"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m548.71-68.49 7.46 7.52-10.52-1.22 3.06-6.3z"})))))};var y=t(2182);const v="\\begin{algorithm}\n\\caption{Validate-Transactions-and-Store}\n\\begin{algorithmic}\n \\state $L \\leftarrow Dec_{SC}(M_T)$\n \\forall{$\\{T \\in L \\mid T \\notin TQ \\mid T \\notin TP\\}$}\n \\state $B_d \\leftarrow$ \\call{Head}{\\call{Longest-Chain}{$BT$}}\n \\state $N \\leftarrow H_n(B_d)$\n \\state $R \\leftarrow$ \\call{Call-Runtime-Entry}{$\\texttt{TaggedTransactionQueue\\_validate\\_transaction}, N, T$}\n \\if{\\call{Valid}{$R$}}\n \\if{\\call{Requires}{$R$}$ \\subset \\bigcup_{\\forall T \\in (TQ~\\cup~B_i \\mid \\exists i_{\\mid d > i})}$ \\call{Provided-Tags}{$T$}}\n \\state \\call{Insert-At}{$TQ, T, $\\call{Requires}{$R$}$, $\\call{Priority}{$R$}}\n \\else\n \\state \\call{Add-To}{$TP,T$}\n \\endif\n \\state \\call{Maintain-Transaction-Pool}{}\n \\if{\\call{ShouldPropagate}{$R$}}\n \\state \\call{Propagate}{$T$}\n \\endif\n \\endif\n \\endfor\n\\end{algorithmic}\n\\end{algorithm}\n ",w="\\begin{algorithm}\n\\caption{Maintain-Transaction-Pool}\n\\begin{algorithmic}\n \\state Scan the pool for ready transactions\n \\state Move them to the transaction queue\n \\state Drop invalid transactions\n\\end{algorithmic}\n\\end{algorithm}",x="\\begin{algorithm}\n\\caption{Aggregate-Key}\n\\begin{algorithmic}\n \\require{$P_N \\coloneqq ($\\textsc{TrieRoot}$ = N_1, \\dots, N_j = N)$}\n \\state $pk^{Agr}_N \\leftarrow \\phi$\n \\state $i \\leftarrow 1$\n \\forall{$N_i \\in P_N$}\n \\state $pk^{Agr}_N \\leftarrow pk^{Agr}_N || pk_{N_i} || \\textrm{Index}_{N_i}(N_{i + 1})$\n \\endfor\n \\state $pk^{Agr}_N \\leftarrow pk^{Agr}_N || pk_{N}$\n \\return $pk^{Agr}_N$\n\\end{algorithmic}\n\\end{algorithm}",b="\\begin{algorithm}\n\\caption{Interact-With-Runtime}\n\\begin{algorithmic}\n \\require $F, H_b(B),(A_1,\\ldots,A_n)$\n \\state $\\mathcal{S}_B \\leftarrow$ \\call{Set-State-At}{$H_b(B)$}\n \\state $A \\leftarrow Enc_{SC}((A_1, \\ldots, A_n))$\n \\state \\call{Call-Runtime-Entrypoint}{$R_B, \\mathcal{RE}_B, F, A, A_{len}$}\n\\end{algorithmic}\n\\end{algorithm}",f={title:"2. States and Transitions"},z=void 0,R={unversionedId:"chap-state",id:"chap-state",title:"2. States and Transitions",description:"2.1. Introduction",source:"@site/docs/chap-state.md",sourceDirName:".",slug:"/chap-state",permalink:"/chap-state",draft:!1,unlisted:!1,editUrl:"https://github.com/w3f/polkadot-spec/blob/main/src/docs/chap-state.md",tags:[],version:"current",frontMatter:{title:"2. States and Transitions"},sidebar:"tutorialSidebar",previous:{title:"1. Overview",permalink:"/chap-overview"},next:{title:"3. Synchronization",permalink:"/chap-sync"}},M={},E=[{value:"2.1. Introduction",id:"id-introduction",level:2},{value:"Definition 1. Discrete State Machine (DSM)",id:"defn-state-machine",level:6},{value:"Definition 2. Path Graph",id:"defn-path-graph",level:6},{value:"Definition 3. Blockchain",id:"defn-blockchain",level:6},{value:"2.1.1. Block Tree",id:"id-block-tree",level:3},{value:"Definition 4. Block",id:"defn-block-tree",level:6},{value:"Definition 5. Pruned Block Tree",id:"defn-pruned-tree",level:6},{value:"Definition 6. Subchain",id:"defn-chain-subchain",level:6},{value:"Definition 7. Longest Chain",id:"defn-longest-chain",level:6},{value:"Definition 8. Longest Path",id:"defn-longest-path",level:6},{value:"Definition 9. Descendant and Ancestor",id:"defn-descendant-ancestor",level:6},{value:"2.2. State Replication",id:"sect-state-replication",level:2},{value:"2.2.1. Block Format",id:"sect-block-format",level:3},{value:"Image 1. Block",id:"img-block",level:6},{value:"Definition 10. Block Header",id:"defn-block-header",level:6},{value:"Image 2. Block Header",id:"img-block-header",level:6},{value:"Definition 11. Header Digest",id:"defn-digest",level:6},{value:"Image 3. Digest",id:"img-digest",level:6},{value:"Definition 12. Header Hash",id:"defn-block-header-hash",level:6},{value:"Definition 13. Block Body",id:"defn-block-body",level:6},{value:"2.3. Extrinsics",id:"sect-extrinsics",level:2},{value:"2.3.1. Preliminaries",id:"id-preliminaries",level:3},{value:"2.3.2. Transactions",id:"id-transactions",level:3},{value:"Definition 14. Transaction Queue",id:"defn-transaction-queue",level:6},{value:"Algorithm 1. Validate Transactions and Store",id:"algo-validate-transactions",level:6},{value:"Algorithm 2. Maintain Transaction Pool",id:"algo-maintain-transaction-pool",level:6},{value:"2.3.3. Inherents",id:"sect-inherents",level:3},{value:"Table 1. Inherent Data",id:"tabl-inherent-data",level:6},{value:"Definition 15. Inherent Data",id:"defn-inherent-data",level:6},{value:"2.4. State Storage Trie",id:"sect-state-storage",level:2},{value:"2.4.1. Accessing System Storage",id:"id-accessing-system-storage",level:3},{value:"Definition 16. Stored Value",id:"defn-stored-value",level:6},{value:"2.4.2. General Structure",id:"id-general-structure",level:3},{value:"Definition 17. Radix-r Tree",id:"defn-radix-tree",level:6},{value:"Definition 18. Key Encode",id:"defn-trie-key-encode",level:6},{value:"2.4.3. Trie Structure",id:"sect-state-storage-trie-structure",level:3},{value:"Definition 19. Set of Nodes",id:"defn-trie-nodeset",level:6},{value:"Definition 20. State Trie",id:"defn-nodetype",level:6},{value:"Definition 21. Branch",id:"defn-trie-branch",level:6},{value:"Definition 22. Aggregated Prefix Key",id:"defn-node-key",level:6},{value:"Definition 23. Index",id:"defn-index-function",level:6},{value:"Algorithm 3. Aggregate-Key",id:"algo-aggregate-key",level:6},{value:"Definition 24. Node Value",id:"defn-node-value",level:6},{value:"Definition 25. Node Header",id:"defn-node-header",level:6},{value:"2.4.4. Merkle Proof",id:"sect-merkl-proof",level:3},{value:"Definition 26. Children Bitmap",id:"defn-children-bitmap",level:6},{value:"Definition 27. Subvalue",id:"defn-node-subvalue",level:6},{value:"Definition 28. Hashed Subvalue",id:"defn-hashed-subvalue",level:6},{value:"Definition 29. Merkle Value",id:"defn-merkle-value",level:6},{value:"2.4.5. Managing Multiple Variants of State",id:"sect-managing-multiple-states",level:3},{value:"Definition 30. Set State At Block",id:"defn-set-state-at",level:6},{value:"2.5. Child Storage",id:"sect-child-storages",level:2},{value:"2.5.1. Child Tries",id:"sect-child-trie-structure",level:3},{value:"2.6. Runtime Interactions",id:"sect-runtime-interaction",level:2},{value:"2.6.1. Interacting with the Runtime",id:"sect-entrypoints-into-runtime",level:3},{value:"Algorithm 4. Interact With Runtime",id:"algo-runtime-interaction",level:6},{value:"2.6.2. Loading the Runtime Code",id:"sect-loading-runtime-code",level:3},{value:"Definition 31. Runtime Code at State",id:"defn-runtime-code-at-state",level:6},{value:"2.6.3. Code Executor",id:"sect-code-executor",level:3},{value:"Definition 32. Call Runtime Entrypoint",id:"defn-call-into-runtime",level:6},{value:"2.6.3.1. Memory Management",id:"sect-memory-management",level:4},{value:"2.6.3.2. Sending Data to a Runtime Entrypoint",id:"sect-runtime-send-args-to-runtime-enteries",level:4},{value:"2.6.3.3. Receiving Data from a Runtime Entrypoint",id:"sect-runtime-return-value",level:4},{value:"2.6.3.4. Runtime Version Custom Section",id:"sect-runtime-version-custom-section",level:4}],_={toc:E},T="wrapper";function B(a){let{components:e,...t}=a;return(0,p.kt)(T,(0,n.Z)({},_,t,{components:e,mdxType:"MDXLayout"}),(0,p.kt)("h2",{id:"id-introduction"},"2.1. Introduction"),(0,p.kt)("h6",{id:"defn-state-machine"},"Definition 1. Discrete State Machine (DSM)"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"A ",(0,p.kt)("strong",{parentName:"p"},"Discrete State Machine (DSM)")," is a state transition system that admits a starting state and whose set of states and set of transitions are countable. Formally, it is a tuple of"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"\u03a3"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"S"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"s"),(0,p.kt)("mn",{parentName:"msub"},"0")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"\u03b4"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"(\\Sigma, S, s_0, \\delta)")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},"\u03a3"),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"S"),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"s"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"0em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"0")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03785em"}},"\u03b4"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")")))))),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("strong",{parentName:"p"},"where")),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"\u03a3")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\Sigma")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"\u03a3")))))," is the countable set of all possible inputs.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"S")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{S}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"S"))))))," is a countable set of all possible states.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"s"),(0,p.kt)("mn",{parentName:"msub"},"0")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow"},"S")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{s}_{{0}}\\in{S}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6891em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"s")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"0")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"S"))))))," is the initial state.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"\u03b4")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\delta")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03785em"}},"\u03b4")))))," is the state-transition function, known as ",(0,p.kt)("strong",{parentName:"p"},"Runtime")," in the Polkadot vocabulary, such that"))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"\u03b4"),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mi",{parentName:"mrow"},"S"),(0,p.kt)("mo",{parentName:"mrow"},"\xd7"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"\u03a3"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mi",{parentName:"mrow"},"S")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\delta : S \\times \\Sigma \\rightarrow S")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03785em"}},"\u03b4"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7667em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"S"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\xd7"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"\u03a3"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"S"))))))),(0,p.kt)("h6",{id:"defn-path-graph"},"Definition 2. Path Graph"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"A ",(0,p.kt)("strong",{parentName:"p"},"path graph")," or a ",(0,p.kt)("strong",{parentName:"p"},"path")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"n")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{n}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"n"))))))," nodes, formally referred to as ",(0,p.kt)("strong",{parentName:"p"},(0,p.kt)("span",{parentName:"strong",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"P"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{P}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),", is a tree with two nodes of vertex degree 1 and the other n-2 nodes of vertex degree 2. Therefore, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"P"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{P}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," can be represented by sequences of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"n")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({v}_{{1}},\\ldots,{v}_{{n}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"e"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mn",{parentName:"mrow"},"1"))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{e}_{{i}}={\\left({v}_{{i}},{v}_{{{i}+{1}}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"e")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2083em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," for ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"1"),(0,p.kt)("mo",{parentName:"mrow"},"\u2264"),(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"\u2264"),(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"\u2212"),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{1}\\le{i}\\le{n}-{1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7804em",verticalAlign:"-0.136em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2264"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7955em",verticalAlign:"-0.136em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2264"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6667em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"n")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\u2212"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1"))))))," is the edge which connect ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"i"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}_{{i}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mn",{parentName:"mrow"},"1")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}_{{{i}+{1}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6389em",verticalAlign:"-0.2083em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2083em"}},(0,p.kt)("span",{parentName:"span"})))))))))),".")),(0,p.kt)("h6",{id:"defn-blockchain"},"Definition 3. Blockchain"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"A ",(0,p.kt)("strong",{parentName:"p"},"blockchain")," ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C"))))))," is a ",(0,p.kt)("a",{parentName:"p",href:"https://en.wikipedia.org/wiki/Directed_graph"},"directed path graph"),". Each node of the graph is called ",(0,p.kt)("strong",{parentName:"p"},"Block")," and indicated by ",(0,p.kt)("strong",{parentName:"p"},(0,p.kt)("span",{parentName:"strong",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))),". The unique sink of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C"))))))," is called ",(0,p.kt)("strong",{parentName:"p"},"Genesis Block"),", and the source is called the ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Head")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Head}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Head"))))))," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))))),". For any vertex ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({B}_{{1}},{B}_{{2}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{1}}\\rightarrow{B}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," we say ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the ",(0,p.kt)("strong",{parentName:"p"},"parent")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{1}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", which is the ",(0,p.kt)("strong",{parentName:"p"},"child")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", respectively. We indicate that by:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2")),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mi",{parentName:"mrow"},"P"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"B_2 := P(B_1)")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.0502em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P"),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.0502em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose"},")")))))),(0,p.kt)("p",{parentName:"admonition"},"The parent refers to the child by its hash value (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-block-header"},"Definition 10"),"), making the path graph tamper-proof since any modifications to the child would result in its hash value being changed."),(0,p.kt)("admonition",{parentName:"admonition",type:"info"},(0,p.kt)("p",{parentName:"admonition"},'The term "blockchain" can also be used as a way to refer to the network or system that interacts or maintains the directed path graph.'))),(0,p.kt)("h3",{id:"id-block-tree"},"2.1.1. Block Tree"),(0,p.kt)("p",null,"In the course of formation of a (distributed) blockchain, it is possible that the chain forks into multiple subchains in various block positions. We refer to this structure as a ",(0,p.kt)("em",{parentName:"p"},"block tree"),":"),(0,p.kt)("h6",{id:"defn-block-tree"},"Definition 4. Block"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The ",(0,p.kt)("strong",{parentName:"p"},"block tree")," of a blockchain, denoted by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," is the union of all different versions of the blockchain observed by the Polkadot Host such that every block is a node in the graph and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{1}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is connected to ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," if ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{1}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is a parent of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),".")),(0,p.kt)("p",null,"When a block in the block tree gets finalized, there is an opportunity to prune the block tree to free up resources into branches of blocks that do not contain all of the finalized blocks or those that can never be finalized in the blockchain (",(0,p.kt)("a",{parentName:"p",href:"sect-finality"},"Chapter 6"),")."),(0,p.kt)("h6",{id:"defn-pruned-tree"},"Definition 5. Pruned Block Tree"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"By ",(0,p.kt)("strong",{parentName:"p"},"Pruned Block Tree"),", denoted by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"PBT")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{PBT}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"PBT")))))),", we refer to a subtree of the block tree obtained by eliminating all branches which do not contain the most recent finalized blocks (",(0,p.kt)("a",{parentName:"p",href:"sect-finality#defn-finalized-block"},"Definition 85"),"). By ",(0,p.kt)("strong",{parentName:"p"},"pruning"),", we refer to the procedure of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow"},"\u2190"),(0,p.kt)("mtext",{parentName:"mrow"},"PBT")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}{T}\\leftarrow\\text{PBT}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2190"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"PBT")))))),". When there is no risk of ambiguity and it is safe to prune BT, we use ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"BT")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{BT}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"BT"))))))," to refer to ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"PBT")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{PBT}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"PBT")))))),".")),(0,p.kt)("p",null,(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-chain-subchain"},"Definition 6")," gives the means to highlight various branches of the block tree."),(0,p.kt)("h6",{id:"defn-chain-subchain"},"Definition 6. Subchain"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"Let ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"G")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{G}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"G"))))))," be the root of the block tree and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," be one of its nodes. By ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Chain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Chain}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Chain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),", we refer to the path graph from ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"G")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{G}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"G"))))))," to ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," in ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"BT")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{BT}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"BT")))))),". Conversely, for a chain ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"C"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mtext",{parentName:"mrow"},"Chain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}=\\text{Chain}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Chain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),", we define ",(0,p.kt)("strong",{parentName:"p"},"the head of ",(0,p.kt)("span",{parentName:"strong",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))))))," to be ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")))))),", formally noted as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mover",{parentName:"mrow",accent:"true"},(0,p.kt)("mi",{parentName:"mover"},"C"),(0,p.kt)("mo",{parentName:"mover",stretchy:"true"},"\u203e"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}\\:=\\overline{{C}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord overline"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8833em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.8033em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"overline-line",style:{borderBottomWidth:"0.04em"}})))))))))),". We define ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mi",{parentName:"mrow"},"C"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left|{C}\\right|}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))))))),", the length of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C"))))))," as a path graph."),(0,p.kt)("p",{parentName:"admonition"},"If ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032")))))))))))))," is another node on ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Chain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Chain}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Chain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),", then by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"SubChain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{SubChain}{\\left({B}',{B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0019em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"SubChain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," we refer to the subgraph of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Chain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Chain}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Chain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," path graph which contains ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," and ends at ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032")))))))))))))," and by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mtext",{parentName:"mrow"},"SubChain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left|\\text{SubChain}{\\left({B}',{B}\\right)}\\right|}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0019em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"SubChain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223")))))))," we refer to its length."),(0,p.kt)("p",{parentName:"admonition"},"Accordingly, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"double-struck"},"C"),(0,p.kt)("msup",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathbb{{C}}}_{{{B}'}}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"C"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.6828em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.786em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032")))))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is the set of all subchains of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," rooted at ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))))))),". The set of all chains of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")))))),",",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"double-struck"},"C"),(0,p.kt)("mi",{parentName:"msub"},"G")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathbb{{C}}}_{{G}}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"C"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"G")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is denoted by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"C"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathbb{{C}}}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"C"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," or simply ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathbb{{C}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"C"))))))),", for the sake of brevity.")),(0,p.kt)("h6",{id:"defn-longest-chain"},"Definition 7. Longest Chain"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"We define the following complete order over ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathbb{{C}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"C")))))))," as follows. For chains ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"2")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}_{{1}},{C}_{{2}}\\in{\\mathbb{{C}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"C")))))))," we have that ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow"},">"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}_{{1}}>{C}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},">"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," if either ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},">"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"2")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left|{C}_{{1}}\\right|}>{\\left|{C}_{{2}}\\right|}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},">"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223")))))))," or ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"2")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left|{C}_{{1}}\\right|}={\\left|{C}_{{2}}\\right|}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))))))),"."),(0,p.kt)("p",{parentName:"admonition"},"If ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"2")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left|{C}_{{1}}\\right|}={\\left|{C}_{{2}}\\right|}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223")))))))," we say ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow"},">"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}_{{1}}>{C}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},">"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," if and only if the block arrival time (",(0,p.kt)("a",{parentName:"p",href:"sect-block-production#defn-block-time"},"Definition 63"),") of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mover",{parentName:"msub",accent:"true"},(0,p.kt)("mi",{parentName:"mover"},"C"),(0,p.kt)("mo",{parentName:"mover",stretchy:"true"},"\u203e")),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\overline{{C}}_{{1}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord overline"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8833em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.8033em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"overline-line",style:{borderBottomWidth:"0.04em"}})))))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is less than the block arrival time of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mover",{parentName:"msub",accent:"true"},(0,p.kt)("mi",{parentName:"mover"},"C"),(0,p.kt)("mo",{parentName:"mover",stretchy:"true"},"\u203e")),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\overline{{C}}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord overline"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8833em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.8033em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"overline-line",style:{borderBottomWidth:"0.04em"}})))))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", from the ",(0,p.kt)("em",{parentName:"p"},"subjective perspective")," of the Host. We define the ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Longest-Chain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Longest-Chain}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Longest-Chain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," to be the maximum chain given by this order.")),(0,p.kt)("h6",{id:"defn-longest-path"},"Definition 8. Longest Path"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Longest-Path"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Longest-Path}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Longest-Path")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," returns the path graph of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," which is the longest among all paths in ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," and has the earliest block arrival time (",(0,p.kt)("a",{parentName:"p",href:"sect-block-production#defn-block-time"},"Definition 63"),"). ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Deepest-Leaf"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Deepest-Leaf}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Deepest-Leaf")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," returns the head of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Longest-Path"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Longest-Path}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Longest-Path")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," chain.")),(0,p.kt)("p",null,"Because every block in the blockchain contains a reference to its parent, it is easy to see that the block tree is de facto a tree. A block tree naturally imposes partial order relationships on the blocks as follows:"),(0,p.kt)("h6",{id:"defn-descendant-ancestor"},"Definition 9. Descendant and Ancestor"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"We say ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," is ",(0,p.kt)("strong",{parentName:"p"},"descendant")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))))))),", formally noted as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow"},">"),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}>{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},">"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))))))),", if ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},">"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({\\left|{B}\\right|}>{\\left|{B}'\\right|}\\right)}\\in{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0019em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},">"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))))),". Respectively, we say that ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032")))))))))))))," is an ",(0,p.kt)("strong",{parentName:"p"},"ancestor")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")))))),", formally noted as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow"},"<"),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}<{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"<"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))))))),", if ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},"<"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({\\left|{B}\\right|}<{\\left|{B}'\\right|}\\right)}\\in{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0019em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"<"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))))),".")),(0,p.kt)("h2",{id:"sect-state-replication"},"2.2. State Replication"),(0,p.kt)("p",null,"Polkadot nodes replicate each other\u2019s state by syncing the history of the extrinsics. This, however, is only practical if a large set of transactions are batched and synced at the time. The structure in which the transactions are journaled and propagated is known as a block of extrinsics (",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-block-format"},"Section 2.2.1."),"). Like any other replicated state machine, state inconsistency can occur between Polkadot replicas. ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-managing-multiple-states"},"Section 2.4.5.")," gives an overview of how a Polkadot Host node manages multiple variants of the state."),(0,p.kt)("h3",{id:"sect-block-format"},"2.2.1. Block Format"),(0,p.kt)("p",null,"A Polkadot block consists a ",(0,p.kt)("em",{parentName:"p"},"block header")," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-block-header"},"Definition 10"),") and a ",(0,p.kt)("em",{parentName:"p"},"block body")," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-block-body"},"Definition 13"),"). The ",(0,p.kt)("em",{parentName:"p"},"block body"),", in turn, is made up out of ",(0,p.kt)("em",{parentName:"p"},"extrinsics")," , which represent the generalization of the concept of ",(0,p.kt)("em",{parentName:"p"},"transactions"),". ",(0,p.kt)("em",{parentName:"p"},"Extrinsics")," can contain any set of external data the underlying chain wishes to validate and track."),(0,p.kt)("h6",{id:"img-block"},"Image 1. Block"),(0,p.kt)(N,{className:"graphviz fix-img-size",mdxType:"Block"}),(0,p.kt)("h6",{id:"defn-block-header"},"Definition 10. Block Header"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The ",(0,p.kt)("strong",{parentName:"p"},"header of block B"),", ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"h")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{h}}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"h")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),", is a 5-tuple containing the following elements:"),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("strong",{parentName:"p"},"parent_hash:")," formally indicated as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"p"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{p}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9694em",verticalAlign:"-0.2861em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"p")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2861em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", is the 32-byte Blake2b hash (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-blake2"},"Section A.1.1.1."),") of the SCALE encoded parent block header (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-block-header-hash"},"Definition 12"),").")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("strong",{parentName:"p"},"number:")," formally indicated as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"i"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{i}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", is an integer, which represents the index of the current block in the chain. It is equal to the number of the ancestor blocks. The genesis state has the number 0.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("strong",{parentName:"p"},"state_root:")," formally indicated as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"r"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{r}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.02778em"}},"r")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", is the root of the Merkle trie, whose leaves implement the storage for the system.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("strong",{parentName:"p"},"extrinsics","_","root:")," is the field which is reserved for the Runtime to validate the integrity of the extrinsics composing the block body. For example, it can hold the root hash of the Merkle trie which stores an ordered list of the extrinsics being validated in this block. The extrinsics","_","root is set by the runtime and its value is opaque to the Polkadot Host. This element is formally referred to as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"e"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{e}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"e")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("strong",{parentName:"p"},"digest:")," this field is used to store any chain-specific auxiliary data, which could help the light clients interact with the block without the need of accessing the full storage as well as consensus-related data including the block signature. This field is indicated as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"d"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{d}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-digest"},"Definition 11"),").")))),(0,p.kt)("h6",{id:"img-block-header"},"Image 2. Block Header"),(0,p.kt)(h,{className:"graphviz fix-img-size",mdxType:"BlockHeader"}),(0,p.kt)("h6",{id:"defn-digest"},"Definition 11. Header Digest"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The header ",(0,p.kt)("strong",{parentName:"p"},"digest")," of block ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," formally referred to by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"d")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{d}}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is an array of ",(0,p.kt)("strong",{parentName:"p"},"digest items")," ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"H"),(0,p.kt)("mi",{parentName:"msubsup"},"d"),(0,p.kt)("mi",{parentName:"msubsup"},"i"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{{H}_{{d}}^{{i}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1078em",verticalAlign:"-0.2831em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8247em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4169em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2831em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),"\u2019s, known as digest items of varying data type (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#defn-varrying-data-type"},"Definition 178"),") such that:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"d")),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"H"),(0,p.kt)("mi",{parentName:"msubsup"},"d"),(0,p.kt)("mn",{parentName:"msubsup"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"."),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"."),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"."),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"H"),(0,p.kt)("mi",{parentName:"msubsup"},"d"),(0,p.kt)("mi",{parentName:"msubsup"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"H_d(B) := H_d^1, ..., H_d^n")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.0813em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1111em",verticalAlign:"-0.247em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginLeft:"-0.0813em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d"))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"..."),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7144em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginLeft:"-0.0813em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d"))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("p",{parentName:"admonition"},"where each digest item can hold one of the following type identifiers:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"H"),(0,p.kt)("mi",{parentName:"msubsup"},"d"),(0,p.kt)("mi",{parentName:"msubsup"},"i")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.36em",columnalign:"left left",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mn",{parentName:"mrow"},"4"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mtext",{parentName:"mrow"},"id"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"m"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mn",{parentName:"mrow"},"5"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mtext",{parentName:"mrow"},"id"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"m"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mn",{parentName:"mrow"},"6"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mtext",{parentName:"mrow"},"id"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"m"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mn",{parentName:"mrow"},"8"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")")))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"H_d^i = \\begin{cases} 4 \\text{ } \\rarr \\text{ } (t, \\text{id}, m) \\\\ 5 \\text{ } \\rarr \\text{ } (t, \\text{id}, m) \\\\ 6 \\text{ } \\rarr \\text{ } (t, \\text{id}, m) \\\\ 8 \\text{ } \\rarr \\text{ } (t) \\end{cases}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1217em",verticalAlign:"-0.247em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8747em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginLeft:"-0.0813em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d"))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"5.76em",verticalAlign:"-2.63em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen"},(0,p.kt)("span",{parentName:"span",className:"delimsizing mult"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"2.95em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-1.6em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.15em"}}),(0,p.kt)("span",{parentName:"span",className:"delimsizinginner delim-size4"},(0,p.kt)("span",{parentName:"span"},"\u23a9"))),(0,p.kt)("span",{parentName:"span",style:{top:"-1.592em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.15em"}}),(0,p.kt)("span",{parentName:"span",style:{height:"0.916em",width:"0.8889em"}},(0,p.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"0.8889em",height:"0.916em",style:{width:"0.8889em"},viewBox:"0 0 888.89 916",preserveAspectRatio:"xMinYMin"},(0,p.kt)("path",{parentName:"svg",d:"M384 0 H504 V916 H384z M384 0 H504 V916 H384z"})))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.15em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.15em"}}),(0,p.kt)("span",{parentName:"span",className:"delimsizinginner delim-size4"},(0,p.kt)("span",{parentName:"span"},"\u23a8"))),(0,p.kt)("span",{parentName:"span",style:{top:"-4.292em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.15em"}}),(0,p.kt)("span",{parentName:"span",style:{height:"0.916em",width:"0.8889em"}},(0,p.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"0.8889em",height:"0.916em",style:{width:"0.8889em"},viewBox:"0 0 888.89 916",preserveAspectRatio:"xMinYMin"},(0,p.kt)("path",{parentName:"svg",d:"M384 0 H504 V916 H384z M384 0 H504 V916 H384z"})))),(0,p.kt)("span",{parentName:"span",style:{top:"-5.2em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.15em"}}),(0,p.kt)("span",{parentName:"span",className:"delimsizinginner delim-size4"},(0,p.kt)("span",{parentName:"span"},"\u23a7")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"2.45em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-l"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"3.13em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-5.13em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.008em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"4"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"id")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.69em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.008em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"5"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"id")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.25em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.008em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"6"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"id")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"))),(0,p.kt)("span",{parentName:"span",style:{top:"-0.81em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.008em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"8"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"2.63em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"}))))))),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("strong",{parentName:"p"},"where")," "),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"id")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{id}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"id"))))))," is a 4-byte ASCII encoded consensus engine identifier")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"m")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{m}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"m"))))))," is a SCALE-encoded byte array containing the message payload"))),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mn",{parentName:"mrow"},"4")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"t = 4")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6151em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"4")))))," ",(0,p.kt)("strong",{parentName:"p"},"Consensus Message"),", contains scale-encoded message ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"m")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"m")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m")))))," from the Runtime to the consensus engine. The receiving engine is determined by the ",(0,p.kt)("em",{parentName:"p"},"id")," identifier:"),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("em",{parentName:"li"},"id")," = BABE: a message to BABE engine (",(0,p.kt)("a",{parentName:"li",href:"sect-block-production#defn-consensus-message-babe"},"Definition 54"),")"),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("em",{parentName:"li"},"id")," = FRNK: a message to GRANDPA engine (",(0,p.kt)("a",{parentName:"li",href:"sect-finality#defn-consensus-message-grandpa"},"Definition 82"),")")),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mn",{parentName:"mrow"},"5")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"t = 5")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6151em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"5")))))," ",(0,p.kt)("strong",{parentName:"p"},"Seal"),", is produced by the consensus engine and proves the authorship of the block producer. The engine used for this is provided through ",(0,p.kt)("em",{parentName:"p"},"id")," (at the moment, ",(0,p.kt)("inlineCode",{parentName:"p"},"BABE"),"), while ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"m")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"m")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m")))))," contains the scale-encoded signature (",(0,p.kt)("a",{parentName:"p",href:"sect-block-production#defn-block-signature"},"Definition 66"),") of the block producer. In particular, the Seal digest item must be the last item in the digest array and must be stripped off by the Polkadot Host before the block is submitted to any Runtime function, including for validation. The Seal must be added back to the digest afterward."),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mn",{parentName:"mrow"},"6")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"t = 6")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6151em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"6")))))," ",(0,p.kt)("strong",{parentName:"p"},"Pre-Runtime digest"),", contains messages from the consensus engines to the runtime. Currently only used by BABE to pass the scale encoded BABE Header (",(0,p.kt)("a",{parentName:"p",href:"sect-block-production#defn-babe-header"},"Definition 65"),") in ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"m")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"m")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m")))))," with ",(0,p.kt)("em",{parentName:"p"},"id")," = ",(0,p.kt)("inlineCode",{parentName:"p"},"BABE"),"."),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mn",{parentName:"mrow"},"8")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"t = 8")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6151em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"8")))))," ",(0,p.kt)("strong",{parentName:"p"},"Runtime Environment Updated digest"),", indicates that changes regarding the Runtime code or heap pages (",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-memory-management"},"Section 2.6.3.1."),") occurred. No additional data is provided.")),(0,p.kt)("h6",{id:"img-digest"},"Image 3. Digest"),(0,p.kt)(u,{className:"graphviz fix-img-size",mdxType:"Digest"}),(0,p.kt)("h6",{id:"defn-block-header-hash"},"Definition 12. Header Hash"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The ",(0,p.kt)("strong",{parentName:"p"},"block header hash of block ",(0,p.kt)("span",{parentName:"strong",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))),", ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"h")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{h}}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"h")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),", is the hash of the header of block ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," encoded by simple codec:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mstyle",{parentName:"mrow",scriptlevel:"0",displaystyle:"true"},(0,p.kt)("msub",{parentName:"mstyle"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"h")),(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mtext",{parentName:"mstyle"},"\u2005"),(0,p.kt)("mo",{parentName:"mstyle"},"="),(0,p.kt)("mtext",{parentName:"mstyle"},"Blake2b"),(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"S"),(0,p.kt)("mi",{parentName:"mrow"},"C"))),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mtext",{parentName:"mrow"},"Head"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\displaystyle{H}_{{h}}{\\left({B}\\right)}\\:=\\text{Blake2b}{\\left(\\text{Enc}_{{{S}{C}}}{\\left(\\text{Head}{\\left({B}\\right)}\\right)}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"h")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Blake2b")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05764em"}},"S")),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Head")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))))),(0,p.kt)("h6",{id:"defn-block-body"},"Definition 13. Block Body"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The block body consists of a sequence of extrinsics, each encoded as a byte array. The content of an extrinsic is completely opaque to the Polkadot Host. As such, from the point of the Polkadot Host, and is simply a SCALE encoded array of byte arrays. The ",(0,p.kt)("strong",{parentName:"p"},"body of Block")," ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," represented as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Body"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Body}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Body")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is defined to be:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Body"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"S"),(0,p.kt)("mi",{parentName:"mrow"},"C"))),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"E"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"."),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"."),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"."),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"E"),(0,p.kt)("mi",{parentName:"msub"},"n")),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Body}(B) := \\text{Enc}_{SC}(E_1,...,E_n)")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Body")),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"SC"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"E"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.0576em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"..."),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"E"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.0576em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose"},")")))))),(0,p.kt)("p",{parentName:"admonition"},"Where each ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"E"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{E}_{{i}}\\in{\\mathbb{{B}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"E")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B")))))))," is a SCALE encoded extrinsic."),(0,p.kt)("h6",{parentName:"admonition",id:"img-block-body"},"Image 4. Block Body"),(0,p.kt)(k,{className:"graphviz fix-img-size",mdxType:"BlockBody"})),(0,p.kt)("h2",{id:"sect-extrinsics"},"2.3. Extrinsics"),(0,p.kt)("p",null,"The block body consists of an array of extrinsics. In a broad sense, extrinsics are data from outside of the state which can trigger state transitions. This section describes extrinsics and their inclusion into blocks."),(0,p.kt)("h3",{id:"id-preliminaries"},"2.3.1. Preliminaries"),(0,p.kt)("p",null,"The extrinsics are divided into two main categories defined as follows:"),(0,p.kt)("p",null,(0,p.kt)("strong",{parentName:"p"},"Transaction extrinsics")," are extrinsics which are signed using either of the key types (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-cryptographic-keys"},"Section A.1.4."),") and broadcasted between the nodes. ",(0,p.kt)("strong",{parentName:"p"},"Inherent extrinsics")," are unsigned extrinsics that are generated by Polkadot Host and only included in the blocks produced by the node itself. They are broadcasted as part of the produced blocks rather than being gossiped as individual extrinsics."),(0,p.kt)("p",null,"The Polkadot Host does not specify or limit the internals of each extrinsics and those are defined and dealt with by the Runtime (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-state-machine"},"Definition 1"),"). From the Polkadot Host point of view, each extrinsics is simply a SCALE-encoded blob (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-scale-codec"},"Section A.2.2."),")."),(0,p.kt)("h3",{id:"id-transactions"},"2.3.2. Transactions"),(0,p.kt)("p",null,"Transaction are submitted and exchanged through ",(0,p.kt)("em",{parentName:"p"},"Transactions")," network messages (",(0,p.kt)("a",{parentName:"p",href:"chap-networking#sect-msg-transactions"},"Section 4.8.5."),"). Upon receiving a Transactions message, the Polkadot Host decodes the SCALE-encoded blob and splits it into individually SCALE-encoded transactions."),(0,p.kt)("p",null,"Alternatively, transactions can be submitted to the host by off-chain worker through the Host API (",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#sect-ext-offchain-submit-transaction"},"Section B.6.2."),")."),(0,p.kt)("p",null,"Any new transaction should be submitted to the Runtime (",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api#sect-rte-validate-transaction"},"Section C.7.1."),"). This will allow the Polkadot Host to check the validity of the received transaction against the current state and if it should be gossiped to other peers. If it considers the submitted transaction as valid, the Polkadot Host should store it for inclusion in future blocks. The whole process of handling new transactions is described in more detail by ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-validate-transactions"},"Validate-Transactions-and-Store"),"."),(0,p.kt)("p",null,"Additionally, valid transactions that are supposed to be gossiped are propagated to connected peers of the Polkadot Host. While doing so the Polkadot Host should keep track of peers already aware of each transaction. This includes peers which have already gossiped the transaction to the node as well as those to whom the transaction has already been sent. This behavior is mandated to avoid resending duplicates and unnecessarily overloading the network. To that aim, the Polkadot Host should keep a ",(0,p.kt)("em",{parentName:"p"},"transaction pool")," and a ",(0,p.kt)("em",{parentName:"p"},"transaction queue")," defined as follows:"),(0,p.kt)("h6",{id:"defn-transaction-queue"},"Definition 14. Transaction Queue"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The ",(0,p.kt)("strong",{parentName:"p"},"Transaction Queue")," of a block producer node, formally referred to as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mi",{parentName:"mrow"},"Q")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}{Q}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"Q"))))))," is a data structure which stores the transactions ready to be included in a block sorted according to their priorities (",(0,p.kt)("a",{parentName:"p",href:"chap-networking#sect-msg-transactions"},"Section 4.8.5."),"). The ",(0,p.kt)("strong",{parentName:"p"},"Transaction Pool"),", formally referred to as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mi",{parentName:"mrow"},"P")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}{P}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P")))))),", is a hash table in which the Polkadot Host keeps the list of all valid transactions not in the transaction queue.")),(0,p.kt)("p",null,"Furthermore, ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-validate-transactions"},"Validate-Transactions-and-Store")," updates the transaction pool and the transaction queue according to the received message:"),(0,p.kt)("h6",{id:"algo-validate-transactions"},"Algorithm 1. Validate Transactions and Store"),(0,p.kt)("admonition",{type:"algorithm"},(0,p.kt)(y.Z,{content:v,algID:"validateTransactionsAndStore",options:{lineNumber:!0},mdxType:"Pseudocode"}),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("strong",{parentName:"p"},"where")," "),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"M"),(0,p.kt)("mi",{parentName:"msub"},"T"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{M}_{{T}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"M")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.13889em"}},"T")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the transaction message (offchain transactions?)")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Dec"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"S"),(0,p.kt)("mi",{parentName:"mrow"},"C")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Dec}_{{{S}{C}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Dec")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05764em"}},"S")),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," decodes the SCALE encoded message.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Longest-Chain")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Longest-Chain}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Longest-Chain"))))))," is defined in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-longest-chain"},"Definition 7"),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"T"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"g"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"g"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"e"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"d"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"T"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"r"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"n"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"s"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"c"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"t"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"i"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"o"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"n"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"Q"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"u"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"e"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"u"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"e"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"_"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"v"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"l"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"i"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"d"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"t"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"e"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"_"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"t"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"r"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"n"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"s"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"c"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"t"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"i"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"o"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"n")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\tt{TaggedTransactionQueue\\_validate\\_transaction}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathtt"},"TaggedTransactionQueue_validate_transaction"))))))))," is a Runtime entrypoint specified in ",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api#sect-rte-validate-transaction"},"Section C.7.1.")," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mi",{parentName:"mrow"},"e"),(0,p.kt)("mi",{parentName:"mrow"},"q"),(0,p.kt)("mi",{parentName:"mrow"},"u"),(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mi",{parentName:"mrow"},"r"),(0,p.kt)("mi",{parentName:"mrow"},"e"),(0,p.kt)("mi",{parentName:"mrow"},"s")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{Requires}{\\left({R}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"e"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"q"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"u"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"res")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),", ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"mrow"},"P"),(0,p.kt)("mi",{parentName:"mrow"},"r"),(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mi",{parentName:"mrow"},"o"),(0,p.kt)("mi",{parentName:"mrow"},"r"),(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mi",{parentName:"mrow"},"y")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{Priority}{\\left({R}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.02778em"}},"r"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.02778em"}},"or"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"y")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"mrow"},"P"),(0,p.kt)("mi",{parentName:"mrow"},"r"),(0,p.kt)("mi",{parentName:"mrow"},"o"),(0,p.kt)("mi",{parentName:"mrow"},"p"),(0,p.kt)("mi",{parentName:"mrow"},"a"),(0,p.kt)("mi",{parentName:"mrow"},"g"),(0,p.kt)("mi",{parentName:"mrow"},"a"),(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mi",{parentName:"mrow"},"e")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{Propagate}{\\left({R}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"ro"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"a"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"g"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"a"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"e")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," refer to the corresponding fields in the tuple returned by the entrypoint when it deems that ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," is valid.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Provided-Tags"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Provided-Tags}{\\left({T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Provided-Tags")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is the list of tags that transaction ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," provides. The Polkadot Host needs to keep track of tags that transaction ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," provides as well as requires after validating it.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Insert-At"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mi",{parentName:"mrow"},"Q"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mtext",{parentName:"mrow"},"Requires"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mtext",{parentName:"mrow"},"Priority"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Insert-At}{\\left({T}{Q},{T},\\text{Requires}{\\left({R}\\right)},\\text{Priority}{\\left({R}\\right)}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Insert-At")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"Q")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Requires")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Priority")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," places ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," into ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mi",{parentName:"mrow"},"Q")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}{Q}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"Q"))))))," approperietly such that the transactions providing the tags which ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," requires or have higher priority than ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," are ahead of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")))))),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Maintain-Transaction-Pool")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Maintain-Transaction-Pool}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Maintain-Transaction-Pool"))))))," is described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-maintain-transaction-pool"},"Maintain-Transaction-Pool"),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"ShouldPropagate")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{ShouldPropagate}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"ShouldPropagate"))))))," indicates whether the transaction should be propagated based on the ",(0,p.kt)("inlineCode",{parentName:"p"},"Propagate")," field in the ",(0,p.kt)("inlineCode",{parentName:"p"},"ValidTransaction")," type as defined in ",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api#defn-valid-transaction"},"Definition 218"),", which is returned by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"TaggedTransactionQueue_validate_transaction")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathtt{\\text{TaggedTransactionQueue\\_validate\\_transaction}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0044em",verticalAlign:"-0.31em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"TaggedTransactionQueue_validate_transaction"))))))),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Propagate"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Propagate}{\\left({T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Propagate")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," sends ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," to all connected peers of the Polkadot Host who are not already aware of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")))))),".")))),(0,p.kt)("h6",{id:"algo-maintain-transaction-pool"},"Algorithm 2. Maintain Transaction Pool"),(0,p.kt)("admonition",{type:"algorithm"},(0,p.kt)(y.Z,{content:w,algID:"maintainTransactionPool",options:{lineNumber:!0},mdxType:"Pseudocode"}),(0,p.kt)("admonition",{parentName:"admonition",type:"info"},(0,p.kt)("p",{parentName:"admonition"},"This has not been defined yet."))),(0,p.kt)("h3",{id:"sect-inherents"},"2.3.3. Inherents"),(0,p.kt)("p",null,"Inherents are unsigned extrinsics inserted into a block by the block author and as a result are not stored in the transaction pool or gossiped across the network. Instead, they are generated by the Polkadot Host by passing the required inherent data, as listed in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#tabl-inherent-data"},"Table 1"),", to the Runtime method ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"BlockBuilder_inherent_extrinsics")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathtt{\\text{BlockBuilder\\_inherent\\_extrinsics}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0044em",verticalAlign:"-0.31em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"BlockBuilder_inherent_extrinsics")))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api#defn-rt-builder-inherent-extrinsics"},"Section C.6.3."),"). Then the returned extrinsics should be included in the current block as explained in ",(0,p.kt)("a",{parentName:"p",href:"sect-block-production#algo-build-block"},"Build-Block"),"."),(0,p.kt)("h6",{id:"tabl-inherent-data"},"Table 1. Inherent Data"),(0,p.kt)("table",null,(0,p.kt)("thead",{parentName:"table"},(0,p.kt)("tr",{parentName:"thead"},(0,p.kt)("th",{parentName:"tr",align:null},"Identifier"),(0,p.kt)("th",{parentName:"tr",align:null},"Value Type"),(0,p.kt)("th",{parentName:"tr",align:null},"Description"))),(0,p.kt)("tbody",{parentName:"table"},(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},"timstap0"),(0,p.kt)("td",{parentName:"tr",align:null},"Unsigned 64-bit integer"),(0,p.kt)("td",{parentName:"tr",align:null},"Unix epoch time (",(0,p.kt)("a",{parentName:"td",href:"id-cryptography-encoding#defn-unix-time"},"Definition 171"),")")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},"babeslot"),(0,p.kt)("td",{parentName:"tr",align:null},"Unsigned 64-bit integer"),(0,p.kt)("td",{parentName:"tr",align:null},"The babe slot (",(0,p.kt)("em",{parentName:"td"},"DEPRECATED"),") (",(0,p.kt)("a",{parentName:"td",href:"sect-block-production#defn-epoch-slot"},"Definition 50"),")")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},"parachn0"),(0,p.kt)("td",{parentName:"tr",align:null},"Parachain inherent data (",(0,p.kt)("a",{parentName:"td",href:"chapter-anv#defn-parachain-inherent-data"},"Definition 93"),")"),(0,p.kt)("td",{parentName:"tr",align:null},"Parachain candidate inclusion (",(0,p.kt)("a",{parentName:"td",href:"chapter-anv#sect-candidate-inclusion"},"Section 8.2.2."),")")))),(0,p.kt)("h6",{id:"defn-inherent-data"},"Definition 15. Inherent Data"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("inlineCode",{parentName:"p"},"Inherent-Data")," is a hashtable (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#defn-scale-list"},"Definition 182"),"), an array of key-value pairs consisting of the inherent 8-byte identifier and its value, representing the totality of inherent extrinsics included in each block. The entries of this hash table which are listed in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#tabl-inherent-data"},"Table 1")," are collected or generated by the Polkadot Host and then handed to the Runtime for inclusion (",(0,p.kt)("a",{parentName:"p",href:"sect-block-production#algo-build-block"},"Build-Block"),").")),(0,p.kt)("h2",{id:"sect-state-storage"},"2.4. State Storage Trie"),(0,p.kt)("p",null,"For storing the state of the system, Polkadot Host implements a hash table storage where the keys are used to access each data entry. There is no assumption on the size of the key or on the size of the data stored under them, besides the fact that they are byte arrays with specific upper limits on their length. The limit is imposed by the encoding algorithms to store the key and the value in the storage trie (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-sc-length-and-compact-encoding"},"Section A.2.2.1."),")."),(0,p.kt)("h3",{id:"id-accessing-system-storage"},"2.4.1. Accessing System Storage"),(0,p.kt)("p",null,"The Polkadot Host implements various functions to facilitate access to the system storage for the Runtime (",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-entrypoints-into-runtime"},"Section 2.6.1."),"). Here we formalize the access to the storage when it is being directly accessed by the Polkadot Host (in contrast to Polkadot runtime)."),(0,p.kt)("h6",{id:"defn-stored-value"},"Definition 16. Stored Value"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"StoredValue")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathsf{\\text{StoredValue}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue")))))))," function retrieves the value stored under a specific key in the state storage and is formally defined as:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"StoredValue:\xa0"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"K"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"V")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\sf \\text{StoredValue: } \\mathcal K \\rarr \\mathcal V")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue:\xa0")),(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.01445em"}},"K"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.08222em"}},"V"))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"k"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.36em",columnalign:"left left",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mi",{parentName:"mrow"},"v"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0if\xa0"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"k"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"v"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0exists\xa0in\xa0state\xa0storage"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mi",{parentName:"mrow"},"\u03d5"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0otherwise")))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"k \\rarr \\begin{cases} v \\text{ if } (k,v) \\text{ exists in state storage} \\\\ \\phi \\text{ otherwise} \\end{cases}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"3em",verticalAlign:"-1.25em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size4"},"{")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-l"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.69em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.69em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.008em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0if\xa0")),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k"),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0exists\xa0in\xa0state\xa0storage")))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.25em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.008em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"\u03d5"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0otherwise"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.19em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"}))))))),(0,p.kt)("p",{parentName:"admonition"},"where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"K"),(0,p.kt)("mo",{parentName:"mrow"},"\u2282"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{K}}}\\subset{\\mathbb{{B}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.01445em"}},"K"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2282"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B")))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"V"),(0,p.kt)("mo",{parentName:"mrow"},"\u2282"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{V}}}\\subset{\\mathbb{{B}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.08222em"}},"V"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2282"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B")))))))," are respectively the set of all keys and values stored in the state storage. ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"V")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{V}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.08222em"}},"V")))))))," can be an empty value.")),(0,p.kt)("h3",{id:"id-general-structure"},"2.4.2. General Structure"),(0,p.kt)("p",null,"In order to ensure the integrity of the state of the system, the stored data needs to be re-arranged and hashed in a ",(0,p.kt)("em",{parentName:"p"},"radix tree"),", which hereafter we refer to as the ",(0,p.kt)("strong",{parentName:"p"},(0,p.kt)("em",{parentName:"strong"},"State Trie"))," or just ",(0,p.kt)("strong",{parentName:"p"},(0,p.kt)("em",{parentName:"strong"},"Trie")),". This rearrangement is necessary to be able to compute the Merkle hash of the whole or part of the state storage, consistently and efficiently at any given time."),(0,p.kt)("p",null,"The trie is used to compute the ",(0,p.kt)("em",{parentName:"p"},"Merkle root")," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-merkl-proof"},"Section 2.4.4."),") of the state, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"r"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{r}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.02778em"}},"r")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-block-header"},"Definition 10"),"), whose purpose is to authenticate the validity of the state database. Thus, the Polkadot Host follows a rigorous encoding algorithm to compute the values stored in the trie nodes to ensure that the computed Merkle hash, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"r"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{r}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.02778em"}},"r")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", matches across the Polkadot Host implementations."),(0,p.kt)("p",null,"The trie is a ",(0,p.kt)("em",{parentName:"p"},"radix-16")," tree (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-radix-tree"},"Definition 17"),"). Each key value identifies a unique node in the tree. However, a node in a tree might or might not be associated with a key in the storage."),(0,p.kt)("h6",{id:"defn-radix-tree"},"Definition 17. Radix-r Tree"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"A ",(0,p.kt)("strong",{parentName:"p"},(0,p.kt)("em",{parentName:"strong"},"Radix-r tree"))," is a variant of a trie in which:"),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},"Every node has at most ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"r")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{r}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.02778em"}},"r"))))))," children where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"r"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mi",{parentName:"msup"},"x"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{r}={2}^{{x}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.02778em"}},"r")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6644em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.6644em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"x"))))))))))))))," for some ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"x")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{x}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"x")))))),";")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},"Each node that is the only child of a parent, which does not represent a valid key is merged with its parent."))),(0,p.kt)("p",{parentName:"admonition"},"As a result, in a radix tree, any path whose interior vertices all have only one child and does not represent a valid key in the data set, is compressed into a single edge. This improves space efficiency when the key space is sparse.")),(0,p.kt)("p",null,"When traversing the trie to a specific node, its key can be reconstructed by concatenating the subsequences of the keys which are stored either explicitly in the nodes on the path or implicitly in their position as a child of their parent."),(0,p.kt)("p",null,"To identify the node corresponding to a key value, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"k")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")))))),", first, we need to encode ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"k")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k"))))))," in a way consistent with the trie structure. Because each node in the trie has at most 16 children, we represent the key as a sequence of 4-bit nibbles:"),(0,p.kt)("h6",{id:"defn-trie-key-encode"},"Definition 18. Key Encode"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"For the purpose of labeling the branches of the trie, the key ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"k")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k"))))))," is encoded to ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mtext",{parentName:"msub"},"enc"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{\\text{enc}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," using ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"KeyEncode")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathsf{\\text{KeyEncode}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"KeyEncode")))))))," functions:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mtext",{parentName:"msub"},"enc")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mn",{parentName:"mrow"},"2"),(0,p.kt)("mi",{parentName:"mrow"},"n")))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mtext",{parentName:"mrow"},"KeyEncode"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"k"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{\\text{enc}}}\\:={\\left({k}_{{\\text{enc}_{{1}}}},\\ldots,{k}_{{\\text{enc}_{{{2}{n}}}}}\\right)}\\:={\\mathsf{\\text{KeyEncode}}}{\\left({k}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0001em",verticalAlign:"-0.2501em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"KeyEncode"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))),(0,p.kt)("p",{parentName:"admonition"},"such that:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"KeyEncode"),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"B"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msup"},"Nibbles"),(0,p.kt)("mn",{parentName:"msup"},"4"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathsf{\\text{KeyEncode}}}:{\\mathbb{{B}}}\\rightarrow\\text{Nibbles}^{{4}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"KeyEncode"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8984em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Nibbles")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8984em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.1473em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"4"))))))))))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"k"),(0,p.kt)("mo",{parentName:"mrow"},"\u27fc"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mn",{parentName:"mrow"},"2"),(0,p.kt)("mi",{parentName:"mrow"},"n")))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k} \\longmapsto{\\left({k}_{{\\text{enc}_{{1}}}},\\ldots,{k}_{{\\text{enc}_{{{2}{n}}}}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7054em",verticalAlign:"-0.011em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u27fc"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0001em",verticalAlign:"-0.2501em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mi",{parentName:"msub"},"n")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},"\u27fc"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mn",{parentName:"msubsup"},"1"),(0,p.kt)("mn",{parentName:"msubsup"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mn",{parentName:"msubsup"},"1"),(0,p.kt)("mn",{parentName:"msubsup"},"2")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mn",{parentName:"msubsup"},"2"),(0,p.kt)("mn",{parentName:"msubsup"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mn",{parentName:"msubsup"},"2"),(0,p.kt)("mn",{parentName:"msubsup"},"2")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mi",{parentName:"msubsup"},"n"),(0,p.kt)("mn",{parentName:"msubsup"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mi",{parentName:"msubsup"},"n"),(0,p.kt)("mn",{parentName:"msubsup"},"2")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({b}_{{1}},\\ldots,{b}_{{n}}\\right)} \\longmapsto{\\left({{b}_{{1}}^{{{1}}}},{{b}_{{1}}^{{2}}},{{b}_{{2}}^{{1}}},{{b}_{{2}}^{{2}}},\\ldots,{{b}_{{n}}^{{1}}},{{b}_{{n}}^{{2}}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u27fc"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2141em",verticalAlign:"-0.35em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size1"},"(")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size1"},")"))))))))),(0,p.kt)("p",{parentName:"admonition"},"where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msup"},"Nibble"),(0,p.kt)("mn",{parentName:"msup"},"4"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Nibble}^{{4}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8984em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Nibble")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8984em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.1473em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"4"))))))))))))))," is the set of all nibbles of 4-bit arrays and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mi",{parentName:"msubsup"},"i"),(0,p.kt)("mn",{parentName:"msubsup"},"1"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{{b}_{{i}}^{{1}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0728em",verticalAlign:"-0.2587em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4413em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2587em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mi",{parentName:"msubsup"},"i"),(0,p.kt)("mn",{parentName:"msubsup"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{{b}_{{i}}^{{2}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0728em",verticalAlign:"-0.2587em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4413em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2587em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," are 4-bit nibbles, which are the big endian representations of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mi",{parentName:"msub"},"i"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{b}_{{i}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),":"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mi",{parentName:"msub"},"i"))),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mi",{parentName:"msubsup"},"i"),(0,p.kt)("mn",{parentName:"msubsup"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mi",{parentName:"msubsup"},"i"),(0,p.kt)("mn",{parentName:"msubsup"},"2")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mo",{parentName:"mrow"},"\xf7"),(0,p.kt)("mn",{parentName:"mrow"},"16"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mtext",{parentName:"mrow"},"mod"),(0,p.kt)("mn",{parentName:"mrow"},"16"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{\\text{enc}_{{i}}}}\\:={\\left({{b}_{{i}}^{{1}}},{{b}_{{i}}^{{2}}}\\right)}\\:={\\left({b}_{{i}}\\div{16},{b}_{{i}}\\text{mod}{16}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9445em",verticalAlign:"-0.2501em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3281em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2141em",verticalAlign:"-0.35em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size1"},"(")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size1"},")")))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\xf7"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"16")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"mod")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"16")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))),(0,p.kt)("p",{parentName:"admonition"},"where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"mod")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{mod}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"mod"))))))," is the remainder and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow"},"\xf7")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\div")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6667em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"\xf7")))))," is the integer division operators.")),(0,p.kt)("p",null,"By looking at ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mtext",{parentName:"msub"},"enc"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{\\text{enc}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," as a sequence of nibbles, one can walk the radix tree to reach the node identifying the storage value of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"k")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")))))),"."),(0,p.kt)("h3",{id:"sect-state-storage-trie-structure"},"2.4.3. Trie Structure"),(0,p.kt)("p",null,"In this subsection, we specify the structure of the nodes in the trie as well as the trie structure:"),(0,p.kt)("h6",{id:"defn-trie-nodeset"},"Definition 19. Set of Nodes"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"We refer to the ",(0,p.kt)("strong",{parentName:"p"},"set of the nodes of Polkadot state trie")," by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{N}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))))))),". By ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}\\in{\\mathcal{{N}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N")))))))," to refer to an individual node in the trie.")),(0,p.kt)("h6",{id:"defn-nodetype"},"Definition 20. State Trie"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The state trie is a radix-16 tree (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-radix-tree"},"Definition 17"),"). Each node in the trie is identified with a unique key ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," such that:"),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("span",{parentName:"li",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the shared prefix of the key of all the descendants of ",(0,p.kt)("span",{parentName:"li",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"))))))," in the trie.")),(0,p.kt)("p",{parentName:"admonition"},"and at least one of the following statements holds:"),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"v"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({k}_{{N}},{v}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," corresponds to an existing entry in the State Storage.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"))))))," has more than one child."))),(0,p.kt)("p",{parentName:"admonition"},"Conversely, if ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"k"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"v"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({k},{v}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is an entry in the state trie then there is a node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}\\in{\\mathcal{{N}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N")))))))," such that ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mi",{parentName:"mrow"},"k")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}={k}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")))))),".")),(0,p.kt)("h6",{id:"defn-trie-branch"},"Definition 21. Branch"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"A ",(0,p.kt)("strong",{parentName:"p"},"branch")," node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"script"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{b}}\\in{\\mathcal{{N}}}_{{b}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is a node which has one child or more. A branch node can have at most 16 children. A ",(0,p.kt)("strong",{parentName:"p"},"leaf")," node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"script"},"N"),(0,p.kt)("mi",{parentName:"msub"},"l"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{l}}\\in{\\mathcal{{N}}}_{{l}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is a childless node. Accordingly:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"script"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N"),(0,p.kt)("mo",{parentName:"mrow",lspace:"0em",rspace:"0em"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0\xa0is\xa0a\xa0branch\xa0node"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"}"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{N}}}_{{b}}\\:={\\left\\lbrace{N}_{{b}}\\in{\\mathcal{{N}}}{\\mid}{N}_{{b}}\\ \\text{ is a branch node}\\right\\rbrace}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"{"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0is\xa0a\xa0branch\xa0node")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"}")))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"script"},"N"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N"),(0,p.kt)("mo",{parentName:"mrow",lspace:"0em",rspace:"0em"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0\xa0is\xa0a\xa0leaf\xa0node"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"}"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{N}}}_{{l}}\\:={\\left\\lbrace{N}_{{l}}\\in{\\mathcal{{N}}}{\\mid}{N}_{{l}}\\ \\text{ is a leaf node}\\right\\rbrace}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"{"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0is\xa0a\xa0leaf\xa0node")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"}"))))))))),(0,p.kt)("p",null,"For each node, part of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is built while the trie is traversed from the root to ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"))))))," and another part of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is stored in ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-key"},"Definition 22"),")."),(0,p.kt)("h6",{id:"defn-node-key"},"Definition 22. Aggregated Prefix Key"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"For any ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}\\in{\\mathcal{{N}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))))))),", its key ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is divided into an ",(0,p.kt)("strong",{parentName:"p"},"aggregated prefix key, ",(0,p.kt)("span",{parentName:"strong",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mtext",{parentName:"msubsup"},"Agr"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{\\text{Agr}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2528em",verticalAlign:"-0.2935em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9592em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4065em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1809em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"Agr"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2935em"}},(0,p.kt)("span",{parentName:"span"})))))))))))),", aggregated by ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-aggregate-key"},"Aggregate-Key")," and a ",(0,p.kt)("strong",{parentName:"p"},"partial key"),", ",(0,p.kt)("strong",{parentName:"p"},(0,p.kt)("span",{parentName:"strong",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{pk}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9386em",verticalAlign:"-0.2441em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2342em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4559em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2441em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," of length ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"0"),(0,p.kt)("mo",{parentName:"mrow"},"\u2264"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"l"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("mi",{parentName:"msub"},"N")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{0}\\le{l}_{{\\text{pk}_{{N}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7804em",verticalAlign:"-0.136em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2264"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0305em",verticalAlign:"-0.3361em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.01968em"}},"l")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2222em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.2341em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2659em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," in nibbles such that:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mi",{parentName:"msub"},"i"))),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"l"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("mi",{parentName:"msub"},"N")))))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{pk}_{{N}}\\:={\\left({k}_{{\\text{enc}_{{i}}}},\\ldots,{k}_{{\\text{enc}_{{{i}+{l}_{{\\text{pk}_{{N}}}}}}}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9386em",verticalAlign:"-0.2441em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2342em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4559em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2441em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.8em",verticalAlign:"-0.65em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size2"},"(")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3281em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3488em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3448em",marginRight:"0.1em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3448em",marginRight:"0.1em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3385em"}},(0,p.kt)("span",{parentName:"span"})))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.6882em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.6428em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.5999em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size2"},")"))))))))),(0,p.kt)("p",{parentName:"admonition"},"where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mtext",{parentName:"msubsup"},"Agr"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{\\text{Agr}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2528em",verticalAlign:"-0.2935em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9592em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4065em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1809em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"Agr"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2935em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," is a prefix subsequence of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),"; ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"i")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{i}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6595em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i"))))))," is the length of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mtext",{parentName:"msubsup"},"Agr"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{\\text{Agr}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2528em",verticalAlign:"-0.2935em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9592em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4065em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1809em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"Agr"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2935em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," in nibbles and so we have:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"KeyEncode"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mtext",{parentName:"msubsup"},"Agr")),(0,p.kt)("mo",{parentName:"mrow",lspace:"0em",rspace:"0em"},"\u2223"),(0,p.kt)("mo",{parentName:"mrow",lspace:"0em",rspace:"0em"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"\u2212"),(0,p.kt)("mn",{parentName:"mrow"},"1")))),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mi",{parentName:"msub"},"i"))),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"l"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("mi",{parentName:"msub"},"N")))))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathsf{\\text{KeyEncode}}}{\\left({k}_{{N}}\\right)}={\\text{pk}_{{N}}^{{\\text{Agr}}}}{\\mid}{\\mid}\\text{pk}_{{N}}={\\left({k}_{{\\text{enc}_{{1}}}},\\ldots,{k}_{{\\text{enc}_{{{i}-{1}}}}},{k}_{{\\text{enc}_{{i}}}},{k}_{{\\text{enc}_{{{i}+{l}_{{\\text{pk}_{{N}}}}}}}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"KeyEncode"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2528em",verticalAlign:"-0.2935em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9592em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4065em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1809em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"Agr"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2935em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2342em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4559em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2441em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.8em",verticalAlign:"-0.65em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size2"},"(")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3281em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"\u2212"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2025em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2918em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3281em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3488em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3448em",marginRight:"0.1em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3448em",marginRight:"0.1em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3385em"}},(0,p.kt)("span",{parentName:"span"})))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.6882em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.6428em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.5999em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size2"},")")))))))))),(0,p.kt)("p",null,"Part of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mtext",{parentName:"msubsup"},"Agr"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{\\text{Agr}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2528em",verticalAlign:"-0.2935em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9592em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4065em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1809em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"Agr"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2935em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," is explicitly stored in ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),"\u2019s ancestors. Additionally, for each ancestor, a single nibble is implicitly derived while traversing from the ancestor to its child included in the traversal path using the ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Index"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Index}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Index")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," function (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-index-function"},"Definition 23"),")."),(0,p.kt)("h6",{id:"defn-index-function"},"Definition 23. Index"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"For ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"script"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}\\in{\\mathcal{{N}}}_{{b}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{c}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," child of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),", we define ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Index"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathsf{\\text{Index}}}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Index"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," function as:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub",mathvariant:"sans-serif"},"Index"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"{"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"C")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow"},"c"),(0,p.kt)("mi",{parentName:"mrow"},"c"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"),(0,p.kt)("mo",{parentName:"mrow"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c")),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0is\xa0a\xa0child\xa0of\xa0"),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"}"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"Nibbles"),(0,p.kt)("mn",{parentName:"msubsup"},"1"),(0,p.kt)("mn",{parentName:"msubsup"},"4")),(0,p.kt)("mspace",{parentName:"mrow",linebreak:"newline"}),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c")),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mi",{parentName:"mrow"},"i")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\textsf{Index}_N: \\{N_C \\in cc(N) \\mid N_c \\text{ is a child of } N\\} \\rightarrow \\text{Nibbles}_1^4 \\\\ N_c \\rightarrow i")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord textsf"},"Index")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mopen"},"{"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.109em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"cc"),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.109em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0is\xa0a\xa0child\xa0of\xa0")),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"),(0,p.kt)("span",{parentName:"span",className:"mclose"},"}"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1454em",verticalAlign:"-0.247em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Nibbles")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8984em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1473em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"4")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mspace newline"}),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.109em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6595em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i")))))),(0,p.kt)("p",{parentName:"admonition"},"such that"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c"))),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",lspace:"0em",rspace:"0em"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow",lspace:"0em",rspace:"0em"},"\u2223"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{{N}_{{c}}}}={k}_{{N}}{\\mid}{\\left|{i}{\\mid}\\right|}\\text{pk}_{{{N}_{{c}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9445em",verticalAlign:"-0.2501em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1645em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0942em",verticalAlign:"-0.3442em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2342em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4559em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1645em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3442em"}},(0,p.kt)("span",{parentName:"span"})))))))))))),(0,p.kt)("h6",{id:"algo-aggregate-key"},"Algorithm 3. Aggregate-Key"),(0,p.kt)("admonition",{type:"algorithm"},(0,p.kt)(y.Z,{content:x,algID:"aggregateKey",options:{lineNumber:!0},mdxType:"Pseudocode"}),(0,p.kt)("p",{parentName:"admonition"},"Assuming that ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"P"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{P}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the path (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-path-graph"},"Definition 2"),") from the trie root to node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),", ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-aggregate-key"},"Aggregate-Key")," rigorously demonstrates how to build ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mtext",{parentName:"msubsup"},"Agr"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{\\text{Agr}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2528em",verticalAlign:"-0.2935em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9592em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4065em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1809em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"Agr"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2935em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," while traversing ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"P"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{P}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),".")),(0,p.kt)("h6",{id:"defn-node-value"},"Definition 24. Node Value"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"A node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}\\in{\\mathcal{{N}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N")))))))," stores the ",(0,p.kt)("strong",{parentName:"p"},"node value"),", ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", which consists of the following concatenated data:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Node\xa0Header"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mtext",{parentName:"mrow"},"Partial\xa0Key"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mtext",{parentName:"mrow"},"Node\xa0Subvalue")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Node Header}{\\left|{\\left|\\text{Partial Key}\\right|}\\right|}\\text{Node Subvalue}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Node\xa0Header")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Partial\xa0Key")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Node\xa0Subvalue"))))))),(0,p.kt)("p",{parentName:"admonition"},"Formally noted as:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Head"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"HE")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"p"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mi",{parentName:"mrow"},"s"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}_{{N}}\\:=\\text{Head}_{{N}}{\\left|{\\left|\\text{Enc}_{\\text{HE}}{\\left({p}{k}_{{N}}\\right)}\\right|}\\right|}{s}{v}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Head")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"HE")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"s")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("strong",{parentName:"p"},"where")," "),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Head"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Head}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Head")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the node header from ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-header"},"Definition 25"))),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"p"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{p}{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the partial key from ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-key"},"Definition 22"))),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"HE"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Enc}_{\\text{HE}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"HE")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is hex encoding (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#defn-hex-encoding"},"Definition 189"),")")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"s"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{s}{v}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"s")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the node subvalue from ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-subvalue"},"Definition 27"))))),(0,p.kt)("h6",{id:"defn-node-header"},"Definition 25. Node Header"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The ",(0,p.kt)("strong",{parentName:"p"},"node header"),", consisting of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow"},"\u2265"),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\ge{1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7719em",verticalAlign:"-0.136em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2265"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1"))))))," bytes, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{1}}\\ldots{N}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", specifies the node variant and the partial key length (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-key"},"Definition 22"),"). Both pieces of information can be represented in bits within a single byte, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{1}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", where the amount of bits of the variant, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"v")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")))))),", and the bits of the partial key length, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{p}_{{l}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.625em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," varies."),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"v"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.16em",columnalign:"center center center",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"01"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mtext",{parentName:"mstyle"},"Leaf"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"6")))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"10"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mtext",{parentName:"mrow"},"Branch\xa0Node\xa0with\xa0\xa0"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",mathvariant:"normal"},"\u2209"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"K")))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"6")))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"11"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mtext",{parentName:"mrow"},"Branch\xa0Node\xa0with\xa0\xa0"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"K")))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"6")))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"001"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mtext",{parentName:"mstyle"},"Leaf\xa0containing\xa0a\xa0hashed\xa0subvalue"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"5")))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"0001"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mtext",{parentName:"mstyle"},"Branch\xa0containing\xa0a\xa0hashed\xa0subvalue"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"4")))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"00000000"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mtext",{parentName:"mstyle"},"Empty"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mn",{parentName:"mrow"},"0"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"00000001"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mtext",{parentName:"mstyle"},"Reserved\xa0for\xa0compact\xa0encoding"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"}))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}={\\left\\lbrace\\begin{matrix}{01}&\\text{Leaf}&{p}_{{l}}={2}^{{6}}\\\\{10}&\\text{Branch Node with }\\ {k}_{{N}}\\notin{\\mathcal{{K}}}&{p}_{{l}}={2}^{{6}}\\\\{11}&\\text{Branch Node with }\\ {k}_{{N}}\\in{\\mathcal{{K}}}&{p}_{{l}}={2}^{{6}}\\\\{001}&\\text{Leaf containing a hashed subvalue}&{p}_{{l}}={2}^{{5}}\\\\{0001}&\\text{Branch containing a hashed subvalue}&{p}_{{l}}={2}^{{4}}\\\\{0000}{0000}&\\text{Empty}&{p}_{{l}}={0}\\\\{0000}{0001}&\\text{Reserved for compact encoding}&\\end{matrix}\\right.}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"8.4em",verticalAlign:"-3.95em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen"},(0,p.kt)("span",{parentName:"span",className:"delimsizing mult"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"4.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-1.366em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"4.416em"}}),(0,p.kt)("span",{parentName:"span",className:"delimsizinginner delim-size4"},(0,p.kt)("span",{parentName:"span"},"\u23a9"))),(0,p.kt)("span",{parentName:"span",style:{top:"-1.358em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"4.416em"}}),(0,p.kt)("span",{parentName:"span",style:{height:"2.416em",width:"0.8889em"}},(0,p.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"0.8889em",height:"2.416em",style:{width:"0.8889em"},viewBox:"0 0 888.89 2416",preserveAspectRatio:"xMinYMin"},(0,p.kt)("path",{parentName:"svg",d:"M384 0 H504 V2416 H384z M384 0 H504 V2416 H384z"})))),(0,p.kt)("span",{parentName:"span",style:{top:"-4.416em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"4.416em"}}),(0,p.kt)("span",{parentName:"span",className:"delimsizinginner delim-size4"},(0,p.kt)("span",{parentName:"span"},"\u23a8"))),(0,p.kt)("span",{parentName:"span",style:{top:"-5.558em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"4.416em"}}),(0,p.kt)("span",{parentName:"span",style:{height:"2.416em",width:"0.8889em"}},(0,p.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"0.8889em",height:"2.416em",style:{width:"0.8889em"},viewBox:"0 0 888.89 2416",preserveAspectRatio:"xMinYMin"},(0,p.kt)("path",{parentName:"svg",d:"M384 0 H504 V2416 H384z M384 0 H504 V2416 H384z"})))),(0,p.kt)("span",{parentName:"span",style:{top:"-7.966em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"4.416em"}}),(0,p.kt)("span",{parentName:"span",className:"delimsizinginner delim-size4"},(0,p.kt)("span",{parentName:"span"},"\u23a7")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"3.95em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"4.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-6.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"01")))),(0,p.kt)("span",{parentName:"span",style:{top:"-5.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"10")))),(0,p.kt)("span",{parentName:"span",style:{top:"-4.21em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"11")))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.01em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"001")))),(0,p.kt)("span",{parentName:"span",style:{top:"-1.81em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0001")))),(0,p.kt)("span",{parentName:"span",style:{top:"-0.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0000")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0000")))),(0,p.kt)("span",{parentName:"span",style:{top:"0.59em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0000")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0001"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"3.95em"}},(0,p.kt)("span",{parentName:"span"}))))),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"4.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-6.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Leaf")))),(0,p.kt)("span",{parentName:"span",style:{top:"-5.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Branch\xa0Node\xa0with\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208")),(0,p.kt)("span",{parentName:"span",className:"mord vbox"},(0,p.kt)("span",{parentName:"span",className:"thinbox"},(0,p.kt)("span",{parentName:"span",className:"llap"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"inner"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"/"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.0556em"}}))),(0,p.kt)("span",{parentName:"span",className:"fix"}))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.01445em"}},"K"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-4.21em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Branch\xa0Node\xa0with\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.01445em"}},"K"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.01em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Leaf\xa0containing\xa0a\xa0hashed\xa0subvalue")))),(0,p.kt)("span",{parentName:"span",style:{top:"-1.81em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Branch\xa0containing\xa0a\xa0hashed\xa0subvalue")))),(0,p.kt)("span",{parentName:"span",style:{top:"-0.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Empty")))),(0,p.kt)("span",{parentName:"span",style:{top:"0.59em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Reserved\xa0for\xa0compact\xa0encoding"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"3.95em"}},(0,p.kt)("span",{parentName:"span"}))))),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"4.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-6.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"6")))))))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-5.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"6")))))))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-4.21em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"6")))))))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.01em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"5")))))))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-1.81em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"4")))))))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-0.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0")))),(0,p.kt)("span",{parentName:"span",style:{top:"0.59em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"}))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"3.95em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"})))))))),(0,p.kt)("p",{parentName:"admonition"},"If the value of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{p}_{{l}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.625em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is equal to the maximum possible value the bits can hold, such as 63 (",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"6")),(0,p.kt)("mo",{parentName:"mrow"},"\u2212"),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{2}^{{6}}-{1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8974em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"6")))))))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\u2212"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1")))))),") in case of the ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"01")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{01}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"01"))))))," variant, then the value of the next 8 bits (",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),") are added the length. This process is repeated for every ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"n")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"8")),(0,p.kt)("mo",{parentName:"mrow"},"\u2212"),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{n}}={2}^{{8}}-{1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8974em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"8")))))))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\u2212"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1")))))),". Any value smaller than the maximum possible value of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," implies that the next value of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mn",{parentName:"mrow"},"1")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{{n}+{1}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8917em",verticalAlign:"-0.2083em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2083em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," should not be added to the length. The hashed subvalue for variants ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"001")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{001}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"001"))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"0001")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{0001}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0001"))))))," is described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-hashed-subvalue"},"Definition 28"),"."),(0,p.kt)("p",{parentName:"admonition"},"Formally, the length of the partial key, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mi",{parentName:"msubsup"},"l"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{l}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1804em",verticalAlign:"-0.247em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9334em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1473em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),", is defined as:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mi",{parentName:"msubsup"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"n")),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mi",{parentName:"mrow"},"x"))),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mi",{parentName:"mrow"},"x"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mi",{parentName:"mrow"},"y")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{l}}}={p}_{{l}}+{N}_{{n}}+{N}_{{{n}+{x}}}+\\ldots+{N}_{{{n}+{x}+{y}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1804em",verticalAlign:"-0.247em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9334em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1473em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"+"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"+"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8917em",verticalAlign:"-0.2083em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2583em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"x"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2083em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"+"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6667em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"+"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9694em",verticalAlign:"-0.2861em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2583em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"x")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.03588em"}},"y"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2861em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("p",{parentName:"admonition"},"as long as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mi",{parentName:"mrow"},"m")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{p}_{{l}}={m}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.625em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m")))))),", ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mi",{parentName:"mrow"},"x"))),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"8")),(0,p.kt)("mo",{parentName:"mrow"},"\u2212"),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{{n}+{x}}}={2}^{{8}}-{1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8917em",verticalAlign:"-0.2083em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2583em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"x"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2083em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8974em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"8")))))))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\u2212"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1"))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mi",{parentName:"mrow"},"x"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mi",{parentName:"mrow"},"y"))),(0,p.kt)("mo",{parentName:"mrow"},"<"),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"8")),(0,p.kt)("mo",{parentName:"mrow"},"\u2212"),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{{n}+{x}+{y}}}<{2}^{{8}}-{1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9694em",verticalAlign:"-0.2861em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2583em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"x")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.03588em"}},"y"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2861em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"<"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8974em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"8")))))))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\u2212"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1")))))),", where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"m")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{m}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m"))))))," is the maximum possible value that ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{p}_{{l}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.625em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," can hold.")),(0,p.kt)("h3",{id:"sect-merkl-proof"},"2.4.4. Merkle Proof"),(0,p.kt)("p",null,"To prove the consistency of the state storage across the network and its modifications both efficiently and effectively, the trie implements a Merkle tree structure. The hash value corresponding to each node needs to be computed rigorously to make the inter-implementation data integrity possible."),(0,p.kt)("p",null,"The Merkle value of each node should depend on the Merkle value of all its children as well as on its corresponding data in the state storage. This recursive dependency is encompassed into the subvalue part of the node value, which recursively depends on the Merkle value of its children. Additionally, as ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-child-trie-structure"},"Section 2.5.1.")," clarifies, the Merkle proof of each ",(0,p.kt)("strong",{parentName:"p"},"child trie")," must be updated first before the final Polkadot state root can be calculated."),(0,p.kt)("p",null,"We use the auxiliary function introduced in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-children-bitmap"},"Definition 26")," to encode and decode the information stored in a branch node."),(0,p.kt)("h6",{id:"defn-children-bitmap"},"Definition 26. Children Bitmap"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"Suppose ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{b}},{N}_{{c}}\\in{\\mathcal{{N}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N")))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{c}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is a child of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{b}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),". We define bit ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{b}_{{i}}:={1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1"))))))," if and only if ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{b}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," has a child with index ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"i")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{i}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6595em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i")))))),", therefore we define ",(0,p.kt)("strong",{parentName:"p"},"ChildrenBitmap")," functions as follows:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"ChildrenBitmap:")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{ChildrenBitmap:}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"ChildrenBitmap:"))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"script"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"double-struck"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{N}}}_{{b}}\\rightarrow{\\mathbb{{B}}}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8389em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mn",{parentName:"msub"},"15")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mn",{parentName:"msub"},"8")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mn",{parentName:"msub"},"7")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mn",{parentName:"msub"},"0")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{b}}\\rightarrow{\\left({b}_{{{15}}},\\ldots,{b}_{{8}},{b}_{{7}},\\ldots,{b}_{{0}}\\right)}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0497em",verticalAlign:"-0.2997em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"15"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"8")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"7")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"0")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4003em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2997em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("strong",{parentName:"p"},"where")),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.16em",columnalign:"center center",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"1"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"\u2203"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N"),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c"))),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b"))),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mi",{parentName:"mrow"},"p"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c"))))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"0"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mtext",{parentName:"mstyle"},"otherwise"))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{b}_{{i}}\\:={\\left\\lbrace\\begin{matrix}{1}&\\exists{N}_{{c}}\\in{\\mathcal{{N}}}:{k}_{{{N}_{{c}}}}={k}_{{{N}_{{b}}}}{\\left|{\\left|{i}\\right|}\\right|}{p}{k}_{{{N}_{{c}}}}\\\\{0}&\\text{otherwise}\\end{matrix}\\right.}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"2.4em",verticalAlign:"-0.95em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size3"},"{")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1")))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\u2203"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1645em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3488em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1512em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2559em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1645em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"otherwise"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"}))))))))),(0,p.kt)("h6",{id:"defn-node-subvalue"},"Definition 27. Subvalue"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"For a given node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),", the ",(0,p.kt)("strong",{parentName:"p"},"subvalue")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),", formally referred to as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"s"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{s}{v}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"s")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", is determined as follows:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"s"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.16em",columnalign:"center",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("msub",{parentName:"mstyle"},(0,p.kt)("mtext",{parentName:"msub"},"StoredValue"),(0,p.kt)("mtext",{parentName:"msub"},"SC"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"SC")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mtext",{parentName:"mrow"},"ChildrenBitmap"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"StoredValue"),(0,p.kt)("mtext",{parentName:"msub"},"SC")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"SC")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"H"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"SC")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"H"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{s}{v}_{{N}}\\:={\\left\\lbrace\\begin{matrix}\\text{StoredValue}_{{\\text{SC}}}\\\\\\text{Enc}_{{\\text{SC}}}{\\left(\\text{ChildrenBitmap}{\\left({N}\\right)}{\\left|{\\left|\\text{StoredValue}_{{\\text{SC}}}\\right|}\\right|}\\text{Enc}_{{\\text{SC}}}{\\left({H}{\\left({N}_{{{C}_{{1}}}}\\right)}\\right)},\\ldots,\\text{Enc}_{{\\text{SC}}}{\\left({H}{\\left({N}_{{{C}_{{n}}}}\\right)}\\right)}\\right)}\\end{matrix}\\right.}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"s")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"2.4em",verticalAlign:"-0.95em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size3"},"{")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"ChildrenBitmap")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1645em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"})))))))),(0,p.kt)("p",{parentName:"admonition"},"where the first variant is a leaf node and the second variant is a branch node."),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"StoredValue"),(0,p.kt)("mtext",{parentName:"msub"},"SC")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.16em",columnalign:"center center",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"SC")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mtext",{parentName:"mrow"},"StoredValue"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mtext",{parentName:"mrow"},"if\xa0StoredValue"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mi",{parentName:"mrow"},"v"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mi",{parentName:"mstyle"},"\u03d5"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mtext",{parentName:"mrow"},"if\xa0StoredValue"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mi",{parentName:"mrow"},"\u03d5")))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{StoredValue}_{{\\text{SC}}}\\:={\\left\\lbrace\\begin{matrix}\\text{Enc}_{{\\text{SC}}}{\\left(\\text{StoredValue}{\\left({k}_{{N}}\\right)}\\right)}&\\text{if StoredValue}{\\left({k}_{{N}}\\right)}={v}\\\\\\phi&\\text{if StoredValue}{\\left({k}_{{N}}\\right)}=\\phi\\end{matrix}\\right.}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"2.4em",verticalAlign:"-0.95em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size3"},"{")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"\u03d5")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"if\xa0StoredValue")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"if\xa0StoredValue")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"\u03d5")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"})))))))),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mi",{parentName:"msub"},"n")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{{C}_{{1}}}}\\ldots{N}_{{{C}_{{n}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9334em",verticalAlign:"-0.2501em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1645em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," with ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"\u2264"),(0,p.kt)("mn",{parentName:"mrow"},"16")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{n}\\le{16}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7719em",verticalAlign:"-0.136em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"n")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2264"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"16"))))))," are the children nodes of the branch node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),"."),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"SC"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Enc}_{{\\text{SC}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is defined in ",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-scale-codec"},"Section A.2.2."),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"StoredValue")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{StoredValue}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue")))))),", where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"v")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v"))))))," can be empty, is defined in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-stored-value"},"Definition 16"),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"H")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H"))))))," is defined in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-merkle-value"},"Definition 29"),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"ChildrenBitmap"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{ChildrenBitmap}{\\left({N}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"ChildrenBitmap")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is defined in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-children-bitmap"},"Definition 26"),"."))),(0,p.kt)("p",{parentName:"admonition"},"The trie deviates from a traditional Merkle tree in that the node value (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-value"},"Definition 24"),"), ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", is presented instead of its hash if it occupies less space than its hash.")),(0,p.kt)("h6",{id:"defn-hashed-subvalue"},"Definition 28. Hashed Subvalue"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"To increase performance, a Merkle proof can be generated by inserting the hash of a value into the trie rather than the value itself (which can be quite large). If Merkle proof computation with node hashing is explicitly executed via the Host API (",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#sect-ext-storage-root-version-2"},"Section B.2.8.2."),"), then any value larger than 32 bytes is hashed, resulting in that hash being used as the subvalue (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-subvalue"},"Definition 27"),") under the corresponding key. The node header must specify the variant ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"001")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{001}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"001"))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"0001")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{0001}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0001"))))))," respectively for leaves containing a hash as their subvalue and for branches containing a hash as their subvalue (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-header"},"Definition 25"),").")),(0,p.kt)("h6",{id:"defn-merkle-value"},"Definition 29. Merkle Value"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"For a given node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),", the ",(0,p.kt)("strong",{parentName:"p"},"Merkle value")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),", denoted by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"H"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}{\\left({N}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is defined as follows:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"H"),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"B"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"U"),(0,p.kt)("mrow",{parentName:"msubsup"},(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mn",{parentName:"mrow"},"0")),(0,p.kt)("mn",{parentName:"msubsup"},"32")),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"double-struck"},"B"),(0,p.kt)("mn",{parentName:"msub"},"32"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}:{\\mathbb{{B}}}\\rightarrow{{U}_{{{i}\\rightarrow{0}}}^{{{32}}}}{\\mathbb{{B}}}_{{32}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1111em",verticalAlign:"-0.247em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"U")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")),(0,p.kt)("span",{parentName:"span",className:"mrel mtight"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"0")))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"32"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"32")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"H"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.16em",columnalign:"center center",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("msub",{parentName:"mstyle"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N")))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},"<"),(0,p.kt)("mn",{parentName:"mrow"},"32"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0\xa0and\xa0\xa0"),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",mathvariant:"normal"},"\u2260"),(0,p.kt)("mi",{parentName:"mrow"},"R"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mtext",{parentName:"mrow"},"Blake2b"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"n")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},"\u2265"),(0,p.kt)("mn",{parentName:"mrow"},"32"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0\xa0or\xa0\xa0"),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mi",{parentName:"mrow"},"R")))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}{\\left({N}\\right)}:{\\left\\lbrace\\begin{matrix}{v}_{{N}}&{\\left|{\\left|{v}_{{N}}\\right|}\\right|}<{32}\\ \\text{ and }\\ {N}\\ne{R}\\\\\\text{Blake2b}{\\left({v}_{{n}}\\right)}&{\\left|{\\left|{v}_{{N}}\\right|}\\right|}\\ge{32}\\ \\text{ or }\\ {N}={R}\\end{matrix}\\right.}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"2.4em",verticalAlign:"-0.95em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size3"},"{")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Blake2b")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"<"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"32")),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0and\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},(0,p.kt)("span",{parentName:"span",className:"mrel"},(0,p.kt)("span",{parentName:"span",className:"mord vbox"},(0,p.kt)("span",{parentName:"span",className:"thinbox"},(0,p.kt)("span",{parentName:"span",className:"rlap"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"inner"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\ue020"))),(0,p.kt)("span",{parentName:"span",className:"fix"}))))),(0,p.kt)("span",{parentName:"span",className:"mrel"},"=")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2265"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"32")),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0or\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"})))))))),(0,p.kt)("p",{parentName:"admonition"},"Where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the node value of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-value"},"Definition 24"),") and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"R")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{R}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R"))))))," is the root of the trie. The ",(0,p.kt)("strong",{parentName:"p"},"Merkle hash")," of the trie is defined to be ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"H"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}{\\left({R}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),".")),(0,p.kt)("h3",{id:"sect-managing-multiple-states"},"2.4.5. Managing Multiple Variants of State"),(0,p.kt)("p",null,"Unless a node is committed to only updating its state according to the finalized block (",(0,p.kt)("a",{parentName:"p",href:"sect-finality#defn-finalized-block"},"Definition 85"),"), it is inevitable for the node to store multiple variants of the state (one for each block). This is, for example, necessary for nodes participating in the block production and finalization."),(0,p.kt)("p",null,"While the state trie structure (",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-state-storage-trie-structure"},"Section 2.4.3."),") facilitates and optimizes storing and switching between multiple variants of the state storage, the Polkadot Host does not specify how a node is required to accomplish this task. Instead, the Polkadot Host is required to implement ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Set-State-At")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Set-State-At}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Set-State-At"))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-set-state-at"},"Definition 30"),"):"),(0,p.kt)("h6",{id:"defn-set-state-at"},"Definition 30. Set State At Block"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The function:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Set-State-At"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Set-State-At}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Set-State-At")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))),(0,p.kt)("p",{parentName:"admonition"},"in which ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," is a block in the block tree (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-block-tree"},"Definition 4"),"), sets the content of state storage equal to the resulting state of executing all extrinsics contained in the branch of the block tree from genesis till block B including those recorded in Block ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")))))),"."),(0,p.kt)("p",{parentName:"admonition"},"For the definition of the state storage see ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-state-storage"},"Section 2.4."),".")),(0,p.kt)("h2",{id:"sect-child-storages"},"2.5. Child Storage"),(0,p.kt)("p",null,"As clarified in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-state-storage"},"Section 2.4."),", the Polkadot state storage implements a hash table for inserting and reading key-value entries. The child storage works the same way but is stored in a separate and isolated environment. Entries in the child storage are not directly accessible via querying the main state storage."),(0,p.kt)("p",null,"The Polkadot Host supports as many child storages as required by Runtime and identifies each separate child storage by its unique identifying key. Child storages are usually used in situations where Runtime deals with multiple instances of a certain type of objects such as Parachains or Smart Contracts. In such cases, the execution of the Runtime entrypoint might result in generating repeated keys across multiple instances of certain objects. Even with repeated keys, all such instances of key-value pairs must be able to be stored within the Polkadot state."),(0,p.kt)("p",null,"In these situations, the child storage can be used to provide the isolation necessary to prevent any undesired interference between the state of separated instances. The Polkadot Host makes no assumptions about how child storages are used, but provides the functionality for it via the Host API (",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#sect-child-storage-api"},"Section B.3."),")."),(0,p.kt)("h3",{id:"sect-child-trie-structure"},"2.5.1. Child Tries"),(0,p.kt)("p",null,"The child trie specification is the same as the one described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-state-storage-trie-structure"},"Section 2.4.3."),". Child tries have their own isolated environment. Nonetheless, the main Polkadot state trie depends on them by storing a node (",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"K"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"V"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{K}_{{N}},{V}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"K")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.22222em"}},"V")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),") which corresponds to an individual child trie. Here, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"K"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{K}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"K")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the child storage key associated to the child trie, and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"V"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{V}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.22222em"}},"V")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the Merkle value of its corresponding child trie computed according to the procedure described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-merkl-proof"},"Section 2.4.4."),"."),(0,p.kt)("p",null,"The Polkadot Host API (",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#sect-child-storage-api"},"Section B.3."),") allows the Runtime to provide the key ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"K"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{K}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"K")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," in order to identify the child trie, followed by a second key in order to identify the value within that child trie. Every time a child trie is modified, the Merkle proof ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"V"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{V}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.22222em"}},"V")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," of the child trie stored in the Polkadot state must be updated first. After that, the final Merkle proof of the Polkadot state can be computed. This mechanism provides a proof of the full Polkadot state including all its child states."),(0,p.kt)("h2",{id:"sect-runtime-interaction"},"2.6. Runtime Interactions"),(0,p.kt)("p",null,"Like any transaction-based transition system, Polkadot\u2019s state is changed by executing an ordered set of instructions. These instructions are known as ",(0,p.kt)("em",{parentName:"p"},"extrinsics"),". In Polkadot, the execution logic of the state transition function is encapsulated in a Runtime (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-state-machine"},"Definition 1"),"). For easy upgradability, this Runtime is presented as a Wasm blob. Nonetheless, the Polkadot Host needs to be in constant interaction with the Runtime (",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-entrypoints-into-runtime"},"Section 2.6.1."),")."),(0,p.kt)("p",null,"In ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-extrinsics"},"Section 2.3."),", we specify the procedure of the process where the extrinsics are submitted, pre-processed, and validated by Runtime and queued to be applied to the current state."),(0,p.kt)("p",null,"To make state replication feasible, Polkadot journals and batches a series of its extrinsics together into a structure known as a ",(0,p.kt)("em",{parentName:"p"},"block"),", before propagating them to other nodes, similar to most other prominent distributed ledger systems. The specification of the Polkadot block as well as the process of verifying its validity, are both explained in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-state-replication"},"Section 2.2."),"."),(0,p.kt)("h3",{id:"sect-entrypoints-into-runtime"},"2.6.1. Interacting with the Runtime"),(0,p.kt)("p",null,"The Runtime (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-state-machine"},"Definition 1"),") is the code implementing the logic of the chain. This code is decoupled from the Polkadot Host to make the logic of the chain easily upgradable without the need to upgrade the Polkadot Host itself. The general procedure to interact with the Runtime is described by ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-runtime-interaction"},"Interact-With-Runtime"),"."),(0,p.kt)("h6",{id:"algo-runtime-interaction"},"Algorithm 4. Interact With Runtime"),(0,p.kt)("admonition",{type:"algorithm"},(0,p.kt)(y.Z,{content:b,algID:"interactWithRuntime",options:{lineNumber:!0},mdxType:"Pseudocode"}),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("strong",{parentName:"p"},"where")," "),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"F")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{F}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"F"))))))," is the runtime entry point call.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{b}}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is the block hash indicating the state at the end of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")))))),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"A"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"A"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{A}_{{1}},\\ldots,{A}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"A")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"A")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," are arguments to be passed to the runtime entrypoint.")))),(0,p.kt)("p",null,"In this section, we describe the details upon which the Polkadot Host is interacting with the Runtime. In particular, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Set-State-At")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Set-State-At}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Set-State-At"))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Call-Runtime-Entrypoint")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Call-Runtime-Entrypoint}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Call-Runtime-Entrypoint"))))))," procedures called by ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-runtime-interaction"},"Interact-With-Runtime")," are explained in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-call-into-runtime"},"Definition 32")," and ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-set-state-at"},"Definition 30")," respectively. ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"R"),(0,p.kt)("mi",{parentName:"msub"},"B"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{R}_{{B}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05017em"}},"B")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the Runtime code loaded from ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"S"),(0,p.kt)("mi",{parentName:"msub"},"B"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{S}_{{B}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"S")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05017em"}},"B")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", as described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-runtime-code-at-state"},"Definition 31"),", and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"E"),(0,p.kt)("mi",{parentName:"msub"},"B"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{R}{E}_{{B}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"E")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05017em"}},"B")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the Polkadot Host API, as described in ",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#defn-host-api-at-state"},"Definition 194"),"."),(0,p.kt)("h3",{id:"sect-loading-runtime-code"},"2.6.2. Loading the Runtime Code"),(0,p.kt)("p",null,"The Polkadot Host expects to receive the code for the Runtime of the chain as a compiled WebAssembly (Wasm) Blob. The current runtime is stored in the state database under the key represented as a byte array:"),(0,p.kt)("div",{className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"b"),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mtext",{parentName:"mrow"},"3A,63,6F,64,65")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{b}\\:=\\text{3A,63,6F,64,65}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"3A,63,6F,64,65"))))))),(0,p.kt)("p",null,"which is the ASCII byte representation of the string ",(0,p.kt)("inlineCode",{parentName:"p"},":code")," (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#section-genesis"},"Section A.3.3."),"). As a result of storing the Runtime as part of the state, the Runtime code itself becomes state sensitive and calls to Runtime can change the Runtime code itself. Therefore the Polkadot Host needs to always make sure to provide the Runtime corresponding to the state in which the entry point has been called. Accordingly, we define ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"R"),(0,p.kt)("mi",{parentName:"msub"},"B"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{R}_{{B}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05017em"}},"B")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-runtime-code-at-state"},"Definition 31"),")."),(0,p.kt)("p",null,"The initial Runtime code of the chain is provided as part of the genesis state (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#section-genesis"},"Section A.3.3."),") and subsequent calls to the Runtime have the ability to, in turn, upgrade the Runtime by replacing this Wasm blob with the help of the storage API (",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#sect-storage-api"},"Section B.2."),"). Therefore, the executor ",(0,p.kt)("strong",{parentName:"p"},"must always")," load the latest Runtime from storage - or preferably detect Runtime upgrades (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-digest"},"Definition 11"),") - either based on the parent block when importing blocks or the best/highest block when creating new blocks."),(0,p.kt)("h6",{id:"defn-runtime-code-at-state"},"Definition 31. Runtime Code at State"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"By ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"R"),(0,p.kt)("mi",{parentName:"msub"},"B"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{R}_{{B}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05017em"}},"B")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", we refer to the Runtime code stored in the state storage at the end of the execution of block ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")))))),".")),(0,p.kt)("p",null,"The WASM blobs may be compressed using ",(0,p.kt)("a",{parentName:"p",href:"https://github.com/facebook/zstd"},(0,p.kt)("em",{parentName:"a"},"zstd")),". In such cases, there is an 8-byte magic identifier at the head of the blob, indicating that it should be decompressed with ",(0,p.kt)("em",{parentName:"p"},"zstd")," compression. The magic identifier prefix ",(0,p.kt)("inlineCode",{parentName:"p"},"ZSTD_PREFIX = [82, 188, 83, 118, 70, 219, 142, 5]")," is different from the WASM ",(0,p.kt)("a",{parentName:"p",href:"https://github.com/WebAssembly/design/blob/main/BinaryEncoding.md#high-level-structure"},"magic bytes"),". The decompression has to be applied on the blob excluding the ",(0,p.kt)("inlineCode",{parentName:"p"},"ZSTD-PREFIX")," and has a Bomb Limit of ",(0,p.kt)("inlineCode",{parentName:"p"},"CODE_BLOB_BOMB_LIMIT = 50 * 1024 * 1024")," to mitigate compression bomb attacks. "),(0,p.kt)("h3",{id:"sect-code-executor"},"2.6.3. Code Executor"),(0,p.kt)("p",null,"The Polkadot Host executes the calls of Runtime entrypoints inside a Wasm Virtual Machine (VM), which in turn provides the Runtime with access to the Polkadot Host API. This part of the Polkadot Host is referred to as the ",(0,p.kt)("em",{parentName:"p"},"Executor"),"."),(0,p.kt)("p",null,(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-call-into-runtime"},"Definition 32")," introduces the notation for calling the runtime entrypoint which is used whenever an algorithm of the Polkadot Host needs to access the runtime."),(0,p.kt)("p",null,"It is acceptable behavior that the Runtime panics during execution of a function in order to indicate an error. The Polkadot Host must be able to catch that panic and recover from it."),(0,p.kt)("p",null,"In this section, we specify the general setup for an Executor that calls into the Runtime. In ",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api"},"Appendix C")," we specify the parameters and return values for each Runtime entrypoint separately."),(0,p.kt)("h6",{id:"defn-call-into-runtime"},"Definition 32. Call Runtime Entrypoint"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"By"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Call-Runtime-Entrypoint"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mi",{parentName:"mrow"},"E"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mtext",{parentName:"mrow"},"Runtime-Entrypoint"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"A"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"A"),(0,p.kt)("mo",{parentName:"msub",lspace:"0em",rspace:"0em"},"\u2264")),(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Call-Runtime-Entrypoint}{\\left({R},{R}{E},\\text{Runtime-Entrypoint},{A},{A}_{\\le}{n}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Call-Runtime-Entrypoint")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"E")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Runtime-Entrypoint")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"A")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"A")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2952em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mrel mtight"},"\u2264"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2452em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"n")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))),(0,p.kt)("p",{parentName:"admonition"},"we refer to the task using the executor to invoke the while passing an ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"A"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"A"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{A}_{{1}},\\ldots,{A}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"A")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"A")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," argument to it and using the encoding described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-runtime-send-args-to-runtime-enteries"},"Section 2.6.3.2."),".")),(0,p.kt)("h4",{id:"sect-memory-management"},"2.6.3.1. Memory Management"),(0,p.kt)("p",null,"The Polkadot Host is responsible for managing the WASM heap memory starting at the exported symbol as a part of implementing the allocator Host API (",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#sect-allocator-api"},"Section B.10."),") and the same allocator should be used for any other heap allocation to be used by the Polkadot Runtime."),(0,p.kt)("p",null,"The size of the provided WASM memory should be based on the value of the storage key (an unsigned 64-bit integer), where each page has a size of 64KB. This memory should be made available to the Polkadot Runtime for import under the symbol name ",(0,p.kt)("inlineCode",{parentName:"p"},"memory"),"."),(0,p.kt)("h4",{id:"sect-runtime-send-args-to-runtime-enteries"},"2.6.3.2. Sending Data to a Runtime Entrypoint"),(0,p.kt)("p",null,"In general, all data exchanged between the Polkadot Host and the Runtime is encoded using the SCALE codec described in ",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-scale-codec"},"Section A.2.2."),". Therefore all runtime entrypoints have the following identical Wasm function signatures:"),(0,p.kt)("pre",null,(0,p.kt)("code",{parentName:"pre"},"(func $runtime_entrypoint (param $data i32) (param $len i32) (result i64))\n")),(0,p.kt)("p",null,"In each invocation of a Runtime entrypoints, the argument(s) which are supposed to be sent to the entrypoint, need to be SCALE encoded into a byte array ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-scale-codec"},"Section A.2.2."),") and copied into a section of Wasm shared memory managed by the shared allocator described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-memory-management"},"Section 2.6.3.1."),"."),(0,p.kt)("p",null,"When the Wasm method, corresponding to the entrypoint, is invoked, two integers are passed as arguments. The first argument is set to the memory address of the byte array ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," in Wasm memory. The second argument sets the length of the encoded data stored in ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")))))),"."),(0,p.kt)("h4",{id:"sect-runtime-return-value"},"2.6.3.3. Receiving Data from a Runtime Entrypoint"),(0,p.kt)("p",null,"The value which is returned from the invocation is an integer, representing two consecutive integers in which the least significant one indicates the pointer to the offset of the result returned by the entrypoint encoded in SCALE codec in the memory buffer. The most significant one provides the size of the blob."),(0,p.kt)("h4",{id:"sect-runtime-version-custom-section"},"2.6.3.4. Runtime Version Custom Section"),(0,p.kt)("p",null,"For newer Runtimes, the Runtime version (",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api#defn-rt-core-version"},"Section C.4.1."),") can be read directly from the ",(0,p.kt)("a",{parentName:"p",href:"https://webassembly.github.io/spec/core/appendix/custom"},"Wasm custom section")," with the name ",(0,p.kt)("inlineCode",{parentName:"p"},"runtime_version.")," The content is a SCALE encoded structure as described in ",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api#defn-rt-core-version"},"Section C.4.1."),"."),(0,p.kt)("p",null,"Retrieving the Runtime version this way is preferred over calling the ",(0,p.kt)("inlineCode",{parentName:"p"},"Core_version")," entrypoint since it involves significantly less overhead."))}B.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkspec_website=self.webpackChunkspec_website||[]).push([[514],{3905:(a,e,t)=>{t.d(e,{Zo:()=>i,kt:()=>h});var s=t(7294);function n(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function m(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),t.push.apply(t,s)}return t}function p(a){for(var e=1;e=0||(n[t]=a[t]);return n}(a,e);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(a);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(a,t)&&(n[t]=a[t])}return n}var N=s.createContext({}),l=function(a){var e=s.useContext(N),t=e;return a&&(t="function"==typeof a?a(e):p(p({},e),a)),t},i=function(a){var e=l(a.components);return s.createElement(N.Provider,{value:e},a.children)},k="mdxType",c={inlineCode:"code",wrapper:function(a){var e=a.children;return s.createElement(s.Fragment,{},e)}},o=s.forwardRef((function(a,e){var t=a.components,n=a.mdxType,m=a.originalType,N=a.parentName,i=r(a,["components","mdxType","originalType","parentName"]),k=l(t),o=n,h=k["".concat(N,".").concat(o)]||k[o]||c[o]||m;return t?s.createElement(h,p(p({ref:e},i),{},{components:t})):s.createElement(h,p({ref:e},i))}));function h(a,e){var t=arguments,n=e&&e.mdxType;if("string"==typeof a||n){var m=t.length,p=new Array(m);p[0]=o;var r={};for(var N in e)hasOwnProperty.call(e,N)&&(r[N]=e[N]);r.originalType=a,r[k]="string"==typeof a?a:n,p[1]=r;for(var l=2;l{t.d(e,{Z:()=>n});var s=t(7294);function n(a){let{content:e,algID:t,options:n={indentSize:"1.2em",commentDelimiter:"//",lineNumber:!1,lineNumberPunc:":",noEnd:!1,captionCount:void 0}}=a;(0,s.useEffect)((()=>{if(window&&document){const a=document.createElement("script");a.src="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js",a.addEventListener("load",(()=>{const a=document.createElement("script");a.src="https://cdn.jsdelivr.net/npm/pseudocode@latest/build/pseudocode.min.js",a.addEventListener("load",(()=>{var a=document.getElementById(window.location.hash.substring(1));pseudocode.renderElement(document.getElementById(`_ps_${t}`),n),a&&a.scrollIntoView()})),document.body.appendChild(a)})),document.body.appendChild(a)}}),[]);const m=`
`;return s.createElement("div",{dangerouslySetInnerHTML:{__html:m+e+"
"}})}},3561:(a,e,t)=>{t.r(e),t.d(e,{assets:()=>M,contentTitle:()=>z,default:()=>B,frontMatter:()=>f,metadata:()=>R,toc:()=>E});var s,n=t(7462),m=t(7294),p=t(3905);function r(){return r=Object.assign?Object.assign.bind():function(a){for(var e=1;e{let{title:e,titleId:t,...n}=a;return m.createElement("svg",r({width:"371pt",height:"139pt",viewBox:"0 0 371 139",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-labelledby":t},n),e?m.createElement("title",{id:t},e):null,s||(s=m.createElement("g",{className:"graph"},m.createElement("path",{fill:"#fff",d:"M0 139V0h371v139H0z"}),m.createElement("g",{className:"cluster",transform:"translate(4 135)"},m.createElement("title",null,"cluster__block"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M8-12v-111h206v111H8z"}),m.createElement("text",{textAnchor:"middle",x:111,y:-107.8,fontFamily:"Times,serif",fontSize:14},"Block")),m.createElement("g",{className:"node",transform:"translate(4 135)"},m.createElement("title",null,"block__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M24-66.5v-21h25v21H24z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M24-66.5v-21h25v21H24z"}),m.createElement("text",{x:27,y:-73.3,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M49-66.5v-21h28v21H49z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M49-66.5v-21h28v21H49z"}),m.createElement("text",{x:52,y:-73.3,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M77-66.5v-21h78v21H77z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M77-66.5v-21h78v21H77z"}),m.createElement("text",{x:104,y:-73.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M155-66.5v-21h43v21h-43z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M155-66.5v-21h43v21h-43z"}),m.createElement("text",{x:171,y:-73.3,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M24-45.5v-21h25v21H24z"}),m.createElement("text",{x:33,y:-52.3,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M49-45.5v-21h28v21H49z"}),m.createElement("text",{x:57,y:-52.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M77-45.5v-21h78v21H77z"}),m.createElement("text",{x:80,y:-52.3,fontFamily:"Times,serif",fontSize:14},"BlockHeader"),m.createElement("path",{fill:"none",stroke:"#000",d:"M155-45.5v-21h43v21h-43z"}),m.createElement("text",{x:158,y:-52.3,fontFamily:"Times,serif",fontSize:14},"header"),m.createElement("path",{fill:"none",stroke:"#000",d:"M24-24.5v-21h25v21H24z"}),m.createElement("text",{x:30.5,y:-31.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M49-24.5v-21h28v21H49z"}),m.createElement("text",{x:57,y:-31.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M77-24.5v-21h78v21H77z"}),m.createElement("text",{x:85,y:-31.3,fontFamily:"Times,serif",fontSize:14},"BlockBody"),m.createElement("path",{fill:"none",stroke:"#000",d:"M155-24.5v-21h43v21h-43z"}),m.createElement("text",{x:162.5,y:-31.3,fontFamily:"Times,serif",fontSize:14},"body")),m.createElement("g",{className:"node",transform:"translate(4 135)"},m.createElement("title",null,"block_header__seq"),m.createElement("text",{textAnchor:"middle",x:302.5,y:-68.3,fontFamily:"Times,serif",fontSize:14},m.createElement("a",{xlinkHref:"chap-state#img-block-header",xlinkTitle:"BlockHeader"},"BlockHeader"))),m.createElement("g",{className:"edge",transform:"translate(4 135)"},m.createElement("title",null,"block__seq:header_type->block_header__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M199-56c10.54 0 21.61-.84 32.42-2.12"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m228.75-61.7 10.37 2.15-9.45 4.79-.92-6.94z"})),m.createElement("g",{className:"node",transform:"translate(4 135)"},m.createElement("title",null,"block_body__seq"),m.createElement("text",{textAnchor:"middle",x:302.5,y:-14.3,fontFamily:"Times,serif",fontSize:14},m.createElement("a",{xlinkHref:"chap-state#img-block-body",xlinkTitle:"BlockBody"},"BlockBody"))),m.createElement("g",{className:"edge",transform:"translate(4 135)"},m.createElement("title",null,"block__seq:body_type->block_body__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M199-35c12.07 0 24.83 1.16 37.1 2.88"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m235.37-35.47 9.35 4.98-10.42 1.94 1.07-6.92z"})))))};var l;function i(){return i=Object.assign?Object.assign.bind():function(a){for(var e=1;e{let{title:e,titleId:t,...s}=a;return m.createElement("svg",i({width:"958pt",height:"197pt",viewBox:"0 0 958 196.83",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t},s),e?m.createElement("title",{id:t},e):null,l||(l=m.createElement("g",{className:"graph"},m.createElement("path",{fill:"#fff",d:"M0 196.83V0h958v196.83H0z"}),m.createElement("g",{className:"cluster",transform:"translate(4 192.83)"},m.createElement("title",null,"cluster__block_body"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M188-30.83v-150h626v150H188z"}),m.createElement("text",{textAnchor:"middle",x:501,y:-165.63,fontFamily:"Times,serif",fontSize:14},"BlockBody")),m.createElement("g",{className:"cluster",transform:"translate(4 192.83)"},m.createElement("title",null,"cluster__transaction"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M504-38.83v-111h302v111H504z"}),m.createElement("text",{textAnchor:"middle",x:655,y:-134.63,fontFamily:"Times,serif",fontSize:14},"BlockBody::Transaction")),m.createElement("g",{className:"node",transform:"translate(4 192.83)"},m.createElement("title",null,"block_body__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M204-105.83v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-105.83v-21h25v21h-25z"}),m.createElement("text",{x:207,y:-112.63,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M229-105.83v-21h28v21h-28z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-105.83v-21h28v21h-28z"}),m.createElement("text",{x:232,y:-112.63,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M257-105.83v-21h108v21H257z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-105.83v-21h108v21H257z"}),m.createElement("text",{x:299,y:-112.63,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M365-105.83v-21h103v21H365z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-105.83v-21h103v21H365z"}),m.createElement("text",{x:411,y:-112.63,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-84.83v-21h25v21h-25z"}),m.createElement("text",{x:213,y:-91.63,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-84.83v-21h28v21h-28z"}),m.createElement("text",{x:237,y:-91.63,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-84.83v-21h108v21H257z"}),m.createElement("text",{x:260,y:-91.63,fontFamily:"Times,serif",fontSize:14},"Scale::CompactInt"),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-84.83v-21h103v21H365z"}),m.createElement("text",{x:368,y:-91.63,fontFamily:"Times,serif",fontSize:14},"num_transactions"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-63.83v-21h25v21h-25z"}),m.createElement("text",{x:210.5,y:-70.63,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-63.83v-21h28v21h-28z"}),m.createElement("text",{x:237,y:-70.63,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-63.83v-21h108v21H257z"}),m.createElement("text",{x:279,y:-70.63,fontFamily:"Times,serif",fontSize:14},"Transaction"),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-63.83v-21h103v21H365z"}),m.createElement("text",{x:384,y:-70.63,fontFamily:"Times,serif",fontSize:14},"transactions"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-42.83v-21h264v21H204z"}),m.createElement("text",{x:236,y:-49.63,fontFamily:"Times,serif",fontSize:14},"repeat num_transactions.value times")),m.createElement("g",{className:"node",transform:"translate(4 192.83)"},m.createElement("title",null,"transaction__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M520-93.33v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M520-93.33v-21h25v21h-25z"}),m.createElement("text",{x:523,y:-100.13,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M545-93.33v-21h85v21h-85z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M545-93.33v-21h85v21h-85z"}),m.createElement("text",{x:576.5,y:-100.13,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M630-93.33v-21h108v21H630z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M630-93.33v-21h108v21H630z"}),m.createElement("text",{x:672,y:-100.13,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M738-93.33v-21h52v21h-52z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M738-93.33v-21h52v21h-52z"}),m.createElement("text",{x:758.5,y:-100.13,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M520-72.33v-21h25v21h-25z"}),m.createElement("text",{x:529,y:-79.13,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M545-72.33v-21h85v21h-85z"}),m.createElement("text",{x:581.5,y:-79.13,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M630-72.33v-21h108v21H630z"}),m.createElement("text",{x:633,y:-79.13,fontFamily:"Times,serif",fontSize:14},"Scale::CompactInt"),m.createElement("path",{fill:"none",stroke:"#000",d:"M738-72.33v-21h52v21h-52z"}),m.createElement("text",{x:741,y:-79.13,fontFamily:"Times,serif",fontSize:14},"len_data"),m.createElement("path",{fill:"none",stroke:"#000",d:"M520-51.33v-21h25v21h-25z"}),m.createElement("text",{x:526.5,y:-58.13,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M545-51.33v-21h85v21h-85z"}),m.createElement("text",{x:548,y:-58.13,fontFamily:"Times,serif",fontSize:14},"len_data.value"),m.createElement("path",{fill:"none",stroke:"#000",d:"M630-51.33v-21h108v21H630zM738-51.33v-21h52v21h-52z"}),m.createElement("text",{x:752.5,y:-58.13,fontFamily:"Times,serif",fontSize:14},"data")),m.createElement("g",{className:"edge",transform:"translate(4 192.83)"},m.createElement("title",null,"block_body__seq:transactions_type->transaction__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M469-73.83c10.49 0 21.31-.15 32.21-.4"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m499.03-77.76 10.09 3.24-9.9 3.76-.19-7z"})))))};var c;function o(){return o=Object.assign?Object.assign.bind():function(a){for(var e=1;e{let{title:e,titleId:t,...s}=a;return m.createElement("svg",o({width:820,height:"239pt",viewBox:"0 0 615 239",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-labelledby":t},s),e?m.createElement("title",{id:t},e):null,c||(c=m.createElement("g",{className:"graph"},m.createElement("path",{fill:"#fff",d:"M0 239V0h615v239H0z"}),m.createElement("g",{className:"cluster",transform:"translate(4 235)"},m.createElement("title",null,"cluster__block_header"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M188-8v-215h275V-8H188z"}),m.createElement("text",{textAnchor:"middle",x:325.5,y:-207.8,fontFamily:"Times,serif",fontSize:14},"BlockHeader")),m.createElement("g",{className:"node",transform:"translate(4 235)"},m.createElement("title",null,"block_header__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M204-167v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-167v-21h25v21h-25z"}),m.createElement("text",{x:207,y:-173.8,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M229-167v-21h28v21h-28z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-167v-21h28v21h-28z"}),m.createElement("text",{x:232,y:-173.8,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M257-167v-21h108v21H257z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-167v-21h108v21H257z"}),m.createElement("text",{x:299,y:-173.8,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M365-167v-21h82v21h-82z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-167v-21h82v21h-82z"}),m.createElement("text",{x:400.5,y:-173.8,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-146v-21h25v21h-25z"}),m.createElement("text",{x:213,y:-152.8,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-146v-21h28v21h-28z"}),m.createElement("text",{x:236,y:-152.8,fontFamily:"Times,serif",fontSize:14},"32"),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-146v-21h108v21H257zM365-146v-21h82v21h-82z"}),m.createElement("text",{x:373,y:-152.8,fontFamily:"Times,serif",fontSize:14},"parent_hash"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-125v-21h25v21h-25z"}),m.createElement("text",{x:209.5,y:-131.8,fontFamily:"Times,serif",fontSize:14},"32"),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-125v-21h28v21h-28z"}),m.createElement("text",{x:237,y:-131.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-125v-21h108v21H257z"}),m.createElement("text",{x:260,y:-131.8,fontFamily:"Times,serif",fontSize:14},"Scale::CompactInt"),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-125v-21h82v21h-82z"}),m.createElement("text",{x:384.5,y:-131.8,fontFamily:"Times,serif",fontSize:14},"number"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-104v-21h25v21h-25z"}),m.createElement("text",{x:210.5,y:-110.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-104v-21h28v21h-28z"}),m.createElement("text",{x:236,y:-110.8,fontFamily:"Times,serif",fontSize:14},"32"),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-104v-21h108v21H257zM365-104v-21h82v21h-82z"}),m.createElement("text",{x:379,y:-110.8,fontFamily:"Times,serif",fontSize:14},"state_root"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-83v-21h25v21h-25z"}),m.createElement("text",{x:210.5,y:-89.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-83v-21h28v21h-28z"}),m.createElement("text",{x:236,y:-89.8,fontFamily:"Times,serif",fontSize:14},"32"),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-83v-21h108v21H257zM365-83v-21h82v21h-82z"}),m.createElement("text",{x:368,y:-89.8,fontFamily:"Times,serif",fontSize:14},"extrinsic_root"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-62v-21h25v21h-25z"}),m.createElement("text",{x:210.5,y:-68.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-62v-21h28v21h-28z"}),m.createElement("text",{x:237,y:-68.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-62v-21h108v21H257z"}),m.createElement("text",{x:260,y:-68.8,fontFamily:"Times,serif",fontSize:14},"Scale::CompactInt"),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-62v-21h82v21h-82z"}),m.createElement("text",{x:371,y:-68.8,fontFamily:"Times,serif",fontSize:14},"num_digests"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-41v-21h25v21h-25z"}),m.createElement("text",{x:210.5,y:-47.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M229-41v-21h28v21h-28z"}),m.createElement("text",{x:237,y:-47.8,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M257-41v-21h108v21H257z"}),m.createElement("text",{x:293,y:-47.8,fontFamily:"Times,serif",fontSize:14},"Digest"),m.createElement("path",{fill:"none",stroke:"#000",d:"M365-41v-21h82v21h-82z"}),m.createElement("text",{x:387,y:-47.8,fontFamily:"Times,serif",fontSize:14},"digests"),m.createElement("path",{fill:"none",stroke:"#000",d:"M204-20v-21h243v21H204z"}),m.createElement("text",{x:239,y:-26.8,fontFamily:"Times,serif",fontSize:14},"repeat num_digests.value times")),m.createElement("g",{className:"node",transform:"translate(4 235)"},m.createElement("title",null,"digest__seq"),m.createElement("text",{textAnchor:"middle",x:549,y:-47.3,fontFamily:"Times,serif",fontSize:14},m.createElement("a",{xlinkHref:"chap-state#img-digest",xlinkTitle:"Digest"},"Digest"))),m.createElement("g",{className:"edge",transform:"translate(4 235)"},m.createElement("title",null,"block_header__seq:digests_type->digest__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M448.5-51h50.03"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m496.25-54.5 10 3.5-10 3.5v-7z"})))))};var g;function d(){return d=Object.assign?Object.assign.bind():function(a){for(var e=1;e{let{title:e,titleId:t,...s}=a;return m.createElement("svg",d({width:"827pt",height:660,viewBox:"0 0 827 495",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t},s),e?m.createElement("title",{id:t},e):null,g||(g=m.createElement("g",{className:"graph"},m.createElement("path",{fill:"#fff",d:"M0 495V0h827v495H0z"}),m.createElement("g",{className:"cluster",transform:"translate(4 491)"},m.createElement("title",null,"cluster__digest"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M8-8v-471h714V-8H8z"}),m.createElement("text",{textAnchor:"middle",x:365,y:-463.8,fontFamily:"Times,serif",fontSize:14},"Digest")),m.createElement("g",{className:"cluster",transform:"translate(4 491)"},m.createElement("title",null,"cluster__pre_runtime"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M506-337v-111h208v111H506z"}),m.createElement("text",{textAnchor:"middle",x:610,y:-432.8,fontFamily:"Times,serif",fontSize:14},"Digest::PreRuntime")),m.createElement("g",{className:"cluster",transform:"translate(4 491)"},m.createElement("title",null,"cluster__post_runtime"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M506-218v-111h208v111H506z"}),m.createElement("text",{textAnchor:"middle",x:610,y:-313.8,fontFamily:"Times,serif",fontSize:14},"Digest::PostRuntime")),m.createElement("g",{className:"cluster",transform:"translate(4 491)"},m.createElement("title",null,"cluster__seal"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M506-99v-111h208v111H506z"}),m.createElement("text",{textAnchor:"middle",x:610,y:-194.8,fontFamily:"Times,serif",fontSize:14},"Digest::Seal")),m.createElement("g",{className:"cluster",transform:"translate(4 491)"},m.createElement("title",null,"cluster__empty"),m.createElement("path",{fill:"#fff",stroke:"#000",strokeDasharray:"1,5",d:"M544-16v-75h132v75H544z"}),m.createElement("text",{textAnchor:"middle",x:610,y:-75.8,fontFamily:"Times,serif",fontSize:14},"Digest::Empty")),m.createElement("g",{className:"node",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M24-244.5v-21h25v21H24z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M24-244.5v-21h25v21H24z"}),m.createElement("text",{x:27,y:-251.3,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M49-244.5v-21h28v21H49z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M49-244.5v-21h28v21H49z"}),m.createElement("text",{x:52,y:-251.3,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M77-244.5v-21h78v21H77z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M77-244.5v-21h78v21H77z"}),m.createElement("text",{x:104,y:-251.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M155-244.5v-21h36v21h-36z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M155-244.5v-21h36v21h-36z"}),m.createElement("text",{x:167.5,y:-251.3,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M24-223.5v-21h25v21H24z"}),m.createElement("text",{x:33,y:-230.3,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M49-223.5v-21h28v21H49z"}),m.createElement("text",{x:59.5,y:-230.3,fontFamily:"Times,serif",fontSize:14},"1"),m.createElement("path",{fill:"none",stroke:"#000",d:"M77-223.5v-21h78v21H77z"}),m.createElement("text",{x:82.5,y:-230.3,fontFamily:"Times,serif",fontSize:14},"u1\u2192TypeId"),m.createElement("path",{fill:"none",stroke:"#000",d:"M155-223.5v-21h36v21h-36z"}),m.createElement("text",{x:161,y:-230.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"none",stroke:"#000",d:"M24-202.5v-21h25v21H24z"}),m.createElement("text",{x:33,y:-209.3,fontFamily:"Times,serif",fontSize:14},"1"),m.createElement("path",{fill:"none",stroke:"#000",d:"M49-202.5v-21h28v21H49z"}),m.createElement("text",{x:57,y:-209.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M77-202.5v-21h78v21H77z"}),m.createElement("text",{x:80,y:-209.3,fontFamily:"Times,serif",fontSize:14},"switch (type)"),m.createElement("path",{fill:"none",stroke:"#000",d:"M155-202.5v-21h36v21h-36z"}),m.createElement("text",{x:158,y:-209.3,fontFamily:"Times,serif",fontSize:14},"value")),m.createElement("g",{className:"edge",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq:type_type->digest__seq:value_type"),m.createElement("path",{fill:"none",stroke:"#404040",d:"M155.02-240.55c-43-18.78-36.84-46.95 18.48-46.95 51.45 0 60.37 38.7 26.79 62.21"}),m.createElement("path",{fill:"#404040",stroke:"#404040",d:"m202.22-221.78-10.39 2.1 6.81-8.12 3.58 6.02z"})),m.createElement("g",{className:"node",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq_value_switch"),m.createElement("path",{fill:"#e6007a4f",d:"M243-244.5v-21h150v21H243z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M243-244.5v-21h150v21H243z"}),m.createElement("text",{x:306,y:-251.3,fontFamily:"Times,serif",fontSize:14},"case"),m.createElement("path",{fill:"#e6007a4f",d:"M393-244.5v-21h77v21h-77z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M393-244.5v-21h77v21h-77z"}),m.createElement("text",{x:419.5,y:-251.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"none",stroke:"#000",d:"M243-223.5v-21h150v21H243z"}),m.createElement("text",{x:259,y:-230.3,fontFamily:"Times,serif",fontSize:14},":type_id_pre_runtime"),m.createElement("path",{fill:"none",stroke:"#000",d:"M393-223.5v-21h77v21h-77z"}),m.createElement("text",{x:398.5,y:-230.3,fontFamily:"Times,serif",fontSize:14},"PreRuntime"),m.createElement("path",{fill:"none",stroke:"#000",d:"M243-202.5v-21h150v21H243z"}),m.createElement("text",{x:256,y:-209.3,fontFamily:"Times,serif",fontSize:14},":type_id_post_runtime"),m.createElement("path",{fill:"none",stroke:"#000",d:"M393-202.5v-21h77v21h-77z"}),m.createElement("text",{x:396,y:-209.3,fontFamily:"Times,serif",fontSize:14},"PostRuntime"),m.createElement("path",{fill:"none",stroke:"#000",d:"M243-181.5v-21h150v21H243z"}),m.createElement("text",{x:281.5,y:-188.3,fontFamily:"Times,serif",fontSize:14},":type_id_seal"),m.createElement("path",{fill:"none",stroke:"#000",d:"M393-181.5v-21h77v21h-77z"}),m.createElement("text",{x:419.5,y:-188.3,fontFamily:"Times,serif",fontSize:14},"Seal"),m.createElement("path",{fill:"none",stroke:"#000",d:"M243-160.5v-21h150v21H243z"}),m.createElement("text",{x:246,y:-167.3,fontFamily:"Times,serif",fontSize:14},":type_id_runtime_updated"),m.createElement("path",{fill:"none",stroke:"#000",d:"M393-160.5v-21h77v21h-77z"}),m.createElement("text",{x:413,y:-167.3,fontFamily:"Times,serif",fontSize:14},"Empty")),m.createElement("g",{className:"edge",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq:value_type->digest__seq_value_switch"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M192.5-213h32"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m222.33-216.5 10 3.5-10 3.5v-7z"})),m.createElement("g",{className:"node",transform:"translate(4 491)"},m.createElement("title",null,"pre_runtime__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M522-391.5v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-391.5v-21h25v21h-25z"}),m.createElement("text",{x:525,y:-398.3,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M547-391.5v-21h28v21h-28z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-391.5v-21h28v21h-28z"}),m.createElement("text",{x:550,y:-398.3,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M575-391.5v-21h74v21h-74z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-391.5v-21h74v21h-74z"}),m.createElement("text",{x:600,y:-398.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M649-391.5v-21h49v21h-49z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-391.5v-21h49v21h-49z"}),m.createElement("text",{x:668,y:-398.3,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-370.5v-21h25v21h-25z"}),m.createElement("text",{x:531,y:-377.3,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-370.5v-21h28v21h-28z"}),m.createElement("text",{x:557.5,y:-377.3,fontFamily:"Times,serif",fontSize:14},"4"),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-370.5v-21h74v21h-74z"}),m.createElement("text",{x:583,y:-377.3,fontFamily:"Times,serif",fontSize:14},"str(ASCII)"),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-370.5v-21h49v21h-49z"}),m.createElement("text",{x:655,y:-377.3,fontFamily:"Times,serif",fontSize:14},"engine"),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-349.5v-21h25v21h-25z"}),m.createElement("text",{x:531,y:-356.3,fontFamily:"Times,serif",fontSize:14},"4"),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-349.5v-21h28v21h-28z"}),m.createElement("text",{x:555,y:-356.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-349.5v-21h74v21h-74z"}),m.createElement("text",{x:578,y:-356.3,fontFamily:"Times,serif",fontSize:14},"Scale::Bytes"),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-349.5v-21h49v21h-49z"}),m.createElement("text",{x:652,y:-356.3,fontFamily:"Times,serif",fontSize:14},"payload")),m.createElement("g",{className:"edge",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq_value_switch:case0->pre_runtime__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M471.5-234c46.6 0 3.25-64.43 34.5-99 1.85-2.05 3.81-4.02 5.86-5.91"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m508.23-341.11 9.92-3.71-5.44 9.09-4.48-5.38z"})),m.createElement("g",{className:"node",transform:"translate(4 491)"},m.createElement("title",null,"post_runtime__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M522-272.5v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-272.5v-21h25v21h-25z"}),m.createElement("text",{x:525,y:-279.3,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M547-272.5v-21h28v21h-28z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-272.5v-21h28v21h-28z"}),m.createElement("text",{x:550,y:-279.3,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M575-272.5v-21h74v21h-74z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-272.5v-21h74v21h-74z"}),m.createElement("text",{x:600,y:-279.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M649-272.5v-21h49v21h-49z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-272.5v-21h49v21h-49z"}),m.createElement("text",{x:668,y:-279.3,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-251.5v-21h25v21h-25z"}),m.createElement("text",{x:531,y:-258.3,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-251.5v-21h28v21h-28z"}),m.createElement("text",{x:557.5,y:-258.3,fontFamily:"Times,serif",fontSize:14},"4"),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-251.5v-21h74v21h-74z"}),m.createElement("text",{x:583,y:-258.3,fontFamily:"Times,serif",fontSize:14},"str(ASCII)"),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-251.5v-21h49v21h-49z"}),m.createElement("text",{x:655,y:-258.3,fontFamily:"Times,serif",fontSize:14},"engine"),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-230.5v-21h25v21h-25z"}),m.createElement("text",{x:531,y:-237.3,fontFamily:"Times,serif",fontSize:14},"4"),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-230.5v-21h28v21h-28z"}),m.createElement("text",{x:555,y:-237.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-230.5v-21h74v21h-74z"}),m.createElement("text",{x:578,y:-237.3,fontFamily:"Times,serif",fontSize:14},"Scale::Bytes"),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-230.5v-21h49v21h-49z"}),m.createElement("text",{x:652,y:-237.3,fontFamily:"Times,serif",fontSize:14},"payload")),m.createElement("g",{className:"edge",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq_value_switch:case1->post_runtime__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M471.5-213c18.84 0 38.32-4.13 56.5-9.99"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m525.65-226.57 10.59.05-8.32 6.57-2.27-6.62z"})),m.createElement("g",{className:"node",transform:"translate(4 491)"},m.createElement("title",null,"seal__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M522-153.5v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-153.5v-21h25v21h-25z"}),m.createElement("text",{x:525,y:-160.3,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M547-153.5v-21h28v21h-28z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-153.5v-21h28v21h-28z"}),m.createElement("text",{x:550,y:-160.3,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M575-153.5v-21h74v21h-74z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-153.5v-21h74v21h-74z"}),m.createElement("text",{x:600,y:-160.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M649-153.5v-21h49v21h-49z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-153.5v-21h49v21h-49z"}),m.createElement("text",{x:668,y:-160.3,fontFamily:"Times,serif",fontSize:14},"id"),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-132.5v-21h25v21h-25z"}),m.createElement("text",{x:531,y:-139.3,fontFamily:"Times,serif",fontSize:14},"0"),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-132.5v-21h28v21h-28z"}),m.createElement("text",{x:557.5,y:-139.3,fontFamily:"Times,serif",fontSize:14},"4"),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-132.5v-21h74v21h-74z"}),m.createElement("text",{x:583,y:-139.3,fontFamily:"Times,serif",fontSize:14},"str(ASCII)"),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-132.5v-21h49v21h-49z"}),m.createElement("text",{x:655,y:-139.3,fontFamily:"Times,serif",fontSize:14},"engine"),m.createElement("path",{fill:"none",stroke:"#000",d:"M522-111.5v-21h25v21h-25z"}),m.createElement("text",{x:531,y:-118.3,fontFamily:"Times,serif",fontSize:14},"4"),m.createElement("path",{fill:"none",stroke:"#000",d:"M547-111.5v-21h28v21h-28z"}),m.createElement("text",{x:555,y:-118.3,fontFamily:"Times,serif",fontSize:14},"..."),m.createElement("path",{fill:"none",stroke:"#000",d:"M575-111.5v-21h74v21h-74z"}),m.createElement("text",{x:578,y:-118.3,fontFamily:"Times,serif",fontSize:14},"Scale::Bytes"),m.createElement("path",{fill:"none",stroke:"#000",d:"M649-111.5v-21h49v21h-49z"}),m.createElement("text",{x:652,y:-118.3,fontFamily:"Times,serif",fontSize:14},"payload")),m.createElement("g",{className:"edge",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq_value_switch:case2->seal__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M471.5-192c18.84 0 38.32 4.13 56.5 9.99"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m527.92-185.05 8.32 6.57-10.59.05 2.27-6.62z"})),m.createElement("g",{className:"node",transform:"translate(4 491)"},m.createElement("title",null,"empty__seq"),m.createElement("path",{fill:"#e6007a4f",d:"M560-31.5v-21h25v21h-25z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M560-31.5v-21h25v21h-25z"}),m.createElement("text",{x:563,y:-38.3,fontFamily:"Times,serif",fontSize:14},"pos"),m.createElement("path",{fill:"#e6007a4f",d:"M585-31.5v-21h28v21h-28z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M585-31.5v-21h28v21h-28z"}),m.createElement("text",{x:588,y:-38.3,fontFamily:"Times,serif",fontSize:14},"size"),m.createElement("path",{fill:"#e6007a4f",d:"M613-31.5v-21h30v21h-30z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M613-31.5v-21h30v21h-30z"}),m.createElement("text",{x:616,y:-38.3,fontFamily:"Times,serif",fontSize:14},"type"),m.createElement("path",{fill:"#e6007a4f",d:"M643-31.5v-21h17v21h-17z"}),m.createElement("path",{fill:"none",stroke:"#000",d:"M643-31.5v-21h17v21h-17z"}),m.createElement("text",{x:646,y:-38.3,fontFamily:"Times,serif",fontSize:14},"id")),m.createElement("g",{className:"edge",transform:"translate(4 491)"},m.createElement("title",null,"digest__seq_value_switch:case3->empty__seq"),m.createElement("path",{fill:"none",stroke:"#000",strokeWidth:2,d:"M471.5-171c37.1 0 8.92 49.13 34.5 76 11.89 12.48 27.36 22.55 42.68 30.42"}),m.createElement("path",{stroke:"#000",strokeWidth:2,d:"m548.71-68.49 7.46 7.52-10.52-1.22 3.06-6.3z"})))))};var y=t(2182);const v="\\begin{algorithm}\n\\caption{Validate-Transactions-and-Store}\n\\begin{algorithmic}\n \\state $L \\leftarrow Dec_{SC}(M_T)$\n \\forall{$\\{T \\in L \\mid T \\notin TQ \\mid T \\notin TP\\}$}\n \\state $B_d \\leftarrow$ \\call{Head}{\\call{Longest-Chain}{$BT$}}\n \\state $N \\leftarrow H_n(B_d)$\n \\state $R \\leftarrow$ \\call{Call-Runtime-Entry}{$\\texttt{TaggedTransactionQueue\\_validate\\_transaction}, N, T$}\n \\if{\\call{Valid}{$R$}}\n \\if{\\call{Requires}{$R$}$ \\subset \\bigcup_{\\forall T \\in (TQ~\\cup~B_i \\mid \\exists i_{\\mid d > i})}$ \\call{Provided-Tags}{$T$}}\n \\state \\call{Insert-At}{$TQ, T, $\\call{Requires}{$R$}$, $\\call{Priority}{$R$}}\n \\else\n \\state \\call{Add-To}{$TP,T$}\n \\endif\n \\state \\call{Maintain-Transaction-Pool}{}\n \\if{\\call{ShouldPropagate}{$R$}}\n \\state \\call{Propagate}{$T$}\n \\endif\n \\endif\n \\endfor\n\\end{algorithmic}\n\\end{algorithm}\n ",w="\\begin{algorithm}\n\\caption{Maintain-Transaction-Pool}\n\\begin{algorithmic}\n \\state Scan the pool for ready transactions\n \\state Move them to the transaction queue\n \\state Drop invalid transactions\n\\end{algorithmic}\n\\end{algorithm}",x="\\begin{algorithm}\n\\caption{Aggregate-Key}\n\\begin{algorithmic}\n \\require{$P_N \\coloneqq ($\\textsc{TrieRoot}$ = N_1, \\dots, N_j = N)$}\n \\state $pk^{Agr}_N \\leftarrow \\phi$\n \\state $i \\leftarrow 1$\n \\forall{$N_i \\in P_N$}\n \\state $pk^{Agr}_N \\leftarrow pk^{Agr}_N || pk_{N_i} || \\textrm{Index}_{N_i}(N_{i + 1})$\n \\endfor\n \\state $pk^{Agr}_N \\leftarrow pk^{Agr}_N || pk_{N}$\n \\return $pk^{Agr}_N$\n\\end{algorithmic}\n\\end{algorithm}",b="\\begin{algorithm}\n\\caption{Interact-With-Runtime}\n\\begin{algorithmic}\n \\require $F, H_b(B),(A_1,\\ldots,A_n)$\n \\state $\\mathcal{S}_B \\leftarrow$ \\call{Set-State-At}{$H_b(B)$}\n \\state $A \\leftarrow Enc_{SC}((A_1, \\ldots, A_n))$\n \\state \\call{Call-Runtime-Entrypoint}{$R_B, \\mathcal{RE}_B, F, A, A_{len}$}\n\\end{algorithmic}\n\\end{algorithm}",f={title:"2. States and Transitions"},z=void 0,R={unversionedId:"chap-state",id:"chap-state",title:"2. States and Transitions",description:"2.1. Introduction",source:"@site/docs/chap-state.md",sourceDirName:".",slug:"/chap-state",permalink:"/chap-state",draft:!1,unlisted:!1,editUrl:"https://github.com/w3f/polkadot-spec/blob/main/src/docs/chap-state.md",tags:[],version:"current",frontMatter:{title:"2. States and Transitions"},sidebar:"tutorialSidebar",previous:{title:"1. Overview",permalink:"/chap-overview"},next:{title:"3. Synchronization",permalink:"/chap-sync"}},M={},E=[{value:"2.1. Introduction",id:"id-introduction",level:2},{value:"Definition 1. Discrete State Machine (DSM)",id:"defn-state-machine",level:6},{value:"Definition 2. Path Graph",id:"defn-path-graph",level:6},{value:"Definition 3. Blockchain",id:"defn-blockchain",level:6},{value:"2.1.1. Block Tree",id:"id-block-tree",level:3},{value:"Definition 4. Block",id:"defn-block-tree",level:6},{value:"Definition 5. Pruned Block Tree",id:"defn-pruned-tree",level:6},{value:"Definition 6. Subchain",id:"defn-chain-subchain",level:6},{value:"Definition 7. Longest Chain",id:"defn-longest-chain",level:6},{value:"Definition 8. Longest Path",id:"defn-longest-path",level:6},{value:"Definition 9. Descendant and Ancestor",id:"defn-descendant-ancestor",level:6},{value:"2.2. State Replication",id:"sect-state-replication",level:2},{value:"2.2.1. Block Format",id:"sect-block-format",level:3},{value:"Image 1. Block",id:"img-block",level:6},{value:"Definition 10. Block Header",id:"defn-block-header",level:6},{value:"Image 2. Block Header",id:"img-block-header",level:6},{value:"Definition 11. Header Digest",id:"defn-digest",level:6},{value:"Image 3. Digest",id:"img-digest",level:6},{value:"Definition 12. Header Hash",id:"defn-block-header-hash",level:6},{value:"Definition 13. Block Body",id:"defn-block-body",level:6},{value:"2.3. Extrinsics",id:"sect-extrinsics",level:2},{value:"2.3.1. Preliminaries",id:"id-preliminaries",level:3},{value:"2.3.2. Transactions",id:"id-transactions",level:3},{value:"Definition 14. Transaction Queue",id:"defn-transaction-queue",level:6},{value:"Algorithm 1. Validate Transactions and Store",id:"algo-validate-transactions",level:6},{value:"Algorithm 2. Maintain Transaction Pool",id:"algo-maintain-transaction-pool",level:6},{value:"2.3.3. Inherents",id:"sect-inherents",level:3},{value:"Table 1. Inherent Data",id:"tabl-inherent-data",level:6},{value:"Definition 15. Inherent Data",id:"defn-inherent-data",level:6},{value:"2.4. State Storage Trie",id:"sect-state-storage",level:2},{value:"2.4.1. Accessing System Storage",id:"id-accessing-system-storage",level:3},{value:"Definition 16. Stored Value",id:"defn-stored-value",level:6},{value:"2.4.2. General Structure",id:"id-general-structure",level:3},{value:"Definition 17. Radix-r Tree",id:"defn-radix-tree",level:6},{value:"Definition 18. Key Encode",id:"defn-trie-key-encode",level:6},{value:"2.4.3. Trie Structure",id:"sect-state-storage-trie-structure",level:3},{value:"Definition 19. Set of Nodes",id:"defn-trie-nodeset",level:6},{value:"Definition 20. State Trie",id:"defn-nodetype",level:6},{value:"Definition 21. Branch",id:"defn-trie-branch",level:6},{value:"Definition 22. Aggregated Prefix Key",id:"defn-node-key",level:6},{value:"Definition 23. Index",id:"defn-index-function",level:6},{value:"Algorithm 3. Aggregate-Key",id:"algo-aggregate-key",level:6},{value:"Definition 24. Node Value",id:"defn-node-value",level:6},{value:"Definition 25. Node Header",id:"defn-node-header",level:6},{value:"2.4.4. Merkle Proof",id:"sect-merkl-proof",level:3},{value:"Definition 26. Children Bitmap",id:"defn-children-bitmap",level:6},{value:"Definition 27. Subvalue",id:"defn-node-subvalue",level:6},{value:"Definition 28. Hashed Subvalue",id:"defn-hashed-subvalue",level:6},{value:"Definition 29. Merkle Value",id:"defn-merkle-value",level:6},{value:"2.4.5. Managing Multiple Variants of State",id:"sect-managing-multiple-states",level:3},{value:"Definition 30. Set State At Block",id:"defn-set-state-at",level:6},{value:"2.5. Child Storage",id:"sect-child-storages",level:2},{value:"2.5.1. Child Tries",id:"sect-child-trie-structure",level:3},{value:"2.6. Runtime Interactions",id:"sect-runtime-interaction",level:2},{value:"2.6.1. Interacting with the Runtime",id:"sect-entrypoints-into-runtime",level:3},{value:"Algorithm 4. Interact With Runtime",id:"algo-runtime-interaction",level:6},{value:"2.6.2. Loading the Runtime Code",id:"sect-loading-runtime-code",level:3},{value:"Definition 31. Runtime Code at State",id:"defn-runtime-code-at-state",level:6},{value:"2.6.3. Code Executor",id:"sect-code-executor",level:3},{value:"Definition 32. Call Runtime Entrypoint",id:"defn-call-into-runtime",level:6},{value:"2.6.3.1. Memory Management",id:"sect-memory-management",level:4},{value:"2.6.3.2. Sending Data to a Runtime Entrypoint",id:"sect-runtime-send-args-to-runtime-enteries",level:4},{value:"2.6.3.3. Receiving Data from a Runtime Entrypoint",id:"sect-runtime-return-value",level:4},{value:"2.6.3.4. Runtime Version Custom Section",id:"sect-runtime-version-custom-section",level:4}],_={toc:E},T="wrapper";function B(a){let{components:e,...t}=a;return(0,p.kt)(T,(0,n.Z)({},_,t,{components:e,mdxType:"MDXLayout"}),(0,p.kt)("h2",{id:"id-introduction"},"2.1. Introduction"),(0,p.kt)("h6",{id:"defn-state-machine"},"Definition 1. Discrete State Machine (DSM)"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"A ",(0,p.kt)("strong",{parentName:"p"},"Discrete State Machine (DSM)")," is a state transition system that admits a starting state and whose set of states and set of transitions are countable. Formally, it is a tuple of"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"\u03a3"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"S"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"s"),(0,p.kt)("mn",{parentName:"msub"},"0")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"\u03b4"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"(\\Sigma, S, s_0, \\delta)")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},"\u03a3"),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"S"),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"s"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"0em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"0")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03785em"}},"\u03b4"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")")))))),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("strong",{parentName:"p"},"where")),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"\u03a3")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\Sigma")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"\u03a3")))))," is the countable set of all possible inputs.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"S")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{S}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"S"))))))," is a countable set of all possible states.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"s"),(0,p.kt)("mn",{parentName:"msub"},"0")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow"},"S")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{s}_{{0}}\\in{S}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6891em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"s")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"0")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"S"))))))," is the initial state.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"\u03b4")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\delta")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03785em"}},"\u03b4")))))," is the state-transition function, known as ",(0,p.kt)("strong",{parentName:"p"},"Runtime")," in the Polkadot vocabulary, such that"))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"\u03b4"),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mi",{parentName:"mrow"},"S"),(0,p.kt)("mo",{parentName:"mrow"},"\xd7"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"\u03a3"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mi",{parentName:"mrow"},"S")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\delta : S \\times \\Sigma \\rightarrow S")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03785em"}},"\u03b4"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7667em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"S"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\xd7"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"\u03a3"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"S"))))))),(0,p.kt)("h6",{id:"defn-path-graph"},"Definition 2. Path Graph"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"A ",(0,p.kt)("strong",{parentName:"p"},"path graph")," or a ",(0,p.kt)("strong",{parentName:"p"},"path")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"n")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{n}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"n"))))))," nodes, formally referred to as ",(0,p.kt)("strong",{parentName:"p"},(0,p.kt)("span",{parentName:"strong",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"P"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{P}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),", is a tree with two nodes of vertex degree 1 and the other n-2 nodes of vertex degree 2. Therefore, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"P"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{P}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," can be represented by sequences of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"n")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({v}_{{1}},\\ldots,{v}_{{n}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"e"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mn",{parentName:"mrow"},"1"))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{e}_{{i}}={\\left({v}_{{i}},{v}_{{{i}+{1}}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"e")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2083em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," for ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"1"),(0,p.kt)("mo",{parentName:"mrow"},"\u2264"),(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"\u2264"),(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"\u2212"),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{1}\\le{i}\\le{n}-{1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7804em",verticalAlign:"-0.136em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2264"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7955em",verticalAlign:"-0.136em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2264"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6667em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"n")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\u2212"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1"))))))," is the edge which connect ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"i"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}_{{i}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mn",{parentName:"mrow"},"1")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}_{{{i}+{1}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6389em",verticalAlign:"-0.2083em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2083em"}},(0,p.kt)("span",{parentName:"span"})))))))))),".")),(0,p.kt)("h6",{id:"defn-blockchain"},"Definition 3. Blockchain"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"A ",(0,p.kt)("strong",{parentName:"p"},"blockchain")," ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C"))))))," is a ",(0,p.kt)("a",{parentName:"p",href:"https://en.wikipedia.org/wiki/Directed_graph"},"directed path graph"),". Each node of the graph is called ",(0,p.kt)("strong",{parentName:"p"},"Block")," and indicated by ",(0,p.kt)("strong",{parentName:"p"},(0,p.kt)("span",{parentName:"strong",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))),". The unique sink of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C"))))))," is called ",(0,p.kt)("strong",{parentName:"p"},"Genesis Block"),", and the source is called the ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Head")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Head}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Head"))))))," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))))),". For any vertex ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({B}_{{1}},{B}_{{2}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{1}}\\rightarrow{B}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," we say ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the ",(0,p.kt)("strong",{parentName:"p"},"parent")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{1}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", which is the ",(0,p.kt)("strong",{parentName:"p"},"child")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", respectively. We indicate that by:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2")),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mi",{parentName:"mrow"},"P"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"B_2 := P(B_1)")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.0502em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P"),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.0502em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose"},")")))))),(0,p.kt)("p",{parentName:"admonition"},"The parent refers to the child by its hash value (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-block-header"},"Definition 10"),"), making the path graph tamper-proof since any modifications to the child would result in its hash value being changed."),(0,p.kt)("admonition",{parentName:"admonition",type:"info"},(0,p.kt)("p",{parentName:"admonition"},'The term "blockchain" can also be used as a way to refer to the network or system that interacts or maintains the directed path graph.'))),(0,p.kt)("h3",{id:"id-block-tree"},"2.1.1. Block Tree"),(0,p.kt)("p",null,"In the course of formation of a (distributed) blockchain, it is possible that the chain forks into multiple subchains in various block positions. We refer to this structure as a ",(0,p.kt)("em",{parentName:"p"},"block tree"),":"),(0,p.kt)("h6",{id:"defn-block-tree"},"Definition 4. Block"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The ",(0,p.kt)("strong",{parentName:"p"},"block tree")," of a blockchain, denoted by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," is the union of all different versions of the blockchain observed by the Polkadot Host such that every block is a node in the graph and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{1}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is connected to ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," if ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{1}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is a parent of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),".")),(0,p.kt)("p",null,"When a block in the block tree gets finalized, there is an opportunity to prune the block tree to free up resources into branches of blocks that do not contain all of the finalized blocks or those that can never be finalized in the blockchain (",(0,p.kt)("a",{parentName:"p",href:"sect-finality"},"Chapter 6"),")."),(0,p.kt)("h6",{id:"defn-pruned-tree"},"Definition 5. Pruned Block Tree"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"By ",(0,p.kt)("strong",{parentName:"p"},"Pruned Block Tree"),", denoted by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"PBT")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{PBT}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"PBT")))))),", we refer to a subtree of the block tree obtained by eliminating all branches which do not contain the most recent finalized blocks (",(0,p.kt)("a",{parentName:"p",href:"sect-finality#defn-finalized-block"},"Definition 85"),"). By ",(0,p.kt)("strong",{parentName:"p"},"pruning"),", we refer to the procedure of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow"},"\u2190"),(0,p.kt)("mtext",{parentName:"mrow"},"PBT")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}{T}\\leftarrow\\text{PBT}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2190"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"PBT")))))),". When there is no risk of ambiguity and it is safe to prune BT, we use ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"BT")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{BT}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"BT"))))))," to refer to ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"PBT")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{PBT}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"PBT")))))),".")),(0,p.kt)("p",null,(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-chain-subchain"},"Definition 6")," gives the means to highlight various branches of the block tree."),(0,p.kt)("h6",{id:"defn-chain-subchain"},"Definition 6. Subchain"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"Let ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"G")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{G}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"G"))))))," be the root of the block tree and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," be one of its nodes. By ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Chain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Chain}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Chain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),", we refer to the path graph from ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"G")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{G}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"G"))))))," to ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," in ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"BT")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{BT}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"BT")))))),". Conversely, for a chain ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"C"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mtext",{parentName:"mrow"},"Chain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}=\\text{Chain}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Chain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),", we define ",(0,p.kt)("strong",{parentName:"p"},"the head of ",(0,p.kt)("span",{parentName:"strong",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))))))," to be ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")))))),", formally noted as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mover",{parentName:"mrow",accent:"true"},(0,p.kt)("mi",{parentName:"mover"},"C"),(0,p.kt)("mo",{parentName:"mover",stretchy:"true"},"\u203e"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}\\:=\\overline{{C}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord overline"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8833em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.8033em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"overline-line",style:{borderBottomWidth:"0.04em"}})))))))))),". We define ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mi",{parentName:"mrow"},"C"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left|{C}\\right|}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))))))),", the length of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C"))))))," as a path graph."),(0,p.kt)("p",{parentName:"admonition"},"If ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032")))))))))))))," is another node on ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Chain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Chain}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Chain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),", then by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"SubChain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{SubChain}{\\left({B}',{B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0019em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"SubChain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," we refer to the subgraph of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Chain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Chain}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Chain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," path graph which contains ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," and ends at ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032")))))))))))))," and by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mtext",{parentName:"mrow"},"SubChain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left|\\text{SubChain}{\\left({B}',{B}\\right)}\\right|}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0019em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"SubChain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223")))))))," we refer to its length."),(0,p.kt)("p",{parentName:"admonition"},"Accordingly, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"double-struck"},"C"),(0,p.kt)("msup",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathbb{{C}}}_{{{B}'}}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"C"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.6828em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.786em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032")))))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is the set of all subchains of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," rooted at ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))))))),". The set of all chains of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")))))),",",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"double-struck"},"C"),(0,p.kt)("mi",{parentName:"msub"},"G")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathbb{{C}}}_{{G}}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"C"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"G")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is denoted by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"C"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathbb{{C}}}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"C"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," or simply ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathbb{{C}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"C"))))))),", for the sake of brevity.")),(0,p.kt)("h6",{id:"defn-longest-chain"},"Definition 7. Longest Chain"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"We define the following complete order over ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathbb{{C}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"C")))))))," as follows. For chains ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"2")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}_{{1}},{C}_{{2}}\\in{\\mathbb{{C}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"C")))))))," we have that ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow"},">"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}_{{1}}>{C}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},">"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," if either ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},">"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"2")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left|{C}_{{1}}\\right|}>{\\left|{C}_{{2}}\\right|}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},">"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223")))))))," or ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"2")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left|{C}_{{1}}\\right|}={\\left|{C}_{{2}}\\right|}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))))))),"."),(0,p.kt)("p",{parentName:"admonition"},"If ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"2")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left|{C}_{{1}}\\right|}={\\left|{C}_{{2}}\\right|}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223")))))))," we say ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow"},">"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{C}_{{1}}>{C}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},">"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," if and only if the block arrival time (",(0,p.kt)("a",{parentName:"p",href:"sect-block-production#defn-block-time"},"Definition 63"),") of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mover",{parentName:"msub",accent:"true"},(0,p.kt)("mi",{parentName:"mover"},"C"),(0,p.kt)("mo",{parentName:"mover",stretchy:"true"},"\u203e")),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\overline{{C}}_{{1}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord overline"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8833em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.8033em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"overline-line",style:{borderBottomWidth:"0.04em"}})))))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is less than the block arrival time of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mover",{parentName:"msub",accent:"true"},(0,p.kt)("mi",{parentName:"mover"},"C"),(0,p.kt)("mo",{parentName:"mover",stretchy:"true"},"\u203e")),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\overline{{C}}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord overline"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8833em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.8033em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"overline-line",style:{borderBottomWidth:"0.04em"}})))))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", from the ",(0,p.kt)("em",{parentName:"p"},"subjective perspective")," of the Host. We define the ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Longest-Chain"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Longest-Chain}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Longest-Chain")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," to be the maximum chain given by this order.")),(0,p.kt)("h6",{id:"defn-longest-path"},"Definition 8. Longest Path"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Longest-Path"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Longest-Path}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Longest-Path")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," returns the path graph of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," which is the longest among all paths in ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," and has the earliest block arrival time (",(0,p.kt)("a",{parentName:"p",href:"sect-block-production#defn-block-time"},"Definition 63"),"). ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Deepest-Leaf"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Deepest-Leaf}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Deepest-Leaf")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," returns the head of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Longest-Path"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Longest-Path}{\\left({B}{T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Longest-Path")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," chain.")),(0,p.kt)("p",null,"Because every block in the blockchain contains a reference to its parent, it is easy to see that the block tree is de facto a tree. A block tree naturally imposes partial order relationships on the blocks as follows:"),(0,p.kt)("h6",{id:"defn-descendant-ancestor"},"Definition 9. Descendant and Ancestor"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"We say ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," is ",(0,p.kt)("strong",{parentName:"p"},"descendant")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))))))),", formally noted as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow"},">"),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}>{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},">"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))))))),", if ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},">"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({\\left|{B}\\right|}>{\\left|{B}'\\right|}\\right)}\\in{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0019em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},">"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))))),". Respectively, we say that ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032")))))))))))))," is an ",(0,p.kt)("strong",{parentName:"p"},"ancestor")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")))))),", formally noted as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow"},"<"),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}<{B}'")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"<"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7519em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))))))),", if ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},"<"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msup"},"B"),(0,p.kt)("mo",{parentName:"msup",mathvariant:"normal",lspace:"0em",rspace:"0em"},"\u2032")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow"},"C")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({\\left|{B}\\right|}<{\\left|{B}'\\right|}\\right)}\\in{C}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0019em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"<"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7519em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"\u2032"))))))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"C")))))),".")),(0,p.kt)("h2",{id:"sect-state-replication"},"2.2. State Replication"),(0,p.kt)("p",null,"Polkadot nodes replicate each other\u2019s states by syncing the histories of the extrinsics. This, however, is only practical if a large set of transactions are batched and synced at the same time. The structure in which the transactions are journaled and propagated is known as a block of extrinsics (",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-block-format"},"Section 2.2.1."),"). Like any other replicated state machine, state inconsistencies can occur between Polkadot replicas. ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-managing-multiple-states"},"Section 2.4.5.")," gives an overview of how a Polkadot Host node manages multiple variants of the state."),(0,p.kt)("h3",{id:"sect-block-format"},"2.2.1. Block Format"),(0,p.kt)("p",null,"A Polkadot block consists a ",(0,p.kt)("em",{parentName:"p"},"block header")," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-block-header"},"Definition 10"),") and a ",(0,p.kt)("em",{parentName:"p"},"block body")," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-block-body"},"Definition 13"),"). The ",(0,p.kt)("em",{parentName:"p"},"block body"),", in turn, is made up out of ",(0,p.kt)("em",{parentName:"p"},"extrinsics")," , which represent the generalization of the concept of ",(0,p.kt)("em",{parentName:"p"},"transactions"),". ",(0,p.kt)("em",{parentName:"p"},"Extrinsics")," can contain any set of external data the underlying chain wishes to validate and track."),(0,p.kt)("h6",{id:"img-block"},"Image 1. Block"),(0,p.kt)(N,{className:"graphviz fix-img-size",mdxType:"Block"}),(0,p.kt)("h6",{id:"defn-block-header"},"Definition 10. Block Header"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The ",(0,p.kt)("strong",{parentName:"p"},"header of block B"),", ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"h")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{h}}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"h")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),", is a 5-tuple containing the following elements:"),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("strong",{parentName:"p"},"parent_hash:")," formally indicated as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"p"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{p}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9694em",verticalAlign:"-0.2861em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"p")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2861em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", is the 32-byte Blake2b hash (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-blake2"},"Section A.1.1.1."),") of the SCALE encoded parent block header (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-block-header-hash"},"Definition 12"),").")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("strong",{parentName:"p"},"number:")," formally indicated as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"i"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{i}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", is an integer, which represents the index of the current block in the chain. It is equal to the number of the ancestor blocks. The genesis state has the number 0.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("strong",{parentName:"p"},"state_root:")," formally indicated as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"r"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{r}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.02778em"}},"r")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", is the root of the Merkle trie, whose leaves implement the storage for the system.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("strong",{parentName:"p"},"extrinsics","_","root:")," is the field which is reserved for the Runtime to validate the integrity of the extrinsics composing the block body. For example, it can hold the root hash of the Merkle trie which stores an ordered list of the extrinsics being validated in this block. The extrinsics","_","root is set by the runtime and its value is opaque to the Polkadot Host. This element is formally referred to as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"e"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{e}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"e")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("strong",{parentName:"p"},"digest:")," this field is used to store any chain-specific auxiliary data, which could help the light clients interact with the block without the need of accessing the full storage as well as consensus-related data including the block signature. This field is indicated as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"d"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{d}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-digest"},"Definition 11"),").")))),(0,p.kt)("h6",{id:"img-block-header"},"Image 2. Block Header"),(0,p.kt)(h,{className:"graphviz fix-img-size",mdxType:"BlockHeader"}),(0,p.kt)("h6",{id:"defn-digest"},"Definition 11. Header Digest"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The header ",(0,p.kt)("strong",{parentName:"p"},"digest")," of block ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," formally referred to by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"d")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{d}}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is an array of ",(0,p.kt)("strong",{parentName:"p"},"digest items")," ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"H"),(0,p.kt)("mi",{parentName:"msubsup"},"d"),(0,p.kt)("mi",{parentName:"msubsup"},"i"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{{H}_{{d}}^{{i}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1078em",verticalAlign:"-0.2831em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8247em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4169em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2831em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),"\u2019s, known as digest items of varying data type (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#defn-varrying-data-type"},"Definition 178"),") such that:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"d")),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"H"),(0,p.kt)("mi",{parentName:"msubsup"},"d"),(0,p.kt)("mn",{parentName:"msubsup"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"."),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"."),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"."),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"H"),(0,p.kt)("mi",{parentName:"msubsup"},"d"),(0,p.kt)("mi",{parentName:"msubsup"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"H_d(B) := H_d^1, ..., H_d^n")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.0813em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1111em",verticalAlign:"-0.247em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginLeft:"-0.0813em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d"))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"..."),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.7144em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginLeft:"-0.0813em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d"))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("p",{parentName:"admonition"},"where each digest item can hold one of the following type identifiers:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"H"),(0,p.kt)("mi",{parentName:"msubsup"},"d"),(0,p.kt)("mi",{parentName:"msubsup"},"i")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.36em",columnalign:"left left",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mn",{parentName:"mrow"},"4"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mtext",{parentName:"mrow"},"id"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"m"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mn",{parentName:"mrow"},"5"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mtext",{parentName:"mrow"},"id"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"m"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mn",{parentName:"mrow"},"6"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mtext",{parentName:"mrow"},"id"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"m"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mn",{parentName:"mrow"},"8"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")")))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"H_d^i = \\begin{cases} 4 \\text{ } \\rarr \\text{ } (t, \\text{id}, m) \\\\ 5 \\text{ } \\rarr \\text{ } (t, \\text{id}, m) \\\\ 6 \\text{ } \\rarr \\text{ } (t, \\text{id}, m) \\\\ 8 \\text{ } \\rarr \\text{ } (t) \\end{cases}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1217em",verticalAlign:"-0.247em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8747em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginLeft:"-0.0813em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"d"))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"5.76em",verticalAlign:"-2.63em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen"},(0,p.kt)("span",{parentName:"span",className:"delimsizing mult"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"2.95em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-1.6em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.15em"}}),(0,p.kt)("span",{parentName:"span",className:"delimsizinginner delim-size4"},(0,p.kt)("span",{parentName:"span"},"\u23a9"))),(0,p.kt)("span",{parentName:"span",style:{top:"-1.592em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.15em"}}),(0,p.kt)("span",{parentName:"span",style:{height:"0.916em",width:"0.8889em"}},(0,p.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"0.8889em",height:"0.916em",style:{width:"0.8889em"},viewBox:"0 0 888.89 916",preserveAspectRatio:"xMinYMin"},(0,p.kt)("path",{parentName:"svg",d:"M384 0 H504 V916 H384z M384 0 H504 V916 H384z"})))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.15em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.15em"}}),(0,p.kt)("span",{parentName:"span",className:"delimsizinginner delim-size4"},(0,p.kt)("span",{parentName:"span"},"\u23a8"))),(0,p.kt)("span",{parentName:"span",style:{top:"-4.292em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.15em"}}),(0,p.kt)("span",{parentName:"span",style:{height:"0.916em",width:"0.8889em"}},(0,p.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"0.8889em",height:"0.916em",style:{width:"0.8889em"},viewBox:"0 0 888.89 916",preserveAspectRatio:"xMinYMin"},(0,p.kt)("path",{parentName:"svg",d:"M384 0 H504 V916 H384z M384 0 H504 V916 H384z"})))),(0,p.kt)("span",{parentName:"span",style:{top:"-5.2em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.15em"}}),(0,p.kt)("span",{parentName:"span",className:"delimsizinginner delim-size4"},(0,p.kt)("span",{parentName:"span"},"\u23a7")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"2.45em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-l"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"3.13em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-5.13em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.008em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"4"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"id")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.69em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.008em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"5"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"id")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.25em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.008em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"6"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"id")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"))),(0,p.kt)("span",{parentName:"span",style:{top:"-0.81em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.008em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"8"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0")),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"2.63em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"}))))))),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("strong",{parentName:"p"},"where")," "),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"id")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{id}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"id"))))))," is a 4-byte ASCII encoded consensus engine identifier")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"m")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{m}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"m"))))))," is a SCALE-encoded byte array containing the message payload"))),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mn",{parentName:"mrow"},"4")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"t = 4")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6151em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"4")))))," ",(0,p.kt)("strong",{parentName:"p"},"Consensus Message"),", contains scale-encoded message ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"m")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"m")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m")))))," from the Runtime to the consensus engine. The receiving engine is determined by the ",(0,p.kt)("em",{parentName:"p"},"id")," identifier:"),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("em",{parentName:"li"},"id")," = BABE: a message to BABE engine (",(0,p.kt)("a",{parentName:"li",href:"sect-block-production#defn-consensus-message-babe"},"Definition 54"),")"),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("em",{parentName:"li"},"id")," = FRNK: a message to GRANDPA engine (",(0,p.kt)("a",{parentName:"li",href:"sect-finality#defn-consensus-message-grandpa"},"Definition 82"),")")),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mn",{parentName:"mrow"},"5")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"t = 5")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6151em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"5")))))," ",(0,p.kt)("strong",{parentName:"p"},"Seal"),", is produced by the consensus engine and proves the authorship of the block producer. The engine used for this is provided through ",(0,p.kt)("em",{parentName:"p"},"id")," (at the moment, ",(0,p.kt)("inlineCode",{parentName:"p"},"BABE"),"), while ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"m")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"m")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m")))))," contains the scale-encoded signature (",(0,p.kt)("a",{parentName:"p",href:"sect-block-production#defn-block-signature"},"Definition 66"),") of the block producer. In particular, the Seal digest item must be the last item in the digest array and must be stripped off by the Polkadot Host before the block is submitted to any Runtime function, including for validation. The Seal must be added back to the digest afterward."),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mn",{parentName:"mrow"},"6")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"t = 6")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6151em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"6")))))," ",(0,p.kt)("strong",{parentName:"p"},"Pre-Runtime digest"),", contains messages from the consensus engines to the runtime. Currently only used by BABE to pass the scale encoded BABE Header (",(0,p.kt)("a",{parentName:"p",href:"sect-block-production#defn-babe-header"},"Definition 65"),") in ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"m")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"m")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m")))))," with ",(0,p.kt)("em",{parentName:"p"},"id")," = ",(0,p.kt)("inlineCode",{parentName:"p"},"BABE"),"."),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mn",{parentName:"mrow"},"8")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"t = 8")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6151em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"8")))))," ",(0,p.kt)("strong",{parentName:"p"},"Runtime Environment Updated digest"),", indicates that changes regarding the Runtime code or heap pages (",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-memory-management"},"Section 2.6.3.1."),") occurred. No additional data is provided.")),(0,p.kt)("h6",{id:"img-digest"},"Image 3. Digest"),(0,p.kt)(u,{className:"graphviz fix-img-size",mdxType:"Digest"}),(0,p.kt)("h6",{id:"defn-block-header-hash"},"Definition 12. Header Hash"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The ",(0,p.kt)("strong",{parentName:"p"},"block header hash of block ",(0,p.kt)("span",{parentName:"strong",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))),", ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"h")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{h}}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"h")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),", is the hash of the header of block ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," encoded by simple codec:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mstyle",{parentName:"mrow",scriptlevel:"0",displaystyle:"true"},(0,p.kt)("msub",{parentName:"mstyle"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"h")),(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mtext",{parentName:"mstyle"},"\u2005"),(0,p.kt)("mo",{parentName:"mstyle"},"="),(0,p.kt)("mtext",{parentName:"mstyle"},"Blake2b"),(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"S"),(0,p.kt)("mi",{parentName:"mrow"},"C"))),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mtext",{parentName:"mrow"},"Head"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\displaystyle{H}_{{h}}{\\left({B}\\right)}\\:=\\text{Blake2b}{\\left(\\text{Enc}_{{{S}{C}}}{\\left(\\text{Head}{\\left({B}\\right)}\\right)}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"h")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Blake2b")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05764em"}},"S")),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Head")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))))),(0,p.kt)("h6",{id:"defn-block-body"},"Definition 13. Block Body"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The block body consists of a sequence of extrinsics, each encoded as a byte array. The content of an extrinsic is completely opaque to the Polkadot Host. As such, from the point of the Polkadot Host, and is simply a SCALE encoded array of byte arrays. The ",(0,p.kt)("strong",{parentName:"p"},"body of Block")," ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," represented as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Body"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Body}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Body")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is defined to be:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Body"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"S"),(0,p.kt)("mi",{parentName:"mrow"},"C"))),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"E"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"."),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"."),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"."),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"E"),(0,p.kt)("mi",{parentName:"msub"},"n")),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Body}(B) := \\text{Enc}_{SC}(E_1,...,E_n)")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Body")),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"SC"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"E"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.0576em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"..."),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"E"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.0576em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose"},")")))))),(0,p.kt)("p",{parentName:"admonition"},"Where each ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"E"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{E}_{{i}}\\in{\\mathbb{{B}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"E")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B")))))))," is a SCALE encoded extrinsic."),(0,p.kt)("h6",{parentName:"admonition",id:"img-block-body"},"Image 4. Block Body"),(0,p.kt)(k,{className:"graphviz fix-img-size",mdxType:"BlockBody"})),(0,p.kt)("h2",{id:"sect-extrinsics"},"2.3. Extrinsics"),(0,p.kt)("p",null,"The block body consists of an array of extrinsics. In a broad sense, extrinsics are data from outside of the state which can trigger state transitions. This section describes extrinsics and their inclusion into blocks."),(0,p.kt)("h3",{id:"id-preliminaries"},"2.3.1. Preliminaries"),(0,p.kt)("p",null,"The extrinsics are divided into two main categories defined as follows:"),(0,p.kt)("p",null,(0,p.kt)("strong",{parentName:"p"},"Transaction extrinsics")," are extrinsics which are signed using either of the key types (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-cryptographic-keys"},"Section A.1.4."),") and broadcasted between the nodes. ",(0,p.kt)("strong",{parentName:"p"},"Inherent extrinsics")," are unsigned extrinsics that are generated by Polkadot Host and only included in the blocks produced by the node itself. They are broadcasted as part of the produced blocks rather than being gossiped as individual extrinsics."),(0,p.kt)("p",null,"The Polkadot Host does not specify or limit the internals of each extrinsics and those are defined and dealt with by the Runtime (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-state-machine"},"Definition 1"),"). From the Polkadot Host point of view, each extrinsics is simply a SCALE-encoded blob (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-scale-codec"},"Section A.2.2."),")."),(0,p.kt)("h3",{id:"id-transactions"},"2.3.2. Transactions"),(0,p.kt)("p",null,"Transaction are submitted and exchanged through ",(0,p.kt)("em",{parentName:"p"},"Transactions")," network messages (",(0,p.kt)("a",{parentName:"p",href:"chap-networking#sect-msg-transactions"},"Section 4.8.5."),"). Upon receiving a Transactions message, the Polkadot Host decodes the SCALE-encoded blob and splits it into individually SCALE-encoded transactions."),(0,p.kt)("p",null,"Alternatively, transactions can be submitted to the host by off-chain worker through the Host API (",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#sect-ext-offchain-submit-transaction"},"Section B.6.2."),")."),(0,p.kt)("p",null,"Any new transaction should be submitted to the Runtime (",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api#sect-rte-validate-transaction"},"Section C.7.1."),"). This will allow the Polkadot Host to check the validity of the received transaction against the current state and if it should be gossiped to other peers. If it considers the submitted transaction as valid, the Polkadot Host should store it for inclusion in future blocks. The whole process of handling new transactions is described in more detail by ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-validate-transactions"},"Validate-Transactions-and-Store"),"."),(0,p.kt)("p",null,"Additionally, valid transactions that are supposed to be gossiped are propagated to connected peers of the Polkadot Host. While doing so the Polkadot Host should keep track of peers already aware of each transaction. This includes peers which have already gossiped the transaction to the node as well as those to whom the transaction has already been sent. This behavior is mandated to avoid resending duplicates and unnecessarily overloading the network. To that aim, the Polkadot Host should keep a ",(0,p.kt)("em",{parentName:"p"},"transaction pool")," and a ",(0,p.kt)("em",{parentName:"p"},"transaction queue")," defined as follows:"),(0,p.kt)("h6",{id:"defn-transaction-queue"},"Definition 14. Transaction Queue"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The ",(0,p.kt)("strong",{parentName:"p"},"Transaction Queue")," of a block producer node, formally referred to as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mi",{parentName:"mrow"},"Q")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}{Q}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"Q"))))))," is a data structure which stores the transactions ready to be included in a block sorted according to their priorities (",(0,p.kt)("a",{parentName:"p",href:"chap-networking#sect-msg-transactions"},"Section 4.8.5."),"). The ",(0,p.kt)("strong",{parentName:"p"},"Transaction Pool"),", formally referred to as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mi",{parentName:"mrow"},"P")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}{P}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P")))))),", is a hash table in which the Polkadot Host keeps the list of all valid transactions not in the transaction queue.")),(0,p.kt)("p",null,"Furthermore, ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-validate-transactions"},"Validate-Transactions-and-Store")," updates the transaction pool and the transaction queue according to the received message:"),(0,p.kt)("h6",{id:"algo-validate-transactions"},"Algorithm 1. Validate Transactions and Store"),(0,p.kt)("admonition",{type:"algorithm"},(0,p.kt)(y.Z,{content:v,algID:"validateTransactionsAndStore",options:{lineNumber:!0},mdxType:"Pseudocode"}),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("strong",{parentName:"p"},"where")," "),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"M"),(0,p.kt)("mi",{parentName:"msub"},"T"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{M}_{{T}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"M")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.13889em"}},"T")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the transaction message (offchain transactions?)")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Dec"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"S"),(0,p.kt)("mi",{parentName:"mrow"},"C")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Dec}_{{{S}{C}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Dec")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05764em"}},"S")),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," decodes the SCALE encoded message.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Longest-Chain")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Longest-Chain}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Longest-Chain"))))))," is defined in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-longest-chain"},"Definition 7"),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"T"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"g"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"g"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"e"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"d"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"T"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"r"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"n"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"s"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"c"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"t"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"i"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"o"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"n"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"Q"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"u"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"e"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"u"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"e"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"_"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"v"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"l"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"i"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"d"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"t"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"e"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"_"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"t"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"r"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"n"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"s"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"a"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"c"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"t"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"i"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"o"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"monospace"},"n")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\tt{TaggedTransactionQueue\\_validate\\_transaction}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathtt"},"TaggedTransactionQueue_validate_transaction"))))))))," is a Runtime entrypoint specified in ",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api#sect-rte-validate-transaction"},"Section C.7.1.")," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mi",{parentName:"mrow"},"e"),(0,p.kt)("mi",{parentName:"mrow"},"q"),(0,p.kt)("mi",{parentName:"mrow"},"u"),(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mi",{parentName:"mrow"},"r"),(0,p.kt)("mi",{parentName:"mrow"},"e"),(0,p.kt)("mi",{parentName:"mrow"},"s")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{Requires}{\\left({R}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"e"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"q"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"u"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"res")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),", ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"mrow"},"P"),(0,p.kt)("mi",{parentName:"mrow"},"r"),(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mi",{parentName:"mrow"},"o"),(0,p.kt)("mi",{parentName:"mrow"},"r"),(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mi",{parentName:"mrow"},"y")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{Priority}{\\left({R}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.02778em"}},"r"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.02778em"}},"or"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"y")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"mrow"},"P"),(0,p.kt)("mi",{parentName:"mrow"},"r"),(0,p.kt)("mi",{parentName:"mrow"},"o"),(0,p.kt)("mi",{parentName:"mrow"},"p"),(0,p.kt)("mi",{parentName:"mrow"},"a"),(0,p.kt)("mi",{parentName:"mrow"},"g"),(0,p.kt)("mi",{parentName:"mrow"},"a"),(0,p.kt)("mi",{parentName:"mrow"},"t"),(0,p.kt)("mi",{parentName:"mrow"},"e")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{Propagate}{\\left({R}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"ro"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"a"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"g"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"a"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"t"),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"e")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," refer to the corresponding fields in the tuple returned by the entrypoint when it deems that ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," is valid.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Provided-Tags"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Provided-Tags}{\\left({T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Provided-Tags")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is the list of tags that transaction ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," provides. The Polkadot Host needs to keep track of tags that transaction ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," provides as well as requires after validating it.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Insert-At"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mi",{parentName:"mrow"},"Q"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mtext",{parentName:"mrow"},"Requires"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mtext",{parentName:"mrow"},"Priority"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Insert-At}{\\left({T}{Q},{T},\\text{Requires}{\\left({R}\\right)},\\text{Priority}{\\left({R}\\right)}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Insert-At")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"Q")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Requires")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Priority")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," places ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," into ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mi",{parentName:"mrow"},"Q")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}{Q}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"Q"))))))," approperietly such that the transactions providing the tags which ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," requires or have higher priority than ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," are ahead of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")))))),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Maintain-Transaction-Pool")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Maintain-Transaction-Pool}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Maintain-Transaction-Pool"))))))," is described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-maintain-transaction-pool"},"Maintain-Transaction-Pool"),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"ShouldPropagate")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{ShouldPropagate}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"ShouldPropagate"))))))," indicates whether the transaction should be propagated based on the ",(0,p.kt)("inlineCode",{parentName:"p"},"Propagate")," field in the ",(0,p.kt)("inlineCode",{parentName:"p"},"ValidTransaction")," type as defined in ",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api#defn-valid-transaction"},"Definition 218"),", which is returned by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"TaggedTransactionQueue_validate_transaction")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathtt{\\text{TaggedTransactionQueue\\_validate\\_transaction}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0044em",verticalAlign:"-0.31em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"TaggedTransactionQueue_validate_transaction"))))))),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Propagate"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"T"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Propagate}{\\left({T}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Propagate")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," sends ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T"))))))," to all connected peers of the Polkadot Host who are not already aware of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"T")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{T}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"T")))))),".")))),(0,p.kt)("h6",{id:"algo-maintain-transaction-pool"},"Algorithm 2. Maintain Transaction Pool"),(0,p.kt)("admonition",{type:"algorithm"},(0,p.kt)(y.Z,{content:w,algID:"maintainTransactionPool",options:{lineNumber:!0},mdxType:"Pseudocode"}),(0,p.kt)("admonition",{parentName:"admonition",type:"info"},(0,p.kt)("p",{parentName:"admonition"},"This has not been defined yet."))),(0,p.kt)("h3",{id:"sect-inherents"},"2.3.3. Inherents"),(0,p.kt)("p",null,"Inherents are unsigned extrinsics inserted into a block by the block author and as a result are not stored in the transaction pool or gossiped across the network. Instead, they are generated by the Polkadot Host by passing the required inherent data, as listed in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#tabl-inherent-data"},"Table 1"),", to the Runtime method ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"BlockBuilder_inherent_extrinsics")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathtt{\\text{BlockBuilder\\_inherent\\_extrinsics}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0044em",verticalAlign:"-0.31em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"BlockBuilder_inherent_extrinsics")))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api#defn-rt-builder-inherent-extrinsics"},"Section C.6.3."),"). Then the returned extrinsics should be included in the current block as explained in ",(0,p.kt)("a",{parentName:"p",href:"sect-block-production#algo-build-block"},"Build-Block"),"."),(0,p.kt)("h6",{id:"tabl-inherent-data"},"Table 1. Inherent Data"),(0,p.kt)("table",null,(0,p.kt)("thead",{parentName:"table"},(0,p.kt)("tr",{parentName:"thead"},(0,p.kt)("th",{parentName:"tr",align:null},"Identifier"),(0,p.kt)("th",{parentName:"tr",align:null},"Value Type"),(0,p.kt)("th",{parentName:"tr",align:null},"Description"))),(0,p.kt)("tbody",{parentName:"table"},(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},"timstap0"),(0,p.kt)("td",{parentName:"tr",align:null},"Unsigned 64-bit integer"),(0,p.kt)("td",{parentName:"tr",align:null},"Unix epoch time (",(0,p.kt)("a",{parentName:"td",href:"id-cryptography-encoding#defn-unix-time"},"Definition 171"),")")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},"babeslot"),(0,p.kt)("td",{parentName:"tr",align:null},"Unsigned 64-bit integer"),(0,p.kt)("td",{parentName:"tr",align:null},"The babe slot (",(0,p.kt)("em",{parentName:"td"},"DEPRECATED"),") (",(0,p.kt)("a",{parentName:"td",href:"sect-block-production#defn-epoch-slot"},"Definition 50"),")")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},"parachn0"),(0,p.kt)("td",{parentName:"tr",align:null},"Parachain inherent data (",(0,p.kt)("a",{parentName:"td",href:"chapter-anv#defn-parachain-inherent-data"},"Definition 93"),")"),(0,p.kt)("td",{parentName:"tr",align:null},"Parachain candidate inclusion (",(0,p.kt)("a",{parentName:"td",href:"chapter-anv#sect-candidate-inclusion"},"Section 8.2.2."),")")))),(0,p.kt)("h6",{id:"defn-inherent-data"},"Definition 15. Inherent Data"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("inlineCode",{parentName:"p"},"Inherent-Data")," is a hashtable (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#defn-scale-list"},"Definition 182"),"), an array of key-value pairs consisting of the inherent 8-byte identifier and its value, representing the totality of inherent extrinsics included in each block. The entries of this hash table which are listed in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#tabl-inherent-data"},"Table 1")," are collected or generated by the Polkadot Host and then handed to the Runtime for inclusion (",(0,p.kt)("a",{parentName:"p",href:"sect-block-production#algo-build-block"},"Build-Block"),").")),(0,p.kt)("h2",{id:"sect-state-storage"},"2.4. State Storage Trie"),(0,p.kt)("p",null,"For storing the state of the system, Polkadot Host implements a hash table storage where the keys are used to access each data entry. There is no assumption on the size of the key or on the size of the data stored under them, besides the fact that they are byte arrays with specific upper limits on their length. The limit is imposed by the encoding algorithms to store the key and the value in the storage trie (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-sc-length-and-compact-encoding"},"Section A.2.2.1."),")."),(0,p.kt)("h3",{id:"id-accessing-system-storage"},"2.4.1. Accessing System Storage"),(0,p.kt)("p",null,"The Polkadot Host implements various functions to facilitate access to the system storage for the Runtime (",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-entrypoints-into-runtime"},"Section 2.6.1."),"). Here we formalize the access to the storage when it is being directly accessed by the Polkadot Host (in contrast to Polkadot runtime)."),(0,p.kt)("h6",{id:"defn-stored-value"},"Definition 16. Stored Value"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"StoredValue")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathsf{\\text{StoredValue}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue")))))))," function retrieves the value stored under a specific key in the state storage and is formally defined as:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"StoredValue:\xa0"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"K"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"V")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\sf \\text{StoredValue: } \\mathcal K \\rarr \\mathcal V")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue:\xa0")),(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.01445em"}},"K"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.08222em"}},"V"))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"k"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.36em",columnalign:"left left",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mi",{parentName:"mrow"},"v"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0if\xa0"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"k"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"v"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0exists\xa0in\xa0state\xa0storage"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mi",{parentName:"mrow"},"\u03d5"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0otherwise")))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"k \\rarr \\begin{cases} v \\text{ if } (k,v) \\text{ exists in state storage} \\\\ \\phi \\text{ otherwise} \\end{cases}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"3em",verticalAlign:"-1.25em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size4"},"{")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-l"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.69em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.69em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.008em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0if\xa0")),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k"),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0exists\xa0in\xa0state\xa0storage")))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.25em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3.008em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"\u03d5"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0otherwise"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.19em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"}))))))),(0,p.kt)("p",{parentName:"admonition"},"where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"K"),(0,p.kt)("mo",{parentName:"mrow"},"\u2282"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{K}}}\\subset{\\mathbb{{B}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.01445em"}},"K"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2282"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B")))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"V"),(0,p.kt)("mo",{parentName:"mrow"},"\u2282"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{V}}}\\subset{\\mathbb{{B}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.08222em"}},"V"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2282"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B")))))))," are respectively the set of all keys and values stored in the state storage. ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"V")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{V}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.08222em"}},"V")))))))," can be an empty value.")),(0,p.kt)("h3",{id:"id-general-structure"},"2.4.2. General Structure"),(0,p.kt)("p",null,"In order to ensure the integrity of the state of the system, the stored data needs to be re-arranged and hashed in a ",(0,p.kt)("em",{parentName:"p"},"radix tree"),", which hereafter we refer to as the ",(0,p.kt)("strong",{parentName:"p"},(0,p.kt)("em",{parentName:"strong"},"State Trie"))," or just ",(0,p.kt)("strong",{parentName:"p"},(0,p.kt)("em",{parentName:"strong"},"Trie")),". This rearrangement is necessary to be able to compute the Merkle hash of the whole or part of the state storage, consistently and efficiently at any given time."),(0,p.kt)("p",null,"The trie is used to compute the ",(0,p.kt)("em",{parentName:"p"},"Merkle root")," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-merkl-proof"},"Section 2.4.4."),") of the state, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"r"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{r}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.02778em"}},"r")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-block-header"},"Definition 10"),"), whose purpose is to authenticate the validity of the state database. Thus, the Polkadot Host follows a rigorous encoding algorithm to compute the values stored in the trie nodes to ensure that the computed Merkle hash, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"r"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{r}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.02778em"}},"r")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", matches across the Polkadot Host implementations."),(0,p.kt)("p",null,"The trie is a ",(0,p.kt)("em",{parentName:"p"},"radix-16")," tree (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-radix-tree"},"Definition 17"),"). Each key value identifies a unique node in the tree. However, a node in a tree might or might not be associated with a key in the storage."),(0,p.kt)("h6",{id:"defn-radix-tree"},"Definition 17. Radix-r Tree"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"A ",(0,p.kt)("strong",{parentName:"p"},(0,p.kt)("em",{parentName:"strong"},"Radix-r tree"))," is a variant of a trie in which:"),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},"Every node has at most ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"r")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{r}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.02778em"}},"r"))))))," children where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"r"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mi",{parentName:"msup"},"x"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{r}={2}^{{x}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.02778em"}},"r")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6644em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.6644em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"x"))))))))))))))," for some ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"x")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{x}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"x")))))),";")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},"Each node that is the only child of a parent, which does not represent a valid key is merged with its parent."))),(0,p.kt)("p",{parentName:"admonition"},"As a result, in a radix tree, any path whose interior vertices all have only one child and does not represent a valid key in the data set, is compressed into a single edge. This improves space efficiency when the key space is sparse.")),(0,p.kt)("p",null,"When traversing the trie to a specific node, its key can be reconstructed by concatenating the subsequences of the keys which are stored either explicitly in the nodes on the path or implicitly in their position as a child of their parent."),(0,p.kt)("p",null,"To identify the node corresponding to a key value, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"k")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")))))),", first, we need to encode ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"k")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k"))))))," in a way consistent with the trie structure. Because each node in the trie has at most 16 children, we represent the key as a sequence of 4-bit nibbles:"),(0,p.kt)("h6",{id:"defn-trie-key-encode"},"Definition 18. Key Encode"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"For the purpose of labeling the branches of the trie, the key ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"k")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k"))))))," is encoded to ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mtext",{parentName:"msub"},"enc"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{\\text{enc}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," using ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"KeyEncode")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathsf{\\text{KeyEncode}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"KeyEncode")))))))," functions:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mtext",{parentName:"msub"},"enc")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mn",{parentName:"mrow"},"2"),(0,p.kt)("mi",{parentName:"mrow"},"n")))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mtext",{parentName:"mrow"},"KeyEncode"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"k"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{\\text{enc}}}\\:={\\left({k}_{{\\text{enc}_{{1}}}},\\ldots,{k}_{{\\text{enc}_{{{2}{n}}}}}\\right)}\\:={\\mathsf{\\text{KeyEncode}}}{\\left({k}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0001em",verticalAlign:"-0.2501em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"KeyEncode"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))),(0,p.kt)("p",{parentName:"admonition"},"such that:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"KeyEncode"),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"B"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msup"},"Nibbles"),(0,p.kt)("mn",{parentName:"msup"},"4"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathsf{\\text{KeyEncode}}}:{\\mathbb{{B}}}\\rightarrow\\text{Nibbles}^{{4}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"KeyEncode"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8984em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Nibbles")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8984em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.1473em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"4"))))))))))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"k"),(0,p.kt)("mo",{parentName:"mrow"},"\u27fc"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mn",{parentName:"mrow"},"2"),(0,p.kt)("mi",{parentName:"mrow"},"n")))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k} \\longmapsto{\\left({k}_{{\\text{enc}_{{1}}}},\\ldots,{k}_{{\\text{enc}_{{{2}{n}}}}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7054em",verticalAlign:"-0.011em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u27fc"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0001em",verticalAlign:"-0.2501em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mi",{parentName:"msub"},"n")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},"\u27fc"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mn",{parentName:"msubsup"},"1"),(0,p.kt)("mn",{parentName:"msubsup"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mn",{parentName:"msubsup"},"1"),(0,p.kt)("mn",{parentName:"msubsup"},"2")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mn",{parentName:"msubsup"},"2"),(0,p.kt)("mn",{parentName:"msubsup"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mn",{parentName:"msubsup"},"2"),(0,p.kt)("mn",{parentName:"msubsup"},"2")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mi",{parentName:"msubsup"},"n"),(0,p.kt)("mn",{parentName:"msubsup"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mi",{parentName:"msubsup"},"n"),(0,p.kt)("mn",{parentName:"msubsup"},"2")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({b}_{{1}},\\ldots,{b}_{{n}}\\right)} \\longmapsto{\\left({{b}_{{1}}^{{{1}}}},{{b}_{{1}}^{{2}}},{{b}_{{2}}^{{1}}},{{b}_{{2}}^{{2}}},\\ldots,{{b}_{{n}}^{{1}}},{{b}_{{n}}^{{2}}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u27fc"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2141em",verticalAlign:"-0.35em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size1"},"(")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size1"},")"))))))))),(0,p.kt)("p",{parentName:"admonition"},"where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msup"},"Nibble"),(0,p.kt)("mn",{parentName:"msup"},"4"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Nibble}^{{4}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8984em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Nibble")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8984em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.1473em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"4"))))))))))))))," is the set of all nibbles of 4-bit arrays and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mi",{parentName:"msubsup"},"i"),(0,p.kt)("mn",{parentName:"msubsup"},"1"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{{b}_{{i}}^{{1}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0728em",verticalAlign:"-0.2587em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4413em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2587em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mi",{parentName:"msubsup"},"i"),(0,p.kt)("mn",{parentName:"msubsup"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{{b}_{{i}}^{{2}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0728em",verticalAlign:"-0.2587em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4413em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2587em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," are 4-bit nibbles, which are the big endian representations of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mi",{parentName:"msub"},"i"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{b}_{{i}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),":"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mi",{parentName:"msub"},"i"))),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mi",{parentName:"msubsup"},"i"),(0,p.kt)("mn",{parentName:"msubsup"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"b"),(0,p.kt)("mi",{parentName:"msubsup"},"i"),(0,p.kt)("mn",{parentName:"msubsup"},"2")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mo",{parentName:"mrow"},"\xf7"),(0,p.kt)("mn",{parentName:"mrow"},"16"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mtext",{parentName:"mrow"},"mod"),(0,p.kt)("mn",{parentName:"mrow"},"16"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{\\text{enc}_{{i}}}}\\:={\\left({{b}_{{i}}^{{1}}},{{b}_{{i}}^{{2}}}\\right)}\\:={\\left({b}_{{i}}\\div{16},{b}_{{i}}\\text{mod}{16}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9445em",verticalAlign:"-0.2501em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3281em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2141em",verticalAlign:"-0.35em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size1"},"(")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size1"},")")))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\xf7"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"16")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"mod")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"16")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))),(0,p.kt)("p",{parentName:"admonition"},"where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"mod")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{mod}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"mod"))))))," is the remainder and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow"},"\xf7")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\div")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6667em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},"\xf7")))))," is the integer division operators.")),(0,p.kt)("p",null,"By looking at ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mtext",{parentName:"msub"},"enc"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{\\text{enc}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," as a sequence of nibbles, one can walk the radix tree to reach the node identifying the storage value of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"k")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")))))),"."),(0,p.kt)("h3",{id:"sect-state-storage-trie-structure"},"2.4.3. Trie Structure"),(0,p.kt)("p",null,"In this subsection, we specify the structure of the nodes in the trie as well as the trie structure:"),(0,p.kt)("h6",{id:"defn-trie-nodeset"},"Definition 19. Set of Nodes"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"We refer to the ",(0,p.kt)("strong",{parentName:"p"},"set of the nodes of Polkadot state trie")," by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{N}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))))))),". By ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}\\in{\\mathcal{{N}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N")))))))," to refer to an individual node in the trie.")),(0,p.kt)("h6",{id:"defn-nodetype"},"Definition 20. State Trie"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The state trie is a radix-16 tree (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-radix-tree"},"Definition 17"),"). Each node in the trie is identified with a unique key ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," such that:"),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("span",{parentName:"li",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the shared prefix of the key of all the descendants of ",(0,p.kt)("span",{parentName:"li",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"))))))," in the trie.")),(0,p.kt)("p",{parentName:"admonition"},"and at least one of the following statements holds:"),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"v"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({k}_{{N}},{v}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," corresponds to an existing entry in the State Storage.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"))))))," has more than one child."))),(0,p.kt)("p",{parentName:"admonition"},"Conversely, if ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"k"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"v"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\left({k},{v}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is an entry in the state trie then there is a node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}\\in{\\mathcal{{N}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N")))))))," such that ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mi",{parentName:"mrow"},"k")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}={k}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")))))),".")),(0,p.kt)("h6",{id:"defn-trie-branch"},"Definition 21. Branch"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"A ",(0,p.kt)("strong",{parentName:"p"},"branch")," node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"script"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{b}}\\in{\\mathcal{{N}}}_{{b}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is a node which has one child or more. A branch node can have at most 16 children. A ",(0,p.kt)("strong",{parentName:"p"},"leaf")," node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"script"},"N"),(0,p.kt)("mi",{parentName:"msub"},"l"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{l}}\\in{\\mathcal{{N}}}_{{l}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is a childless node. Accordingly:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"script"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N"),(0,p.kt)("mo",{parentName:"mrow",lspace:"0em",rspace:"0em"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0\xa0is\xa0a\xa0branch\xa0node"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"}"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{N}}}_{{b}}\\:={\\left\\lbrace{N}_{{b}}\\in{\\mathcal{{N}}}{\\mid}{N}_{{b}}\\ \\text{ is a branch node}\\right\\rbrace}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"{"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0is\xa0a\xa0branch\xa0node")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"}")))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"script"},"N"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N"),(0,p.kt)("mo",{parentName:"mrow",lspace:"0em",rspace:"0em"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0\xa0is\xa0a\xa0leaf\xa0node"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"}"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{N}}}_{{l}}\\:={\\left\\lbrace{N}_{{l}}\\in{\\mathcal{{N}}}{\\mid}{N}_{{l}}\\ \\text{ is a leaf node}\\right\\rbrace}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"{"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0is\xa0a\xa0leaf\xa0node")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"}"))))))))),(0,p.kt)("p",null,"For each node, part of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is built while the trie is traversed from the root to ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"))))))," and another part of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is stored in ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-key"},"Definition 22"),")."),(0,p.kt)("h6",{id:"defn-node-key"},"Definition 22. Aggregated Prefix Key"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"For any ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}\\in{\\mathcal{{N}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))))))),", its key ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is divided into an ",(0,p.kt)("strong",{parentName:"p"},"aggregated prefix key, ",(0,p.kt)("span",{parentName:"strong",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mtext",{parentName:"msubsup"},"Agr"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{\\text{Agr}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2528em",verticalAlign:"-0.2935em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9592em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4065em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1809em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"Agr"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2935em"}},(0,p.kt)("span",{parentName:"span"})))))))))))),", aggregated by ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-aggregate-key"},"Aggregate-Key")," and a ",(0,p.kt)("strong",{parentName:"p"},"partial key"),", ",(0,p.kt)("strong",{parentName:"p"},(0,p.kt)("span",{parentName:"strong",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{pk}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9386em",verticalAlign:"-0.2441em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2342em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4559em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2441em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," of length ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"0"),(0,p.kt)("mo",{parentName:"mrow"},"\u2264"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"l"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("mi",{parentName:"msub"},"N")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{0}\\le{l}_{{\\text{pk}_{{N}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7804em",verticalAlign:"-0.136em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2264"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0305em",verticalAlign:"-0.3361em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.01968em"}},"l")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2222em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.2341em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2659em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," in nibbles such that:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mi",{parentName:"msub"},"i"))),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"l"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("mi",{parentName:"msub"},"N")))))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{pk}_{{N}}\\:={\\left({k}_{{\\text{enc}_{{i}}}},\\ldots,{k}_{{\\text{enc}_{{{i}+{l}_{{\\text{pk}_{{N}}}}}}}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9386em",verticalAlign:"-0.2441em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2342em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4559em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2441em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.8em",verticalAlign:"-0.65em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size2"},"(")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3281em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3488em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3448em",marginRight:"0.1em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3448em",marginRight:"0.1em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3385em"}},(0,p.kt)("span",{parentName:"span"})))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.6882em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.6428em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.5999em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size2"},")"))))))))),(0,p.kt)("p",{parentName:"admonition"},"where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mtext",{parentName:"msubsup"},"Agr"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{\\text{Agr}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2528em",verticalAlign:"-0.2935em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9592em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4065em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1809em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"Agr"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2935em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," is a prefix subsequence of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),"; ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"i")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{i}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6595em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i"))))))," is the length of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mtext",{parentName:"msubsup"},"Agr"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{\\text{Agr}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2528em",verticalAlign:"-0.2935em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9592em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4065em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1809em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"Agr"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2935em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," in nibbles and so we have:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"KeyEncode"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mtext",{parentName:"msubsup"},"Agr")),(0,p.kt)("mo",{parentName:"mrow",lspace:"0em",rspace:"0em"},"\u2223"),(0,p.kt)("mo",{parentName:"mrow",lspace:"0em",rspace:"0em"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"\u2212"),(0,p.kt)("mn",{parentName:"mrow"},"1")))),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mi",{parentName:"msub"},"i"))),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"enc"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"l"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("mi",{parentName:"msub"},"N")))))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathsf{\\text{KeyEncode}}}{\\left({k}_{{N}}\\right)}={\\text{pk}_{{N}}^{{\\text{Agr}}}}{\\mid}{\\mid}\\text{pk}_{{N}}={\\left({k}_{{\\text{enc}_{{1}}}},\\ldots,{k}_{{\\text{enc}_{{{i}-{1}}}}},{k}_{{\\text{enc}_{{i}}}},{k}_{{\\text{enc}_{{{i}+{l}_{{\\text{pk}_{{N}}}}}}}}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"KeyEncode"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2528em",verticalAlign:"-0.2935em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9592em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4065em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1809em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"Agr"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2935em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2342em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4559em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2441em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.8em",verticalAlign:"-0.65em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size2"},"(")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3281em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"\u2212"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2025em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2918em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3281em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3488em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3448em",marginRight:"0.1em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3448em",marginRight:"0.1em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3385em"}},(0,p.kt)("span",{parentName:"span"})))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.6882em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.6428em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.5999em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size2"},")")))))))))),(0,p.kt)("p",null,"Part of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mtext",{parentName:"msubsup"},"Agr"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{\\text{Agr}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2528em",verticalAlign:"-0.2935em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9592em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4065em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1809em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"Agr"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2935em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," is explicitly stored in ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),"\u2019s ancestors. Additionally, for each ancestor, a single nibble is implicitly derived while traversing from the ancestor to its child included in the traversal path using the ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Index"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Index}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Index")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," function (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-index-function"},"Definition 23"),")."),(0,p.kt)("h6",{id:"defn-index-function"},"Definition 23. Index"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"For ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"script"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}\\in{\\mathcal{{N}}}_{{b}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{c}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," child of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),", we define ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Index"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathsf{\\text{Index}}}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Index"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," function as:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub",mathvariant:"sans-serif"},"Index"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"{"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"C")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow"},"c"),(0,p.kt)("mi",{parentName:"mrow"},"c"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"("),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},")"),(0,p.kt)("mo",{parentName:"mrow"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c")),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0is\xa0a\xa0child\xa0of\xa0"),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",stretchy:"false"},"}"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"Nibbles"),(0,p.kt)("mn",{parentName:"msubsup"},"1"),(0,p.kt)("mn",{parentName:"msubsup"},"4")),(0,p.kt)("mspace",{parentName:"mrow",linebreak:"newline"}),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c")),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mi",{parentName:"mrow"},"i")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\textsf{Index}_N: \\{N_C \\in cc(N) \\mid N_c \\text{ is a child of } N\\} \\rightarrow \\text{Nibbles}_1^4 \\\\ N_c \\rightarrow i")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord textsf"},"Index")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mopen"},"{"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.109em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"cc"),(0,p.kt)("span",{parentName:"span",className:"mopen"},"("),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"),(0,p.kt)("span",{parentName:"span",className:"mclose"},")"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.109em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0is\xa0a\xa0child\xa0of\xa0")),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"),(0,p.kt)("span",{parentName:"span",className:"mclose"},"}"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1454em",verticalAlign:"-0.247em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Nibbles")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8984em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1473em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"4")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mspace newline"}),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginLeft:"-0.109em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6595em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i")))))),(0,p.kt)("p",{parentName:"admonition"},"such that"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c"))),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",lspace:"0em",rspace:"0em"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow",lspace:"0em",rspace:"0em"},"\u2223"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"pk"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{k}_{{{N}_{{c}}}}={k}_{{N}}{\\mid}{\\left|{i}{\\mid}\\right|}\\text{pk}_{{{N}_{{c}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9445em",verticalAlign:"-0.2501em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1645em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0942em",verticalAlign:"-0.3442em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2223")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2342em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4559em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1645em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3442em"}},(0,p.kt)("span",{parentName:"span"})))))))))))),(0,p.kt)("h6",{id:"algo-aggregate-key"},"Algorithm 3. Aggregate-Key"),(0,p.kt)("admonition",{type:"algorithm"},(0,p.kt)(y.Z,{content:x,algID:"aggregateKey",options:{lineNumber:!0},mdxType:"Pseudocode"}),(0,p.kt)("p",{parentName:"admonition"},"Assuming that ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"P"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{P}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the path (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-path-graph"},"Definition 2"),") from the trie root to node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),", ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-aggregate-key"},"Aggregate-Key")," rigorously demonstrates how to build ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mtext",{parentName:"msubsup"},"Agr"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{\\text{Agr}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.2528em",verticalAlign:"-0.2935em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9592em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4065em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1809em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"Agr"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2935em"}},(0,p.kt)("span",{parentName:"span"})))))))))))," while traversing ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"P"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{P}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"P")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),".")),(0,p.kt)("h6",{id:"defn-node-value"},"Definition 24. Node Value"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"A node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}\\in{\\mathcal{{N}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7224em",verticalAlign:"-0.0391em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N")))))))," stores the ",(0,p.kt)("strong",{parentName:"p"},"node value"),", ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", which consists of the following concatenated data:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Node\xa0Header"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mtext",{parentName:"mrow"},"Partial\xa0Key"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mtext",{parentName:"mrow"},"Node\xa0Subvalue")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Node Header}{\\left|{\\left|\\text{Partial Key}\\right|}\\right|}\\text{Node Subvalue}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Node\xa0Header")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Partial\xa0Key")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Node\xa0Subvalue"))))))),(0,p.kt)("p",{parentName:"admonition"},"Formally noted as:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Head"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"HE")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"p"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mi",{parentName:"mrow"},"s"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}_{{N}}\\:=\\text{Head}_{{N}}{\\left|{\\left|\\text{Enc}_{\\text{HE}}{\\left({p}{k}_{{N}}\\right)}\\right|}\\right|}{s}{v}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Head")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"HE")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"s")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("strong",{parentName:"p"},"where")," "),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Head"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Head}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Head")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the node header from ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-header"},"Definition 25"))),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"p"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{p}{k}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the partial key from ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-key"},"Definition 22"))),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"HE"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Enc}_{\\text{HE}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"HE")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is hex encoding (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#defn-hex-encoding"},"Definition 189"),")")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"s"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{s}{v}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"s")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the node subvalue from ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-subvalue"},"Definition 27"))))),(0,p.kt)("h6",{id:"defn-node-header"},"Definition 25. Node Header"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The ",(0,p.kt)("strong",{parentName:"p"},"node header"),", consisting of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mo",{parentName:"mrow"},"\u2265"),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\ge{1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7719em",verticalAlign:"-0.136em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2265"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1"))))))," bytes, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{1}}\\ldots{N}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", specifies the node variant and the partial key length (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-key"},"Definition 22"),"). Both pieces of information can be represented in bits within a single byte, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{1}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", where the amount of bits of the variant, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"v")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")))))),", and the bits of the partial key length, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{p}_{{l}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.625em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," varies."),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"v"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.16em",columnalign:"center center center",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"01"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mtext",{parentName:"mstyle"},"Leaf"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"6")))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"10"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mtext",{parentName:"mrow"},"Branch\xa0Node\xa0with\xa0\xa0"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",mathvariant:"normal"},"\u2209"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"K")))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"6")))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"11"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mtext",{parentName:"mrow"},"Branch\xa0Node\xa0with\xa0\xa0"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"K")))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"6")))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"001"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mtext",{parentName:"mstyle"},"Leaf\xa0containing\xa0a\xa0hashed\xa0subvalue"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"5")))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"0001"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mtext",{parentName:"mstyle"},"Branch\xa0containing\xa0a\xa0hashed\xa0subvalue"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"4")))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"00000000"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mtext",{parentName:"mstyle"},"Empty"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mn",{parentName:"mrow"},"0"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"00000001"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mtext",{parentName:"mstyle"},"Reserved\xa0for\xa0compact\xa0encoding"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"}))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}={\\left\\lbrace\\begin{matrix}{01}&\\text{Leaf}&{p}_{{l}}={2}^{{6}}\\\\{10}&\\text{Branch Node with }\\ {k}_{{N}}\\notin{\\mathcal{{K}}}&{p}_{{l}}={2}^{{6}}\\\\{11}&\\text{Branch Node with }\\ {k}_{{N}}\\in{\\mathcal{{K}}}&{p}_{{l}}={2}^{{6}}\\\\{001}&\\text{Leaf containing a hashed subvalue}&{p}_{{l}}={2}^{{5}}\\\\{0001}&\\text{Branch containing a hashed subvalue}&{p}_{{l}}={2}^{{4}}\\\\{0000}{0000}&\\text{Empty}&{p}_{{l}}={0}\\\\{0000}{0001}&\\text{Reserved for compact encoding}&\\end{matrix}\\right.}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"8.4em",verticalAlign:"-3.95em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen"},(0,p.kt)("span",{parentName:"span",className:"delimsizing mult"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"4.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-1.366em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"4.416em"}}),(0,p.kt)("span",{parentName:"span",className:"delimsizinginner delim-size4"},(0,p.kt)("span",{parentName:"span"},"\u23a9"))),(0,p.kt)("span",{parentName:"span",style:{top:"-1.358em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"4.416em"}}),(0,p.kt)("span",{parentName:"span",style:{height:"2.416em",width:"0.8889em"}},(0,p.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"0.8889em",height:"2.416em",style:{width:"0.8889em"},viewBox:"0 0 888.89 2416",preserveAspectRatio:"xMinYMin"},(0,p.kt)("path",{parentName:"svg",d:"M384 0 H504 V2416 H384z M384 0 H504 V2416 H384z"})))),(0,p.kt)("span",{parentName:"span",style:{top:"-4.416em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"4.416em"}}),(0,p.kt)("span",{parentName:"span",className:"delimsizinginner delim-size4"},(0,p.kt)("span",{parentName:"span"},"\u23a8"))),(0,p.kt)("span",{parentName:"span",style:{top:"-5.558em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"4.416em"}}),(0,p.kt)("span",{parentName:"span",style:{height:"2.416em",width:"0.8889em"}},(0,p.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"0.8889em",height:"2.416em",style:{width:"0.8889em"},viewBox:"0 0 888.89 2416",preserveAspectRatio:"xMinYMin"},(0,p.kt)("path",{parentName:"svg",d:"M384 0 H504 V2416 H384z M384 0 H504 V2416 H384z"})))),(0,p.kt)("span",{parentName:"span",style:{top:"-7.966em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"4.416em"}}),(0,p.kt)("span",{parentName:"span",className:"delimsizinginner delim-size4"},(0,p.kt)("span",{parentName:"span"},"\u23a7")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"3.95em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"4.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-6.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"01")))),(0,p.kt)("span",{parentName:"span",style:{top:"-5.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"10")))),(0,p.kt)("span",{parentName:"span",style:{top:"-4.21em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"11")))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.01em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"001")))),(0,p.kt)("span",{parentName:"span",style:{top:"-1.81em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0001")))),(0,p.kt)("span",{parentName:"span",style:{top:"-0.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0000")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0000")))),(0,p.kt)("span",{parentName:"span",style:{top:"0.59em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0000")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0001"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"3.95em"}},(0,p.kt)("span",{parentName:"span"}))))),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"4.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-6.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Leaf")))),(0,p.kt)("span",{parentName:"span",style:{top:"-5.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Branch\xa0Node\xa0with\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208")),(0,p.kt)("span",{parentName:"span",className:"mord vbox"},(0,p.kt)("span",{parentName:"span",className:"thinbox"},(0,p.kt)("span",{parentName:"span",className:"llap"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"inner"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"/"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.0556em"}}))),(0,p.kt)("span",{parentName:"span",className:"fix"}))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.01445em"}},"K"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-4.21em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Branch\xa0Node\xa0with\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.01445em"}},"K"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.01em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Leaf\xa0containing\xa0a\xa0hashed\xa0subvalue")))),(0,p.kt)("span",{parentName:"span",style:{top:"-1.81em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Branch\xa0containing\xa0a\xa0hashed\xa0subvalue")))),(0,p.kt)("span",{parentName:"span",style:{top:"-0.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Empty")))),(0,p.kt)("span",{parentName:"span",style:{top:"0.59em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Reserved\xa0for\xa0compact\xa0encoding"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"3.95em"}},(0,p.kt)("span",{parentName:"span"}))))),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"4.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-6.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"6")))))))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-5.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"6")))))))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-4.21em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"6")))))))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.01em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"5")))))))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-1.81em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"4")))))))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-0.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0")))),(0,p.kt)("span",{parentName:"span",style:{top:"0.59em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"}))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"3.95em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"})))))))),(0,p.kt)("p",{parentName:"admonition"},"If the value of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{p}_{{l}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.625em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is equal to the maximum possible value the bits can hold, such as 63 (",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"6")),(0,p.kt)("mo",{parentName:"mrow"},"\u2212"),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{2}^{{6}}-{1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8974em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"6")))))))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\u2212"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1")))))),") in case of the ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"01")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{01}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"01"))))))," variant, then the value of the next 8 bits (",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),") are added the length. This process is repeated for every ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"n")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"8")),(0,p.kt)("mo",{parentName:"mrow"},"\u2212"),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{n}}={2}^{{8}}-{1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8974em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"8")))))))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\u2212"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1")))))),". Any value smaller than the maximum possible value of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," implies that the next value of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mn",{parentName:"mrow"},"1")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{{n}+{1}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8917em",verticalAlign:"-0.2083em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2083em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," should not be added to the length. The hashed subvalue for variants ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"001")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{001}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"001"))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"0001")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{0001}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0001"))))))," is described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-hashed-subvalue"},"Definition 28"),"."),(0,p.kt)("p",{parentName:"admonition"},"Formally, the length of the partial key, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mi",{parentName:"msubsup"},"l"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{l}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1804em",verticalAlign:"-0.247em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9334em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1473em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),", is defined as:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msubsup"},"pk"),(0,p.kt)("mi",{parentName:"msubsup"},"N"),(0,p.kt)("mi",{parentName:"msubsup"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"n")),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mi",{parentName:"mrow"},"x"))),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mi",{parentName:"mrow"},"x"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mi",{parentName:"mrow"},"y")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\text{pk}_{{N}}^{{l}}}={p}_{{l}}+{N}_{{n}}+{N}_{{{n}+{x}}}+\\ldots+{N}_{{{n}+{x}+{y}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1804em",verticalAlign:"-0.247em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"pk")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.9334em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.1473em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"+"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"+"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8917em",verticalAlign:"-0.2083em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2583em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"x"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2083em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"+"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6667em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"+"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9694em",verticalAlign:"-0.2861em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2583em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"x")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.03588em"}},"y"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2861em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("p",{parentName:"admonition"},"as long as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mi",{parentName:"mrow"},"m")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{p}_{{l}}={m}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.625em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m")))))),", ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mi",{parentName:"mrow"},"x"))),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"8")),(0,p.kt)("mo",{parentName:"mrow"},"\u2212"),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{{n}+{x}}}={2}^{{8}}-{1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8917em",verticalAlign:"-0.2083em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2583em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"x"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2083em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8974em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"8")))))))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\u2212"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1"))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mi",{parentName:"mrow"},"x"),(0,p.kt)("mo",{parentName:"mrow"},"+"),(0,p.kt)("mi",{parentName:"mrow"},"y"))),(0,p.kt)("mo",{parentName:"mrow"},"<"),(0,p.kt)("msup",{parentName:"mrow"},(0,p.kt)("mn",{parentName:"msup"},"2"),(0,p.kt)("mn",{parentName:"msup"},"8")),(0,p.kt)("mo",{parentName:"mrow"},"\u2212"),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{{n}+{x}+{y}}}<{2}^{{8}}-{1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9694em",verticalAlign:"-0.2861em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2583em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"x")),(0,p.kt)("span",{parentName:"span",className:"mbin mtight"},"+"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.03588em"}},"y"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2861em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"<"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8974em",verticalAlign:"-0.0833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"2")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8141em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.063em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"8")))))))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mbin"},"\u2212"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1")))))),", where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"m")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{m}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"m"))))))," is the maximum possible value that ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"p"),(0,p.kt)("mi",{parentName:"msub"},"l"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{p}_{{l}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.625em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.01968em"}},"l")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," can hold.")),(0,p.kt)("h3",{id:"sect-merkl-proof"},"2.4.4. Merkle Proof"),(0,p.kt)("p",null,"To prove the consistency of the state storage across the network and its modifications both efficiently and effectively, the trie implements a Merkle tree structure. The hash value corresponding to each node needs to be computed rigorously to make the inter-implementation data integrity possible."),(0,p.kt)("p",null,"The Merkle value of each node should depend on the Merkle value of all its children as well as on its corresponding data in the state storage. This recursive dependency is encompassed into the subvalue part of the node value, which recursively depends on the Merkle value of its children. Additionally, as ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-child-trie-structure"},"Section 2.5.1.")," clarifies, the Merkle proof of each ",(0,p.kt)("strong",{parentName:"p"},"child trie")," must be updated first before the final Polkadot state root can be calculated."),(0,p.kt)("p",null,"We use the auxiliary function introduced in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-children-bitmap"},"Definition 26")," to encode and decode the information stored in a branch node."),(0,p.kt)("h6",{id:"defn-children-bitmap"},"Definition 26. Children Bitmap"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"Suppose ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{b}},{N}_{{c}}\\in{\\mathcal{{N}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N")))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{c}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is a child of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{b}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),". We define bit ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mn",{parentName:"mrow"},"1")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{b}_{{i}}:={1}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1"))))))," if and only if ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{b}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," has a child with index ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"i")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{i}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6595em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i")))))),", therefore we define ",(0,p.kt)("strong",{parentName:"p"},"ChildrenBitmap")," functions as follows:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"ChildrenBitmap:")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{ChildrenBitmap:}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"ChildrenBitmap:"))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"script"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"double-struck"},"B"),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{\\mathcal{{N}}}_{{b}}\\rightarrow{\\mathbb{{B}}}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8389em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mrow",{parentName:"msub"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mn",{parentName:"msub"},"15")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mn",{parentName:"msub"},"8")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mn",{parentName:"msub"},"7")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mn",{parentName:"msub"},"0")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mn",{parentName:"msub"},"2"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{b}}\\rightarrow{\\left({b}_{{{15}}},\\ldots,{b}_{{8}},{b}_{{7}},\\ldots,{b}_{{0}}\\right)}_{{2}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.0497em",verticalAlign:"-0.2997em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"15"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"8")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"7")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"0")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.4003em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"2")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2997em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("strong",{parentName:"p"},"where")),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"b"),(0,p.kt)("mi",{parentName:"msub"},"i")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.16em",columnalign:"center center",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"1"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mi",{parentName:"mrow",mathvariant:"normal"},"\u2203"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c")),(0,p.kt)("mo",{parentName:"mrow"},"\u2208"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"script"},"N"),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c"))),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"b"))),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mi",{parentName:"mrow"},"p"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("mi",{parentName:"msub"},"c"))))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mn",{parentName:"mstyle"},"0"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mtext",{parentName:"mstyle"},"otherwise"))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{b}_{{i}}\\:={\\left\\lbrace\\begin{matrix}{1}&\\exists{N}_{{c}}\\in{\\mathcal{{N}}}:{k}_{{{N}_{{c}}}}={k}_{{{N}_{{b}}}}{\\left|{\\left|{i}\\right|}\\right|}{p}{k}_{{{N}_{{c}}}}\\\\{0}&\\text{otherwise}\\end{matrix}\\right.}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3117em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"2.4em",verticalAlign:"-0.95em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size3"},"{")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"1")))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\u2203"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2208"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathcal",style:{marginRight:"0.14736em"}},"N"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1645em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3448em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.3488em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1512em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2559em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"i")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"p")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1645em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"c")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"otherwise"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"}))))))))),(0,p.kt)("h6",{id:"defn-node-subvalue"},"Definition 27. Subvalue"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"For a given node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),", the ",(0,p.kt)("strong",{parentName:"p"},"subvalue")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),", formally referred to as ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"s"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{s}{v}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"s")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", is determined as follows:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"s"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.16em",columnalign:"center",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("msub",{parentName:"mstyle"},(0,p.kt)("mtext",{parentName:"msub"},"StoredValue"),(0,p.kt)("mtext",{parentName:"msub"},"SC"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"SC")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mtext",{parentName:"mrow"},"ChildrenBitmap"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"StoredValue"),(0,p.kt)("mtext",{parentName:"msub"},"SC")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"SC")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"H"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"SC")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"H"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{s}{v}_{{N}}\\:={\\left\\lbrace\\begin{matrix}\\text{StoredValue}_{{\\text{SC}}}\\\\\\text{Enc}_{{\\text{SC}}}{\\left(\\text{ChildrenBitmap}{\\left({N}\\right)}{\\left|{\\left|\\text{StoredValue}_{{\\text{SC}}}\\right|}\\right|}\\text{Enc}_{{\\text{SC}}}{\\left({H}{\\left({N}_{{{C}_{{1}}}}\\right)}\\right)},\\ldots,\\text{Enc}_{{\\text{SC}}}{\\left({H}{\\left({N}_{{{C}_{{n}}}}\\right)}\\right)}\\right)}\\end{matrix}\\right.}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"s")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"2.4em",verticalAlign:"-0.95em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size3"},"{")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"ChildrenBitmap")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1645em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"})))))))),(0,p.kt)("p",{parentName:"admonition"},"where the first variant is a leaf node and the second variant is a branch node."),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"StoredValue"),(0,p.kt)("mtext",{parentName:"msub"},"SC")),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.16em",columnalign:"center center",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"SC")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mtext",{parentName:"mrow"},"StoredValue"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mtext",{parentName:"mrow"},"if\xa0StoredValue"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mi",{parentName:"mrow"},"v"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mi",{parentName:"mstyle"},"\u03d5"))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mtext",{parentName:"mrow"},"if\xa0StoredValue"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"k"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mi",{parentName:"mrow"},"\u03d5")))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{StoredValue}_{{\\text{SC}}}\\:={\\left\\lbrace\\begin{matrix}\\text{Enc}_{{\\text{SC}}}{\\left(\\text{StoredValue}{\\left({k}_{{N}}\\right)}\\right)}&\\text{if StoredValue}{\\left({k}_{{N}}\\right)}={v}\\\\\\phi&\\text{if StoredValue}{\\left({k}_{{N}}\\right)}=\\phi\\end{matrix}\\right.}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8444em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"2.4em",verticalAlign:"-0.95em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size3"},"{")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"\u03d5")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"if\xa0StoredValue")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"if\xa0StoredValue")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03148em"}},"k")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"\u03d5")))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"})))))))),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mn",{parentName:"msub"},"1"))),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"N"),(0,p.kt)("msub",{parentName:"msub"},(0,p.kt)("mi",{parentName:"msub"},"C"),(0,p.kt)("mi",{parentName:"msub"},"n")))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}_{{{C}_{{1}}}}\\ldots{N}_{{{C}_{{n}}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.9334em",verticalAlign:"-0.2501em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3173em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.07153em"}},"C")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1645em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.357em",marginRight:"0.0714em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.5em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size3 size1 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.143em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2501em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," with ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow"},"\u2264"),(0,p.kt)("mn",{parentName:"mrow"},"16")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{n}\\le{16}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.7719em",verticalAlign:"-0.136em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"n")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2264"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"16"))))))," are the children nodes of the branch node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),"."),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mtext",{parentName:"msub"},"Enc"),(0,p.kt)("mtext",{parentName:"msub"},"SC"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Enc}_{{\\text{SC}}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Enc")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord text mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"SC"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is defined in ",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-scale-codec"},"Section A.2.2."),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"StoredValue")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{StoredValue}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"StoredValue")))))),", where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"v")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.4306em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v"))))))," can be empty, is defined in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-stored-value"},"Definition 16"),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"H")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H"))))))," is defined in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-merkle-value"},"Definition 29"),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"ChildrenBitmap"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{ChildrenBitmap}{\\left({N}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"ChildrenBitmap")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is defined in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-children-bitmap"},"Definition 26"),"."))),(0,p.kt)("p",{parentName:"admonition"},"The trie deviates from a traditional Merkle tree in that the node value (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-value"},"Definition 24"),"), ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", is presented instead of its hash if it occupies less space than its hash.")),(0,p.kt)("h6",{id:"defn-hashed-subvalue"},"Definition 28. Hashed Subvalue"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"To increase performance, a Merkle proof can be generated by inserting the hash of a value into the trie rather than the value itself (which can be quite large). If Merkle proof computation with node hashing is explicitly executed via the Host API (",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#sect-ext-storage-root-version-2"},"Section B.2.8.2."),"), then any value larger than 32 bytes is hashed, resulting in that hash being used as the subvalue (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-subvalue"},"Definition 27"),") under the corresponding key. The node header must specify the variant ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"001")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{001}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"001"))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mn",{parentName:"mrow"},"0001")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{0001}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6444em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"0001"))))))," respectively for leaves containing a hash as their subvalue and for branches containing a hash as their subvalue (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-header"},"Definition 25"),").")),(0,p.kt)("h6",{id:"defn-merkle-value"},"Definition 29. Merkle Value"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"For a given node ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),", the ",(0,p.kt)("strong",{parentName:"p"},"Merkle value")," of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")))))),", denoted by ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"H"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}{\\left({N}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is defined as follows:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"H"),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mi",{parentName:"mrow",mathvariant:"double-struck"},"B"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("msubsup",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msubsup"},"U"),(0,p.kt)("mrow",{parentName:"msubsup"},(0,p.kt)("mi",{parentName:"mrow"},"i"),(0,p.kt)("mo",{parentName:"mrow"},"\u2192"),(0,p.kt)("mn",{parentName:"mrow"},"0")),(0,p.kt)("mn",{parentName:"msubsup"},"32")),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub",mathvariant:"double-struck"},"B"),(0,p.kt)("mn",{parentName:"msub"},"32"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}:{\\mathbb{{B}}}\\rightarrow{{U}_{{{i}\\rightarrow{0}}}^{{{32}}}}{\\mathbb{{B}}}_{{32}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6889em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1.1111em",verticalAlign:"-0.247em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"U")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.8641em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.453em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"i")),(0,p.kt)("span",{parentName:"span",className:"mrel mtight"},"\u2192"),(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"0")))))),(0,p.kt)("span",{parentName:"span",style:{top:"-3.113em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"32"))))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.247em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathbb"},"B"))),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"32")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"H"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")")),(0,p.kt)("mo",{parentName:"mrow"},":"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"{"),(0,p.kt)("mtable",{parentName:"mrow",rowspacing:"0.16em",columnalign:"center center",columnspacing:"1em"},(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("msub",{parentName:"mstyle"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N")))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},"<"),(0,p.kt)("mn",{parentName:"mrow"},"32"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0\xa0and\xa0\xa0"),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow",mathvariant:"normal"},"\u2260"),(0,p.kt)("mi",{parentName:"mrow"},"R"))))),(0,p.kt)("mtr",{parentName:"mtable"},(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mtext",{parentName:"mrow"},"Blake2b"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"n")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))))),(0,p.kt)("mtd",{parentName:"mtr"},(0,p.kt)("mstyle",{parentName:"mtd",scriptlevel:"0",displaystyle:"false"},(0,p.kt)("mrow",{parentName:"mstyle"},(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"\u2223")),(0,p.kt)("mo",{parentName:"mrow"},"\u2265"),(0,p.kt)("mn",{parentName:"mrow"},"32"),(0,p.kt)("mtext",{parentName:"mrow"},"\xa0\xa0or\xa0\xa0"),(0,p.kt)("mi",{parentName:"mrow"},"N"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mi",{parentName:"mrow"},"R")))))))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}{\\left({N}\\right)}:{\\left\\lbrace\\begin{matrix}{v}_{{N}}&{\\left|{\\left|{v}_{{N}}\\right|}\\right|}<{32}\\ \\text{ and }\\ {N}\\ne{R}\\\\\\text{Blake2b}{\\left({v}_{{n}}\\right)}&{\\left|{\\left|{v}_{{N}}\\right|}\\right|}\\ge{32}\\ \\text{ or }\\ {N}={R}\\end{matrix}\\right.}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},":"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"2.4em",verticalAlign:"-0.95em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},(0,p.kt)("span",{parentName:"span",className:"delimsizing size3"},"{")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mtable"},(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Blake2b")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"arraycolsep",style:{width:"0.5em"}}),(0,p.kt)("span",{parentName:"span",className:"col-align-c"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"1.45em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-3.61em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"<"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"32")),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0and\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},(0,p.kt)("span",{parentName:"span",className:"mrel"},(0,p.kt)("span",{parentName:"span",className:"mord vbox"},(0,p.kt)("span",{parentName:"span",className:"thinbox"},(0,p.kt)("span",{parentName:"span",className:"rlap"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"inner"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mrel"},"\ue020"))),(0,p.kt)("span",{parentName:"span",className:"fix"}))))),(0,p.kt)("span",{parentName:"span",className:"mrel"},"=")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")))),(0,p.kt)("span",{parentName:"span",style:{top:"-2.41em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"3em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"\u2223"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},"\u2223"))),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"\u2265"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},"32")),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"\xa0or\xa0")),(0,p.kt)("span",{parentName:"span",className:"mspace"},"\xa0"),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.95em"}},(0,p.kt)("span",{parentName:"span"}))))))),(0,p.kt)("span",{parentName:"span",className:"mclose nulldelimiter"})))))))),(0,p.kt)("p",{parentName:"admonition"},"Where ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"v"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{v}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.5806em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.03588em"}},"v")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the node value of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"N")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{N}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.10903em"}},"N"))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-node-value"},"Definition 24"),") and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"R")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{R}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R"))))))," is the root of the trie. The ",(0,p.kt)("strong",{parentName:"p"},"Merkle hash")," of the trie is defined to be ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"H"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}{\\left({R}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")"))))))),".")),(0,p.kt)("h3",{id:"sect-managing-multiple-states"},"2.4.5. Managing Multiple Variants of State"),(0,p.kt)("p",null,"Unless a node is committed to only updating its state according to the finalized block (",(0,p.kt)("a",{parentName:"p",href:"sect-finality#defn-finalized-block"},"Definition 85"),"), it is inevitable for the node to store multiple variants of the state (one for each block). This is, for example, necessary for nodes participating in the block production and finalization."),(0,p.kt)("p",null,"While the state trie structure (",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-state-storage-trie-structure"},"Section 2.4.3."),") facilitates and optimizes storing and switching between multiple variants of the state storage, the Polkadot Host does not specify how a node is required to accomplish this task. Instead, the Polkadot Host is required to implement ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Set-State-At")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Set-State-At}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Set-State-At"))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-set-state-at"},"Definition 30"),"):"),(0,p.kt)("h6",{id:"defn-set-state-at"},"Definition 30. Set State At Block"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"The function:"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Set-State-At"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Set-State-At}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Set-State-At")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))),(0,p.kt)("p",{parentName:"admonition"},"in which ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," is a block in the block tree (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-block-tree"},"Definition 4"),"), sets the content of state storage equal to the resulting state of executing all extrinsics contained in the branch of the block tree from genesis till block B including those recorded in Block ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")))))),"."),(0,p.kt)("p",{parentName:"admonition"},"For the definition of the state storage see ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-state-storage"},"Section 2.4."),".")),(0,p.kt)("h2",{id:"sect-child-storages"},"2.5. Child Storage"),(0,p.kt)("p",null,"As clarified in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-state-storage"},"Section 2.4."),", the Polkadot state storage implements a hash table for inserting and reading key-value entries. The child storage works the same way but is stored in a separate and isolated environment. Entries in the child storage are not directly accessible via querying the main state storage."),(0,p.kt)("p",null,"The Polkadot Host supports as many child storages as required by Runtime and identifies each separate child storage by its unique identifying key. Child storages are usually used in situations where Runtime deals with multiple instances of a certain type of objects such as Parachains or Smart Contracts. In such cases, the execution of the Runtime entrypoint might result in generating repeated keys across multiple instances of certain objects. Even with repeated keys, all such instances of key-value pairs must be able to be stored within the Polkadot state."),(0,p.kt)("p",null,"In these situations, the child storage can be used to provide the isolation necessary to prevent any undesired interference between the state of separated instances. The Polkadot Host makes no assumptions about how child storages are used, but provides the functionality for it via the Host API (",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#sect-child-storage-api"},"Section B.3."),")."),(0,p.kt)("h3",{id:"sect-child-trie-structure"},"2.5.1. Child Tries"),(0,p.kt)("p",null,"The child trie specification is the same as the one described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-state-storage-trie-structure"},"Section 2.4.3."),". Child tries have their own isolated environment. Nonetheless, the main Polkadot state trie depends on them by storing a node (",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"K"),(0,p.kt)("mi",{parentName:"msub"},"N")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"V"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{K}_{{N}},{V}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"K")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.22222em"}},"V")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),") which corresponds to an individual child trie. Here, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"K"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{K}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"K")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the child storage key associated to the child trie, and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"V"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{V}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.22222em"}},"V")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the Merkle value of its corresponding child trie computed according to the procedure described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-merkl-proof"},"Section 2.4.4."),"."),(0,p.kt)("p",null,"The Polkadot Host API (",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#sect-child-storage-api"},"Section B.3."),") allows the Runtime to provide the key ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"K"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{K}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.07153em"}},"K")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," in order to identify the child trie, followed by a second key in order to identify the value within that child trie. Every time a child trie is modified, the Merkle proof ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"V"),(0,p.kt)("mi",{parentName:"msub"},"N"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{V}_{{N}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.22222em"}},"V")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.10903em"}},"N")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," of the child trie stored in the Polkadot state must be updated first. After that, the final Merkle proof of the Polkadot state can be computed. This mechanism provides a proof of the full Polkadot state including all its child states."),(0,p.kt)("h2",{id:"sect-runtime-interaction"},"2.6. Runtime Interactions"),(0,p.kt)("p",null,"Like any transaction-based transition system, Polkadot\u2019s state is changed by executing an ordered set of instructions. These instructions are known as ",(0,p.kt)("em",{parentName:"p"},"extrinsics"),". In Polkadot, the execution logic of the state transition function is encapsulated in a Runtime (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-state-machine"},"Definition 1"),"). For easy upgradability, this Runtime is presented as a Wasm blob. Nonetheless, the Polkadot Host needs to be in constant interaction with the Runtime (",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-entrypoints-into-runtime"},"Section 2.6.1."),")."),(0,p.kt)("p",null,"In ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-extrinsics"},"Section 2.3."),", we specify the procedure of the process where the extrinsics are submitted, pre-processed, and validated by Runtime and queued to be applied to the current state."),(0,p.kt)("p",null,"To make state replication feasible, Polkadot journals and batches a series of its extrinsics together into a structure known as a ",(0,p.kt)("em",{parentName:"p"},"block"),", before propagating them to other nodes, similar to most other prominent distributed ledger systems. The specification of the Polkadot block as well as the process of verifying its validity, are both explained in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-state-replication"},"Section 2.2."),"."),(0,p.kt)("h3",{id:"sect-entrypoints-into-runtime"},"2.6.1. Interacting with the Runtime"),(0,p.kt)("p",null,"The Runtime (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-state-machine"},"Definition 1"),") is the code implementing the logic of the chain. This code is decoupled from the Polkadot Host to make the logic of the chain easily upgradable without the need to upgrade the Polkadot Host itself. The general procedure to interact with the Runtime is described by ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-runtime-interaction"},"Interact-With-Runtime"),"."),(0,p.kt)("h6",{id:"algo-runtime-interaction"},"Algorithm 4. Interact With Runtime"),(0,p.kt)("admonition",{type:"algorithm"},(0,p.kt)(y.Z,{content:b,algID:"interactWithRuntime",options:{lineNumber:!0},mdxType:"Pseudocode"}),(0,p.kt)("p",{parentName:"admonition"},(0,p.kt)("strong",{parentName:"p"},"where")," "),(0,p.kt)("ul",{parentName:"admonition"},(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"F")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{F}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.13889em"}},"F"))))))," is the runtime entry point call.")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"H"),(0,p.kt)("mi",{parentName:"msub"},"b")),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"B"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{H}_{{b}}{\\left({B}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.08125em"}},"H")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3361em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"b")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))," is the block hash indicating the state at the end of ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")))))),".")),(0,p.kt)("li",{parentName:"ul"},(0,p.kt)("p",{parentName:"li"},(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"A"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"A"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{A}_{{1}},\\ldots,{A}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"A")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"A")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," are arguments to be passed to the runtime entrypoint.")))),(0,p.kt)("p",null,"In this section, we describe the details upon which the Polkadot Host is interacting with the Runtime. In particular, ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Set-State-At")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Set-State-At}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Set-State-At"))))))," and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Call-Runtime-Entrypoint")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Call-Runtime-Entrypoint}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8889em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Call-Runtime-Entrypoint"))))))," procedures called by ",(0,p.kt)("a",{parentName:"p",href:"chap-state#algo-runtime-interaction"},"Interact-With-Runtime")," are explained in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-call-into-runtime"},"Definition 32")," and ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-set-state-at"},"Definition 30")," respectively. ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"R"),(0,p.kt)("mi",{parentName:"msub"},"B"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{R}_{{B}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05017em"}},"B")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the Runtime code loaded from ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"S"),(0,p.kt)("mi",{parentName:"msub"},"B"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{S}_{{B}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"S")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05017em"}},"B")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", as described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-runtime-code-at-state"},"Definition 31"),", and ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"E"),(0,p.kt)("mi",{parentName:"msub"},"B"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{R}{E}_{{B}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"E")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05017em"}},"B")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," is the Polkadot Host API, as described in ",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#defn-host-api-at-state"},"Definition 194"),"."),(0,p.kt)("h3",{id:"sect-loading-runtime-code"},"2.6.2. Loading the Runtime Code"),(0,p.kt)("p",null,"The Polkadot Host expects to receive the code for the Runtime of the chain as a compiled WebAssembly (Wasm) Blob. The current runtime is stored in the state database under the key represented as a byte array:"),(0,p.kt)("div",{className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"b"),(0,p.kt)("mtext",{parentName:"mrow"},"\u2005"),(0,p.kt)("mo",{parentName:"mrow"},"="),(0,p.kt)("mtext",{parentName:"mrow"},"3A,63,6F,64,65")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{b}\\:=\\text{3A,63,6F,64,65}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"b")),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2222em"}}),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}}),(0,p.kt)("span",{parentName:"span",className:"mrel"},"="),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.2778em"}})),(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"3A,63,6F,64,65"))))))),(0,p.kt)("p",null,"which is the ASCII byte representation of the string ",(0,p.kt)("inlineCode",{parentName:"p"},":code")," (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#section-genesis"},"Section A.3.3."),"). As a result of storing the Runtime as part of the state, the Runtime code itself becomes state sensitive and calls to Runtime can change the Runtime code itself. Therefore the Polkadot Host needs to always make sure to provide the Runtime corresponding to the state in which the entry point has been called. Accordingly, we define ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"R"),(0,p.kt)("mi",{parentName:"msub"},"B"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{R}_{{B}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05017em"}},"B")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-runtime-code-at-state"},"Definition 31"),")."),(0,p.kt)("p",null,"The initial Runtime code of the chain is provided as part of the genesis state (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#section-genesis"},"Section A.3.3."),") and subsequent calls to the Runtime have the ability to, in turn, upgrade the Runtime by replacing this Wasm blob with the help of the storage API (",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#sect-storage-api"},"Section B.2."),"). Therefore, the executor ",(0,p.kt)("strong",{parentName:"p"},"must always")," load the latest Runtime from storage - or preferably detect Runtime upgrades (",(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-digest"},"Definition 11"),") - either based on the parent block when importing blocks or the best/highest block when creating new blocks."),(0,p.kt)("h6",{id:"defn-runtime-code-at-state"},"Definition 31. Runtime Code at State"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"By ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"R"),(0,p.kt)("mi",{parentName:"msub"},"B"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{R}_{{B}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8333em",verticalAlign:"-0.15em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3283em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight",style:{marginRight:"0.05017em"}},"B")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))))))),", we refer to the Runtime code stored in the state storage at the end of the execution of block ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")))))),".")),(0,p.kt)("p",null,"The WASM blobs may be compressed using ",(0,p.kt)("a",{parentName:"p",href:"https://github.com/facebook/zstd"},(0,p.kt)("em",{parentName:"a"},"zstd")),". In such cases, there is an 8-byte magic identifier at the head of the blob, indicating that it should be decompressed with ",(0,p.kt)("em",{parentName:"p"},"zstd")," compression. The magic identifier prefix ",(0,p.kt)("inlineCode",{parentName:"p"},"ZSTD_PREFIX = [82, 188, 83, 118, 70, 219, 142, 5]")," is different from the WASM ",(0,p.kt)("a",{parentName:"p",href:"https://github.com/WebAssembly/design/blob/main/BinaryEncoding.md#high-level-structure"},"magic bytes"),". The decompression has to be applied on the blob excluding the ",(0,p.kt)("inlineCode",{parentName:"p"},"ZSTD-PREFIX")," and has a Bomb Limit of ",(0,p.kt)("inlineCode",{parentName:"p"},"CODE_BLOB_BOMB_LIMIT = 50 * 1024 * 1024")," to mitigate compression bomb attacks. "),(0,p.kt)("h3",{id:"sect-code-executor"},"2.6.3. Code Executor"),(0,p.kt)("p",null,"The Polkadot Host executes the calls of Runtime entrypoints inside a Wasm Virtual Machine (VM), which in turn provides the Runtime with access to the Polkadot Host API. This part of the Polkadot Host is referred to as the ",(0,p.kt)("em",{parentName:"p"},"Executor"),"."),(0,p.kt)("p",null,(0,p.kt)("a",{parentName:"p",href:"chap-state#defn-call-into-runtime"},"Definition 32")," introduces the notation for calling the runtime entrypoint which is used whenever an algorithm of the Polkadot Host needs to access the runtime."),(0,p.kt)("p",null,"It is acceptable behavior that the Runtime panics during execution of a function in order to indicate an error. The Polkadot Host must be able to catch that panic and recover from it."),(0,p.kt)("p",null,"In this section, we specify the general setup for an Executor that calls into the Runtime. In ",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api"},"Appendix C")," we specify the parameters and return values for each Runtime entrypoint separately."),(0,p.kt)("h6",{id:"defn-call-into-runtime"},"Definition 32. Call Runtime Entrypoint"),(0,p.kt)("admonition",{type:"definition"},(0,p.kt)("p",{parentName:"admonition"},"By"),(0,p.kt)("div",{parentName:"admonition",className:"math math-display"},(0,p.kt)("span",{parentName:"div",className:"katex-display"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mtext",{parentName:"mrow"},"Call-Runtime-Entrypoint"),(0,p.kt)("mrow",{parentName:"mrow"},(0,p.kt)("mo",{parentName:"mrow",fence:"true"},"("),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"R"),(0,p.kt)("mi",{parentName:"mrow"},"E"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mtext",{parentName:"mrow"},"Runtime-Entrypoint"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mi",{parentName:"mrow"},"A"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"A"),(0,p.kt)("mo",{parentName:"msub",lspace:"0em",rspace:"0em"},"\u2264")),(0,p.kt)("mi",{parentName:"mrow"},"n"),(0,p.kt)("mo",{parentName:"mrow",fence:"true"},")"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"\\text{Call-Runtime-Entrypoint}{\\left({R},{R}{E},\\text{Runtime-Entrypoint},{A},{A}_{\\le}{n}\\right)}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Call-Runtime-Entrypoint")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"minner"},(0,p.kt)("span",{parentName:"span",className:"mopen delimcenter",style:{top:"0em"}},"("),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.00773em"}},"R")),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05764em"}},"E")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord text"},(0,p.kt)("span",{parentName:"span",className:"mord"},"Runtime-Entrypoint")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"A")),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"A")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2952em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mrel mtight"},"\u2264"))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.2452em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"n")),(0,p.kt)("span",{parentName:"span",className:"mclose delimcenter",style:{top:"0em"}},")")))))))),(0,p.kt)("p",{parentName:"admonition"},"we refer to the task using the executor to invoke the while passing an ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"A"),(0,p.kt)("mn",{parentName:"msub"},"1")),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("mo",{parentName:"mrow"},"\u2026"),(0,p.kt)("mo",{parentName:"mrow",separator:"true"},","),(0,p.kt)("msub",{parentName:"mrow"},(0,p.kt)("mi",{parentName:"msub"},"A"),(0,p.kt)("mi",{parentName:"msub"},"n"))),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{A}_{{1}},\\ldots,{A}_{{n}}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.8778em",verticalAlign:"-0.1944em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"A")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.3011em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},"1")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"})))))),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"minner"},"\u2026"),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mpunct"},","),(0,p.kt)("span",{parentName:"span",className:"mspace",style:{marginRight:"0.1667em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal"},"A")),(0,p.kt)("span",{parentName:"span",className:"msupsub"},(0,p.kt)("span",{parentName:"span",className:"vlist-t vlist-t2"},(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.1514em"}},(0,p.kt)("span",{parentName:"span",style:{top:"-2.55em",marginRight:"0.05em"}},(0,p.kt)("span",{parentName:"span",className:"pstrut",style:{height:"2.7em"}}),(0,p.kt)("span",{parentName:"span",className:"sizing reset-size6 size3 mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mtight"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal mtight"},"n")))))),(0,p.kt)("span",{parentName:"span",className:"vlist-s"},"\u200b")),(0,p.kt)("span",{parentName:"span",className:"vlist-r"},(0,p.kt)("span",{parentName:"span",className:"vlist",style:{height:"0.15em"}},(0,p.kt)("span",{parentName:"span"}))))))))))," argument to it and using the encoding described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-runtime-send-args-to-runtime-enteries"},"Section 2.6.3.2."),".")),(0,p.kt)("h4",{id:"sect-memory-management"},"2.6.3.1. Memory Management"),(0,p.kt)("p",null,"The Polkadot Host is responsible for managing the WASM heap memory starting at the exported symbol as a part of implementing the allocator Host API (",(0,p.kt)("a",{parentName:"p",href:"chap-host-api#sect-allocator-api"},"Section B.10."),") and the same allocator should be used for any other heap allocation to be used by the Polkadot Runtime."),(0,p.kt)("p",null,"The size of the provided WASM memory should be based on the value of the storage key (an unsigned 64-bit integer), where each page has a size of 64KB. This memory should be made available to the Polkadot Runtime for import under the symbol name ",(0,p.kt)("inlineCode",{parentName:"p"},"memory"),"."),(0,p.kt)("h4",{id:"sect-runtime-send-args-to-runtime-enteries"},"2.6.3.2. Sending Data to a Runtime Entrypoint"),(0,p.kt)("p",null,"In general, all data exchanged between the Polkadot Host and the Runtime is encoded using the SCALE codec described in ",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-scale-codec"},"Section A.2.2."),". Therefore all runtime entrypoints have the following identical Wasm function signatures:"),(0,p.kt)("pre",null,(0,p.kt)("code",{parentName:"pre"},"(func $runtime_entrypoint (param $data i32) (param $len i32) (result i64))\n")),(0,p.kt)("p",null,"In each invocation of a Runtime entrypoints, the argument(s) which are supposed to be sent to the entrypoint, need to be SCALE encoded into a byte array ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," (",(0,p.kt)("a",{parentName:"p",href:"id-cryptography-encoding#sect-scale-codec"},"Section A.2.2."),") and copied into a section of Wasm shared memory managed by the shared allocator described in ",(0,p.kt)("a",{parentName:"p",href:"chap-state#sect-memory-management"},"Section 2.6.3.1."),"."),(0,p.kt)("p",null,"When the Wasm method, corresponding to the entrypoint, is invoked, two integers are passed as arguments. The first argument is set to the memory address of the byte array ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B"))))))," in Wasm memory. The second argument sets the length of the encoded data stored in ",(0,p.kt)("span",{parentName:"p",className:"math math-inline"},(0,p.kt)("span",{parentName:"span",className:"katex"},(0,p.kt)("span",{parentName:"span",className:"katex-mathml"},(0,p.kt)("math",{parentName:"span",xmlns:"http://www.w3.org/1998/Math/MathML"},(0,p.kt)("semantics",{parentName:"math"},(0,p.kt)("mrow",{parentName:"semantics"},(0,p.kt)("mi",{parentName:"mrow"},"B")),(0,p.kt)("annotation",{parentName:"semantics",encoding:"application/x-tex"},"{B}")))),(0,p.kt)("span",{parentName:"span",className:"katex-html","aria-hidden":"true"},(0,p.kt)("span",{parentName:"span",className:"base"},(0,p.kt)("span",{parentName:"span",className:"strut",style:{height:"0.6833em"}}),(0,p.kt)("span",{parentName:"span",className:"mord"},(0,p.kt)("span",{parentName:"span",className:"mord mathnormal",style:{marginRight:"0.05017em"}},"B")))))),"."),(0,p.kt)("h4",{id:"sect-runtime-return-value"},"2.6.3.3. Receiving Data from a Runtime Entrypoint"),(0,p.kt)("p",null,"The value which is returned from the invocation is an integer, representing two consecutive integers in which the least significant one indicates the pointer to the offset of the result returned by the entrypoint encoded in SCALE codec in the memory buffer. The most significant one provides the size of the blob."),(0,p.kt)("h4",{id:"sect-runtime-version-custom-section"},"2.6.3.4. Runtime Version Custom Section"),(0,p.kt)("p",null,"For newer Runtimes, the Runtime version (",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api#defn-rt-core-version"},"Section C.4.1."),") can be read directly from the ",(0,p.kt)("a",{parentName:"p",href:"https://webassembly.github.io/spec/core/appendix/custom"},"Wasm custom section")," with the name ",(0,p.kt)("inlineCode",{parentName:"p"},"runtime_version.")," The content is a SCALE encoded structure as described in ",(0,p.kt)("a",{parentName:"p",href:"chap-runtime-api#defn-rt-core-version"},"Section C.4.1."),"."),(0,p.kt)("p",null,"Retrieving the Runtime version this way is preferred over calling the ",(0,p.kt)("inlineCode",{parentName:"p"},"Core_version")," entrypoint since it involves significantly less overhead."))}B.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.50d86ac3.js b/assets/js/runtime~main.aadd54e1.js similarity index 96% rename from assets/js/runtime~main.50d86ac3.js rename to assets/js/runtime~main.aadd54e1.js index d7428bc43..29ad90176 100644 --- a/assets/js/runtime~main.50d86ac3.js +++ b/assets/js/runtime~main.aadd54e1.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,t,r,f,c={},d={};function o(e){var a=d[e];if(void 0!==a)return a.exports;var t=d[e]={exports:{}};return c[e].call(t.exports,t,t.exports,o),t.exports}o.m=c,e=[],o.O=(a,t,r,f)=>{if(!t){var c=1/0;for(i=0;i=f)&&Object.keys(o.O).every((e=>o.O[e](t[b])))?t.splice(b--,1):(d=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,r,f]},o.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return o.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var f=Object.create(null);o.r(f);var c={};a=a||[null,t({}),t([]),t(t)];for(var d=2&r&&e;"object"==typeof d&&!~a.indexOf(d);d=t(d))Object.getOwnPropertyNames(d).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,o.d(f,c),f},o.d=(e,a)=>{for(var t in a)o.o(a,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((a,t)=>(o.f[t](e,a),a)),[])),o.u=e=>"assets/js/"+({6:"3fc5deb0",39:"8806c109",53:"935f2afb",102:"6794d4cd",127:"ede3a018",128:"be9e4987",179:"d5f7a977",224:"def72480",237:"1df93b7f",277:"99343f5e",284:"42f94a72",285:"246f2c6f",308:"3db6f709",360:"8178bf32",368:"a94703ab",450:"3e3590b7",511:"b6b2a0fe",513:"1e5ed2e1",514:"7e93ca54",518:"a7bd4aaa",557:"a7d18364",559:"cef840d9",578:"fe5a5a35",608:"610fbc17",616:"946bd85a",620:"d2c8857d",627:"23abe487",661:"5e95c892",695:"2fadb683",809:"6ef3e587",835:"97b0291c",843:"68e633d4",849:"41d3bc71",918:"17896441",927:"013f92d8",983:"ba8b3534"}[e]||e)+"."+{6:"694aab70",39:"b53643ea",53:"b831cecb",102:"73eab9f4",119:"74d93b00",127:"c1310bd4",128:"768ae842",179:"1faa96c1",224:"90f18303",237:"fc93780e",277:"a332a31b",284:"12fa37f9",285:"767bdc9c",308:"bd934ed2",316:"ace90886",360:"96dc5261",368:"0a5571cd",450:"c9eefdea",487:"486d94e6",511:"7e822fb3",513:"09e0e972",514:"ea061ae3",518:"c65a6d46",557:"40d12544",559:"c1c5cad1",578:"a77fc87d",608:"837c256e",616:"5706d008",620:"44b873b2",627:"4924619b",645:"5836aa61",661:"2bba9759",695:"ac3521b5",724:"7841dd52",772:"3d8c0c43",780:"556624c2",809:"a46b19d7",835:"b4a4068b",843:"b74daa08",849:"8b9b3205",894:"33bf68f8",918:"c18f9ce0",927:"e5210084",945:"724fb0c3",983:"32635c8d"}[e]+".js",o.miniCssF=e=>{},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},f="spec-website:",o.l=(e,a,t,c)=>{if(r[e])r[e].push(a);else{var d,b;if(void 0!==t)for(var n=document.getElementsByTagName("script"),i=0;i{d.onerror=d.onload=null,clearTimeout(s);var f=r[e];if(delete r[e],d.parentNode&&d.parentNode.removeChild(d),f&&f.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=l.bind(null,d.onerror),d.onload=l.bind(null,d.onload),b&&document.head.appendChild(d)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/",o.gca=function(e){return e={17896441:"918","3fc5deb0":"6","8806c109":"39","935f2afb":"53","6794d4cd":"102",ede3a018:"127",be9e4987:"128",d5f7a977:"179",def72480:"224","1df93b7f":"237","99343f5e":"277","42f94a72":"284","246f2c6f":"285","3db6f709":"308","8178bf32":"360",a94703ab:"368","3e3590b7":"450",b6b2a0fe:"511","1e5ed2e1":"513","7e93ca54":"514",a7bd4aaa:"518",a7d18364:"557",cef840d9:"559",fe5a5a35:"578","610fbc17":"608","946bd85a":"616",d2c8857d:"620","23abe487":"627","5e95c892":"661","2fadb683":"695","6ef3e587":"809","97b0291c":"835","68e633d4":"843","41d3bc71":"849","013f92d8":"927",ba8b3534:"983"}[e]||e,o.p+o.u(e)},(()=>{var e={303:0,532:0};o.f.j=(a,t)=>{var r=o.o(e,a)?e[a]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(303|532)$/.test(a))e[a]=0;else{var f=new Promise(((t,f)=>r=e[a]=[t,f]));t.push(r[2]=f);var c=o.p+o.u(a),d=new Error;o.l(c,(t=>{if(o.o(e,a)&&(0!==(r=e[a])&&(e[a]=void 0),r)){var f=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;d.message="Loading chunk "+a+" failed.\n("+f+": "+c+")",d.name="ChunkLoadError",d.type=f,d.request=c,r[1](d)}}),"chunk-"+a,a)}},o.O.j=a=>0===e[a];var a=(a,t)=>{var r,f,c=t[0],d=t[1],b=t[2],n=0;if(c.some((a=>0!==e[a]))){for(r in d)o.o(d,r)&&(o.m[r]=d[r]);if(b)var i=b(o)}for(a&&a(t);n{"use strict";var e,a,t,r,f,c={},d={};function o(e){var a=d[e];if(void 0!==a)return a.exports;var t=d[e]={exports:{}};return c[e].call(t.exports,t,t.exports,o),t.exports}o.m=c,e=[],o.O=(a,t,r,f)=>{if(!t){var c=1/0;for(i=0;i=f)&&Object.keys(o.O).every((e=>o.O[e](t[b])))?t.splice(b--,1):(d=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,r,f]},o.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return o.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var f=Object.create(null);o.r(f);var c={};a=a||[null,t({}),t([]),t(t)];for(var d=2&r&&e;"object"==typeof d&&!~a.indexOf(d);d=t(d))Object.getOwnPropertyNames(d).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,o.d(f,c),f},o.d=(e,a)=>{for(var t in a)o.o(a,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((a,t)=>(o.f[t](e,a),a)),[])),o.u=e=>"assets/js/"+({6:"3fc5deb0",39:"8806c109",53:"935f2afb",102:"6794d4cd",127:"ede3a018",128:"be9e4987",179:"d5f7a977",224:"def72480",237:"1df93b7f",277:"99343f5e",284:"42f94a72",285:"246f2c6f",308:"3db6f709",360:"8178bf32",368:"a94703ab",450:"3e3590b7",511:"b6b2a0fe",513:"1e5ed2e1",514:"7e93ca54",518:"a7bd4aaa",557:"a7d18364",559:"cef840d9",578:"fe5a5a35",608:"610fbc17",616:"946bd85a",620:"d2c8857d",627:"23abe487",661:"5e95c892",695:"2fadb683",809:"6ef3e587",835:"97b0291c",843:"68e633d4",849:"41d3bc71",918:"17896441",927:"013f92d8",983:"ba8b3534"}[e]||e)+"."+{6:"694aab70",39:"b53643ea",53:"b831cecb",102:"73eab9f4",119:"74d93b00",127:"c1310bd4",128:"768ae842",179:"1faa96c1",224:"90f18303",237:"41039066",277:"a332a31b",284:"12fa37f9",285:"767bdc9c",308:"bd934ed2",316:"ace90886",360:"96dc5261",368:"0a5571cd",450:"c9eefdea",487:"486d94e6",511:"7e822fb3",513:"09e0e972",514:"48d8e0b8",518:"c65a6d46",557:"40d12544",559:"c1c5cad1",578:"a77fc87d",608:"837c256e",616:"5706d008",620:"44b873b2",627:"4924619b",645:"5836aa61",661:"2bba9759",695:"ac3521b5",724:"7841dd52",772:"3d8c0c43",780:"556624c2",809:"a46b19d7",835:"b4a4068b",843:"b74daa08",849:"8b9b3205",894:"33bf68f8",918:"c18f9ce0",927:"e5210084",945:"724fb0c3",983:"32635c8d"}[e]+".js",o.miniCssF=e=>{},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},f="spec-website:",o.l=(e,a,t,c)=>{if(r[e])r[e].push(a);else{var d,b;if(void 0!==t)for(var n=document.getElementsByTagName("script"),i=0;i{d.onerror=d.onload=null,clearTimeout(s);var f=r[e];if(delete r[e],d.parentNode&&d.parentNode.removeChild(d),f&&f.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=l.bind(null,d.onerror),d.onload=l.bind(null,d.onload),b&&document.head.appendChild(d)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/",o.gca=function(e){return e={17896441:"918","3fc5deb0":"6","8806c109":"39","935f2afb":"53","6794d4cd":"102",ede3a018:"127",be9e4987:"128",d5f7a977:"179",def72480:"224","1df93b7f":"237","99343f5e":"277","42f94a72":"284","246f2c6f":"285","3db6f709":"308","8178bf32":"360",a94703ab:"368","3e3590b7":"450",b6b2a0fe:"511","1e5ed2e1":"513","7e93ca54":"514",a7bd4aaa:"518",a7d18364:"557",cef840d9:"559",fe5a5a35:"578","610fbc17":"608","946bd85a":"616",d2c8857d:"620","23abe487":"627","5e95c892":"661","2fadb683":"695","6ef3e587":"809","97b0291c":"835","68e633d4":"843","41d3bc71":"849","013f92d8":"927",ba8b3534:"983"}[e]||e,o.p+o.u(e)},(()=>{var e={303:0,532:0};o.f.j=(a,t)=>{var r=o.o(e,a)?e[a]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(303|532)$/.test(a))e[a]=0;else{var f=new Promise(((t,f)=>r=e[a]=[t,f]));t.push(r[2]=f);var c=o.p+o.u(a),d=new Error;o.l(c,(t=>{if(o.o(e,a)&&(0!==(r=e[a])&&(e[a]=void 0),r)){var f=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;d.message="Loading chunk "+a+" failed.\n("+f+": "+c+")",d.name="ChunkLoadError",d.type=f,d.request=c,r[1](d)}}),"chunk-"+a,a)}},o.O.j=a=>0===e[a];var a=(a,t)=>{var r,f,c=t[0],d=t[1],b=t[2],n=0;if(c.some((a=>0!==e[a]))){for(r in d)o.o(d,r)&&(o.m[r]=d[r]);if(b)var i=b(o)}for(a&&a(t);nAppendix B: Host API | Polkadot Protocol Specification - + diff --git a/chap-networking.html b/chap-networking.html index 031ad0d4a..0784db9aa 100644 --- a/chap-networking.html +++ b/chap-networking.html @@ -6,7 +6,7 @@ 4. Networking | Polkadot Protocol Specification - + diff --git a/chap-overview.html b/chap-overview.html index 8ece51b56..9d7e16d01 100644 --- a/chap-overview.html +++ b/chap-overview.html @@ -6,7 +6,7 @@ 1. Overview | Polkadot Protocol Specification - + diff --git a/chap-runtime-api.html b/chap-runtime-api.html index 6a488ba54..46aeea4d4 100644 --- a/chap-runtime-api.html +++ b/chap-runtime-api.html @@ -6,7 +6,7 @@ Appendix C: Runtime API | Polkadot Protocol Specification - + diff --git a/chap-state.html b/chap-state.html index 00829a6ae..9749a5ff3 100644 --- a/chap-state.html +++ b/chap-state.html @@ -6,12 +6,12 @@ 2. States and Transitions | Polkadot Protocol Specification - +
-

2. States and Transitions

2.1. Introduction

Definition 1. Discrete State Machine (DSM)

A Discrete State Machine (DSM) is a state transition system that admits a starting state and whose set of states and set of transitions are countable. Formally, it is a tuple of

(Σ,S,s0,δ)(\Sigma, S, s_0, \delta)

where

  • Σ\Sigma is the countable set of all possible inputs.

  • S{S} is a countable set of all possible states.

  • s0S{s}_{{0}}\in{S} is the initial state.

  • δ\delta is the state-transition function, known as Runtime in the Polkadot vocabulary, such that

δ:S×ΣS\delta : S \times \Sigma \rightarrow S
Definition 2. Path Graph

A path graph or a path of n{n} nodes, formally referred to as Pn{P}_{{n}}, is a tree with two nodes of vertex degree 1 and the other n-2 nodes of vertex degree 2. Therefore, Pn{P}_{{n}} can be represented by sequences of (v1,,vn){\left({v}_{{1}},\ldots,{v}_{{n}}\right)} where ei=(vi,vi+1){e}_{{i}}={\left({v}_{{i}},{v}_{{{i}+{1}}}\right)} for 1in1{1}\le{i}\le{n}-{1} is the edge which connect vi{v}_{{i}} and vi+1{v}_{{{i}+{1}}}.

Definition 3. Blockchain

A blockchain C{C} is a directed path graph. Each node of the graph is called Block and indicated by B{B}. The unique sink of C{C} is called Genesis Block, and the source is called the Head\text{Head} of C{C}. For any vertex (B1,B2){\left({B}_{{1}},{B}_{{2}}\right)} where B1B2{B}_{{1}}\rightarrow{B}_{{2}} we say B2{B}_{{2}} is the parent of B1{B}_{{1}}, which is the child of B2{B}_{{2}}, respectively. We indicate that by:

B2:=P(B1)B_2 := P(B_1)

The parent refers to the child by its hash value (Definition 10), making the path graph tamper-proof since any modifications to the child would result in its hash value being changed.

info

The term "blockchain" can also be used as a way to refer to the network or system that interacts or maintains the directed path graph.

2.1.1. Block Tree

In the course of formation of a (distributed) blockchain, it is possible that the chain forks into multiple subchains in various block positions. We refer to this structure as a block tree:

Definition 4. Block

The block tree of a blockchain, denoted by BT{B}{T} is the union of all different versions of the blockchain observed by the Polkadot Host such that every block is a node in the graph and B1{B}_{{1}} is connected to B2{B}_{{2}} if B1{B}_{{1}} is a parent of B2{B}_{{2}}.

When a block in the block tree gets finalized, there is an opportunity to prune the block tree to free up resources into branches of blocks that do not contain all of the finalized blocks or those that can never be finalized in the blockchain (Chapter 6).

Definition 5. Pruned Block Tree

By Pruned Block Tree, denoted by PBT\text{PBT}, we refer to a subtree of the block tree obtained by eliminating all branches which do not contain the most recent finalized blocks (Definition 85). By pruning, we refer to the procedure of BTPBT{B}{T}\leftarrow\text{PBT}. When there is no risk of ambiguity and it is safe to prune BT, we use BT\text{BT} to refer to PBT\text{PBT}.

Definition 6 gives the means to highlight various branches of the block tree.

Definition 6. Subchain

Let G{G} be the root of the block tree and B{B} be one of its nodes. By Chain(B)\text{Chain}{\left({B}\right)}, we refer to the path graph from G{G} to B{B} in BT\text{BT}. Conversely, for a chain C=Chain(B){C}=\text{Chain}{\left({B}\right)}, we define the head of C{C} to be B{B}, formally noted as B=C{B}\:=\overline{{C}}. We define C{\left|{C}\right|}, the length of C{C} as a path graph.

If B{B}' is another node on Chain(B)\text{Chain}{\left({B}\right)}, then by SubChain(B,B)\text{SubChain}{\left({B}',{B}\right)} we refer to the subgraph of Chain(B)\text{Chain}{\left({B}\right)} path graph which contains B{B} and ends at B{B}' and by SubChain(B,B){\left|\text{SubChain}{\left({B}',{B}\right)}\right|} we refer to its length.

Accordingly, CB(BT){\mathbb{{C}}}_{{{B}'}}{\left({B}{T}\right)} is the set of all subchains of BT{B}{T} rooted at B{B}'. The set of all chains of BT{B}{T},CG(BT){\mathbb{{C}}}_{{G}}{\left({B}{T}\right)} is denoted by C(BT){\mathbb{{C}}}{\left({B}{T}\right)} or simply C{\mathbb{{C}}}, for the sake of brevity.

Definition 7. Longest Chain

We define the following complete order over C{\mathbb{{C}}} as follows. For chains C1,C2C{C}_{{1}},{C}_{{2}}\in{\mathbb{{C}}} we have that C1>C2{C}_{{1}}>{C}_{{2}} if either C1>C2{\left|{C}_{{1}}\right|}>{\left|{C}_{{2}}\right|} or C1=C2{\left|{C}_{{1}}\right|}={\left|{C}_{{2}}\right|}.

If C1=C2{\left|{C}_{{1}}\right|}={\left|{C}_{{2}}\right|} we say C1>C2{C}_{{1}}>{C}_{{2}} if and only if the block arrival time (Definition 63) of C1\overline{{C}}_{{1}} is less than the block arrival time of C2\overline{{C}}_{{2}}, from the subjective perspective of the Host. We define the Longest-Chain(BT)\text{Longest-Chain}{\left({B}{T}\right)} to be the maximum chain given by this order.

Definition 8. Longest Path

Longest-Path(BT)\text{Longest-Path}{\left({B}{T}\right)} returns the path graph of BT{B}{T} which is the longest among all paths in BT{B}{T} and has the earliest block arrival time (Definition 63). Deepest-Leaf(BT)\text{Deepest-Leaf}{\left({B}{T}\right)} returns the head of Longest-Path(BT)\text{Longest-Path}{\left({B}{T}\right)} chain.

Because every block in the blockchain contains a reference to its parent, it is easy to see that the block tree is de facto a tree. A block tree naturally imposes partial order relationships on the blocks as follows:

Definition 9. Descendant and Ancestor

We say B{B} is descendant of B{B}', formally noted as B>B{B}>{B}', if (B>B)C{\left({\left|{B}\right|}>{\left|{B}'\right|}\right)}\in{C}. Respectively, we say that B{B}' is an ancestor of B{B}, formally noted as B<B{B}<{B}', if (B<B)C{\left({\left|{B}\right|}<{\left|{B}'\right|}\right)}\in{C}.

2.2. State Replication

Polkadot nodes replicate each other’s state by syncing the history of the extrinsics. This, however, is only practical if a large set of transactions are batched and synced at the time. The structure in which the transactions are journaled and propagated is known as a block of extrinsics (Section 2.2.1.). Like any other replicated state machine, state inconsistency can occur between Polkadot replicas. Section 2.4.5. gives an overview of how a Polkadot Host node manages multiple variants of the state.

2.2.1. Block Format

A Polkadot block consists a block header (Definition 10) and a block body (Definition 13). The block body, in turn, is made up out of extrinsics , which represent the generalization of the concept of transactions. Extrinsics can contain any set of external data the underlying chain wishes to validate and track.

Image 1. Block
cluster__blockBlockblock__seqpossizetypeid0...BlockHeaderheader......BlockBodybodyblock_header__seqBlockHeaderblock__seq:header_type->block_header__seqblock_body__seqBlockBodyblock__seq:body_type->block_body__seq
Definition 10. Block Header

The header of block B, Hh(B){H}_{{h}}{\left({B}\right)}, is a 5-tuple containing the following elements:

  • parent_hash: formally indicated as Hp{H}_{{p}}, is the 32-byte Blake2b hash (Section A.1.1.1.) of the SCALE encoded parent block header (Definition 12).

  • number: formally indicated as Hi{H}_{{i}}, is an integer, which represents the index of the current block in the chain. It is equal to the number of the ancestor blocks. The genesis state has the number 0.

  • state_root: formally indicated as Hr{H}_{{r}}, is the root of the Merkle trie, whose leaves implement the storage for the system.

  • extrinsics_root: is the field which is reserved for the Runtime to validate the integrity of the extrinsics composing the block body. For example, it can hold the root hash of the Merkle trie which stores an ordered list of the extrinsics being validated in this block. The extrinsics_root is set by the runtime and its value is opaque to the Polkadot Host. This element is formally referred to as He{H}_{{e}}.

  • digest: this field is used to store any chain-specific auxiliary data, which could help the light clients interact with the block without the need of accessing the full storage as well as consensus-related data including the block signature. This field is indicated as Hd{H}_{{d}} (Definition 11).

Image 2. Block Header
cluster__block_headerBlockHeaderblock_header__seqpossizetypeid032parent_hash32...Scale::CompactIntnumber...32state_root...32extrinsic_root......Scale::CompactIntnum_digests......Digestdigestsrepeat num_digests.value timesdigest__seqDigestblock_header__seq:digests_type->digest__seq
Definition 11. Header Digest

The header digest of block B{B} formally referred to by Hd(B){H}_{{d}}{\left({B}\right)} is an array of digest items Hdi{{H}_{{d}}^{{i}}}’s, known as digest items of varying data type (Definition 178) such that:

Hd(B):=Hd1,...,HdnH_d(B) := H_d^1, ..., H_d^n

where each digest item can hold one of the following type identifiers:

Hdi={4  (t,id,m)5  (t,id,m)6  (t,id,m)8  (t)H_d^i = \begin{cases} 4 \text{ } \rarr \text{ } (t, \text{id}, m) \\ 5 \text{ } \rarr \text{ } (t, \text{id}, m) \\ 6 \text{ } \rarr \text{ } (t, \text{id}, m) \\ 8 \text{ } \rarr \text{ } (t) \end{cases}

where

  • id\text{id} is a 4-byte ASCII encoded consensus engine identifier

  • m\text{m} is a SCALE-encoded byte array containing the message payload

t=4t = 4 Consensus Message, contains scale-encoded message mm from the Runtime to the consensus engine. The receiving engine is determined by the id identifier:

t=5t = 5 Seal, is produced by the consensus engine and proves the authorship of the block producer. The engine used for this is provided through id (at the moment, BABE), while mm contains the scale-encoded signature (Definition 66) of the block producer. In particular, the Seal digest item must be the last item in the digest array and must be stripped off by the Polkadot Host before the block is submitted to any Runtime function, including for validation. The Seal must be added back to the digest afterward.

t=6t = 6 Pre-Runtime digest, contains messages from the consensus engines to the runtime. Currently only used by BABE to pass the scale encoded BABE Header (Definition 65) in mm with id = BABE.

t=8t = 8 Runtime Environment Updated digest, indicates that changes regarding the Runtime code or heap pages (Section 2.6.3.1.) occurred. No additional data is provided.

Image 3. Digest
cluster__digestDigestcluster__pre_runtimeDigest::PreRuntimecluster__post_runtimeDigest::PostRuntimecluster__sealDigest::Sealcluster__emptyDigest::Emptydigest__seqpossizetypeid01u1→TypeIdtype1...switch (type)valuedigest__seq:type_type->digest__seq:value_typedigest__seq_value_switchcasetype:type_id_pre_runtimePreRuntime:type_id_post_runtimePostRuntime:type_id_sealSeal:type_id_runtime_updatedEmptydigest__seq:value_type->digest__seq_value_switchpre_runtime__seqpossizetypeid04str(ASCII)engine4...Scale::Bytespayloaddigest__seq_value_switch:case0->pre_runtime__seqpost_runtime__seqpossizetypeid04str(ASCII)engine4...Scale::Bytespayloaddigest__seq_value_switch:case1->post_runtime__seqseal__seqpossizetypeid04str(ASCII)engine4...Scale::Bytespayloaddigest__seq_value_switch:case2->seal__seqempty__seqpossizetypeiddigest__seq_value_switch:case3->empty__seq
Definition 12. Header Hash

The block header hash of block B{B}, Hh(B){H}_{{h}}{\left({B}\right)}, is the hash of the header of block B{B} encoded by simple codec:

Hh(B)=Blake2b(EncSC(Head(B)))\displaystyle{H}_{{h}}{\left({B}\right)}\:=\text{Blake2b}{\left(\text{Enc}_{{{S}{C}}}{\left(\text{Head}{\left({B}\right)}\right)}\right)}
Definition 13. Block Body

The block body consists of a sequence of extrinsics, each encoded as a byte array. The content of an extrinsic is completely opaque to the Polkadot Host. As such, from the point of the Polkadot Host, and is simply a SCALE encoded array of byte arrays. The body of Block B{B} represented as Body(B)\text{Body}{\left({B}\right)} is defined to be:

Body(B):=EncSC(E1,...,En)\text{Body}(B) := \text{Enc}_{SC}(E_1,...,E_n)

Where each EiB{E}_{{i}}\in{\mathbb{{B}}} is a SCALE encoded extrinsic.

Image 4. Block Body
cluster__block_bodyBlockBodycluster__transactionBlockBody::Transactionblock_body__seqpossizetypeid0...Scale::CompactIntnum_transactions......Transactiontransactionsrepeat num_transactions.value timestransaction__seqpossizetypeid0...Scale::CompactIntlen_data...len_data.valuedatablock_body__seq:transactions_type->transaction__seq

2.3. Extrinsics

The block body consists of an array of extrinsics. In a broad sense, extrinsics are data from outside of the state which can trigger state transitions. This section describes extrinsics and their inclusion into blocks.

2.3.1. Preliminaries

The extrinsics are divided into two main categories defined as follows:

Transaction extrinsics are extrinsics which are signed using either of the key types (Section A.1.4.) and broadcasted between the nodes. Inherent extrinsics are unsigned extrinsics that are generated by Polkadot Host and only included in the blocks produced by the node itself. They are broadcasted as part of the produced blocks rather than being gossiped as individual extrinsics.

The Polkadot Host does not specify or limit the internals of each extrinsics and those are defined and dealt with by the Runtime (Definition 1). From the Polkadot Host point of view, each extrinsics is simply a SCALE-encoded blob (Section A.2.2.).

2.3.2. Transactions

Transaction are submitted and exchanged through Transactions network messages (Section 4.8.5.). Upon receiving a Transactions message, the Polkadot Host decodes the SCALE-encoded blob and splits it into individually SCALE-encoded transactions.

Alternatively, transactions can be submitted to the host by off-chain worker through the Host API (Section B.6.2.).

Any new transaction should be submitted to the Runtime (Section C.7.1.). This will allow the Polkadot Host to check the validity of the received transaction against the current state and if it should be gossiped to other peers. If it considers the submitted transaction as valid, the Polkadot Host should store it for inclusion in future blocks. The whole process of handling new transactions is described in more detail by Validate-Transactions-and-Store.

Additionally, valid transactions that are supposed to be gossiped are propagated to connected peers of the Polkadot Host. While doing so the Polkadot Host should keep track of peers already aware of each transaction. This includes peers which have already gossiped the transaction to the node as well as those to whom the transaction has already been sent. This behavior is mandated to avoid resending duplicates and unnecessarily overloading the network. To that aim, the Polkadot Host should keep a transaction pool and a transaction queue defined as follows:

Definition 14. Transaction Queue

The Transaction Queue of a block producer node, formally referred to as TQ{T}{Q} is a data structure which stores the transactions ready to be included in a block sorted according to their priorities (Section 4.8.5.). The Transaction Pool, formally referred to as TP{T}{P}, is a hash table in which the Polkadot Host keeps the list of all valid transactions not in the transaction queue.

Furthermore, Validate-Transactions-and-Store updates the transaction pool and the transaction queue according to the received message:

Algorithm 1. Validate Transactions and Store
\begin{algorithm}
+

2. States and Transitions

2.1. Introduction

Definition 1. Discrete State Machine (DSM)

A Discrete State Machine (DSM) is a state transition system that admits a starting state and whose set of states and set of transitions are countable. Formally, it is a tuple of

(Σ,S,s0,δ)(\Sigma, S, s_0, \delta)

where

  • Σ\Sigma is the countable set of all possible inputs.

  • S{S} is a countable set of all possible states.

  • s0S{s}_{{0}}\in{S} is the initial state.

  • δ\delta is the state-transition function, known as Runtime in the Polkadot vocabulary, such that

δ:S×ΣS\delta : S \times \Sigma \rightarrow S
Definition 2. Path Graph

A path graph or a path of n{n} nodes, formally referred to as Pn{P}_{{n}}, is a tree with two nodes of vertex degree 1 and the other n-2 nodes of vertex degree 2. Therefore, Pn{P}_{{n}} can be represented by sequences of (v1,,vn){\left({v}_{{1}},\ldots,{v}_{{n}}\right)} where ei=(vi,vi+1){e}_{{i}}={\left({v}_{{i}},{v}_{{{i}+{1}}}\right)} for 1in1{1}\le{i}\le{n}-{1} is the edge which connect vi{v}_{{i}} and vi+1{v}_{{{i}+{1}}}.

Definition 3. Blockchain

A blockchain C{C} is a directed path graph. Each node of the graph is called Block and indicated by B{B}. The unique sink of C{C} is called Genesis Block, and the source is called the Head\text{Head} of C{C}. For any vertex (B1,B2){\left({B}_{{1}},{B}_{{2}}\right)} where B1B2{B}_{{1}}\rightarrow{B}_{{2}} we say B2{B}_{{2}} is the parent of B1{B}_{{1}}, which is the child of B2{B}_{{2}}, respectively. We indicate that by:

B2:=P(B1)B_2 := P(B_1)

The parent refers to the child by its hash value (Definition 10), making the path graph tamper-proof since any modifications to the child would result in its hash value being changed.

info

The term "blockchain" can also be used as a way to refer to the network or system that interacts or maintains the directed path graph.

2.1.1. Block Tree

In the course of formation of a (distributed) blockchain, it is possible that the chain forks into multiple subchains in various block positions. We refer to this structure as a block tree:

Definition 4. Block

The block tree of a blockchain, denoted by BT{B}{T} is the union of all different versions of the blockchain observed by the Polkadot Host such that every block is a node in the graph and B1{B}_{{1}} is connected to B2{B}_{{2}} if B1{B}_{{1}} is a parent of B2{B}_{{2}}.

When a block in the block tree gets finalized, there is an opportunity to prune the block tree to free up resources into branches of blocks that do not contain all of the finalized blocks or those that can never be finalized in the blockchain (Chapter 6).

Definition 5. Pruned Block Tree

By Pruned Block Tree, denoted by PBT\text{PBT}, we refer to a subtree of the block tree obtained by eliminating all branches which do not contain the most recent finalized blocks (Definition 85). By pruning, we refer to the procedure of BTPBT{B}{T}\leftarrow\text{PBT}. When there is no risk of ambiguity and it is safe to prune BT, we use BT\text{BT} to refer to PBT\text{PBT}.

Definition 6 gives the means to highlight various branches of the block tree.

Definition 6. Subchain

Let G{G} be the root of the block tree and B{B} be one of its nodes. By Chain(B)\text{Chain}{\left({B}\right)}, we refer to the path graph from G{G} to B{B} in BT\text{BT}. Conversely, for a chain C=Chain(B){C}=\text{Chain}{\left({B}\right)}, we define the head of C{C} to be B{B}, formally noted as B=C{B}\:=\overline{{C}}. We define C{\left|{C}\right|}, the length of C{C} as a path graph.

If B{B}' is another node on Chain(B)\text{Chain}{\left({B}\right)}, then by SubChain(B,B)\text{SubChain}{\left({B}',{B}\right)} we refer to the subgraph of Chain(B)\text{Chain}{\left({B}\right)} path graph which contains B{B} and ends at B{B}' and by SubChain(B,B){\left|\text{SubChain}{\left({B}',{B}\right)}\right|} we refer to its length.

Accordingly, CB(BT){\mathbb{{C}}}_{{{B}'}}{\left({B}{T}\right)} is the set of all subchains of BT{B}{T} rooted at B{B}'. The set of all chains of BT{B}{T},CG(BT){\mathbb{{C}}}_{{G}}{\left({B}{T}\right)} is denoted by C(BT){\mathbb{{C}}}{\left({B}{T}\right)} or simply C{\mathbb{{C}}}, for the sake of brevity.

Definition 7. Longest Chain

We define the following complete order over C{\mathbb{{C}}} as follows. For chains C1,C2C{C}_{{1}},{C}_{{2}}\in{\mathbb{{C}}} we have that C1>C2{C}_{{1}}>{C}_{{2}} if either C1>C2{\left|{C}_{{1}}\right|}>{\left|{C}_{{2}}\right|} or C1=C2{\left|{C}_{{1}}\right|}={\left|{C}_{{2}}\right|}.

If C1=C2{\left|{C}_{{1}}\right|}={\left|{C}_{{2}}\right|} we say C1>C2{C}_{{1}}>{C}_{{2}} if and only if the block arrival time (Definition 63) of C1\overline{{C}}_{{1}} is less than the block arrival time of C2\overline{{C}}_{{2}}, from the subjective perspective of the Host. We define the Longest-Chain(BT)\text{Longest-Chain}{\left({B}{T}\right)} to be the maximum chain given by this order.

Definition 8. Longest Path

Longest-Path(BT)\text{Longest-Path}{\left({B}{T}\right)} returns the path graph of BT{B}{T} which is the longest among all paths in BT{B}{T} and has the earliest block arrival time (Definition 63). Deepest-Leaf(BT)\text{Deepest-Leaf}{\left({B}{T}\right)} returns the head of Longest-Path(BT)\text{Longest-Path}{\left({B}{T}\right)} chain.

Because every block in the blockchain contains a reference to its parent, it is easy to see that the block tree is de facto a tree. A block tree naturally imposes partial order relationships on the blocks as follows:

Definition 9. Descendant and Ancestor

We say B{B} is descendant of B{B}', formally noted as B>B{B}>{B}', if (B>B)C{\left({\left|{B}\right|}>{\left|{B}'\right|}\right)}\in{C}. Respectively, we say that B{B}' is an ancestor of B{B}, formally noted as B<B{B}<{B}', if (B<B)C{\left({\left|{B}\right|}<{\left|{B}'\right|}\right)}\in{C}.

2.2. State Replication

Polkadot nodes replicate each other’s states by syncing the histories of the extrinsics. This, however, is only practical if a large set of transactions are batched and synced at the same time. The structure in which the transactions are journaled and propagated is known as a block of extrinsics (Section 2.2.1.). Like any other replicated state machine, state inconsistencies can occur between Polkadot replicas. Section 2.4.5. gives an overview of how a Polkadot Host node manages multiple variants of the state.

2.2.1. Block Format

A Polkadot block consists a block header (Definition 10) and a block body (Definition 13). The block body, in turn, is made up out of extrinsics , which represent the generalization of the concept of transactions. Extrinsics can contain any set of external data the underlying chain wishes to validate and track.

Image 1. Block
cluster__blockBlockblock__seqpossizetypeid0...BlockHeaderheader......BlockBodybodyblock_header__seqBlockHeaderblock__seq:header_type->block_header__seqblock_body__seqBlockBodyblock__seq:body_type->block_body__seq
Definition 10. Block Header

The header of block B, Hh(B){H}_{{h}}{\left({B}\right)}, is a 5-tuple containing the following elements:

  • parent_hash: formally indicated as Hp{H}_{{p}}, is the 32-byte Blake2b hash (Section A.1.1.1.) of the SCALE encoded parent block header (Definition 12).

  • number: formally indicated as Hi{H}_{{i}}, is an integer, which represents the index of the current block in the chain. It is equal to the number of the ancestor blocks. The genesis state has the number 0.

  • state_root: formally indicated as Hr{H}_{{r}}, is the root of the Merkle trie, whose leaves implement the storage for the system.

  • extrinsics_root: is the field which is reserved for the Runtime to validate the integrity of the extrinsics composing the block body. For example, it can hold the root hash of the Merkle trie which stores an ordered list of the extrinsics being validated in this block. The extrinsics_root is set by the runtime and its value is opaque to the Polkadot Host. This element is formally referred to as He{H}_{{e}}.

  • digest: this field is used to store any chain-specific auxiliary data, which could help the light clients interact with the block without the need of accessing the full storage as well as consensus-related data including the block signature. This field is indicated as Hd{H}_{{d}} (Definition 11).

Image 2. Block Header
cluster__block_headerBlockHeaderblock_header__seqpossizetypeid032parent_hash32...Scale::CompactIntnumber...32state_root...32extrinsic_root......Scale::CompactIntnum_digests......Digestdigestsrepeat num_digests.value timesdigest__seqDigestblock_header__seq:digests_type->digest__seq
Definition 11. Header Digest

The header digest of block B{B} formally referred to by Hd(B){H}_{{d}}{\left({B}\right)} is an array of digest items Hdi{{H}_{{d}}^{{i}}}’s, known as digest items of varying data type (Definition 178) such that:

Hd(B):=Hd1,...,HdnH_d(B) := H_d^1, ..., H_d^n

where each digest item can hold one of the following type identifiers:

Hdi={4  (t,id,m)5  (t,id,m)6  (t,id,m)8  (t)H_d^i = \begin{cases} 4 \text{ } \rarr \text{ } (t, \text{id}, m) \\ 5 \text{ } \rarr \text{ } (t, \text{id}, m) \\ 6 \text{ } \rarr \text{ } (t, \text{id}, m) \\ 8 \text{ } \rarr \text{ } (t) \end{cases}

where

  • id\text{id} is a 4-byte ASCII encoded consensus engine identifier

  • m\text{m} is a SCALE-encoded byte array containing the message payload

t=4t = 4 Consensus Message, contains scale-encoded message mm from the Runtime to the consensus engine. The receiving engine is determined by the id identifier:

t=5t = 5 Seal, is produced by the consensus engine and proves the authorship of the block producer. The engine used for this is provided through id (at the moment, BABE), while mm contains the scale-encoded signature (Definition 66) of the block producer. In particular, the Seal digest item must be the last item in the digest array and must be stripped off by the Polkadot Host before the block is submitted to any Runtime function, including for validation. The Seal must be added back to the digest afterward.

t=6t = 6 Pre-Runtime digest, contains messages from the consensus engines to the runtime. Currently only used by BABE to pass the scale encoded BABE Header (Definition 65) in mm with id = BABE.

t=8t = 8 Runtime Environment Updated digest, indicates that changes regarding the Runtime code or heap pages (Section 2.6.3.1.) occurred. No additional data is provided.

Image 3. Digest
cluster__digestDigestcluster__pre_runtimeDigest::PreRuntimecluster__post_runtimeDigest::PostRuntimecluster__sealDigest::Sealcluster__emptyDigest::Emptydigest__seqpossizetypeid01u1→TypeIdtype1...switch (type)valuedigest__seq:type_type->digest__seq:value_typedigest__seq_value_switchcasetype:type_id_pre_runtimePreRuntime:type_id_post_runtimePostRuntime:type_id_sealSeal:type_id_runtime_updatedEmptydigest__seq:value_type->digest__seq_value_switchpre_runtime__seqpossizetypeid04str(ASCII)engine4...Scale::Bytespayloaddigest__seq_value_switch:case0->pre_runtime__seqpost_runtime__seqpossizetypeid04str(ASCII)engine4...Scale::Bytespayloaddigest__seq_value_switch:case1->post_runtime__seqseal__seqpossizetypeid04str(ASCII)engine4...Scale::Bytespayloaddigest__seq_value_switch:case2->seal__seqempty__seqpossizetypeiddigest__seq_value_switch:case3->empty__seq
Definition 12. Header Hash

The block header hash of block B{B}, Hh(B){H}_{{h}}{\left({B}\right)}, is the hash of the header of block B{B} encoded by simple codec:

Hh(B)=Blake2b(EncSC(Head(B)))\displaystyle{H}_{{h}}{\left({B}\right)}\:=\text{Blake2b}{\left(\text{Enc}_{{{S}{C}}}{\left(\text{Head}{\left({B}\right)}\right)}\right)}
Definition 13. Block Body

The block body consists of a sequence of extrinsics, each encoded as a byte array. The content of an extrinsic is completely opaque to the Polkadot Host. As such, from the point of the Polkadot Host, and is simply a SCALE encoded array of byte arrays. The body of Block B{B} represented as Body(B)\text{Body}{\left({B}\right)} is defined to be:

Body(B):=EncSC(E1,...,En)\text{Body}(B) := \text{Enc}_{SC}(E_1,...,E_n)

Where each EiB{E}_{{i}}\in{\mathbb{{B}}} is a SCALE encoded extrinsic.

Image 4. Block Body
cluster__block_bodyBlockBodycluster__transactionBlockBody::Transactionblock_body__seqpossizetypeid0...Scale::CompactIntnum_transactions......Transactiontransactionsrepeat num_transactions.value timestransaction__seqpossizetypeid0...Scale::CompactIntlen_data...len_data.valuedatablock_body__seq:transactions_type->transaction__seq

2.3. Extrinsics

The block body consists of an array of extrinsics. In a broad sense, extrinsics are data from outside of the state which can trigger state transitions. This section describes extrinsics and their inclusion into blocks.

2.3.1. Preliminaries

The extrinsics are divided into two main categories defined as follows:

Transaction extrinsics are extrinsics which are signed using either of the key types (Section A.1.4.) and broadcasted between the nodes. Inherent extrinsics are unsigned extrinsics that are generated by Polkadot Host and only included in the blocks produced by the node itself. They are broadcasted as part of the produced blocks rather than being gossiped as individual extrinsics.

The Polkadot Host does not specify or limit the internals of each extrinsics and those are defined and dealt with by the Runtime (Definition 1). From the Polkadot Host point of view, each extrinsics is simply a SCALE-encoded blob (Section A.2.2.).

2.3.2. Transactions

Transaction are submitted and exchanged through Transactions network messages (Section 4.8.5.). Upon receiving a Transactions message, the Polkadot Host decodes the SCALE-encoded blob and splits it into individually SCALE-encoded transactions.

Alternatively, transactions can be submitted to the host by off-chain worker through the Host API (Section B.6.2.).

Any new transaction should be submitted to the Runtime (Section C.7.1.). This will allow the Polkadot Host to check the validity of the received transaction against the current state and if it should be gossiped to other peers. If it considers the submitted transaction as valid, the Polkadot Host should store it for inclusion in future blocks. The whole process of handling new transactions is described in more detail by Validate-Transactions-and-Store.

Additionally, valid transactions that are supposed to be gossiped are propagated to connected peers of the Polkadot Host. While doing so the Polkadot Host should keep track of peers already aware of each transaction. This includes peers which have already gossiped the transaction to the node as well as those to whom the transaction has already been sent. This behavior is mandated to avoid resending duplicates and unnecessarily overloading the network. To that aim, the Polkadot Host should keep a transaction pool and a transaction queue defined as follows:

Definition 14. Transaction Queue

The Transaction Queue of a block producer node, formally referred to as TQ{T}{Q} is a data structure which stores the transactions ready to be included in a block sorted according to their priorities (Section 4.8.5.). The Transaction Pool, formally referred to as TP{T}{P}, is a hash table in which the Polkadot Host keeps the list of all valid transactions not in the transaction queue.

Furthermore, Validate-Transactions-and-Store updates the transaction pool and the transaction queue according to the received message:

Algorithm 1. Validate Transactions and Store
\begin{algorithm}
 \caption{Validate-Transactions-and-Store}
 \begin{algorithmic}
     \state $L \leftarrow Dec_{SC}(M_T)$
diff --git a/chap-sync.html b/chap-sync.html
index 39c6db5f8..a044a6be0 100644
--- a/chap-sync.html
+++ b/chap-sync.html
@@ -6,7 +6,7 @@
 3. Synchronization | Polkadot Protocol Specification
 
 
-
+
 
 
 
diff --git a/chapter-anv.html b/chapter-anv.html
index a4ce4ffb1..3d8516d26 100644
--- a/chapter-anv.html
+++ b/chapter-anv.html
@@ -6,7 +6,7 @@
 8. Availability & Validity | Polkadot Protocol Specification
 
 
-
+
 
 
 
diff --git a/id-consensus.html b/id-consensus.html
index 33f1c8ec4..e60742d69 100644
--- a/id-consensus.html
+++ b/id-consensus.html
@@ -6,7 +6,7 @@
 11. Consensus | Polkadot Protocol Specification
 
 
-
+
 
 
 
diff --git a/id-cryptography-encoding.html b/id-cryptography-encoding.html
index 0d7aafd15..24824c7bb 100644
--- a/id-cryptography-encoding.html
+++ b/id-cryptography-encoding.html
@@ -6,7 +6,7 @@
 Appendix A: Cryptography & Encoding | Polkadot Protocol Specification
 
 
-
+
 
 
 
diff --git a/id-extrinsics.html b/id-extrinsics.html
index 6bf295ab4..a9311c709 100644
--- a/id-extrinsics.html
+++ b/id-extrinsics.html
@@ -6,7 +6,7 @@
 9. Extrinsics | Polkadot Protocol Specification
 
 
-
+
 
 
 
diff --git a/id-glossary.html b/id-glossary.html
index 29dc93d17..a26df7dc6 100644
--- a/id-glossary.html
+++ b/id-glossary.html
@@ -6,7 +6,7 @@
 Glossary | Polkadot Protocol Specification
 
 
-
+
 
 
 
diff --git a/id-polkadot-protocol.html b/id-polkadot-protocol.html
index 8f9bcaae8..a43f49881 100644
--- a/id-polkadot-protocol.html
+++ b/id-polkadot-protocol.html
@@ -6,7 +6,7 @@
 Polkadot Protocol | Polkadot Protocol Specification
 
 
-
+
 
 
 
diff --git a/id-weights.html b/id-weights.html
index 71ca74270..c19ecb0bc 100644
--- a/id-weights.html
+++ b/id-weights.html
@@ -6,7 +6,7 @@
 10. Weights | Polkadot Protocol Specification
 
 
-
+
 
 
 
diff --git a/index.html b/index.html
index 05e6e594a..b340a8de1 100644
--- a/index.html
+++ b/index.html
@@ -6,12 +6,12 @@
 Polkadot Protocol Specification | Polkadot Protocol Specification
 
 
-
+
 
 
 
 
-

Polkadot

Enabling Implementers - Version 0.2.1

+

Polkadot

Enabling Implementers - Version 0.2.1

diff --git a/part-polkadot-host.html b/part-polkadot-host.html index 5b07b8ab6..ca673f9aa 100644 --- a/part-polkadot-host.html +++ b/part-polkadot-host.html @@ -6,7 +6,7 @@ Polkadot Host | Polkadot Protocol Specification - + diff --git a/part-polkadot-runtime.html b/part-polkadot-runtime.html index c1ca47c17..b806fb684 100644 --- a/part-polkadot-runtime.html +++ b/part-polkadot-runtime.html @@ -6,7 +6,7 @@ Polkadot Runtime | Polkadot Protocol Specification - + diff --git a/sect-block-production.html b/sect-block-production.html index fad495d83..768cf7bb0 100644 --- a/sect-block-production.html +++ b/sect-block-production.html @@ -6,7 +6,7 @@ 5. Block Production | Polkadot Protocol Specification - + diff --git a/sect-finality.html b/sect-finality.html index a818bfd42..a6ed7e62e 100644 --- a/sect-finality.html +++ b/sect-finality.html @@ -6,7 +6,7 @@ 6. Finality | Polkadot Protocol Specification - + diff --git a/sect-lightclient.html b/sect-lightclient.html index fe477c5ba..efbceb01f 100644 --- a/sect-lightclient.html +++ b/sect-lightclient.html @@ -6,7 +6,7 @@ 7. Light Clients | Polkadot Protocol Specification - + diff --git a/sect-metadata.html b/sect-metadata.html index 9ee6bb660..d7e30a0f5 100644 --- a/sect-metadata.html +++ b/sect-metadata.html @@ -6,7 +6,7 @@ 12. Metadata | Polkadot Protocol Specification - +