packages feed

phino-0.0.169: test-resources/evaluate-packs/binds-a-copy-whose-method-alone-reads-to-a-bare-symbol-as-it-is.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
# A 'defer' line reduces only the arguments of a copy, never its methods
# (#2379). Here the method 'm' of 'step' reads to the bare symbol '𝜎1', but
# the argument 'tup' reads to an empty object, so the line binds the copy as
# it is, writes no 'deferred' line and mints no symbol.
symbolic: |
  - Ξ»: L_hold
    morph:
      𝑛1: $.b
    defer:
      𝑛2: 𝑛1
    𝑛: ⟦ Ο† ↦ 𝑛2 ⟧
location: 'Q.y'
input: '⟦ done ↦ ⟦⟧, step(tup) ↦ ⟦ Ο† ↦ Ξ¦.done, m ↦ Ξ¦.items.tail ⟧, items ↦ ⟦ tail ↦ ⟦ Ξ» ‍ 𝜎1 ⟧, head ↦ ⟦⟧ ⟧, y ↦ ⟦ b ↦ Ξ¦.step( tup ↦ Ξ¦.items.head ), Ξ» ‍ L_hold ⟧.Ο† ⟧'
result: '⟦ tup ↦ Ξ¦.items.head, Ο† ↦ Ξ¦.done, m ↦ Ξ¦.items.tail ⟧'
protocol: |
  𝕄(Ξ¦.y):
    𝔼(L_hold):
      𝕄(ΞΎ.b):
        remembered 𝑛·1Β·1 ≑ Ξ¦.step  # ⟦ tup ↦ βˆ…, Ο† ↦ Ξ¦.done, m ↦ Ξ¦.items.tail ⟧
        𝑛·1Β·2 ≔ Ξ¦.step( tup ↦ Ξ¦.items.head )
        𝑛·1Β·3 ≔ ⟦ tup ↦ Ξ¦.items.head, Ο† ↦ Ξ¦.done, m ↦ Ξ¦.items.tail ⟧
        remembered 𝑛·1Β·3 ≑ 𝑛·1Β·1( tup ↦ Ξ¦.items.head )
        morphed 𝑛·1Β·4 ≔ 𝑛·1Β·3
      𝑛1Β·1 ≔ 𝑛·1Β·4  # 𝕄(ΞΎ.b)
      𝑛·1Β·5 ≔ 𝑛·1Β·4:Ο†  # 𝑛 of L_hold
      𝕄(𝑛·1Β·5):
        morphed 𝑛·1Β·6 ≔ 𝑛·1Β·4:Ο†
      𝑛·1Β·7 ≔ 𝑛·1Β·6  # 𝕄(𝑛·1Β·5)
      evaluated 𝑛·1Β·8 ≔ 𝑛·1Β·7  # ⟦ b ↦ 𝑛·1Β·2, Ξ» ‍ L_hold ⟧
    morphed 𝑛·0Β·1 ≔ 𝑛·1Β·4