Skip to content

Commit 3bcf90b

Browse files
committed
chore: adapt to leanprover/lean4#11587
1 parent 8e37a9b commit 3bcf90b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Aesop/BuiltinRules/DestructProducts.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ private meta def destructProductHyp? (goal : MVarId) (hyp : FVarId)
8484
(preserveBinderNames := true) (useNamesForExplicitOnly := false)
8585
return (goal, lName, rName)
8686

87-
meta def destructProductsCore (goal : MVarId) (md : TransparencyMode) :
87+
meta partial def destructProductsCore (goal : MVarId) (md : TransparencyMode) :
8888
BaseM (MVarId × Array LazyStep) := do
8989
let result ← go 0 goal |>.run
9090
if result.fst == goal then

Aesop/BuiltinRules/Split.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ meta def splitTarget : RuleTac := RuleTac.ofSingleRuleTac λ input => do
2424
let goals ← goals.mapM (mvarIdToSubgoal input.goal ·)
2525
return (goals, steps, none)
2626

27-
meta def splitHypothesesCore (goal : MVarId) :
27+
meta partial def splitHypothesesCore (goal : MVarId) :
2828
ScriptM (Option (Array MVarId)) :=
2929
withIncRecDepth do
3030
let some goals ← splitFirstHypothesisS? goal

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:nightly-2025-12-03
1+
leanprover/lean4-pr-releases:pr-release-11587-3a37d68

0 commit comments

Comments
 (0)