Better HN
topnewbestaskshowjobs
Log inSign up

ImprobableTruth

1,706 karma · joined Dec 9, 2019 (6y ago) · 623 submissions

Submissions

comment 5y ago · link · parent

Well, it also affects certain AMD and ARM processors as far as I know, I was just talking about a specific example. If software can be exploited because of a bug in hardware, I think it only makes sense to assign liability to the hardware company.

comment 5y ago · link · parent

>Because chances are the the formal spec itself won't be perfect

It's not about creating 'perfect software', but about holding developers accountable. If a customer accepts a contract with a faulty spec, that's on them, not the developer.

>But even if it is you still have to worry about every layer below you in the software stack on top of the hardware. You might do everything perfectly at great cost and it all gets rendered moot by spectre/meltdown/rowhammer etc.

So what? It's not your fault. There's only one party that should be held liable for spectre, Intel.

comment 5y ago · link · parent

What's the issue with requiring a formal spec and being liable for deviations from it? Though obviously this would have to be restricted to certain areas.

comment 5y ago · link · parent

>So it's really more of an issue of presentation? The techniques are fine?

Well, both techniques are ultimately just a way of representing natural deduction (for a different proof calculus that isn't closely related to natural deduction you'll definitely need different techniques). Proof terms are the representation you get from the Curry-Howard Isomorphism (essentially the derivation is left implicit since it is unambiguous), while tactics based proofs are approximations of traditional proofs written in prose.

Are they 'fine'? Well, maybe there's some amazing graph-based way that will make current approaches look completely inadequate, but at the moment they work and we just don't know any better way.

>I don't understand. I rarely work with it, but I was under the impression that it's pretty standard for writing math and science papers? Are there no WYSIWYG tools for working with rendered LaTeX? How do people work with it now, I guess is what I'm asking.

It's definitely the standard, but I personally don't find working with diagrams in it pleasant (though I know some disagree). WSYIWYG tools exist, but don't find much usage. Everyone I know simply has a preview window open right next to their latex code, so it's not really an 'interactive' process. If you're fine with that, I'd just recommend generating latex code from proof objects/tactics scripts (which there already is some work on as far as I know). You should be able to generate e.g. proof trees very easily, they'll just be massive.

>I guess the question I have is why does no one use them? Is it just inertia? I mean this is a thread about promoting the use of Lean et. al., so even the non-graphical, well-known tools are still kind of a niche, no?

I imagine it's a combination of all sorts of factors. Proof assistants are very niche, the community is very academic and proof assistants require a lot of infrastructure which is why most users are concentrated among a handful of proof assistants. Proof assistants using dependent types (such as Lean) are also programming languages which I think naturally biases them towards text.

>Are graphical proof assistants only good for students and teaching, not "heavy lifting"?

I don't see any reason why that should fundamentally need to be - but I think the same applies to visual programming languages, which are essentially stuck in the same position for whatever reason.

