phino-0.0.165: test-resources/evaluate-packs/nests-the-firing-an-operand-brought-down.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
# An operand is brought down by a whole run of 𝔻, so a λ function it fires on
# the way sits one level deeper than the firing waiting for it, and the metas
# of the two are told apart by which firing of the entry each belongs to. The
# judgment each firing is commented with says the same thing from the other
# side: the outer one was fired while 𝕄 reduced the program and the inner one
# by the 𝔻 bringing the operand down, under the binding it was bound to (#1306).
symbolic: |
- λ: L_number_plus
dataize:
𝛿1: $.ρ
𝛿2: $.x
𝑛: Φ.number( φ ↦ ⟦ λ ⤍ 𝜎 ⟧ )
location: 'Q.@'
input: >
⟦ bytes(φ) ↦ ⟦⟧,
number(φ) ↦ ⟦ plus(ρ, x) ↦ ⟦ λ ⤍ L_number_plus ⟧ ⟧,
φ ↦ 5.plus( 6.plus( 7 ) ).plus( 8 ) ⟧
protocol: |
𝕄(Φ.φ):
normalized 𝑛·0·1 := ⟦ φ ↦ ∅, plus(x) ↦ L_number_plus:λ ⟧ # Φ.number
𝑛·0·2 := 5.0
𝑛·0·3 := ⟦ φ ↦ Φ.bytes( φ ↦ 40-14-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ ⟧
normalized 𝑛·0·4 := ⟦ x ↦ ∅, λ ⤍ L_number_plus ⟧ # 𝑛·0·3.plus
𝑛·0·5 := 𝑛·0·2.plus( x ↦ 6.0.plus( 7.0 ) )
𝑛·0·6 := ⟦ x ↦ 6.0.plus( 7.0 ), λ ⤍ L_number_plus ⟧
𝔼(L_number_plus):
𝔻(ξ.ρ):
𝕄(ξ.ρ):
𝑛·1·1 := 5.0
𝑛·1·2 := ⟦ φ ↦ Φ.bytes( φ ↦ 40-14-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ ⟧
morphed 𝑛·1·3 := 𝑛·1·2
boxed 𝑛·1·4 := 𝑛·1·3.φ
normalized 𝑛·1·5 := Φ.bytes( φ ↦ 40-14-00-00-00-00-00-00:Δ ) # 𝑛·1·4
𝕄(𝑛·1·4):
normalized 𝑛·1·6 := ∅:φ # Φ.bytes
𝑛·1·7 := Φ.bytes( φ ↦ 40-14-00-00-00-00-00-00:Δ )
𝑛·1·8 := 40-14-00-00-00-00-00-00:Δ:φ
morphed 𝑛·1·9 := 𝑛·1·8
boxed 𝑛·1·10 := 𝑛·1·9.φ
normalized 𝑛·1·11 := 40-14-00-00-00-00-00-00:Δ # 𝑛·1·10
𝛿·1·1 := 40-14-00-00-00-00-00-00 # 5.0
𝛿1·1 := 𝛿·1·1 # 𝔻(ξ.ρ)
𝔻(ξ.x):
𝕄(ξ.x):
𝑛·1·12 := 6.0
𝑛·1·13 := ⟦ φ ↦ Φ.bytes( φ ↦ 40-18-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ ⟧
normalized 𝑛·1·14 := ⟦ x ↦ ∅, λ ⤍ L_number_plus ⟧ # 𝑛·1·13.plus
𝑛·1·15 := 𝑛·1·12.plus( x ↦ 7.0 )
𝑛·1·16 := ⟦ x ↦ 7.0, λ ⤍ L_number_plus ⟧
morphed 𝑛·1·17 := 𝑛·1·16
𝔼(L_number_plus):
𝔻(ξ.ρ):
𝕄(ξ.ρ):
𝑛·2·1 := 6.0
𝑛·2·2 := ⟦ φ ↦ Φ.bytes( φ ↦ 40-18-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ ⟧
morphed 𝑛·2·3 := 𝑛·2·2
boxed 𝑛·2·4 := 𝑛·2·3.φ
normalized 𝑛·2·5 := Φ.bytes( φ ↦ 40-18-00-00-00-00-00-00:Δ ) # 𝑛·2·4
𝕄(𝑛·2·4):
𝑛·2·6 := Φ.bytes( φ ↦ 40-18-00-00-00-00-00-00:Δ )
𝑛·2·7 := 40-18-00-00-00-00-00-00:Δ:φ
morphed 𝑛·2·8 := 𝑛·2·7
boxed 𝑛·2·9 := 𝑛·2·8.φ
normalized 𝑛·2·10 := 40-18-00-00-00-00-00-00:Δ # 𝑛·2·9
𝛿·2·1 := 40-18-00-00-00-00-00-00 # 6.0
𝛿1·2 := 𝛿·2·1 # 𝔻(ξ.ρ)
𝔻(ξ.x):
𝕄(ξ.x):
𝑛·2·11 := 7.0
𝑛·2·12 := ⟦ φ ↦ Φ.bytes( φ ↦ 40-1C-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ ⟧
morphed 𝑛·2·13 := 𝑛·2·12
boxed 𝑛·2·14 := 𝑛·2·13.φ
normalized 𝑛·2·15 := Φ.bytes( φ ↦ 40-1C-00-00-00-00-00-00:Δ ) # 𝑛·2·14
𝕄(𝑛·2·14):
𝑛·2·16 := Φ.bytes( φ ↦ 40-1C-00-00-00-00-00-00:Δ )
𝑛·2·17 := 40-1C-00-00-00-00-00-00:Δ:φ
morphed 𝑛·2·18 := 𝑛·2·17
boxed 𝑛·2·19 := 𝑛·2·18.φ
normalized 𝑛·2·20 := 40-1C-00-00-00-00-00-00:Δ # 𝑛·2·19
𝛿·2·2 := 40-1C-00-00-00-00-00-00 # 7.0
𝛿2·2 := 𝛿·2·2 # 𝔻(ξ.x)
𝑛·2·21 := Φ.number( φ ↦ 𝜎1:λ ) # 𝑛
𝕄(𝑛·2·21):
𝑛·2·22 := Φ.number( φ ↦ 𝜎1:λ )
𝑛·2·23 := ⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_number_plus:λ ⟧
morphed 𝑛·2·24 := 𝑛·2·23
𝑛·2·25 := 𝑛·2·24 # 𝕄(𝑛·2·21)
boxed 𝑛·1·18 := 𝑛·2·25.φ
normalized 𝑛·1·19 := 𝜎1:λ # 𝑛·1·18
𝛿·1·2 := 𝔻(𝜎1:λ)
𝛿2·1 := 𝛿·1·2 # 𝔻(ξ.x)
𝑛·1·20 := Φ.number( φ ↦ 𝜎2:λ ) # 𝑛
𝕄(𝑛·1·20):
𝑛·1·21 := Φ.number( φ ↦ 𝜎2:λ )
𝑛·1·22 := ⟦ φ ↦ 𝜎2:λ, plus(x) ↦ L_number_plus:λ ⟧
morphed 𝑛·1·23 := 𝑛·1·22
𝑛·1·24 := 𝑛·1·23 # 𝕄(𝑛·1·20)
normalized 𝑛·0·7 := ⟦ x ↦ ∅, λ ⤍ L_number_plus ⟧ # 𝑛·1·24.plus
𝑛·0·8 := 𝑛·1·21.plus( x ↦ 8.0 )
𝑛·0·9 := ⟦ x ↦ 8.0, λ ⤍ L_number_plus ⟧
morphed 𝑛·0·10 := 𝑛·0·9