packages feed

phino-0.0.173 / test-resources / evaluate-packs / cuts-copies-of-one-object-whatever-their-arguments.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# yamllint disable rule:line-length# A recursion through copies of 'f', each one made inside the one before it# with a new argument, 'Φ.a1', 'Φ.a2', 'Φ.a3' and around again. No copy is# embedded in the one before it, yet the facts lead every one of them back to# 'Φ.f', so under '--acyclic=plausible' each repeats the copies above it and# '--max-loops=1' lets one repeat through: the third copy is cut, however many# objects the ring holds (#2462).symbolic: |  []location: 'Q.app'acyclic: plausibleloops: 1partial: trueinput: >  ⟦ f(x) ↦ ⟦ φ ↦ ξ.x.call ⟧,    a1 ↦ ⟦ call ↦ Φ.f( x ↦ Φ.a2 ) ⟧,    a2 ↦ ⟦ call ↦ Φ.f( x ↦ Φ.a3 ) ⟧,    a3 ↦ ⟦ call ↦ Φ.f( x ↦ Φ.a1 ) ⟧,    app ↦ Φ.f( x ↦ Φ.a1 ).q ⟧result: '𝜎1:λ'protocol: |  𝕄(Φ.app):    remembered 𝑛·0·1 ≡ Φ.f  # ⟦ x ↦ ∅, φ ↦ x.call ⟧    𝑛·0·2 ≔ Φ.f( x ↦ Φ.a1 )    𝑛·0·3 ≔ ⟦ φ ↦ x.call, x ↦ Φ.a1 ⟧    remembered 𝑛·0·3 ≡ 𝑛·0·1( x ↦ Φ.a1 )    normalized 𝑛·0·4 ≔ Φ.a1.call.q  # 𝑛·0·3.φ.q    normalized 𝑛·0·5 ≔ Φ.f( x ↦ Φ.a2 ):call  # Φ.a1    normalized 𝑛·0·6 ≔ Φ.f( x ↦ Φ.a2 )  # 𝑛·0·5.call    𝑛·0·7 ≔ Φ.f( x ↦ Φ.a2 )    𝑛·0·8 ≔ ⟦ φ ↦ x.call, x ↦ Φ.a2 ⟧    remembered 𝑛·0·8 ≡ 𝑛·0·1( x ↦ Φ.a2 )    normalized 𝑛·0·9 ≔ Φ.a2.call.q  # 𝑛·0·8.φ.q    normalized 𝑛·0·10 ≔ Φ.f( x ↦ Φ.a3 ):call  # Φ.a2    normalized 𝑛·0·11 ≔ Φ.f( x ↦ Φ.a3 )  # 𝑛·0·10.call    𝑛·0·12 ≔ Φ.f( x ↦ Φ.a3 )    𝑛·0·13 ≔ ⟦ φ ↦ x.call, x ↦ Φ.a3 ⟧    remembered 𝑛·0·13 ≡ 𝑛·0·1( x ↦ Φ.a3 )    recalled 𝑛·0·13 ⇒ 𝑛·0·1( x ↦ Φ.a3 )    recalled 𝑛·0·1 ⇒ Φ.f    looped 𝜎1 ≔ 𝑛·0·12.q  # plausible, repeats 𝑛·0·3    morphed 𝑛·0·14 ≔ 𝜎1:λ