Skip to content

Automated source and target restrictions of functor properties#218

Merged
ScriptRaccoon merged 1 commit into
mainfrom
representable-is-restricted-to-Set
May 29, 2026
Merged

Automated source and target restrictions of functor properties#218
ScriptRaccoon merged 1 commit into
mainfrom
representable-is-restricted-to-Set

Conversation

@ScriptRaccoon
Copy link
Copy Markdown
Owner

A functor property such as being representable requires that the target category be Set. Previously, when non-representability could not be deduced (for example, in the case of a continuous functor), it was necessary to manually mark the functor as not representable, even when the target category was not Set. This has now been automated.

Specifically, in the file defining a functor property, one can add the optional fields required_source and required_target. In representable.yaml, the following has been added:

required_target: Set

The deduction script now automatically marks this property as false for all functors whose target is not Set. More precisely, this is done before the main deduction procedure for functors starts, and the assignment is registered as "non-deduced" since it is too basic.

@ScriptRaccoon ScriptRaccoon merged commit bade989 into main May 29, 2026
1 check passed
@ScriptRaccoon ScriptRaccoon deleted the representable-is-restricted-to-Set branch May 29, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant