packages feed

phino-0.0.157 / test-resources / evaluate-packs / fires-a-formation-once-however-often-it-is-met.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# yamllint disable rule:line-length# The memo of '--acyclic=plausible': 𝔼 is a function of the formation it# fires, so two bindings spelling one term fire one formation twice, and a# run firing it afresh each time mints two symbols for one value and fires# everything under the second once more (#1476). The 'evaluate' lines of# 'L_pair' fire 'a' and then 'b', which spell the very same sum. Under the# mode the second firing takes what the first answered: it reduces nothing,# mints nothing and lands 'b' on the very symbol 'a' came to. The protocol# still writes the firing of 'b' at its own site, with the answer the firing# of 'a' made, named after the line that made it, and with no operand line# under it, since none was reduced (#1874).symbolic: |  - Ξ»: L_number_plus    dataize:      𝛿1: $.ρ      𝛿2: $.x    𝑛: Ξ¦.number( Ο† ↦ ⟦ Ξ» ‍ 𝜎 ⟧ )  - Ξ»: L_pair    morph:      𝑛1: $.a      𝑛2: $.b    evaluate:      𝑛3: 𝑛1      𝑛4: 𝑛2    𝑛: ⟦ Ο† ↦ ⟦ a ↦ 𝑛3, b ↦ 𝑛4 ⟧ ⟧location: 'Q.p'acyclic: plausibleinput: >  ⟦ bytes(Ο†) ↦ ⟦⟧,    number(Ο†) ↦ ⟦ plus(ρ, x) ↦ ⟦ Ξ» ‍ L_number_plus ⟧ ⟧,    p ↦ ⟦      a ↦ 7.plus( 5.plus( 6 ) ),      b ↦ 7.plus( 5.plus( 6 ) ),      Ξ» ‍ L_pair ⟧.Ο† ⟧result: >  ⟦ a ↦ ⟦ Ο† ↦ 𝜎2:Ξ», plus(x) ↦ L_number_plus:Ξ» ⟧,    b ↦ ⟦ Ο† ↦ 𝜎2:Ξ», plus(x) ↦ L_number_plus:Ξ» ⟧ ⟧protocol: |  𝕄(Ξ¦.p):    𝔼(L_pair):      𝕄(Ξ¦.a🌡0):        𝑛·1Β·1 := 7        𝑛·1Β·2 := 𝑛·1Β·1.plus( x ↦ 5.plus( 6 ) )      𝑛1Β·1 := 𝑛·1Β·2  # 𝕄(ΞΎ.a)      𝕄(Ξ¦.a🌡1):        𝑛·1Β·3 := 7        𝑛·1Β·4 := 𝑛·1Β·3.plus( x ↦ 5.plus( 6 ) )      𝑛2Β·1 := 𝑛·1Β·4  # 𝕄(ΞΎ.b)      𝔼(L_number_plus):  # 𝔼(𝑛1)        𝔻(Ξ¦.a🌡2):          𝕄(Ξ¦.a🌡2):            𝑛·2Β·1 := 7            𝑛·2Β·2 := Ξ¦.bytes( Ο† ↦ 40-1C-00-00-00-00-00-00:Ξ” )          𝛿·2Β·1 := 40-1C-00-00-00-00-00-00  # 7.0        𝛿1Β·2 := 𝛿·2Β·1  # 𝔻(ΞΎ.ρ)        𝔻(Ξ¦.a🌡3):          𝕄(Ξ¦.a🌡3):            𝑛·2Β·3 := 5            𝑛·2Β·4 := 𝑛·2Β·3.plus( x ↦ 6 )          𝔼(L_number_plus):            𝔻(Ξ¦.a🌡4):              𝕄(Ξ¦.a🌡4):                𝑛·3Β·1 := 5                𝑛·3Β·2 := Ξ¦.bytes( Ο† ↦ 40-14-00-00-00-00-00-00:Ξ” )              𝛿·3Β·1 := 40-14-00-00-00-00-00-00  # 5.0            𝛿1Β·3 := 𝛿·3Β·1  # 𝔻(ΞΎ.ρ)            𝔻(Ξ¦.a🌡5):              𝕄(Ξ¦.a🌡5):                𝑛·3Β·3 := 6                𝑛·3Β·4 := Ξ¦.bytes( Ο† ↦ 40-18-00-00-00-00-00-00:Ξ” )              𝛿·3Β·2 := 40-18-00-00-00-00-00-00  # 6.0            𝛿2Β·3 := 𝛿·3Β·2  # 𝔻(ΞΎ.x)            𝑛·3Β·5 := Ξ¦.number( Ο† ↦ 𝜎1:Ξ» )  # 𝑛            𝕄(𝑛·3Β·5):              𝑛·3Β·6 := Ξ¦.number( Ο† ↦ 𝜎1:Ξ» )            𝑛·3Β·7 := 𝑛·3Β·6  # 𝕄(𝑛·3Β·5)        𝛿2Β·2 := 𝔻(𝜎1:Ξ»)  # 𝔻(ΞΎ.x)        𝑛·2Β·5 := Ξ¦.number( Ο† ↦ 𝜎2:Ξ» )  # 𝑛        𝕄(𝑛·2Β·5):          𝑛·2Β·6 := Ξ¦.number( Ο† ↦ 𝜎2:Ξ» )        𝑛·2Β·7 := 𝑛·2Β·6  # 𝕄(𝑛·2Β·5)      𝑛3Β·1 := 𝑛·2Β·7  # 𝔼(𝑛1)      𝔼(L_number_plus):  # 𝔼(𝑛2)        𝑛·4Β·1 := 𝑛·2Β·6  # 𝑛        𝑛·4Β·2 := 𝑛3Β·1  # 𝕄(𝑛·4Β·1)      𝑛4Β·1 := 𝑛·4Β·2  # 𝔼(𝑛2)      𝑛·1Β·5 := ⟦ a ↦ 𝑛·2Β·6, b ↦ 𝑛·2Β·6 ⟧:Ο†  # 𝑛      𝑛·1Β·6 := ⟦ a ↦ 𝑛·2Β·6, b ↦ 𝑛·2Β·6 ⟧:Ο†  # 𝕄(𝑛·1Β·5)