packages feed

phino-0.0.158: test-resources/evaluate-packs/heads-the-block-of-a-morph-operand-with-the-operand.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
# An operand of 'morph' is reduced where it stands in the universe, under a
# name phino makes up for it, but the block the 𝕄 opens is headed by the
# operand as the entry spells it, the way the line binding its meta is
# commented, and not by that made-up name (#2145).
symbolic: |
  - Ξ»: L_kept
    morph:
      𝑛1: $.x
    𝑛: ⟦ Ο† ↦ ⟦ Ξ» ‍ 𝜎 ⟧ ⟧
location: 'Q.y'
input: '⟦ bytes(Ο†) ↦ ⟦⟧, number(Ο†) ↦ ⟦ neg ↦ ⟦⟧ ⟧, y ↦ ⟦ x ↦ 5, Ξ» ‍ L_kept ⟧.Ο† ⟧'
result: '𝜎1:λ'
protocol: |
  𝕄(Ξ¦.y):
    𝔼(L_kept):
      𝕄(ΞΎ.x):
        𝑛·1Β·1 := 5.0
        morphed 𝑛·1Β·2 := 𝑛·1Β·1
      𝑛1Β·1 := 𝑛·1Β·2  # 𝕄(ΞΎ.x)
      𝑛·1Β·3 := 𝜎1:Ξ»:Ο†  # 𝑛
      𝕄(𝑛·1Β·3):
        morphed 𝑛·1Β·4 := 𝜎1:Ξ»:Ο†
      𝑛·1Β·5 := 𝑛·1Β·4  # 𝕄(𝑛·1Β·3)
    morphed 𝑛·0Β·1 := 𝜎1:Ξ»