Skip to content

Different types of equality in F*

Catalin Hritcu edited this page Apr 12, 2017 · 12 revisions

F* has 3 different types of equality:

val (=) : #a:Type{hasEq a} -> a -> a -> Tot bool val (==) : #a:Type -> a -> a -> Tot Type0 val (===): #a:Type -> #b:Type -> a -> b -> Tot Type0

Here is what each of them means:

Clone this wiki locally