--- layout: post title: Logs for the Monero Research Lab Meeting Held on 2018-03-26 summary: MRL work, and miscellaneous tags: [dev diaries, crypto, research] author: el00ruobuob / surae --- # Logs **\** Sarang is apparently en route from an airport and is not expected to make it for the meeting. So today i'll just babble a bit **\** and answer questions **\** Remind me, was he presenting at that Blockchain conference? **\** yes, that's why he's en route from the airport **\** he took it upon himself to disabuse some folks of some certain notions about hashgraph **\** which I think is neat **\** specifically, he's been reading a lot about graph-based currencies, and someone gave a rather misleading presentation, but Sarang's presentation (I believe) preceded it and it was an educational moment **\** but I shouldn't speak for him, I wasn't there. the conference organizers flew him out to give a presentation on behalf of MRL and I have confidence he did a great job representing us **\** Will it be posted online? **\** he can answer that later today. I don't know. **\** ok, thanks **\** So, before we proceed, does anyone have any other general questions for MRL? **\** Sorry I'm here but mostly distracted by class. Looking forward to hopefully viewing the presentation online **\** ok, neato burrito. So, basically this week I've 1) been putting some copy-editing changes into the multisig paper like spelling and references 2) working on models of the spend-time distributions vs. ring mixin selection distributions, and 3) while driving between albuquerque and denver, I think I came up with a novel ECC signature scheme from one-way functions (staring into the desert sun), but I'm not **\** putting a lot of effort into that until I have more of a handle on spend-time distributions **\** I've also 4) been building the MRL Research Roadmap for 2018. I need to discuss with sarang, but I think we'll be putting that out mid-May, because we want to have a complete look at what's going on **\** uhm, also I've spent an enormous amount of time this week on a certain project for MRL related to churning and the EAE scenario. details to come later on **\** sounds cool **\** if hyc thinks it's cool, then it's cool **\** hyc and I have been chatting about an asic-unfriendly POW expansion, also **\** I'm highly looking forward to seeing your work with EAE **\** yes and I'm now digging back into the bulletproofs paper to try to get more solid understanding **\** namely, if instead of a POW game like: find nonce x such that H(block || x) \* difficulty < target.... we can run a POW game like: find a nonce x such that, for a random bit of javascript J(x) that is loop-free, H(block || J(x))\*difficulty < target **\** this was the idea hyc originally brought to my attention, but verification requires executing the code, so I was thinking instead it could be a random arithmetic circuit instead. then you can present bulletproofs that you know the nonce x such that H(block || AC(x))\*difficulty < target efficiently **\** oh yeah, I remember you guys discussing something like that. Just to clarify for me cuz it was a bit confusing at the time. The idea is that CPUs and GPUs compile code better than ASICs would, correct? **\** compile and execute **\** the idea is that if the code is random, then an asic will presumably not even be able to compile the code, let alone execute it, but a cpu is built to deal with arbitrary code **\** maybe this is a bad analogy, but I think of an ASIC as a big manufacturing factory, fully automated. it makes lemon cakes. the random code you just spit out asked for a rotisserie chicken **\** making it so that an ASIC would have to be built with a CPU, which defeats the purpose because might as well have a computer at that point, right? **\** that's the general idea yes **\** great, I understand now. Thank you for explaining. :) **\** yeah, it shifts the bottleneck away from the highly asic'able hash to finding the nonce for the hash, kinda **\** which is quite clever **\** hack the planet! **\** if this idea pans out, we can even do some looking into seeing if the random stuff can do something useful as well? **\** useful? **\** never mind, this is something I know too little about. Sorry. Plz continue. **\** the code must be highly random and unpredictable **\** if it does something useful, that can be ASIC'd **\** rehrar: use the heat to warm your chickens **\** there ya go **\** can the chickens consume the arbitrary code? **\** The random code can provide space heating and in many parts of the world that is useful **\** does anyone have any other questions? i can sketch out my new signature scheme if folks are curious, but it'd be more of an algebra discussion. :D **\** Sure **\** Cool. So, definition: a cartesian square of groups is a set of four groups and four group homomorphisms arranged in a square satisfying \*one weird property\* **\** https://www.irccloud.com/pastebin/XXZjHHp0/ **\** So the square looks like this **\** and the property is this: if group elements from B and C end up \*at the same element\* in D, then they must have \*come from\* the same element in A **\** scientists hate it! **\** denoting the top map f, the left map g, the rihgt map h, the bottom map j, this means: if there exist some b in B and c in C such that j(c) = h(b), then there exists some a in A such that b = f(a) and c = g(a) **\** so I'm going to set A to be my private key group Zq, and D to be my public key group G **\** and i'll just assume the middle groups B and C are also equal to my public key group **\** then a message M can give me a signature this way: from M, build a one-way map from Zq (private keys) to G (signatures) called SIGN and a one-way map from G (signatures) to G (public keys) called VER **\** to sign the message, I evaluate my private key SIGN(x) and get a group element, my signature. To validate this game from me, I evaluate VER at my signature and check that the result is my public key, VER(SIGN(x)) = X **\** so my signature is SIGN(x) and the function VER **\** each message M has a different pair of one-way functions SIGN and VER **\** to forge this, I need to find a group element S such that VER(S) = VER(SIGN(x)) for someone's honestly computed SIGN(x), but that requires breaking the one-way-ness of all the arrows in my square **\** \*this is all great in theory, but i have no implementation yet. :P\* **\** oh, i missed a word: in the definition of the cartesian square, the diagram has to be commutative. so if I traverse from A to D along one path (through B), I get the same result as if I had traversed the other path (through C) **\** and that is \*critical\* **\** so, to construct an implementation, I need a way to map from message space to the space of one-way group homomorphisms to get SIGN and VER, and then I need to mod out by the ideal generated by all the functions that don't satisfy the cartesian property **\** more recently cartesian squares (mid-late 20th century terminology) have been called "pullback diagrams," and I haven't found any descritpions in the literature of EC-based digital signatures based on them **\** that doesn't mean that this is a novel signature scheme, only that I haven't found any old references to them. I'm emailing around asking folks, and if anyone comes across anything, please let me know **\** to forge this... <--- also, i need to find a message M such that VER is the one-way function derived from M to compute a forgery **\** okay, abstract algebra/category theory lecture done. :P hehe **\** whew ;) **\** ikr what a blowhard **\** also s/game/came **\** I think I missed a part, can you explain again the bit after "now listen carefully" ? **\** "i think a few pages back, you missed a negative and the error propagates. I would have said something, but you were so excited about proving P=NP" **\** lol **\** does anyone have any questions for MRL? I believe sarang is going to be posting another FFS to fund the third audit later today or something? **\** how much extra is going to be needed? **\** and did we sign off on anyone getting started already? **\** rehrar I don't know, and I don't know. i believe nioc was encouraging us to not worry about getting it funded and to just post it so we can get the process moving, but I don't want to speak for him. **\** got it **\** and sarang will be back later today to talk about that **\** days like today, i want to hire a suresh noether **\** okay, next meeting, I want to talk about planning the first monero conference, and planning travel for sarang and i to other conferences between now and then **\** i'm actually attending a bitcoin/blockchain event on april 25 in denver at one of the venues i'm looking at for the monero conference **\** and I have a few meetings next week about it too **\** other than that, I got nothing left to chat about **\** rehrar: I believe Bunz and QuarksLab have already been signed **\** i also want to chat next week about how is everyone satisfied with MRL. I want to gauge the community on direction, depth, breadth, leadership, funding models/goals etc. **\** cool, thanks nioc **\** so, with that, i want folks to think about what you would say to me if you had me face-to-face. :D **\** oy, I need to talk with the two of you fairly soon. It's already Revuo time again. **\** rehrar i believe i'm dragging sarang out to denver for that blockchain event. make it up here around that time and maybe we can make it a MAGIC board member meeting + revuo intervuo. **\** we'll drag mike from the moneromonitor by. :P it'll be historic~ **\** \