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

IE #768

Open
ice1000 opened this issue Dec 6, 2022 · 2 comments
Open

IE #768

ice1000 opened this issue Dec 6, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ice1000
Copy link
Member

ice1000 commented Dec 6, 2022

def overlap ++-assoc (xs : Vec A n) (ys : Vec A m) (zs : Vec A o)
  : Path (\i => Vec A (+-assoc i)) ((xs ++ ys) ++ zs) (xs ++ (ys ++ zs))
| vnil, ys, zs => idp
| xs, vnil, zs => idp
| xs, ys, vnil => idp
| x :> xs, ys, zs => pmapd (\i => x :>) (++-assoc xs ys zs)

Internal Exception

@ice1000 ice1000 added the bug Something isn't working label Dec 17, 2022
@HoshinoTented
Copy link
Contributor

Smaller code:

open data Unit | unit
open data Nat | O | S Nat
open data SomeDT Nat
| m => someDT
def how' {m : Nat} (a : Nat) (b : SomeDT m) : Nat => 0
def what {A : Nat -> Type} (B : Fn (n : Nat) -> A n -> Nat) : Unit => unit
def boom => what (fn n => fn m => how' 0 m)

@ice1000
Copy link
Member Author

ice1000 commented May 18, 2024

Smaller code:

open data Unit | unit
open data Nat | O | S Nat
open data SomeDT Nat
| m => someDT
def how' {m : Nat} (a : Nat) (b : SomeDT m) : Nat => 0
def what {A : Nat -> Type} (B : Fn (n : Nat) -> A n -> Nat) : Unit => unit
def boom => what (fn n => fn m => how' 0 m)

This is fixed in the locally nameless version of Aya

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

2 participants