Compare commits

...

2 Commits

Author SHA1 Message Date
Joachim Breitner
433a123ce3 Merge branch 'master' of https://github.com/leanprover/lean4 into joachim/grind-docstring 2025-12-13 06:53:21 +00:00
Joachim Breitner
a5ccdf5f80 doc: fix docstring of propagateForallPropUp
This PR fixes the docstring of `propagateForallPropUp`. It was
copy’n’pasta before.
2025-12-12 22:33:59 +00:00

View File

@@ -19,9 +19,8 @@ import Lean.Meta.Tactic.Grind.SynthInstance
public section
namespace Lean.Meta.Grind
/--
If `parent` is a projection-application `proj_i c`,
check whether the root of the equivalence class containing `c` is a constructor-application `ctor ... a_i ...`.
If so, internalize the term `proj_i (ctor ... a_i ...)` and add the equality `proj_i (ctor ... a_i ...) = a_i`.
Propagator for dependent forall terms
`forall (h : p), q[h]` where p is a proposition.
-/
def propagateForallPropUp (e : Expr) : GoalM Unit := do
let .forallE n p q bi := e | return ()