Closed nomeata closed 10 months ago
These work:
|- (∑' (n : _), _ ^ n) = (_ : Real)
|- (∑' (n : _), @HPow.hPow Real Nat Real _ _ n) = _
These don’t
|- (∑' (n : _), (_ ^ n : Real)) = (_ : Real)
|- (∑' (n : _), ((_:Real) ^ (n : Nat) : Real)) = _
Ah, maybe this is due to https://github.com/leanprover/lean4/issues/2220 somehow.
yay, this got fixed along with https://github.com/leanprover/lean4/issues/2220!
The query
|- (∑' (n : Nat), _ ^ n) = _
doesn’t work, while|- (∑' (n : _), _ ^ n) = _
works.Something with type classes, because it says
but