phino-0.0.156: test-resources/evaluate-packs/fails-on-a-remint-of-a-term-that-comes-to-no-symbol.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
# The tail of the pair below comes to a formation that is no copy of an object
# of the world and whose Ο chain ends in nothing, so a 'remint' step has no
# symbol to answer for it. It writes an 'unreminted' line naming the term
# instead of minting a symbol nobody can build, and the firing gets stuck the
# way one whose 'join' line could not pair its branches does (#1923).
symbolic: |
- Ξ»: L_shrink
morph:
π1: $.x
rewrite:
π2:
of: π1
rules:
- name: small-pair
pattern: β¦ !B1, head β¦ π1, tail β¦ π2, !B2 β§
result: β¦ !B1, head β¦ π3, tail β¦ π4, !B2 β§
where:
- meta: π3
function: remint
args: [π1]
- meta: π4
function: remint
args: [π2]
π: π2
location: 'Q.y'
input: 'β¦ y β¦ β¦ x β¦ β¦ head β¦ β¦ Ξ» β€ π1 β§, tail β¦ β¦ k β¦ β¦ Ξ» β€ π2 β§ β§ β§, Ξ» β€ L_shrink β§.tail β§'
fails: "No entry of --symbolic answers the Ξ» function 'L_shrink'"
protocol: |
π(Ξ¦.y):
πΌ(L_shrink):
π1Β·1 := β¦ head β¦ π1:Ξ», tail β¦ π2:Ξ»:k β§ # π(ΞΎ.x)
unreminted(L_shrink) # π2:Ξ»:k