phino-0.0.156: test-resources/evaluate-packs/fails-on-a-bare-symbol-and-a-branch-holding-one-symbol-when-strict.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
# The fork of 'bool.and' from #1817 under an entry with no 'lenient' key. A
# strict join pairs a bare symbol only with the symbol a φ chain ends in, and
# the chain of the second branch stops at the call of 'Φ.bool', so there is
# no symbol to pair it with and the firing gets stuck.
symbolic: |
- λ: L_fork
morph:
𝑛1: $.a
𝑛2: $.b
join:
𝑛3: [𝑛1, 𝑛2]
𝑛: 𝑛3
location: 'Q.y'
input: |
⟦
bool(if) ↦ ⟦ φ ↦ ξ.if( α0 ↦ ⟦ Δ ⤍ FF- ⟧, α1 ↦ ⟦ Δ ⤍ 00- ⟧ ) ⟧,
y ↦ ⟦
a ↦ ⟦ λ ⤍ 𝜎1 ⟧,
b ↦ ⟦ φ ↦ Φ.bool( if ↦ ⟦ λ ⤍ L_fork, left ↦ ∅, right ↦ ∅, φ ↦ ⟦ λ ⤍ 𝜎2 ⟧ ⟧ ) ⟧,
λ ⤍ L_fork
⟧.φ
⟧
fails: "No entry of --symbolic answers the λ function 'L_fork'"
protocol: |
𝕄(Φ.y):
𝔼(L_fork):
𝑛1·1 := 𝜎1:λ # 𝕄(ξ.a)
𝑛2·1 := Φ.bool( if(left, right) ↦ ⟦ λ ⤍ L_fork, φ ↦ 𝜎2:λ ⟧ ):φ # 𝕄(ξ.b)
unjoined(L_fork) # 𝜎1:λ vs Φ.bool( if(left, right) ↦ ⟦ λ ⤍ L_fork, φ ↦ 𝜎2:λ ⟧ ):φ