Skip to content

[tools] Preserve negated miaou list wrapper#1768

Open
relokin wants to merge 1 commit intoherd:masterfrom
relokin:miaou-fix
Open

[tools] Preserve negated miaou list wrapper#1768
relokin wants to merge 1 commit intoherd:masterfrom
relokin:miaou-fix

Conversation

@relokin
Copy link
Copy Markdown
Member

@relokin relokin commented Mar 30, 2026

Keep negated composite lists wrapped in a dedicated node instead of reusing the original list operator.

Without this, miaou can flatten the negated sub-list into the enclosing conjunction and lose the intended 'it is not the case that all of the following apply' structure.

For example:

let rel1 = [A]; rel2; [B \ range([C]; rel; [D])]

should render as:

  - E1 is an A effect.
  - E1 is rel2-before E2.
  - E2 is a B effect.
  - It is not the case that all of the following apply:
    - E2 is a D effect.
    - E3 is rel-before E2.
    - E3 is a C effect.

Assisted-by: OpenAI Codex

Keep negated composite lists wrapped in a dedicated node instead of
reusing the original list operator.

Without this, miaou can flatten the negated sub-list into the enclosing
conjunction and lose the intended 'it is not the case that all of the
following apply' structure.

For example:

  let rel1 = [A]; rel2; [B \ range([C]; rel; [D])]

should render as:
  - E1 is an A effect.
  - E1 is rel2-before E2.
  - E2 is a B effect.
  - It is not the case that all of the following apply:
    - E2 is a D effect.
    - E3 is rel-before E2.
    - E3 is a C effect.

Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Assisted-by: OpenAI Codex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant