-
Notifications
You must be signed in to change notification settings - Fork 92
Refactor function actions on cauchy approximations #1738
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
base: master
Are you sure you want to change the base?
Refactor function actions on cauchy approximations #1738
Conversation
…dometric-spaces.lagda.md Co-authored-by: Fredrik Bakke <fredrbak@gmail.com>
…dometric-spaces.lagda.md Co-authored-by: Fredrik Bakke <fredrbak@gmail.com>
…dometric-spaces.lagda.md Co-authored-by: Fredrik Bakke <fredrbak@gmail.com>
…dometric-spaces.lagda.md Co-authored-by: Fredrik Bakke <fredrbak@gmail.com>
…dometric-spaces.lagda.md Co-authored-by: Fredrik Bakke <fredrbak@gmail.com>
--lossy-unification breaks some proof of UniMath#1726
|
Because we didn't have Cauchy pseudocompletions at the time, the definitions of these actions were in the |
The conventional way to name such files in agda-unimath is e.g. |
| @@ -0,0 +1,143 @@ | |||
| # The action of isometries on Cauchy approximations in pseudometric spaces | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # The action of isometries on Cauchy approximations in pseudometric spaces | |
| # The action on Cauchy approximations of isometries between pseudometric spaces |
| @@ -0,0 +1,92 @@ | |||
| # The action of short maps on Cauchy approximations in metric spaces | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # The action of short maps on Cauchy approximations in metric spaces | |
| # The action on Cauchy approximations of short maps between metric spaces |
| @@ -0,0 +1,97 @@ | |||
| # The action of short maps on Cauchy approximations in pseudometric spaces | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # The action of short maps on Cauchy approximations in pseudometric spaces | |
| # The action on Cauchy approximations of short maps between pseudometric spaces |
| ( metric-quotient-Pseudometric-Space M)) | ||
| short-map-metric-quotient-cauchy-apprtoximation-Pseudometric-Space = | ||
| short-map-short-function-cauchy-approximation-Pseudometric-Space | ||
| short-map-cauchy-approximation-short-function-Pseudometric-Space |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this highlights that short-function should be renamed to short-map
| ( is-limit-map-lim-cauchy-pseudocompletion-is-complete-Metric-Space u) | ||
| ``` | ||
|
|
||
| ### The isometry from the Cauchy pseudocompletion of a complete metric space to its limit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence doesn't make sense. There is no "map" from a complete metric space to its limit. What you exhibit an isometry between is the two
( cauchy-pseudocompletion-Metric-Space M)
( pseudometric-Metric-Space M)
| [pseudometric spaces](metric-spaces.pseudometric-spaces.md) act on their | ||
| [cauchy approximations](metric-spaces.cauchy-approximations-pseudometric-spaces.md) | ||
| and induce a short map between their | ||
| [Cauchy pseudocompletions](metric-spaces.cauchy-pseudocompletion-of-pseudometric-spaces.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| [pseudometric spaces](metric-spaces.pseudometric-spaces.md) act on their | |
| [cauchy approximations](metric-spaces.cauchy-approximations-pseudometric-spaces.md) | |
| and induce a short map between their | |
| [Cauchy pseudocompletions](metric-spaces.cauchy-pseudocompletion-of-pseudometric-spaces.md). | |
| [pseudometric spaces](metric-spaces.pseudometric-spaces.md) act on | |
| [cauchy approximations](metric-spaces.cauchy-approximations-pseudometric-spaces.md) | |
| and induce a short map between the | |
| [Cauchy pseudocompletions](metric-spaces.cauchy-pseudocompletion-of-pseudometric-spaces.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
action-on-cauchy-approximations-short-maps-pseudometric-spaces
| [Short maps](metric-spaces.short-functions-metric-spaces.md) between | ||
| [metric spaces](metric-spaces.metric-spaces.md) act on their | ||
| [cauchy approximations](metric-spaces.cauchy-approximations-metric-spaces.md) | ||
| and induce a short map between their | ||
| [Cauchy pseudocompletions](metric-spaces.cauchy-pseudocompletion-of-metric-spaces.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| [Short maps](metric-spaces.short-functions-metric-spaces.md) between | |
| [metric spaces](metric-spaces.metric-spaces.md) act on their | |
| [cauchy approximations](metric-spaces.cauchy-approximations-metric-spaces.md) | |
| and induce a short map between their | |
| [Cauchy pseudocompletions](metric-spaces.cauchy-pseudocompletion-of-metric-spaces.md). | |
| [metric spaces](metric-spaces.metric-spaces.md) act on | |
| [cauchy approximations](metric-spaces.cauchy-approximations-metric-spaces.md) | |
| and induce a short map between the | |
| [Cauchy pseudocompletions](metric-spaces.cauchy-pseudocompletion-of-metric-spaces.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
action-on-cauchy-approximations-short-maps-metric-spaces.lagda.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
action-on-cauchy-approximations-isometries-pseudometric-spaces.lagda.md
| [Isometries](metric-spaces.isometries-pseudometric-spaces.md) between | ||
| [pseudometric spaces](metric-spaces.pseudometric-spaces.md) act on their | ||
| [Cauchy approximations](metric-spaces.cauchy-approximations-pseudometric-spaces.md) | ||
| and induce an isometry between their | ||
| [Cauchy pseudocompletions](metric-spaces.cauchy-pseudocompletion-of-pseudometric-spaces.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| [Isometries](metric-spaces.isometries-pseudometric-spaces.md) between | |
| [pseudometric spaces](metric-spaces.pseudometric-spaces.md) act on their | |
| [Cauchy approximations](metric-spaces.cauchy-approximations-pseudometric-spaces.md) | |
| and induce an isometry between their | |
| [Cauchy pseudocompletions](metric-spaces.cauchy-pseudocompletion-of-pseudometric-spaces.md). | |
| [Isometries](metric-spaces.isometries-pseudometric-spaces.md) between | |
| [pseudometric spaces](metric-spaces.pseudometric-spaces.md) act on | |
| [Cauchy approximations](metric-spaces.cauchy-approximations-pseudometric-spaces.md) | |
| and induce an isometry between the | |
| [Cauchy pseudocompletions](metric-spaces.cauchy-pseudocompletion-of-pseudometric-spaces.md). |
| ```agda | ||
| {-# OPTIONS --lossy-unification #-} | ||
|
|
||
| module metric-spaces.cauchy-approximations-in-cauchy-pseudocompletions-of-pseudometric-spaces where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| module metric-spaces.cauchy-approximations-in-cauchy-pseudocompletions-of-pseudometric-spaces where | |
| module | |
| metric-spaces.cauchy-approximations-in-cauchy-pseudocompletions-of-pseudometric-spaces | |
| where |
| ( map-lim-cauchy-approximation-cauchy-pseudocompletion-Pseudometric-Space , | ||
| is-cauchy-map-lim-cauchy-approximation-cauchy-pseudocompletion-Pseudometric-Space) | ||
|
|
||
| is-limit-lim-cauchy-approximation-cauchy-pseudocompletion-Pseudometric-Space : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like it should be marked abstract
| in | ||
| map-cauchy-approximation-cauchy-pseudocompletion-Pseudometric-Space d₂ d₁ | ||
|
|
||
| is-cauchy-map-lim-cauchy-approximation-cauchy-pseudocompletion-Pseudometric-Space : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like this should be marked abstract
fredrik-bakke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you're already taking the opportunity to fix some names across the board, would you be so kind to also change the naming pattern short-function- to short-map-?
This PR introduces the new modules:
action-of-isometries-on-cauchy-approximations-pseudometric-spaces.lagda.md;action-of-short-maps-on-cauchy-approximations-metric-spaces.lagda.md;action-of-short-maps-on-cauchy-approximations-pseudometric-spaces.lagda.md.to refactor these concepts in their own modules.