packages feed

phino-0.0.171 / 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( x ↦ 6.plus( x ↦ 7 ) ).plus( x ↦ 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    shared 𝑛·1 ≔ 6.0.plus( x ↦ 7.0 )    𝑛·0Β·5 ≔ 𝑛·0Β·2.plus( x ↦ 𝑛·1 )    𝑛·0Β·6 ≔ ⟦ x ↦ 𝑛·1, Ξ» ‍ 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:Ξ» )  # 𝑛 of L_number_plus          𝕄(𝑛·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)          evaluated 𝑛·2Β·26 ≔ 𝑛·2Β·25  # 𝑛·1Β·16        boxed 𝑛·1Β·18 ≔ 𝑛·2Β·26.Ο†        normalized 𝑛·1Β·19 ≔ 𝜎1:Ξ»  # 𝑛·1Β·18        𝛿·1Β·2 ≔ 𝔻(𝜎1:Ξ»)      𝛿2Β·1 ≔ 𝛿·1Β·2  # 𝔻(ΞΎ.x)      𝑛·1Β·20 ≔ Ξ¦.number( Ο† ↦ 𝜎2:Ξ» )  # 𝑛 of L_number_plus      𝕄(𝑛·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)      evaluated 𝑛·1Β·25 ≔ 𝑛·1Β·24  # 𝑛·0Β·6    normalized 𝑛·0Β·7 ≔ ⟦ x ↦ βˆ…, Ξ» ‍ L_number_plus ⟧  # 𝑛·1Β·25.plus    𝑛·0Β·8 ≔ 𝑛·1Β·21.plus( x ↦ 8.0 )    𝑛·0Β·9 ≔ ⟦ x ↦ 8.0, Ξ» ‍ L_number_plus ⟧    morphed 𝑛·0Β·10 ≔ 𝑛·0Β·9