doc: Add a docstring to Simp.Result and its fields (#3319)
This commit is contained in:
parent
3a6ebd88bb
commit
0554ab39aa
1 changed files with 5 additions and 1 deletions
|
|
@ -12,9 +12,13 @@ import Lean.Meta.Tactic.Simp.SimpCongrTheorems
|
|||
namespace Lean.Meta
|
||||
namespace Simp
|
||||
|
||||
/-- The result of simplifying some expression `e`. -/
|
||||
structure Result where
|
||||
/-- The simplified version of `e` -/
|
||||
expr : Expr
|
||||
proof? : Option Expr := none -- If none, proof is assumed to be `refl`
|
||||
/-- A proof that `$e = $expr`, where the simplified expression is on the RHS.
|
||||
If `none`, the proof is assumed to be `refl`. -/
|
||||
proof? : Option Expr := none
|
||||
/-- Save the field `dischargeDepth` at `Simp.Context` because it impacts the simplifier result. -/
|
||||
dischargeDepth : UInt32 := 0
|
||||
/-- If `cache := true` the result is cached. -/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue