A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/agda/agda/issues/2853 below:

Auto does not work well with record types · Issue #2853 · agda/agda · GitHub

My code here (removed irrelevant part):

bin-op :  {ℓ} (A : Set ℓ)  Set ℓ
bin-op A = A  A  A

private
  record S3 {ℓ} (A : Set ℓ) : Setwhere
    infixl 5 _×_
    field
      x y {e} : A
      _×_ : bin-op A
      assocₗ :  a b c  a × b × c ≡ a × (b × c)      

    assocᵣ :  a b c  a × (b × c) ≡ a × b × c
    assocᵣ a b c rewrite assocₗ a b c = {!!}

I typed C-c C-a at the hole. Nothing happens.

Even Agda has correctly displayed the type of the hole (?0 : a × (b × c) ≡ a × (b × c)).

It should obviously been filled with a refl but it says no solution found. Why? Is this a bug?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4