Hacker Newsnew | past | comments | ask | show | jobs | submit | imadr's commentslogin

P=NP -> 3SAT has a polynomial time algorithm

P=/=NP -> 3SAT has no polynomial-time algorithm

ETH is true -> 3SAT has no subexponential time algorithm

ETH is false -> 3SAT has a subexponential time algorithm

------

ETH true -> P=/=NP

ETH false (!!!) -> P ?= NP remain unsolved


No I get that, but I don't get how proving 3SAT can be proved in subexponential time does not imply all NP-complete problems can be as well, since they can all be reduced to 3SAT in polynomial time.


Suppose 3SAT can be solved in 2^(n^0.9) time (this is not the actual bound in paper). And another NP problem can be reduced to 3SAT in polynomial time, but the reduction increases the problem size from n to n^2. Then after the reduction the other NP problem can solved in 2^(n^1.8) time, so it does not mean all np problems are sub exponential.


Hey, this is a common error. (2^(n^0.9))^2 is not 2^(n^1.8) but 2^(2 * n^0.9).


Apologies, I'm incorrect. I misread your math.


Suppose 3sat is solved in 2^sqrt(n). That's subexponential. An n^2 reduction from sat to 3sat is polynomial. However, an algorithm using this reduction with the discovered solution, would run in (2^sqrt(n))^2 which is just 2^n.


(2^sqrt(n))^2 = 2^sqrt(n) * 2^sqrt(n) = 2^(sqrt(n) + sqrt(n)) = 2^(2 sqrt(n))

but

2^(sqrt(n)^2) = 2^n


That last statement is not correct. (2^sqrt(n))^2 equals 2^(2 * sqrt(n)). If you just take n=1 in your expression you can see the error, your (2^sqrt(n))^2 yields 4, while 2^n is just 2.


Yeah but you're fixing the wrong thing. The problem after reduction to 3sat is (2^sqrt(n^2)). The altered n becomes the input to 3sat.

This also means your other comment here is wrong to suggest any error: https://news.ycombinator.com/item?id=50254142


I was just correcting the statement as written. I see they meant to say something else. You are correct about my other comment--I was in a misdirected, math-correcting rage.


...that's...not how exponents work


The result is right, they wrote the parentheses in the wrong spot, don't be so shocked.


Basically 3SAT algo isn't sub-exponential enough to absorb the arbitrary poly cost for the reduction

So 3SAT+poly reduction ends up being exponential


Gotcha, thanks


To achieve this you would need to show that 3SAT is solvable in 2^{n^c} time for every c>0, not just a single c<1.

In this case they have c = 1-0.5(\log \log n)/(\log n) which is approaching 1 for large n.


Misunderstood your question sorry, I have no idea!


What part of "math is the process of humans understanding math" did you not understand or agree with?


I'm on the side of human understanding being fundamental to mathematics, but I'll try arguing from the other side.

If we consider the reductionist view that "math is just a tool" to solve problems, and machines can generate new tools that are actually useful, then it can be argued that we don't need to understand how those tools work internally for us to benefit from its usefulness.

My hope is that such a view is given its proper place as a worthy pursuit but that it does not consume the entirety of the field of mathematics as a human activity with culture, philosophy, and art. And I feel the same for the field of software.


Is no one tired else of these repetitive, obviously Claude-made webdesigns?



Is it the em dashes? I didn't get the feeling it was AI generated at all


It's current year, of course they used AI to help [0], and it does feel like the article was AI assited.

"This map isn't flat — it has 5 levels of elevation."

"The ocean isn't just a blue plane — it has animated caustic sparkles"

"The fundamental issue:" and "The key constraint:"

I still enjoyed the article.

[0] https://github.com/felixturner/hex-map-wfc/commit/1679be


At what point is this style going to become human style? Kids use LLMs to learn, pick up their patterns, repeat them.


just a quick example from the backtracking section:

"Here's the dirty secret of WFC: it fails. A lot. You make a series of random choices, propagate constraints, and eventually back yourself into a corner where some cell has zero valid options left. Congratulations, the puzzle is unsolvable."


Besides what others said. The "The Numbers" section is a dead giveaway. LLM likes to generate random summary stats in a metrics grid without any prompting.


Yes and? Let's suppose your statement is 100% true, I genuinely don't see the point of these kinds of comments.

Why every time some person/group of people enact an anti-LLM policy in their project, other people feel the personal need to stress how useful LLMs are and how that project is bound to fail if they don't use it?

Postmarketos clearly exists and works, EVEN if LLMs were absolutely perfect for speeding up development ten folds, is there any absolute moral necessity to use them?

Also isn't this just moving the goalpost that LLM fanatics love to point out?


> Postmarketos clearly exists and works, EVEN if LLMs were absolutely perfect for speeding up development ten folds, is there any absolute moral necessity to use them?

There's no moral necessity, but if you want to survive as a project moving forward, you'll have less and less velocity compared to projects using LLMs, so you'll eventually shrink and die as a project, because less people will contribute to a project that gets less features and bug fixes.

I don't understand why these projects have such a strong "moral" stance of "no AI ever", and instead they don't deploy LLMs to automatically review PRs based on their own guidelines, so that if the contribution is valuable, it gets through no matter if it was written by an LLM or not.


compared to what other projects?


Mine was more a generic argument against the "ban all AI" stance that I've recently seen pop up more often.

At the moment, there isn't another project (that I know of) like PostmarketOS filling the same niche. If a new project were to appear, and were using LLMs, it'd likely progress faster.

Regardless, I've had success with LLMs and while I understand the maintainers' concern, if used properly they're a powerful tool to quickly iterate on huge amounts of information. They could be used to automate reviews of the spam of low-quality PRs, for instance (if they were to materialize).

But having read their policy page, their stance is more on ethical grounds, not moral: https://docs.postmarketos.org/policies-and-processes/develop... . So while I still stand by my argument in the general case, here it's not applicable, and while I see their ethical concerns, one project boycotting a tool doesn't really fix the systemic issues they mention.


I'm not sure it would progress faster for this project


I'm pointing out that their expectation of AI-free OS is pointless.

Because AI-assisted code is most probably already present in devices they use.

And I dare say that even for PostmarktOS:

1) There's no way they can prevent AI-assisted code to reach their codebase.

2) They will most probably change this policy in the future lest other forks/projects outpace them in terms of utility and they get reduced to a carriage in a car world.


The stance is not to 'prevent AI-assisted code to reach their codebase.' It's not like AI-assisted code is literally poisonous and their codebase dies if touched.

The stance is to deter random vibe-coders trying to resume-max by submitting PRs to known open source projects. There are so many of them rn. Hopefully by making it clear (some of) them will realize doing that is just wasting their tokens.


I understand there's an avalanche of vibe slop PRs.

But to be clear their AI instance is as clear-cut as can be. Their instance IS INDEED to "prevent AI-assisted code to reach their codebase".

> The following is not allowed in postmarketOS:

> Submitting contributions fully or in part created by generative AI tools to postmarketOS.

source: https://docs.postmarketos.org/policies-and-processes/develop...


[flagged]


No need to call names. And I don't understand your point. Are you calling their rules impossible to enforce?

As per their rules, their instance is not only against entire PRs but any AI assisted code.


I like your style! Reminds me of https://usgraphics.com/


What does this even do? Read most of the page but still didn't understand the project actually is


It's a bunch of markdown files.


The roughness reflection slider thingy is trivial to generate with any LLM, however you should try generating the BRDF illustration with:

- 3d primitives (arrows, hemisphere)

- billboarded text rendering

- mouse interaction/canvas rendering that works for multiple scenes

It might be possible to vibe code but you’ll hit a wall of complexity really quick


Yes, in rendering when we talk about “diffuse” reflection we implicitly mean fuzzy reflections due to light penetrating the material and exiting a small distance away from the entry point (less than a pixel far)

The term subsurface scattering is used for light that exits further away (more than a pixel) like in simulations of human skin

However that part of the article isn’t clear enough and warrants a rewrite


If i’m not mistaken that’s in part how they came up with micro facet models, or at least to verify their accuracy. Take this paper for example https://www.cs.cornell.edu/~srm/publications/EGSR07-btdf.pdf

Real life measures are also useful for inverse rendering.


Interesting link, thank you!

It looks like a good model for lower incident angles but begins to diverse at higher angles. There's also one huge caveat - it relates the GGX model to real world ground glass. Obviously it's important to compare like to like. However, very few materials in the real world are ground glass.

Looking around my surroundings, I see painted drywall, wood, paper, plastics, and textiles. It would seemingly be a mistake to assume each of these materials behaved optically like ground glass. I hope that similar measurements are carried out on other materials.


The same Cornell group has done more research in this area. Here is one for capturing the microgeometry of metals https://www.cs.cornell.edu/Projects/metalappearance/ Here's another paper from a different group on capturing the microgeometry using a lot of LED lights https://svbrdf.github.io/publications/MicroLightStage/Micros...

But I agree there should be a lot more work in this area!!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: