20 lines
443 B
Plaintext
20 lines
443 B
Plaintext
/-
|
|
Copyright (c) 2022 Henrik Böving. All rights reserved.
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
Authors: Henrik Böving
|
|
-/
|
|
import Lean
|
|
|
|
import DocGen4.Process.Base
|
|
import DocGen4.Process.NameInfo
|
|
|
|
namespace DocGen4.Process
|
|
|
|
open Lean Meta
|
|
|
|
def TheoremInfo.ofTheoremVal (v : TheoremVal) : MetaM TheoremInfo := do
|
|
let info ← Info.ofConstantVal v.toConstantVal
|
|
pure $ TheoremInfo.mk info
|
|
|
|
end DocGen4.Process
|