lean2/tests
Leonardo de Moura 7b15e558a2 refactor(kernel/converter): implement eta in whnf instead of is_def_eq.
Without cumulativity, we do not have problems with Eta at whnf anymore.
When we had cumulativity, we could not not simply reduce
     (fun x : A, f x) ==> f
This step is correct only if domain(f) was definitionally equal to f.
Here is a problematic example for systems with cumulativity
Given, f : Type.{2} -> Bool
     (fun x : Type.{1}, f x)

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-05-12 17:49:53 -07:00
..
lean refactor(builtin/kernel): use standard definition for 'or' and 'and' 2014-02-17 12:05:34 -08:00
lua refactor(kernel/converter): implement eta in whnf instead of is_def_eq. 2014-05-12 17:49:53 -07:00