packages feed

phino-0.0.171 / test-resources / evaluate-packs / fires-again-a-fabricated-formation-whose-parts-the-otherwise-names.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, naming its parts as the 'otherwise' of the block says: the# condition under 'c🌡' and the sides under 'a🌡' and 'b🌡', the very names# 'L_fork' reads (#2483). The program asks that formation for 'Ο†', a copy of# 'L_fork' itself, and asks it for 'Ο†' too, which fires it again and finds there the condition and both# sides, two copies of 'hx' that differ in a symbol alone, so its join mints# a fresh symbol for them.symbolic: |  - Ξ»: L_fork    dataize:      𝛿1: $.c🌡    join:      on: 𝛿1      left: $.a🌡      right: $.b🌡      otherwise:        Ξ»: L_fork        on: c🌡        left: a🌡        right: b🌡location: 'Q.y'input: '⟦ hx(ke) ↦ ⟦ Ο† ↦ ke ⟧, y ↦ ⟦ c🌡 ↦ ⟦ Ξ» ‍ 𝜎1 ⟧, a🌡 ↦ ⟦ Ο† ↦ Ξ¦.hx( ke ↦ ⟦ Ξ» ‍ 𝜎2 ⟧ ), ob ↦ Ξ¦.hx ⟧, b🌡 ↦ ⟦ Ο† ↦ Ξ¦.hx( ke ↦ ⟦ Ξ» ‍ 𝜎3 ⟧ ) ⟧, Ξ» ‍ L_fork ⟧.Ο†.Ο† ⟧'result: '𝜎4:Ξ»'protocol: |  𝕄(Ξ¦.y):    𝔼(L_fork):      𝔻(ΞΎ.c🌡):        𝛿·1Β·1 ≔ 𝔻(𝜎1:Ξ»)      𝛿1Β·1 ≔ 𝛿·1Β·1  # 𝔻(ΞΎ.c🌡)      𝕄(ΞΎ.a🌡):        morphed 𝑛·1Β·1 ≔ ⟦ Ο† ↦ Ξ¦.hx( ke ↦ 𝜎2:Ξ» ), ob ↦ Ξ¦.hx ⟧      𝕄(ΞΎ.b🌡):        morphed 𝑛·1Β·2 ≔ Ξ¦.hx( ke ↦ 𝜎3:Ξ» ):Ο†      fabricated 𝑛·1Β·3 ≔ 𝑛·1Β·1 and 𝑛·1Β·2  # ⟦ a🌡 ↦ 𝑛·1Β·1, b🌡 ↦ 𝑛·1Β·2, Ο† ↦ ⟦ Ξ» ‍ L_fork, c🌡 ↦ 𝜎1:Ξ», a🌡 ↦ ρ.a🌡.Ο†, b🌡 ↦ ρ.b🌡.Ο† ⟧, ob ↦ ⟦ Ξ» ‍ L_fork, c🌡 ↦ 𝜎1:Ξ», a🌡 ↦ ρ.a🌡.ob, b🌡 ↦ ρ.b🌡.ob ⟧ ⟧      evaluated 𝑛·1Β·4 ≔ 𝑛·1Β·3  # ⟦ c🌡 ↦ 𝜎1:Ξ», a🌡 ↦ 𝑛·1Β·1, b🌡 ↦ 𝑛·1Β·2, Ξ» ‍ L_fork ⟧    normalized 𝑛·0Β·1 ≔ ⟦ Ξ» ‍ L_fork, c🌡 ↦ 𝜎1:Ξ», a🌡 ↦ ρ.a🌡.Ο†, b🌡 ↦ ρ.b🌡.Ο† ⟧  # 𝑛·1Β·4.Ο†    𝔼(L_fork):      𝔻(ΞΎ.c🌡):        𝛿·2Β·1 ≔ 𝔻(𝜎1:Ξ»)      𝛿1Β·2 ≔ 𝛿·2Β·1  # 𝔻(ΞΎ.c🌡)      𝕄(ΞΎ.a🌡):        remembered 𝑛·2Β·1 ≑ Ξ¦.hx  # ⟦ ke ↦ βˆ…, Ο† ↦ ke ⟧        𝑛·2Β·2 ≔ Ξ¦.hx( ke ↦ 𝜎2:Ξ» )        𝑛·2Β·3 ≔ ⟦ ke ↦ 𝜎2:Ξ», Ο† ↦ ke ⟧        remembered 𝑛·2Β·3 ≑ 𝑛·2Β·1( ke ↦ 𝜎2:Ξ» )        morphed 𝑛·2Β·4 ≔ 𝑛·2Β·3      𝕄(ΞΎ.b🌡):        𝑛·2Β·5 ≔ Ξ¦.hx( ke ↦ 𝜎3:Ξ» )        𝑛·2Β·6 ≔ ⟦ ke ↦ 𝜎3:Ξ», Ο† ↦ ke ⟧        remembered 𝑛·2Β·6 ≑ 𝑛·2Β·1( ke ↦ 𝜎3:Ξ» )        morphed 𝑛·2Β·7 ≔ 𝑛·2Β·6      joined 𝜎4 ≔ 𝛿1Β·2 ? 𝜎2 : 𝜎3      𝑛·2Β·8 ≔ ⟦ ke ↦ 𝜎4:Ξ», Ο† ↦ ke ⟧      evaluated 𝑛·2Β·9 ≔ 𝑛·2Β·8  # ⟦ Ξ» ‍ L_fork, c🌡 ↦ 𝜎1:Ξ», a🌡 ↦ ρ.a🌡.Ο†, b🌡 ↦ ρ.b🌡.Ο† ⟧    normalized 𝑛·0Β·2 ≔ 𝜎4:Ξ»  # 𝑛·2Β·9.Ο†    morphed 𝑛·0Β·3 ≔ 𝑛·0Β·2