packages feed

phino-0.0.164 / test-resources / evaluate-packs / joins-a-side-whose-void-the-fabricated-formation-holds.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# yamllint disable rule:line-length# The two sides of 'L_fork' differ in shape, so the firing fabricates a# formation (#2024). The left side leaves 'tu' void, so the fabricated# formation leaves 'tu' void too and holds that side applied to 'tu' under# 'left🌵', reading it off the fabricated formation (#2029). The program asks# the formation for 'φ' and the copy of 'L_join' it finds there for 'k', which# asks both copies for 'φ' through its ρ. Nobody handed 'tu' over, so the left# copy binds it to ⊥, which its 'φ' never reads, and the join meets the two# symbols the sides hold under 'k'.symbolic: |  - λ: L_fork    dataize:      𝛿1: $.c    join:      on: 𝛿1      left: $.a      right: $.b      otherwise: L_join  - λ: L_join    join:      on: $.on🌵      left: $.left🌵      right: $.right🌵      otherwise: L_joinlocation: 'Q.y'input: '⟦ y ↦ ⟦ c ↦ ⟦ λ ⤍ 𝜎1 ⟧, a ↦ ⟦ φ ↦ ⟦ k ↦ ⟦ λ ⤍ 𝜎2 ⟧ ⟧, tu ↦ ∅ ⟧, b ↦ ⟦ φ ↦ ⟦ k ↦ ⟦ λ ⤍ 𝜎3 ⟧ ⟧ ⟧, λ ⤍ L_fork ⟧.φ.k ⟧'result: '𝜎4:λ'protocol: |  𝕄(Φ.y):    𝔼(L_fork):      𝔻(ξ.c):        𝛿·1·1 := 𝔻(𝜎1:λ)      𝛿1·1 := 𝛿·1·1  # 𝔻(ξ.c)      𝕄(ξ.a):        morphed 𝑛·1·1 := ⟦ φ ↦ 𝜎2:λ:k, tu ↦ ∅ ⟧      𝕄(ξ.b):        morphed 𝑛·1·2 := 𝜎3:λ:k:φ      fabricated 𝑛·1·3 := 𝑛·1·1 and 𝑛·1·2  # ⟦ tu ↦ ∅, left🌵 ↦ 𝑛·1·1( tu ↦ tu ), right🌵 ↦ 𝑛·1·2, φ ↦ ⟦ λ ⤍ L_join, on🌵 ↦ 𝜎1:λ, left🌵 ↦ ρ.left🌵.φ, right🌵 ↦ ρ.right🌵.φ ⟧ ⟧    𝔼(L_join):      𝑛·2·1 := 𝑛·1·1( tu ↦ ⊥ )  # 𝕄(ξ.left🌵)      𝑛·2·2 := ⟦ φ ↦ 𝜎2:λ:k, tu ↦ ⊥ ⟧      𝕄(ξ.left🌵):        morphed 𝑛·2·3 := 𝜎2:λ:k      𝕄(ξ.right🌵):        morphed 𝑛·2·4 := 𝜎3:λ:k      joined 𝜎4 := ξ.on🌵 ? 𝜎2 : 𝜎3      𝑛·2·5 := 𝜎4:λ:k    morphed 𝑛·0·1 := 𝜎4:λ