Port pointwise adjunctions from catdb

It is, unfortunately, the slowest thing in the repo to date, by a factor
of two.

After    | File Name                                                 | Before   || Change
--------------------------------------------------------------------------------------------
3m26.19s | Total                                                     | 2m36.62s || +0m49.57s
--------------------------------------------------------------------------------------------
0m49.51s | categories/Adjoint/Pointwise                              |   N/A    || +0m49.50s
0m24.90s | hit/V                                                     | 0m24.94s || -0m00.04s
0m09.72s | categories/ExponentialLaws/Law3/Law                       | 0m09.70s || +0m00.02s
0m09.46s | contrib/Freudenthal                                       | 0m09.45s || +0m00.01s
0m09.21s | categories/ExponentialLaws/Law2/Law                       | 0m09.21s || +0m00.00s
0m09.11s | categories/ExponentialLaws/Law4/Law                       | 0m09.15s || -0m00.04s
0m08.60s | Factorization                                             | 0m08.51s || +0m00.08s
0m05.70s | Modality                                                  | 0m05.71s || -0m00.00s
0m04.80s | categories/Comma/ProjectionFunctors                       | 0m04.78s || +0m00.01s
0m03.96s | categories/LaxComma/CoreLaws                              | 0m03.99s || -0m00.03s
0m02.76s | categories/Comma/Functorial                               | 0m02.79s || -0m00.03s
0m02.41s | ReflectiveSubuniverse                                     | 0m02.42s || -0m00.00s
0m01.98s | categories/GroupoidCategory/Morphisms                     | 0m02.00s || -0m00.02s
0m01.96s | hit/Flattening                                            | 0m01.93s || +0m00.03s
0m01.80s | hit/epi                                                   | 0m01.78s || +0m00.02s
0m01.74s | Types/Equiv                                               | 0m01.73s || +0m00.01s
0m01.74s | hit/quotient                                              | 0m01.74s || +0m00.00s
0m01.74s | categories/Adjoint/Composition/AssociativityLaw           | 0m01.72s || +0m00.02s
0m01.63s | categories/ExponentialLaws/Law1/Law                       | 0m01.61s || +0m00.01s
0m01.51s | contrib/HoTTBook                                          | 0m01.52s || -0m00.01s
0m01.46s | categories/ExponentialLaws/Law4/Functors                  | 0m01.53s || -0m00.07s
0m01.41s | categories/Functor/Composition/Functorial/Attributes      | 0m01.41s || +0m00.00s
0m01.31s | categories/Category/Morphisms                             | 0m01.31s || +0m00.00s
0m01.25s | categories/Grothendieck/PseudofunctorToCat                | 0m01.22s || +0m00.03s
0m01.22s | hit/PropositionalFracture                                 | 0m01.21s || +0m00.01s
0m01.15s | categories/Functor/Paths                                  | 0m01.15s || +0m00.00s
0m01.14s | categories/Functor/Sum                                    | 0m01.18s || -0m00.04s
0m01.13s | categories/UniversalProperties                            | 0m01.09s || +0m00.03s
0m01.10s | categories/Functor/Composition/Laws                       | 0m01.14s || -0m00.03s
0m01.01s | categories/Adjoint/Composition/IdentityLaws               | 0m00.99s || +0m00.02s
0m01.01s | categories/Functor/Pointwise/Properties                   | 0m00.98s || +0m00.03s
0m01.00s | categories/Adjoint/HomCoercions                           | 0m01.02s || -0m00.02s
0m01.00s | contrib/HoTTBookExercises                                 | 0m00.99s || +0m00.01s
0m00.94s | categories/Pseudofunctor/RewriteLaws                      | 0m00.95s || -0m00.01s
0m00.90s | categories/Comma/InducedFunctors                          | 0m00.86s || +0m00.04s
0m00.86s | categories/Yoneda                                         | 0m00.84s || +0m00.02s
0m00.86s | Basics/Equivalences                                       | 0m00.86s || +0m00.00s
0m00.81s | categories/Pseudofunctor/FromFunctor                      | 0m00.81s || +0m00.00s
0m00.74s | categories/Pseudofunctor/Identity                         | 0m00.74s || +0m00.00s
0m00.73s | categories/FundamentalPreGroupoidCategory                 | 0m00.75s || -0m00.02s
0m00.72s | categories/Category/Sigma/OnMorphisms                     | 0m00.61s || +0m00.10s
0m00.70s | categories/Category/Sigma/Core                            | 0m00.70s || +0m00.00s
0m00.69s | categories/Adjoint/UnitCounitCoercions                    | 0m00.71s || -0m00.02s
0m00.68s | Types/Sigma                                               | 0m00.67s || +0m00.01s
0m00.67s | Basics/PathGroupoids                                      | 0m00.64s || +0m00.03s
0m00.62s | categories/ExponentialLaws/Law0                           | 0m00.60s || +0m00.02s
0m00.60s | categories/Adjoint/Composition/Core                       | 0m00.62s || -0m00.02s
0m00.58s | categories/HomotopyPreCategory                            | 0m00.60s || -0m00.02s
0m00.52s | categories/ProductLaws                                    | 0m00.53s || -0m00.01s
0m00.52s | EquivalenceVarieties                                      | 0m00.54s || -0m00.02s
0m00.50s | categories/Comma/Core                                     | 0m00.48s || +0m00.02s
0m00.49s | categories/LaxComma/Core                                  | 0m00.52s || -0m00.03s
0m00.45s | categories/Comma/Dual                                     | 0m00.39s || +0m00.06s
0m00.43s | categories/ExponentialLaws/Law1/Functors                  | 0m00.39s || +0m00.03s
0m00.42s | categories/LaxComma/CoreParts                             | 0m00.45s || -0m00.03s
0m00.42s | categories/Functor/Composition/Functorial/Core            | 0m00.45s || -0m00.03s
0m00.41s | categories/Category/Sum                                   | 0m00.44s || -0m00.03s
0m00.40s | categories/Limits/Core                                    | 0m00.42s || -0m00.01s
0m00.39s | categories/Functor/Prod/Universal                         | 0m00.40s || -0m00.01s
0m00.39s | categories/Structure/IdentityPrinciple                    | 0m00.40s || -0m00.01s
0m00.36s | hit/Spheres                                               | 0m00.31s || +0m00.04s
0m00.36s | categories/Adjoint/Paths                                  | 0m00.36s || +0m00.00s
0m00.35s | categories/SetCategory/Morphisms                          | 0m00.33s || +0m00.01s
0m00.34s | categories/NaturalTransformation/Isomorphisms             | 0m00.30s || +0m00.04s
0m00.34s | categories/Functor/Attributes                             | 0m00.40s || -0m00.06s
0m00.33s | categories/NaturalTransformation/Paths                    | 0m00.30s || +0m00.03s
0m00.33s | categories/Adjoint/UniversalMorphisms                     | 0m00.28s || +0m00.04s
0m00.32s | categories/InitialTerminalCategory/Pseudofunctors         | 0m00.27s || +0m00.04s
0m00.31s | Types/Prod                                                | 0m00.27s || +0m00.03s
0m00.30s | categories                                                | 0m00.32s || -0m00.02s
0m00.28s | categories/ExponentialLaws/Law2/Functors                  | 0m00.22s || +0m00.06s
0m00.28s | Types/Paths                                               | 0m00.32s || -0m00.03s
0m00.26s | categories/Functor/Prod/Functorial                        | 0m00.27s || -0m00.01s
0m00.26s | categories/DualFunctor                                    | 0m00.29s || -0m00.02s
0m00.26s | categories/Functor/Pointwise/Core                         | 0m00.26s || +0m00.00s
0m00.24s | categories/Limits/Functors                                | 0m00.25s || -0m00.01s
0m00.24s | Types/Universe                                            | 0m00.24s || +0m00.00s
0m00.24s | hit/Connectedness                                         | 0m00.25s || -0m00.01s
0m00.22s | categories/FunctorCategory/Morphisms                      | 0m00.22s || +0m00.00s
0m00.22s | categories/NaturalTransformation/Prod                     | 0m00.17s || +0m00.04s
0m00.21s | categories/InitialTerminalCategory/Functors               | 0m00.20s || +0m00.00s
0m00.20s | Types/Sum                                                 | 0m00.20s || +0m00.00s
0m00.20s | ObjectClassifier                                          | 0m00.19s || +0m00.01s
0m00.20s | categories/Functor/Prod/Core                              | 0m00.18s || +0m00.02s
0m00.19s | categories/NaturalTransformation/Pointwise                | 0m00.18s || +0m00.01s
0m00.19s | hit/Join                                                  | 0m00.22s || -0m00.03s
0m00.18s | categories/NaturalTransformation/Composition/Laws         | 0m00.16s || +0m00.01s
0m00.18s | TruncType                                                 | 0m00.23s || -0m00.05s
0m00.18s | hit/Circle                                                | 0m00.18s || +0m00.00s
0m00.18s | categories/Structure/Core                                 | 0m00.15s || +0m00.03s
0m00.18s | Fibrations                                                | 0m00.17s || +0m00.00s
0m00.17s | categories/CategoryOfSections/Core                        | 0m00.16s || +0m00.01s
0m00.17s | categories/Grothendieck/ToSet                             | 0m00.20s || -0m00.03s
0m00.17s | categories/FunctorCategory/Dual                           | 0m00.17s || +0m00.00s
0m00.16s | Types/Arrow                                               | 0m00.12s || +0m00.04s
0m00.16s | categories/HomFunctor                                     | 0m00.17s || -0m00.01s
0m00.16s | HSet                                                      | 0m00.15s || +0m00.01s
0m00.16s | hit/Truncations                                           | 0m00.19s || -0m00.03s
0m00.16s | categories/KanExtensions/Functors                         | 0m00.17s || -0m00.01s
0m00.15s | categories/Cat/Core                                       | 0m00.13s || +0m00.01s
0m00.14s | hit/Pushout                                               | 0m00.13s || +0m00.01s
0m00.14s | categories/ExponentialLaws/Law3/Functors                  | 0m00.10s || +0m00.04s
0m00.14s | categories/IndiscreteCategory                             | 0m00.14s || +0m00.00s
0m00.14s | hit/iso                                                   | 0m00.09s || +0m00.05s
0m00.14s | categories/Category/Sigma/OnObjects                       | 0m00.15s || -0m00.00s
0m00.14s | categories/PseudonaturalTransformation/Core               | 0m00.14s || +0m00.00s
0m00.14s | categories/Adjoint/Hom                                    | 0m00.12s || +0m00.02s
0m00.14s | HProp                                                     | 0m00.15s || -0m00.00s
0m00.14s | Tactics                                                   | 0m00.17s || -0m00.03s
0m00.14s | categories/Pseudofunctor/Core                             | 0m00.16s || -0m00.01s
0m00.14s | categories/Adjoint/UnitCounit                             | 0m00.10s || +0m00.04s
0m00.13s | categories/Utf8                                           | 0m00.14s || -0m00.01s
0m00.13s | UnivalenceImpliesFunext                                   | 0m00.12s || +0m00.01s
0m00.13s | Basics/Trunc                                              | 0m00.12s || +0m00.01s
0m00.13s | categories/Category/Prod                                  | 0m00.14s || -0m00.01s
0m00.13s | categories/NaturalTransformation/Sum                      | 0m00.12s || +0m00.01s
0m00.13s | categories/FunctorCategory/Functorial                     | 0m00.14s || -0m00.01s
0m00.13s | Types/Forall                                              | 0m00.12s || +0m00.01s
0m00.13s | categories/KanExtensions/Core                             | 0m00.14s || -0m00.01s
0m00.12s | categories/FunctorCategory/Utf8                           | 0m00.08s || +0m00.03s
0m00.12s | hit/Suspension                                            | 0m00.14s || -0m00.02s
0m00.12s | categories/NatCategory                                    | 0m00.15s || -0m00.03s
0m00.12s | categories/Notations                                      | 0m00.11s || +0m00.00s
0m00.12s | categories/Functor                                        | 0m00.16s || -0m00.04s
0m00.11s | categories/Functor/Composition/Functorial                 | 0m00.10s || +0m00.00s
0m00.11s | HoTT                                                      | 0m00.10s || +0m00.00s
0m00.11s | categories/Comma                                          | 0m00.08s || +0m00.03s
0m00.11s | categories/Comma/Projection                               | 0m00.14s || -0m00.03s
0m00.10s | categories/Functor/Notations                              | 0m00.13s || -0m00.03s
0m00.10s | Types/Bool                                                | 0m00.10s || +0m00.00s
0m00.10s | categories/InitialTerminalCategory/NaturalTransformations | 0m00.08s || +0m00.02s
0m00.10s | categories/Adjoint                                        | 0m00.12s || -0m00.01s
0m00.09s | categories/LaxComma/Notations                             | 0m00.10s || -0m00.01s
0m00.09s | categories/LaxComma                                       | 0m00.09s || +0m00.00s
0m00.09s | categories/Grothendieck                                   | 0m00.09s || +0m00.00s
0m00.09s | categories/Adjoint/Notations                              | 0m00.07s || +0m00.01s
0m00.09s | categories/Comma/Notations                                | 0m00.07s || +0m00.01s
0m00.09s | categories/Category/Objects                               | 0m00.08s || +0m00.00s
0m00.09s | categories/LaxComma/Utf8                                  | 0m00.09s || +0m00.00s
0m00.09s | categories/FunctorCategory                                | 0m00.10s || -0m00.01s
0m00.09s | categories/NaturalTransformation/Identity                 | 0m00.07s || +0m00.01s
0m00.09s | categories/NaturalTransformation/Composition/Functorial   | 0m00.10s || -0m00.01s
0m00.09s | categories/Profunctor/Identity                            | 0m00.06s || +0m00.03s
0m00.09s | categories/NaturalTransformation/Utf8                     | 0m00.13s || -0m00.04s
0m00.09s | categories/Functor/Composition                            | 0m00.09s || +0m00.00s
0m00.09s | categories/Category/Pi                                    | 0m00.07s || +0m00.01s
0m00.09s | categories/NaturalTransformation/Composition/Core         | 0m00.08s || +0m00.00s
0m00.09s | categories/Adjoint/Composition                            | 0m00.07s || +0m00.01s
0m00.08s | Conjugation                                               | 0m00.06s || +0m00.02s
0m00.08s | Basics/Overture                                           | 0m00.09s || -0m00.00s
0m00.08s | categories/Category                                       | 0m00.08s || +0m00.00s
0m00.08s | categories/NaturalTransformation/Notations                | 0m00.08s || +0m00.00s
0m00.08s | categories/ExponentialLaws                                | 0m00.07s || +0m00.00s
0m00.08s | categories/ExponentialLaws/Law2                           | 0m00.08s || +0m00.00s
0m00.08s | coq/Init/Peano                                            | 0m00.07s || +0m00.00s
0m00.08s | hit/unique_choice                                         | 0m00.08s || +0m00.00s
0m00.08s | categories/GroupoidCategory/Core                          | 0m00.08s || +0m00.00s
0m00.08s | Basics/FunextVarieties                                    | 0m00.07s || +0m00.00s
0m00.08s | categories/Functor/Utf8                                   | 0m00.09s || -0m00.00s
0m00.08s | Tests                                                     | 0m00.07s || +0m00.00s
0m00.08s | categories/SetCategory/Core                               | 0m00.08s || +0m00.00s
0m00.08s | categories/Limits                                         | 0m00.08s || +0m00.00s
0m00.08s | Utf8                                                      | 0m00.08s || +0m00.00s
0m00.08s | categories/FunctorCategory/Core                           | 0m00.10s || -0m00.02s
0m00.07s | categories/DependentProduct                               | 0m00.08s || -0m00.00s
0m00.07s | categories/Adjoint/Dual                                   | 0m00.06s || +0m00.01s
0m00.07s | categories/Cat                                            | 0m00.06s || +0m00.01s
0m00.07s | categories/Profunctor                                     | 0m00.05s || +0m00.02s
0m00.07s | categories/PseudonaturalTransformation                    | 0m00.08s || -0m00.00s
0m00.07s | Types/Unit                                                | 0m00.07s || +0m00.00s
0m00.07s | categories/Adjoint/Identity                               | 0m00.07s || +0m00.00s
0m00.07s | categories/Pseudofunctor                                  | 0m00.08s || -0m00.00s
0m00.07s | categories/NaturalTransformation                          | 0m00.08s || -0m00.00s
0m00.07s | categories/Cat/Morphisms                                  | 0m00.09s || -0m00.01s
0m00.07s | categories/SetCategory                                    | 0m00.05s || +0m00.02s
0m00.07s | Types/Record                                              | 0m00.06s || +0m00.01s
0m00.07s | categories/FunctorCategory/Notations                      | 0m00.07s || +0m00.00s
0m00.07s | categories/Adjoint/Composition/LawsTactic                 | 0m00.06s || +0m00.01s
0m00.06s | categories/Comma/Utf8                                     | 0m00.04s || +0m00.01s
0m00.06s | categories/Adjoint/Utf8                                   | 0m00.06s || +0m00.00s
0m00.06s | categories/Category/Utf8                                  | 0m00.04s || +0m00.01s
0m00.06s | categories/Category/Sigma                                 | 0m00.05s || +0m00.00s
0m00.06s | hit/Interval                                              | 0m00.08s || -0m00.02s
0m00.06s | Basics/Contractible                                       | 0m00.04s || +0m00.01s
0m00.06s | Functorish                                                | 0m00.07s || -0m00.01s
0m00.06s | categories/Category/Dual                                  | 0m00.06s || +0m00.00s
0m00.06s | categories/Grothendieck/ToCat                             | 0m00.10s || -0m00.04s
0m00.06s | categories/InitialTerminalCategory/Core                   | 0m00.05s || +0m00.00s
0m00.06s | categories/CategoryOfGroupoids                            | 0m00.06s || +0m00.00s
0m00.06s | categories/Functor/Core                                   | 0m00.04s || +0m00.01s
0m00.06s | categories/CategoryOfSections                             | 0m00.04s || +0m00.01s
0m00.06s | categories/Category/Univalent                             | 0m00.07s || -0m00.01s
0m00.06s | categories/Functor/Prod                                   | 0m00.08s || -0m00.02s
0m00.06s | categories/Category/Subcategory/Wide                      | 0m00.05s || +0m00.00s
0m00.06s | categories/Profunctor/Representable                       | 0m00.08s || -0m00.02s
0m00.06s | categories/KanExtensions                                  | 0m00.11s || -0m00.05s
0m00.06s | categories/Category/Core                                  | 0m00.06s || +0m00.00s
0m00.06s | hit/TwoSphere                                             | 0m00.06s || +0m00.00s
0m00.06s | categories/SetCategory/Functors/SetProp                   | 0m00.08s || -0m00.02s
0m00.06s | categories/NaturalTransformation/Core                     | 0m00.06s || +0m00.00s
0m00.05s | categories/Profunctor/Core                                | 0m00.08s || -0m00.03s
0m00.05s | categories/SetCategory/Functors                           | 0m00.06s || -0m00.00s
0m00.05s | categories/ExponentialLaws/Tactics                        | 0m00.06s || -0m00.00s
0m00.05s | categories/InitialTerminalCategory                        | 0m00.06s || -0m00.00s
0m00.05s | categories/ExponentialLaws/Law1                           | 0m00.08s || -0m00.03s
0m00.05s | categories/ExponentialLaws/Law3                           | 0m00.08s || -0m00.03s
0m00.05s | categories/ExponentialLaws/Law4                           | 0m00.06s || -0m00.00s
0m00.05s | Misc                                                      | 0m00.04s || +0m00.01s
0m00.05s | hit/IntervalImpliesFunext                                 | 0m00.04s || +0m00.01s
0m00.05s | categories/Functor/Pointwise                              | 0m00.09s || -0m00.03s
0m00.05s | categories/NaturalTransformation/Dual                     | 0m00.05s || +0m00.00s
0m00.05s | Types                                                     | 0m00.06s || -0m00.00s
0m00.05s | categories/Structure                                      | 0m00.05s || +0m00.00s
0m00.05s | Tactics/BinderApply                                       | 0m00.06s || -0m00.00s
0m00.05s | categories/Category/Notations                             | 0m00.04s || +0m00.01s
0m00.05s | Types/Nat                                                 | 0m00.03s || +0m00.02s
0m00.05s | coq/Program/Tactics                                       | 0m00.04s || +0m00.01s
0m00.04s | categories/DiscreteCategory                               | 0m00.04s || +0m00.00s
0m00.04s | categories/Adjoint/Core                                   | 0m00.06s || -0m00.01s
0m00.04s | categories/Functor/Identity                               | 0m00.03s || +0m00.01s
0m00.04s | Basics/UniverseLevel                                      | 0m00.03s || +0m00.01s
0m00.04s | categories/Functor/Dual                                   | 0m00.06s || -0m00.01s
0m00.04s | coq/Init/Specif                                           | 0m00.04s || +0m00.00s
0m00.04s | categories/Profunctor/Notations                           | 0m00.05s || -0m00.01s
0m00.04s | categories/Category/Subcategory                           | 0m00.05s || -0m00.01s
0m00.04s | Types/Empty                                               | 0m00.04s || +0m00.00s
0m00.04s | categories/NaturalTransformation/Composition              | 0m00.07s || -0m00.03s
0m00.04s | categories/InitialTerminalCategory/Notations              | 0m00.06s || -0m00.01s
0m00.04s | categories/Functor/Composition/Core                       | 0m00.05s || -0m00.01s
0m00.04s | Basics/Pointed                                            | 0m00.04s || +0m00.00s
0m00.04s | coq/Init/Logic_Type                                       | 0m00.04s || +0m00.00s
0m00.04s | NullHomotopy                                              | 0m00.05s || -0m00.01s
0m00.04s | UnivalenceAxiom                                           | 0m00.04s || +0m00.00s
0m00.04s | categories/Category/Subcategory/Full                      | 0m00.04s || +0m00.00s
0m00.04s | categories/Structure/Utf8                                 | 0m00.05s || -0m00.01s
0m00.04s | Basics                                                    | 0m00.04s || +0m00.00s
0m00.04s | categories/GroupoidCategory                               | 0m00.05s || -0m00.01s
0m00.04s | categories/Profunctor/Utf8                                | 0m00.06s || -0m00.01s
0m00.03s | coq/Init/Datatypes                                        | 0m00.04s || -0m00.01s
0m00.03s | categories/Structure/Notations                            | 0m00.04s || -0m00.01s
0m00.03s | FunextAxiom                                               | 0m00.02s || +0m00.00s
0m00.02s | coq/Init/Notations                                        | 0m00.02s || +0m00.00s
0m00.02s | categories/Category/Strict                                | 0m00.04s || -0m00.02s
0m00.02s | coq/Unicode/Utf8_core                                     | 0m00.03s || -0m00.00s
0m00.02s | coq/Init/Prelude                                          | 0m00.02s || +0m00.00s
0m00.01s | coq/Unicode/Utf8                                          | 0m00.02s || -0m00.01s
0m00.01s | coq/Init/Logic                                            | 0m00.02s || -0m00.01s
0m00.01s | coq/Bool/Bool                                             | 0m00.02s || -0m00.01s
0m00.01s | coq/Init/Tactics                                          | 0m00.02s || -0m00.01s
Add tactics for rewriting modulo associativity

They're somewhat ad-hoc, and probably need more documentation and
examples and test cases, but the basic examples work, and I've left this
laying around for far too long.

This closes #536.
Add some comments to RewriteModuloAssociativity.v

From Mike Shulman's suggestions
Use left association rather than right association

The notations for composition and concatenation are built for left
association.
Merge pull request #605 from JasonGross/adjoint-pointwise

Port pointwise adjunctions from catdb
Merge pull request #607 from JasonGross/rewrite-modulo-associativity

Add tactics for rewriting modulo associativity