packages feed

phino-0.0.170 / test-resources / evaluate-packs / fabricates-a-formation-of-two-sides-of-different-shapes.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# yamllint disable rule:line-length# The two sides of a join are formations of different shapes: the left one# binds 'φ' and 'ke', the right one 'φ' alone. No join makes one term of them,# but the block names 'L_join' under 'otherwise', so the firing fabricates a# formation holding every attribute of both sides, each of them a copy of# 'L_join' that holds the symbol the condition came down to, not the 42 that# symbol is dataized to (#2026), and asks for that attribute the copies of# both sides the formation holds under 'left🌵' and 'right🌵' (#2029), and# writes 'fabricated' in place of 'diverged', with that formation in its# comment (#2024). The# program asks that formation for 'ke', which the left side binds alone, so# its copy asks the right side for 'ke' too, through the 'φ' of that side.symbolic: |  - λ: L_fork    dataize:      𝛿1: $.c    join:      on: 𝛿1      left: $.a      right: $.b      otherwise: L_joinlocation: 'Q.y'input: '⟦ y ↦ ⟦ c ↦ ⟦ λ ⤍ 𝜎1 ⟧, a ↦ ⟦ φ ↦ Φ.hx, ke ↦ Φ.ty ⟧, b ↦ ⟦ φ ↦ Φ.zu ⟧, λ ⤍ L_fork ⟧.ke ⟧'result: '⟦ λ ⤍ L_join, on🌵 ↦ ⟦ λ ⤍ 𝜎1 ⟧, left🌵 ↦ ρ.left🌵.ke, right🌵 ↦ ρ.right🌵.ke ⟧'protocol: |  𝕄(Φ.y):    𝔼(L_fork):      𝔻(ξ.c):        𝛿·1·1 ≔ 𝔻(𝜎1:λ)      𝛿1·1 ≔ 𝛿·1·1  # 𝔻(ξ.c)      𝕄(ξ.a):        morphed 𝑛·1·1 ≔ ⟦ φ ↦ Φ.hx, ke ↦ Φ.ty ⟧      𝕄(ξ.b):        morphed 𝑛·1·2 ≔ Φ.zu:φ      fabricated 𝑛·1·3 ≔ 𝑛·1·1 and 𝑛·1·2  # ⟦ left🌵 ↦ 𝑛·1·1, right🌵 ↦ 𝑛·1·2, φ ↦ ⟦ λ ⤍ L_join, on🌵 ↦ 𝜎1:λ, left🌵 ↦ ρ.left🌵.φ, right🌵 ↦ ρ.right🌵.φ ⟧, ke ↦ ⟦ λ ⤍ L_join, on🌵 ↦ 𝜎1:λ, left🌵 ↦ ρ.left🌵.ke, right🌵 ↦ ρ.right🌵.ke ⟧ ⟧      evaluated 𝑛·1·4 ≔ 𝑛·1·3  # ⟦ c ↦ 𝜎1:λ, a ↦ 𝑛·1·1, b ↦ 𝑛·1·2, λ ⤍ L_fork ⟧    normalized 𝑛·0·1 ≔ ⟦ λ ⤍ L_join, on🌵 ↦ 𝜎1:λ, left🌵 ↦ ρ.left🌵.ke, right🌵 ↦ ρ.right🌵.ke ⟧  # 𝑛·1·4.ke    morphed 𝑛·0·2 ≔ ⟦ λ ⤍ L_join, on🌵 ↦ 𝜎1:λ, left🌵 ↦ ρ.left🌵.ke, right🌵 ↦ ρ.right🌵.ke ⟧