{ localUrl: '../page/lambda_calculus.html', arbitalUrl: 'https://arbital.com/p/lambda_calculus', rawJsonUrl: '../raw/6ld.json', likeableId: '3722', likeableType: 'page', myLikeValue: '0', likeCount: '1', dislikeCount: '0', likeScore: '1', individualLikes: [ 'DylanHendrickson' ], pageId: 'lambda_calculus', edit: '21', editSummary: '', prevEdit: '20', currentEdit: '21', wasPublished: 'true', type: 'wiki', title: 'Lambda calculus', clickbait: 'A minimal, inefficient, and hard-to-read, but still interesting and useful, programming language.', textLength: '17182', alias: 'lambda_calculus', externalUrl: '', sortChildrenBy: 'likes', hasVote: 'false', voteType: '', votesAnonymous: 'false', editCreatorId: 'DylanHendrickson', editCreatedAt: '2016-12-06 04:33:25', pageCreatorId: 'DylanHendrickson', pageCreatedAt: '2016-11-25 22:53:26', seeDomainId: '0', editDomainId: 'AlexeiAndreev', submitToDomainId: '0', isAutosave: 'false', isSnapshot: 'false', isLiveEdit: 'true', isMinorEdit: 'false', indirectTeacher: 'false', todoCount: '0', isEditorComment: 'false', isApprovedComment: 'true', isResolved: 'false', snapshotText: '', anchorContext: '', anchorText: '', anchorOffset: '0', mergedInto: '', isDeleted: 'false', viewCount: '149', text: 'What's the least we can put in a programming language and still have it be able to do anything other [computability languages can] %%note:i.e. [turing_complete]%%? It turns out we can get away with including only a single built in feature: [-3jy] definition, written using $\\lambda$. The language that has only this one feature is called "lambda calculus" or "$\\lambda$ calculus." We also need a way to apply our functions to inputs; we write $f\\ x$ to indicate the value of the function $f$ on $x$, perhaps more familiarly written $f(x)$.\n\nA $\\lambda$ expression is something of the form $\\lambda x.f(x)$, which means "take in an input $x$, and return $f(x)$. For example, $\\lambda x.x+1$ takes in a number and returns one more than it. We only directly have functions with one input, but we can build functions with multiple inputs out of this. For example, applying $\\lambda x.\\lambda y.x+y$ to $3$, and applying the result to $4$ gives $3+4=7$ . We can think of this as a two-input function, and abbreviate it as $\\lambda xy.x+y$; "$\\lambda xy$" is simply a shorthand for "$\\lambda x.\\lambda y$." We don't lose any power by restricting ourselves to unary functions, because we can think of functions with multiple inputs as taking only one input at a time, and returning another function at each intermediate step.\n\nWe said the only feature we have is function definition, so what's this about "$+$" and "$1$"? These symbols don't exist in $\\lambda$ calculus, so we'll have to define [-54y numbers] and operations on them using $\\lambda$ %%note:The standard way of doing this is called the [6qb].%%. But $\\lambda$ expressions are useful even when we have other features as well; programming languages such as Python allow function definition using $\\lambda$. It's also useful when trying to understand what $\\lambda$ means to see examples with functions you're more familiar with.\n\nWe're not going to put constraints on what inputs $\\lambda$ expressions can take. If we allowed expressions like $\\lambda x.x+1$, it would get confused when we try to give it something other than a number; this is why we can't have $+$ and $1$. So what sorts of objects will we give our functions? The only objects have we: other functions, of course!\n\n[toc:]\n\n#Formal definition\n\nLet's formally define $\\lambda$ calculus. First, the language of $\\lambda$ calculus contains\n\n- Parentheses ( and )\n- Symbols $\\lambda$ and .\n- Variables $v_1,v_2,\\dots$ (in practice we'll use other letters too).\n\nWhat counts as a $\\lambda$ expression? We define them recursively:\n\n- For any variable $x$, $x$ is a $\\lambda$ expression.\n- For any variable $x$ and $\\lambda$ expression $M$, $(\\lambda x.M)$ is a $\\lambda$ expression.\n- If $M$ and $N$ are $\\lambda$ expressions, so is $(M\\ N)$.\n\nWe also want to define free and bound variables, and also do this recursively:\n\n- The variable $x$ is free in the expression $x$.\n- Every instance of $x$ is bound in the expression $(\\lambda x.M)$. If an instance of $x$ is free in $M$, we say the initial $\\lambda x$ in $(\\lambda x.M)$ *binds* it. We say that $M$ is the *scope* of that $\\lambda x$.\n- An instance of $x$ in $(M\\ N)$ is free if it is free in $M$ or $N$, and bound otherwise.\n\nWe can use the rules to build expressions like $((\\lambda x.(\\lambda y.(x\\ y))))\\ x)$, in which the first instance of $x$ and the only instance of $y$ are bound, and the second instance of $x$ is free. We have an oppressive amount of parentheses; we'll establish informal conventions to reduce them in the next section.\n\n#Parenthesis conventions\n\nIf we want to be extremely careful, we should write the add-two-numbers function as $(\\lambda x.(\\lambda y.(x+y)))$, using parentheses as in the formal definition. But we often don't need them, and use the following rules:\n\n- We don't need outermost parentheses. We can write $\\lambda x.(\\lambda y.(x+y))$ instead of $(\\lambda x.(\\lambda y.(x+y)))$.\n- Application is, by default, left associative. $f\\ x\\ y$ means "the function $f$ with inputs $x$ and $y$," i.e. $(f\\ x)\\ y$, not $f\\ (x\\ y)$.\n- The scope of any $\\lambda$ is as large is possible. $\\lambda x.\\lambda y.x+y$ means $\\lambda x.(\\lambda y.(x+y))$, not $(\\lambda x.\\lambda y.x)+y$ or $\\lambda x.(\\lambda y.x)+y$ or anything like that.\n- We can abbreviate sequences of $\\lambda$s. As mentioned before, we can write $\\lambda xy.x+y$ for $\\lambda x.\\lambda y.x+y$.\n\nOf course, we don't have to omit parentheses whenever we can. These rules govern what it means when we don't have all the parentheses strictly necessary, but we can include them if we want to be extra clear.\n\n#Reducing lambda expressions\n\nSo far, $\\lambda$ expressions don't have any meaning; we've said what we're allowed to write down but not how the relate to each other. What we usually do with a $\\lambda$ expression is reduce it, and there are three rules that we can use: [beta_reduction $\\beta$-reduction], [alpha_conversion $\\alpha$-conversion], and [eta_conversion $\\eta$-conversion].\n\n[beta_reduction $\\beta$-reduction] is the fancy name for "stick in the inputs to a function." For example, to evaluate $(\\lambda x.\\lambda y.x+y)\\ 6\\ 3$, we first notice that $6$ is the input to a $\\lambda$ expression that starts $\\lambda x$, and substitute $6$ for $x$ in the expression, giving us $(\\lambda y.6+y)\\ 3$. Now $3$ is substituted for $y$, giving us $6+3=9$.\n\nFormally, for a variable $x$ and $\\lambda$ expressions $M$ and $N$, $\\beta$-reduction converts $((\\lambda x.M)\\ N)$ to $M[N/x]$, i.e. $M$ with every free instance of $x$ replaced with $N$. The expressions $((\\lambda x.M)\\ N)$ and $M[N/x]$ are equivalent. %%todo: is there a more standard notation for this?%%\n\n[alpha_conversion $\\alpha$-conversion] says we can rename variables; $\\lambda x.f\\ x$ is the same as $\\lambda y.f\\ y$. Formally, if $M$ is a $\\lambda$ expression containing $\\lambda x$, and no instance of $x$ bound by that $\\lambda x$ is within the scope of a $\\lambda y$, then we can replace every $x$ in the scope of the $\\lambda x$ with a $y$ to get an equivalent expression. We need the second criterion because otherwise we could replace the $x$s in $\\lambda x.\\lambda y.x$ with $y$s to get $\\lambda y.\\lambda y.y$, and then replace the outer $y$ with $x$ to get $\\lambda x.\\lambda y.x$, which is not equivalent (the second substitution here is valid; the first one is the problem). \n\nFinally, [eta_conversion $\\eta$-conversion] says that if two expressions give the same result on any input, then they're equivalent. We should have $\\lambda x.f\\ x$ and $f$ be the same, since $\\beta$-reduction converts $(\\lambda x.f\\ x)\\ x$ to $f\\ x$, so they're the same on any input. Formally, if $x$ isn't free in $M$, then $(\\lambda x.(M\\ x))$ is equivalent to $M$.\n\n#[50p]\n\nLet's look again at the function that adds two numbers, $\\lambda x.\\lambda y.x+y$. There are two different ways we can think of this: first, as a function that takes in two numbers, and returns their sum. If we're talking about [45h natural numbers], this is a function $\\mathbb N^2\\to\\mathbb N$. \n\nWe could also think of the function as taking one input at a time. It says "take in input $x$, return the expression $\\lambda y.x+y$." For example, on input $6$ we have $(\\lambda x.\\lambda y.x+y)\\ 6=\\lambda y.6+y$. Now we have a function that takes in a number, and gives us a function that takes in a number and returns a number. We can write this as $\\mathbb N\\to(\\mathbb N\\to\\mathbb N)$.\n\nThis equivalence between functions on two (or more) inputs, and functions on one input that return a new function, is known as [50p] and is important in $\\lambda$ calculus, where the only objects are functions. We have to get used to the idea that a function can take other functions as arguments and give functions as return values.\n\n#Defining variables\n\n$\\lambda$ calculus doesn't have a built in way to define a [-variable]. Suppose we have the function $d=\\lambda f.\\lambda x.f\\ (f\\ x)$ which applies its first input to its second input twice. Currying, $d$ takes in a function and returns that function composed with itself. Say we want to know what $d\\ d$ is. We could just write $d$ twice, to get $(\\lambda f.\\lambda x.f\\ (f\\ x))\\ (\\lambda f.\\lambda x.f\\ (f\\ x))$. $\\beta$-reduction eventually reduces this to $\\lambda f.\\lambda x.f\\ (f\\ (f\\ (f\\ x)))$, the function that applies its first input to its second input four times (as you might have expected, applying a function twice, twice, is the same as applying it four times).\n\nWe can also get $d\\ d$ while only writing out $d$ once. Take the $\\lambda$ expression $(\\lambda x.x\\ x)\\ d$ or, writing out $d$, $(\\lambda x.x\\ x)\\ (\\lambda f.\\lambda x.f\\ (f\\ x))$. A single step of $\\beta$-reduction turns this into the previous version, where we wrote $d$ out twice. The expression we started with was shorter, and expressed better the idea that we wanted to use the same value of $d$ twice. In general, if we want to say something like $x = a; f\\ x$ (i.e. define the variable $x$, and then use it in some expression), we can write $(\\lambda x.f\\ x)\\ a$, first building the expression we want to use the value of $x$ in, and then substituting in the value using function application. This will be very useful in the next section when we make [recursion recursive] functions.\n\n#Loops\n\nIt might seem like $\\lambda$ expressions are very finite, and $\\beta$-reduction will always finish after a reasonable amount of time. But for $\\lambda$ calculus to be as powerful as normal programming languages, there must be $\\lambda$ expressions that don't reduce in a [46h finite amount of time]. The way to resolve this is to figure out how to build while loops in $\\lambda$ calculus; if you can make a while loop, you can write a program that runs forever pretty easily.\n\nSince all we have is functions, we'll use [-recursion] to make loopy programs. For example, consider this factorial function in Python:\n\n factorial = lambda n: 1 if n==0 else n*factorial(n-1)\n\nHow can we write this in lambda calculus? Let's assume we have [54y numbers], [-arithmetic], [57f booleans], %%todo: possibly change these links to church encoding pages once they exist%%\nand a function $Z$ that returns True on $0$ and False on anything else. Let's also a assume we have an "if" function $I$ that takes in three inputs: $I = (\\lambda p.\\lambda x.\\lambda y.$if $p$, then $x$, else $y)$. So $I\\ True\\ x\\ y=x$ and $I\\ False\\ x\\ y=y$.\n\nStarting to translate from Python to $\\lambda$ calculus, we have $F = \\lambda n.I\\ (Z\\ n)\\ 1\\ (n\\times(F\\ (n-1)))$, which says "if $n$ is $0$, then $1$, else $n\\times F(n-1)$. But we can't define $F$ like this; we have to use the method described in the previous section. In order for each recursive call of the factorial function to know how to call further recursive calls, we need to pass in $F$ to itself. Consider the expression\n\n$$F=(\\lambda x.x\\ x)\\ (\\lambda r.\\lambda n.I\\ (Z\\ n)\\ 1\\ (n\\times(r\\ r\\ (n-1))))$$\n\nLet $g=\\lambda r.\\lambda n.I\\ (Z\\ n)\\ 1\\ (n\\times(r\\ r\\ (n-1)))$. Then $F=(\\lambda x.x\\ x)\\ g=g\\ g$ is $g$ applied to itself. Plugging in $g$ for $r$, $g\\ g=\\lambda n.I\\ (Z\\ n)\\ 1\\ (n\\times(g\\ g\\ (n-1)))$. But since $g\\ g=F$, this is just $\\lambda n.I\\ (Z\\ n)\\ 1\\ (n\\times(F\\ (n-1)))$, exactly what we wanted $F$ to be.\n\nLet's generalize this. Say we want to define a recursive formula $f=\\lambda x.h\\ f\\ x$, where $h$ is any expression (in the factorial example $h=\\lambda f.\\lambda n.I\\ (Z\\ n)\\ 1\\ (n\\times(f\\ (n-1)))$). We define\n\n\\begin{align*}\n g&=\\lambda r.h\\ (r\\ r)\\newline\n &=\\lambda r.\\lambda x.h\\ (r\\ r)\\ x\n\\end{align*}\n\nand use this to build\n\n\\begin{align*}\n f&=(\\lambda x.x\\ x)\\ g\\newline\n &=g\\ g\\newline\n &=(\\lambda r.\\lambda x.h\\ (r\\ r)\\ x)\\ g\\newline\n &=\\lambda x.h\\ (g\\ g)\\ x\\newline\n &=\\lambda x.h\\ f\\ x.\n\\end{align*}\n\nWe can express this process taking any $h$ to the recursive function $f$ as a $\\lambda$ expression:\n\n\\begin{align*}\n Y&=\\lambda h.(\\lambda x.x\\ x)\\ (\\lambda r.h\\ (r\\ r))\\newline\n &=\\lambda h.(\\lambda r.h\\ (r\\ r))\\ (\\lambda r.h\\ (r\\ r)).\n\\end{align*}\n\nFor any $h$, which takes as arguments $f$ and $x$ and returns some expression using them, $Y\\ h$ recursively calls $h$. Specifically, letting $f=Y\\ h$, we have $f=\\lambda x.h\\ f\\ x$.\n\nFor fun, let's make a $\\lambda$ expression that enters an infinite loop by reducing to itself. If we make $h$ the function that applies $f$ to $x$, recursively calling it should accomplish this, since it's analogous to the Python function `f = lambda x: f(x)`, which just loops forever. So let $h=\\lambda f.\\lambda x.f x=\\lambda f.f$. Now \\begin{align*}\n Y\\ h&=(\\lambda x.x\\ x)\\ (\\lambda r.(\\lambda f.f)\\ (r\\ r))\\newline\n &=(\\lambda x.x\\ x)\\ (\\lambda r.r\\ r)\\newline\n &=(\\lambda r.r\\ r)\\ (\\lambda r.r\\ r).\n\\end{align*}\n\nContinued $\\beta$-reduction doesn't get us anywhere. This expression is also interesting because it's a simple [-322], a program that outputs its own code, and this is a sort of template you can use to make quines in other languages.\n\nThis strategy of building recursive functions results in some very long intermediate computations. If $F$ is the factorial function, we compute $F(100)$ as $100\\times F(99)=100\\times 99\\times F(98)$, etc. By the time the recursive calls finally stop, we have the very long expression $100\\times99\\times\\dots\\times2\\times1$, which takes a lot of space to write down or store in a computer. Many programming languages will give you an error if you try to do this, complaining that you exceeded the max recursion depth.\n\nThe fix is something called [-tail_recursion], which roughly says "return only a function evaluation, so you don't need to remember to do something with it when it finishes." The general way do accomplish this is to pass along the intermediate computation to the recursive calls, instead of applying it to the result of the recursive calls. We can make a tail recursive version of our Python factorial like so %%note:Python will still give you a "maximum recursion depth exceeded" error with this, but the strategy works in lambda calculus and lazy languages like Lisp and Haskell, and Python is easier to demonstrate with.%%:\n\n f = lambda n, k: k if n==0 else f(n-1, k*n)\n\nWe pass along $k$ as an intermediate value. It has to start with $k=1$; we can do this by defining a new function `g = lambda n: f(n,1)` or using Python's default value feature to have $k$ be $1$ be default. Now if we want $100$ factorial, we get $f(100,1)=f(99,1*100)=f(99,100)=f(98,9900)=\\dots$. We compute the products as we go instead of all at the end, and only ever have one call of $f$ active at a time.\n\nWriting a tail recursive version of factorial in $\\lambda$ calculus is left as an exercise for the reader.\n\n#[Y_combinator]\n\nYou might be wondering why we called the recursive-function-maker $Y$, so let's look at that again. We said earlier that $Y\\ h=\\lambda x.h\\ (Y\\ h)\\ x$. By $\\eta$-conversion, $Y\\ h=h\\ (Y\\ h)$. That means $Y\\ h$ is a fixed point of $h$! For any function $h$, $Y$ finds a value $f$ such that $h\\ f=f$. This kind of object is called a [-fixed_point_combinator]; this particular one is called the [Y_combinator], conventionally denoted $Y$.\n\nWhy is a fixed point finder the right way to make recursive functions? Consider again the example of factorial. If a function $f$ says "do factorial for $k$ recursive steps," then $h\\ f$ says "do factorial for $k+1$ recursive steps;" $h$ was designed to be the function which, calling recursively, gives factorial. Naming the [identity_map identity function] $i=\\lambda n.n$, $i$ does factorial for $0$ steps, so $h\\ i$ does it for $1$ step, $h\\ (h\\ i)$ for $2$, and so on. To completely compute factorial, we need a function $F$ that says "do factorial for infinity recursive steps." But doing one more than infinity is the same as just doing infinity, so it must be true that $h\\ F=F$; i.e. that $F$ is a fixed point of $h$. There may be other fixed points of $h$, but the Y combinator finds the fixed point that corresponds to recursively calling it.\n\n## With $Y$ and without $Y$\n\nWhat do we get, and what do we lose, if we allow the use of $Y$?\n\n$Y$ takes a lambda-term which may have corresponded to a [-primitive_recursive] function, and outputs a lambda term which need not correspond to a primitive recursive function.\nThat is because it allows us to perform an *unbounded* search: it expresses fully-general looping strategies.\n(As discussed earlier, without a fixed-point finder of some kind, we can only create lambda-terms corresponding to programs which provably halt.)\n\nOn the other side of the coin, $Y$ may produce non-[well_typed well-typed] terms, while terms without a fixed-point finder are guaranteed to be well-typed.\nThat means it's hard or even impossible to perform type-checking (one of the most basic forms of static analysis) on terms which invoke $Y$.\n\nStrongly relatedly, in a rather specific sense through the [curry_howard Curry-Howard correspondence], the use of $Y$ corresponds to accepting non-[constructive_proof constructiveness] in one's proofs.\nWithout a fixed-point finder, we can always build a constructive proof corresponding to a given lambda-term; but with $Y$ involved, we can no longer keep things constructive.', metaText: '', isTextLoaded: 'true', isSubscribedToDiscussion: 'false', isSubscribedToUser: 'false', isSubscribedAsMaintainer: 'false', discussionSubscriberCount: '1', maintainerCount: '1', userSubscriberCount: '0', lastVisit: '', hasDraft: 'false', votes: [], voteSummary: [ '0', '0', '0', '0', '0', '0', '0', '0', '0', '0' ], muVoteSummary: '0', voteScaling: '0', currentUserVote: '-2', voteCount: '0', lockedVoteType: '', maxEditEver: '0', redLinkCount: '0', lockedBy: '', lockedUntil: '', nextPageId: '', prevPageId: '', usedAsMastery: 'false', proposalEditNum: '0', permissions: { edit: { has: 'false', reason: 'You don't have domain permission to edit this page' }, proposeEdit: { has: 'true', reason: '' }, delete: { has: 'false', reason: 'You don't have domain permission to delete this page' }, comment: { has: 'false', reason: 'You can't comment in this domain because you are not a member' }, proposeComment: { has: 'true', reason: '' } }, summaries: { Summary: 'What's the least we can put in a programming language and still have it be able to do anything other [computability languages can] %%note:i.e. [turing_complete]%%? It turns out we can get away with including only a single built in feature: [-3jy] definition, written using $\\lambda$. The language that has only this one feature is called "lambda calculus" or "$\\lambda$ calculus." We also need a way to apply our functions to inputs; we write $f\\ x$ to indicate the value of the function $f$ on $x$, perhaps more familiarly written $f(x)$.' }, creatorIds: [ 'DylanHendrickson' ], childIds: [], parentIds: [ 'math' ], commentIds: [ '6m0', '6qf' ], questionIds: [], tagIds: [ 'c_class_meta_tag' ], relatedIds: [], markIds: [], explanations: [ { id: '6660', parentId: 'lambda_calculus', childId: 'lambda_calculus', type: 'subject', creatorId: 'DylanHendrickson', createdAt: '2016-11-25 23:42:44', level: '2', isStrong: 'true', everPublished: 'true' } ], learnMore: [], requirements: [], subjects: [ { id: '6660', parentId: 'lambda_calculus', childId: 'lambda_calculus', type: 'subject', creatorId: 'DylanHendrickson', createdAt: '2016-11-25 23:42:44', level: '2', isStrong: 'true', everPublished: 'true' } ], lenses: [], lensParentId: '', pathPages: [], learnMoreTaughtMap: {}, learnMoreCoveredMap: {}, learnMoreRequiredMap: {}, editHistory: {}, domainSubmissions: {}, answers: [], answerCount: '0', commentCount: '0', newCommentCount: '0', linkedMarkCount: '0', changeLogs: [ { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20608', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '21', type: 'newEdit', createdAt: '2016-12-06 04:33:25', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20607', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '20', type: 'newEdit', createdAt: '2016-12-06 04:30:57', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20606', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '19', type: 'newEdit', createdAt: '2016-12-06 04:28:15', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20589', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '18', type: 'newEdit', createdAt: '2016-12-05 02:50:25', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20487', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '17', type: 'newEdit', createdAt: '2016-11-29 18:26:48', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20470', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '16', type: 'newEdit', createdAt: '2016-11-29 02:58:14', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20428', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '15', type: 'newEdit', createdAt: '2016-11-26 18:17:08', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20427', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '14', type: 'newEdit', createdAt: '2016-11-26 18:10:18', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20426', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '13', type: 'newEdit', createdAt: '2016-11-26 17:36:59', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20425', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '12', type: 'newEdit', createdAt: '2016-11-26 17:30:39', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20419', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '11', type: 'newEdit', createdAt: '2016-11-26 04:31:23', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20418', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '10', type: 'newEdit', createdAt: '2016-11-26 04:06:21', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20417', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '9', type: 'newEdit', createdAt: '2016-11-26 04:05:34', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20416', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '8', type: 'newEdit', createdAt: '2016-11-26 03:49:39', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20415', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '7', type: 'newEdit', createdAt: '2016-11-26 03:45:36', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20411', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '6', type: 'newEdit', createdAt: '2016-11-26 01:42:20', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20410', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '5', type: 'newEdit', createdAt: '2016-11-26 00:54:24', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20409', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '4', type: 'newEdit', createdAt: '2016-11-26 00:51:48', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20408', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '3', type: 'newEdit', createdAt: '2016-11-26 00:49:11', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20406', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '0', type: 'newTeacher', createdAt: '2016-11-25 23:42:44', auxPageId: 'lambda_calculus', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20407', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '0', type: 'newSubject', createdAt: '2016-11-25 23:42:44', auxPageId: 'lambda_calculus', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20405', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '0', type: 'newTag', createdAt: '2016-11-25 23:42:40', auxPageId: 'c_class_meta_tag', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20404', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '0', type: 'newParent', createdAt: '2016-11-25 23:41:35', auxPageId: 'math', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20402', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '2', type: 'newEdit', createdAt: '2016-11-25 23:29:59', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20401', pageId: 'lambda_calculus', userId: 'DylanHendrickson', edit: '1', type: 'newEdit', createdAt: '2016-11-25 22:53:26', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' } ], feedSubmissions: [], searchStrings: {}, hasChildren: 'false', hasParents: 'true', redAliases: {}, improvementTagIds: [], nonMetaTagIds: [], todos: [], slowDownMap: 'null', speedUpMap: 'null', arcPageIds: 'null', contentRequests: {} }