Languages that we cannot (dis)prove to be Context-Free The 2019 Stack Overflow Developer Survey Results Are InBase-k representations of the co-domain of a polynomial - is it context-free?For a language to be programmable, is it mandatory that it be based on a context free grammarSufficient conditions for the regularity of a context-free languageDoes there exist an extension of regular expressions that captures the context free languages?Are deterministic context-free languages closed under outfix (or other erasing operations)Is SAT a context-free language?Is equivalence of unambiguous context-free languages decidable?Example of context-free tree language which can not be generated by monadic CFTGFor which $R$ is $0^a10^b10^cmid R(a,b,c)$ context-free?Continuous mathematics and formal language theoryIs HamDist(w,w')>1 context-free?

What is this 4-propeller plane?

Time travel alters history but people keep saying nothing's changed

How to manage monthly salary

Deadlock Graph and Interpretation, solution to avoid

Output the Arecibo Message

Extreme, unacceptable situation and I can't attend work tomorrow morning

Supports in 3d printing

"Riffle" two strings

"What time...?" or "At what time...?" - what is more grammatically correct?

What tool would a Roman-age civilisation use to reduce/breakup silver and other metals?

Can't find the latex code for the ⍎ (down tack jot) symbol

Patience, young "Padovan"

Should I use my personal or workplace e-mail when registering to external websites for work purpose?

How to reverse every other sublist of a list?

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

A poker game description that does not feel gimmicky

How to create dashed lines/arrows in Illustrator CC

What is the steepest angle that a canal can be traversable without locks?

Why can Shazam do this?

Why isn't airport relocation done gradually?

How was Skylab's orbit inclination chosen?

Families of ordered set partitions with disjoint blocks

JSON.serialize: is it possible to suppress null values of a map?

Can we apply L'Hospital's rule where the derivative is not continuous?



Languages that we cannot (dis)prove to be Context-Free



The 2019 Stack Overflow Developer Survey Results Are InBase-k representations of the co-domain of a polynomial - is it context-free?For a language to be programmable, is it mandatory that it be based on a context free grammarSufficient conditions for the regularity of a context-free languageDoes there exist an extension of regular expressions that captures the context free languages?Are deterministic context-free languages closed under outfix (or other erasing operations)Is SAT a context-free language?Is equivalence of unambiguous context-free languages decidable?Example of context-free tree language which can not be generated by monadic CFTGFor which $R$ is $0^a10^b10^cmid R(a,b,c)$ context-free?Continuous mathematics and formal language theoryIs ww' context-free?










21












$begingroup$


I'm looking for languages which are "probably not Context-Free" but we are not able to (dis)prove it using known standard techniques.




Is there a recent survey on the subject or an open problem section from a recent conference ?



Probably there are not many languages which are not known to be CF, so if you know one you can also post it as an answer.




The examples I found are:



  • the well known language of Primitive words $Q = u$ (there's a whole nice recent book on it: Context-Free Languages and Primitive Words)

  • the Base-k representations of the co-domain of a polynomial (see question "Base-k representations of the co-domain of a polynomial - is it context-free?" on cstheory, which perhaps has been solved by domotorp, see his preprint)

Note: as showed by Aryeh in his answer you can build a whole class of such languages if you "link" a language to an unknown conjecture about the (non)finiteness or (non)emptiness of some sets (e.g. $L_Goldbach = 1^2n mid 2n$ cannot be expressed as a sum of two primes$$). I'm not quite interested in such examples.










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    For your second example, I wrote a paper from my answer which is under review (and the first feedback was positive): arxiv.org/abs/1901.03913
    $endgroup$
    – domotorp
    2 days ago










  • $begingroup$
    There are many variants of the first example that are not known to be context-free, I don't know if you want to include them as separate examples; see Chapter 10 of the linked book (Kászonyi-Katsura Theory).
    $endgroup$
    – domotorp
    2 days ago










  • $begingroup$
    @domotorp: I just gave it a look (I'm still reading chapter 2) ... they seem to me more technical attempts to attack the main problem.
    $endgroup$
    – Marzio De Biasi
    2 days ago















21












$begingroup$


I'm looking for languages which are "probably not Context-Free" but we are not able to (dis)prove it using known standard techniques.




Is there a recent survey on the subject or an open problem section from a recent conference ?



Probably there are not many languages which are not known to be CF, so if you know one you can also post it as an answer.




The examples I found are:



  • the well known language of Primitive words $Q = u$ (there's a whole nice recent book on it: Context-Free Languages and Primitive Words)

  • the Base-k representations of the co-domain of a polynomial (see question "Base-k representations of the co-domain of a polynomial - is it context-free?" on cstheory, which perhaps has been solved by domotorp, see his preprint)

Note: as showed by Aryeh in his answer you can build a whole class of such languages if you "link" a language to an unknown conjecture about the (non)finiteness or (non)emptiness of some sets (e.g. $L_Goldbach = 1^2n mid 2n$ cannot be expressed as a sum of two primes$$). I'm not quite interested in such examples.










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    For your second example, I wrote a paper from my answer which is under review (and the first feedback was positive): arxiv.org/abs/1901.03913
    $endgroup$
    – domotorp
    2 days ago










  • $begingroup$
    There are many variants of the first example that are not known to be context-free, I don't know if you want to include them as separate examples; see Chapter 10 of the linked book (Kászonyi-Katsura Theory).
    $endgroup$
    – domotorp
    2 days ago










  • $begingroup$
    @domotorp: I just gave it a look (I'm still reading chapter 2) ... they seem to me more technical attempts to attack the main problem.
    $endgroup$
    – Marzio De Biasi
    2 days ago













21












21








21


5



$begingroup$


I'm looking for languages which are "probably not Context-Free" but we are not able to (dis)prove it using known standard techniques.




Is there a recent survey on the subject or an open problem section from a recent conference ?



Probably there are not many languages which are not known to be CF, so if you know one you can also post it as an answer.




The examples I found are:



  • the well known language of Primitive words $Q = u$ (there's a whole nice recent book on it: Context-Free Languages and Primitive Words)

  • the Base-k representations of the co-domain of a polynomial (see question "Base-k representations of the co-domain of a polynomial - is it context-free?" on cstheory, which perhaps has been solved by domotorp, see his preprint)

Note: as showed by Aryeh in his answer you can build a whole class of such languages if you "link" a language to an unknown conjecture about the (non)finiteness or (non)emptiness of some sets (e.g. $L_Goldbach = 1^2n mid 2n$ cannot be expressed as a sum of two primes$$). I'm not quite interested in such examples.










share|cite|improve this question











$endgroup$




I'm looking for languages which are "probably not Context-Free" but we are not able to (dis)prove it using known standard techniques.




Is there a recent survey on the subject or an open problem section from a recent conference ?



Probably there are not many languages which are not known to be CF, so if you know one you can also post it as an answer.




The examples I found are:



  • the well known language of Primitive words $Q = u$ (there's a whole nice recent book on it: Context-Free Languages and Primitive Words)

  • the Base-k representations of the co-domain of a polynomial (see question "Base-k representations of the co-domain of a polynomial - is it context-free?" on cstheory, which perhaps has been solved by domotorp, see his preprint)

Note: as showed by Aryeh in his answer you can build a whole class of such languages if you "link" a language to an unknown conjecture about the (non)finiteness or (non)emptiness of some sets (e.g. $L_Goldbach = 1^2n mid 2n$ cannot be expressed as a sum of two primes$$). I'm not quite interested in such examples.







reference-request big-list context-free






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 2 days ago







Marzio De Biasi

















asked Apr 5 at 10:45









Marzio De BiasiMarzio De Biasi

18.6k243114




18.6k243114







  • 1




    $begingroup$
    For your second example, I wrote a paper from my answer which is under review (and the first feedback was positive): arxiv.org/abs/1901.03913
    $endgroup$
    – domotorp
    2 days ago










  • $begingroup$
    There are many variants of the first example that are not known to be context-free, I don't know if you want to include them as separate examples; see Chapter 10 of the linked book (Kászonyi-Katsura Theory).
    $endgroup$
    – domotorp
    2 days ago










  • $begingroup$
    @domotorp: I just gave it a look (I'm still reading chapter 2) ... they seem to me more technical attempts to attack the main problem.
    $endgroup$
    – Marzio De Biasi
    2 days ago












  • 1




    $begingroup$
    For your second example, I wrote a paper from my answer which is under review (and the first feedback was positive): arxiv.org/abs/1901.03913
    $endgroup$
    – domotorp
    2 days ago










  • $begingroup$
    There are many variants of the first example that are not known to be context-free, I don't know if you want to include them as separate examples; see Chapter 10 of the linked book (Kászonyi-Katsura Theory).
    $endgroup$
    – domotorp
    2 days ago










  • $begingroup$
    @domotorp: I just gave it a look (I'm still reading chapter 2) ... they seem to me more technical attempts to attack the main problem.
    $endgroup$
    – Marzio De Biasi
    2 days ago







1




1




$begingroup$
For your second example, I wrote a paper from my answer which is under review (and the first feedback was positive): arxiv.org/abs/1901.03913
$endgroup$
– domotorp
2 days ago




$begingroup$
For your second example, I wrote a paper from my answer which is under review (and the first feedback was positive): arxiv.org/abs/1901.03913
$endgroup$
– domotorp
2 days ago












$begingroup$
There are many variants of the first example that are not known to be context-free, I don't know if you want to include them as separate examples; see Chapter 10 of the linked book (Kászonyi-Katsura Theory).
$endgroup$
– domotorp
2 days ago




$begingroup$
There are many variants of the first example that are not known to be context-free, I don't know if you want to include them as separate examples; see Chapter 10 of the linked book (Kászonyi-Katsura Theory).
$endgroup$
– domotorp
2 days ago












$begingroup$
@domotorp: I just gave it a look (I'm still reading chapter 2) ... they seem to me more technical attempts to attack the main problem.
$endgroup$
– Marzio De Biasi
2 days ago




$begingroup$
@domotorp: I just gave it a look (I'm still reading chapter 2) ... they seem to me more technical attempts to attack the main problem.
$endgroup$
– Marzio De Biasi
2 days ago










2 Answers
2






active

oldest

votes


















14












$begingroup$

Another good one is the complement of the set $S$ of contiguous subwords (aka "factors") of the Thue-Morse sequence $bf t = 0110100110010110 cdots $. To give some context, Jean Berstel proved that the complement of the set $T$ of prefixes of the Thue-Morse word is context-free (and actually something more general than that). But the corresponding result for subwords is still open.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Great, thanks! If you saw it stated somewhere (perhaps in one of your many papers on the Thue-Morse sequence? ;-) you can add the reference (even if stated in the iterated morphism form).
    $endgroup$
    – Marzio De Biasi
    Apr 5 at 19:00


















12












$begingroup$

How about the language $L_TP$ of twin primes? I.e., all pairs of natural numbers $(p,p')$ (represented, say, in unary), such that $p,p'$ are both prime and $p'=p+2$? If twin primes conjecture is true, then $L_TP$ is not context-free; otherwise, it's finite.



Edit: Let me give a quick proof sketch that the twin primes conjecture implies that $L_TP$ is not context-free. Associate to any language $L$ its length sequence $0le a_1le a_2leldots$, where the integer $ell$ appears in the sequence iff there is a word of length $ell$ in $L$. It is a consequence of the pumping lemma(s) that for $L$ that are regular or CFL, the length sequence satisfies the bounded differences property: there is an $R>0$ such that $a_n+1-a_nle R$ for all $n$. It is an easy and well-known fact in number theory that the primes do not have bounded differences. Finally, any infinite subsequence of a sequence violating the bounded differences property itself must violate it.






share|cite|improve this answer











$endgroup$








  • 3




    $begingroup$
    Nice, thanks! But I'm not quite interested in languages that are linked to unknown conjectures about the (non)finiteness of some sets. BTW if those conjectures are true the resulting language is also regular :-)
    $endgroup$
    – Marzio De Biasi
    Apr 5 at 13:54










  • $begingroup$
    If there are infinitely many twin primes, how do you see that $L_TP$ is regular?
    $endgroup$
    – Aryeh
    Apr 5 at 14:04






  • 1




    $begingroup$
    If there are infinitely many twin primes, how do you show that $L_TP$ is not context-free?
    $endgroup$
    – Emil Jeřábek
    Apr 5 at 14:48






  • 1




    $begingroup$
    Oh, sorry, I didn’t notice you represent the numbers in unary. Then it is clear. (I believe that proving this for binary representation would require a considerable progress on the twin primes conjecture.)
    $endgroup$
    – Emil Jeřábek
    Apr 5 at 15:28







  • 5




    $begingroup$
    On the contrary, Emil, the "standard" proof that the primes in binary are not context-free easily suffices to prove that every infinite set of primes is not context-free. So if there are infinitely many twin primes, the result is immediate.
    $endgroup$
    – Jeffrey Shallit
    Apr 5 at 17:21











Your Answer





StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "114"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcstheory.stackexchange.com%2fquestions%2f42658%2flanguages-that-we-cannot-disprove-to-be-context-free%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









14












$begingroup$

Another good one is the complement of the set $S$ of contiguous subwords (aka "factors") of the Thue-Morse sequence $bf t = 0110100110010110 cdots $. To give some context, Jean Berstel proved that the complement of the set $T$ of prefixes of the Thue-Morse word is context-free (and actually something more general than that). But the corresponding result for subwords is still open.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Great, thanks! If you saw it stated somewhere (perhaps in one of your many papers on the Thue-Morse sequence? ;-) you can add the reference (even if stated in the iterated morphism form).
    $endgroup$
    – Marzio De Biasi
    Apr 5 at 19:00















14












$begingroup$

Another good one is the complement of the set $S$ of contiguous subwords (aka "factors") of the Thue-Morse sequence $bf t = 0110100110010110 cdots $. To give some context, Jean Berstel proved that the complement of the set $T$ of prefixes of the Thue-Morse word is context-free (and actually something more general than that). But the corresponding result for subwords is still open.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Great, thanks! If you saw it stated somewhere (perhaps in one of your many papers on the Thue-Morse sequence? ;-) you can add the reference (even if stated in the iterated morphism form).
    $endgroup$
    – Marzio De Biasi
    Apr 5 at 19:00













14












14








14





$begingroup$

Another good one is the complement of the set $S$ of contiguous subwords (aka "factors") of the Thue-Morse sequence $bf t = 0110100110010110 cdots $. To give some context, Jean Berstel proved that the complement of the set $T$ of prefixes of the Thue-Morse word is context-free (and actually something more general than that). But the corresponding result for subwords is still open.






share|cite|improve this answer









$endgroup$



Another good one is the complement of the set $S$ of contiguous subwords (aka "factors") of the Thue-Morse sequence $bf t = 0110100110010110 cdots $. To give some context, Jean Berstel proved that the complement of the set $T$ of prefixes of the Thue-Morse word is context-free (and actually something more general than that). But the corresponding result for subwords is still open.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Apr 5 at 17:25









Jeffrey ShallitJeffrey Shallit

6,5632636




6,5632636











  • $begingroup$
    Great, thanks! If you saw it stated somewhere (perhaps in one of your many papers on the Thue-Morse sequence? ;-) you can add the reference (even if stated in the iterated morphism form).
    $endgroup$
    – Marzio De Biasi
    Apr 5 at 19:00
















  • $begingroup$
    Great, thanks! If you saw it stated somewhere (perhaps in one of your many papers on the Thue-Morse sequence? ;-) you can add the reference (even if stated in the iterated morphism form).
    $endgroup$
    – Marzio De Biasi
    Apr 5 at 19:00















$begingroup$
Great, thanks! If you saw it stated somewhere (perhaps in one of your many papers on the Thue-Morse sequence? ;-) you can add the reference (even if stated in the iterated morphism form).
$endgroup$
– Marzio De Biasi
Apr 5 at 19:00




$begingroup$
Great, thanks! If you saw it stated somewhere (perhaps in one of your many papers on the Thue-Morse sequence? ;-) you can add the reference (even if stated in the iterated morphism form).
$endgroup$
– Marzio De Biasi
Apr 5 at 19:00











12












$begingroup$

How about the language $L_TP$ of twin primes? I.e., all pairs of natural numbers $(p,p')$ (represented, say, in unary), such that $p,p'$ are both prime and $p'=p+2$? If twin primes conjecture is true, then $L_TP$ is not context-free; otherwise, it's finite.



Edit: Let me give a quick proof sketch that the twin primes conjecture implies that $L_TP$ is not context-free. Associate to any language $L$ its length sequence $0le a_1le a_2leldots$, where the integer $ell$ appears in the sequence iff there is a word of length $ell$ in $L$. It is a consequence of the pumping lemma(s) that for $L$ that are regular or CFL, the length sequence satisfies the bounded differences property: there is an $R>0$ such that $a_n+1-a_nle R$ for all $n$. It is an easy and well-known fact in number theory that the primes do not have bounded differences. Finally, any infinite subsequence of a sequence violating the bounded differences property itself must violate it.






share|cite|improve this answer











$endgroup$








  • 3




    $begingroup$
    Nice, thanks! But I'm not quite interested in languages that are linked to unknown conjectures about the (non)finiteness of some sets. BTW if those conjectures are true the resulting language is also regular :-)
    $endgroup$
    – Marzio De Biasi
    Apr 5 at 13:54










  • $begingroup$
    If there are infinitely many twin primes, how do you see that $L_TP$ is regular?
    $endgroup$
    – Aryeh
    Apr 5 at 14:04






  • 1




    $begingroup$
    If there are infinitely many twin primes, how do you show that $L_TP$ is not context-free?
    $endgroup$
    – Emil Jeřábek
    Apr 5 at 14:48






  • 1




    $begingroup$
    Oh, sorry, I didn’t notice you represent the numbers in unary. Then it is clear. (I believe that proving this for binary representation would require a considerable progress on the twin primes conjecture.)
    $endgroup$
    – Emil Jeřábek
    Apr 5 at 15:28







  • 5




    $begingroup$
    On the contrary, Emil, the "standard" proof that the primes in binary are not context-free easily suffices to prove that every infinite set of primes is not context-free. So if there are infinitely many twin primes, the result is immediate.
    $endgroup$
    – Jeffrey Shallit
    Apr 5 at 17:21















12












$begingroup$

How about the language $L_TP$ of twin primes? I.e., all pairs of natural numbers $(p,p')$ (represented, say, in unary), such that $p,p'$ are both prime and $p'=p+2$? If twin primes conjecture is true, then $L_TP$ is not context-free; otherwise, it's finite.



Edit: Let me give a quick proof sketch that the twin primes conjecture implies that $L_TP$ is not context-free. Associate to any language $L$ its length sequence $0le a_1le a_2leldots$, where the integer $ell$ appears in the sequence iff there is a word of length $ell$ in $L$. It is a consequence of the pumping lemma(s) that for $L$ that are regular or CFL, the length sequence satisfies the bounded differences property: there is an $R>0$ such that $a_n+1-a_nle R$ for all $n$. It is an easy and well-known fact in number theory that the primes do not have bounded differences. Finally, any infinite subsequence of a sequence violating the bounded differences property itself must violate it.






share|cite|improve this answer











$endgroup$








  • 3




    $begingroup$
    Nice, thanks! But I'm not quite interested in languages that are linked to unknown conjectures about the (non)finiteness of some sets. BTW if those conjectures are true the resulting language is also regular :-)
    $endgroup$
    – Marzio De Biasi
    Apr 5 at 13:54










  • $begingroup$
    If there are infinitely many twin primes, how do you see that $L_TP$ is regular?
    $endgroup$
    – Aryeh
    Apr 5 at 14:04






  • 1




    $begingroup$
    If there are infinitely many twin primes, how do you show that $L_TP$ is not context-free?
    $endgroup$
    – Emil Jeřábek
    Apr 5 at 14:48






  • 1




    $begingroup$
    Oh, sorry, I didn’t notice you represent the numbers in unary. Then it is clear. (I believe that proving this for binary representation would require a considerable progress on the twin primes conjecture.)
    $endgroup$
    – Emil Jeřábek
    Apr 5 at 15:28







  • 5




    $begingroup$
    On the contrary, Emil, the "standard" proof that the primes in binary are not context-free easily suffices to prove that every infinite set of primes is not context-free. So if there are infinitely many twin primes, the result is immediate.
    $endgroup$
    – Jeffrey Shallit
    Apr 5 at 17:21













12












12








12





$begingroup$

How about the language $L_TP$ of twin primes? I.e., all pairs of natural numbers $(p,p')$ (represented, say, in unary), such that $p,p'$ are both prime and $p'=p+2$? If twin primes conjecture is true, then $L_TP$ is not context-free; otherwise, it's finite.



Edit: Let me give a quick proof sketch that the twin primes conjecture implies that $L_TP$ is not context-free. Associate to any language $L$ its length sequence $0le a_1le a_2leldots$, where the integer $ell$ appears in the sequence iff there is a word of length $ell$ in $L$. It is a consequence of the pumping lemma(s) that for $L$ that are regular or CFL, the length sequence satisfies the bounded differences property: there is an $R>0$ such that $a_n+1-a_nle R$ for all $n$. It is an easy and well-known fact in number theory that the primes do not have bounded differences. Finally, any infinite subsequence of a sequence violating the bounded differences property itself must violate it.






share|cite|improve this answer











$endgroup$



How about the language $L_TP$ of twin primes? I.e., all pairs of natural numbers $(p,p')$ (represented, say, in unary), such that $p,p'$ are both prime and $p'=p+2$? If twin primes conjecture is true, then $L_TP$ is not context-free; otherwise, it's finite.



Edit: Let me give a quick proof sketch that the twin primes conjecture implies that $L_TP$ is not context-free. Associate to any language $L$ its length sequence $0le a_1le a_2leldots$, where the integer $ell$ appears in the sequence iff there is a word of length $ell$ in $L$. It is a consequence of the pumping lemma(s) that for $L$ that are regular or CFL, the length sequence satisfies the bounded differences property: there is an $R>0$ such that $a_n+1-a_nle R$ for all $n$. It is an easy and well-known fact in number theory that the primes do not have bounded differences. Finally, any infinite subsequence of a sequence violating the bounded differences property itself must violate it.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Apr 5 at 15:21

























answered Apr 5 at 12:26









AryehAryeh

5,90211841




5,90211841







  • 3




    $begingroup$
    Nice, thanks! But I'm not quite interested in languages that are linked to unknown conjectures about the (non)finiteness of some sets. BTW if those conjectures are true the resulting language is also regular :-)
    $endgroup$
    – Marzio De Biasi
    Apr 5 at 13:54










  • $begingroup$
    If there are infinitely many twin primes, how do you see that $L_TP$ is regular?
    $endgroup$
    – Aryeh
    Apr 5 at 14:04






  • 1




    $begingroup$
    If there are infinitely many twin primes, how do you show that $L_TP$ is not context-free?
    $endgroup$
    – Emil Jeřábek
    Apr 5 at 14:48






  • 1




    $begingroup$
    Oh, sorry, I didn’t notice you represent the numbers in unary. Then it is clear. (I believe that proving this for binary representation would require a considerable progress on the twin primes conjecture.)
    $endgroup$
    – Emil Jeřábek
    Apr 5 at 15:28







  • 5




    $begingroup$
    On the contrary, Emil, the "standard" proof that the primes in binary are not context-free easily suffices to prove that every infinite set of primes is not context-free. So if there are infinitely many twin primes, the result is immediate.
    $endgroup$
    – Jeffrey Shallit
    Apr 5 at 17:21












  • 3




    $begingroup$
    Nice, thanks! But I'm not quite interested in languages that are linked to unknown conjectures about the (non)finiteness of some sets. BTW if those conjectures are true the resulting language is also regular :-)
    $endgroup$
    – Marzio De Biasi
    Apr 5 at 13:54










  • $begingroup$
    If there are infinitely many twin primes, how do you see that $L_TP$ is regular?
    $endgroup$
    – Aryeh
    Apr 5 at 14:04






  • 1




    $begingroup$
    If there are infinitely many twin primes, how do you show that $L_TP$ is not context-free?
    $endgroup$
    – Emil Jeřábek
    Apr 5 at 14:48






  • 1




    $begingroup$
    Oh, sorry, I didn’t notice you represent the numbers in unary. Then it is clear. (I believe that proving this for binary representation would require a considerable progress on the twin primes conjecture.)
    $endgroup$
    – Emil Jeřábek
    Apr 5 at 15:28







  • 5




    $begingroup$
    On the contrary, Emil, the "standard" proof that the primes in binary are not context-free easily suffices to prove that every infinite set of primes is not context-free. So if there are infinitely many twin primes, the result is immediate.
    $endgroup$
    – Jeffrey Shallit
    Apr 5 at 17:21







3




3




$begingroup$
Nice, thanks! But I'm not quite interested in languages that are linked to unknown conjectures about the (non)finiteness of some sets. BTW if those conjectures are true the resulting language is also regular :-)
$endgroup$
– Marzio De Biasi
Apr 5 at 13:54




$begingroup$
Nice, thanks! But I'm not quite interested in languages that are linked to unknown conjectures about the (non)finiteness of some sets. BTW if those conjectures are true the resulting language is also regular :-)
$endgroup$
– Marzio De Biasi
Apr 5 at 13:54












$begingroup$
If there are infinitely many twin primes, how do you see that $L_TP$ is regular?
$endgroup$
– Aryeh
Apr 5 at 14:04




$begingroup$
If there are infinitely many twin primes, how do you see that $L_TP$ is regular?
$endgroup$
– Aryeh
Apr 5 at 14:04




1




1




$begingroup$
If there are infinitely many twin primes, how do you show that $L_TP$ is not context-free?
$endgroup$
– Emil Jeřábek
Apr 5 at 14:48




$begingroup$
If there are infinitely many twin primes, how do you show that $L_TP$ is not context-free?
$endgroup$
– Emil Jeřábek
Apr 5 at 14:48




1




1




$begingroup$
Oh, sorry, I didn’t notice you represent the numbers in unary. Then it is clear. (I believe that proving this for binary representation would require a considerable progress on the twin primes conjecture.)
$endgroup$
– Emil Jeřábek
Apr 5 at 15:28





$begingroup$
Oh, sorry, I didn’t notice you represent the numbers in unary. Then it is clear. (I believe that proving this for binary representation would require a considerable progress on the twin primes conjecture.)
$endgroup$
– Emil Jeřábek
Apr 5 at 15:28





5




5




$begingroup$
On the contrary, Emil, the "standard" proof that the primes in binary are not context-free easily suffices to prove that every infinite set of primes is not context-free. So if there are infinitely many twin primes, the result is immediate.
$endgroup$
– Jeffrey Shallit
Apr 5 at 17:21




$begingroup$
On the contrary, Emil, the "standard" proof that the primes in binary are not context-free easily suffices to prove that every infinite set of primes is not context-free. So if there are infinitely many twin primes, the result is immediate.
$endgroup$
– Jeffrey Shallit
Apr 5 at 17:21

















draft saved

draft discarded
















































Thanks for contributing an answer to Theoretical Computer Science Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcstheory.stackexchange.com%2fquestions%2f42658%2flanguages-that-we-cannot-disprove-to-be-context-free%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

Why did Thanos need his ship to help him in the battle scene?Which actor plays Thanos in the Avengers mid-credits scene?Are there economic implications portrayed in comics where the buildings and cities are ruined almost daily?Old X-Men comic where team travels to alien world with a ring-like sun that needs recharging?Why does Ego need help sleeping?Is there an objective answer to who “the strongest Avenger” is?How did Banner get unstuck?Why did Thanos get hit?How did Thanos (or anyone) know the Infinity Stones would give him this power?Did Thanos leave Eitri alive for his after-sales service?In Avengers 1, why does Thanos need Loki?