phino-0.0.154: test-resources/evaluate-packs/fires-a-stalled-formation-again-once-something-was-answered.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
# The memo of '--acyclic=plausible' keeps a stall only while nothing new was
# answered. 'L_pair' first reduces 'x', whose firing brings 's' down, which
# fires 'f', whose operand 'big' is brought down inside the box of 's'. Since
# 's' is within 'big', the mode cuts the operand and the firing of 'f' gets
# stuck. Then the 'evaluate' lines of 'L_pair' fire 'g', which answers, and
# 'f' again, where nothing cuts it. Before #1495 that firing took the stall
# the first one met and reduced nothing; now it brings 'big' down and
# answers (#1874).
symbolic: |
- Ξ»: L_f
dataize:
πΏ1: $.arg
π: β¦ Ξ» β€ π β§
- Ξ»: L_g
π: β¦ Ξ» β€ π β§
- Ξ»: L_pair
morph:
π1: $.x
π2: $.g
π3: $.f
evaluate:
π4: π2
π5: π3
π: β¦ Ο β¦ π5 β§
location: 'Q.p'
partial: true
acyclic: plausible
input: >
β¦ p β¦ β¦
x β¦ β¦ Ξ» β€ L_f, arg β¦ Ξ¦.s β§.Ο,
g β¦ Ξ¦.g,
f β¦ Ξ¦.f,
Ξ» β€ L_pair β§.Ο,
g β¦ β¦ Ξ» β€ L_g β§,
f β¦ β¦ Ξ» β€ L_f, arg β¦ Ξ¦.big β§,
s β¦ β¦ Ο β¦ Ξ¦.f β§,
big β¦ β¦ Ο β¦ Ξ¦.k( x β¦ Ξ¦.f ) β§,
k β¦ β¦ x β¦ β
, Ο β¦ β¦ Ξ β€ 01- β§ β§ β§
result: 'π2:Ξ»'
protocol: |
π(Ξ¦.p):
πΌ(L_pair):
π(Ξ¦.aπ΅0):
πΌ(L_f):
π»(Ξ¦.aπ΅1):
πΌ(L_f):
π»(Ξ¦.aπ΅2):
looped(Ξ¦.f:Ο) # plausible
stuck(L_f)
stuck(L_f)
π1Β·1 := β¦ Ξ» β€ L_f, arg β¦ Ξ¦.s β§.Ο # π(ΞΎ.x)
π2Β·1 := L_g:Ξ» # π(ΞΎ.g)
π3Β·1 := β¦ Ξ» β€ L_f, arg β¦ Ξ¦.big β§ # π(ΞΎ.f)
πΌ(L_g): # πΌ(π2)
πΒ·4Β·1 := π1:Ξ» # π
πΒ·4Β·2 := π1:Ξ» # π(πΒ·4Β·1)
π4Β·1 := πΒ·4Β·2 # πΌ(π2)
πΌ(L_f): # πΌ(π3)
π»(Ξ¦.aπ΅5):
π(Ξ¦.aπ΅5):
πΒ·5Β·1 := Ξ¦.k( x β¦ Ξ¦.f )
πΏΒ·5Β·1 := 01-
πΏ1Β·5 := πΏΒ·5Β·1 # π»(ΞΎ.arg)
πΒ·5Β·2 := π2:Ξ» # π
πΒ·5Β·3 := π2:Ξ» # π(πΒ·5Β·2)
π5Β·1 := πΒ·5Β·3 # πΌ(π3)
πΒ·1Β·1 := π2:Ξ»:Ο # π
πΒ·1Β·2 := π2:Ξ»:Ο # π(πΒ·1Β·1)