Documentation

Mathlib.CategoryTheory.Comma.OverClass

Typeclasses for S-objects and S-morphisms #

Warning: This is not usually how typeclasses should be used. This is only a sensible approach when the morphism is considered as a structure on X, typically in algebraic geometry.

This is analogous to to how we view ringhoms as structures via the Algebra typeclass.

For other applications use unbundled arrows or CategoryTheory.Over.

Main definition #

OverClass X S is the typeclass containing the data of a structure morphism X ↘ S : X ⟶ S.

  • ofHom :: (
    • hom : X S

      The structure morphism. Use X ↘ S instead.

  • )
Instances

    The structure morphism X ↘ S : X ⟶ S given OverClass X S. The instance argument is an optParam instead so that it appears in the discrimination tree.

    Equations
    Instances For

      The structure morphism X ↘ S : X ⟶ S given OverClass X S.

      Equations
      Instances For

        See Note [custom simps projection]

        Equations
        Instances For

          X.CanonicallyOverClass S is the typeclass containing the data of a structure morphism X ↘ S : X ⟶ S, and that S is (uniquely) inferrable from the structure of X.

          Instances
            @[instance 100]
            Equations

            Given OverClass X S and OverClass Y S and f : X ⟶ Y, HomIsOver f S is the typeclass asserting f commutes with the structure morphisms.

            Instances
              @[reducible, inline]

              Scheme.IsOverTower X Y S is the typeclass asserting that the structure morphisms X ↘ Y, Y ↘ S, and X ↘ S commute.

              Equations
              Instances For

                Bundle X with an OverClass X S instance into Over S.

                Equations
                Instances For