Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pregroup tree rewrites: Possibility of merging nodes when > 1 children are present, but only one has the correct type #188

Open
dimkart opened this issue Nov 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dimkart
Copy link
Contributor

dimkart commented Nov 18, 2024

Example ("the hunter shot the tall big bad wolf while a white aeroplane was passing on the blue sky"):

while_8 (s)
├ the hunter_1 (n)
├ shot_2 (n.r @ s)
│ └ the tall big bad wolf_7 (n)
└ was_12 (s)
  ├ a white aeroplane_11 (n)
  └ on_14 (n.r @ s)
    ├ passing_13 (n.r @ s)
    └ the blue sky_17 (n)

Note that "on" can be merged successfully with "passing" and the result is semantically correct. There is a possibility though that this doesn't work for everything, more tests are required.

Also relevant to DisCoCirc rewrite mechanism.

@dimkart dimkart added the enhancement New feature or request label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants