Zulip Chat Archive
Stream: lean4
Topic: Instance synthesis issue working with Riemannian bundles
Michael Rothgang (Jul 09 2025 at 07:18):
Sébastien Gouëzel said:
Wow, Levi-Civita, that's awesome! Did the Riemannian manifold definition work well for you, or did you have to tweak the definition somehow to make it better?
I just hit a first roadblock, working with the new definition: trying to prove lemmas of the form "given a C^n metric, the point-wise scalar product of two MDifferentiable sections is MDifferentiable in #26921 yields an error that doesn't make sense to me. Can you take a look and tell me if I'm doing something wrong?
Sébastien Gouëzel (Jul 09 2025 at 07:32):
It's because the typeclass assumption h is not available in the proof, because the variable n is not present. You should replace the typeclass with
[h : IsContMDiffRiemannianBundle IB 1 F E]
Michael Rothgang (Jul 09 2025 at 07:34):
:bulb: Yes, of course! Fixed, and thanks a lot!
Last updated: Dec 20 2025 at 21:32 UTC