It seems to me that you are trying to show that if the map is left-cancellable then excluded middle holds. However, as I said, the map is left-cancellable. Moreover, it is a section with retraction X ↦ Ξ»p.X: Ξ  : (P β†’ 𝓀) β†’ 𝓀 A ↦ Ξ (p:P), A(p) (section) Ξ»(p:P).X ↀ X (retraction) because if p:P is given then A is constant with value (equivalent to) Ξ A. For sets, sections (and more generally left-cancellable maps) are necessarily embeddings. However, for general types this need not be the case. See the paper https://arxiv.org/abs/1507.03634 by Mike Shulman, and in particular Theorem 3.10, which gives a criterion for a section being an embedding. (I think the problem with your proof attempt is that you forgot to give the other direction of the "isomorphism", which would require double negation elimination.) Best, Martin On Tuesday, 13 November 2018 23:47:40 UTC, Jean Joseph wrote: > > I think to show this is an embedding may imply the law of double negation. > For any proposition Q, let P = {0 : Z | Q}. Let A be defined as for all p : > P, A(p) = 0 : P, and let B be defined as for all p : P, B(p) = not not (0 : > P). To show that Pi (p : P), A(p) = Pi (p : P), B(p), you can define the > following isomorphism (?): for any f : Pi (p : P), A(p), define g : Pi (p : > P), B(p) by picking p : P, then f(p) : A(p), so Q is true. Hence, not not Q > is true, meaning it has an element, so g(p) is that element. We then can > conclude A = B. By function extensionality, that's equivalent to for all p > : P, A (p) = B (p), which gives Q = not not Q. > > Jean > > On Tuesday, November 13, 2018 at 3:32:22 PM UTC-5, MartΓ­n HΓΆtzel EscardΓ³ > wrote: >> >> Let P be a subsingleton and 𝓀 be a universe, and consider the >> product map >> >> Ξ  : (P β†’ 𝓀) β†’ 𝓀 >> A ↦ Ξ  (p:P), A(p). >> >> Is this an embedding? (In the sense of having subsingleton >> fibers.) >> >> It is easy to see that this is the case if P=𝟘 or P=πŸ™ (empty or >> singleton type). >> >> But the reasons are fundamentally different: >> >> (0) If P=𝟘, the domain of Ξ  is equivalent to πŸ™, and Ξ  amounts to >> the map πŸ™ β†’ 𝓀 with constant value πŸ™. >> >> In general, a function πŸ™ β†’ X into a type X is *not* an >> embedding. Such a function is an embedding iff it maps the >> point of πŸ™ to a point x:X such that the type x=x is a >> singleton. >> >> And indeed for X:=𝓀 we have that the type πŸ™=πŸ™ is a singleton. >> >> (1) If P=πŸ™, the domain of Ξ  is equivalent to 𝓀, and Ξ  amounts to >> the identity map 𝓀 β†’ 𝓀, which, being an equivalence, is an >> embedding. >> >> Question. Is there a uniform proof that Ξ  as above for P a >> subsingleton is an embedding, without considering the case >> distinction (P=𝟘)+(P=πŸ™)? >> >> Martin >> >> -- You received this message because you are subscribed to the Google Groups "Homotopy Type Theory" group. To unsubscribe from this group and stop receiving emails from it, send an email to HomotopyTypeTheory+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.