Cortex.Wire.AdmissionArtifact.ReadyPhantom
On this page
Imports
Overview
Validator-ready phantom adapter accessors.
This page exposes product, boundary, bulk-replay, indexed-product, and record-product consequences for phantom adapter rows in a validator-ready artifact.
namespace Cortex.Wirenamespace AdmissionArtifactopen Cortex.Wire.ElaborationIRnamespace WireAdmissionArtifactValidator readiness exposes phantom-adapter row validity.
theorem validatorReady_phantomAdapter_valid
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.Valid :=
hReady.phantomAdaptersValid phantom hPhantomValidator readiness exposes phantom-adapter domain closure.
theorem validatorReady_phantomAdapter_domainClosed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
PhantomAdapterArtifact.DomainClosed artifact.nodes phantom :=
hReady.componentDomainsClosed.phantomAdaptersClosed phantom hPhantomValidator-ready phantom adapter nodes belong to the top-level node summary.
theorem validatorReady_phantomAdapter_nodeClosed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.node ∈ artifact.nodes :=
(validatorReady_phantomAdapter_domainClosed hReady hPhantom).nodeClosedValidator-ready phantom singular endpoints belong to the top-level node summary.
theorem validatorReady_phantomAdapter_singularNodeClosed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.singular.node ∈ artifact.nodes :=
(validatorReady_phantomAdapter_domainClosed hReady hPhantom).singularNodeClosedValidator-ready phantom multi-side endpoints are closed over the node summary.
theorem validatorReady_phantomAdapter_multiBoundaryClosed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{boundary : AdmissionBoundaryPort}
(hBoundary : boundary ∈ phantom.multi) :
AdmissionBoundaryPort.ClosedOver artifact.nodes boundary :=
(validatorReady_phantomAdapter_domainClosed hReady hPhantom).multiClosed
boundary hBoundaryValidator-ready phantom left-bulk rows are closed over the node summary.
theorem validatorReady_phantomAdapter_leftBulk_closed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.leftBulk) :
AdmissionBoundaryPort.ClosedOver artifact.nodes pair.fromPort ∧
AdmissionBoundaryPort.ClosedOver artifact.nodes pair.toPort :=
(validatorReady_phantomAdapter_domainClosed hReady hPhantom).leftBulkClosed
pair hPairValidator-ready phantom right-bulk rows are closed over the node summary.
theorem validatorReady_phantomAdapter_rightBulk_closed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.rightBulk) :
AdmissionBoundaryPort.ClosedOver artifact.nodes pair.fromPort ∧
AdmissionBoundaryPort.ClosedOver artifact.nodes pair.toPort :=
(validatorReady_phantomAdapter_domainClosed hReady hPhantom).rightBulkClosed
pair hPairValidator-ready phantom adapter nodes appear in the component-role ledger.
theorem validatorReady_phantomAdapter_node_mem_componentRoleNodes
{artifact : WireAdmissionArtifact}
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.node ∈ artifact.componentRoleNodes := artifact:WireAdmissionArtifactphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapters⊢ phantom.node ∈ artifact.componentRoleNodes
artifact:WireAdmissionArtifactphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapters⊢ phantom.node ∈ artifact.generatedUsedChildNodes ∨
(∃ a ∈ artifact.phantomAdapters, a.node = phantom.node) ∨ ∃ a ∈ artifact.selects, a.conditionNode = phantom.node
All goals completed! 🐙Validator-ready phantom adapter nodes appear in the phantom-role ledger.
theorem validatorReady_phantomAdapter_node_mem_phantomAdapterNodes
{artifact : WireAdmissionArtifact}
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.node ∈ artifact.phantomAdapters.map PhantomAdapterArtifact.node :=
List.mem_map.mpr ⟨phantom, hPhantom, rfl⟩Validator-ready phantom-adapter rows expose product arity matching.
theorem validatorReady_phantomAdapter_productArityMatches
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.ProductArityMatches :=
(validatorReady_phantomAdapter_valid hReady hPhantom).productArityMatchesValidator-ready phantom-adapter rows expose product-shape/multi-frontier matching.
theorem validatorReady_phantomAdapter_productShapeMatchesMulti
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.ProductShapeMatchesMulti :=
(validatorReady_phantomAdapter_valid hReady hPhantom).productShapeMatchesMultiValidator-ready phantom-adapter rows expose singular/product contract matching.
theorem validatorReady_phantomAdapter_productContractMatchesSingular
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.ProductContractMatchesSingular :=
(validatorReady_phantomAdapter_valid hReady hPhantom).productContractMatchesSingularValidator-ready phantom-adapter rows expose product-shape validity.
theorem validatorReady_phantomAdapter_productShape_valid
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.productShape.Valid :=
(validatorReady_phantomAdapter_valid hReady hPhantom).productShapeValidValidator-ready phantom-adapter rows expose validity of the aggregate product contract.
theorem validatorReady_phantomAdapter_product_contractValid
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.productShape.contract.Valid :=
ProductShapeArtifact.valid_contractValid
(validatorReady_phantomAdapter_productShape_valid hReady hPhantom)Validator-ready phantom-adapter rows expose multi-side endpoint uniqueness.
theorem validatorReady_phantomAdapter_multiEndpointKeysUnique
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.MultiEndpointKeysUnique :=
(validatorReady_phantomAdapter_valid hReady hPhantom).multiEndpointKeysUniqueValidator-ready phantom-adapter rows expose direction-aware bulk endpoint matching.
theorem validatorReady_phantomAdapter_bulkEndpointsMatch
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.BulkEndpointsMatch :=
(validatorReady_phantomAdapter_valid hReady hPhantom).bulkEndpointsMatchValidator-ready phantom-adapter rows expose exact bulk endpoint partitioning.
theorem validatorReady_phantomAdapter_bulkEndpointPartition
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.BulkEndpointPartition :=
(validatorReady_phantomAdapter_valid hReady hPhantom).bulkEndpointPartitionValidator-ready phantom-adapter rows expose indexed multi-side compatibility-key uniqueness.
theorem validatorReady_phantomAdapter_indexedMultiCompatibilityKeysUnique
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.IndexedMultiCompatibilityKeysUnique :=
(validatorReady_phantomAdapter_valid
hReady hPhantom).indexedMultiCompatibilityKeysUniqueValidator-ready gather artifacts expose the left-bulk multi-to-phantom endpoint shape.
theorem validatorReady_phantomAdapter_gather_leftBulkEndpoints
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
(hDirection : phantom.direction = PhantomAdapterDirection.gather)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.leftBulk) :
pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherpair:AdmissionConnectionhPair:pair ∈ phantom.leftBulk⊢ pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherpair:AdmissionConnectionhPair:pair ∈ phantom.leftBulkhMatch:phantom.BulkEndpointsMatch⊢ pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherpair:AdmissionConnectionhPair:pair ∈ phantom.leftBulkhMatch:match phantom.direction with
| PhantomAdapterDirection.gather =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular
| PhantomAdapterDirection.scatter =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi⊢ pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherpair:AdmissionConnectionhPair:pair ∈ phantom.leftBulkhMatch:match PhantomAdapterDirection.gather with
| PhantomAdapterDirection.gather =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular
| PhantomAdapterDirection.scatter =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi⊢ pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node
All goals completed! 🐙Validator-ready gather artifacts expose the right-bulk phantom-to-singular endpoint shape.
theorem validatorReady_phantomAdapter_gather_rightBulkEndpoints
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
(hDirection : phantom.direction = PhantomAdapterDirection.gather)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.rightBulk) :
pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherpair:AdmissionConnectionhPair:pair ∈ phantom.rightBulk⊢ pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherpair:AdmissionConnectionhPair:pair ∈ phantom.rightBulkhMatch:phantom.BulkEndpointsMatch⊢ pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherpair:AdmissionConnectionhPair:pair ∈ phantom.rightBulkhMatch:match phantom.direction with
| PhantomAdapterDirection.gather =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular
| PhantomAdapterDirection.scatter =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi⊢ pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherpair:AdmissionConnectionhPair:pair ∈ phantom.rightBulkhMatch:match PhantomAdapterDirection.gather with
| PhantomAdapterDirection.gather =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular
| PhantomAdapterDirection.scatter =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi⊢ pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular
All goals completed! 🐙Validator-ready scatter artifacts expose the left-bulk singular-to-phantom endpoint shape.
theorem validatorReady_phantomAdapter_scatter_leftBulkEndpoints
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
(hDirection : phantom.direction = PhantomAdapterDirection.scatter)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.leftBulk) :
pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterpair:AdmissionConnectionhPair:pair ∈ phantom.leftBulk⊢ pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterpair:AdmissionConnectionhPair:pair ∈ phantom.leftBulkhMatch:phantom.BulkEndpointsMatch⊢ pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterpair:AdmissionConnectionhPair:pair ∈ phantom.leftBulkhMatch:match phantom.direction with
| PhantomAdapterDirection.gather =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular
| PhantomAdapterDirection.scatter =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi⊢ pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterpair:AdmissionConnectionhPair:pair ∈ phantom.leftBulkhMatch:match PhantomAdapterDirection.scatter with
| PhantomAdapterDirection.gather =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular
| PhantomAdapterDirection.scatter =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi⊢ pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node
All goals completed! 🐙Validator-ready scatter artifacts expose the right-bulk phantom-to-multi endpoint shape.
theorem validatorReady_phantomAdapter_scatter_rightBulkEndpoints
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
(hDirection : phantom.direction = PhantomAdapterDirection.scatter)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.rightBulk) :
pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterpair:AdmissionConnectionhPair:pair ∈ phantom.rightBulk⊢ pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterpair:AdmissionConnectionhPair:pair ∈ phantom.rightBulkhMatch:phantom.BulkEndpointsMatch⊢ pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterpair:AdmissionConnectionhPair:pair ∈ phantom.rightBulkhMatch:match phantom.direction with
| PhantomAdapterDirection.gather =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular
| PhantomAdapterDirection.scatter =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi⊢ pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterpair:AdmissionConnectionhPair:pair ∈ phantom.rightBulkhMatch:match PhantomAdapterDirection.scatter with
| PhantomAdapterDirection.gather =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort ∈ phantom.multi ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort = phantom.singular
| PhantomAdapterDirection.scatter =>
(∀ pair ∈ phantom.leftBulk, pair.fromPort = phantom.singular ∧ pair.toPort.node = phantom.node) ∧
∀ pair ∈ phantom.rightBulk, pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi⊢ pair.fromPort.node = phantom.node ∧ pair.toPort ∈ phantom.multi
All goals completed! 🐙Validator-ready gather artifacts expose exact left-bulk coverage of multi-side keys.
theorem validatorReady_phantomAdapter_gather_leftBulkSourceKeys_perm_multi
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
(hDirection : phantom.direction = PhantomAdapterDirection.gather) :
phantom.leftBulkSourceKeys.Perm
(phantom.multi.map AdmissionBoundaryPort.key) := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gather⊢ phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherhPartition:phantom.BulkEndpointPartition⊢ phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherhPartition:match phantom.direction with
| PhantomAdapterDirection.gather =>
phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi) ∧
phantom.rightBulkTargetKeys.Perm [phantom.singular.key]
| PhantomAdapterDirection.scatter =>
phantom.leftBulkSourceKeys.Perm [phantom.singular.key] ∧
phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)⊢ phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherhPartition:match PhantomAdapterDirection.gather with
| PhantomAdapterDirection.gather =>
phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi) ∧
phantom.rightBulkTargetKeys.Perm [phantom.singular.key]
| PhantomAdapterDirection.scatter =>
phantom.leftBulkSourceKeys.Perm [phantom.singular.key] ∧
phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)⊢ phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)
All goals completed! 🐙Validator-ready gather artifacts expose exact right-bulk coverage of the singular key.
theorem validatorReady_phantomAdapter_gather_rightBulkTargetKeys_perm_singular
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
(hDirection : phantom.direction = PhantomAdapterDirection.gather) :
phantom.rightBulkTargetKeys.Perm [phantom.singular.key] := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gather⊢ phantom.rightBulkTargetKeys.Perm [phantom.singular.key]
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherhPartition:phantom.BulkEndpointPartition⊢ phantom.rightBulkTargetKeys.Perm [phantom.singular.key]
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherhPartition:match phantom.direction with
| PhantomAdapterDirection.gather =>
phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi) ∧
phantom.rightBulkTargetKeys.Perm [phantom.singular.key]
| PhantomAdapterDirection.scatter =>
phantom.leftBulkSourceKeys.Perm [phantom.singular.key] ∧
phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)⊢ phantom.rightBulkTargetKeys.Perm [phantom.singular.key]
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherhPartition:match PhantomAdapterDirection.gather with
| PhantomAdapterDirection.gather =>
phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi) ∧
phantom.rightBulkTargetKeys.Perm [phantom.singular.key]
| PhantomAdapterDirection.scatter =>
phantom.leftBulkSourceKeys.Perm [phantom.singular.key] ∧
phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)⊢ phantom.rightBulkTargetKeys.Perm [phantom.singular.key]
All goals completed! 🐙Validator-ready scatter artifacts expose exact left-bulk coverage of the singular key.
theorem validatorReady_phantomAdapter_scatter_leftBulkSourceKeys_perm_singular
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
(hDirection : phantom.direction = PhantomAdapterDirection.scatter) :
phantom.leftBulkSourceKeys.Perm [phantom.singular.key] := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatter⊢ phantom.leftBulkSourceKeys.Perm [phantom.singular.key]
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterhPartition:phantom.BulkEndpointPartition⊢ phantom.leftBulkSourceKeys.Perm [phantom.singular.key]
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterhPartition:match phantom.direction with
| PhantomAdapterDirection.gather =>
phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi) ∧
phantom.rightBulkTargetKeys.Perm [phantom.singular.key]
| PhantomAdapterDirection.scatter =>
phantom.leftBulkSourceKeys.Perm [phantom.singular.key] ∧
phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)⊢ phantom.leftBulkSourceKeys.Perm [phantom.singular.key]
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterhPartition:match PhantomAdapterDirection.scatter with
| PhantomAdapterDirection.gather =>
phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi) ∧
phantom.rightBulkTargetKeys.Perm [phantom.singular.key]
| PhantomAdapterDirection.scatter =>
phantom.leftBulkSourceKeys.Perm [phantom.singular.key] ∧
phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)⊢ phantom.leftBulkSourceKeys.Perm [phantom.singular.key]
All goals completed! 🐙Validator-ready scatter artifacts expose exact right-bulk coverage of multi-side keys.
theorem validatorReady_phantomAdapter_scatter_rightBulkTargetKeys_perm_multi
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
(hDirection : phantom.direction = PhantomAdapterDirection.scatter) :
phantom.rightBulkTargetKeys.Perm
(phantom.multi.map AdmissionBoundaryPort.key) := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatter⊢ phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterhPartition:phantom.BulkEndpointPartition⊢ phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterhPartition:match phantom.direction with
| PhantomAdapterDirection.gather =>
phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi) ∧
phantom.rightBulkTargetKeys.Perm [phantom.singular.key]
| PhantomAdapterDirection.scatter =>
phantom.leftBulkSourceKeys.Perm [phantom.singular.key] ∧
phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)⊢ phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterhPartition:match PhantomAdapterDirection.scatter with
| PhantomAdapterDirection.gather =>
phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi) ∧
phantom.rightBulkTargetKeys.Perm [phantom.singular.key]
| PhantomAdapterDirection.scatter =>
phantom.leftBulkSourceKeys.Perm [phantom.singular.key] ∧
phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)⊢ phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)
All goals completed! 🐙Validator-ready phantom-adapter rows expose structural row validity.
theorem validatorReady_phantomAdapter_rowsValid
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.RowsValid :=
(validatorReady_phantomAdapter_valid
hReady hPhantom).rowsValidValidator-ready phantom adapter nodes carry valid node identifiers.
theorem validatorReady_phantomAdapter_nodeValid
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.node.Valid :=
(validatorReady_phantomAdapter_rowsValid hReady hPhantom).nodeValidValidator-ready phantom singular endpoints are structurally valid.
theorem validatorReady_phantomAdapter_singularValid
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.singular.Valid :=
(validatorReady_phantomAdapter_rowsValid hReady hPhantom).singularValidValidator-ready phantom multi-side endpoints are structurally valid.
theorem validatorReady_phantomAdapter_multiBoundaryValid
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{boundary : AdmissionBoundaryPort}
(hBoundary : boundary ∈ phantom.multi) :
boundary.Valid :=
(validatorReady_phantomAdapter_rowsValid hReady hPhantom).multiValid
boundary hBoundaryValidator-ready phantom left-bulk rows are structurally valid.
theorem validatorReady_phantomAdapter_leftBulk_valid
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.leftBulk) :
pair.Valid :=
(validatorReady_phantomAdapter_rowsValid hReady hPhantom).leftBulkValid
pair hPairValidator-ready phantom right-bulk rows are structurally valid.
theorem validatorReady_phantomAdapter_rightBulk_valid
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.rightBulk) :
pair.Valid :=
(validatorReady_phantomAdapter_rowsValid hReady hPhantom).rightBulkValid
pair hPairValidator-ready phantom-adapter rows expose compatibility for each left bulk row.
theorem validatorReady_phantomAdapter_leftBulk_boundaryCompatible
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.leftBulk) :
pair.BoundaryCompatible :=
let hRows := validatorReady_phantomAdapter_rowsValid hReady hPhantom
connectionsValid_boundaryCompatible hRows.leftBulkValid hPairValidator-ready phantom-adapter rows expose compatibility for each right bulk row.
theorem validatorReady_phantomAdapter_rightBulk_boundaryCompatible
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.rightBulk) :
pair.BoundaryCompatible :=
let hRows := validatorReady_phantomAdapter_rowsValid hReady hPhantom
connectionsValid_boundaryCompatible hRows.rightBulkValid hPairValidator-ready phantom left-bulk rows are replayed by primitive connect rows.
theorem validatorReady_phantomAdapter_leftBulk_replayed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.leftBulk) :
pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps :=
(validatorReady_phantomBridgeBulkConnectionsReplayed
hReady phantom hPhantom).left pair hPairValidator-ready phantom right-bulk rows are replayed by primitive connect rows.
theorem validatorReady_phantomAdapter_rightBulk_replayed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.rightBulk) :
pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps :=
(validatorReady_phantomBridgeBulkConnectionsReplayed
hReady phantom hPhantom).right pair hPairValidator-ready phantom left-bulk source exits are consumed by primitive replay.
theorem validatorReady_phantomAdapter_leftBulk_sourceConsumed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.leftBulk) :
pair.fromKey ∈
PrimitiveGraphStep.consumedExitKeysList artifact.primitiveSteps :=
PrimitiveGraphStep.matchedConnectionsList_fromKey_mem_consumedExitKeysList
(validatorReady_phantomAdapter_leftBulk_replayed hReady hPhantom hPair)Validator-ready phantom left-bulk target entries are consumed by primitive replay.
theorem validatorReady_phantomAdapter_leftBulk_targetConsumed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.leftBulk) :
pair.toKey ∈
PrimitiveGraphStep.consumedEntryKeysList artifact.primitiveSteps :=
PrimitiveGraphStep.matchedConnectionsList_toKey_mem_consumedEntryKeysList
(validatorReady_phantomAdapter_leftBulk_replayed hReady hPhantom hPair)Validator-ready phantom right-bulk source exits are consumed by primitive replay.
theorem validatorReady_phantomAdapter_rightBulk_sourceConsumed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.rightBulk) :
pair.fromKey ∈
PrimitiveGraphStep.consumedExitKeysList artifact.primitiveSteps :=
PrimitiveGraphStep.matchedConnectionsList_fromKey_mem_consumedExitKeysList
(validatorReady_phantomAdapter_rightBulk_replayed hReady hPhantom hPair)Validator-ready phantom right-bulk target entries are consumed by primitive replay.
theorem validatorReady_phantomAdapter_rightBulk_targetConsumed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{pair : AdmissionConnection}
(hPair : pair ∈ phantom.rightBulk) :
pair.toKey ∈
PrimitiveGraphStep.consumedEntryKeysList artifact.primitiveSteps :=
PrimitiveGraphStep.matchedConnectionsList_toKey_mem_consumedEntryKeysList
(validatorReady_phantomAdapter_rightBulk_replayed hReady hPhantom hPair)Validator-ready gather adapters consume every multi-side endpoint through a replayed row.
theorem validatorReady_phantomAdapter_gather_multiEndpoint_replayed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
(hDirection : phantom.direction = PhantomAdapterDirection.gather)
{boundary : AdmissionBoundaryPort}
(hBoundary : boundary ∈ phantom.multi) :
∃ pair,
pair ∈ phantom.leftBulk ∧
pair.fromKey = boundary.key ∧
pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multi⊢ ∃ pair ∈ phantom.leftBulk,
pair.fromKey = boundary.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihPerm:phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)⊢ ∃ pair ∈ phantom.leftBulk,
pair.fromKey = boundary.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
have hKeyMem :
boundary.key ∈ phantom.leftBulkSourceKeys := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multi⊢ ∃ pair ∈ phantom.leftBulk,
pair.fromKey = boundary.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
All goals completed! 🐙
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihPerm:phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)hKeyMem:boundary.key ∈ List.map AdmissionConnection.fromKey phantom.leftBulk⊢ ∃ pair ∈ phantom.leftBulk,
pair.fromKey = boundary.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihPerm:phantom.leftBulkSourceKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)hKeyMem:boundary.key ∈ List.map AdmissionConnection.fromKey phantom.leftBulkpair:AdmissionConnectionhPair:pair ∈ phantom.leftBulkhKey:pair.fromKey = boundary.key⊢ ∃ pair ∈ phantom.leftBulk,
pair.fromKey = boundary.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
All goals completed! 🐙Validator-ready gather adapters consume the singular endpoint through a replayed row.
theorem validatorReady_phantomAdapter_gather_singularEndpoint_replayed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
(hDirection : phantom.direction = PhantomAdapterDirection.gather) :
∃ pair,
pair ∈ phantom.rightBulk ∧
pair.toKey = phantom.singular.key ∧
pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gather⊢ ∃ pair ∈ phantom.rightBulk,
pair.toKey = phantom.singular.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherhPerm:phantom.rightBulkTargetKeys.Perm [phantom.singular.key]⊢ ∃ pair ∈ phantom.rightBulk,
pair.toKey = phantom.singular.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
have hKeyMem :
phantom.singular.key ∈ phantom.rightBulkTargetKeys := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gather⊢ ∃ pair ∈ phantom.rightBulk,
pair.toKey = phantom.singular.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
exact hPerm.mem_iff.mpr (artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherhPerm:phantom.rightBulkTargetKeys.Perm [phantom.singular.key]⊢ phantom.singular.key ∈ [phantom.singular.key] All goals completed! 🐙)
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherhPerm:phantom.rightBulkTargetKeys.Perm [phantom.singular.key]hKeyMem:phantom.singular.key ∈ List.map AdmissionConnection.toKey phantom.rightBulk⊢ ∃ pair ∈ phantom.rightBulk,
pair.toKey = phantom.singular.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.gatherhPerm:phantom.rightBulkTargetKeys.Perm [phantom.singular.key]hKeyMem:phantom.singular.key ∈ List.map AdmissionConnection.toKey phantom.rightBulkpair:AdmissionConnectionhPair:pair ∈ phantom.rightBulkhKey:pair.toKey = phantom.singular.key⊢ ∃ pair ∈ phantom.rightBulk,
pair.toKey = phantom.singular.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
All goals completed! 🐙Validator-ready scatter adapters consume the singular endpoint through a replayed row.
theorem validatorReady_phantomAdapter_scatter_singularEndpoint_replayed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
(hDirection : phantom.direction = PhantomAdapterDirection.scatter) :
∃ pair,
pair ∈ phantom.leftBulk ∧
pair.fromKey = phantom.singular.key ∧
pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatter⊢ ∃ pair ∈ phantom.leftBulk,
pair.fromKey = phantom.singular.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterhPerm:phantom.leftBulkSourceKeys.Perm [phantom.singular.key]⊢ ∃ pair ∈ phantom.leftBulk,
pair.fromKey = phantom.singular.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
have hKeyMem :
phantom.singular.key ∈ phantom.leftBulkSourceKeys := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatter⊢ ∃ pair ∈ phantom.leftBulk,
pair.fromKey = phantom.singular.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
exact hPerm.mem_iff.mpr (artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterhPerm:phantom.leftBulkSourceKeys.Perm [phantom.singular.key]⊢ phantom.singular.key ∈ [phantom.singular.key] All goals completed! 🐙)
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterhPerm:phantom.leftBulkSourceKeys.Perm [phantom.singular.key]hKeyMem:phantom.singular.key ∈ List.map AdmissionConnection.fromKey phantom.leftBulk⊢ ∃ pair ∈ phantom.leftBulk,
pair.fromKey = phantom.singular.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterhPerm:phantom.leftBulkSourceKeys.Perm [phantom.singular.key]hKeyMem:phantom.singular.key ∈ List.map AdmissionConnection.fromKey phantom.leftBulkpair:AdmissionConnectionhPair:pair ∈ phantom.leftBulkhKey:pair.fromKey = phantom.singular.key⊢ ∃ pair ∈ phantom.leftBulk,
pair.fromKey = phantom.singular.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
All goals completed! 🐙Validator-ready scatter adapters consume every multi-side endpoint through a replayed row.
theorem validatorReady_phantomAdapter_scatter_multiEndpoint_replayed
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
(hDirection : phantom.direction = PhantomAdapterDirection.scatter)
{boundary : AdmissionBoundaryPort}
(hBoundary : boundary ∈ phantom.multi) :
∃ pair,
pair ∈ phantom.rightBulk ∧
pair.toKey = boundary.key ∧
pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multi⊢ ∃ pair ∈ phantom.rightBulk,
pair.toKey = boundary.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihPerm:phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)⊢ ∃ pair ∈ phantom.rightBulk,
pair.toKey = boundary.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
have hKeyMem :
boundary.key ∈ phantom.rightBulkTargetKeys := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multi⊢ ∃ pair ∈ phantom.rightBulk,
pair.toKey = boundary.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
All goals completed! 🐙
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihPerm:phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)hKeyMem:boundary.key ∈ List.map AdmissionConnection.toKey phantom.rightBulk⊢ ∃ pair ∈ phantom.rightBulk,
pair.toKey = boundary.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdaptershDirection:phantom.direction = PhantomAdapterDirection.scatterboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihPerm:phantom.rightBulkTargetKeys.Perm (List.map AdmissionBoundaryPort.key phantom.multi)hKeyMem:boundary.key ∈ List.map AdmissionConnection.toKey phantom.rightBulkpair:AdmissionConnectionhPair:pair ∈ phantom.rightBulkhKey:pair.toKey = boundary.key⊢ ∃ pair ∈ phantom.rightBulk,
pair.toKey = boundary.key ∧ pair ∈ PrimitiveGraphStep.matchedConnectionsList artifact.primitiveSteps
All goals completed! 🐙Validator-ready indexed phantom artifacts expose the serialized product count.
theorem validatorReady_phantomAdapter_indexed_multi_length_eq
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{element : ContractId}
{count : Nat}
(hShape : phantom.productShape = ProductShapeArtifact.indexed element count) :
phantom.multi.length = count := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element count⊢ phantom.multi.length = count
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element counthArity:phantom.ProductArityMatches⊢ phantom.multi.length = count
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element counthArity:phantom.multi.length = phantom.productShape.arity⊢ phantom.multi.length = count
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element counthArity:phantom.multi.length = (ProductShapeArtifact.indexed element count).arity⊢ phantom.multi.length = count
All goals completed! 🐙Validator-ready indexed phantom artifacts expose uniform multi-side element contracts.
theorem validatorReady_phantomAdapter_indexed_multi_contract_eq
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{element : ContractId}
{count : Nat}
(hShape : phantom.productShape = ProductShapeArtifact.indexed element count)
{boundary : AdmissionBoundaryPort}
(hBoundary : boundary ∈ phantom.multi) :
boundary.contract = element := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element countboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multi⊢ boundary.contract = element
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element countboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihMatch:phantom.ProductShapeMatchesMulti⊢ boundary.contract = element
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element countboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihMatch:phantom.productShape.BoundariesMatch phantom.multi⊢ boundary.contract = element
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element countboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihMatch:(ProductShapeArtifact.indexed element count).BoundariesMatch phantom.multi⊢ boundary.contract = element
All goals completed! 🐙Validator-ready indexed phantom artifacts expose valid element contracts.
theorem validatorReady_phantomAdapter_indexed_elementValid
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{element : ContractId}
{count : Nat}
(hShape : phantom.productShape = ProductShapeArtifact.indexed element count) :
element.Valid := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element count⊢ element.Valid
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element counthValid:phantom.productShape.Valid⊢ element.Valid
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element counthValid:(ProductShapeArtifact.indexed element count).Valid⊢ element.Valid
All goals completed! 🐙Validator-ready indexed phantom artifacts reject nested indexed product elements.
theorem validatorReady_phantomAdapter_indexed_elementNominal
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{element : ContractId}
{count : Nat}
(hShape : phantom.productShape = ProductShapeArtifact.indexed element count) :
element.name.startsWith "[" = false := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element count⊢ element.name.startsWith "[" = false
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element counthValid:phantom.productShape.Valid⊢ element.name.startsWith "[" = false
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element counthValid:(ProductShapeArtifact.indexed element count).Valid⊢ element.name.startsWith "[" = false
All goals completed! 🐙Validator-ready indexed phantom artifacts expose duplicate-free multi compatibility keys.
theorem validatorReady_phantomAdapter_indexed_multiCompatibilityShapesUnique
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{element : ContractId}
{count : Nat}
(hShape : phantom.productShape = ProductShapeArtifact.indexed element count) :
(phantom.multi.map AdmissionBoundaryPort.compatibilityShape).Nodup := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element count⊢ (List.map AdmissionBoundaryPort.compatibilityShape phantom.multi).Nodup
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element counthUnique:phantom.IndexedMultiCompatibilityKeysUnique⊢ (List.map AdmissionBoundaryPort.compatibilityShape phantom.multi).Nodup
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element counthUnique:match phantom.productShape with
| ProductShapeArtifact.record contract fields => True
| ProductShapeArtifact.indexed elementContract count =>
(List.map AdmissionBoundaryPort.compatibilityShape phantom.multi).Nodup⊢ (List.map AdmissionBoundaryPort.compatibilityShape phantom.multi).Nodup
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element counthUnique:match ProductShapeArtifact.indexed element count with
| ProductShapeArtifact.record contract fields => True
| ProductShapeArtifact.indexed elementContract count =>
(List.map AdmissionBoundaryPort.compatibilityShape phantom.multi).Nodup⊢ (List.map AdmissionBoundaryPort.compatibilityShape phantom.multi).Nodup
All goals completed! 🐙Validator-ready phantom artifacts expose the singular endpoint's aggregate product contract.
theorem validatorReady_phantomAdapter_singular_contract_eq_product
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters) :
phantom.singular.contract = phantom.productShape.contract :=
validatorReady_phantomAdapter_productContractMatchesSingular hReady hPhantom
Validator-ready indexed phantom artifacts expose the singular [T; N] contract.
theorem validatorReady_phantomAdapter_indexed_singular_contract_eq
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{element : ContractId}
{count : Nat}
(hShape : phantom.productShape = ProductShapeArtifact.indexed element count) :
phantom.singular.contract = ContractId.boundedIndexed element count := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element count⊢ phantom.singular.contract = element.boundedIndexed count
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element counthContract:phantom.singular.contract = phantom.productShape.contract⊢ phantom.singular.contract = element.boundedIndexed count
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterselement:ContractIdcount:ℕhShape:phantom.productShape = ProductShapeArtifact.indexed element counthContract:phantom.singular.contract = (ProductShapeArtifact.indexed element count).contract⊢ phantom.singular.contract = element.boundedIndexed count
All goals completed! 🐙Validator-ready record phantom artifacts expose duplicate-free record field labels.
theorem validatorReady_phantomAdapter_record_fieldsUnique
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{contract : ContractId}
{fields : List (FieldLabel × ContractId)}
(hShape : phantom.productShape = ProductShapeArtifact.record contract fields) :
(fields.map Prod.fst).Nodup := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fields⊢ (List.map Prod.fst fields).Nodup
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshValid:phantom.productShape.Valid⊢ (List.map Prod.fst fields).Nodup
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshValid:(ProductShapeArtifact.record contract fields).Valid⊢ (List.map Prod.fst fields).Nodup
All goals completed! 🐙Validator-ready record phantom artifacts expose validity of the aggregate contract row.
theorem validatorReady_phantomAdapter_record_contractValid
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{contract : ContractId}
{fields : List (FieldLabel × ContractId)}
(hShape : phantom.productShape = ProductShapeArtifact.record contract fields) :
contract.Valid := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fields⊢ contract.Valid
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshValid:phantom.productShape.Valid⊢ contract.Valid
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshValid:(ProductShapeArtifact.record contract fields).Valid⊢ contract.Valid
All goals completed! 🐙Validator-ready record phantom artifacts expose the singular aggregate record contract.
theorem validatorReady_phantomAdapter_record_singular_contract_eq
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{contract : ContractId}
{fields : List (FieldLabel × ContractId)}
(hShape : phantom.productShape = ProductShapeArtifact.record contract fields) :
phantom.singular.contract = contract := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fields⊢ phantom.singular.contract = contract
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshContract:phantom.singular.contract = phantom.productShape.contract⊢ phantom.singular.contract = contract
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshContract:phantom.singular.contract = (ProductShapeArtifact.record contract fields).contract⊢ phantom.singular.contract = contract
All goals completed! 🐙Validator-ready record phantom artifacts expose validity of every field row.
theorem validatorReady_phantomAdapter_record_fieldValid
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{contract : ContractId}
{fields : List (FieldLabel × ContractId)}
(hShape : phantom.productShape = ProductShapeArtifact.record contract fields)
{field : FieldLabel × ContractId}
(hField : field ∈ fields) :
field.fst.Valid ∧ field.snd.Valid := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsfield:FieldLabel × ContractIdhField:field ∈ fields⊢ field.1.Valid ∧ field.2.Valid
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsfield:FieldLabel × ContractIdhField:field ∈ fieldshValid:phantom.productShape.Valid⊢ field.1.Valid ∧ field.2.Valid
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsfield:FieldLabel × ContractIdhField:field ∈ fieldshValid:(ProductShapeArtifact.record contract fields).Valid⊢ field.1.Valid ∧ field.2.Valid
All goals completed! 🐙Validator-ready record phantom artifacts expose serialized record arity.
theorem validatorReady_phantomAdapter_record_multi_length_eq
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{contract : ContractId}
{fields : List (FieldLabel × ContractId)}
(hShape : phantom.productShape = ProductShapeArtifact.record contract fields) :
phantom.multi.length = fields.length := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fields⊢ phantom.multi.length = fields.length
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshArity:phantom.ProductArityMatches⊢ phantom.multi.length = fields.length
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshArity:phantom.multi.length = phantom.productShape.arity⊢ phantom.multi.length = fields.length
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshArity:phantom.multi.length = (ProductShapeArtifact.record contract fields).arity⊢ phantom.multi.length = fields.length
All goals completed! 🐙Validator-ready record phantom artifacts expose the multi-side record-field projection.
theorem validatorReady_phantomAdapter_record_multi_fields_perm
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{contract : ContractId}
{fields : List (FieldLabel × ContractId)}
(hShape : phantom.productShape = ProductShapeArtifact.record contract fields) :
(phantom.multi.filterMap AdmissionBoundaryPort.recordField).Perm fields := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fields⊢ (List.filterMap AdmissionBoundaryPort.recordField phantom.multi).Perm fields
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshMatch:phantom.ProductShapeMatchesMulti⊢ (List.filterMap AdmissionBoundaryPort.recordField phantom.multi).Perm fields
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshMatch:phantom.productShape.BoundariesMatch phantom.multi⊢ (List.filterMap AdmissionBoundaryPort.recordField phantom.multi).Perm fields
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshMatch:(ProductShapeArtifact.record contract fields).BoundariesMatch phantom.multi⊢ (List.filterMap AdmissionBoundaryPort.recordField phantom.multi).Perm fields
All goals completed! 🐙Validator-ready record phantom artifacts expose duplicate-free projected multi labels.
theorem validatorReady_phantomAdapter_record_multi_fieldLabelsUnique
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{contract : ContractId}
{fields : List (FieldLabel × ContractId)}
(hShape : phantom.productShape = ProductShapeArtifact.record contract fields) :
((phantom.multi.filterMap AdmissionBoundaryPort.recordField).map Prod.fst).Nodup := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fields⊢ (List.map Prod.fst (List.filterMap AdmissionBoundaryPort.recordField phantom.multi)).Nodup
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshFieldsUnique:(List.map Prod.fst fields).Nodup⊢ (List.map Prod.fst (List.filterMap AdmissionBoundaryPort.recordField phantom.multi)).Nodup
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldshFieldsUnique:(List.map Prod.fst fields).NoduphPerm:(List.filterMap AdmissionBoundaryPort.recordField phantom.multi).Perm fields⊢ (List.map Prod.fst (List.filterMap AdmissionBoundaryPort.recordField phantom.multi)).Nodup
All goals completed! 🐙Validator-ready record phantom artifacts expose a field row for every multi endpoint.
theorem validatorReady_phantomAdapter_record_multi_boundary_field_mem
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{contract : ContractId}
{fields : List (FieldLabel × ContractId)}
(hShape : phantom.productShape = ProductShapeArtifact.record contract fields)
{boundary : AdmissionBoundaryPort}
(hBoundary : boundary ∈ phantom.multi) :
∃ field,
boundary.recordField = some field ∧ field ∈ fields := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multi⊢ ∃ field, boundary.recordField = some field ∧ field ∈ fields
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihLength:phantom.multi.length = fields.length⊢ ∃ field, boundary.recordField = some field ∧ field ∈ fields
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihLength:phantom.multi.length = fields.lengthhPerm:(List.filterMap AdmissionBoundaryPort.recordField phantom.multi).Perm fields⊢ ∃ field, boundary.recordField = some field ∧ field ∈ fields
have hProjectedLength :
(phantom.multi.filterMap AdmissionBoundaryPort.recordField).length =
phantom.multi.length := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multi⊢ ∃ field, boundary.recordField = some field ∧ field ∈ fields
All goals completed! 🐙
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihLength:phantom.multi.length = fields.lengthhPerm:(List.filterMap AdmissionBoundaryPort.recordField phantom.multi).Perm fieldshProjectedLength:(List.filterMap AdmissionBoundaryPort.recordField phantom.multi).length = phantom.multi.lengthfield:FieldLabel × ContractIdhField:boundary.recordField = some field⊢ ∃ field, boundary.recordField = some field ∧ field ∈ fields
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multihLength:phantom.multi.length = fields.lengthhPerm:(List.filterMap AdmissionBoundaryPort.recordField phantom.multi).Perm fieldshProjectedLength:(List.filterMap AdmissionBoundaryPort.recordField phantom.multi).length = phantom.multi.lengthfield:FieldLabel × ContractIdhField:boundary.recordField = some fieldhProjected:field ∈ List.filterMap AdmissionBoundaryPort.recordField phantom.multi⊢ ∃ field, boundary.recordField = some field ∧ field ∈ fields
All goals completed! 🐙Validator-ready record phantom multi endpoints are labeled by declared record fields.
theorem validatorReady_phantomAdapter_record_multi_boundary_labeled
{artifact : WireAdmissionArtifact}
(hReady : artifact.ValidatorReady)
{phantom : PhantomAdapterArtifact}
(hPhantom : phantom ∈ artifact.phantomAdapters)
{contract : ContractId}
{fields : List (FieldLabel × ContractId)}
(hShape : phantom.productShape = ProductShapeArtifact.record contract fields)
{boundary : AdmissionBoundaryPort}
(hBoundary : boundary ∈ phantom.multi) :
∃ label,
boundary.label = AdmissionPortLabel.label label ∧
(label, boundary.contract) ∈ fields := artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multi⊢ ∃ label, boundary.label = AdmissionPortLabel.label label ∧ (label, boundary.contract) ∈ fields
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multifield:FieldLabel × ContractIdhField:boundary.recordField = some fieldhFieldMem:field ∈ fields⊢ ∃ label, boundary.label = AdmissionPortLabel.label label ∧ (label, boundary.contract) ∈ fields
cases hLabel : boundary.label with
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multifield:FieldLabel × ContractIdhField:boundary.recordField = some fieldhFieldMem:field ∈ fieldshLabel:boundary.label = AdmissionPortLabel.noLabel⊢ ∃ label, AdmissionPortLabel.noLabel = AdmissionPortLabel.label label ∧ (label, boundary.contract) ∈ fields
All goals completed! 🐙
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multifield:FieldLabel × ContractIdhField:boundary.recordField = some fieldhFieldMem:field ∈ fieldslabel:FieldLabelhLabel:boundary.label = AdmissionPortLabel.label label⊢ ∃ label_1, AdmissionPortLabel.label label = AdmissionPortLabel.label label_1 ∧ (label_1, boundary.contract) ∈ fields
artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multifield:FieldLabel × ContractIdhFieldMem:field ∈ fieldslabel:FieldLabelhLabel:boundary.label = AdmissionPortLabel.label labelhField:(label, boundary.contract) = field⊢ ∃ label_1, AdmissionPortLabel.label label = AdmissionPortLabel.label label_1 ∧ (label_1, boundary.contract) ∈ fields
exact ⟨label, rfl, artifact:WireAdmissionArtifacthReady:artifact.ValidatorReadyphantom:PhantomAdapterArtifacthPhantom:phantom ∈ artifact.phantomAdapterscontract:ContractIdfields:List (FieldLabel × ContractId)hShape:phantom.productShape = ProductShapeArtifact.record contract fieldsboundary:AdmissionBoundaryPorthBoundary:boundary ∈ phantom.multifield:FieldLabel × ContractIdhFieldMem:field ∈ fieldslabel:FieldLabelhLabel:boundary.label = AdmissionPortLabel.label labelhField:(label, boundary.contract) = field⊢ (label, boundary.contract) ∈ fields All goals completed! 🐙⟩end WireAdmissionArtifactend AdmissionArtifactend Cortex.Wire