packages feed

phino-0.0.0.75: resources/dataization.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# Dataization 𝔻 β€” applied top-to-bottom, first matching clause wins.

- name: delta
  description: '𝔻(⟦𝐡1, Ξ” ‍ Ξ΄, 𝐡2⟧) ⟿ Ξ΄'
  match: ⟦𝐡1, Ξ” ‍ Ξ΄, 𝐡2⟧
  then: Ξ΄

- name: box
  description: '𝔻(⟦𝐡1, Ο† ↦ e, 𝐡2⟧) ⟿ 𝔻(π’ž(e)) if [Ξ”, Ξ»] ∩ (𝐡1 βˆͺ 𝐡2) = βˆ…'
  match: ⟦𝐡1, Ο† ↦ 𝑒, 𝐡2⟧
  where:
    - meta: 𝑒1
      function: contextualize
      args:
        - 𝑒
        - ⟦𝐡1, Ο† ↦ 𝑒, 𝐡2⟧
  when:
    disjoint:
      - [Ξ”, Ξ»]
      - [𝐡1, 𝐡2]
  then:
    dataize: 𝑒1

- name: norm
  description: '𝔻(e) ⟿ 𝔻(𝕄(e)) if e βˆ‰ 𝒫'
  match: 𝑒
  when:
    not:
      primitive: 𝑒
  then:
    dataize:
      morph: 𝑒

- name: none
  description: '𝔻(e) ⟿ nothing otherwise'
  match: 𝑒
  then: nothing