jcreed: (Default)
William and Sophia were in town, so hung out with them for a bit; met up at the Books Kinokuniya next to Bryant park, which I'd never been to before. Caught up on Saga --- well, at least up to where the trade paperbacks have gotten up to, by buying vols. 6 and 7. Had lunch in a nice little anonymous parklet between 45th and 46th streets.
jcreed: (Default)
Overslept, read some category theory papers, didn't do a whole lot else productive.
jcreed: (Default)
Futzed around with learning the blender python API for most of the day.

I notice a tension between having an api that seems to fit the user interface in a nice way --- like, to be good at cleanly automating UI actions that you would be doing anyway as a person --- versus having an api that makes sense for programming, where you get good, uniform, and ideally functional access to the data structures that you care about.

Blender's seems very heavily biased towards the former. I found myself having to do weird imperative sequences of things as if I was doing a sequence of UI operations; select this, select that, make this active, perform this argumentless operation on whatever happens to be selected, etc. Not really a fan.

but eventually succeeded at making a nice minimal animation that has existed in my head for years and years as a kind of... spatio-cognitive tic. Not sure how else to describe it.
jcreed: (Default)
Took the train back home. It was a bit annoyingly delayed due to a freight train ahead of us, which meant that I got back in the middle of rush hour instead of an hour before, so the MTA trains in turn were pretty fucked, so I had a long, hot walk back home from the train station about 4 stops away that I decided to give up from.
jcreed: (Default)
On a train to pittsburgh.

My self-imposed agda-exercise for the train trip was to prove that assuming polymorphic functions
f : {C : Set} → (A → C) → (B → C) have the free theorem you expect them to from parametricity (namely (g : A → C1) (k : C1 → C2) → k ∘ (f g) == f (k ∘ g)) then

((C : Set) → (A → C) ≃ (B → C)) ≃ (B ≃ A)


Interestingly, it was very easy to show

((C : Set) → (A → C) → (B → C)) ≃ (B → A)


and only mildly more challenging to show

((C : Set) → (A → C) ≃ (B → C)) → (B ≃ A)


but the equivalence-of-equivalences was pretty tricky. I succeeded with a few hours to spare, though! I did it by separating out the functions from the is-equiv property they satisfied, and taking advantage of the mere-proposition-ness of is-equiv.

Huh, and I didn't even need univalence, it looks like. Except for using function extensionality all over the place --- but as we all learned in HoTT kindergarten, that follows from the existence of an interval type also.
jcreed: (Default)
17776 ended today. Sad, but nice to have a contained little story instead of a sprawling Joycean glorious mess like Homestuck.
jcreed: (Default)
Having severe problems getting about 30G of files onto this hard drive without rsync slowing to a crawl at some point during the transfer and basically locking up my machine. Hard to tell whether is hardware or OS problem; trying to format it ext3 or ext4 *now* seems to take forever, although I swear I succeeded at an ext4 format once.
jcreed: (Default)
Popped over to B&G to get a new mouse (my favored years-and-years-old one is finally having debouncing failures and registering double-clicks when I single click about 20% of the time) and an external hard drive for making backups.
jcreed: (Default)
Somehow just proving that this big nasty mutually recursive datatype is a set (as opposed to a space with higher path structure) is trickier than I thought.
jcreed: (Default)
Saw a talk over at Cooper by Just van Rossum, Guido's little brother, who makes fonts and animations and things. Fun stuff.

Really falling in love with 17776, a story about space probes and football and lunchables and what it means to be human.
jcreed: (Default)
Made some progress proving the conjecture from yesterday.
jcreed: (Default)
Let's say you have a weak omega-category W.

Suppose X, Y are n-cells in it with the same boundary. Say X and Y are equivalent in the expected sense that there are f and g going back and forth such that fg and gf are (coinductively, in the same sense) equivalent to identities.

I think maybe the following univalence-like property is true:
Let equivalent X, Y be given. Then for all "good" sentences P(x) with one free variable x of the same type as X, Y, we have that P(X) holds iff P(Y) holds. Where "good" means you're allowed to mention some constants drawn from W, and all logical connectives including first-order quantifiers over cells in W of a given domain and codomain, but not including any notion of on-the-nose equality.
jcreed: (Default)
Struggling a bit with understanding how I can massage Finster-Mimram ω-categories into the data required by my attempt at a definition of weak ω-category without requiring too many things be equal on the nose. Might be a sign I got the definition wrong.
jcreed: (Default)
Balanced my checkbook. More futzing with blender. Watched part of this video about the 4-color theorem that noam sent me ages ago, neat stuff.
jcreed: (Default)
Took a break from beating my head against agda and took another iteration on the ancient recurring-every-couple-years project of "hey maybe I should learn Blender". It's still no sketchup, but the interface is making a little more sense than last time I tried.
jcreed: (Default)
Huh, no matter how much I think I basically understand HoTT, there's always more interesting subtleties in how it interacts with my expectations of how doing math usually works. Here's an example where a naive understanding of what it means to have unique typing derivations fails.

Suppose it were true that for any notion of term and type, where every term is well-typed and synthesizes its type (via GetTy) that every two derivations of the trivial typing relation are the same.

{-# OPTIONS --without-K --rewriting #-}

module Example where

open import HoTT

module UniqueOf (Tm : Set) (Ty : Set) (GetTy : Tm  Ty) where
  data Of (M : Tm) : Ty  Set where
    OfTm : Of M (GetTy M)

  postulate
    OfSame : (M : Tm) (A : Ty) (of1 of2 : Of M A)  of1 == of2

This seems innocuous, right? There's only one way to prove Of for a given term (namely OfTm) so any two such proofs ought to be the same.

Nope! From this we can prove uniqueness of identity types across all types, not a contradiction, but definitely anathema to the idea that types are potentially spaces with rich path structure:
EqSame : (A : Set) (a b : A) (p q : a == b)  p == q
EqSame A a b p q = ! (cvtinv p)  ap cvti cvtEq  cvtinv q where
  open UniqueOf A A  x  x)

  cvt : {a b : A}  (a == b)  Of a b
  cvt idp = OfTm
  cvti : {a b : A}  Of a b  (a == b)
  cvti OfTm = idp
  cvtinv : {a b : A} (x : a == b)  cvti (cvt x) == x
  cvtinv idp = idp

  cvtEq : cvt p == cvt q
  cvtEq = OfSame a b (cvt p) (cvt q)


(this is really just the one-endpoint vs. two-endpoint path type distinction in disguise; what I find interesting about it is that it's so shallowly disguised, but still caught me off-guard)
jcreed: (Default)
K and some friends went off to the beach so I stayed at home and bashed at some agda, trying for an alternate formalization of Finster-Mimram definition of ω-categories. There is some really tricky recursion that goes on up the stack of cell-dimensions.
jcreed: (Default)
Trying to bash out a sketch of a proof that the Finster-Mimram definition of ω-categories has something to do with my recent guess of a definition. Finding out I haven't really internalized the definition of categories-with-families enough.
jcreed: (Default)
Had some further thoughts about tricking 1-categories into saying things about n-categories. Got as far as a definition, ran out of steam trying to turn the crank on what consequences it has.
jcreed: (Default)
Tried to go to studio square with K and her parents, but it turned out to be closed. Tried bohemian beer garden instead, got a big ol' meat variety platter, weather was nice, had a good time.

Profile

jcreed: (Default)
jcreed

August 2017

S M T W T F S
  12 3 4 5
6 78 9 101112
13 141516171819
20 21 2223 2425 26
27 28 2930 31  

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 27th, 2025 03:03 am
Powered by Dreamwidth Studios