Commit 2026-11-25 13:09 41d83d13

View on Github →

refactor: use LinearMap.IsWeak for WeakBilin (#40644) This introduces WeakBilin.linearEquiv : WeakBilin B ≃ₗ[𝕜] E as the canonical map between a space E and its type synonym WeakBilin B, for B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜. This serves to provides an abstraction barrier between these defeq types. We then add WeakBilin.pairing : WeakBilin B →ₗ[𝕜] F →ₗ[𝕜] 𝕜 as a copy of the bilinear map B where we exchange the domain via LinearEquiv.arrowCongr. Finally, we provide an instance of LinearMap.IsWeak (WeakBilin.pairing B). This allows us to remove abuse of definitional equality in the API for WeakBilin, and to deprecate most of the basic results in favor of their LinearMap.IsWeak variants. The one result which we don't deprecate is WeakBilin.continuous_of_continuous_eval. This is because the specific version we can tag with fun_prop, but the more general version would not be suitable as a fun_prop lemma because the linear map B inducing the topology would be a metavariable, and cannot be inferred from the type.

Estimated changes