phino-0.0.152: test-resources/morph-deep-packs/leaves-an-unapplied-formation-reaching-its-rho-alone.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# A formation standing unapplied inside its parent still holds ρ ↦ ∅, so the
# ξ.ρ its body reaches is an input the next dispatch supplies, not ⊥. The
# walk reduces that body in the formation's own scope, where ρ is void, and
# must not hand the ⊥ that comes back to the λ of 'plus' (#1196).
location: 'Q.@'
model: true
symbolic: true
input: '[[ foo -> [[ n -> ?, a -> [[ @ -> 5.plus( $.^ ) ]] ]] ]]'
result: '⟦ foo(n) ↦ 5.plus( ρ ):φ:a ⟧'