Git Product home page Git Product logo

Comments (6)

JacquesCarette avatar JacquesCarette commented on June 6, 2024

I noticed that some time back, but have not had a chance to dig in. Thanks for the bump, it helps hike the priority. The fix isn't entirely straightforward, and I'd like to report it as a regression too.

from categories.

p-pavel avatar p-pavel commented on June 6, 2024

I'm currently trying to bring the library up to date with current stdlib and Agda.

Talking about natural transformations -- the problem is with the signature of assoc₀ -- type checker can't infer an implicit parameter for ∘₀.

I don't understand how it used to compile before -- inferring the parameter requires functor composition ({F = H ∘F F} {I ∘F G} ):

.assoc₀ : ∀ {o₀ ℓ₀ e₀ o₁ ℓ₁ e₁ o₂ ℓ₂ e₂ o₃ ℓ₃ e₃} 
            {C₀ : Category o₀ ℓ₀ e₀} {C₁ : Category o₁ ℓ₁ e₁} {C₂ : Category o₂ ℓ₂ e₂} {C₃ : Category o₃ ℓ₃ e₃} 
            {F G : Functor C₀ C₁} {H I : Functor C₁ C₂} {J K : Functor C₂ C₃}
        → {X : NaturalTransformation F G} → {Y : NaturalTransformation H I} → {Z : NaturalTransformation J K}
        → (Z ∘₀ Y) ∘₀ X ≡ (_∘₀_   {F = H ∘F F} {I ∘F G} Z  (_∘₀_ {C = C₀} {C₁} {C₂} Y  X))

from categories.

JacquesCarette avatar JacquesCarette commented on June 6, 2024

And it's even worse in 1.0, it crashes because of irrelevance.

from categories.

HuStmpHrrr avatar HuStmpHrrr commented on June 6, 2024

I am wondering by how much is it broken? is it worth fixing or better start another category theory library from scratch, potentially taking advantages of 2.6?

from categories.

JacquesCarette avatar JacquesCarette commented on June 6, 2024

(posting this here too, as a PR is not the best place for a discussion)
Super broken - I encounter hard errors from Agda, a la

An internal error has occurred. Please report this as a bug.
Location of the error: src/full/Agda/TypeChecking/Substitute.hs:289

on quite a few files. I think "from scratch" is now the way to go.

from categories.

JacquesCarette avatar JacquesCarette commented on June 6, 2024

This library can now be declared obsolete, so closing this as irrelevant.

from categories.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.