[Agda] expressing iff

Andreas Abel andreas.abel at ifi.lmu.de
Tue Apr 2 09:10:15 CEST 2013


Looks fine to me. --Andreas

On 01.04.13 1:09 AM, Serge D. Mechveliani wrote:
> Dear all,
> I need to express a relation like
>
>     p x y  (: Bool)    if and only iff  f x \~~ f y   holds
>                                                     (is not empty).
> And introduce
>                A iff' B =  (A -> B) \times (B -> A)
> for this.
> But can this be written in a nicer way by using Standard library?
>
> The code with math symbols is attached here as  t.agda.zip.
>
> Thanks,
>
> ------
> Sergei
>
>
>
> _______________________________________________
> Agda mailing list
> Agda at lists.chalmers.se
> https://lists.chalmers.se/mailman/listinfo/agda
>

-- 
Andreas Abel  <><      Du bist der geliebte Mensch.

Theoretical Computer Science, University of Munich
Oettingenstr. 67, D-80538 Munich, GERMANY

andreas.abel at ifi.lmu.de
http://www2.tcs.ifi.lmu.de/~abel/


More information about the Agda mailing list