-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[refactor] instance declaration #376
Open
gares
wants to merge
147
commits into
master
Choose a base branch
from
refactor-instance
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
147 commits
Select commit
Hold shift + click to select a range
567cee2
[refactor] separate add-mixin and make-mixin-canonical
gares 64525c7
[instance] declare-instance -> declare-mixins-from-factory + declare-…
gares e0f7895
document exported-op
gares 8c4071c
[instance] test for structure op as subject
gares 6128f44
comment
gares 1f8ca63
add comment
gares 2ce532b
wip-wrapping
gares f12d772
minor changes
ptorrx d3273a4
minor changes in instance.elpi
ptorrx 894aff0
introduced derived instance check in instance.elpi (as a hack); still…
ptorrx 1ecb634
fixed bugs in instance.elpi, compiles
ptorrx cb3d53a
minor changes
ptorrx 2fc6662
added and updated cmon_enriched_cat.v - this file contains three exam…
ptorrx c002312
fixed bug in cmonoid_enriched_cat.v
ptorrx 46d5932
revised tests/cmonoid_enriched_cat.v
ptorrx ed74a82
cleanup
gares 3e040b4
eta expand wrapped mixing in context
gares 19fd228
minimal test for parameters
gares 2d94c60
plan for auto wrapping
gares df1d865
added enriched_cat_case1.v - problematic
ptorrx ffce0b9
added enriched_cat_case2.v - which works, but wraps without depencies…
ptorrx f6e4458
added enriched_cat_case4.v
ptorrx 9aebc2b
updated examples
ptorrx 3ef5a1f
updated enriched_cat_case1.v, there are still problems
ptorrx 96a6113
updated enriched_cat_case4.v, not finished but less problematic
ptorrx 1292d1e
fix generation of wrapper-mixin when the mixin has deps
gares 457817c
add more tests
gares 66eb897
cleanup
gares 41da96e
added enriched_cat_case5.v with more cases
ptorrx 30debed
completed enriched_cat_case4.v
ptorrx 7d113d0
note
gares d3dce62
validate structure declaration and wrap is the wrapper already exists
gares cad4f20
a bit unsure about this, it looks too smart in some cases
gares 4e80aff
added enriched_cat_case6.v
ptorrx 353b3fd
wip
gares d343316
fix rebase
gares 063ffc3
fix failsafe structure inference
gares 1d18979
fix test for wrapping
gares 8f2d47d
cleanup
gares 7e41346
cleanup
gares fb93fbe
option wrapper=off to instance
gares 4c2742c
demo should not break abstractions
gares bd83789
test
gares d1c8070
moving category theory to theories
CohenCyril b73828c
defining pullbacks
CohenCyril 2e25e5c
fix Makefile
gares cb9cfb0
colors are proofs
gares feb9249
HB.tag
gares a180918
remove ELIM hack
gares 450cf7e
cleanup
gares 79aba6c
fix test
gares 8ac8c9d
note
gares 2a39460
fix HB.tag
gares a2bf6d4
FIX: toposort will always be buggy ;-)
gares 922d6b9
better eta expansion for failsafe structure elab
gares 7005440
CAT: use HB.tag for pb_terminal (the wrapper is not autogen, but coul…
gares e24e3a1
use subject-lifter instead of structure-op
gares 81fe41f
document toposort bug
gares da52021
Enter HB.from (from factories)
gares 8d40177
fix rebase
gares d7007d3
added theories/encat.v (formalization of enriched categories, in prog…
ptorrx 09618b3
updated theories/encat.v
ptorrx edb0313
updated theories/encat.v; definitions of enriched category and (tenta…
ptorrx 02b0fc5
updated theories/encat.v
ptorrx 75d8bfe
encat.v: fixed the definition of enriched category (reversed dependen…
ptorrx b415e67
encat.v: basic update of double categories
ptorrx de22884
encat.v: minor changes in comment
ptorrx 5531d11
encat.v: added Cyril's definition of double categories
ptorrx b3dd85d
encat.v: revised parametrisation in enriched categories; revised defi…
ptorrx 00c66a9
encat.v: minor changes
ptorrx 31843f2
encat.v: updates to dcat transposition
ptorrx 73a9732
encat.v: minor changes
ptorrx 995fef1
encat.v: fixed unit functor problem (by changing the definition of un…
ptorrx b1f88ea
encat.v: adding composition - however, it seems more problematic than…
ptorrx d0014ce
encat.v: adding horizontal cell composition (tough)
ptorrx 5c9bac2
updated encav.v
ptorrx 3fb6dde
updated encav.v; flat version with 4 functors (source, target, horizo…
ptorrx e2536bc
updated encav.v; still missing: associator; product category to be fixed
ptorrx 9c092de
updated encav.v; nlab-style definition of double categories; still mi…
ptorrx d158ffc
updated encav.v
ptorrx 5220df5
updated encav.v; improved some definitions
ptorrx f7a0d99
updated encav.v; version with transpose
ptorrx 6074c78
updated encav.v; improved a definition
ptorrx 0d19f51
updated encav.v; minor changes
ptorrx 64d354c
updated encav.v; added (alternative definitions of) horizontal 2-cell…
ptorrx 1da3981
added encatA.v, older version for experiments on instantiation. minor…
ptorrx 6a942fb
updated encav.v; in progress
ptorrx 429865c
updated encav.v; discharged product precategory assumptions (still to…
ptorrx 7f79278
added encatB.v: complete formalization of double categories, without …
ptorrx c26463b
encatB.v: cleaned up the definition of strict double category; the de…
ptorrx 5faa745
encatB.v: improving the proofs
ptorrx a5e0e21
encatB.v: improving the notation
ptorrx d2e0580
encatB.v: renamed definition to be consistent with slide presentation
ptorrx 6fdcfb5
added encatD.v (starting with internal categories)
ptorrx 5cb88f9
updated encatD.v
ptorrx 7a60a01
updated encatD.v, added definition of internal category based on oper…
ptorrx 45565f9
updated encatD.v, complete definition of internal category based on NLab
ptorrx 0fcd38c
updated encatD.v, minor changes
ptorrx a2757c4
mono/epi code works now
CohenCyril d42cc3e
walking span
CohenCyril dc4548e
rephrasing adjunctions (needs wrapping)
CohenCyril b00a244
internal categories parametrized with the ambiant one
CohenCyril 4151369
updated encatD.v
ptorrx fc63ca4
updated encatD.v
ptorrx f661ea2
updated encatD.v, added encatD1.v; open problems in both
ptorrx 6284697
updated encatD.v
ptorrx 9560c9f
updated encatD.v
ptorrx b0444ce
added encatI.v, which merges new version of cat.v with internal categ…
f1325d7
updated encatI.v
527dd0f
updated encatI.v
c820234
updated encatI.v
1e0aa1b
updated encatI.v
eb7d3eb
updated encatI.v
9974744
updated encatI.v
f81757d
updated encatI.v; added encatI0.v as experiment
ab63881
updated encatI.v
ptorrx 3459991
updated encatI.v
ca8bffd
updated encatI.v
82e72d6
updated encatI.v
f1ab058
updated encatI.v; complete definition of double cat based on internal…
9ff3448
updated encatI.v; cleaning up
d9c6869
updated encatI.v; merged in the strict double category direct definit…
41ad7c1
updated comment in encatI.v
40f762b
updated comment in encatI.v
c4724d7
changes in encatI0.v
6570167
encatI.v and encatI0.v now depend on cat.v
deb0352
updated encatI.v
11e40e2
updated encatI.v
4292494
updated encatI.v
b21e282
updated encatI.v
2167b3d
restructuring
ptorrx a2cc722
restructuring
ptorrx e84c91f
updated encatI.v
3564fd6
updated dependencies
1ce5b11
updated dependencies
d94c19f
updated encatI.v
d88dd20
wip
gares b9cb11f
wip
gares f2590ab
unsafe(univ) option
gares e8a680c
wip
gares 18ca7ba
wip
gares 59af016
wip
gares e19ed85
wip
gares 10b3fb0
wip
gares af2989f
wip
gares 0cf1c4c
wip
gares e85441c
wip
gares File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wrong if the lifter is casted:
(hom : T -> T -> Type)
hides(let x : T -> T -> Type := hom in x)
and this code should cross/reduce the let