I have reported about "internal error" to the Agda bug tracker on Development Agda of December 7, 2018. I think the example is not large, and is simple to detect a thing. At least it was initially many times larger. Regards, ------ Sergei