Homotopy Type Theory Discussed - Computerphile

  Рет қаралды 68,412

Computerphile

Computerphile

Күн бұрын

Пікірлер: 92
@KeithRozett
@KeithRozett 6 жыл бұрын
2:35 "Some stupid programmer exploited that this was implemented in a certain way." Story of my life...
@Kram1032
@Kram1032 7 жыл бұрын
I guess it was kinda hard to do with Play-Doh but I wish you'd have done a demonstration of the different paths on a torus. There are actually infinitely many different paths connecting any given point to itself. The two most obvious ones are: - Go along the big circle once. - Go along the small circle (through the hole) once. But actually you can also wind up paths. You won't be able to unwind them. So you can go through the hole twice or trice or n times... Each of those cannot be further simplified. That's what he was talking about. Whereas on a sphere it really doesn't matter at all. No matter what you do, you *will* be able to shrink any given path to just a single point.
@Computerphile
@Computerphile 7 жыл бұрын
+Kram1032 I nearly posted an outtake of how hard it was just attempting the paths on the 'sphere' decided the torus a bit too hard. Have decided to try (again) to learn Blender instead! >Sean
@Kram1032
@Kram1032 7 жыл бұрын
to be honest, that actually sounds kinda hard-ish to do in Blender as well. I mean, it's easy enough in that to get something like this to work at all. But to make it work well? Kinda fiddly to manipulate tiny paths like that. Probably still easier than irl. That being said, while the first path on the torus I described must be harder than a path on the sphere, all other paths ought to actually be easier. The torus itself would hold the path on it, right? Anyway, should have gone for those outtakes :D Maybe in a blooper reel someday?
@judgeomega
@judgeomega 7 жыл бұрын
And there are infinitely many paths which dont connect them.
@haavmonkey
@haavmonkey 7 жыл бұрын
The important part is that there are only 3 homotopy equivalence classes on the torus, because the homotopy equivalence classes are the elements of the fundamental group, i.e. the first homotopy group. So, while there may be infinitely many loops based at any given point, all those loops are path homotopic to 1 of 3 classes of loops, that is to say, essentially the same.
@Kram1032
@Kram1032 7 жыл бұрын
They are? I assume you mean the paths: - don't go around a circle at all (same as on sphere, can be contracted) - go around one loop - go around the other loop But how can loops that you wind up more often be contracted into one of the later two?
@ShaunaJade96
@ShaunaJade96 7 жыл бұрын
The way this guy pronounces "theory" is so satisfying.
@emyru
@emyru 7 жыл бұрын
Thorsten?! I've been in his lectures before! Nice to see Homotopy Type Theory again. :)
@danieljensen2626
@danieljensen2626 7 жыл бұрын
Is Homotopy theory just topology with paths? Everything he talked about sounded like it was just a different approach to topology.
@10hockeyrocks10
@10hockeyrocks10 5 жыл бұрын
Homotopy is an important tool in topology, yes.
@jamma246
@jamma246 5 жыл бұрын
_"Is Homotopy theory just topology with paths?"_ Kind of. A _homotopy_ is a perturbation between continuous maps. More concretely, if you have continuous maps f, g: X -> Y (maps taking X continuously into Y), then a homotopy from f to g is a map F : X x [0,1] -> Y such that F(x,0) = f(x) and F(x,1) = g(x) for all x in X. That is, at "time 0", F(-,0) is just f, and at "time 1", F(-,1) is just g, and you have to continuously morph from one to the other. Note that a "path" in a space is a map p : [0,1] -> X, a map from the unit interval into X. So a homotopy is just a "path" between maps. An important perspective of topology is that you ditch some geometry (like distances), to be left with something more fundamental but still important. Homotopy theory goes further, by ignoring the difference between two maps which are homotopic. Usual topology kind of has too much "room" for boring differences between spaces/maps, but homotopy theory collapses a lot of useless details to get a theory which has a kind of more algebraic flavour. For example, there are tonnes of maps f: S^1 -> S^1 (where S^1 is the unit circle), there's too much space to "wiggle", but up to homotopy you have just one for each integer, the "winding number" of the map (how many times your loop your first circle onto its target). That's an insightful and useful feature of the circle which you wouldn't see as clearly by having to think about all continuous maps. As another basic example, take the unit disc D in the plane. There is a map f : D -> * to the one-point space * which collapses everything to that point. You can also go backwards: g : * -> D by including that point in the disc (say at the centre). Doing g then f is the identity on *. Doing f then g collapses the disc to its central point. That's not the identity, but it's homotopic to the identity (you can start with the identity, and as you vary the time variable t in [0,1], just collapse more and more until you collapse everything to the centre). So in the homotopy category, * and D are isomorphic. And, indeed, neither have interesting topological features, they're both "collapsible to point", a feature known as "contracatble" in topology. So in homotopy theory, all contractable spaces are isomorphic.
@geometerfpv2804
@geometerfpv2804 3 жыл бұрын
"just topology with paths" is a hilarious way to describe a baffling subject that many people have spent their lifetimes trying to unravel, and about which we still know little 😂. The homotopy groups of objects as simple as spheres, for example, are still very mysterious.
@n.e.7647
@n.e.7647 3 жыл бұрын
Homotopy theory is a subfield of topology, in the same sense that, e.g. graph theory is a subfield of combinatorics.
@Gooberpatrol66
@Gooberpatrol66 7 жыл бұрын
Bicycle tube. Because donuts don't exist in Europe.
@wierdalien1
@wierdalien1 7 жыл бұрын
Nathan Dehnel not like that they tend not to
@FriedEgg101
@FriedEgg101 7 жыл бұрын
I go on holiday to france every year, and I genuinely can't remember ever seeing a doughnut. They have their own patisserie.
@Sejiko
@Sejiko 7 жыл бұрын
Just watch Simpsons and youll end up knowing what "doh nuts" are.
@iAmTheSquidThing
@iAmTheSquidThing 7 жыл бұрын
I can't speak for the mainland, but ring doughnuts definitely exist in the UK, and so do bagels.
@retepaskab
@retepaskab 7 жыл бұрын
life belt
@robchr
@robchr 7 жыл бұрын
How does this compare to Category Theory?
@joeybf
@joeybf 7 жыл бұрын
To add to the other reply, we can generalize infinity-groupoids to general objects in a so-called "infinity-topos". Those infinity-topoi are really the objects of study in higher topos theory, one of the main research areas of higher category theory. It is conjectured that homotopy type theory has a canonical interpretation in any such infinity-topos. If that is confirmed, it would mean that one could reason about "every homotopy theory" (homotopy theory itself is essentially higher category theory) at the same time using a convenient language that is moreover easily computer-verifiable.
@AnarchoAmericium
@AnarchoAmericium 7 жыл бұрын
Precisely like this: ncatlab.org/nlab/show/homotopy+level edit: aka Category Theory is a directed homotopy 1-type.
@JosiahWarren
@JosiahWarren 3 жыл бұрын
@@shell_jump +1 most accurate answer
@TheDuckofDoom.
@TheDuckofDoom. 7 жыл бұрын
This is even better than the main video. Also there is some improvement with this latest Thorsten topic, maybe I am becoming accustomed to his accent, his english is improving, or the recording is higher quality.
@bastiankraft3108
@bastiankraft3108 7 жыл бұрын
If I wanted to learn this, what would the prequisites be?
@hanniffydinn6019
@hanniffydinn6019 7 жыл бұрын
Bastian Kraft plenty on vids, but start with functional programming and how maths is done in software. (Mathematica et al )
@joeybf
@joeybf 7 жыл бұрын
Actually, I would say the only prerequisite is a good deal of mathematical maturity. The canonical reference for this is the HoTT book by the Univalent Foundations Program. Type theory is explained in enough detail in the first chapter, and only requires familiarity with basic logic. Then it builds on that, getting deeper into the theory. The second part of the book is all about using homotopy type theory to redo classical mathematics through examples so it can be skipped.
@kyoung21b
@kyoung21b 7 жыл бұрын
MichaelKingsfordGray - I’m admittedly a dinosaur but I don’t recall ever seeing Algebraic Topology or Category Theory even suggested in applied math programs. It seems like you’d have to do a bit of specialized curriculum tuning to prepare for learning about/working in this area.
@geometerfpv2804
@geometerfpv2804 3 жыл бұрын
Mathematicians might tell you things like "technically it only depends on an understanding of this or that..." but the truth is that it depends on a graduate education in math. This stuff gets really, really complicated, and really, really abstract. You'd need a graduate background in algebra (algebra that deals with category theory, some universities avoid teaching it that way), and topology. If you already have a strong undergrad higher math background (having taken algebra and analysis, at least), then I'd say it's at very least a year of full-time study before you're in a place when you could begin to chip away at this theory. I think that's very conservative, it would take most people longer before they could solve problems on their own.
@Verrisin
@Verrisin 21 күн бұрын
considering it is a foundational theory, I guess probably nothing, if taught in full.
@RussellJones1961
@RussellJones1961 7 жыл бұрын
How does the time taken to execute a module fit in with homotopy theory? Or does it only consider the values used by and produced by the modules? How about other characteristics of a module, such as memory requirements, thread count, etc. These could be relied upon by an external program, which would then operate differently if a replacement module was used.
@zarkarimi
@zarkarimi 4 жыл бұрын
I think in this context we are only taking about the correctness of a program, not its space-time complexity.
@geometerfpv2804
@geometerfpv2804 3 жыл бұрын
This is much, much more abstract than a model that involves the time a computation takes. We aren't even really talking about computations at all, just about logic. The "module and implementation" analogy was a very, very, very lose analogy. He's just trying to connect it to the channels' viewers as best he can. This subject is far more in the realm of abstract math than it is in computer science.
@DF-ss5ep
@DF-ss5ep Жыл бұрын
I'm completely ignorant about this, but how I see it is that two things can be equal/different under any criteria you want. When talking about time cost, two modules can be equal or not. But under correctness, they may also be equal or not. Or they may be equal or not regarding the size of file of the module. The point is that everything else besides the specific attributes is irrelevant to whether there is equality.
@NicklasBekkevold
@NicklasBekkevold 7 жыл бұрын
3:13 We say it's isomorphic ;)
@9999rav
@9999rav 7 жыл бұрын
Yeah, he said that.. Is something wrong?
@emuccino
@emuccino 7 жыл бұрын
He was poking fun at his wink
@Zelvof
@Zelvof 7 жыл бұрын
Computers can have donuts can they?
@notubeatall
@notubeatall 7 жыл бұрын
according to homotopic theoory apples cannot, windows can.
@Zelvof
@Zelvof 7 жыл бұрын
lol
@_gd7778
@_gd7778 7 жыл бұрын
Interesting stuff!
@n00ster
@n00ster 7 жыл бұрын
Could we get a video explaining the KRACK WPA2 vulnerability?
@soyoltoi
@soyoltoi 4 жыл бұрын
What does he mean by implementation details in the context of mathematics? Axioms of models maybe?
@geometerfpv2804
@geometerfpv2804 3 жыл бұрын
Mathematicians often "identify" different objects "causally". An example is vectors in R^n: we often think of R^n as being attached at some point in the plane, like when we think of the velocity vector of a curve, or we often think of a vector in R^n representing a point in the plane, drawn from the origin. These are technically two different objects defined in different ways: one is R^n, the other is the tangent space to R^n at a point p (it is often thought of as a kind of space of paths through the point p). We "identify" them, and don't distinguish between them when the math we're doing won't be affected by treating them as the same thing. Once you get into curved spaces, the different tangent spaces aren't the same anymore, and it would be wrong to identify them. If you are looking at some objects you are considering "the same", their actually differences (which supposedly don't matter in your current context) are the implementation details. The "module" is an abstraction: it's "just the properties of these objects you actually need". The important thing is to know whether what you're doing really is independent of the differences in these objects. Mathematicians are sometimes pretty cavalier about assuming this is true. Another example comes from algebra: a "group" is an algebraic system (you can think of it as a collection of symbols) with a "times" operation such that each element has an inverse, there is an identity, and times is associative. The following makes a group: take a rectangle. The elements of the group are transformations of the rectangle: you have the "do nothing" transformation (the identity), then a reflection across the y-axis, and a 90 degree rotation, and every combination of these. There turn out to only be 4 distinct ones. Now, label the corners of the rectangle 1,2,3,4. Think of the rotation as a map between the integers 1 through 4 that moves each corner to carry out the transformation. It would map (1,2,3,4) -> (2,3,4,1). So, you can think of the same group as a collection of maps between sets of 4 integers, or as a set of transformations of the plane (that is, functions R^2 -> R^2). They are "equivalent" as groups, but not as sets; they are different mathematical objects. Each integer transformation has only 4 elements in its domain, whereas each transformation of the plane has infinitely many, for example. Those differences are the "implementation details", but this particular abstract 4 element group is the "module". You want to know whether you can take some other collection of mathematical objects that interact in this same pattern, and swap them in for either of these examples, and still have your theorems be true. If your theorems only involve properties of groups, then it will work. In research level math, the implementation details and types of objects at play get much more complicated, so it can be tough to know whether what you're doing really is independent of the details of the object you chose. That's what he's referring to. Type theory gives a framework to formalize when this works, and when it doesn't, instead of just having to sort of "think about it".
@firstnamegklsodascb4277
@firstnamegklsodascb4277 4 жыл бұрын
RIP voevodsky
@anywallsocket
@anywallsocket 7 жыл бұрын
Objects are typically defined in such a way as to juxtapose their environment. Between the two opposite topologies I just mentioned are the Klein Objects. The connection to Computer science can be understood in reference to a quote by David Wheeler: "All problems in computer science can be solved by another level of indirection." What he refers to is none other than the definition of further distinction between new objects and their environments - that is to say in discovering new Klein Objects.
@ylluminarious151
@ylluminarious151 7 жыл бұрын
Me and my brain while listening to this: Brain: what's that noise? Me: what noise? *whoosh* Brain: there it is again! Me: oh, i think i heard it. where's it coming from? Brain: i think it's directly above us. Me: *looks up* Me: i don't see anything *whoosh* Brain: there it is again! Me: whoa, what is that? Brain: i guess it's called "Homotopy Type Theory"
@bernardofitzpatrick5403
@bernardofitzpatrick5403 5 жыл бұрын
Bicycle different structures but elements which are equal in similar ways - suddenly bell rang!
@gooomaaal
@gooomaaal 7 жыл бұрын
RIP
@KurtGodel432
@KurtGodel432 7 жыл бұрын
What are the commercial applications of research into HTT?
@heyandy889
@heyandy889 7 жыл бұрын
Kurt Gödel Ultimately some problems will be easier to solve. With quantum computing, most problems are way harder. But some are orders of magnitude easier. Same with parallel computation, or functional programming. There will be groups of problems that "set theory" is not equipped to handle, but homotropic type theory handles with ease.
@geometerfpv2804
@geometerfpv2804 3 жыл бұрын
It's not really a commercial thing. It will help mathematicians to formalize their proofs. Eventually it will probably change the way we think about the theory of computer science, in an abstract way. Not everything people study is aimed at commercial applications. We do research because knowledge is a positive thing. Maybe some day 200 years from now, one of these concepts will end up being the key to something important, but we have no idea. It's still worth funding. Nobody knew higher-dimensional non-euclidean geometries would have applications, but we studied them, then it just so happened that relativity ending up needing them in a very central way. Einstein was able to travel and talk to the mathematicians that had been working on it. The theory would've ground to a halt if we hadn't already been studying the geometry for hundreds of years. It takes a really long time to come up with and improve these concepts.
@gzitterspiller
@gzitterspiller 4 жыл бұрын
I like this guy, he studies one of the hardest shits ever created and he kind.of tell you it is useless for a software engineer.
@bibliusz777
@bibliusz777 3 жыл бұрын
why is it useless?
@gzitterspiller
@gzitterspiller 3 жыл бұрын
@@bibliusz777 Because it is not yet so applicable for an everyday use. It may become a great thing in the future.
@GuilhermeJohann1
@GuilhermeJohann1 7 жыл бұрын
It's only me that find very hard do understand Professor Thorsten Altenkirch accent? EN subtitles on his videos pls.
@JmanNo42
@JmanNo42 7 жыл бұрын
Just use shortest encoded path.
@Y2Kvids
@Y2Kvids 7 жыл бұрын
Explain this theory interms of , If Photoshop and Paint are same?
@rylaczero3740
@rylaczero3740 3 жыл бұрын
Thumbnail is wrong.
@Jacob011
@Jacob011 7 жыл бұрын
Intriguing! Though the guy really doesn't make it easy to understand.
@geometerfpv2804
@geometerfpv2804 3 жыл бұрын
It's not easy to understand. He's already really, really stretching the reality of it to try to connect it to something down to earth.
@Histoic
@Histoic 7 жыл бұрын
k
@foo_tube
@foo_tube 6 жыл бұрын
that was great, moar
@michaelcharlesthearchangel
@michaelcharlesthearchangel 7 жыл бұрын
The standard American Language inclusive of hyperPunctuation markers, upon standardization and legend-ing, should further the language-- the non-linear "linguistics", if you will, of t_pe theory and how We record (or recall rather), memorize assemblies of that manner of language\listing. :: Intertranslation markers help One grapple with a non-linear language with principles, propositions\types, that may be applied in axioms to mathematics and geometry/chronometry.
@kamilziemian995
@kamilziemian995 3 жыл бұрын
When I think about reusability of code, Julia language comes to my mind.
@Tributent
@Tributent 7 жыл бұрын
genau so reden unsere Professoren auch wenn sie auf englisch ihre Vorlesung halten hahahaha
@Krashoan
@Krashoan 7 жыл бұрын
Last
@hirakmondal6174
@hirakmondal6174 7 жыл бұрын
how that guy can even talk without making a gap between his teeth?
@Vanguard6945
@Vanguard6945 7 жыл бұрын
these have gone so theoretical, i think basic concepts that day to day devs can relate to are so much more accessible and interesting
@Vehhem
@Vehhem 7 жыл бұрын
In a century this will be basic programmation
@danieljensen2626
@danieljensen2626 7 жыл бұрын
I think a mix is good. It's not like this has ever been a channel that aims to teach you practical skills, it's definitely more about interesting ideas.
@torb-no
@torb-no 6 жыл бұрын
KZbin is filled the the pragmatic everyday programming stuff. One of the great things about Computerphile is that they also talk about theoretical computer science!
@ianzen
@ianzen 6 жыл бұрын
But day to day things aren't interesting.
@geometerfpv2804
@geometerfpv2804 3 жыл бұрын
There's not much interesting in day-to-day development. You have the tools, you write the implementation. What is there to talk about? (Obviously not everyone feels this way, but I do.)
@janhoo9908
@janhoo9908 7 жыл бұрын
first
@LKRaider
@LKRaider 7 жыл бұрын
Is the first equivalent to the last, as in there is a path from first to last.
@MatthewWeiler1984
@MatthewWeiler1984 7 жыл бұрын
+Jan Hoo So? Why does it matter to you to be 1st?
@janhoo9908
@janhoo9908 7 жыл бұрын
its just a little fun thing we do on the internet
@1st_ProCactus
@1st_ProCactus 7 жыл бұрын
I don't know how much more I can take of this guy, I like this channel. But if you keep spamming this mumble machine, I will free myself of the pain. edit: I cant even turn caption on, This guy should not be leaving home without it. editx2: I got 1/3 through, I just cant hear words, I hear moaning.
The Hardest Problem in Type Theory - Computerphile
23:40
Computerphile
Рет қаралды 131 М.
Propositions as Types - Computerphile
17:46
Computerphile
Рет қаралды 99 М.
Wall Rebound Challenge 🙈😱
00:34
Celine Dept
Рет қаралды 23 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 516 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 51 МЛН
Applied Category Theory • Ken Scambler • YOW! 2019
24:51
GOTO Conferences
Рет қаралды 4,9 М.
Computer Science ∩ Mathematics (Type Theory) - Computerphile
15:56
Computerphile
Рет қаралды 265 М.
Von Neumann Architecture - Computerphile
16:20
Computerphile
Рет қаралды 650 М.
Has Generative AI Already Peaked? - Computerphile
12:48
Computerphile
Рет қаралды 1 МЛН
Category Theory is Impossible Without These 6 Things
12:15
Computer Science and Homotopy Theory - Vladimir Voevodsky
28:58
Institute for Advanced Study
Рет қаралды 21 М.
Type Theory for the Working Rustacean - Dan Pittman
19:24
Rust Belt Rust Conference
Рет қаралды 18 М.
Essentials: Pointer Power! - Computerphile
20:00
Computerphile
Рет қаралды 466 М.
3 01  A Functional Programmer's Guide to Homotopy Type Theory
1:00:35
Wall Rebound Challenge 🙈😱
00:34
Celine Dept
Рет қаралды 23 МЛН