Skip to content

Commit

Permalink
chore: include recursor names in ConstantInfo.getUsedConstants
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em committed Oct 3, 2023
1 parent a4aae91 commit 9d9b313
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lean4Checker/Lean.lean
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def getUsedConstants (c : ConstantInfo) : NameSet :=
| .inductInfo val => .ofList val.ctors
| .opaqueInfo val => val.value.getUsedConstants'
| .ctorInfo val => ({} : NameSet).insert val.name
| .recInfo val => .ofList val.all
| _ => {}

def inductiveVal! : ConstantInfo → InductiveVal
Expand Down

0 comments on commit 9d9b313

Please sign in to comment.