packages feed

phino-0.0.164 / test-resources / evaluate-packs / fires-the-arguments-of-a-copy-a-defer-line-defers.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# yamllint disable rule:line-length# The deferral of #1892 over a copy with two arguments: 'x' reads to the bare# symbol '𝜎1', so the 'defer' line reading the right side defers the copy,# and 'w' is a call of 'L_inc'. Before it writes the 'deferred' line, the# line morphs 'w' in the copy the meta '𝑛2' is bound to, at '𝑛2.w', and# fires what it comes to, so the line names the object 'Ξ¦.num' the argument# stands for, instead of the call as the code spells it (#1916, #1933,# and #1982). The left side is the bare symbol '𝜎3', so the two sides differ# in their symbols alone, and the join makes one term of them.symbolic: |  - Ξ»: L_inc    dataize:      𝛿1: $.x    𝑛: Ξ¦.num( Ο† ↦ ⟦ Ξ» ‍ 𝜎 ⟧ )  - Ξ»: L_fork    dataize:      𝛿1: $.c    morph:      𝑛1: $.a      𝑛2: $.b    defer:      𝑛3: 𝑛1      𝑛4: 𝑛2    join:      on: 𝛿1      left: 𝑛3      right: 𝑛4location: 'Q.y'input: '⟦ box(x, w) ↦ ⟦ Ο† ↦ x.next ⟧, num(Ο†) ↦ ⟦⟧, inc(x) ↦ ⟦ Ξ» ‍ L_inc ⟧, items ↦ ⟦ tail ↦ ⟦ Ξ» ‍ 𝜎1 ⟧ ⟧, y ↦ ⟦ x ↦ ⟦ c ↦ ⟦ Ξ» ‍ 𝜎2 ⟧, a ↦ ⟦ Ξ» ‍ 𝜎3 ⟧, b ↦ Ξ¦.box( x ↦ Ξ¦.items.tail, w ↦ Ξ¦.inc( ⟦ Ξ” ‍ 2A- ⟧ ) ), Ξ» ‍ L_fork ⟧, Ξ» ‍ L_inc ⟧.Ο† ⟧'result: '𝜎7:Ξ»'protocol: |  𝕄(Ξ¦.y):    𝔼(L_inc):      𝔻(ΞΎ.x):        𝔼(L_fork):          𝔻(ΞΎ.c):            𝛿·2Β·1 := 𝔻(𝜎2:Ξ»)          𝛿1Β·2 := 𝛿·2Β·1  # 𝔻(ΞΎ.c)          𝕄(ΞΎ.a):            morphed 𝑛·2Β·1 := 𝜎3:Ξ»          𝑛1Β·2 := 𝑛·2Β·1  # 𝕄(ΞΎ.a)          𝕄(ΞΎ.b):            remembered 𝑛·2Β·2 ≑ Ξ¦.box  # ⟦ x ↦ βˆ…, w ↦ βˆ…, Ο† ↦ x.next ⟧            𝑛·2Β·3 := Ξ¦.box( x ↦ Ξ¦.items.tail )            𝑛·2Β·4 := ⟦ x ↦ Ξ¦.items.tail, w ↦ βˆ…, Ο† ↦ x.next ⟧            remembered 𝑛·2Β·4 ≑ 𝑛·2Β·2( x ↦ Ξ¦.items.tail )            𝑛·2Β·5 := 𝑛·2Β·3( w ↦ Ξ¦.inc( 2A-:Ξ” ) )            𝑛·2Β·6 := ⟦ x ↦ Ξ¦.items.tail, w ↦ Ξ¦.inc( 2A-:Ξ” ), Ο† ↦ x.next ⟧            remembered 𝑛·2Β·6 ≑ 𝑛·2Β·4( w ↦ Ξ¦.inc( 2A-:Ξ” ) )            morphed 𝑛·2Β·7 := 𝑛·2Β·6          𝑛2Β·2 := 𝑛·2Β·7  # 𝕄(ΞΎ.b)          recalled 𝑛·2Β·6 β‡’ 𝑛·2Β·4( w ↦ Ξ¦.inc( 2A-:Ξ” ) )          recalled 𝑛·2Β·4 β‡’ 𝑛·2Β·2( x ↦ Ξ¦.items.tail )          recalled 𝑛·2Β·2 β‡’ Ξ¦.box          𝕄(𝑛2.w):            𝑛·2Β·8 := Ξ¦.inc( x ↦ 2A-:Ξ” )            𝑛·2Β·9 := ⟦ x ↦ 2A-:Ξ”, Ξ» ‍ L_inc ⟧            morphed 𝑛·2Β·10 := 𝑛·2Β·9          𝔼(L_inc):  # 𝔼(𝑛2.w)            𝔻(ΞΎ.x):              𝛿·3Β·1 := 2A-            𝛿1Β·3 := 𝛿·3Β·1  # 𝔻(ΞΎ.x)            𝑛·3Β·1 := Ξ¦.num( Ο† ↦ 𝜎4:Ξ» )  # 𝑛            𝕄(𝑛·3Β·1):              𝑛·3Β·2 := Ξ¦.num( Ο† ↦ 𝜎4:Ξ» )              𝑛·3Β·3 := 𝜎4:Ξ»:Ο†              morphed 𝑛·3Β·4 := 𝑛·3Β·3            𝑛·3Β·5 := 𝑛·3Β·4  # 𝕄(𝑛·3Β·1)            remembered 𝑛·3Β·5 ≑ 𝑛·2Β·9          deferred 𝜎5 := Ξ¦.box( x ↦ 𝜎1:Ξ», w ↦ 𝑛·3Β·5 )  # 𝕄(𝑛2.Ο†)          joined 𝜎6 := 𝛿1Β·2 ? 𝜎3 : 𝜎5          𝑛·2Β·11 := 𝜎6:Ξ»        𝛿·1Β·1 := 𝔻(𝜎6:Ξ»)      𝛿1Β·1 := 𝛿·1Β·1  # 𝔻(ΞΎ.x)      𝑛·1Β·1 := Ξ¦.num( Ο† ↦ 𝜎7:Ξ» )  # 𝑛      𝕄(𝑛·1Β·1):        𝑛·1Β·2 := Ξ¦.num( Ο† ↦ 𝜎7:Ξ» )        𝑛·1Β·3 := 𝜎7:Ξ»:Ο†        morphed 𝑛·1Β·4 := 𝑛·1Β·3      𝑛·1Β·5 := 𝑛·1Β·4  # 𝕄(𝑛·1Β·1)    morphed 𝑛·0Β·1 := 𝜎7:Ξ»