packages feed

phino-0.0.173 / test-resources / evaluate-packs / writes-a-datum-a-loop-cut-is-called-with-to-the-markup.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# yamllint disable rule:line-length# The fork 'd' calls itself with the datum it was called with, so under# '--acyclic=plausible' the second call is cut and named after 'Φ.d'. The# markup writes the datum of that call in '<with>' the way '<applied>' writes# it, as '<datum attr="m">02-</datum>', and not as an '𝑒1' nothing defines# (#2526).symbolic: |  - λ: L_fork    morph:      𝑛1: $.left🌵      𝑛2: $.right🌵    evaluate:      𝑛3: 𝑛1      𝑛4: 𝑛2    join:      on: $.on🌵      left: 𝑛3      right: 𝑛4      otherwise: L_forklocation: 'Q.app'acyclic: plausiblepartial: trueinput: >  ⟦ d ↦ ⟦ λ ⤍ L_fork, m ↦ ∅, on🌵 ↦ ⟦ λ ⤍ 𝜎1 ⟧, left🌵 ↦ ⟦ Δ ⤍ 01- ⟧, right🌵 ↦ Φ.d( m ↦ ⟦ Δ ⤍ 02- ⟧ ) ⟧,    app ↦ Φ.d( m ↦ ⟦ Δ ⤍ 02- ⟧ ).φ ⟧result: '⊥'protocol: |  𝕄(Φ.app):    remembered 𝑛·0·1 ≡ Φ.d  # ⟦ λ ⤍ L_fork, m ↦ ∅, on🌵 ↦ 𝜎1:λ, left🌵 ↦ 01-:Δ, right🌵 ↦ Φ.d( m ↦ 02-:Δ ) ⟧    𝑛·0·2 ≔ Φ.d( m ↦ 02-:Δ )    𝑛·0·3 ≔ ⟦ λ ⤍ L_fork, on🌵 ↦ 𝜎1:λ, left🌵 ↦ 01-:Δ, right🌵 ↦ Φ.d( m ↦ 02-:Δ ), m ↦ 02-:Δ ⟧    remembered 𝑛·0·3 ≡ 𝑛·0·1( m ↦ 02-:Δ )    𝔼(L_fork):      𝕄(ξ.left🌵):        morphed 𝑛·1·1 ≔ 01-:Δ      𝑛1·1 ≔ 01-:Δ  # 𝕄(ξ.left🌵)      𝕄(ξ.right🌵):        𝑛·1·2 ≔ Φ.d( m ↦ 02-:Δ )        𝑛·1·3 ≔ ⟦ λ ⤍ L_fork, on🌵 ↦ 𝜎1:λ, left🌵 ↦ 01-:Δ, right🌵 ↦ 𝑛·0·2, m ↦ 02-:Δ ⟧        morphed 𝑛·1·4 ≔ 𝑛·1·3      𝑛2·1 ≔ 𝑛·1·3  # 𝕄(ξ.right🌵)      recalled 𝑛·0·3 ⇒ 𝑛·0·1( m ↦ 02-:Δ )      recalled 𝑛·0·1 ⇒ Φ.d      recalled 𝑛·0·3 ⇒ 𝑛·0·1( m ↦ 02-:Δ )      recalled 𝑛·0·1 ⇒ Φ.d      𝕄(𝑛·1·3.m):        morphed 𝑛·1·5 ≔ 02-:Δ      looped 𝜎2 ≔ Φ.d( m ↦ 02-:Δ )  # 𝔼(𝑛2 of L_fork), plausible, repeats 𝑛·1·3      𝑛4·1 ≔ 𝜎2:λ  # 𝔼(𝑛2 of L_fork)      assumed 𝜎2:λ ≡ 01-:Δ      𝑛·1·6 ≔ 01-:Δ      remembered 𝑛·1·7 ≡ 𝑛·1·3  # 01-:Δ      memoized 𝑛·1·3 ⇛ 𝑛·1·7      evaluated 𝑛·1·8 ≔ 𝑛·1·7  # 𝑛·1·3    normalized 𝑛·0·4 ≔ ⊥  # 𝑛·1·7.φ    morphed 𝑛·0·5 ≔ ⊥markup: |  <?xml version="1.0" encoding="UTF-8"?>  <morph at="Φ.app">    <remembered meta="𝑛·0·1" as="Φ.d"/>    <applied meta="𝑛·0·2" by="morph" at="Φ.app" of="Φ.d"><datum attr="m">02-</datum></applied>    <formed meta="𝑛·0·3" of="Φ.d"><datum attr="m">02-</datum></formed>    <applied meta="𝑒·0·1" of="𝑛·0·1"><datum attr="m">02-</datum></applied>    <remembered of="𝑛·0·3" as="𝑒·0·1"/>    <evaluate λ="L_fork" by="morph" at="Φ.app">      <morph at="ξ.left🌵">        <morphed meta="𝑛·1·1">01-</morphed>      </morph>      <bound meta="𝑛1·1">01-</bound>      <morph at="ξ.right🌵">        <applied meta="𝑛·1·2" by="morph" at="ξ.right🌵" of="Φ.d"><datum attr="m">02-</datum></applied>        <formed meta="𝑛·1·3" of="Φ.d"><datum attr="m">02-</datum></formed>        <morphed meta="𝑛·1·4">𝑛·1·3</morphed>      </morph>      <bound meta="𝑛2·1">𝑛·1·3</bound>      <recalled of="𝑛·0·3" as="𝑒·0·1"/>      <recalled of="𝑛·0·1" as="Φ.d"/>      <recalled of="𝑛·0·3" as="𝑒·0·1"/>      <recalled of="𝑛·0·1" as="Φ.d"/>      <morph at="𝑛·1·3.m">        <morphed meta="𝑛·1·5">02-</morphed>      </morph>      <looped symbol="𝜎2" by="evaluate" match="plausible" at="𝑛2" of="𝑛·1·3" object="Φ.d"><with><datum attr="m">02-</datum></with></looped>      <bound meta="𝑛4·1">𝜎2</bound>      <assumed symbol="𝜎2" as="01-"/>      <answered meta="𝑛·1·6">01-</answered>      <remembered meta="𝑛·1·7" as="𝑛·1·3"/>      <memoized of="𝑛·1·3" as="𝑛·1·7"/>      <evaluated meta="𝑛·1·8" of="𝑛·1·3">𝑛·1·7</evaluated>    </evaluate>    <normalized meta="𝑛·0·4" of="𝑛·1·7.φ">⊥</normalized>    <morphed meta="𝑛·0·5">⊥</morphed>  </morph>