Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/Lean/AuxRecursor.lean
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ builtin_initialize auxRecExt : TagDeclarationExtension ← mkTagDeclarationExten
def markAuxRecursor (env : Environment) (declName : Name) : Environment :=
auxRecExt.tag env declName

@[export lean_is_aux_recursor]
def isAuxRecursor (env : Environment) (declName : Name) : Bool :=
auxRecExt.isTagged env declName
-- TODO: use `markAuxRecursor` when they are defined
Expand Down Expand Up @@ -68,7 +67,6 @@ builtin_initialize noConfusionExt : TagDeclarationExtension ← mkTagDeclaration
def markNoConfusion (env : Environment) (n : Name) : Environment :=
noConfusionExt.tag env n

@[export lean_is_no_confusion]
def isNoConfusion (env : Environment) (n : Name) : Bool :=
noConfusionExt.isTagged env n

Expand Down
2 changes: 1 addition & 1 deletion src/Lean/Meta/WHNF.lean
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def smartUnfoldingMatchAlt? (e : Expr) : Option Expr :=

def isAuxDef (constName : Name) : MetaM Bool := do
let env ← getEnv
return isAuxRecursor env constName || isNoConfusion env constName
return isAuxRecursor env constName

/--
Retrieves `ConstInfo` for `declName`.
Expand Down
1 change: 0 additions & 1 deletion src/library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ add_library(library OBJECT expr_lt.cpp
module.cpp dynlib.cpp replace_visitor.cpp num.cpp
class.cpp util.cpp print.cpp annotation.cpp
reducible.cpp init_module.cpp
aux_recursors.cpp
profiling.cpp time_task.cpp
formatter.cpp
elab_environment.cpp
Expand Down
20 changes: 0 additions & 20 deletions src/library/aux_recursors.cpp

This file was deleted.

15 changes: 0 additions & 15 deletions src/library/aux_recursors.h

This file was deleted.

1 change: 0 additions & 1 deletion src/library/constructions/cases_on.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Author: Leonardo de Moura
#include "library/suffixes.h"
#include "library/reducible.h"
#include "library/constants.h"
#include "library/aux_recursors.h"
#include "library/constructions/util.h"

namespace lean {
Expand Down
Loading