# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# A loop met while an operand is being brought down to data, with no frame of π# ever handed the same term twice: the body of 'cyc' dispatches 'cyc' again, so# every round π stops at a formation of its own and only π» β 'box'# contextualizing that body and 'norm' morphing what comes out β comes back to# the term it started from. Before #1290 the guard of '--acyclic' was π's alone# and this went round until the step budget ran out; now π» asks it too. The box# step answers the copy of 'cyc' it would enter again with a fresh symbol# (#2226), so the operand comes down to the datum of that symbol and the firing# answers.symbolic: | - Ξ»: L_outer dataize: πΏ1: ΞΎ.arg π: β¦ bar β¦ β¦ Ξ» β€ π β§ β§location: 'Q.x'acyclic: provensteps: 250input: > β¦ cyc β¦ β¦ x β¦ β
, Ο β¦ Ξ¦.cyc( x β¦ ΞΎ.x ) β§, x β¦ β¦ arg β¦ Ξ¦.cyc( x β¦ β¦β§ ), Ξ» β€ L_outer β§.bar β§result: 'π2:Ξ»'protocol: | π(Ξ¦.x): πΌ(L_outer): π»(ΞΎ.arg): π(ΞΎ.arg): remembered πΒ·1Β·1 β‘ Ξ¦.cyc # β¦ x β¦ β
, Ο β¦ Ξ¦.cyc( x β¦ x ) β§ πΒ·1Β·2 β Ξ¦.cyc( x β¦ β¦β§ ) πΒ·1Β·3 β β¦ Ο β¦ Ξ¦.cyc( x β¦ x ), x β¦ β¦β§ β§ remembered πΒ·1Β·3 β‘ πΒ·1Β·1( x β¦ β¦β§ ) morphed πΒ·1Β·4 β πΒ·1Β·3 boxed πΒ·1Β·5 β πΒ·1Β·4.Ο normalized πΒ·1Β·6 β πΒ·1Β·2 # πΒ·1Β·5 π(πΒ·1Β·5): πΒ·1Β·7 β Ξ¦.cyc( x β¦ β¦β§ ) πΒ·1Β·8 β β¦ Ο β¦ Ξ¦.cyc( x β¦ x ), x β¦ β¦β§ β§ morphed πΒ·1Β·9 β πΒ·1Β·8 recalled πΒ·1Β·3 β πΒ·1Β·1( x β¦ β¦β§ ) recalled πΒ·1Β·1 β Ξ¦.cyc π(πΒ·1Β·9.x): morphed πΒ·1Β·10 β β¦β§ looped π1 β Ξ¦.cyc( x β¦ πΒ·1Β·10 ) # π»(πΒ·1Β·5), proven, repeats πΒ·1Β·9 πΏΒ·1Β·1 β π»(π1:Ξ») πΏ1Β·1 β πΏΒ·1Β·1 # π»(ΞΎ.arg) πΒ·1Β·11 β π2:Ξ»:bar # π of L_outer π(πΒ·1Β·11): morphed πΒ·1Β·12 β π2:Ξ»:bar πΒ·1Β·13 β πΒ·1Β·12 # π(πΒ·1Β·11) evaluated πΒ·1Β·14 β πΒ·1Β·13 # β¦ arg β¦ πΒ·1Β·7, Ξ» β€ L_outer β§ normalized πΒ·0Β·1 β π2:Ξ» # πΒ·1Β·14.bar morphed πΒ·0Β·2 β πΒ·0Β·1