packages feed

phino-0.0.167: test-resources/evaluate-packs/ends-a-side-read-off-a-path-at-a-dispatch-off-a-symbol.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
# The join reads its left side off a path, which dispatches 'q' off a bare
# symbol and is 'opaque'. The opaque ends that side alone as ⊥ (#2427), and
# the join keeps the right side under the condition.
symbolic: |
  - λ: L_fork
    dataize:
      𝛿1: $.on🌵
    join:
      on: 𝛿1
      left: $.left🌵
      right: $.right🌵
location: 'Q.e1'
input: '⟦ k ↦ ⟦ q ↦ ⟦⟧ ⟧, e1 ↦ ⟦ λ ⤍ L_fork, on🌵 ↦ ⟦ Δ ⤍ 00- ⟧, left🌵 ↦ ⟦ λ ⤍ 𝜎1 ⟧.q, right🌵 ↦ ⟦ φ ↦ Φ.k ⟧ ⟧.φ ⟧'
result: '⟦⟧:q'
protocol: |
  𝕄(Φ.e1):
    𝔼(L_fork):
      𝔻(ξ.on🌵):
        𝛿·1·1 := 00-
      𝛿1·1 := 𝛿·1·1  # 𝔻(ξ.on🌵)
      𝕄(ξ.left🌵):
        opaque 𝜎1  # 𝕄(𝜎1:λ.q)
      𝕄(ξ.right🌵):
        morphed 𝑛·1·1 := Φ.k:φ
      guarded 𝛿1·1 ? ⊥ : 𝑛·1·1  # where ⊥ is ⊥
      𝑛·1·2 := 𝑛·1·1
      evaluated 𝑛·1·3 := 𝑛·1·2  # ⟦ λ ⤍ L_fork, on🌵 ↦ 00-:Δ, left🌵 ↦ 𝜎1:λ.q, right🌵 ↦ 𝑛·1·2 ⟧
    normalized 𝑛·0·1 := Φ.k  # 𝑛·1·3.φ
    normalized 𝑛·0·2 := ⟦⟧:q  # Φ.k
    morphed 𝑛·0·3 := 𝑛·0·2