Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit also fixes several problems with -j option (parallel compilation). The .olean files were not missing data when -j was used see issue #576
The problem was that heq type is Pi {A : Type} (a : A) {B : Type} (b : B), Prop The calc_proof_elaborator was assuming that (a : A) (b : B) were the last two arguments in any relation supported by calc. The fix is to remove this assumption.