packages feed

phino-0.0.161 / test-resources / evaluate-packs / defers-a-copy-whose-phi-reads-nothing-of-its-own.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# yamllint disable rule:line-length# The copy 'step( tup ↦ Φ.items.tail )' of a 'step' whose φ reads nothing of# its own object. A 'defer' line asks no such thing of a copy (#1933): 'tup'# reads to the bare symbol '𝜎1', so the line answers the copy with a fresh# symbol and writes a 'deferred' line naming the call the copy stands for,# whatever the φ of the copy would have come to.symbolic: |  - λ: L_hold    morph:      𝑛1: $.b    defer:      𝑛2: 𝑛1    𝑛: ⟦ φ ↦ 𝑛2 ⟧location: 'Q.y'input: '⟦ done ↦ ⟦⟧, step(tup) ↦ ⟦ φ ↦ Φ.done ⟧, items ↦ ⟦ tail ↦ ⟦ λ ⤍ 𝜎1 ⟧ ⟧, y ↦ ⟦ b ↦ Φ.step( tup ↦ Φ.items.tail ), λ ⤍ L_hold ⟧.φ ⟧'result: '𝜎2:λ'protocol: |  𝕄(Φ.y):    𝔼(L_hold):      𝕄(ξ.b):        𝑛·1·1 := Φ.step( tup ↦ Φ.items.tail )        𝑛·1·2 := ⟦ tup ↦ Φ.items.tail, φ ↦ Φ.done ⟧        morphed 𝑛·1·3 := 𝑛·1·2      𝑛1·1 := 𝑛·1·3  # 𝕄(ξ.b)      deferred 𝜎2 := Φ.step( tup ↦ 𝜎1:λ )  # 𝕄(𝑛1.φ)      𝑛·1·4 := 𝜎2:λ:φ  # 𝑛      𝕄(𝑛·1·4):        morphed 𝑛·1·5 := 𝜎2:λ:φ      𝑛·1·6 := 𝑛·1·5  # 𝕄(𝑛·1·4)    morphed 𝑛·0·1 := 𝜎2:λ