idris-ct icon indicating copy to clipboard operation
idris-ct copied to clipboard

Add code for generating and working with quotients

Open WhatisRT opened this issue 6 years ago • 3 comments

This adds some generic code for dealing with (extensional) quotients

WhatisRT avatar Aug 27 '19 14:08 WhatisRT

I'm not sure where are you using Singleton, but there's an interface for such things in contrib: https://github.com/idris-lang/Idris-dev/blob/master/libs/contrib/Interfaces/Proposition.idr

clayrat avatar Aug 27 '19 14:08 clayrat

Oh, Singleton is a leftover from a previous try. Good to know that Proposition is a thing!

WhatisRT avatar Aug 27 '19 14:08 WhatisRT

I'm not sure what you mean by 'the commuting triangle in exists would commute pointwise'.

As for the dependent pair, do you mean that it would be nicer if we didn't have to write fst $ exists ...? In that case, I'd just define another function.

WhatisRT avatar Aug 27 '19 16:08 WhatisRT