packages feed

phino-0.0.142 / README.md

<!--SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.comSPDX-License-Identifier: MIT--># Command-Line Manipulator of 𝜑-Calculus Expressions[![DevOps By Rultor.com](https://www.rultor.com/b/objectionary/phino)](https://www.rultor.com/p/objectionary/phino)[![`phino` on Hackage](https://img.shields.io/hackage/v/phino)](http://hackage.haskell.org/package/phino)[![cabal-linux](https://github.com/objectionary/phino/actions/workflows/cabal.yml/badge.svg)](https://github.com/objectionary/phino/actions/workflows/cabal.yml)[![stack-linux](https://github.com/objectionary/phino/actions/workflows/stack.yml/badge.svg)](https://github.com/objectionary/phino/actions/workflows/stack.yml)[![codecov](https://codecov.io/gh/objectionary/phino/branch/master/graph/badge.svg)](https://app.codecov.io/gh/objectionary/phino)[![Haddock](https://img.shields.io/badge/docs-Haddock-blue.svg)](https://objectionary.github.io/phino/)[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSES/MIT.txt)[![Hits-of-Code](https://hitsofcode.com/github/objectionary/phino?branch=master&label=Hits-of-Code)](https://hitsofcode.com/github/objectionary/phino/view?branch=master&label=Hits-of-Code)[![PDD status](https://www.0pdd.com/svg?name=objectionary/phino)](https://www.0pdd.com/p?name=objectionary/phino)This is a command-line normalizer, rewriter, and dataizerof [𝜑-calculus](https://www.eolang.org) expressions.First, you write a simple [𝜑-calculus](https://www.eolang.org) expressionin the `hello.phi` file:```text⟦ φ ↦ ⟦ Δ ⤍ 68-65-6C-6C-6F ⟧, t ↦ ξ.k, k ↦ ⟦⟧ ⟧```## InstallationThen you can install `phino` in two ways:Install [Cabal][cabal] first and then:```bashcabal updatecabal install --overwrite-policy=always phino-0.0.140phino --version```Or download binary from the internet using [curl](https://curl.se/) or[wget](https://en.wikipedia.org/wiki/Wget):```bashsudo curl -o /usr/local/bin/phino http://phino.objectionary.com/releases/macos-15/phino-latestsudo chmod +x /usr/local/bin/phinophino --version```Download paths are:* Ubuntu 22.04: <http://phino.objectionary.com/releases/ubuntu-22.04/phino-latest>* Ubuntu 24.04: <http://phino.objectionary.com/releases/ubuntu-24.04/phino-latest>* MacOS (ARM): <http://phino.objectionary.com/releases/macos-15/phino-latest>* MacOS (Intel): <http://phino.objectionary.com/releases/macos-14-large/phino-latest>* Windows: <http://phino.objectionary.com/releases/windows-2022/phino-latest.exe>## BuildTo build `phino` from source, clone this repository:```bashgit clone git@github.com:objectionary/phino.gitcd phino```Then, run the following command (ensure you have [Cabal][cabal] installed):```bashcabal build all```Next, run this command to install `phino` system-wide:```bashsudo cp "$(cabal list-bin phino)" /usr/local/bin/phino```Verify that `phino` is installed correctly:```bash$ phino --version0.0.0```You can ensure scripts are run with a specific version of `phino` usingthe `--pin` global option. It exits with an error when the version supplieddoesn't match the installed one:```bashphino --pin=0.0.0.67 dataize hello.phi```The `--pin-file` global option does the same, but reads the version froma file, ignoring the whitespace around it:```bashphino --pin-file=version.txt dataize hello.phi```## DataizeThen, you dataize the expression:```bash$ phino dataize hello.phi68-65-6C-6C-6F```### Symbolic λ functionsWhich λ functions exist is a property of the object model being dataized, notof the calculus, so `phino` implements none of them. They come from a YAML filegiven with `--symbolic`, one entry per λ function:```yaml- λ: L_number_(plus|times)  dataize:    𝛿1: $.ρ    𝛿2: $.x  𝑛: Φ.number( φ ↦ ⟦ λ ⤍ 𝜎 ⟧ )```The `λ` of an entry is the λ names it answers for, as a regular expression, sothe one above stands for `L_number_plus` and `L_number_times`. Under `dataize`stand the operands it brings down to data through 𝔻, each binding a bytes meta`𝛿1`, `𝛿2` and so on; under `morph` the operands it reduces to a normalform through 𝕄, each binding an expression meta `𝑛1`, `𝑛2`. Both blocks areterms of the calculus, read against the formation being fired, so `ξ` is thatformation and `$.x` its `x`, while `Φ` is the universe. Every entry numbers itsown metas from `𝛿1` and `𝑛1`, and the entry is what tells two `𝛿1` apart.The term under `𝑛` is what the firing answers with. `phino` normalizes itexactly as it normalizes anything else, so `--protocol`, `--partial` and`--max-steps` work on it unchanged. It may name any meta the entry bound,those of the two blocks below among them.### Rewriting a term into another shapeThere is a third block, `rewrite`, and it reduces nothing. Each line of ittakes a term another meta of the entry is already bound to, named under `of`,applies a list of ordinary rules to it, spelled with the very `pattern`,`result`, `when` and meta variables a rule file uses, and binds an expressionmeta of its own to the outcome:```yaml- λ: L_fork  dataize:    𝛿1: $.φ  morph:    𝑛1: $.left    𝑛2: $.right  rewrite:    𝑛3:      of: 𝑛1      rules: &bool        - name: false-literal          pattern: >-            ⟦ !B1, φ ↦ Φ.bool( if ↦ ⟦ ρ ↦ ∅, left ↦ ∅, right ↦ ∅,            φ ↦ ξ.right ⟧ ), !B2 ⟧          result: >-            ⟦ φ ↦ Φ.bool( if ↦ ⟦ λ ⤍ L_fork, left ↦ ∅, right ↦ ∅,            φ ↦ ⟦ Δ ⤍ 00- ⟧ ⟧ ) ⟧    𝑛4:      of: 𝑛2      rules: *bool  𝑛: 𝑛3```The meta under `of` is one bound by `morph` or by a `rewrite` line above it,and nothing else. A rule is tried at every position of the term, the outermostfirst; the first rule whose pattern matches a position rewrites it, and arewritten position is not walked into again, so a rule whose result carriesits own pattern never loops. Nothing is normalized afterwards: a rewrite is asubstitution the entry vouches for and not a reduction, exactly as an answeris. A rule writing a `𝜎` into its result, or reading a meta its pattern neverbinds, is refused where the file is read.This is how a program brings two branches of a fork to one shape before theyare compared. In EO a `Φ.false` is written `φ ↦ ξ.right` while a bool a firinganswered carries a symbol, and the two are one value in two spellings thatonly the program knows to be one. The block runs before `symbolize` on purpose:a result may write the datum a literal stands for, as `⟦ Δ ⤍ 00- ⟧` above, andthat datum is then stood into a known symbol the join can pair.### Standing data into unknownsThere is a fourth block, `symbolize`, and it reduces nothing. It takes a termanother meta of the entry is already bound to and binds an expression meta ofits own to that same term with every datum in it standing for an unknown:```yaml- λ: L_fork  dataize:    𝛿1: $.φ  morph:    𝑛1: $.left    𝑛2: $.right  symbolize:    𝑛3: 𝑛1    𝑛4: 𝑛2  𝑛: 𝑛3```The right-hand side of a line names a meta bound by `morph`, by `rewrite` or bya `symbolize` line above it, and nothing else; a term nobody reduced has no datato stand. Every `Δ ⤍ b` binding of that term becomes a `λ ⤍ 𝜎k` naming afresh symbol, one per occurrence, so `⟦ Δ ⤍ b ⟧` reads as `⟦ λ ⤍ 𝜎k ⟧` and aliteral tuple gets several. A term carrying no datum passes through as it was.Only the `φ` chain is walked. A term carries the value it stands for wherethat chain ends, so a datum standing anywhere else says nothing about the termand is left alone, the whole subtree of it. What sits under `ρ` belongs to theobject around this one, and a normal form drags the universe it was reducedinside along under `ρ`, so a walk reaching into it would stand the data of thewhole program into unknowns to say one thing about one term. What sits under amethod is code and not data: the `-1` of a `neg ↦ ⟦ φ ↦ ξ.ρ.times( -1 ) ⟧`nobody has called is the body of a method, and minting a symbol for it, and forevery other literal every method of the carrier declares, would write unknownsnobody ever reads.This is what lets an entry compare two branches of a fork. A literal is sugarfor `Φ.number( Φ.bytes( ⟦ Δ ⤍ … ⟧ ) )`, so a branch computed from a literalkeeps a datum three levels down where a branch computed from an unknown keeps`⟦ λ ⤍ 𝜎 ⟧`. A `Δ` against a `λ` is a difference in kind and not in value, andafter the stage both branches carry `⟦ λ ⤍ 𝜎 ⟧` where they differ.### Joining the branches of a forkA branching λ function answers neither of its branches. Which one the programtakes is decided by a value nobody worked out, so handing one of them throughwould drop the branch point from the program altogether and a reader would seethe condition computed and thrown away. `join` is the fifth block, and itreduces nothing either: it takes two metas the entry has bound already andbinds one of its own to the two terms joined into one.```yaml- λ: L_fork  dataize:    𝛿1: $.φ  morph:    𝑛1: $.left    𝑛2: $.right  symbolize:    𝑛3: 𝑛1    𝑛4: 𝑛2  join:    𝑛5: [𝑛3, 𝑛4]  𝑛: 𝑛5```A line names two metas bound by `morph`, by `rewrite`, by `symbolize` or by a`join` line above it, and never three: it stands for a choice between twobranches, and a walk over three terms in parallel is no such choice. The meta itbinds is one like any other, so the answer may name it alone, as above, or standit inside a larger term.`phino` takes the two terms and requires them to match verbatim, with oneexception: where `⟦ λ ⤍ 𝜎A ⟧` in one meets a different `⟦ λ ⤍ 𝜎B ⟧` in theother, it mints a fresh `𝜎C` and stands it there. The same symbol on both sidesstays as it is, and the same pair met again further down gets the same freshsymbol, since it is one choice however often the two terms differ by it; twodifferent pairs get two fresh symbols. Two identical terms join into that sameterm and nothing is minted at all. The join keeps the type by construction,being the terms' own shape, so the file needs to know nothing about carriers.Only the `φ` chain is compared, exactly as `symbolize` stands only that chaininto unknowns: a term carries the value it stands for where its `φ` chain ends,so every other binding is taken from the first branch, the whole subtree of it,and never compared at all. The two branches of a fork reach their normal formsin scopes of their own, so their `ρ` differ wherever the reduction left atrace, and comparing them would refuse the join over something saying nothingabout either branch; a method is the same, its body being code nobody hascalled, so two branches differing inside one are not two values. The joinedterm keeps the methods and the `ρ` of the first of the two, being of its shape,which is what lets the program go on dispatching on what the fork answered.A join is only ever between two expressions and a datum is never joined withanything, which is why `symbolize` runs before it: a known symbol, one thatstage minted for a datum, is a symbol like any other here, so a literal branchjoins with a computed one and two literal branches join too. Any otherdifference — a datum against a symbol, two different data, a binding one termcarries and the other does not — is no join at all, and the firing gets stuckthe way a λ function no entry answers does, so `--partial` parks it rather thanaborting the run. A fork whose branches differ in structure, such as a `Φ.true`and a `Φ.false` written as `φ ↦ ξ.left` against `φ ↦ ξ.right`, is stuck, andbringing two such branches to one shape is the program's job and not `phino`'s,which its entry does in a `rewrite` block.One term being `⊥` is the exception, since `if. cond value ⊥` is how EO spells"raise unless `cond`": the program raises on that side of the condition andhas a perfectly good value on the other. The join then mints nothing, bindsits meta to the other term as it stands and writes on which side the programraises, naming the condition by what the first `dataize` operand of the entrycame down to, as `terminate(𝔻(𝜎2:λ), right)  # 𝑛4` in the text format and`<terminate symbol="𝜎2" branch="right"/>` in the markup. The deep walk firessuch a fork too, since that `⊥` is an argument the program wrote rather thanone the reduction made.Every symbol a join mints is written into the protocol as a fact of its own,so a reader ties it to the two it stands for without diffing the terms; thesection on `--protocol` below shows one.### SymbolsAn entry answers, it never computes. The job of these functions is symbolicmorphing: what `5.plus( 6 )` comes to is the arithmetic of the object model andnot `phino`'s, so an entry answers a term carrying a symbol standing for avalue nobody worked out, and the data its `dataize` operands came down to isnot its to read. An answer mentioning a `𝛿` is refused where the file is read.`𝜎` is a meta of the calculus, beside `𝑛`, `𝛿` and `𝑓`, and it stands wherea λ name stands. In a term, `𝜎1` is a concrete symbol: a λ function nothinganswers, which is what makes the value the term carries unknown. Firing it istherefore the same question as firing a λ name the `--symbolic` file does notcarry, and gets the same answer: 𝔼 stops there, the protocol records the site as`?(𝜎1)`, and `--partial` leaves the term where it stands. Dispatching anattribute off a symbol — `⟦ λ ⤍ 𝜎1 ⟧.plus( 5 )` — therefore taints its ownbinding and nothing else; what stands beside it still computes. In an answer, abare `𝜎` asks for a fresh one, minted as the firing happens and numbered by therun, so no two unknowns are ever spelled alike. Minting starts after the symbolsthe program already carries, so a run over the 𝜑-program an earlier run wrotenever spells a fresh symbol like one already standing there.Dataizing a symbol never gets stuck. It answers a fixed datum, 42(`40-45-00-00-00-00-00-00`), the same one for every symbol, so 𝔻 alwaysanswers, a `𝛿` always holds concrete data and no firing ever declines for thelack of it:```bash$ cat sum.phi⟦  bytes ↦ ⟦ φ ↦ ∅ ⟧,  number ↦ ⟦ φ ↦ ∅, plus(ρ, x) ↦ ⟦ λ ⤍ L_number_plus ⟧ ⟧,  φ ↦ 5.plus( 6 )⟧$ phino dataize --symbolic=atoms.yaml --sweet --hide-rho sum.phi40-45-00-00-00-00-00-00```### The keys of the fileEach `λ` is a regular expression, and it must match the whole λ name, so aplain name such as `L_number_plus` means that one function and nothing else,while `L_number_.*` stands for every function of `number`. The keys are unique:nothing tells two entries under one key apart, so a second entry under a key isunreachable and the file is refused rather than merely redundant.A λ name no key matches has no λ function at all, so 𝔼 gets stuck on it.Without `--symbolic` there is no entry at all and every λ function gets stuck:```bash$ phino dataize --sweet --hide-rho sum.phi[ERROR]: No entry of --symbolic answers the λ function 'L_number_plus'```The file is read before anything is parsed or reduced, so a key that is noregular expression, an operand that is no meta of the kind its block binds, oran answer the calculus cannot read fails the run up front rather than half-waythrough a derivation.### Recording what firedEvery λ function fired on the way to the answer may be recorded in amachine-readable protocol, with the `--protocol` option. The protocol is atree: the run at the top, one block per firing under it, and inside the blockthe operands the firing bound and the term it answered with. A formation thatdataization gets into opens a block too, and what fires inside it stands underit.<!-- markdownlint-disable MD013 -->```bash$ phino dataize --symbolic=atoms.yaml --protocol=atoms.txt --quiet \    --sweet --hide-rho sum.phi$ cat atoms.txt𝔻(Φ)  formation(⟦ bytes(φ) ↦ ⟦⟧, number(φ) ↦ ⟦ plus(x) ↦ L_number_plus:λ ⟧, φ ↦ 5.plus( 6 ) ⟧)  # 𝔻(Φ)    𝔼(L_number_plus)  # 𝔻(Φ)      formation(⟦ φ ↦ Φ.bytes( φ ↦ 40-14-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ ⟧)  # 𝔻(Φ.a🌵0)        formation(40-14-00-00-00-00-00-00:Δ:φ)  # 𝔻(Φ.a🌵0)      𝛿1.1 := 40-14-00-00-00-00-00-00  # 𝔻(ξ.ρ)      formation(⟦ φ ↦ Φ.bytes( φ ↦ 40-18-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ ⟧)  # 𝔻(Φ.a🌵1)        formation(40-18-00-00-00-00-00-00:Δ:φ)  # 𝔻(Φ.a🌵1)      𝛿2.1 := 40-18-00-00-00-00-00-00  # 𝔻(ξ.x)      𝑛.1.1 := Φ.number( φ ↦ 𝜎1:λ )  # 𝑛      𝑛.1.2 := ⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_number_plus:λ ⟧  # 𝕄(𝑛.1.1)    formation(⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_number_plus:λ ⟧)  # 𝔻(Φ)```<!-- markdownlint-enable MD013 -->`𝔻(…)` is the run and the term it was aimed at, `𝕄(…)` where the run is amorphing, and `𝔼(…)` is one firing, named by the entry that answered it andcommented with the judgment that asked for it and the site it was fired at.Every comment of the file is of that shape: a judgment applied to a term, whichis the intent the value beside it came from. The firings are numbered across thewhole run, in the order they open, so `𝛿1.2` is the value bound to `𝛿1` bythe second firing of the run, whichever λ function that was, `𝑛1.2` the samefor a `morph` meta, and `𝑛.3.2` the answer of the third firing, so`𝑛1.2 := 𝑛.3.2` reads "the `𝑛1` of this firing is what the third firinganswered". One firing binds a meta once and no two firingsshare a number, so every one of these names stands on exactly one line of thefile and a line naming another one points at it and no other.`formation(…)` is a formation 𝔻 got into through its `box` rule, whichdataizes the `φ` of a formation carrying neither `Δ` nor `λ`. It is commentedwith `𝔻` and the site it was entered at, the way a firing is, and what the `φ`body does stands one level deeper under it: the firings its dataizationdemands, and the formations it gets into in turn. A reader therefore sees whichobject a firing was made on the way into, rather than a flat list of firings.Only `box` writes one, since 𝕄 stops at a formation without getting into itand a formation whose λ is fired is already an `𝔼(…)` block. The line is nofiring: it binds no meta and takes no number, so the metas of the firings underit are numbered as if it were not there. In the run above 𝔻 gets into theprogram itself, since `Φ` binds `φ`; then into each number the entry bringsdown, and through its `φ` into the bytes that number holds; and last into thenumber the entry answered, whose `φ` is the symbol `𝜎1`, so nothing fires underthat one.An answer stands on two lines and not one. A firing answers the term its entrywrote and `phino` morphs that term before standing it back into the program, so`𝑛.1.1` is what the entry wrote, with the symbols this firing minted already init, commented with `𝑛` to name the key it was read from, and `𝑛.1.2` is thenormal form 𝕄 made of it, commented with `𝕄(𝑛.1.1)` to say where it came from.It is the same morphing every other term goes through, and writing only itsoutcome would have the formation of `number` appear in place of the threetokens the entry wrote with nothing saying why. Whatever that morphing firesopens its own block between the two lines, exactly where a firing an operandtook opens one, so the order the lines come in is the order the work was donein.Where an operand came down to the datum a symbol stands for, the protocol writes`𝔻(𝜎1:λ)` in place of that 42 (`𝜎1:λ` is the formation `⟦ λ ⤍ 𝜎1 ⟧`, in thesugar every sweet term is written with), so a reader sees that the value wasmanufactured rather than read out of the program. A `𝜎` is the name of a λfunction and no term of its own, so 𝔻 is applied to the formation carrying itand never to the name alone.A `symbolize` line writes a line per fresh symbol it minted, ahead of the linebinding the term that carries them, and that line is a fact and no assignment:`𝔻(𝜎44:λ) == 3F-F0-00-00-00-00-00-00` says that dataizing the formation`𝜎44` names answers those bytes. Nothing binds bytes to a `𝜎`, since it isneither a datum nor a term. A consumer reading the protocol back treats asymbol with such a fact as a constant and every other symbol as an unknown.The line binding the term of a `symbolize` one is commented with the meta itwas told to stand, `𝑛3.1 := ⟦ λ ⤔ 𝜆8 ⟧  # 𝑛1`, and with no judgmentaround it: standing the data of a term into unknowns is the file's ownoperation and nothing of the calculus runs there, so the line names a meta ofthe entry the way a `join` line names the two it joined. A comment carries theletter of a judgment exactly where a judgment made the value.The site of a firing is a locator, written as a comment the way an operandline writes the term it came from, under the letter of the judgment that askedfor the firing: 𝔼 is fired by the `ml` rule of morphing and by the `fire` ruleof dataization, so `𝕄(Φ.demo.a.φ)` is a λ function fired while 𝕄 was reducingthat binding and `𝔻(Φ)` one fired because dataization demanded data of `Φ`.A chain such as `5.plus( 6 ).plus( 7 )` writes both: the inner call is firedwhile 𝕄 reduces the head of the outer dispatch, the outer one because 𝔻 askedfor the data. The site itself is where in the program the firingbelongs: the term the run was aimed at, so `Φ` for a run that was aimed atnothing in particular, and, under `--deep`, the binding the walk had enteredwhen the λ function fired, since that walk reduces every part of the programin turn and one entry answers the same way wherever it is fired. A locatornames a binding and reaches no further, so a firing standing deeper inside aterm than that — under a dispatch, or in the argument of an application — iswritten under the last binding the walk entered, which is the smallest part ofthe program a reader can aim a run of their own at. An operand of a firing isreduced bound to a synthetic attribute of the universe (see `--inside` below),so a λ function fired while it came down is written under that attribute andnot under the site of the firing that asked for it.An operand line ends in the judgment that reduced it and the term it wasreduced from, written as a comment after two spaces and `#`. The value alonesays what the meta was bound to and neither what it was bound from nor whatwas done to it, so `𝛿1.1 := 40-14-00-00-00-00-00-00  # 𝔻(ξ.ρ)` reads "the`𝛿1` of this firing is the `ρ` of the formation brought down through 𝔻, andit came down to 20", where a `morph` operand reads `𝑛1.5 := 𝑛.3.2  # 𝕄(ξ.then)`and says that the `then` of the formation reached its normal form through 𝕄.Which of the two judgments ran is the whole difference between a line endingin data and one ending in a term. It is the very term the entry wrote underthat meta, spelled the way the calculus reads it — `$` is read as `ξ` — so areader never has to open the `--symbolic` file beside the protocol and matchevery line by λ name and meta number.`?(…)` is a λ name no entry answers, standing where the block of its firingwould have stood. Nothing fired, so nothing opens under it. The line iscommented with the judgment that asked and the formation it was asking about,`𝕄(L_none:λ)`, the way an operand line is commented with the term it wasreduced from: 𝔼 is fired by the `ml` rule of morphing and by the `fire` ruleof dataization, so the letter says where in the reduction the site stands andthe term says which object the λ function that could not fire belongs to. Itis writtenwhether or not `--partial` goes on to park the run, since the protocol recordswhat 𝔼 was asked for, and a question it could not answer belongs there as muchas one it could — once per site and not once per attempt, since a site`--partial` parks stays in the residue and `--deep` walks over it again:<!-- markdownlint-disable MD013 -->```bash$ phino dataize --symbolic=atoms.yaml --protocol=atoms.txt --quiet \    --sweet --hide-rho stuck.phi[ERROR]: No entry of --symbolic answers the λ function 'L_number_nope'$ cat atoms.txt𝔻(Φ)  formation(⟦ bytes(φ) ↦ ⟦⟧, number(φ) ↦ ⟦ plus(x) ↦ L_number_plus:λ, nope ↦ L_number_nope:λ ⟧, φ ↦ 5.plus( 6 ).nope ⟧)  # 𝔻(Φ)    𝔼(L_number_plus)  # 𝕄(Φ)      formation(⟦ φ ↦ Φ.bytes( φ ↦ 40-14-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ, nope ↦ L_number_nope:λ ⟧)  # 𝔻(Φ.a🌵0)        formation(40-14-00-00-00-00-00-00:Δ:φ)  # 𝔻(Φ.a🌵0)      𝛿1.1 := 40-14-00-00-00-00-00-00  # 𝔻(ξ.ρ)      formation(⟦ φ ↦ Φ.bytes( φ ↦ 40-18-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ, nope ↦ L_number_nope:λ ⟧)  # 𝔻(Φ.a🌵1)        formation(40-18-00-00-00-00-00-00:Δ:φ)  # 𝔻(Φ.a🌵1)      𝛿2.1 := 40-18-00-00-00-00-00-00  # 𝔻(ξ.x)      𝑛.1.1 := Φ.number( φ ↦ 𝜎1:λ )  # 𝑛      𝑛.1.2 := ⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_number_plus:λ, nope ↦ L_number_nope:λ ⟧  # 𝕄(𝑛.1.1)    ?(L_number_nope)  # 𝔻(L_number_nope:λ)```<!-- markdownlint-enable MD013 -->The very same file comes back with `--partial`, where the run answers theresidue instead of failing: what `phino` could not decide is a property of theprogram and not of the option that decides what to do about it.Every term is 𝜑 on a single line, whatever `--output` and `--flat` say aboutthe result of the run, so a program reading the protocol back never has to knowwhat the run printed. The file is truncated at the beginning of every run, soit always holds the firings of exactly one run.The blocks come in the order the reduction walks the term, and that order isnot what the dependencies are read from — the symbols are. Take a comparisonnobody can decide, a fork branching on it, and an `atoms.yaml` of threeentries, the λ functions named briefly to keep the lines below short:```yaml- λ: L_plus  dataize:    𝛿1: $.ρ    𝛿2: $.x  𝑛: Φ.number( φ ↦ ⟦ λ ⤍ 𝜎 ⟧ )- λ: L_gt  dataize:    𝛿1: $.ρ    𝛿2: $.x  𝑛: Φ.bool( if ↦ ⟦ λ ⤍ L_fork, then ↦ ∅, else ↦ ∅, φ ↦ ⟦ λ ⤍ 𝜎 ⟧ ⟧ )- λ: L_fork  dataize:    𝛿1: $.φ  morph:    𝑛1: $.then    𝑛2: $.else  join:    𝑛3: [𝑛1, 𝑛2]  𝑛: 𝑛3```<!-- markdownlint-disable MD013 -->```bash$ cat fork.phi⟦  bytes ↦ ⟦ φ ↦ ∅ ⟧,  bool ↦ ⟦ if ↦ ∅ ⟧,  number ↦ ⟦ φ ↦ ∅, plus(ρ, x) ↦ ⟦ λ ⤍ L_plus ⟧, gt(ρ, x) ↦ ⟦ λ ⤍ L_gt ⟧ ⟧,  foo(x) ↦ ⟦    φ ↦ ξ.x.gt( 0 ).if( ξ.x.plus( ξ.x.plus( 1 ) ), ξ.x.plus( ξ.x ) ).plus( 5 )  ⟧,  demo ↦ ⟦ a ↦ Φ.foo( Φ.number( φ ↦ ⟦ λ ⤍ 𝜎1 ⟧ ) ) ⟧⟧$ phino morph --deep --symbolic=atoms.yaml --locator=Q.demo.a \    --protocol=fork.txt --quiet --sweet --hide-rho fork.phi$ cat fork.txt𝕄(Φ.demo.a)  𝔼(L_gt)  # 𝕄(Φ.demo.a.φ)    formation(⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧)  # 𝔻(Φ.a🌵0)    𝛿1.1 := 𝔻(𝜎1:λ)  # 𝔻(ξ.ρ)    formation(⟦ φ ↦ Φ.bytes( φ ↦ 00-00-00-00-00-00-00-00:Δ ), plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧)  # 𝔻(Φ.a🌵1)      formation(00-00-00-00-00-00-00-00:Δ:φ)  # 𝔻(Φ.a🌵1)    𝛿2.1 := 00-00-00-00-00-00-00-00  # 𝔻(ξ.x)    𝑛.1.1 := Φ.bool( if(then, else) ↦ ⟦ λ ⤍ L_fork, φ ↦ 𝜎2:λ ⟧ )  # 𝑛    𝑛.1.2 := ⟦ if(then, else) ↦ ⟦ λ ⤍ L_fork, φ ↦ 𝜎2:λ ⟧ ⟧  # 𝕄(𝑛.1.1)  𝔼(L_plus)  # 𝕄(Φ.demo.a.φ)    formation(⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧)  # 𝔻(Φ.a🌵2)    𝛿1.2 := 𝔻(𝜎1:λ)  # 𝔻(ξ.ρ)    formation(⟦ φ ↦ Φ.bytes( φ ↦ 3F-F0-00-00-00-00-00-00:Δ ), plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧)  # 𝔻(Φ.a🌵3)      formation(3F-F0-00-00-00-00-00-00:Δ:φ)  # 𝔻(Φ.a🌵3)    𝛿2.2 := 3F-F0-00-00-00-00-00-00  # 𝔻(ξ.x)    𝑛.2.1 := Φ.number( φ ↦ 𝜎3:λ )  # 𝑛    𝑛.2.2 := ⟦ φ ↦ 𝜎3:λ, plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧  # 𝕄(𝑛.2.1)  𝔼(L_plus)  # 𝕄(Φ.demo.a.φ)    formation(⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧)  # 𝔻(Φ.a🌵4)    𝛿1.3 := 𝔻(𝜎1:λ)  # 𝔻(ξ.ρ)    formation(⟦ φ ↦ 𝜎3:λ, plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧)  # 𝔻(Φ.a🌵5)    𝛿2.3 := 𝔻(𝜎3:λ)  # 𝔻(ξ.x)    𝑛.3.1 := Φ.number( φ ↦ 𝜎4:λ )  # 𝑛    𝑛.3.2 := ⟦ φ ↦ 𝜎4:λ, plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧  # 𝕄(𝑛.3.1)  𝔼(L_plus)  # 𝕄(Φ.demo.a.φ)    formation(⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧)  # 𝔻(Φ.a🌵6)    𝛿1.4 := 𝔻(𝜎1:λ)  # 𝔻(ξ.ρ)    formation(⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧)  # 𝔻(Φ.a🌵7)    𝛿2.4 := 𝔻(𝜎1:λ)  # 𝔻(ξ.x)    𝑛.4.1 := Φ.number( φ ↦ 𝜎5:λ )  # 𝑛    𝑛.4.2 := ⟦ φ ↦ 𝜎5:λ, plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧  # 𝕄(𝑛.4.1)  𝔼(L_fork)  # 𝕄(Φ.demo.a.φ)    𝛿1.5 := 𝔻(𝜎2:λ)  # 𝔻(ξ.φ)    𝑛1.5 := 𝑛.3.2  # 𝕄(ξ.then)    𝑛2.5 := 𝑛.4.2  # 𝕄(ξ.else)    𝔻(𝜎6:λ) ∈ { 𝔻(𝜎4:λ), 𝔻(𝜎5:λ) }    𝑛3.5 := ⟦ φ ↦ 𝜎6:λ, plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧  # [𝑛1, 𝑛2]    𝑛.5.1 := 𝑛3.5  # 𝑛    𝑛.5.2 := 𝑛3.5  # 𝕄(𝑛.5.1)  𝔼(L_plus)  # 𝕄(Φ.demo.a.φ)    formation(⟦ φ ↦ 𝜎6:λ, plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧)  # 𝔻(Φ.a🌵11)    𝛿1.6 := 𝔻(𝜎6:λ)  # 𝔻(ξ.ρ)    formation(⟦ φ ↦ Φ.bytes( φ ↦ 40-14-00-00-00-00-00-00:Δ ), plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧)  # 𝔻(Φ.a🌵12)      formation(40-14-00-00-00-00-00-00:Δ:φ)  # 𝔻(Φ.a🌵12)    𝛿2.6 := 40-14-00-00-00-00-00-00  # 𝔻(ξ.x)    𝑛.6.1 := Φ.number( φ ↦ 𝜎7:λ )  # 𝑛    𝑛.6.2 := ⟦ φ ↦ 𝜎7:λ, plus(x) ↦ L_plus:λ, gt(x) ↦ L_gt:λ ⟧  # 𝕄(𝑛.6.1)```<!-- markdownlint-enable MD013 -->`𝜎3` is minted by the second firing and consumed by the third as`𝔻(𝜎3:λ)`, and `𝜎2` by the first and consumed by the fork. `𝜎4` and`𝜎5` are what the two branches came to, and the fork consumes both: its `join`line makes them one term carrying `𝜎6`, which the `plus( 5 )` standing afterthe fork then reads as `𝔻(𝜎6:λ)`. The line`𝔻(𝜎6:λ) ∈ { 𝔻(𝜎4:λ), 𝔻(𝜎5:λ) }` is what ties the threetogether: dataizing the formation `𝜎6` names answers what dataizing one of theother two answers. A reader who knows the entry knows that `𝛿1` is what decidesbetween them and that the first of the two belongs to `then`. Nothing isassigned to a `𝜎`, it being the name of a λ function, so the fact stands on aline of its own the way what a `symbolize` line knows does, and the line underit binds the meta, commented with the two metas it joined.Were the fork to answer one of its branches instead, the value of the otherwould be minted and never consumed, and `foo` would read as a program thatcomputes a condition, computes both branches and then drops the branch point.All six firings stand under `Φ.demo.a.φ`, which is as near as a locator getsto any of them: the walk entered the `φ` of the formation `Φ.demo.a` morphs to,and everything under it — the dispatches of the chain, the arguments of `if` —stands under no attribute of any formation, so the binding the walk had enteredis what the protocol writes them under.A firing that happened while an operand of another was being reduced stands onelevel deeper, under the firing that asked for it. Here it never happens,because deep morphing reduces both branches where they sit as arguments of`if`, long before the dispatch that fires the fork.### The protocol as XMLThe name of the file decides which of the two formats `--protocol` writes: aname ending in `.xml` gets the same tree as markup, every other name gets theindented text above. There is no option for it, since a caller who asks for afile called `atoms.xml` and gets text back has been told nothing useful. Hereis the run at the top of this section again:<!-- markdownlint-disable MD013 -->```bash$ phino dataize --symbolic=atoms.yaml --protocol=atoms.xml --quiet \    --sweet --hide-rho sum.phi$ cat atoms.xml<?xml version="1.0" encoding="UTF-8"?><dataize at="Φ">  <formation at="Φ" term="⟦ bytes(φ) ↦ ⟦⟧, number(φ) ↦ ⟦ plus(x) ↦ L_number_plus:λ ⟧, φ ↦ 5.plus( 6 ) ⟧">    <evaluate λ="L_number_plus" by="dataize" at="Φ">      <formation at="Φ.a🌵0" term="⟦ φ ↦ Φ.bytes( φ ↦ 40-14-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ ⟧">        <formation at="Φ.a🌵0" term="40-14-00-00-00-00-00-00:Δ:φ">        </formation>      </formation>      <bind meta="𝛿1.1">40-14-00-00-00-00-00-00</bind>      <formation at="Φ.a🌵1" term="⟦ φ ↦ Φ.bytes( φ ↦ 40-18-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ ⟧">        <formation at="Φ.a🌵1" term="40-18-00-00-00-00-00-00:Δ:φ">        </formation>      </formation>      <bind meta="𝛿2.1">40-18-00-00-00-00-00-00</bind>      <minted symbol="𝜎1">40-14-00-00-00-00-00-00 40-18-00-00-00-00-00-00</minted>      <built meta="𝑛.1.1">Φ.number( φ ↦ 𝜎1:λ )</built>      <answer meta="𝑛.1.2">⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_number_plus:λ ⟧</answer>    </evaluate>    <formation at="Φ" term="⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_number_plus:λ ⟧">    </formation>  </formation></dataize>```<!-- markdownlint-enable MD013 -->The root is the run itself, named after the judgment it ran — `<dataize>` for a𝔻, `<morph>` for a 𝕄 — with `at` naming the term it was aimed at, which iswhat the text format opens with as `𝔻(Φ)`. `<evaluate>` is one firing of 𝔼, `λ`naming the entry that answered it, `by` naming the judgment that asked for thefiring — the same word the root is named after and a `<stuck>` carries — and`at` naming the site it was fired at. The text format writes those two as thecomment of its line, `𝔻(Φ)`.`<formation at="Φ" term="⟦ … ⟧">` is a formation 𝔻 got into through `box`,which the text format writes as `formation(⟦ … ⟧)  # 𝔻(Φ)`: `at` names thesite it was entered at and `term` holds the formation. Whatever the `φ` bodydoes is written inside the element, so it closes where the text format dropsback to the indentation it opened at, and like the text line it counts nothingand names no meta.`<bind>` is one meta the firing bound, `meta` naming it the same way the textformat names it, counter and all, and the element holding the value it took: aterm where the operand was reduced with 𝕄, the datum itself where a `dataize`operand came down to data. `<dataize>` inside a firing is the other thing a`dataize` operand may come to, the datum manufactured for an unknown, and holdsthe formation that unknown names rather than the 42 standing for it: a `𝜎` isthe name of a λ function and no term of its own, so what 𝔻 was applied to is`𝜎2:λ` and never `𝜎2` alone. It carries `meta` where the root carries`at`, the same difference the text format draws between `𝔻(Φ)` at the topand `𝛿1.2 := 𝔻(…)` in a block. The name of the element is what tells amanufactured datum from data, the way `𝔻(…)` does in the text format, sonothing has to be read off the presence of an attribute. `<answer>` holds theterm the firing answered with, named the same way by its own `meta`, and`<built>` before it holds the term the entry wrote, the one 𝕄 made that answerof: two elements rather than two attributes of one, for the same reason`<dataize>` is no `<bind>`.`<known symbol="𝜎44">3F-F0-00-00-00-00-00-00</known>` is the fact a `symbolize`line writes about a symbol it minted, which the text format writes as`𝔻(𝜎44:λ) == …`: the symbol stands in the attribute a reader joinslines on and the data dataizing its formation answers are the text of theelement. It takes `symbol` and not `meta`, since the fact is about the unknownand not about a meta the firing bound.`<joined symbol="𝜎6">𝜎4 𝜎5</joined>` is the same kind of fact about a symbola `join` line minted, which the text format writes as`𝔻(𝜎6:λ) ∈ { 𝔻(𝜎4:λ), 𝔻(𝜎5:λ) }`: the fresh symbol standsin `symbol` and the two it was minted for are the text, in the order the linelisted the metas it joined. A line whose two terms differ at several placeswrites one element per pair of symbols, and one whose terms are alike writesnone. The meta the line binds is a `<bind>` like every other meta of thefiring.`<minted symbol="𝜎1">40-14-… 40-18-…</minted>` is one symbol the firingminted, one element per bare `𝜎` the entry wrote its answer with, standinginside the block ahead of the `<built>` carrying them. The symbol stands in`symbol`, the way `<known>` and `<joined>` put theirs, and the text is what isknown about it: the values the `dataize` lines of the entry took, in the orderthe entry declares them, each spelled as its own line spells it — the bytesfor a datum, `𝜎1` for a symbol — and separated by a space the way `<joined>`lists its pair. With the `λ` of the block the element reads as the fact`𝔻(𝜎1:λ) == L_number_plus(40-14-…, 40-18-…)`, and a firing of an entry withno `dataize` line writes `<minted symbol="𝜎1"/>`. The symbol is also the edgea reader joins on: a later `<dataize meta="𝛿1.5">𝜎2:λ</dataize>` names thesymbol the firing that wrote `<minted symbol="𝜎2">` handed out. A firingminting two symbols writes two elements and one minting none writes none,which no attribute on the answer could say: a term may carry several symbols,or carry one where the value it stands for is not a symbol at all. In the forkabove, `𝔼(L_gt)` writes `<minted symbol="𝜎2">` although `𝜎2` sits under `if`and not where the value of the term is, while `𝔼(L_fork)` writes none at all,since the symbol it answers with comes from a `join` line and stands in a`<joined>` of its own.A λ name no entry answers is `<stuck λ="…">`, standing where its `<evaluate>`would have stood with the formation 𝔼 was fired against as its text and thejudgment that asked in its `by` attribute, where the text format writesthe letter of it. A firing that happened while an operand of another was beingreduced is an `<evaluate>` inside the one that asked, which is what the deeperindentation means in the text. Elements are written as the run goes andthe open ones are closed when it ends, so a run that fails still leaves awell-formed document behind:<!-- markdownlint-disable MD013 -->```bash$ phino dataize --symbolic=atoms.yaml --protocol=atoms.xml --quiet \    --sweet --hide-rho stuck.phi[ERROR]: No entry of --symbolic answers the λ function 'L_number_nope'$ cat atoms.xml<?xml version="1.0" encoding="UTF-8"?><dataize at="Φ">  <formation at="Φ" term="⟦ bytes(φ) ↦ ⟦⟧, number(φ) ↦ ⟦ plus(x) ↦ L_number_plus:λ, nope ↦ L_number_nope:λ ⟧, φ ↦ 5.plus( 6 ).nope ⟧">    <evaluate λ="L_number_plus" by="morph" at="Φ">      <formation at="Φ.a🌵0" term="⟦ φ ↦ Φ.bytes( φ ↦ 40-14-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ, nope ↦ L_number_nope:λ ⟧">        <formation at="Φ.a🌵0" term="40-14-00-00-00-00-00-00:Δ:φ">        </formation>      </formation>      <bind meta="𝛿1.1">40-14-00-00-00-00-00-00</bind>      <formation at="Φ.a🌵1" term="⟦ φ ↦ Φ.bytes( φ ↦ 40-18-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ, nope ↦ L_number_nope:λ ⟧">        <formation at="Φ.a🌵1" term="40-18-00-00-00-00-00-00:Δ:φ">        </formation>      </formation>      <bind meta="𝛿2.1">40-18-00-00-00-00-00-00</bind>      <minted symbol="𝜎1">40-14-00-00-00-00-00-00 40-18-00-00-00-00-00-00</minted>      <built meta="𝑛.1.1">Φ.number( φ ↦ 𝜎1:λ )</built>      <answer meta="𝑛.1.2">⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_number_plus:λ, nope ↦ L_number_nope:λ ⟧</answer>    </evaluate>    <stuck λ="L_number_nope" by="dataize">L_number_nope:λ</stuck>  </formation></dataize>```<!-- markdownlint-enable MD013 -->### Abridging the protocolA formation carrying a whole object is written flat on one line, so a realrun fills the protocol with lines tens of thousands of characters long. The`--abridged` option shortens every term the protocol writes, in the text andthe XML alike: a formation longer than sixty characters keeps its `φ`, `Δ` and`λ` bindings and folds the rest into a count, and a byte string longer thaneight bytes keeps its first four bytes and its length. The result the runprints stays whole, and the option is refused without `--protocol`:<!-- markdownlint-disable MD013 -->```bash$ cat wide.phi⟦  t ↦ ⟦    φ ↦ ⟦ Δ ⤍ 48-65-6C-6C-6F-2C-20-77-6F-72-6C-64 ⟧,    left ↦ ξ.right,    right ↦ ξ.left,    middle ↦ ξ.left  ⟧⟧$ phino dataize --locator=Q.t --protocol=wide.txt --abridged --quiet \    --sweet --hide-rho wide.phi$ cat wide.txt𝔻(Φ.t)  formation(⟦ φ ↦ 48-65-6C-6C-...(12b):Δ, +3 attrs ⟧)  # 𝔻(Φ.t)```<!-- markdownlint-enable MD013 -->### Reducing a term inside a universeA term that is no part of the program may still be reduced against it, with the`--inside` option: the expression it names is bound to a synthetic attributeprepended to the input expression, which the run takes as the universe Φ,normalized there and then reduced.```bash$ cat universe.phi⟦  bytes ↦ ⟦ φ ↦ ∅ ⟧,  number ↦ ⟦ φ ↦ ∅, plus(ρ, x) ↦ ⟦ λ ⤍ L_number_plus ⟧ ⟧⟧$ phino dataize --symbolic=atoms.yaml --inside='5.plus( 6 )' universe.phi40-45-00-00-00-00-00-00```This is the very trick `phino` plays internally to reduce the operands of afiring, made available to whoever asks it to reduce a term the program does nothold. The option cannot be combined with `--locator`, since it aims the run atthe binding it mints itself. Both `dataize` and `morph` take `--symbolic` and`--inside`.### Partial evaluationA λ function no entry of the `--symbolic` file answers fails the run. This iswhat happens when an operation is deliberately left out — an input the objectmodel has not declared yet, or an operation whose answer is not known. With`--partial`, dataization becomes partial evaluation instead: what the knowninputs decide is computed, the rest survives as the residual program, which isprinted in place of the bytes, and the run ends successfully:```bash$ cat partial.phi⟦  bytes ↦ ⟦ φ ↦ ∅ ⟧,  number ↦ ⟦    φ ↦ ∅,    plus(ρ, x) ↦ ⟦ λ ⤍ L_number_plus ⟧,    times(ρ, x) ↦ ⟦ λ ⤍ L_number_times ⟧,    as-bool ↦ ⟦ λ ⤍ L_number_as_bool ⟧  ⟧,  φ ↦ 2.times( 3 ).plus( 4 ).as-bool⟧$ phino dataize --symbolic=atoms.yaml --sweet --hide-rho partial.phi[ERROR]: No entry of --symbolic answers the λ function 'L_number_as_bool'$ phino dataize --symbolic=atoms.yaml --partial --sweet --hide-rho partial.phiL_number_as_bool:λ```Here `2.times( 3 ).plus( 4 )` was answered by the entries the file carries, soit was reduced — the symbol it came to sits in the hidden `ρ` of the residualprogram — while `as-bool` names a λ function no entry answers, so it stays inplace as a normal-form subterm. A stuck site opens no block in the`--protocol` file, since nothing fired there, and stands in it as `?(…)`:<!-- markdownlint-disable MD013 -->```bash$ phino dataize --symbolic=atoms.yaml --partial --protocol=atoms.txt --quiet \    --sweet --hide-rho partial.phi$ cat atoms.txt𝔻(Φ)  formation(⟦ bytes(φ) ↦ ⟦⟧, number(φ) ↦ ⟦ plus(x) ↦ L_number_plus:λ, times(x) ↦ L_number_times:λ, as-bool ↦ L_number_as_bool:λ ⟧, φ ↦ 2.times( 3 ).plus( 4 ).as-bool ⟧)  # 𝔻(Φ)    𝔼(L_number_times)  # 𝕄(Φ)      formation(⟦ φ ↦ Φ.bytes( φ ↦ 40-00-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ, times(x) ↦ L_number_times:λ, as-bool ↦ L_number_as_bool:λ ⟧)  # 𝔻(Φ.a🌵0)        formation(40-00-00-00-00-00-00-00:Δ:φ)  # 𝔻(Φ.a🌵0)      𝛿1.1 := 40-00-00-00-00-00-00-00  # 𝔻(ξ.ρ)      formation(⟦ φ ↦ Φ.bytes( φ ↦ 40-08-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ, times(x) ↦ L_number_times:λ, as-bool ↦ L_number_as_bool:λ ⟧)  # 𝔻(Φ.a🌵1)        formation(40-08-00-00-00-00-00-00:Δ:φ)  # 𝔻(Φ.a🌵1)      𝛿2.1 := 40-08-00-00-00-00-00-00  # 𝔻(ξ.x)      𝑛.1.1 := Φ.number( φ ↦ 𝜎1:λ )  # 𝑛      𝑛.1.2 := ⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_number_plus:λ, times(x) ↦ L_number_times:λ, as-bool ↦ L_number_as_bool:λ ⟧  # 𝕄(𝑛.1.1)    𝔼(L_number_plus)  # 𝕄(Φ)      formation(⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_number_plus:λ, times(x) ↦ L_number_times:λ, as-bool ↦ L_number_as_bool:λ ⟧)  # 𝔻(Φ.a🌵2)      𝛿1.2 := 𝔻(𝜎1:λ)  # 𝔻(ξ.ρ)      formation(⟦ φ ↦ Φ.bytes( φ ↦ 40-10-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ, times(x) ↦ L_number_times:λ, as-bool ↦ L_number_as_bool:λ ⟧)  # 𝔻(Φ.a🌵3)        formation(40-10-00-00-00-00-00-00:Δ:φ)  # 𝔻(Φ.a🌵3)      𝛿2.2 := 40-10-00-00-00-00-00-00  # 𝔻(ξ.x)      𝑛.2.1 := Φ.number( φ ↦ 𝜎2:λ )  # 𝑛      𝑛.2.2 := ⟦ φ ↦ 𝜎2:λ, plus(x) ↦ L_number_plus:λ, times(x) ↦ L_number_times:λ, as-bool ↦ L_number_as_bool:λ ⟧  # 𝕄(𝑛.2.1)    ?(L_number_as_bool)  # 𝔻(L_number_as_bool:λ)```<!-- markdownlint-enable MD013 -->Evaluation stays demand-driven, as the calculus prescribes: an argumentthat nothing asked for before the run got stuck is left as it is in theresidual program, for the next iteration.An operand of a firing that reaches the terminator `⊥`, or a term nodataization rule matches, such as a formation whose `φ` is a void nothingfilled, never comes down to data either, and `--partial` parks that firingthe same way, writing the dead end into the protocol as `?(⊥)` with the termthat could not be dataized beside it. Dataization aimed at `⊥` itself stillfails, with or without `--partial`, since there is no firing to park.The nested morphing and dataization recursion is bounded by the`--max-steps` option (default `1000`): when the budget is exhausted, the runfails with `Dataization did not finish before reaching the limit of steps`.This guards against non-terminating terms, which used to loop forever beforethe bound was introduced:```bash$ phino dataize --max-steps=50 problem.phi[ERROR]: Dataization did not finish before reaching the limit of steps: --max-steps=50```That budget bounds how deep one branch goes, not how much the whole run does.An entry that reduces two operands, each firing it again, doubles its work atevery level and still never gets deep, so no `--max-steps` stops it. The`--max-firings` option counts every λ function the run fires and fails therun once the count is spent; `--partial` parks it instead, the way it parks aspent `--max-steps`. There is no limit unless the option is given:```bash$ cat split.yaml- λ: L_split  morph:    𝑛1: Φ.s.foo    𝑛2: Φ.s.foo  𝑛: ⟦ l ↦ 𝑛1, r ↦ 𝑛2 ⟧$ cat split.phi⟦ s ↦ ⟦ λ ⤍ L_split ⟧, x ↦ Φ.s.foo ⟧$ phino morph --symbolic=split.yaml --locator=Q.x --max-firings=64 split.phi[ERROR]: Evaluation did not finish before reaching the limit of firings: --max-firings=64```## MorphDataization insists on bytes. Morphing 𝕄 asks a different question: evaluateas far as the object model allows, without demanding data. It resolves Φagainst the universe, peels dispatches and applications throughnormalization, fires whichever λ functions sit under a dispatch, and stops atthe first formation it reaches, handing that formation back untouched. The`morph` command runs 𝕄 on its own:```bash$ cat two.phi⟦  bytes ↦ ⟦ φ ↦ ∅ ⟧,  number ↦ ⟦ φ ↦ ∅, plus(ρ, x) ↦ ⟦ λ ⤍ L_number_plus ⟧ ⟧,  φ ↦ 5.plus( 6 ).plus( 7 )⟧$ phino dataize --symbolic=atoms.yaml --sweet --hide-rho two.phi40-45-00-00-00-00-00-00$ phino morph --symbolic=atoms.yaml --locator=Q.φ --sweet --hide-rho two.phi⟦ x ↦ 7, λ ⤍ L_number_plus ⟧```The inner `5.plus( 6 )` fires, because `.plus` is dispatched on its result,and the symbol it answered with lands in the `ρ` hidden by `--hide-rho`. Theouter application is saturated but bare, so 𝕄 returns it and is finished;firing it is dataization's job and takes `dataize` on to a datum.The default locator `Q` morphs the whole top formation, which 𝕄 returnsunchanged, so `--locator` is how one aims 𝕄 at a subterm, exactly as in`dataize`. Unlike 𝔻, 𝕄 is total: where no formation is reachable the answeris the terminator `⊥`, printed rather than reported as a failed run:```bash$ phino morph --locator=Q.x <<< '⟦ x ↦ ξ ⟧'⊥```The whole `dataize` option surface applies unchanged — `--symbolic`,`--inside`, `--sequence`, `--headers`, `--steps-dir`, `--protocol`,`--partial`, `--max-steps`, `--shuffle`/`--seed`, `--output`, `--focus` and therest.### Deep morphing𝕄 stops at the first formation it reaches and hands its bindings back as theywere written, since firing a bare λ is dataization's job, and `dataize`follows the one path dataization demands and ends in bytes. What a programholds but nothing demands — the argument of a λ function no entry answers, forone — is therefore reduced by neither. The `--deep` flag enters it:```bash$ cat gap.phi⟦  bytes ↦ ⟦ φ ↦ ∅ ⟧,  number ↦ ⟦ φ ↦ ∅, times(ρ, x) ↦ ⟦ λ ⤍ L_number_times ⟧ ⟧,  bar(x) ↦ ⟦ λ ⤍ L_bar ⟧,  demo ↦ ⟦ foo ↦ ⟦ n ↦ 3, φ ↦ Φ.bar( ξ.n.times( 5 ).times( 7 ) ) ⟧ ⟧⟧$ phino morph --symbolic=atoms.yaml --inside='Q.demo.foo' \    --sweet --hide-rho gap.phi⟦ n ↦ 3, φ ↦ Φ.bar( n.times( 5 ).times( 7 ) ) ⟧$ phino morph --deep --symbolic=atoms.yaml --inside='Q.demo.foo' \    --sweet --hide-rho gap.phi⟦ n ↦ 3, φ ↦ Φ.bar( ⟦ φ ↦ 𝜎2:λ, times(x) ↦ L_number_times:λ ⟧ ) ⟧```Every binding of the formation is entered, recursively. 𝕄 is asked about theterm standing there and, where it lands on a saturated formation whose λ anentry answers, that λ is fired and 𝕄 is asked about the answer again. A term onwhose way a λ function fired is replaced by the answer of the last firing,morphed: an entry answering `Φ.number( φ ↦ ⟦ λ ⤍ 𝜎 ⟧ )` stands the formation of`number` there, the very one the same term written in the program morphs to, soa value that came out of a firing and a value that was written as a literal areone shape and can be compared leaf by leaf. That costs the size of the object'sformation in the residual, which is the price of saying the same thing one way.A term nothing fired on stays exactly as it was written and only its own partsare walked, so `Φ.bar` keeps its name and what comes back is still the sameprogram, reduced as far as the file allows. The step joins the chain under thename `deep`, so `--sequence` shows it, and `--max-steps` bounds the walk.Two things are left alone. A λ no entry answers is not fired at all, so`--deep` stays as total as 𝕄 itself and needs no `--partial`; a λ function thatgets stuck deeper on a spine still fails the run, and `--partial` parks it,leaving that term as it was written. A firing the walk does make and cannotfinish — one whose operand never comes down to data, because a λ nothinganswers stands in it — is parked by `--partial` the same way: the binding itstood in is left as it was written, the walk enters the next one, and theprotocol shows the firing with nothing bound under it. One entry nothing cananswer therefore taints its own binding and not the whole run. A formationstill holding a voidbinding is not fired either: the void is an argument the program has not givenyet, so `times(x) ↦ L_number_times:λ` is a method waiting to be applied,not an application waiting to be computed. Walking the whole program thereforefolds what it can and leaves the object model as it was declared:```bash$ phino morph --deep --symbolic=atoms.yaml --sweet --hide-rho gap.phi⟦  bytes(φ) ↦ ⟦⟧,  number(φ) ↦ ⟦ times(x) ↦ L_number_times:λ ⟧,  bar(x) ↦ L_bar:λ,  demo ↦ ⟦ n ↦ 3, φ ↦ Φ.bar( ⟦ φ ↦ 𝜎2:λ, times(x) ↦ L_number_times:λ ⟧ ) ⟧:foo⟧```### Acyclic morphingWhether a program terminates is the object model's business, not thecalculus's, so phino prevents no recursion of its own and `--max-steps` is whatends a run that never finishes. An entry answering with a firing of itselftherefore spends the whole budget before it fails, and what it fails on is thelimit rather than the loop:```bash$ cat loop.yaml- λ: L_loop  𝑛: ⟦ λ ⤍ L_loop ⟧$ cat loop.phi⟦ x ↦ ⟦ λ ⤍ L_loop ⟧.foo ⟧$ phino morph --symbolic=loop.yaml --locator='Q.x' --max-steps=40 loop.phi[ERROR]: Dataization did not finish before reaching the limit of steps: --max-steps=40```The `--acyclic=<mode>` option makes a reduction notice. Every frame of 𝕄 andof 𝔻 remembers the formations the frames above it have entered, and only fourplaces enter one: `fire` of 𝔻 and `ml` of 𝕄, which fire the λ function of aformation, the walk of `--deep`, which fires the λ function of every formation𝕄 leaves bare, and `box` of 𝔻, which gets into the `φ` body of a formationcarrying no λ and no `Δ`. A frame about to enter a formation one of the framesabove it has already entered is asking a question only ever answered by askingit again, so the option stops there and parks the site the way `--partial`parks a λ function that cannot fire: the answer is the term the spine hadreached, left where it stood, and the command exits successfully.```bash$ phino morph --symbolic=loop.yaml --locator='Q.x' --acyclic=proven \    --max-steps=40 --hide-rho loop.phi⟦ λ ⤍ L_loop ⟧.foo```𝕄 and 𝔻 share that one memory. They call each other on the very term theywere asked about, and that handover is no loop, but it enters no formationeither, so it is never remembered and never mistaken for one. A bodydispatching the object it stands in is a loop 𝔻 walks round on its own — 𝕄stops at a formation every round, and `box` gets into it again — so `dataize`takes the option too, and so does the run of 𝔻 a λ function's `dataize` operandis brought down with:```bash$ cat cyc.phi⟦ cyc ↦ ⟦ x ↦ ∅, φ ↦ Φ.cyc( ξ.x ) ⟧, t ↦ Φ.cyc( ⟦⟧ ) ⟧$ phino dataize --locator='Q.t' --acyclic=proven --partial \    --sweet --hide-rho --flat cyc.phi⟦ cyc(x) ↦ Φ.cyc( x ):φ, t ↦ Φ.cyc( ⟦⟧ ) ⟧```𝔻 insists on bytes and a parked term carries none, so under `dataize` the optionwants `--partial` to have something to print: the residual program, exactly theone it prints for a λ function that cannot fire. Without it the run stops onthe loop all the same, naming the formation it entered again instead of runningthe budget down. Under `morph` nothing is asked for: 𝕄 always has a term toanswer with, a loop 𝔻 meets under a firing parks the site the firing stands at,and the walk of `--deep` goes on to the next binding.The mode says what "the same formation" means, and there is no default, sinceno answer is right for every run. Under `proven` it means the same up to arenaming of symbols: twoformations are one where some one-to-one pairing of the symbols of the firstwith those of the second makes them equal, so `𝜎5` may stand where `𝜎3` stoodas long as it does so everywhere and no other symbol stands there too. Data,attribute names and λ names must still match exactly. That is what catches arecursion over an unknown, which never repeats a term: every round mints freshsymbols, so the formation it enters on the second round is the one it enteredon the first with new names for the unknowns. The renaming is sound because asymbol is an opaque value nobody worked out — every one of them dataizes to thesame manufactured datum and no entry of `--symbolic` answers one — so aformation entered again with nothing but its symbols renamed replays the roundit is inside forever. Data still tells rounds apart: a formation entered with`n ↦ 3` and then with `n ↦ 2` is two formations, so a recursion over data isnot cut while it goes on computing. Take a factorial over a symbolic argument,with `fact.yaml` answering `L_zero`, `L_dec` and `L_mul` with a fresh symboleach and `L_if` a fork joining its two branches:<!-- markdownlint-disable MD013 -->```bash$ cat fact.phi⟦  if ↦ ⟦ c ↦ ∅, left ↦ ∅, right ↦ ∅, λ ⤍ L_if ⟧,  zero ↦ ⟦ x ↦ ∅, λ ⤍ L_zero ⟧,  dec ↦ ⟦ x ↦ ∅, λ ⤍ L_dec ⟧,  mul ↦ ⟦ a ↦ ∅, b ↦ ∅, λ ⤍ L_mul ⟧,  fact ↦ ⟦ n ↦ ∅, φ ↦ Φ.if( c ↦ Φ.zero( x ↦ ξ.n ), left ↦ ⟦ Δ ⤍ 01- ⟧, right ↦ Φ.mul( a ↦ ξ.n, b ↦ Φ.fact( n ↦ Φ.dec( x ↦ ξ.n ) ) ) ) ⟧,  x ↦ Φ.fact( n ↦ ⟦ λ ⤍ 𝜎1 ⟧ )⟧$ cat fact.yaml- λ: L_zero  dataize:    𝛿1: $.x  𝑛: ⟦ λ ⤍ 𝜎 ⟧- λ: L_dec  dataize:    𝛿1: $.x  𝑛: ⟦ λ ⤍ 𝜎 ⟧- λ: L_mul  dataize:    𝛿1: $.a    𝛿2: $.b  𝑛: ⟦ λ ⤍ 𝜎 ⟧- λ: L_if  dataize:    𝛿1: $.c  morph:    𝑛1: $.left    𝑛2: $.right  symbolize:    𝑛3: 𝑛1    𝑛4: 𝑛2  join:    𝑛5: [𝑛3, 𝑛4]  𝑛: 𝑛5$ phino morph --deep --acyclic=proven --partial --sweet --hide-rho --flat \    --symbolic=fact.yaml --locator='Q.x' --protocol=fact.txt fact.phi⟦ n ↦ 𝜎1:λ, φ ↦ Φ.if( c ↦ 𝜎2:λ, left ↦ 01-:Δ, right ↦ Φ.mul( a ↦ n, b ↦ Φ.fact( n ↦ 𝜎3:λ ) ) ) ⟧$ cat fact.txt𝕄(Φ.x)  𝔼(L_zero)  # 𝕄(Φ.x.φ)    𝛿1.1 := 𝔻(𝜎1:λ)  # 𝔻(ξ.x)    𝑛.1.1 := 𝜎2:λ  # 𝑛    𝑛.1.2 := 𝜎2:λ  # 𝕄(𝑛.1.1)  𝔼(L_dec)  # 𝕄(Φ.x.φ)    𝛿1.2 := 𝔻(𝜎1:λ)  # 𝔻(ξ.x)    𝑛.2.1 := 𝜎3:λ  # 𝑛    𝑛.2.2 := 𝜎3:λ  # 𝕄(𝑛.2.1)  𝔼(L_mul)  # 𝕄(Φ.x.φ)    𝛿1.3 := 𝔻(𝜎1:λ)  # 𝔻(ξ.a)    formation(⟦ n ↦ 𝜎3:λ, φ ↦ Φ.if( c ↦ Φ.zero( x ↦ n ), left ↦ 01-:Δ, right ↦ Φ.mul( a ↦ n, b ↦ Φ.fact( n ↦ Φ.dec( x ↦ n ) ) ) ) ⟧)  # 𝔻(Φ.a🌵3)      𝔼(L_if)  # 𝔻(Φ.a🌵3)        𝔼(L_zero)  # 𝔻(Φ.a🌵4)          𝛿1.5 := 𝔻(𝜎3:λ)  # 𝔻(ξ.x)          𝑛.5.1 := 𝜎4:λ  # 𝑛          𝑛.5.2 := 𝜎4:λ  # 𝕄(𝑛.5.1)        𝛿1.4 := 𝔻(𝜎4:λ)  # 𝔻(ξ.c)        𝑛1.4 := 01-:Δ  # 𝕄(ξ.left)        𝔼(L_dec)  # 𝕄(Φ.a🌵7.b)          𝛿1.6 := 𝔻(𝜎3:λ)  # 𝔻(ξ.x)          𝑛.6.1 := 𝜎5:λ  # 𝑛          𝑛.6.2 := 𝜎5:λ  # 𝕄(𝑛.6.1)        looped(⟦ a ↦ 𝜎1:λ, b ↦ Φ.fact( n ↦ 𝜎3:λ ), λ ⤍ L_mul ⟧)  # 𝕄(Φ.a🌵7), proven        𝑛2.4 := ⟦ a ↦ 𝜎3:λ, b ↦ Φ.fact( n ↦ 𝜎5:λ ), λ ⤍ L_mul ⟧  # 𝕄(ξ.right)        𝔻(𝜎6:λ) == 01-        𝑛3.4 := 𝜎6:λ  # 𝑛1        𝑛4.4 := ⟦ a ↦ 𝜎3:λ, b ↦ Φ.fact( n ↦ 𝜎5:λ ), λ ⤍ L_mul ⟧  # 𝑛2  𝔼(L_if)  # 𝕄(Φ.x.φ)    𝛿1.7 := 𝔻(𝜎2:λ)  # 𝔻(ξ.c)    𝑛1.7 := 01-:Δ  # 𝕄(ξ.left)    𝔼(L_mul)  # 𝕄(Φ.a🌵11)      𝛿1.8 := 𝔻(𝜎1:λ)  # 𝔻(ξ.a)      formation(⟦ n ↦ 𝜎3:λ, φ ↦ Φ.if( c ↦ Φ.zero( x ↦ n ), left ↦ 01-:Δ, right ↦ Φ.mul( a ↦ n, b ↦ Φ.fact( n ↦ Φ.dec( x ↦ n ) ) ) ) ⟧)  # 𝔻(Φ.a🌵13)        𝔼(L_if)  # 𝔻(Φ.a🌵13)          𝔼(L_zero)  # 𝔻(Φ.a🌵14)            𝛿1.10 := 𝔻(𝜎3:λ)  # 𝔻(ξ.x)            𝑛.10.1 := 𝑛.5.2  # 𝑛            𝑛.10.2 := 𝑛.5.2  # 𝕄(𝑛.10.1)          𝛿1.9 := 𝔻(𝜎4:λ)  # 𝔻(ξ.c)          𝑛1.9 := 01-:Δ  # 𝕄(ξ.left)          𝔼(L_dec)  # 𝕄(Φ.a🌵17.b)            𝛿1.11 := 𝔻(𝜎3:λ)  # 𝔻(ξ.x)            𝑛.11.1 := 𝑛.6.2  # 𝑛            𝑛.11.2 := 𝑛.6.2  # 𝕄(𝑛.11.1)          looped(⟦ a ↦ 𝜎1:λ, b ↦ Φ.fact( n ↦ 𝜎3:λ ), λ ⤍ L_mul ⟧)  # 𝕄(Φ.a🌵17), proven          𝑛2.9 := ⟦ a ↦ 𝜎3:λ, b ↦ Φ.fact( n ↦ 𝜎5:λ ), λ ⤍ L_mul ⟧  # 𝕄(ξ.right)          𝔻(𝜎6:λ) == 01-          𝑛3.9 := 𝑛3.4  # 𝑛1          𝑛4.9 := ⟦ a ↦ 𝜎3:λ, b ↦ Φ.fact( n ↦ 𝜎5:λ ), λ ⤍ L_mul ⟧  # 𝑛2    𝑛2.7 := ⟦ a ↦ 𝜎1:λ, b ↦ Φ.fact( n ↦ 𝜎3:λ ), λ ⤍ L_mul ⟧  # 𝕄(ξ.right)    𝔻(𝜎4:λ) == 01-    𝑛3.7 := 𝑛.10.2  # 𝑛1    𝑛4.7 := ⟦ a ↦ 𝜎1:λ, b ↦ Φ.fact( n ↦ 𝜎3:λ ), λ ⤍ L_mul ⟧  # 𝑛2```<!-- markdownlint-enable MD013 -->The first `L_mul` brings its `b` down, and that gets 𝔻 into `fact` with`n ↦ 𝜎3`, the `formation(…)` line under it. Inside, the fork reduces its rightbranch, and the walk of `--deep` over it would fire `L_mul` with `a ↦ 𝜎3` and`b ↦ Φ.fact( n ↦ 𝜎5 )`: the formation the first `L_mul` was fired with, `𝜎3`standing where `𝜎1` stood and `𝜎5` where `𝜎3` stood, so the firing is cutbefore it opens. The cut is the `looped(…)` line under `𝑛.6.2`, standing wherethe block of the cut firing would have stood and commented with the judgmentthe frame belonged to, the site it was cut at and the mode that cut it. What itcarries is the formation the frame above entered, as that frame had it, so thetwo are paired by their terms and no reader has to rename symbols by eye orfind the cut in the residue. Nothing runs under a cut, so no block opens underthe line. In the XML protocol it is a self-closing element,`<looped by="morph" match="proven" at="Φ.a🌵7" term="…"/>`, with theattributes a `<formation>` carries and the mode. Without the option the samerun nests one round inside another until `--max-steps` runs out.What a frame remembers is the branch from the run down to it, never everythingthe run has touched, so two siblings entering one formation enter it twice andonly a formation entered from inside itself is a loop: the fork at `Φ.x.φ`above gets into `fact` with `n ↦ 𝜎3` once more, on a branch of its own, and isnot cut there. The cut costs one lookup and fires on the turn the repeatappears, so raising `--max-steps` from 40 to a million changes neither theanswer nor the time.What `proven` cannot see is a recursion that never comes back to the sameformation: one whose accumulator grows by a wrapper every round. Give thefactorial an `acc` it builds a `pair` onto, drop `L_mul` from `fact.yaml`, andunder `proven` the run nests deeper until `--max-steps` runs out, since norenaming of symbols turns a longer chain of pairs into a shorter one:<!-- markdownlint-disable MD013 -->```bash$ cat facta.phi⟦  if ↦ ⟦ c ↦ ∅, left ↦ ∅, right ↦ ∅, λ ⤍ L_if ⟧,  zero ↦ ⟦ x ↦ ∅, λ ⤍ L_zero ⟧,  dec ↦ ⟦ x ↦ ∅, λ ⤍ L_dec ⟧,  pair ↦ ⟦ head ↦ ∅, tail ↦ ∅ ⟧,  fact ↦ ⟦ n ↦ ∅, acc ↦ ∅, φ ↦ Φ.if( c ↦ Φ.zero( x ↦ ξ.n ), left ↦ ξ.acc, right ↦ Φ.fact( n ↦ Φ.dec( x ↦ ξ.n ), acc ↦ Φ.pair( head ↦ ξ.n, tail ↦ ξ.acc ) ) ) ⟧,  x ↦ Φ.fact( n ↦ ⟦ λ ⤍ 𝜎1 ⟧, acc ↦ ⟦ Δ ⤍ 00- ⟧ )⟧$ phino morph --deep --acyclic=plausible --partial --sweet --hide-rho --flat \    --symbolic=facta.yaml --locator='Q.x' --protocol=facta.txt facta.phi⟦ n ↦ 𝜎1:λ, acc ↦ 00-:Δ, φ ↦ Φ.if( c ↦ 𝜎2:λ, left ↦ acc, right ↦ Φ.fact( n ↦ 𝜎3:λ, acc ↦ Φ.pair( head ↦ n, tail ↦ acc ) ) ) ⟧$ grep looped facta.txtlooped(⟦ c ↦ 𝜎2:λ, left ↦ 00-:Δ, right ↦ Φ.fact( n ↦ 𝜎3:λ, acc ↦ Φ.pair( head ↦ 𝜎1:λ, tail ↦ 00-:Δ ) ), λ ⤍ L_if ⟧)  # 𝕄(Φ.a🌵4.φ), plausible```<!-- markdownlint-enable MD013 -->Under `plausible` the same formation means one the formation entered earlieris embedded in: the two have the same attributes, data and λ function at thetop, and every term the earlier one bound there is found again in the laterone, as it stands or somewhere below a wrapper it gained. Any symbol stands forany other, and nothing is looked for under a `ρ`, which holds the object a termcame from rather than a term it grew into. The second `if` above holds thefirst under one more `pair`, so it is cut, and its `looped(…)` line says`plausible`. A call nested in its own operand, such as a sum of sums, is nevercut, since the inner call is smaller than the outer one and cannot hold it.The mode is not sound, though: a recursion whose argument grows on its way tostopping is cut too, which is why the line names the mode that made the cut.The mode also fires every formation once. Every use of a binding copies theterm bound to it, so a program reading `truncated ↦ ρ.abs.floor` in fiveplaces fires `abs` and `floor` five times over and mints five symbols for onevalue, and a guard written that way spends its whole budget saying the samething again. 𝔼 is a function of the formation it fires: the entry thatanswers is found by the λ name the formation carries, every operand isreduced from its bindings inside the one universe of the run, and the answeris built from what they came down to. So a run under `plausible` keeps whatevery firing answered, by the formation it fired, and a later firing of thesame formation takes that answer, with the very symbols the first one minted,instead of making it again. Two bindings spelling one term then come to onesymbol:```bash$ cat twins.phi⟦  bytes ↦ ⟦ φ ↦ ∅ ⟧,  number ↦ ⟦ φ ↦ ∅, plus(ρ, x) ↦ ⟦ λ ⤍ L_number_plus ⟧ ⟧,  a ↦ 7.plus( 5.plus( 6 ) ),  b ↦ 7.plus( 5.plus( 6 ) )⟧$ phino morph --symbolic=atoms.yaml --acyclic=plausible --deep --sweet \    --hide-rho twins.phi⟦  bytes(φ) ↦ ⟦⟧,  number(φ) ↦ ⟦ plus(x) ↦ L_number_plus:λ ⟧,  a ↦ ⟦ φ ↦ 𝜎2:λ, plus(x) ↦ L_number_plus:λ ⟧,  b ↦ ⟦ φ ↦ 𝜎2:λ, plus(x) ↦ L_number_plus:λ ⟧⟧```Under `proven` `b` lands on `𝜎4`, since the walk over it fires the inner sumand the outer one once more. The protocol of the run above still holds fourfirings, two under `a` and two under `b`, since it records where 𝔼 was askedand what it answered there; the two under `b` carry the answer lines of thetwo under `a` and no operand line, since nothing was reduced for them, andthey are not charged to `--max-firings`, which counts the firings the runmade. The formation is compared with everything it carries, `ρ` included, soa firing on another object is another firing, and a firing that got stuckkeeps nothing, since nothing was answered. A firing cut by the mode on itsway to an answer keeps the cut, and the next firing of the same formation iscut at its own site without reducing anything first.The mode also walks a binding of the world once. Every dispatch on an objectof the world copies it, and `--deep` walks every copy, so the tests of anobject are reduced once per copy of it the program holds. A copy goes by aname in the world, such as `Φ.num( φ ↦ ⟦ Δ ⤍ 2A- ⟧ )`, the name `dot` writesinto its `ρ`, and that name without its application, `Φ.num`, stands for everycopy. So a run under `plausible` enters `test` of `Φ.num` in the first copy itmeets and leaves it as written in every later one:```bash$ cat atoms.yaml- λ: L_id  morph:    𝑛1: $.x  𝑛: 𝑛1- λ: L_twice  dataize:    𝛿1: $.ρ  𝑛: Φ.num( φ ↦ ⟦ λ ⤍ 𝜎 ⟧ )$ cat world.phi⟦  num ↦ ⟦    φ ↦ ∅,    twice ↦ ⟦ ρ ↦ ∅, λ ⤍ L_twice ⟧,    test ↦ Φ.num( φ ↦ ⟦ Δ ⤍ 01- ⟧ ).twice  ⟧,  a ↦ ⟦ λ ⤍ L_id, x ↦ Φ.num( φ ↦ ⟦ Δ ⤍ 2A- ⟧ ) ⟧,  b ↦ ⟦ λ ⤍ L_id, x ↦ Φ.num( φ ↦ ⟦ Δ ⤍ 2B- ⟧ ) ⟧⟧$ phino morph --symbolic=atoms.yaml --acyclic=plausible --deep --partial \    --sweet --hide-rho world.phi⟦  num(φ) ↦ ⟦ twice ↦ L_twice:λ, test ↦ Φ.num( φ ↦ 01-:Δ ).twice ⟧,  a ↦ ⟦    φ ↦ 2A-:Δ,    twice ↦ L_twice:λ,    test ↦ ⟦ φ ↦ 𝜎1:λ, twice ↦ L_twice:λ, test ↦ Φ.num( φ ↦ 01-:Δ ).twice ⟧  ⟧,  b ↦ ⟦ φ ↦ 2B-:Δ, twice ↦ L_twice:λ, test ↦ Φ.num( φ ↦ 01-:Δ ).twice ⟧⟧```A binding the copy filled, such as `φ` above, belongs to that copy alone andis entered every time. A binding left out is never replaced by what an earliercopy came to, since a method may read the `ρ` or the `φ` of the copy itstands in, and so a recursion over copies of one object stops after its firstround, with the second one as written.## RewriteYou can rewrite this expression with the help of [rules](#rule-structure)defined in the `my-rule.yml` YAML file (here, the `!d` is a capturing group,similar to regular expressions):```yamlname: My custom rulepattern: Δ ⤍ !dresult: Δ ⤍ 62-79-65```Then, rewrite:```bash$ phino rewrite --rule=my-rule.yml hello.phi⟦ φ ↦ ⟦ Δ ⤍ 62-79-65 ⟧, t ↦ ξ.k, k ↦ ⟦⟧ ⟧```If you want to use many rules, just use `--rule` as many times as you need:```bashphino rewrite --rule=rule1.yaml --rule=rule2.yaml ...```You can also use [built-in rules](resources), which are designedto normalize expressions:```bashphino rewrite --normalize hello.phi```Both flags may be combined, so that your own rules are appliedalongside the built-in ones, in a single rewriting session:```bashphino rewrite --normalize --rule=my-rule.yaml hello.phi```Some rules mint fresh synthetic names via the `random-string` built-in. Tokeep the output reproducible across runs, `phino` seeds the random generatordeterministically with `0` by default. Use `--seed` to pick a different seed:```bashphino rewrite --seed=42 --rule=my-rule.yml hello.phi```If no input file is provided, the 𝜑-expression is taken from `stdin`:```bash$ echo '⟦ φ ↦ ⟦ Δ ⤍ 68-65-6C-6C-6F ⟧ ⟧' | phino rewrite --rule=my-rule.yml⟦ φ ↦ ⟦ Δ ⤍ 62-79-65 ⟧ ⟧```You're able to pass [`XMIR`][xmir] as input. Use `--input=xmir` and `phino`will parse given `XMIR` from file or `stdin` and convert it to `phi` AST.```bashphino rewrite --rule=my-rule.yaml --input=xmir file.xmir```Also `phino` supports 𝜑-expressions in[ASCII](https://en.wikipedia.org/wiki/ASCII) format and withsyntax sugar. The `rewrite` command also allows you to desugar the expressionand print it in canonical syntax:```bash$ echo '[[ @ -> Q.io.stdout("hello") ]]' | phino rewrite⟦  φ ↦ Φ.io.stdout( α0 ↦ Φ.string( φ ↦ Φ.bytes( φ ↦ ⟦ Δ ⤍ 68-65-6C-6C-6F ⟧ ) ) )⟧```A formation of a single binding may be written as its asset, a colon,and the attribute the asset is bound to:```text⟦ Δ ⤍ FF-AA ⟧    = FF-AA:Δ    = FF-AA:D⟦ λ ⤍ 𝜎1 ⟧       = 𝜎1:λ       = !S1:L⟦ a ↦ ∅ ⟧        = ∅:a        = ?:a⟦ φ ↦ ξ.a ⟧      = ξ.a:φ      = $.a:@```The colon binds as tightly as a dot, so `ξ.a:φ.b` is `⟦ φ ↦ ξ.a ⟧.b`.With `--sweet`, `phino` prints every such formation this way, so`⟦ x ↦ ⟦ φ ↦ ξ.a ⟧ ⟧` comes out as `a:φ:x` and `⟦ x(a) ↦ ⟦ φ ↦ a ⟧ ⟧`as `⟦ x(a) ↦ a:φ ⟧`: the formation inline voids open takes the sugar,while the one holding the voids keeps its brackets, and so doesevery formation in the salty syntax and in [LaTeX][latex].A formation has a receiver `ρ` only when it declares one among its voids, theway EO declares `^`: `⟦ ρ ↦ ∅, t ↦ ξ.ρ.k ⟧`, or `a(ρ) ↦ ⟦ t ↦ ξ.ρ.k ⟧` withthe void inline. `phino` adds none of its own, and a dispatch into a formationthat declares none hands it no `ρ` (the `skip` rule), so `ξ.ρ` there is `⊥`:<!-- markdownlint-disable MD013 -->```bash$ echo '⟦ x ↦ ⟦ k ↦ ⟦ Δ ⤍ 01- ⟧, a ↦ ⟦ ρ ↦ ∅, t ↦ ξ.ρ.k ⟧ ⟧.a.t ⟧' | phino rewrite --normalize --sweet01-:Δ:x$ echo '⟦ x ↦ ⟦ k ↦ ⟦ Δ ⤍ 01- ⟧, b ↦ ⟦ t ↦ ξ.ρ.k ⟧ ⟧.b.t ⟧' | phino rewrite --normalize --sweet⊥:x```<!-- markdownlint-enable MD013 -->## MergeYou can merge several 𝜑-expressions into a single one by merging theirtop level formations:```bash$ cat bytes.phi⟦ bytes ↦ ⟦ φ ↦ ∅ ⟧ ⟧$ cat number.phi⟦  number ↦ ⟦    φ ↦ ∅,    plus(x) ↦ ⟦ λ ⤍ L_number_plus ⟧  ⟧⟧$ cat minus.phi⟦ number ↦ ⟦ minus(x) ↦ ⟦ λ ⤍ L_number_minus ⟧ ⟧ ⟧$ phino merge bytes.phi number.phi minus.phi --sweet⟦  bytes(φ) ↦ ⟦⟧,  number(φ) ↦ ⟦ plus(x) ↦ L_number_plus:λ, minus(x) ↦ L_number_minus:λ ⟧⟧```## MatchYou can test the 𝜑-expression matches against the [rule](#rule-structure)pattern. The result output contains matched substitutions:```bash$ phino match --pattern='⟦ Δ ⤍ !d, !B ⟧' hello.phiB >> ⟦⟧d >> 68-65-6C-6C-6F```## ExplainYou can _explain_ the built-in rules by printing them in [LaTeX][latex]format. Pass exactly one of `--normalize`, `--morph`, `--dataize` or`--contextualize` for the rewriting, morphing (𝕄), dataization (𝔻) orcontextualization (𝒞) rules (or `--rule` for a custom rule file):```bash$ phino explain --normalize\begin{tabular}{rl}\phinoNormalizationRule{alpha}  { [[ B_1, \tau -> ?, B_2 ]] ( \phiTerminal{\alpha_{i}} -> e ) }  { [[ B_1, \tau -> ?, B_2 ]] ( \tau -> e ) }  { $ i = \vert \overline{ B_1 } \vert $ }  { }\phinoNormalizationRule{dc}  { T ( \tau -> e ) }  { T }  { }  { }...\phinoNormalizationRule{stop}  { [[ B ]] . \tau }  { T }  { $ [ \tau \char44{} @ \char44{} L ] \cap B = \emptyset $ }  { }\end{tabular}```The morphing and dataization rules are printed the same way:```bash$ phino explain --morph\begin{tabular}{rl}\phinoMorphingRule{mf}  { \mathbb{M}( [[ B ]], e ) }  { [[ B ]] }  { }  { }...\phinoMorphingRule{universe}  { \mathbb{M}( Q, e ) }  { \mathbb{M}( \phinoNormalize{ e }, e ) }  { $ e \not= Q $ }  { }\end{tabular}``````bash$ phino explain --dataize\begin{tabular}{rl}\phinoDataizationRule{delta}  { \phinoDataize{ [[ B_1, D> \delta_0, B_2 ]] } }  { \delta_0 }  { }  { }...\phinoDataizationRule{norm}  { \phinoDataize{ n } }  { \phinoDataize{ \mathbb{M}( n, e ) } }  { }  { }\end{tabular}``````bash$ phino explain --contextualize\begin{phinoContextualizationInference}  \phinoName{cxi}  \phinoConclusion{ \phinoContextualize{ \phiTerminal{\xi} }{ k }{ k } }\end{phinoContextualizationInference}...\begin{phinoContextualizationInference}  \phinoName{cd}  \phinoPremise{ \phinoContextualize{ n }{ k }{ n_1 } }  \phinoConclusion{ \phinoContextualize{ n . \tau }{ k }{ n_1 . \tau } }\end{phinoContextualizationInference}```For more details, use `phino [COMMAND] --help` option.## Rule structureThis is BNF-like yaml rule structure. Here types ended withapostrophe, like `Attribute'` are built types from 𝜑-expression [AST](src/AST.hs)```bnfcRule:  name: String  pattern: String  result: String  when: Condition?       # predicate, works with substitutions before extension  where: [Extension]?    # substitution extensions  having: Condition?     # predicate, works with substitutions after extensionCondition:  = and: [Condition]     # logical AND  | or:  [Condition]     # logical OR  | not: Condition       # logical NOT  | eq:                  # compare two comparable objects      - Comparable      - Comparable  | in:                  # returns True if every given attribute exists in      - Attribute' | [Attribute'] # the union of the given bindings      - Binding' | [Binding']  | nf: Expression'      # returns True if given expression in normal form                         # which means that no more other normalization rules                         # can be applied  | absolute: Expression' # returns True if given expression is xi-free, i.e.                         # there is no ξ outside of a formation: it is Φ, a                         # formation, a dispatch with a xi-free subject, or an                         # application with a xi-free subject and argument.                         # Combined with a normal-form check by the '𝑘'/'!k'                         # meta variable, which ranges over the absolute                         # expressions 𝒦 ⊆ 𝒩, used by the Rcopy rule.  | matches:             # returns True if given expression after dataization      - String           # matches to given regex      - Expression  | part-of:             # returns True if given expression is attached to any      - Expression'      # attribute in ginve bindings      - BiMeta'  | formation:           # returns True if given expression is a formation      Expression'        # (an abstraction ⟦…⟧); used by morphing 'md'                         # as 'not (formation 𝑛)', so a non-formation head is                         # morphed and a formation head is left to 'ml'  | gt:                  # returns True if the first comparable object is      - Comparable       # greater than the second one      - Comparable  | disjoint:            # returns True if none of the given attributes exists      - [Attribute']     # in the given bindings      - Binding'Comparable:              # comparable object that may be used in 'eq' condition  = Attribute'  | Number  | Expression'Number:                  # comparable number  = Integer              # just regular integer  | IndexMeta'           # 𝑖 (or !i), the index captured by an α𝑖 argument  | length: BiMeta'      # calculate length of bindings by given meta binding  | domain: BiMeta'      # calculate number of unique attributes in given                         # meta binding (excluding 'assets')Extension:               # substitutions extension used to introduce new meta variables  meta: [ExtArgument]    # new introduced meta variable  function: String       # name of the function  args: [ExtArgument]    # arguments of the functionExtArgument  = Bytes'               # !d  | Binding'             # !B  | Expression'          # !e  | Attribute'           # !t```Here's list of functions that are supported for extensions:* `contextualize` - function of two arguments, that rewrites given expression  depending on provided context according to the contextualization  [rules](assets/contextualize.jpg)* `random-tau` - creates an attribute with a random unique name. It accepts no  arguments; uniqueness is guaranteed across all names already taken in the  document.* `dataize` - dataizes given expression and returns bytes.* `concat` - accepts bytes or dataizable expressions as arguments,  concatenates them into single sequence and convert it to expression  that can be pretty printed as human readable string:  `Φ.string(Φ.bytes⟦ Δ ⤍ !d ⟧)`.* `sed` - pattern replacer, works like unix `sed` function.  Accepts two arguments: target expression and pattern.  Pattern must start with `s/`, consists of three parts  separated by `/`, for example, this pattern `s/\\s+//g`  replaces all the spaces with empty string. To escape braces and slashes  in pattern and replacement parts - use them with `\\`,  e.g. `s/\\(.+\\)//g`.* `random-string` - accepts dataizable expression or bytes as pattern.  Replaces `%x` and `%d` formatters with random hex numbers and  decimals accordingly. Uniqueness is guaranteed during one  execution of `phino`.* `size` - accepts exactly one meta binding and returns size of it and  `Φ.number`.* `tau` - accepts `Φ.string`, dataizes it and converts it to attribute.  If dataized string can't be converted to attribute - an error is thrown.* `string` - accepts `Φ.string` or `Φ.number` or attribute and converts it  to `Φ.string`.* `number` - accepts `Φ.string` and converts it `Φ.number`* `sum` - accepts list of `Φ.number` or `Φ.bytes` and returns sum of them as `Φ.number`* `join` - accepts list of bindings and returns list of joined bindings. Duplicated  `ρ`, `Δ` and `λ` attributes are ignored, all other duplicated attributes are replaced  with unique attributes using `random-tau` function.## Meta variablesThe `phino` supports meta variables to write 𝜑-expression patterns forcapturing attributes, bindings, etc.This is the list of supported meta variables:* `!t` || `𝜏` - attribute* `!i` || `𝑖` - the index of a positional (α) application argument,                captured by writing `α𝑖` (or `~!i`)* `!e` || `𝑒` - any expression* `!n` || `𝑛` - any expression that is already in normal form (behaves like                `!e`/`𝑒`, but only binds a sub-expression in NF, so no explicit                `nf:` guard is needed)* `!k` || `𝑘` - any expression that is absolute, i.e. xi-free and in normal                form (ranges over `𝒦 ⊆ 𝒩`); behaves like `!e`/`𝑒` but only                binds an absolute sub-expression, so no explicit `absolute:`                or `nf:` guard is needed* `!B` || `𝐵` - list of bindings* `!d` || `𝛿` - bytes in meta delta binding* `!F` || `𝑓` - function name in meta lambda binding* `!S` || `𝜎` - a symbol standing where a λ name stands (see                [Symbols](#symbols)). It is spelled the way a meta variable is                spelled but is a name and no capture: `𝜎1` is one concrete                symbol, which no substitution ever binds, and a bare `𝜎` in the                answer of a `--symbolic` entry asks for a fresh oneA meta variable carries a suffix, like `!B1` or `𝜏2`, to name what itcaptured, so that the `result`, `when`, `where` and `having` of a rule canread it back. An index starts with one: a suffix of `0`, as in `!B0` or`𝜏0`, is refused where it is written, because it is a first index spelledwrong and no name. A positional argument keeps counting from zero, though,since `α0` is an index of the calculus and no meta variable.Written bare, with no suffix at all, a meta variable is anonymous: it matcheswhatever term stands in its place, every occurrence on its own, and binds noname. Two anonymous metas of one kind are therefore two different captures,which is what lets a pattern ask for any two attributes without inventingnames for them:```yamlname: two-attributespattern: '⟦ 𝜏 ↦ 𝑒, 𝜏 ↦ 𝑒 ⟧'result: '⟦ x ↦ ⟦ Δ ⤍ 2A- ⟧ ⟧'```Spelled with suffixes, that pattern would read `⟦ 𝜏1 ↦ 𝑒1, 𝜏2 ↦ 𝑒2 ⟧` andname four captures the result never mentions, while `⟦ 𝜏1 ↦ 𝑒1, 𝜏1 ↦ 𝑒1 ⟧`would be rejected as a duplicated attribute.Nothing can refer to an anonymous meta, since it has no name to be referred toby. Writing one outside a `pattern` (or the `match`, `universe` and `c-match` ofan inference rule) is a mistake in the rule and is reported as the rule loads.A positional (α) application argument is written as `α0`, `~0` (ASCII), or`α𝑖`/`~!i` when its index is captured by an `!i`/`𝑖` meta variable.Incorrect usage of meta variables in 𝜑-expression patterns leads toparsing errors.## BenchmarkTo run performance benchmarks, you need [Java 8+][java] and [curl][curl].Maven is downloaded automatically on first run via `benchmark/mvnw`.The benchmark uses the compiled [`Native`][jna-native] class from[JNA][jna] — a large real-world Java class — as its test input.On first run, `make bench` downloads the class, disassembles it to[XMIR][xmir] via [jeo-maven-plugin][jeo], converts it to 𝜑 using`phino rewrite`, and caches the results in `benchmark/tmp/`.Subsequent runs skip straight to the benchmarks.Besides parsing, printing and rewriting that class, the suite morphssymbolically. `benchmark/demo.phi` is a small world whose entries name the λfunctions of `benchmark/atoms.yaml`, and each entry is a case of its own, sothat a slowdown of one of them is a line of the report rather than a share ofa single total. The smallest entry — one λ function fired against one unknown— is timed twice, over the demo world alone and over the same world mergedinto the class, and the two numbers say between them what the world around anentry costs (see [#1291][issue-1291]).A case whose single run is measured in seconds gets fewer warmups and fewerbatches than a case measured in microseconds, since the whole suite runsinside one job; the report says how many of each a case was given.```bashmake bench```<!-- benchmark_begin -->```text=== parse/phi ===  warmup:     3 iterations  batches:    10 x 1  total:      1235604.619 μs  avg:        123560.462 μs  min:        112999.536 μs  max:        146848.289 μs  std dev:    13523.687 μs=== parse/xmir ===  warmup:     3 iterations  batches:    10 x 1  total:      6181027.602 μs  avg:        618102.760 μs  min:        562545.414 μs  max:        682531.677 μs  std dev:    33378.489 μs=== rewrite/normalize ===  warmup:     3 iterations  batches:    10 x 1  total:      14.492 μs  avg:        1.449 μs  min:        1.221 μs  max:        1.863 μs  std dev:    0.164 μs=== print/sweet/multiline ===  warmup:     3 iterations  batches:    10 x 1  total:      3687452.277 μs  avg:        368745.228 μs  min:        340283.380 μs  max:        395918.805 μs  std dev:    19962.268 μs=== print/sweet/flat ===  warmup:     3 iterations  batches:    10 x 1  total:      3607637.694 μs  avg:        360763.769 μs  min:        340150.409 μs  max:        401378.260 μs  std dev:    20648.726 μs=== print/salty/multiline ===  warmup:     3 iterations  batches:    10 x 1  total:      10349170.023 μs  avg:        1034917.002 μs  min:        1011977.349 μs  max:        1103222.564 μs  std dev:    28732.304 μs=== morph/symbolic/demo/e1 ===  warmup:     3 iterations  batches:    10 x 3  total:      129778.599 μs  avg:        4325.953 μs  min:        4287.416 μs  max:        4382.296 μs  std dev:    30.864 μs=== morph/symbolic/demo/e2 ===  warmup:     3 iterations  batches:    10 x 5  total:      201800.582 μs  avg:        4036.012 μs  min:        3982.252 μs  max:        4124.524 μs  std dev:    43.136 μs=== morph/symbolic/demo/e3 ===  warmup:     3 iterations  batches:    10 x 3  total:      174129.187 μs  avg:        5804.306 μs  min:        5765.516 μs  max:        5875.392 μs  std dev:    31.510 μs=== morph/symbolic/demo/e4 ===  warmup:     3 iterations  batches:    10 x 5  total:      195942.319 μs  avg:        3918.846 μs  min:        3416.828 μs  max:        7676.874 μs  std dev:    1255.938 μs=== morph/symbolic/demo/e5 ===  warmup:     3 iterations  batches:    10 x 15  total:      184899.602 μs  avg:        1232.664 μs  min:        1224.459 μs  max:        1242.434 μs  std dev:    5.749 μs=== morph/symbolic/native/e5 ===  warmup:     3 iterations  batches:    10 x 1  total:      192336.003 μs  avg:        19233.600 μs  min:        18688.555 μs  max:        19909.284 μs  std dev:    427.461 μs=== morph/symbolic/accum/0 ===  warmup:     3 iterations  batches:    10 x 2  total:      211409.497 μs  avg:        10570.475 μs  min:        10490.484 μs  max:        10743.310 μs  std dev:    66.154 μs=== morph/symbolic/accum/400 ===  warmup:     3 iterations  batches:    10 x 1  total:      361054.043 μs  avg:        36105.404 μs  min:        35194.312 μs  max:        41143.240 μs  std dev:    1694.561 μs```The results were calculated in [this GHA job][benchmark-gha]on 2026-09-27 at 05:24,on Linux with 4 CPUs.<!-- benchmark_end -->## How to ContributeFork repository, make changes, then send us a [pull request][guidelines].We will review your changes and apply them to the `master` branch shortly,provided they don't violate our quality standards. To avoid frustration,before sending us your pull request please make sure all your tests pass:```bashmake all```To generate a local coverage report for development, run:```bashmake coverage```To build a `phino` executable into the root of the repository, run:```bashmake phino```This produces an executable `phino` (or `phino.exe` on Windows) in theproject root, which you can run directly for quick local testing:```bash./phino --version```You will need [GHC ≥ 9.6.7][GHC] and [Cabal ≥ 3.0 (recommended)][cabal]or [Stack ≥ 3.0][stack] installed.[cabal]: https://www.haskell.org/cabal/[stack]: https://docs.haskellstack.org/en/stable/install_and_upgrade/[GHC]: https://www.haskell.org/ghc/[guidelines]: https://www.yegor256.com/2014/04/15/github-guidelines.html[xmir]: https://news.eolang.org/2022-11-25-xmir-guide.html[latex]: https://en.wikipedia.org/wiki/LaTeX[java]: https://www.java.com/en/download/[curl]: https://curl.se/[jna]: https://github.com/java-native-access/jna[jna-native]: https://github.com/java-native-access/jna/blob/master/src/com/sun/jna/Native.java[jeo]: https://github.com/objectionary/jeo-maven-plugin[issue-1291]: https://github.com/objectionary/phino/issues/1291[benchmark-gha]: https://github.com/objectionary/phino/actions/runs/36296915429