New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - fix: don't change bornology with PseudoMetricSpace.replaceUniformity
#5330
Conversation
Should that example by added to guard against a future change breaking the definitional equality? Happy if that doesn't seem necessary to you. bors d+ |
✌️ j-loreaux can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
#5330) This fixes `PseudoMetricSpace.replaceUniformity` so that it no longer silently changes the bornology. Before the fix, the following example fails, but afterwards, it succeeds. ```lean example {α} [U : UniformSpace α] (m : PseudoMetricSpace α) (H : 𝓤[U] = 𝓤[PseudoEMetricSpace.toUniformSpace]) : (PseudoMetricSpace.replaceUniformity m H).toBornology = m.toBornology := rfl ```
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
PseudoMetricSpace.replaceUniformity
PseudoMetricSpace.replaceUniformity
#5330) This fixes `PseudoMetricSpace.replaceUniformity` so that it no longer silently changes the bornology. Before the fix, the following example fails, but afterwards, it succeeds. ```lean example {α} [U : UniformSpace α] (m : PseudoMetricSpace α) (H : 𝓤[U] = 𝓤[PseudoEMetricSpace.toUniformSpace]) : (PseudoMetricSpace.replaceUniformity m H).toBornology = m.toBornology := rfl ```
#5330) This fixes `PseudoMetricSpace.replaceUniformity` so that it no longer silently changes the bornology. Before the fix, the following example fails, but afterwards, it succeeds. ```lean example {α} [U : UniformSpace α] (m : PseudoMetricSpace α) (H : 𝓤[U] = 𝓤[PseudoEMetricSpace.toUniformSpace]) : (PseudoMetricSpace.replaceUniformity m H).toBornology = m.toBornology := rfl ```
#5330) This fixes `PseudoMetricSpace.replaceUniformity` so that it no longer silently changes the bornology. Before the fix, the following example fails, but afterwards, it succeeds. ```lean example {α} [U : UniformSpace α] (m : PseudoMetricSpace α) (H : 𝓤[U] = 𝓤[PseudoEMetricSpace.toUniformSpace]) : (PseudoMetricSpace.replaceUniformity m H).toBornology = m.toBornology := rfl ```
This fixes
PseudoMetricSpace.replaceUniformity
so that it no longer silently changes the bornology. Before the fix, the following example fails, but afterwards, it succeeds.example {α} [U : UniformSpace α] (m : PseudoMetricSpace α) (H : 𝓤[U] = 𝓤[PseudoEMetricSpace.toUniformSpace]) : (PseudoMetricSpace.replaceUniformity m H).toBornology = m.toBornology := rfl