Skip to content
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

WIP: right adjoint to Functor.Slice.Free #370

Closed
wants to merge 1 commit into from

Conversation

Taneb
Copy link
Member

@Taneb Taneb commented Mar 31, 2023

I've been trying to get my head around this for a while now. It's getting painfully slow to compile so I'm pausing here hoping someone might suggest ways to speed it up (or tidy the code a bit)

@Taneb
Copy link
Member Author

Taneb commented Apr 25, 2023

Had another look at this, and the load speeds make this so frustrating to work with. I'd really like some help speeding it up, the slowdown seems to be in unit/commute

@JacquesCarette
Copy link
Collaborator

I will try. First, I have to catch up on the backlog generated from me being away from home for essentially a month.

@Taneb
Copy link
Member Author

Taneb commented Nov 3, 2023

I've tried this again from scratch on top of the changes in #347. Putting what this PR calls F₁-lemma in an abstract block significantly speeds up compilation of the functor, I think because Agda expands it out everywhere in F₁ and thence homomorphism-lemma. I haven't yet finished the proof of adjunction in that version.

@JacquesCarette
Copy link
Collaborator

Thanks @Taneb . Careful use of abstract (or even opaque? ) could indeed help. It is annoying how eager Agda seems to be to delta-expand.

@Taneb Taneb mentioned this pull request Jan 10, 2024
3 tasks
@Taneb Taneb closed this Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants