You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible (and easy to use) to create a coercion from Ensemble X to TopologicalSpace via @SubspaceTopology X, where X : TopologicalSpace?
This would be useful, because it allows some things to be stated more concisely (and is often done in mathematical practice). For example the notions "compact subset" or "connected subset" of a space would be automatically clear and wouldn't need to be defined separately.
Produces the warning SubspaceTopology does not respect the uniform inheritance condition [uniform-inheritance,typechecker] and Coq still says that SubspaceTopology is now a coercion.
But still, the following does not work:
From Topology RequireImport SubspaceTopology Connectedness.
Coercion SubspaceTopology : Ensemble >-> TopologicalSpace.
Section S.
Variable X : TopologicalSpace.
Variable U : Ensemble X.
FailVariable V : Ensemble U.
FailVariable p : U.
FailVariable f : U -> X.
FailGoal connected U.
EndSection S.
These basics would be necessary to simplify work with subspaces.
The text was updated successfully, but these errors were encountered:
Is it possible (and easy to use) to create a coercion from
Ensemble X
toTopologicalSpace
via@SubspaceTopology X
, whereX : TopologicalSpace
?This would be useful, because it allows some things to be stated more concisely (and is often done in mathematical practice). For example the notions "compact subset" or "connected subset" of a space would be automatically clear and wouldn't need to be defined separately.
The code
Coercion SubspaceTopology : Ensemble >-> TopologicalSpace.
Produces the warning
SubspaceTopology does not respect the uniform inheritance condition [uniform-inheritance,typechecker]
and Coq still says thatSubspaceTopology is now a coercion
.But still, the following does not work:
These basics would be necessary to simplify work with subspaces.
The text was updated successfully, but these errors were encountered: