Fixups to work with the latest polyproj branch.

Progress on adapting HoTT and categories to latest polyproj branch.

Progress on adapting HoTT and categories to latest polyproj branch.

Adapt categories and hit's code to latest polyproj (Private keyword).
- A few places raise universe inconsistencies in Categories still, not sure why.
- Some minor unification problems with apply/eauto discovered as well.
- Some places requiring more instances of Funext, as I expected.
Everything compiles quickly here.

Fix up some transparency issues

Remove an admit

More fixes

More minor changes

Remove more admits, add more work-arounds

Add back a space to minimize diff against master

Fix [simpl] going through abstract

[destruct] seems to not be working well...

Workaround some bugs with new trunk-polyproj branch

Fixups to work with the latest polyproj branch.

Fixes to work with the latest trunk-polyproj branch at mattam82/coq

Try to minimize diff with master

Update coq, fix funext proof

Minimize diff with master

Fix problems with types.Sum

WIP compatibility with trunk-polyproj

More compat

Port Exponential Law proofs from HoTT-categories

Unfortunately, they're pretty slow.

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

Update submodule

Fix stdlib replacement for trunk

Remove dev

Local -> Private

Fix theories/categories/FunctorCategory/Functorial.v

Fix some bugs, do some debugging

More fixes

Bring it closer to master

Fix for change losing evars, also closer to master

Workarounds for improper handling of Set

More minimization of diff against master

More diff minimization

Fixes

Work around typeclasses taking forever due to universe inconsistency

Minimize diff with master

Minimize diff with master

Fix some files, minimize diff

More diff minimization

More diff minimization

More diff minimization

Revert "Port Exponential Law proofs from HoTT-categories"

This reverts commit b159e9710b2b3b6f9966ddbf67180d0c377a424b.

Conflicts:

	theories/categories/ExponentialLaws/Law2/Law.v
	theories/categories/ExponentialLaws/Law3/Law.v
	theories/categories/ExponentialLaws/Law4/Law.v

More diff minimization

Make all of HoTT compile