packages feed

phino-0.0.173 / test-resources / evaluate-packs / leaves-a-bare-symbol-an-evaluate-line-meets-as-it-is.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# yamllint disable rule:line-length# The 'morph' operand comes down to a bare symbol, ⟦ λ ⤍ 𝜎4 ⟧, which already# stands for a value nobody worked out. No entry answers a symbol, so firing# it could only get the whole entry stuck; the 'evaluate' line hands it back# as it is, the way it hands back ⊥ (#2036).symbolic: |  - λ: L_keep    morph:      𝑛1: $.x    evaluate:      𝑛2: 𝑛1    𝑛: ⟦ φ ↦ 𝑛2 ⟧location: 'Q.y'input: '⟦ y ↦ ⟦ x ↦ ⟦ λ ⤍ 𝜎4 ⟧, λ ⤍ L_keep ⟧.φ ⟧'result: '𝜎4:λ'protocol: |  𝕄(Φ.y):    𝔼(L_keep):      𝕄(ξ.x):        morphed 𝑛·1·1 ≔ 𝜎4:λ      𝑛1·1 ≔ 𝑛·1·1  # 𝕄(ξ.x)      𝑛·1·2 ≔ 𝜎4:λ:φ  # 𝑛 of L_keep      𝕄(𝑛·1·2):        morphed 𝑛·1·3 ≔ 𝜎4:λ:φ      𝑛·1·4 ≔ 𝑛·1·3  # 𝕄(𝑛·1·2)      evaluated 𝑛·1·5 ≔ 𝑛·1·4  # ⟦ x ↦ 𝜎4:λ, λ ⤍ L_keep ⟧    morphed 𝑛·0·1 ≔ 𝑛1·1