--
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 HomotopyTypeThe...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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+unsub...@googlegroups.com.
--
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 HomotopyTypeThe...@googlegroups.com.
> email to HomotopyTypeTheory+unsub...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> 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+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to HomotopyTypeTheory+unsub...@googlegroups.com<mailto:HomotopyTypeTheory+unsub...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.
--
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+unsub...@googlegroups.com.
Oh, I see now.In appendix 1, you construct a connection for 1-cells.Is it true that Kan cubical sets can always be equipped with a connection structure?
After a little more thought, it seems to me that homotopy canonicity (via gluing) and the constructive cubical model already combine to yield a full canonicity proof for the 1-truncated theory.
Suppose t:N is a term using univalence. Homotopy canonicity says there exists an external natural number n and a term p:Id_N(t,suc^n(0)), also using univalence, but doesn't supply an algorithm to compute n. The cubical model gives an algorithm to compute an external natural number m such that [t] = [suc^m(0)] in the cubical model, but doesn't preclude the possibility that [t] is different in some other model. But putting them together, we have [p] : Id_N([t],[suc^n(0)]) in the cubical model, hence [suc^n(0)] = [suc^m(0)] in that model, whence n=m. Thus, we have an algorithm to compute an external natural number n ( = m) such that there exists a term p:Id_N(t,suc^n(0)) -- and so in particular, the value of t computed by the cubical model is the same as that computed by any other model.
Am I missing something?
Mike
After a little more thought, it seems to me that homotopy canonicity (via gluing) and the constructive cubical model already combine to yield a full canonicity proof for the 1-truncated theory.
Suppose t:N is a term using univalence.
Homotopy canonicity says there exists an external natural number n and a term p:Id_N(t,suc^n(0)), also using univalence, but doesn't supply an algorithm to compute n.
The cubical model gives an algorithm to compute an external natural number m such that [t] = [suc^m(0)] in the cubical model, but doesn't preclude the possibility that [t] is different in some other model. But putting them together, we have [p] : Id_N([t],[suc^n(0)]) in the cubical model,
hence [suc^n(0)] = [suc^m(0)] in that model, whence n=m. Thus, we have an algorithm to compute an external natural number n ( = m) such that there exists a term p:Id_N(t,suc^n(0)) -- and so in particular, the value of t computed by the cubical model is the same as that computed by any other model.
Am I missing something?
Yes, gluing with the cubical model instead was my first thought. But Thierry has pointed out that the ordinary groupoid model can also be done constructively, to give an algorithm for the 1-truncated theory.
However, I'm not sure that the gluing proof of homotopy canonicity *is* constructive. If I recall correctly, I had to use LEM in the metatheory to test whether a witness to reducibility of suc(n) was the successor of a witness to reducibility of n or not. It seems that this would not be an issue with bool, though, which confuses me.
I'm not really happy with using "homotopy canonicity" to refer to the non-algorithmic version, as it's not clear what that has to do with homotopy. I first started using "homotopy canonicity" to mean that the given term was only propositionally equal to a numeral rather than judgmentally, but now the usage seems to have drifted. What about saying "judgmental/propositional" and "algorithmic/nonalgorithmic" for the four possibilities?
Mike
Yes, gluing with the cubical model instead was my first thought. But Thierry has pointed out that the ordinary groupoid model can also be done constructively, to give an algorithm for the 1-truncated theory.
However, I'm not sure that the gluing proof of homotopy canonicity *is* constructive. If I recall correctly, I had to use LEM in the metatheory to test whether a witness to reducibility of suc(n) was the successor of a witness to reducibility of n or not. It seems that this would not be an issue with bool, though, which confuses me.
I'm not really happy with using "homotopy canonicity" to refer to the non-algorithmic version, as it's not clear what that has to do with homotopy. I first started using "homotopy canonicity" to mean that the given term was only propositionally equal to a numeral rather than judgmentally, but now the usage seems to have drifted. What about saying "judgmental/propositional" and "algorithmic/nonalgorithmic" for the four possibilities?
On Jan 6, 2014 8:21 AM, "Vladimir Voevodsky" <vlad...@ias.edu> wrote:
> If one can prove canonicity in a theory with yet another axiom then canonicity in the theory without this axiom would follow.
This isn't clear to me. A way to compute a canonical form in a theory with an added axiom can of course be applied to a term not containing that axiom, but the corresponding proof that Id(t,can(t)) might still contain the added axiom.
The nonconstructive proof of propositional canonicity applies to the theory with 1-truncation axiom and two univalent universes U0:U1, with bool and nat in U1. This is what one has in the groupoid model, so presumably the algorithm arising from constructivizing that model also applies there.
Mike
On Jan 6, 2014 8:21 AM, "Vladimir Voevodsky" <vlad...@ias.edu> wrote:
> If one can prove canonicity in a theory with yet another axiom then canonicity in the theory without this axiom would follow.This isn't clear to me. A way to compute a canonical form in a theory with an added axiom can of course be applied to a term not containing that axiom, but the corresponding proof that Id(t,can(t)) might still contain the added axiom.
The nonconstructive proof of propositional canonicity applies to the theory with 1-truncation axiom and two univalent universes U0:U1, with bool and nat in U1. This is what one has in the groupoid model, so presumably the algorithm arising from constructivizing that model also applies there.
Can we please get the terminology straight?
On Mon, Jan 6, 2014 at 4:20 PM, Vladimir Voevodsky <vlad...@ias.edu> wrote:Can we please get the terminology straight?Yes, I was being a bit unclear about which theories I meant.When I wrote “the 1-truncated theory”, I had in mind: the theory with two univalent universes U_0 -> U_1, and with the axiom scheme that all types are 1-truncated. The important point was that (iirc) this is the theory that Mike’s gluing proof with the groupoid model applies to.
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
On Mon, Jan 6, 2014 at 4:20 PM, Vladimir Voevodsky <vlad...@ias.edu> wrote:Can we please get the terminology straight?Yes, I was being a bit unclear about which theories I meant.When I wrote “the 1-truncated theory”, I had in mind: the theory with two univalent universes U_0 -> U_1, and with the axiom scheme that all types are 1-truncated.
And while we are at it: Is the Kan simplicial model of HoTT
computationally adequate wrt to the MLTT fragment of HoTT (where we
have Id and a countable tower of universes in our version of MLTT).
Can you exhibit a closed term of type N in MLTT (with identitiy types
and a sequence of universes) that normalizes to 17, but whose
denotation in Kan simplicial sets is 13?
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+unsub...@googlegroups.com.
--
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 HomotopyTypeThe...@googlegroups.com.
Thierry, could you be more specific? Is it in the cubical model that the second rule only holds propositionally or is just in the syntax that it's somehow problematic to assume it?
Because I completely disagree with Mike, both computation rules should definitely be definitional (but I can understand that hacking it into the syntax of MLTT could be problematic).
Guillaume
Please notice that I did not say that I think this *is* the right choice. (-:
Hi Thierry and everyone,
This is surprising to me, because there must be some extra definitional
equality that is valid.
Thierry, could you be more specific? Is it in the cubical model that the second rule only holds propositionally or is just in the syntax that it's somehow problematic to assume it?
Because I completely disagree with Mike, both computation rules should definitely be definitional
both computation rules should definitely be definitional (but I can understand that hacking it into the syntax of MLTT could be problematic).
(Apologies for re-awakening sleeping dogs — but I hope this will help those who, like me, were left rather confused and uncertain by this thread.)I just had a discussion with Per Martin-Löf that left me with (I think!) a much better understanding of what’s going on in the cubical model — and in particular, a satisfactory answer to Martin’s question above, “is it possible to have a term t:Nat which normalises to the numeral [17] but which is interpreted in the cubical model as 13?”As previously explained by Thierry, the issue is that the Id-comp rule is modeled only as a path, not as strict equality. I had (mis)understood this as meaning that the paper shows:“The cubical model is a weak model of (ordinary Martin-Löf) type theory.”and so I was confused, because I wasn’t sure precisely what a weak model meant, or what consequences one could draw from it. Instead, though, what the paper quite un-problematically shows is that:
“The cubical model is a (genuine, strict) model of a slightly weaker type theory.”where the type theory being modeled (call it WTT for now) is obtained from the usual type theory (call it TT) by removing the Id-comp rule, and replacing it with just a propositional equality.So we certainly know: if *in WTT*, we have a term t:Nat which normalises (or, more generally, is propositionally equal) to [17], then the interpretation of t in the cubical model will be 17.On the other hand, if we just know that in ordinary TT our term t normalises to [17], then we don’t know what will happen to t in the model unless we can somehow lift the normalisation to a proof of equality in WTT. However (as the cubical paper mentions) Nils Anders Danielsson has done a fair bit of exploration in Agda, coding up the fundamentals of HoTT without assuming (iirc) the reduction rules for *any* inductive types, showing that in practice, proofs in TT can be lifted to proofs in WTT. This gives heuristic evidence for something likeConjecture: TT is conservative over WTT.If this holds, then we’d have a positive answer to Martins question — given a term t:Nat in WTT that normalises in TT to [17], conservativity says that we can lift the TT term |- refl(t) : Id(t,[17]) to a proof in WTT |- p : Id(t,[17]), and so conclude that in the cubical model, t is interpreted as 17. This would also then give a precise sense in which the cubical model is a weak model of the full type theory TT.I’ve been vague in all this about exactly what TT/WTT should be. For the conservativity to be plausible, they certainly need functional extensionality, since without it a lambda-abstracted version of the Id-comp rule gives an easy counterexample. Given that, it seems like they could reasonably also include anything that’s modeled (possible weakly) by the cubical model; and, Nils’ explorations suggest, WTT could weaken all iota-reductions to propositional equalities.Apologies to NAD and the cubical experts if I’m still misunderstanding or misrepresenting anything of their work — hopefully I’m not and this all makes sense…–p.
On Thu, Jan 16, 2014 at 6:36 PM, Thierry Coquand <Thierry...@cse.gu.se> wrote:
Exactly. Besides having new conversion rules for mapOnPaths, we also have
On Jan 11, 2014, at 4:29 PM, Vladimir Voevodsky wrote:
> Hmmm... so in this branch the type checker is allowed to use your new ``cubical reductions" but is not allowed to use iota-reduction for Id-types?
>
>
> V.
(now in the master branch of the github repository)
-introduced a new type of "dependent equality" or dependent path
IdP A B P a b
for P : Id U A B and a:A, b:B. Using this new type construction, one can define
the notion of "dependent path"
IdD A F a0 a1 p b0 b1 for A:U, F:A-> U, a0 a1:A, p : Id A a0 a1, b0 : F a0, b1:F a1
IdD A F a0 a1 p b0 b1 = IdP (F a0) (F a1) (mapOnPaths F a0 a1 p) b0 b1
mentioned in Remarks 6.2.1, 6.2.3 in the book. This satisfies the definitional equality
IdP A A (refl U A) a0 a1 = Id A a0 a1
-an extension of mapOnPaths for dependent types
mapOnPaths A F f a0 a1 p : IdD A F a0 a1 p (f a0) (f a1) if f : (x:A) -> F x
and a simpler way to express equality on a sigma type, with good behavior w.r.t. mapOnPaths
-introduced the circle S1 so that, using the notation of Lemma 6.2.5 in the book, both
equations
f base = a
mapOnPaths f loop = p
are definitional. It is then possible to define the helix and -compute- the winding number of
an element of Id S1 base base
Anders, Cyril, Simon, Thierry
--
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 HomotopyTypeThe...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
In the cubical set model as we have now, we can only validate the second rule propositionally.It would indeed be nice to have a model where it holds in a definitional way.Thierry
On Jan 21, 2014, at 9:21 PM, Guillaume Brunerie wrote:
Thierry, could you be more specific? Is it in the cubical model that the second rule only holds propositionally or is just in the syntax that it's somehow problematic to assume it?
Because I completely disagree with Mike, both computation rules should definitely be definitional (but I can understand that hacking it into the syntax of MLTT could be problematic).Guillaume
one cannot expect the evaluation rule
for J to be a computation rule. However, it may still hold as a definitional equality.
one cannot expect the evaluation rule
for J to be a computation rule. However, it may still hold as a definitional equality.
Interesting. It might make sense to distinguish the two, but I am not sure why would you not want to consider this definitional equality for J to be a computation rule?
Unfortunately, this does not hold the way the Kan filling are defined for the universe, essentiallybecause they are defined by composing relations, and the composition of a relation Rwith the identity relation is not the same as R.
I always thought fixmatch was the way to go. I'm not up to date on what Bruno has been doing, though.
I'd be interested to see if standard termination proofs can be adapted to HITs. I don't know whether anyone has worked on this specifically -- attention seems to be more focused on univalence with HITs perhaps included, which is reasonable since for all the homotopy applications of HITs you need univalence too.