[Agda] partial division property
Nils Anders Danielsson
nad at chalmers.se
Mon Nov 5 10:44:00 CET 2012
On 2012-11-04 18:09, Serge D. Mechveliani wrote:
> (a : A) -> (b : A) -> case divMb a b of н╩
> { (just q) -> (q * b) \~~ a
> ; nothing -> (x : A) -> \neg ((x * b) \~~ a)
> }
I think your problem is that the two branches above have different
universe levels. You can use lifting (Level.Lift) to coerce one or both
branches to a common universe level.
--
/NAD
More information about the Agda
mailing list