>In any event, I still feel that we can do better on the presentation side of things. (That's not controversial is it? The Lean folks are working on it?) I want to understand what kinds of software would help mathematicians.

I don't think this is controversial at all - _how_ to improve presentation on the other hand might be.

>In the meantime, externalizing and formalizing these subjective intuitive processes with the machinery we've got seems like a fun and useful challenge, eh?

Sure, but anything beyond very incremental improvements also strike me as very hard, so it's not an area where I would expect much change for now, especially because there's still a good amount of low-hanging fruit in the area of proof assistants.

comment 5y ago · link · parent

> Hmm... If not proof trees, what?

I don't know. Both tactics and proof terms are already quite old (for CS concepts, that is) and there hasn't been any real competition, so I imagine in the medium-term we'll just see refinements of them.

>LaTeX is text. (I'm not being snarky.)

I can't imagine anyone wanting to read latex source code over tactics/proof term code. Unless you're talking about rendered latex? But that's not something people can realistically work with. Graphical proof assistants exist, but nobody uses them. For better or worse, plain text is simply king.

>The key might be in formalizing the subjective processes like what was described starting here:

In a sense, tactics are a very weak form of this. Instead of just describing a proof as its structured in the system, they allow a proof author to also describe some of their intent or intuition. It's definitely why some people prefer tactics based proofs. I imagine we'll see some attempts to incorporate some more of this into proof terms, but I don't know how successful this will be.

But honestly, I can't even imagine would formalizing something so subjective would even look beyond this. I'm not sure if it's even possible. If it is, I imagine it's going to be a radical departure from everything we know.

comment 5y ago · link · parent

But the key difference between Mizar style proofs and Coq/Lean style proofs is just that the former is declarative and the latter is procedural. They're both ultimately just tactics based. Sure, a declarative style is nice when reasoning about equations, but otherwise the proofs simply degenerate into awkwardly written procedural tactics proofs.

comment 5y ago · link · parent

Proof trees just become unmanageable for anything but trivial example and not only that, their biggest benefit - knowing which rule is applied, doesn't get you much for a dependent type system. Not to mention that any format that isn't just strictly text is probably doomed to fail from the start.

If you want essentially a text version of proof trees, just write fully annotated terms for your proofs. I think you'll quickly see that this just tends to make the proof _less_ readable because they become incredibly bloated.

comment 5y ago · link · parent

... because Catherine West left for personal reasons and so it was easier to shift the project over to their existing and already working C++ engine (that they were continuously developing and using, so they didn't really 'go back').

comment 5y ago · link · parent

... if you model it that way you're not using cyclic dependencies at all and this is in fact exactly how you would model it in a functional way.

comment 5y ago · link · parent

For all I know most things I know about China could be wrong - I'm certain that a lot of it is (seeing our media uncritically reporting the Adrian Zenz stuff has been mindblowing), but how could I possibly know whether something is true when there is so much disinfo going around? Like, what gives you the confidence that you're not just being fed propaganda yourself?

comment 5y ago · link · parent

I assume the point is that they normally don't ban for harassment? (or at least they're doing a really poor job on it)

comment 5y ago · link · parent

I think the point is that no company will ever willingly choose to make less money unless they're forced to.

comment 5y ago · link · parent

Do you mean 'responsible'? I don't see how they could possibly be held liable.

comment 5y ago · link · parent

I don't understand what policy you would want in regards to sexual predators. The recidivism rate for pedophiles is e.g. 14% after 5 years, 24% after 15 years.

Does that mean we should just lock them up forever? Or do you really think having someone like that live next to children is a necessary gamble?

comment 5y ago · link · parent

I think it's actually rather sad. I think there is a good chance that these in my opinion very important technologies will get a bad reputation because of this.

comment 5y ago · link · parent

I don't know whether this also applies to ActivityPub, but with Matrix it's similar to e-mail. If you use an identifier supplied by your instance, you run into the issue of having to tell people your new address. If you use your own domain as an identifier, you can simply redirect it to another instance if you switch.

comment 5y ago · link · parent

Do you not understand how comment threads works? I didn't drill down on the original person (because while I disagree with them, they're willing to accept the logical conclusions of their justification), but on someone who insisted that my statement was absurd, even after I repeatedly tried clarifying it.

What a waste of time.

comment 5y ago · link · parent

What? This isn't about whether rules are good, they said that the rules prevent a slippery slope, which is obviously bunk.

comment 5y ago · link · parent

I can't tell if you're trolling. They literally even themselves responded saying that while they wouldn't approve, they think it's something the company should be allowed to do. If you can't understand the difference, that's on you.

comment 5y ago · link · parent

No, not 'they're going to', but it's possible that it may happen and the fact that people don't care and just shrug this off (or even say that this is how it should be!) scares me.

comment 5y ago · link · parent

>They don't need to change the rules. AWS can already terminate you at any point

That is literally my point, the 'rules' don't matter. The post that I responded to claimed that somehow there was no slippery slope here because they have rules after all.

>Amazon is a business, and can choose to do business with just about anyone they'd like

Well, that's how it currently is, but this doesn't apply to all businesses. An electric provider can't just cut you off because they don't like you, maybe it'd be a good idea to implement something similar for services that provide equally critical digital infrastructure?

comment 5y ago · link · parent

Do you expect me to copy paste a full proposal under every single comment?

But I'll indulge you: Regulate these companies like public utility. Make laws that specify which content is not allowed (e.g. no hateful content, or whatever) and let the courts be the arbiter.

comment 5y ago · link · parent

For 'normal' companies this definitely would be absurd, but I think a good amount of these incredibly large companies should essentially be regulated as a public utility.

>Unless you're suggesting government should just ban hate speech?

For 'published' speech that is, essentially like libel. I know that censorship laws can be dangerous, but it realistically just strikes me as the lesser evil. You evidently can't just let that stuff openly fester, but I simply can't imagine a situation where the government would suppress 'good' speech but a company with equal power wouldn't.

comment 5y ago · link · parent

>That is a completely absurd false equivalence.

Except it's not an equivalence at all. I'm simply saying (and evidently correctly at that), that your justification would also apply to this other situation.

> It would be a dumb decision, as it would turn away a huge number of their customers, but it would be within their rights.

Well, that's where I totally disagree. The vast, vast majority of customers wouldn't be in violation of it, so they have nothing to gain from switching and morality is at best an afterthought.

comment 5y ago · link · parent

No, you just seem to think for some reason that "justifying kicking off people generally thought of as good" means approving of this action.

They're not saying that kicking off people critical of them is good (i.e. something they personally approve of), but they're saying that it's reasonable.

comment 5y ago · link · parent

I don't doubt that these companies are acting in their own best interest, if I was in their position I probably would have done the same (well, actually I probably would have done it a whole lot earlier), but that doesn't mean that it's great that corporations have this power. Hell, the fact that these companies are likely actually just doing all this because it's better for their bottom line makes me actually _less_ trusting of them.

Hate speech is definitely an issue, but I want the government, who are democratically elected and (should) serve the people, to take care of it.

Anti-monopoly efforts are nice, but the required scale of them seems incredibly unrealistic for anything that isn't far off into the future. Especially because it seems likely that for internet companies other countries would simply step in (unless you put up some china like internet firewall...).

comment 5y ago · link · parent

Except that's not at all what I said. I actually chose that example because I think the vast majority of people wouldn't approve it.

They're arguing that this action is fine because they own the platform, so they can kick off whoever they want to. Do they accept that this also includes justifying kicking off people generally thought of as good?

comment 5y ago · link · parent

So you'd be fine with platforms purging anything critical of them?

I guess in theory I wouldn't have an issue with that, but in practice a lot most of the time there isn't really an alternative.

comment 5y ago · link · parent

Why would you assume that Amazon is only ever going to stick to that? It's a self-imposed set of rules. What's stopping them from just changing the rules if they want to e.g. block sites critical of how they treat their workers?

comment 5y ago · link · parent

> It is both more impressive and more useful if one is able to create abstractions in mechanical sympathy with idiomatic uses of existing languages.

... so, EDSLs?

1
131415
21