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

Using Auto with a goal involving musical coinduction produces incorrect projection #7662

Open
jake-87 opened this issue Dec 20, 2024 · 0 comments

Comments

@jake-87
Copy link

jake-87 commented Dec 20, 2024

  • Agda version: 2.7.0.1, w. optimize-heavily
  • Emacs version: 29.4

When utilizing the old musical coinduction notation, Auto will attempt to fill flat-involved goals with the incorrect projection x .♭, instead of the correct ♭ x.

To replicate: C-c C-a in the hole.

{-# OPTIONS --guardedness #-}
open import Codata.Musical.Notation

data  : Set where
  tt :test : ∞ ⊤  ⊤
test x = {!!}

Produces:

test x = x .♭

Expected:

test x = ♭ x
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

No branches or pull requests

1 participant