Make inverse rewrite laws for pseudofunctor

These are slow, but useful for lax comma categories.

Also, split out the rewrite laws into a separate file.

After    | File Name                                                          | Before   || Change
-----------------------------------------------------------------------------------------------------
9m33.00s | Total                                                              | 9m11.29s || +0m21.71s
-----------------------------------------------------------------------------------------------------
0m37.22s | categories/Pseudofunctor/RewriteLaws                               |   N/A    || +0m37.21s
0m02.04s | categories/Pseudofunctor/Core                                      | 0m11.46s || -0m09.42s
1m49.71s | categories/Comma/ProjectionFunctors                                | 1m46.30s || +0m03.41s
0m32.28s | categories/Adjoint/Composition/AssociativityLaw                    | 0m33.49s || -0m01.21s
0m15.74s | categories/Adjoint/UnitCounitCoercions                             | 0m17.57s || -0m01.83s
0m11.36s | categories/Functor/Pointwise/Properties                            | 0m12.69s || -0m01.33s
0m22.49s | categories/Grothendieck/PseudofunctorToCat                         | 0m21.94s || +0m00.54s
0m21.41s | categories/Adjoint/HomCoercions                                    | 0m22.11s || -0m00.69s
0m16.74s | categories/ExponentialLaws/Law4/Functors                           | 0m16.30s || +0m00.43s
0m14.89s | categories/Comma/InducedFunctors                                   | 0m14.71s || +0m00.17s
0m13.46s | categories/FunctorCategory/Dual                                    | 0m14.44s || -0m00.97s
0m11.84s | hit/Flattening                                                     | 0m12.16s || -0m00.32s
0m11.81s | categories/PseudonaturalTransformation/Core                        | 0m12.05s || -0m00.24s
0m10.72s | categories/Adjoint/Composition/Core                                | 0m11.32s || -0m00.59s
0m10.36s | categories/Adjoint/Composition/IdentityLaws                        | 0m10.87s || -0m00.50s
0m09.74s | categories/Adjoint/Dual                                            | 0m10.54s || -0m00.79s
0m09.38s | categories/Pseudofunctor/FromFunctor                               | 0m09.60s || -0m00.21s
0m07.71s | categories/ExponentialLaws/Law1/Law                                | 0m07.61s || +0m00.09s
0m07.13s | categories/Functor/Prod/Universal                                  | 0m07.72s || -0m00.58s
0m06.96s | categories/Yoneda                                                  | 0m07.11s || -0m00.15s
0m06.86s | categories/GroupoidCategory/Morphisms                              | 0m07.39s || -0m00.52s
0m06.78s | hit/Connectedness                                                  | 0m06.64s || +0m00.14s
0m06.52s | categories/Pseudofunctor/Identity                                  | 0m06.50s || +0m00.01s
0m05.90s | categories/UniversalProperties                                     | 0m06.06s || -0m00.15s
0m05.82s | categories/Structure/IdentityPrinciple                             | 0m05.77s || +0m00.05s
0m05.78s | categories/Functor/Paths                                           | 0m05.72s || +0m00.06s
0m05.62s | categories/Comma/Dual                                              | 0m05.59s || +0m00.03s
0m05.53s | EquivalenceVarieties                                               | 0m05.08s || +0m00.45s
0m05.53s | categories/Adjoint/Paths                                           | 0m05.58s || -0m00.04s
0m05.39s | categories/Category/Morphisms                                      | 0m05.75s || -0m00.36s
0m05.25s | categories/Functor/Sum                                             | 0m05.31s || -0m00.05s
0m05.05s | categories/Adjoint/UnitCounit                                      | 0m05.00s || +0m00.04s
0m04.59s | categories/ExponentialLaws/Law2/Functors                           | 0m04.65s || -0m00.06s
0m04.16s | categories/DualFunctor                                             | 0m04.18s || -0m00.01s
0m04.08s | categories/Category/Sigma/OnMorphisms                              | 0m04.09s || -0m00.00s
0m03.46s | categories/ProductLaws                                             | 0m03.59s || -0m00.12s
0m03.35s | categories/Structure/Core                                          | 0m03.64s || -0m00.29s
0m03.33s | types/Sigma                                                        | 0m03.15s || +0m00.18s
0m03.24s | types/ObjectClassifier                                             | 0m03.46s || -0m00.21s
0m02.89s | HSet                                                               | 0m02.82s || +0m00.07s
0m02.82s | categories/Adjoint/UniversalMorphisms                              | 0m02.79s || +0m00.02s
0m02.72s | categories/Functor/Prod/Functorial                                 | 0m02.56s || +0m00.16s
0m02.70s | HProp                                                              | 0m02.79s || -0m00.08s
0m02.64s | Equivalences                                                       | 0m02.61s || +0m00.03s
0m02.52s | categories/Functor/Composition/Functorial/Attributes               | 0m02.75s || -0m00.23s
0m02.45s | categories/FunctorCategory/Functorial                              | 0m02.53s || -0m00.07s
0m02.28s | categories/Grothendieck/ToSet                                      | 0m02.32s || -0m00.04s
0m02.17s | categories/Functor/Attributes                                      | 0m02.11s || +0m00.06s
0m02.16s | categories/Category/Sum                                            | 0m02.16s || +0m00.00s
0m02.10s | types/Record                                                       | 0m02.03s || +0m00.07s
0m02.09s | categories/NaturalTransformation/Isomorphisms                      | 0m02.05s || +0m00.04s
0m02.08s | categories/Category/Sigma/Core                                     | 0m01.97s || +0m00.11s
0m01.98s | PathGroupoids                                                      | 0m01.95s || +0m00.03s
0m01.97s | categories/Comma/Core                                              | 0m01.95s || +0m00.02s
0m01.77s | categories/FunctorCategory/Morphisms                               | 0m01.60s || +0m00.16s
0m01.76s | categories/NaturalTransformation/Dual                              | 0m01.83s || -0m00.07s
0m01.73s | categories/HomFunctor                                              | 0m01.69s || +0m00.04s
0m01.60s | categories/NaturalTransformation/Paths                             | 0m01.79s || -0m00.18s
0m01.40s | types/Prod                                                         | 0m01.33s || +0m00.06s
0m01.35s | categories/Category/Prod                                           | 0m01.40s || -0m00.04s
0m01.34s | categories/NaturalTransformation/Pointwise                         | 0m01.27s || +0m00.07s
0m01.27s | categories/Category/Sigma/OnObjects                                | 0m01.23s || +0m00.04s
0m01.27s | categories/InitialTerminalCategory/Pseudofunctors                  | 0m01.25s || +0m00.02s
0m01.11s | categories/NaturalTransformation/Composition/Laws                  | 0m01.23s || -0m00.11s
0m01.11s | categories/Limits/Core                                             | 0m01.20s || -0m00.08s
0m01.10s | categories/Functor/Composition/Functorial/Core                     | 0m01.08s || +0m00.02s
0m01.01s | categories/Functor/Pointwise                                       | 0m00.99s || +0m00.02s
0m00.99s | categories/CategoryOfSections/Core                                 | 0m01.02s || -0m00.03s
0m00.92s | categories/ExponentialLaws/Law  N/A                                | 0m00.97s || -0m00.04s
0m00.91s | categories/ExponentialLaws/Law1/Functors                           | 0m00.97s || -0m00.05s
0m00.90s | types/Paths                                                        | 0m00.95s || -0m00.04s
0m00.90s | categories/Functor/Prod                                            | 0m00.88s || +0m00.02s
0m00.87s | categories/NaturalTransformation/Prod                              | 0m00.91s || -0m00.04s
0m00.84s | hit/epi                                                            | 0m00.87s || -0m00.03s
0m00.84s | hit/Spheres                                                        | 0m00.82s || +0m00.02s
0m00.83s | contrib/HoTTBookExercises                                          | 0m00.88s || -0m00.05s
0m00.81s | contrib/HoTTBook                                                   | 0m00.77s || +0m00.04s
0m00.78s | categories/SetCategory/Morphisms                                   | 0m00.71s || +0m00.07s
0m00.72s | categories/NaturalTransformation/Composition/Core                  | 0m00.65s || +0m00.06s
0m00.63s | Trunc                                                              | 0m00.63s || +0m00.00s
0m00.61s | types/Universe                                                     | 0m00.60s || +0m00.01s
0m00.61s | hit/Suspension                                                     | 0m00.63s || -0m00.02s
0m00.61s | categories/categories                                              | 0m00.68s || -0m00.07s
0m00.60s | Functorish                                                         | 0m00.55s || +0m00.04s
0m00.58s | types/Sum                                                          | 0m00.65s || -0m00.07s
0m00.56s | UnivalenceImpliesFunext                                            | 0m00.56s || +0m00.00s
0m00.53s | categories/InitialTerminalCategory/Functors                        | 0m00.50s || +0m00.03s
0m00.52s | categories/NaturalTransformation/Sum                               | 0m00.59s || -0m00.06s
0m00.52s | Tactics                                                            | 0m00.44s || +0m00.08s
0m00.52s | hit/quotient                                                       | 0m00.56s || -0m00.04s
0m00.50s | categories/Limits/Functors                                         | 0m00.46s || +0m00.03s
0m00.50s | categories/Functor/Composition/Laws                                | 0m00.49s || +0m00.01s
0m00.50s | categories/Comma/Projection                                        | 0m00.51s || -0m00.01s
0m00.47s | hit/Circle                                                         | 0m00.52s || -0m00.05s
0m00.46s | categories/KanExtensions/Functors                                  | 0m00.47s || -0m00.00s
0m00.43s | types/Forall                                                       | 0m00.48s || -0m00.04s
0m00.38s | categories/NaturalTransformation/Identity                          | 0m00.42s || -0m00.03s
0m00.37s | categories/Cat/Core                                                | 0m00.40s || -0m00.03s
0m00.36s | categories/FundamentalPreGroupoidCategory                          | 0m00.38s || -0m00.02s
0m00.36s | categories/ExponentialLaws/Law3/Functors                           | 0m00.39s || -0m00.03s
0m00.34s | categories/HomotopyPreCategory                                     | 0m00.31s || +0m00.03s
0m00.34s | Fibrations                                                         | 0m00.36s || -0m00.01s
0m00.33s | TruncType                                                          | 0m00.31s || +0m00.02s
0m00.33s | categories/Cat/Morphisms                                           | 0m00.30s || +0m00.03s
0m00.32s | categories/InitialTerminalCategory/NaturalTransformations          | 0m00.34s || -0m00.02s
0m00.32s | categories/NaturalTransformation/Composition/Functorial            | 0m00.33s || -0m00.01s
0m00.31s | hit/minus1Trunc                                                    | 0m00.32s || -0m00.01s
0m00.31s | types/Arrow                                                        | 0m00.26s || +0m00.04s
0m00.30s | categories/KanExtensions/Core                                      | 0m00.31s || -0m00.01s
0m00.29s | categories/Functor/Dual                                            | 0m00.28s || +0m00.00s
0m00.29s | categories/Functor/Functor                                         | 0m00.35s || -0m00.06s
0m00.28s | categories/ExponentialLaws/ExponentialLaws                         | 0m00.30s || -0m00.01s
0m00.28s | categories/Notations                                               | 0m00.26s || +0m00.02s
0m00.28s | categories/Grothendieck/Grothendieck                               | 0m00.30s || -0m00.01s
0m00.27s | categories/Adjoint/Adjoint                                         | 0m00.25s || +0m00.02s
0m00.26s | categories/Utf8                                                    | 0m00.27s || -0m00.01s
0m00.26s | categories/Functor/Composition/Core                                | 0m00.24s || +0m00.02s
0m00.24s | categories/SetCategory/Functors/Functors                           | 0m00.20s || +0m00.03s
0m00.24s | categories/IndiscreteCategory                                      | 0m00.32s || -0m00.08s
0m00.24s | categories/Adjoint/Hom                                             | 0m00.23s || +0m00.00s
0m00.24s | categories/NaturalTransformation/Core                              | 0m00.28s || -0m00.04s
0m00.23s | categories/Grothendieck/ToCat                                      | 0m00.18s || +0m00.05s
0m00.23s | types/Bool                                                         | 0m00.22s || +0m00.01s
0m00.22s | categories/Comma/Comma                                             | 0m00.20s || +0m00.01s
0m00.22s | Modality                                                           | 0m00.21s || +0m00.01s
0m00.22s | categories/Category/Objects                                        | 0m00.25s || -0m00.03s
0m00.21s | categories/InitialTerminalCategory/InitialTerminalCategory         | 0m00.22s || -0m00.01s
0m00.21s | categories/Functor/Composition/Composition                         | 0m00.21s || +0m00.00s
0m00.20s | categories/DependentProduct                                        | 0m00.20s || +0m00.00s
0m00.20s | hit/iso                                                            | 0m00.16s || +0m00.04s
0m00.19s | categories/NaturalTransformation/NaturalTransformation             | 0m00.19s || +0m00.00s
0m00.19s | categories/FunctorCategory/Utf8                                    | 0m00.22s || -0m00.03s
0m00.18s | Conjugation                                                        | 0m00.20s || -0m00.02s
0m00.18s | categories/Functor/Composition/Functorial                          | 0m00.17s || +0m00.00s
0m00.18s | categories/Limits/Limits                                           | 0m00.19s || -0m00.01s
0m00.18s | categories/KanExtensions/KanExtensions                             | 0m00.17s || +0m00.00s
0m00.18s | categories/Functor/Notations                                       | 0m00.19s || -0m00.01s
0m00.18s | categories/GroupoidCategory/Core                                   | 0m00.19s || -0m00.01s
0m00.18s | categories/NatCategory                                             | 0m00.16s || +0m00.01s
0m00.18s | categories/Adjoint/Composition/Composition                         | 0m00.18s || +0m00.00s
0m00.18s | categories/Functor/Utf8                                            | 0m00.20s || -0m00.02s
0m00.18s | categories/Category/Core                                           | 0m00.17s || +0m00.00s
0m00.18s | FunextVarieties                                                    | 0m00.19s || -0m00.01s
0m00.18s | categories/NaturalTransformation/Utf8                              | 0m00.22s || -0m00.04s
0m00.18s | categories/Category/Pi                                             | 0m00.16s || +0m00.01s
0m00.17s | categories/SetCategory/Core                                        | 0m00.17s || +0m00.00s
0m00.17s | HoTT                                                               | 0m00.16s || +0m00.01s
0m00.17s | categories/Pseudofunctor/Pseudofunctor                             | 0m00.17s || +0m00.00s
0m00.17s | Overture                                                           | 0m00.18s || -0m00.00s
0m00.16s | categories/Adjoint/Utf8                                            | 0m00.16s || +0m00.00s
0m00.16s | categories/Cat/Cat                                                 | 0m00.14s || +0m00.01s
0m00.16s | categories/FunctorCategory/FunctorCategory                         | 0m00.17s || -0m00.01s
0m00.16s | categories/Adjoint/Notations                                       | 0m00.18s || -0m00.01s
0m00.16s | categories/Comma/Notations                                         | 0m00.16s || +0m00.00s
0m00.16s | categories/PseudonaturalTransformation/PseudonaturalTransformation | 0m00.18s || -0m00.01s
0m00.16s | categories/Profunctor/Identity                                     | 0m00.12s || +0m00.04s
0m00.15s | categories/Functor/Prod/Prod                                       | 0m00.16s || -0m00.01s
0m00.15s | Misc                                                               | 0m00.14s || +0m00.00s
0m00.15s | categories/Profunctor/Representable                                | 0m00.15s || +0m00.00s
0m00.15s | hit/Truncations                                                    | 0m00.14s || +0m00.00s
0m00.14s | categories/Category/Dual                                           | 0m00.18s || -0m00.03s
0m00.14s | categories/Profunctor/Notations                                    | 0m00.12s || +0m00.02s
0m00.14s | categories/ExponentialLaws/Law4/Law4                               | 0m00.13s || +0m00.01s
0m00.14s | categories/Adjoint/Identity                                        | 0m00.12s || +0m00.02s
0m00.14s | hit/unique_choice                                                  | 0m00.12s || +0m00.02s
0m00.14s | categories/Category/Univalent                                      | 0m00.14s || +0m00.00s
0m00.14s | categories/Profunctor/Profunctor                                   | 0m00.13s || +0m00.01s
0m00.14s | categories/Category/Category                                       | 0m00.15s || -0m00.00s
0m00.14s | categories/InitialTerminalCategory/Notations                       | 0m00.14s || +0m00.00s
0m00.14s | categories/ExponentialLaws/Law1/Law1                               | 0m00.14s || +0m00.00s
0m00.14s | types/Unit                                                         | 0m00.14s || +0m00.00s
0m00.14s | categories/Category/Sigma/Sigma                                    | 0m00.12s || +0m00.02s
0m00.14s | categories/Adjoint/Composition/LawsTactic                          | 0m00.15s || -0m00.00s
0m00.14s | categories/FunctorCategory/Core                                    | 0m00.15s || -0m00.00s
0m00.13s | categories/Comma/Utf8                                              | 0m00.13s || +0m00.00s
0m00.13s | categories/ExponentialLaws/Law3/Law3                               | 0m00.12s || +0m00.01s
0m00.13s | categories/GroupoidCategory/GroupoidCategory                       | 0m00.10s || +0m00.03s
0m00.13s | categories/NaturalTransformation/Notations                         | 0m00.16s || -0m00.03s
0m00.13s | hit/TwoSphere                                                      | 0m00.11s || +0m00.02s
0m00.13s | categories/ExponentialLaws/Law2/Law2                               | 0m00.14s || -0m00.01s
0m00.12s | hit/Interval                                                       | 0m00.14s || -0m00.02s
0m00.12s | categories/Structure/Structure                                     | 0m00.13s || -0m00.01s
0m00.12s | categories/InitialTerminalCategory/Core                            | 0m00.14s || -0m00.02s
0m00.12s | categories/SetCategory/SetCategory                                 | 0m00.10s || +0m00.01s
0m00.12s | categories/NaturalTransformation/Composition/Composition           | 0m00.10s || +0m00.01s
0m00.12s | categories/Category/Subcategory/Full                               | 0m00.12s || +0m00.00s
0m00.12s | categories/Functor/Pointwise/Pointwise                             | 0m00.09s || +0m00.03s
0m00.12s | categories/Profunctor/Utf8                                         | 0m00.10s || +0m00.01s
0m00.12s | categories/CategoryOfSections/CategoryOfSections                   | 0m00.15s || -0m00.03s
0m00.11s | categories/DiscreteCategory                                        | 0m00.12s || -0m00.00s
0m00.11s | categories/Adjoint/Core                                            | 0m00.12s || -0m00.00s
0m00.11s | Contractible                                                       | 0m00.12s || -0m00.00s
0m00.11s | categories/Profunctor/Core                                         | 0m00.16s || -0m00.05s
0m00.11s | coq/Init/Peano                                                     | 0m00.12s || -0m00.00s
0m00.11s | categories/Category/Subcategory/Subcategory                        | 0m00.11s || +0m00.00s
0m00.11s | categories/Category/Notations                                      | 0m00.11s || +0m00.00s
0m00.11s | UnivalenceAxiom                                                    | 0m00.09s || +0m00.02s
0m00.11s | categories/FunctorCategory/Notations                               | 0m00.13s || -0m00.02s
0m00.11s | types/Empty                                                        | 0m00.10s || +0m00.00s
0m00.10s | types/UniverseLevel                                                | 0m00.09s || +0m00.01s
0m00.10s | Pointed                                                            | 0m00.12s || -0m00.01s
0m00.10s | Tests                                                              | 0m00.12s || -0m00.01s
0m00.10s | categories/Structure/Utf8                                          | 0m00.09s || +0m00.01s
0m00.09s | categories/Category/Utf8                                           | 0m00.10s || -0m00.01s
0m00.09s | categories/Functor/Identity                                        | 0m00.10s || -0m00.01s
0m00.09s | categories/Functor/Core                                            | 0m00.12s || -0m00.03s
0m00.09s | categories/Category/Subcategory/Wide                               | 0m00.11s || -0m00.02s
0m00.09s | categories/Structure/Notations                                     | 0m00.11s || -0m00.02s
0m00.08s | categories/Category/Strict                                         | 0m00.05s || +0m00.03s
0m00.08s | FunextAxiom                                                        | 0m00.08s || +0m00.00s
0m00.07s | coq/Init/Specif                                                    | 0m00.08s || -0m00.00s
0m00.07s | coq/Init/Logic_Type                                                | 0m00.06s || +0m00.01s
0m00.06s | coq/Program/Tactics                                                | 0m00.05s || +0m00.00s
0m00.05s | coq/Init/Datatypes                                                 | 0m00.06s || -0m00.00s
0m00.05s | coq/Init/Prelude                                                   | 0m00.03s || +0m00.02s
0m00.04s | coq/Init/Logic                                                     | 0m00.03s || +0m00.01s
0m00.02s | coq/Init/Notations                                                 | 0m00.03s || -0m00.00s
0m00.02s | coq/Bool/Bool                                                      | 0m00.02s || +0m00.00s
0m00.02s | coq/Init/Tactics                                                   | 0m00.02s || +0m00.00s
Merge pull request #387 from JasonGross/more-pseudofunctors

Make inverse rewrite laws for pseudofunctor