packages feed

phino-0.0.173 / test-resources / evaluate-packs / writes-the-symbol-a-renamed-answer-mints-to-the-markup.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# yamllint disable rule:line-length# The memo of '--acyclic=plausible' takes the second firing of 'not', on '𝜎2',# for a renaming of the first one, on '𝜎1': it fires nothing and coins '𝜎4'# for the '𝜎3' the first firing minted. The markup writes '𝜎4' as minted from# '𝜎2' right before 'renamed', the way it writes '𝜎3' as minted from '𝜎1', so# a reader learns what '𝜎4' stands for without following 'from' (#2520).symbolic: |  - Ξ»: L_not    dataize:      𝛿1: $.x    𝑛: ⟦ Ξ» ‍ 𝜎 ⟧  - Ξ»: L_and    dataize:      𝛿1: $.a      𝛿2: $.b    𝑛: ⟦ Ο† ↦ ⟦ Ξ» ‍ 𝜎 ⟧ ⟧location: 'Q.app'acyclic: plausibleinput: >  ⟦ not ↦ ⟦ Ξ» ‍ L_not, x ↦ βˆ… ⟧,    and ↦ ⟦ Ξ» ‍ L_and, a ↦ βˆ…, b ↦ βˆ… ⟧,    app ↦ Ξ¦.and( a ↦ Ξ¦.not( x ↦ ⟦ Ξ» ‍ 𝜎1 ⟧ ), b ↦ Ξ¦.not( x ↦ ⟦ Ξ» ‍ 𝜎2 ⟧ ) ).Ο† ⟧result: '𝜎5:Ξ»'protocol: |  𝕄(Ξ¦.app):    remembered 𝑛·0Β·1 ≑ Ξ¦.and  # ⟦ Ξ» ‍ L_and, a ↦ βˆ…, b ↦ βˆ… ⟧    𝑛·0Β·2 ≔ Ξ¦.and( a ↦ Ξ¦.not( x ↦ 𝜎1:Ξ» ) )    𝑛·0Β·3 ≔ ⟦ Ξ» ‍ L_and, b ↦ βˆ…, a ↦ Ξ¦.not( x ↦ 𝜎1:Ξ» ) ⟧    remembered 𝑛·0Β·3 ≑ 𝑛·0Β·1( a ↦ Ξ¦.not( x ↦ 𝜎1:Ξ» ) )    𝑛·0Β·4 ≔ 𝑛·0Β·2( b ↦ Ξ¦.not( x ↦ 𝜎2:Ξ» ) )    𝑛·0Β·5 ≔ ⟦ Ξ» ‍ L_and, a ↦ Ξ¦.not( x ↦ 𝜎1:Ξ» ), b ↦ Ξ¦.not( x ↦ 𝜎2:Ξ» ) ⟧    remembered 𝑛·0Β·5 ≑ 𝑛·0Β·3( b ↦ Ξ¦.not( x ↦ 𝜎2:Ξ» ) )    𝔼(L_and):      𝔻(ΞΎ.a):        𝕄(ΞΎ.a):          remembered 𝑛·1Β·1 ≑ Ξ¦.not  # ⟦ Ξ» ‍ L_not, x ↦ βˆ… ⟧          𝑛·1Β·2 ≔ Ξ¦.not( x ↦ 𝜎1:Ξ» )          𝑛·1Β·3 ≔ ⟦ Ξ» ‍ L_not, x ↦ 𝜎1:Ξ» ⟧          remembered 𝑛·1Β·3 ≑ 𝑛·1Β·1( x ↦ 𝜎1:Ξ» )          morphed 𝑛·1Β·4 ≔ 𝑛·1Β·3        𝔼(L_not):          𝔻(ΞΎ.x):            𝛿·2Β·1 ≔ 𝔻(𝜎1:Ξ»)          𝛿1Β·2 ≔ 𝛿·2Β·1  # 𝔻(ΞΎ.x)          𝑛·2Β·1 ≔ 𝜎3:Ξ»  # 𝑛 of L_not          𝕄(𝑛·2Β·1):            morphed 𝑛·2Β·2 ≔ 𝜎3:Ξ»          𝑛·2Β·3 ≔ 𝑛·2Β·2  # 𝕄(𝑛·2Β·1)          memoized 𝑛·1Β·3 ⇛ 𝜎3:Ξ»          evaluated 𝑛·2Β·4 ≔ 𝑛·2Β·3  # 𝑛·1Β·3        𝛿·1Β·1 ≔ 𝔻(𝜎3:Ξ»)      𝛿1Β·1 ≔ 𝛿·1Β·1  # 𝔻(ΞΎ.a)      𝔻(ΞΎ.b):        𝕄(ΞΎ.b):          𝑛·1Β·5 ≔ Ξ¦.not( x ↦ 𝜎2:Ξ» )          𝑛·1Β·6 ≔ ⟦ Ξ» ‍ L_not, x ↦ 𝜎2:Ξ» ⟧          remembered 𝑛·1Β·6 ≑ 𝑛·1Β·1( x ↦ 𝜎2:Ξ» )          morphed 𝑛·1Β·7 ≔ 𝑛·1Β·6        𝔼(L_not):          renamed 𝑛·1Β·6 ⇛ 𝜎4:Ξ»  # from 𝑛·1Β·3, 𝜎1 as 𝜎2, 𝜎3 as 𝜎4          𝑛·3Β·1 ≔ 𝜎4:Ξ»  # 𝑛 of L_not          𝑛·3Β·2 ≔ 𝜎4:Ξ»  # 𝕄(𝑛·3Β·1)          evaluated 𝑛·3Β·3 ≔ 𝑛·3Β·2  # 𝑛·1Β·6        𝛿·1Β·2 ≔ 𝔻(𝜎4:Ξ»)      𝛿2Β·1 ≔ 𝛿·1Β·2  # 𝔻(ΞΎ.b)      𝑛·1Β·8 ≔ 𝜎5:Ξ»:Ο†  # 𝑛 of L_and      𝕄(𝑛·1Β·8):        morphed 𝑛·1Β·9 ≔ 𝜎5:Ξ»:Ο†      𝑛·1Β·10 ≔ 𝑛·1Β·9  # 𝕄(𝑛·1Β·8)      remembered 𝑛·1Β·10 ≑ 𝑛·0Β·5      memoized 𝑛·0Β·5 ⇛ 𝑛·1Β·10      evaluated 𝑛·1Β·11 ≔ 𝑛·1Β·10  # 𝑛·0Β·5    normalized 𝑛·0Β·6 ≔ 𝜎5:Ξ»  # 𝑛·1Β·11.Ο†    morphed 𝑛·0Β·7 ≔ 𝑛·0Β·6markup: |  <?xml version="1.0" encoding="UTF-8"?>  <morph at="Ξ¦.app">    <remembered meta="𝑛·0Β·1" as="Ξ¦.and"/>    <applied meta="𝑒·0Β·1" of="Ξ¦.not"><symbol attr="x">𝜎1</symbol></applied>    <applied meta="𝑛·0Β·2" by="morph" at="Ξ¦.app" of="Ξ¦.and"><meta attr="a">𝑒·0Β·1</meta></applied>    <formed meta="𝑛·0Β·3" of="Ξ¦.and"><meta attr="a">𝑒·0Β·1</meta></formed>    <applied meta="𝑒·0Β·2" of="𝑛·0Β·1"><meta attr="a">𝑒·0Β·1</meta></applied>    <remembered of="𝑛·0Β·3" as="𝑒·0Β·2"/>    <applied meta="𝑒·0Β·3" of="Ξ¦.not"><symbol attr="x">𝜎2</symbol></applied>    <applied meta="𝑛·0Β·4" by="morph" at="Ξ¦.app" of="𝑛·0Β·2"><meta attr="b">𝑒·0Β·3</meta></applied>    <formed meta="𝑛·0Β·5" of="Ξ¦.and"><meta attr="a">𝑒·0Β·1</meta><meta attr="b">𝑒·0Β·3</meta></formed>    <applied meta="𝑒·0Β·4" of="𝑛·0Β·3"><meta attr="b">𝑒·0Β·3</meta></applied>    <remembered of="𝑛·0Β·5" as="𝑒·0Β·4"/>    <evaluate Ξ»="L_and" by="morph" at="Ξ¦.app">      <dataize at="ΞΎ.a">        <morph at="ΞΎ.a">          <remembered meta="𝑛·1Β·1" as="Ξ¦.not"/>          <applied meta="𝑛·1Β·2" by="morph" at="ΞΎ.a" of="Ξ¦.not"><symbol attr="x">𝜎1</symbol></applied>          <formed meta="𝑛·1Β·3" of="Ξ¦.not"><symbol attr="x">𝜎1</symbol></formed>          <applied meta="𝑒·1Β·1" of="𝑛·1Β·1"><symbol attr="x">𝜎1</symbol></applied>          <remembered of="𝑛·1Β·3" as="𝑒·1Β·1"/>          <morphed meta="𝑛·1Β·4">𝑛·1Β·3</morphed>        </morph>        <evaluate Ξ»="L_not" by="dataize" at="ΞΎ.a">          <dataize at="ΞΎ.x">            <manufactured meta="𝛿·2Β·1">𝜎1</manufactured>          </dataize>          <bound meta="𝛿1Β·2">𝛿·2Β·1</bound>          <minted symbol="𝜎3">𝜎1</minted>          <built meta="𝑛·2Β·1">𝜎3</built>          <morph at="𝑛·2Β·1">            <morphed meta="𝑛·2Β·2">𝜎3</morphed>          </morph>          <answered meta="𝑛·2Β·3">𝜎3</answered>          <memoized of="𝑛·1Β·3" as="𝜎3"/>          <evaluated meta="𝑛·2Β·4" of="𝑛·1Β·3">𝜎3</evaluated>        </evaluate>        <manufactured meta="𝛿·1Β·1">𝜎3</manufactured>      </dataize>      <bound meta="𝛿1Β·1">𝛿·1Β·1</bound>      <dataize at="ΞΎ.b">        <morph at="ΞΎ.b">          <applied meta="𝑛·1Β·5" by="morph" at="ΞΎ.b" of="Ξ¦.not"><symbol attr="x">𝜎2</symbol></applied>          <formed meta="𝑛·1Β·6" of="Ξ¦.not"><symbol attr="x">𝜎2</symbol></formed>          <applied meta="𝑒·1Β·2" of="𝑛·1Β·1"><symbol attr="x">𝜎2</symbol></applied>          <remembered of="𝑛·1Β·6" as="𝑒·1Β·2"/>          <morphed meta="𝑛·1Β·7">𝑛·1Β·6</morphed>        </morph>        <evaluate Ξ»="L_not" by="dataize" at="ΞΎ.b">          <minted symbol="𝜎4">𝜎2</minted>          <renamed of="𝑛·1Β·6" as="𝜎4" from="𝑛·1Β·3"><as symbol="𝜎1" by="𝜎2"/><as symbol="𝜎3" by="𝜎4"/></renamed>          <built meta="𝑛·3Β·1">𝜎4</built>          <answered meta="𝑛·3Β·2">𝜎4</answered>          <evaluated meta="𝑛·3Β·3" of="𝑛·1Β·6">𝜎4</evaluated>        </evaluate>        <manufactured meta="𝛿·1Β·2">𝜎4</manufactured>      </dataize>      <bound meta="𝛿2Β·1">𝛿·1Β·2</bound>      <minted symbol="𝜎5">𝜎3 𝜎4</minted>      <formed meta="𝑒·1Β·3"><symbol attr="Ο†">𝜎5</symbol></formed>      <built meta="𝑛·1Β·8">𝑒·1Β·3</built>      <morph at="𝑛·1Β·8">        <morphed meta="𝑛·1Β·9">𝑒·1Β·3</morphed>      </morph>      <answered meta="𝑛·1Β·10">𝑛·1Β·9</answered>      <remembered of="𝑛·1Β·10" as="𝑛·0Β·5"/>      <memoized of="𝑛·0Β·5" as="𝑛·1Β·10"/>      <evaluated meta="𝑛·1Β·11" of="𝑛·0Β·5">𝑛·1Β·10</evaluated>    </evaluate>    <normalized meta="𝑛·0Β·6" of="𝑛·1Β·11.Ο†">𝜎5</normalized>    <morphed meta="𝑛·0Β·7">𝜎5</morphed>  </morph>