Functorial isomorphism of shape inclusions #138
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prove a "cube"-lemma for homotopy cartesian squares.
Define in terms of representables what it means for two shape inclusions
ϕ ⊂ ψ
andζ ⊂ χ
to be isomorphic. In practice such isomorphism can easily be specified by explicit formulas involving the coordinates of the cubes.Show that isomorphic shape inclusions are anodyne for each other.
Side remark for @fizruk : For these sort of constructions it would be very convenient if rzk would support some rudimentary meta-programming features. For example, it would be nice if I could define a macro (syntax just as an example)
and then define
and have the compiler automatically do a syntactic-expansion of the macro
@isomorphism-shape-inclusion
before type-checking.In the specific example above it is not too bad, since the formula defining the map of shapes is so short. But it one defines isomorphisms or maps on more complicated shapes, the formulas may involve case distinctions and become long; in that case repeating them multiple times can quickly make the code explode.
Note that there is no way to make this macro into an actual function (without some polymorphism) because different instances of
\ τ (t,s) → τ s
have different types.