by ykonstant · 2y ago · 0 comments
>Theoretical physics is highly mathematical, but it aims to explain and predict the real world. Theories that fail at this “explain/predict” task would ultimately be discarded. Analogously, I’d argue that the role of TCS is to explain/predict real-life computing.
as well as the emphasis on the difference between TCS in Europe and the US. I remember from the University of Crete that the professors all spent serious time in the labs coding and testing. Topics like Human-Computer Interaction, Operating Systems Research and lots of Hardware (VLSI etc) were core parts of the theoretical Computer Science research areas. This is why no UoC graduate could graduate without knowledge both in Algorithms and PL theory, for instance, AND circuit design (my experience is from 2002-2007).
I strongly believe that this breadth of concepts is essential to Computer Science, and the narrower emphasis of many US departments (not all) harms both the intellectual foundations and practical employment prospects of the graduate. [I will not debate this point online; I'll be happy to engage in hours long discussion in person]
Perhaps you're talking about the split between Electrical Engineering and Computer Science? That one isn't universal as some departments only offer EECS and not CS as a major, but when CS on its own is offered, "hardware" courses tend to be about microarchitecture, with practical work done using simulators. You're not required to know much of anything about electronics. But there is no program I'm aware of where a person can do nothing but math and get a CS degree. You have to write and test code.
Now, theoretical physics is a bit of a troubled child however in recent years.
If we map computer science aspects in not the four physics disciplines, we get:
Software / hardware engineering
Applied computer science
Theoretical computer science
Mathematics dealing with problems inspired by computer science
This isn't really true, is it? There are mathematical models that predict but do not explain the real world. The most glaring of them is the transmission of EM waves without a medium, and the particle/wave duality of matter. In the former case, there was a concerted attempt to prove existence of the medium (luminiferous aether) that failed and ended up being discarded - we accept now that no medium is required, but we don't know the physical process of how that works.
Methods for explaining why include Counterfactual inference and/or now quantum Causal interference.
All or some of quantum statistical mechanics, fluid dynamics, and quantum chaos intend to predict with lower error too
List of popular misconceptions and science > Science, technology, and mathematics : https://en.wikipedia.org/wiki/List_of_common_misconceptions :
> See also: Scientific misconceptions, Superseded theories in science, and List of topics characterized as pseudoscience
Allegory of the cave > See also,: https://en.wikipedia.org/wiki/Allegory_of_the_cave
The only true statement:
All models are wrong: https://en.wikipedia.org/wiki/All_models_are_wrong
Map–territory relation: https://en.wikipedia.org/wiki/Map%E2%80%93territory_relation :
> A frequent coda to "all models are wrong" is that "all models are wrong (but some are useful)," which emphasizes the proper framing of recognizing map–territory differences—that is, how and why they are important, what to do about them, and how to live with them properly. The point is not that all maps are useless; rather, the point is simply to maintain critical thinking about the discrepancies: whether or not they are either negligible or significant in each context, how to reduce them (thus iterating a map, or any other model, to become a better version of itself), and so on.
No this guy doesn’t get it. He doesn’t understand what science is.
In science nothing can be proven. If I say all swans are white as my hypothesis this statement can never be proven because I can never actually verify that I observed all swans. There may be some swan hidden on earth or in the universe that I haven’t seen. Since the universe is infinite in size I can never confirm ever that I’ve observed all swans.
However if I observe one black swan it means I falsified the entire hypothesis. Thus in science and in reality as we know it nothing can be proven… things can only be falsified.
Math on the other hand is different. Math is all about a made up universe where axioms are known absolutely. It has nothing to do with observation or evidence in the same way science does. Math is an imaginary game we play and in this game it is possible to prove things.
This proof is the domain of mathematics… not science. Physics is a science because it involves gathering evidence and attempting to falsify the hypothesis.
Einstein said it best: “No amount of experimentation can ever prove me right; a single experiment can prove me wrong”
Basically newtons laws of motion are a perfect example of falsification via experimentation with relativity later being confirmed as the more accurate theory that matches more with observation.
So what’s the deal with computer science?
First of all the term already hits the first nomenclature issue. Computer science is ironically not a science. It lives in the same axiomatic based world as mathematics and therefore things can be proven in computer science but not in science itself.
So this nomenclature issue is what’s confusing everyone. The op failed to identify that computer science isn’t actually a freaking science. Physics is a science but computer science isn’t.
So what is computer science? Sorry to say but it’s a math. I mean it’s all axioms and theorems. It’s technically math.
CS is a math in the same way algebra and geometry is math. Physics is a science and it is not a math. It’s a totally orthogonal comparison.
Your job as programmers is more like applied math. It’s completely orthogonal to the whole topic but People often get this mixed up. They start thinking that because programming is applied computer science then computer science itself is not a math.
Applied math ironically isn’t really math in the same way writing isn’t a pencil. Yes you use a pencil to write but they are not the same. Same thing with computer science and programming.
But I think there is also an etymological issue or something as well, which is causing additional confusion. Scientific theories aren’t proven of course, but they are proofed, in the same manner as when you pick up a breastplate from the blacksmith and note that it has a dent in it from where he shot it once. That’s the proof mark, the armor was tested by giving it a reasonably challenging test that is appropriate to the task it is intended for. Does this prove the armor is indestructible? No, of course not, as a physical device the armor has some finite limitations which could be overcome with enough gunpowder. But it is still reassuring.
Therefore I propose we clearly delineate between the two, by always spelling the logic thing with a ve and the “well, I tested it pretty hard and it didn’t break” thing with an f.
Newtonian physics was mostly mechanical engineering proof. It turns out electrical engineering, the study of fields and waves, that was a higher caliber. The standard model seems to be EE proof. But physicists are always constructing more energetic experiments.
- I proof the armor is solid
- That’s a mathematical prove.
Doesn’t sound right either imo.“The armor has been proofed” doesn’t look so bad. “The armor has been proven” actually looks a tiny bit more awkward to me because it brings in too much of the math meaning.
Prove as a noun, though, I agree it is a little awkward.
But this is a request to change the language (where are those filed?) so I guess we will get used to it if it goes through.
That fails as a scientific hypothesis on purely structural grounds, before you have made any observations. Scientific hypotheses have to explain something. It's not enough to say that all swans are white, you have to say why. "All swans are white" is an observation, not a (scientific) hypothesis.
An example of a legitimate scientific hypothesis is that all swans are white because being white provides swans with some benefit in terms of reproductive fitness (and then you have to go on to say what that benefit is). You can then go on to predict that there might be non-white swans, but that these are expected to be rare because evolutionary pressure would drive non-whiteness out of the gene pool. Or something like that. But "all swans are white" by itself is a non-starter as a scientific hypothesis.
Similar to formalization where we determine the grammatical rules of a language in linguistics or formalization of a physical system to develop models for by using the statistical definition of hypothesis I am doing the same technical extraction here.
Sure informal definitions of hypothesis are useful but formal models are also useful and thus a formal model of science as defined by statistics is useful as well.
I am not denying alternative definition of hypothesis.
I am just saying that for the rigorous categorization of the term “theoretical computer science” we find that it doesn’t fit into the rigorous definition of the scientific method. There is a clear delineation here. If you want to use other definitions where “usefulness” and “explanations” are a factor then what literally stops knitting from being a science? Knitting can be useful and technical in terms composing fabric together…. why isn’t it a science?
You see the issue here and why technicality or formalization is needed? Intuitively we know knitting isn’t a science but we aren’t sure technically why… The technical definition of science elucidates the reason why knitting is not a science… because knitting doesn’t involve hypothesis testing. Plain and simple. We discard fuzzy terms like “usefulness” and it ultimately becomes clear why knitting isn’t a science.
The other reason why the statistical definition of hypothesis is useful is because it helps us delineate categories for terms where our intuition fails and becomes ambiguous. We aren’t sure where “theoretical computer science” fits into terms of science or mathematics. Using technical definitions we find that theoretical computer science is actually a math and not a science.
If we use informal definitions then nobody is sure what computer science is. The mind is confused thinking it’s both a science and a math at the same time and the op starts to use analogies in attempt to justify certain categorizations. Any time you use analogies as proof you hit a sort of failure because analogies don’t prove anything. You need to use definitions as proof.
Hence the need for formal definition's. Your philosophers definition of hypothesis is unfortunately too informal.
Basically a hypothesis is a statement that can be true or false. That's it.
The reason I refer to science in this very technical way is because the we are tackling the problem of classification. We are asking the question what is computer science? So to answer the question we need to use very technical definitions where the boundaries of categorization are extremely clear.
Again, at a very technical level a hypothesis is simply a statement that is true or false.
> Basically a hypothesis is a statement that can be true or false. That's it.
No, a statement which can be true or false is just a proposition. The reason that we care about "why" is that a hypothesis has bearing on many falsifiable propositions. It's the difference between "the specific rock I dropped accelerated at 9.8 m/s^2" and Newton's law of universal gravitation.
No, that is a proposition, not a hypothesis.
And the requirement that hypotheses be explanatory has nothing to do with culture, it is the distinguishing feature of the scientific method. See: https://blog.rongarret.info/2024/03/a-clean-sheet-introducti...
But it must also be useful. We don't do science just to enumerate trivial true statements, after all.
To be useful it needs to predict things.
And when it's falsified (say your hypothesis explained why swans are white, but you found a black one), it doesn't get discarded immediately. It's still useful until someone comes up with a better hypothesis that fits with white swans and the occasional black swan.
Asking here because it is mostly on-topic: This phrase is repeated often, but shouldn't it actually be, "In science, a hypothesis is either fundamentally verifiable or fundamentally falsifiable, but never both"? The two simply being the logical negation of each other.
"All swans are white" is fundamentally falsifiable (by seeing a black swan) but not verifiable, as you described.
"Black swans exist" is fundamentally verifiable (by seeing a black swan), but not falsifiable.
Science has a word encompasses a broad variety of definitions and practices. The philosophical question of the relationship of empiricism to truth (because fundamentally the question has more to do with the relationship between observations and deductions than science in itself) is a complex one and overall of little interest to actual practitioners of science. It can’t easily be subsumed in broad aphorisms.
I would hazard that most modern sciences - and physics especially - are nowadays mostly concerned about building models and the resulting predictions. The question then often becomes: does the tool I have built allow me to correctly predict how observations will unfold? The answer to which is often more shades of grey than simply yes or no.
Because science depends on the external world, and there might always be hidden variables that we are not considering, it can only give us extremely high confidence after we make repeated observations using different methods, but it cannot give us the absolute confidence that Math can give us.
Also, this example of faulty telescopes is actually really close to what actually happened in the history of astronomy. Stars were thought to have a visible radius that made them appear to be much larger than the Sun, which was considered evidence that the Sun was not a regular star.
Here's an interesting thing. Even high confidence can't be verified.
Let's say you examined 10 million swans and you think you observed all possible swans. But there's no way you can know whether or not the actual population is 10 billion trillion swans or a google swans.
If you observed 10 million swans and they are all white but those swans could only represent 1/99999999999999 of all possible swans. Then that means your observation is low confidence and there's no way whether we can verify what fraction of the population our sample size represents.
So actually high confidence is just an assumption. At a very technical level the confidence that science brings to the table is very very weak. We are making tons of assumptions and jumping to conclusions all the time.
Science is about measuring, quantifying and qualifying uncertainty.
https://news.ycombinator.com/item?id=41851265
If you want to learn more look up Karl popper. It’s his philosophy.
In response to the other sibling replies I’m basically talking about science as in the scientific method. What are the limits of the scientific method in terms of determining truth?
One thing that isn’t addressed is fundamentally limited accuracy and precision of observational instruments. This actually makes things not falsifiable as well but I don’t talk about this because it complicates everything.
> In science nothing can be proven.
Who are you referring to? Nobody has mentioned anything about proven. Your entire comment is focused on arguing against science being proofs, but nobody has said science is proofs.
OP said that scientific theories should "explain and predict" which they should. Those that don't should be discarded eventually (which they should). Why are your discussing mathematical proofs of science when nobody brought it up nor proposed that?
- In science nothing can be proven.
- In math things can be proven.
From those two points above we know this: - computer science is not a science because you can prove things
- computer science is a kind of math because you can prove things
This goes fully against the ops main point that computer science isn’t math when it is. There’s a big nomenclature issue that confuses everyone, him and you, and it just throws everyone off in terms of clear categorical thinking. Namely, Computer science is not actually a science.You guys don’t understand what math is and you don’t understand what science is and thus you guys are classifying incorrectly that computer science isn’t a math and they are making a completely invalid comparison with physics which is actually a science.
If you start with the premise that computer science is math, of course you'll reach the conclusion that computer science is math. And that's why you're so surprised that anyone else can reach any other conclusion. But the issue is in your premise - that's what you need to re-examine.
The math portions of computer science are math - and the non math portions are not. Your argument is equivalent to saying that Europe is defined by the counties in that continent using GMT - and concluding "Of course Italy isn't in Europe!".
Parts of Computer Science (the theoretical parts) sit in formal science just like logic and math do. But parts of CS like applied CS don't. All of the hardware design and software falls into applied CS and eventually slides into pure engineering.
But CS also is more amorphous than many other disciplines. Parts of it almost touch up against behavioral science with its subfield of linguistics, and syntax and semantics of language. And a failure of CS over the past 50 years has been the utter lack of progress in empirical data around human modeling of computation. We still don't have any empirical framework for evaluating what languages or modeling approaches are more efficient than others, or even what makes a more efficient programing language. As a result that is stuck in alchemy and cargo culting.
Models of computation and information theory begin to intersect with the natural sciences n the realm of physics. Physicists begin to push up against what is computable by nature in a given region of space. And Quantum computation begins to redefine what the physical bounds are on computation.
Don't begin by looking at what math is - if you do then the only thing possible to conclude is that it's math . An informal definition you could begin with might be "The theory and application of tools (ie formal cs) and models (ie applied cs) that predict and explain behavior related to Computation"
How do you model the real world via computation? What are the limits of computation? How do you implement computation?
Computer Science is the study of all aspects of computation.
Some things can, some cannot (be either proven or shown to be false).
Engineering - Physics - Math
Computer Engineering - Computer Science
Notice that the second only has two steps? Engineering isn't really science, but there is a sort of science. Now one will be quick to point out that computer engineering does depend upon physics (and chemistry, and even a wee bit of biology and higher). But I think Computer Science is large enough in scope it contains true Computer Science, which is as much math as math is, but it also contains more real world test and verify parts of computing. Things that might be able to fit up under physics or chemistry, but which ended up being placed under computer science.
If we are talking a Turing machine, that is math (or something equivalent to math). If we are talking about how a compiler can optimize code by rewriting some things to be computational equivalent but to put operations in an order that most CPUs can run faster, that feels like we've stepped into science. We've overloaded the terminology and now have some linguistic debt that needs paying off.
I sometimes joke that my undergrad degree in Computer Science involved only a single class in Computer Science.
In theoretical computer science, design and analysis of algorithms is the study of algorithms as mathematical objects. The unfortunately named algorithm engineering is the science of algorithms. It deals with algorithms that are written in code and run on real computers. Among other things, it seeks to build models that can predict the performance of an algorithm without implementing and running it.
Then there is algorithmic economics (or whatever it's called today), which was a huge success for theoretical computer science. At least in some amoral sense. The microeconomic models it created enabled turning the internet into the ad-centric data-driven dystopia it currently is.
You don't define it this way in common parlance or even in articles. But you do need to heavily define it this way when categorizing things. If you don't do this you have a categorical mishmash where nothing is ever truly defined properly and filled with fuzzy meanings. See the word "entropy" there are at least 3 definitions for that word and these definitions confuse people and lead most people to not completely understand the concept of what entropy is EVEN at just an intuitive and fuzzy level.
I realize it appears that I'm being overly pedantic and inflexible but this is NOT the case.
To be flexible means you need to understand why language SHOULD NOT have rigid definitions in certain contexts but also WHY it should be extremely rigid and concrete in other contexts. You need BOTH. When it comes to categorization on what is "theoretical computer science" and other very technical topics we Need to have well defined categories and definitions.
The fuzziness of literature and poetry which remains open to interpretation has significantly lower utility in technical fields.
For example, distributed systems and networking are more like a physical science because they seek to make generalized learnings and theorems about real world systems.
The author’s last point around complexity theory also resonates because it demonstrates the value of designing experiments with real-world conditions like computing hardware speed and input sizes.
That’s not to discount the reality that mapping the model to reality is hard work that needs to be done.
[1] https://lamport.azurewebsites.net/tla/formal-methods-amazon....
The authors last point is basically like what applied math is to math. It’s applied computer science.
An amusing thing about a hypothesis like "all swans are white" is that if you do want to go around making observations to support it you don't actually need to observe any swans.
"All swans are white" is logically equivalent to "All non-white things are not swans". Thus you can gather observational evidence for the hypothesis by finding non-white things and checking if they are swans.
My monitor is not white, and I see it is not a swan. I've just made an observation in support of "all swans are white". I can make hundreds of such observations without even leaving my house.
I feel sorry for all those other swan color researchers who had to trudge around slimy rivers and mucky wetlands checking the colors of swans.
I think I first saw this in a Martin Gardner book. It is amusing, but actually there has been quite a bit of serious work among logicians and philosophers over this [1] since the logic seems correct but intuitively it seems you shouldn't be able to research swan color by looking around at the furniture in your house.
The negation and the original statement can’t be proven. They can only be falsified.
The reason why you can’t prove things in science is because reality is unbounded so at any point in time in the future you may observe something that contradicts the hypothesis.