analysis icon indicating copy to clipboard operation
analysis copied to clipboard

want to use just `fct_ringType` from topology.v

Open t6s opened this issue 4 years ago • 1 comments

There is a ringType decaration for function types in topology.v, which I have recently found useful for some projects (namely affeldt-aist/infotheo and ieva-itu/robustmean) with no topology.

Unfortunately, importing topology conflicts with Morphism from Coq standard library which reserves the notation --> differently. I have to do some dirty coding to avoid this problem.

Could this be solved perhaps by separating the ring declaration out of topology.v? (Or perhaps by changing the reserved notation -->?)

t6s avatar Oct 19 '21 15:10 t6s

It has been pointed out during the last mca meeting that a new feature of Coq (https://coq.inria.fr/refman/language/core/modules.html#grammar-token-import_categories) could help you solve this issue (by preventing loading of the conflicting notation). If it works for you, we can maybe avoid splitting topology.v for now and close this issue. What do you think? (No hurry.)

affeldt-aist avatar Feb 25 '22 00:02 affeldt-aist

@affeldt-aist this issue seem to be fixed now as fct_ringType is now in the classical package (in functions.v). @t6s do you confirm?

proux01 avatar Apr 19 '23 12:04 proux01

Yes.

t6s avatar Apr 19 '23 12:04 t6s