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

rewriting doesn't stop when using --chain, but works without it #575

Open
yegor256 opened this issue Nov 28, 2024 · 2 comments
Open

rewriting doesn't stop when using --chain, but works without it #575

yegor256 opened this issue Nov 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@yegor256
Copy link
Member

Try this:

$ cat bar.phi
{⟦ m ↦ ⟦ x ↦ ⟦ t ↦ ∅ ⟧ (t ↦ ξ.k), k ↦ ⟦ λ ⤍ Fn ⟧ ⟧.x.t.p ⟧}
$ eo-phi-normalizer rewrite -s bar.phi
{
  ⟦
    m ↦ ⟦
      t ↦ ∅
    ⟧
    (
      t ↦ ⟦
        x ↦ ⟦
          t ↦ ⟦
            x ↦ ⟦
              t ↦ ⟦
                x ↦ ⟦
                  t ↦ ⟦
                    x ↦ ⟦
                      t ↦ ⟦
                        x ↦ ⟦
                          t ↦ ⟦
                            x ↦ ⟦
                              t ↦ ∅
                            ⟧
                            (
                              t ↦ ξ.k
                            ),
                            k ↦ ⟦
                              λ ⤍ Fn
                            ⟧
                          ⟧
                          .k
                        ⟧
(), k ↦ ⟦
                          λ ⤍ Fn
                        ⟧
                      ⟧
                      .k
                    ⟧,
                    k ↦ ⟦
                      λ ⤍ Fn
                    ⟧
                  ⟧
                  .k
                ⟧,
                k ↦ ⟦
                  λ ⤍ Fn
                ⟧
              ⟧
              .k
            ⟧,
            k ↦ ⟦
              λ ⤍ Fn
            ⟧
          ⟧
          .k
        ⟧,
        k ↦ ⟦
          λ ⤍ Fn
        ⟧
      ⟧
      .k
    )
    (
      ρ ↦ ⟦
        x ↦ ⟦
          t ↦ ∅
        ⟧
        (
          t ↦ ξ.k
        ),
        k ↦ ⟦
          λ ⤍ Fn
        ⟧
      ⟧
    )
    .t.p
  ⟧
}

However, if you run this:

$ eo-phi-normalizer rewrite --chain --tex bar.phi

It won't stop :(

@yegor256
Copy link
Member Author

@deemp please, check

@deemp
Copy link
Member

deemp commented Nov 28, 2024

@fizruk, please check

@fizruk fizruk added the bug Something isn't working label Dec 4, 2024
@fizruk fizruk self-assigned this Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants