packages feed

phino-0.0.170 / test-resources / evaluate-packs / fires-a-formation-written-in-place-with-its-voids-filled.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# yamllint disable rule:line-length# The left side of the fork is a formation written in place, not an object of# the world, with its void 'v' filled by an argument. The 'v' it binds after# the copy is the void it showed before, not an attribute of its own, so the# 'evaluate' line fires it as it fires a copy of an object of the world, and# the join joins the two symbols (#2267).symbolic: |  - Ξ»: L_fork    dataize:      𝛿1: $.on🌡    morph:      𝑛1: $.left🌡      𝑛2: $.right🌡    evaluate:      𝑛3: 𝑛1      𝑛4: 𝑛2    join:      'on': 𝛿1      left: 𝑛3      right: 𝑛4      otherwise: L_fork  - Ξ»: L_box    𝑛: ⟦ Ξ» ‍ 𝜎 ⟧location: 'Q.y'partial: trueinput: >  ⟦ x ↦ ⟦ Ξ» ‍ L_fork, on🌡 ↦ 𝜎1:Ξ», left🌡 ↦ ⟦ v ↦ βˆ…, Ξ» ‍ L_box ⟧( v ↦ 𝜎2:Ξ» ), right🌡 ↦ 𝜎3:Ξ» ⟧,    y ↦ Ξ¦.x.Ο† ⟧result: '𝜎6:Ξ»'protocol: |  𝕄(Ξ¦.y):    𝑛·0Β·1 ≔ ⟦ v ↦ βˆ…, Ξ» ‍ L_box ⟧( v ↦ 𝜎2:Ξ» )    𝑛·0Β·2 ≔ ⟦ v ↦ 𝜎2:Ξ», Ξ» ‍ L_box ⟧    remembered 𝑛·0Β·3 ≑ Ξ¦.x  # ⟦ Ξ» ‍ L_fork, on🌡 ↦ 𝜎1:Ξ», left🌡 ↦ 𝑛·0Β·2, right🌡 ↦ 𝜎3:Ξ» ⟧    𝔼(L_fork):      𝔻(ΞΎ.on🌡):        𝛿·1Β·1 ≔ 𝔻(𝜎1:Ξ»)      𝛿1Β·1 ≔ 𝛿·1Β·1  # 𝔻(ΞΎ.on🌡)      𝕄(ΞΎ.left🌡):        morphed 𝑛·1Β·1 ≔ 𝑛·0Β·2      𝑛1Β·1 ≔ 𝑛·0Β·2  # 𝕄(ΞΎ.left🌡)      𝕄(ΞΎ.right🌡):        morphed 𝑛·1Β·2 ≔ 𝜎3:Ξ»      𝑛2Β·1 ≔ 𝑛·1Β·2  # 𝕄(ΞΎ.right🌡)      𝔼(L_box):  # 𝔼(𝑛1 of L_fork)        𝑛·2Β·1 ≔ 𝜎4:Ξ»  # 𝑛 of L_box        𝕄(𝑛·2Β·1):          morphed 𝑛·2Β·2 ≔ 𝜎4:Ξ»        𝑛·2Β·3 ≔ 𝑛·2Β·2  # 𝕄(𝑛·2Β·1)        evaluated 𝑛·2Β·4 ≔ 𝑛·2Β·3  # 𝑛·0Β·2      𝑛3Β·1 ≔ 𝑛·2Β·3  # 𝔼(𝑛1 of L_fork)      joined 𝜎5 ≔ 𝛿1Β·1 ? 𝜎4 : 𝜎3      𝑛·1Β·3 ≔ 𝜎5:Ξ»      evaluated 𝑛·1Β·4 ≔ 𝑛·1Β·3  # 𝑛·0Β·3    opaque 𝜎6:Ξ» ≔ 𝜎5:Ξ».Ο†    morphed 𝑛·0Β·4 ≔ 𝜎6:Ξ»