Giter VIP home page Giter VIP logo

Comments (6)

JacquesCarette avatar JacquesCarette commented on August 16, 2024

So I think I know what the source of difficulty is: the definition of 'exponential object' used assumes that some products (as necessary) exist; but we already know all products exist. The problem is that the definition doesn't use the product just given. But of course the it is CCC is with respect to that one product. [This definition is inherited from the original port]. I think that if the definition was adjusted so that the exponential object was coherent, by construction, with the given product, lots of things would be considerably simpler. And it would match the definitions in the literature too.

from agda-categories.

HuStmpHrrr avatar HuStmpHrrr commented on August 16, 2024

actually the current behavior is correct.

consider a trivial example. usually we say a product of A and B is A × B. However, it doesn't have to be the canonical representation of the product. for example, B × A is also an legitimate representation. in fact, there isn't a preference between both; they are just equally good, and there are other equally good representations. the uniqueness part of products concludes all such best representations are isomorphic and that's good enough. that the exponential part does not make assumption of concrete representation of a product is consistent with this extensional view.

from agda-categories.

JacquesCarette avatar JacquesCarette commented on August 16, 2024

The current behaviour is definitely not wrong. I agree with your reasoning.

I wonder if anyone has ever proved it in full generality though? I really have no idea of how to proceed in those 2 holes. I suspect that existing proofs are either just sketches or 'for convenience' pick one product, since they are all "the same" anyways.

from agda-categories.

HuStmpHrrr avatar HuStmpHrrr commented on August 16, 2024

I did it in 1c7e2f4

it is not too difficult. the problem is that there are slow computation parts. the idea is to make use of the UMP of the products in the construction. assuming a canonical construction is morally correct, because if we only inspect objects and morphisms extensionally consistently, there shouldn't be a problem. this is seen in many other constructions where properties like associativity etc are ignored.

from agda-categories.

JacquesCarette avatar JacquesCarette commented on August 16, 2024

Thanks. A couple of hours after I posted my comment, your remarks finally sunk in properly, and it finally occurred to me to use the UMP of products. Still, there was quite a bit of work to do to make it all come together! Very nice.

from agda-categories.

sstucki avatar sstucki commented on August 16, 2024

I developed @HuStmpHrrr's insight a bit further in #90.

from agda-categories.

Related Issues (20)

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.