Skip to content

[ DRY ] Refactor Function.* to rationalise the existence of a section to a given Surjective f #2568

Open
@jamesmckinna

Description

@jamesmckinna

Lots of repetition in the hierarchy of various private definitions of a (not-necessarily Congruent) section : B → A to a given Surjective f for f : A → B, which should be rationalised into an appropriate eg. manifest field of the various Structures and Bundles...

Issues: cf. #2274 etc.

plus

UPDATED: #2569 is a comprehensive attempt at tackling this, up to, but not (yet!) including breaking changes to remove the dependency on congruence of section in the proofs of symmetry for IsBijective and Bijection (because, for an Injective function f, its section automatically satisfies Congruent)

The solution chosen goes via a new module Section in Function.Consequences (could/should move to somewhere on its own?), which develops the comprehensive theory of the section map, but then successively re-exports that structure as manifest fields of both Function.Structures.{IsSurjection|IsBijection} as well as Function.Bundles.{Surjection|Bijection}, so in a sense the answer to the above design issues is: yes!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions