@Kha @dselsam I was experiencing an insane code explosion with the previous approach. There were too many definitions marked with `@[specialize]`. `Meta.c` was reaching 0.5 million lines of code. We would need a more sophisticated code specializer cache to handle this kind of code. The new approach is much simpler. I don't see any major disadvantages.
12 lines
354 B
Text
12 lines
354 B
Text
/-
|
|
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
Authors: Leonardo de Moura
|
|
-/
|
|
prelude
|
|
import Init.Lean.Meta.Basic
|
|
import Init.Lean.Meta.LevelDefEq
|
|
import Init.Lean.Meta.WHNF
|
|
import Init.Lean.Meta.InferType
|
|
import Init.Lean.Meta.FunInfo
|
|
import Init.Lean.Meta.ExprDefEq
|