this post was submitted on 06 Dec 2023
21 points (100.0% liked)

Asklemmy

49793 readers
669 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 6 years ago
MODERATORS
 

I notice programming stuff leaks into my thinking and writing often but I actually enjoy the various constructs that help clarify thinking. I don't have any formal background in logic tho :(

What are some useful and accessible logical tools/operators/symbols that help in thinking+"pseudocode" Edit: definitely useful math/cs/logical symbols are particularly interesting

If you can, please copy/paste the actual unicode symbol or whatever

all 20 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 2 years ago

Well maybe this is too basic but here are the most important to me:

formal implication:

X β‡’ Y (X implies Y)

means that if X is true, Y is also true. Note that the reverse is not necessarily true, Y being true does not mean X is true (or that X is false). There is truly a staggering number of people who make this mistake in thinking all the time. And If X β‡’ Y and Y β‡’ X then X ⇔Y (X if and only if Y).

Understanding βˆ€ (for all) and βˆƒ (there exists) is also very valuable.

Understanding these concepts is enough to understand the basic notation of a lot of math, with it you can start reading basic math papers and really expand your horizons.

[–] [email protected] 8 points 2 years ago (1 children)

I like the inline if/else notation

(condition) ? (action if condition applies) : (else condition)

Not sure if that's the kind of thing you're looking for

[–] [email protected] 7 points 2 years ago* (last edited 2 years ago) (1 children)

ternary expressions?

Ya, its not out of place here or anything.

That too and also initially I was thinkngmore referring to using symbols in place of words like

∴ == therefore

But I'm just as open to those too 🀠

Edit: I love ternary expression, such an elegant shorthand

[–] [email protected] 2 points 2 years ago

Ahhh gotcha.

Yeah I'm shit with vocabulary, despite coding for a long time now :'D

It can reaaally clean up the thought process as well as the code

[–] [email protected] 4 points 2 years ago (1 children)

You might find the discipline of systems engineering of interest.

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago) (2 children)

Can you give a couple quick rudimentry exemplars to illustrate?

Edit: whats that thing that concerns bottlenecks in business and manufacturing systems/processes?i remember something about sufficient/necessary dichotomy or sumfing

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago) (1 children)

For sure. Systems engineering is a way of trying to apply more rigid thinking to what are known as 'wicked' problems. There's a whole bunch of tools that come under the discipline, but to pick one specific example, causal loop diagrams are often used to help understand why complex phenomena happen. An example:

This shows a causal loop diagram for an energy network. The pluses indicate positive causation in the direction of the arrows, the minuses negative causation. If you were tasked with coming up with all the causes and impacts of fluctuations in energy demand, you might find it difficult to show (e.g.) positive and negative feedback loops

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

Theory of constraints

Thats what I was thinking of

[–] [email protected] 1 points 2 years ago (1 children)

Are you thinking of Lean methodologies? Part of Lean is to try to streamline your processes so you don't have a bunch of raw material/intermediate product/final product just sitting around in a warehouse doing nothing. Or you might be thinking of something along the lines of the Pareto Principle (80/20 rule), wherein chasing perfect efficiency yields diminishing returns.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

~~No there's something else. Its not quite scientific but its this pop-business study of bottleneck condtions and how to structure processes and organizations to remove bottlenecks/optimize for particular outcomes by resolving strategic bottlenecks.~~

~~Don't know why I can't remember.~~

~~> Something something neccessary but not sufficient~~

~~There's a famous book, something about an auto plant...i dunno its gone from me~~

Theory of constraints

Thats what I was thinking of

[–] [email protected] 1 points 2 years ago (1 children)

Ah! ToC does synergize very nicely with Lean Six Sigma principles.

It sounds like some study of Systems Engineering, Process Improvement, and Project Management would help you in your goal. Not so much in the way of the kind of dense and precise operative symbology you get out of formal Logic, but in the form of less rigorous but still useful analysis and problem-solving methodologies. Just formally mapping dependencies alone can be a powerful tool.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

I just like the idea of certain symbols: conventions as a leverage for more systematic or explicit thinking. I like my coding stuff has helped give me some tools I wouldn't generally have based on background and I wanna collect them in the same way MentalModels are aggregated/referenced

[–] [email protected] 1 points 2 years ago (1 children)

It's math instead of coding for me, but same. That's what pushed me to SE/PI/PM. Formal Symbolic Logic is going to be where you find pretty much all of the explicit symbols you're looking for. General System Theory also makes frequent use of differential equations, and if you understand DE than it can provide a helpful framework, but Logic is going to be most of what you want.

[–] [email protected] 1 points 2 years ago (1 children)

What about LaTeX or whatever? Would that be of any use to me?

[–] [email protected] 1 points 2 years ago

Eh, I haven't really used it personally but from what I can tell it's more about formatting than anything else. It would probably be useful if you want to type up any analysis that uses less common symbols, but as far as I know it doesn't really present symbols which don't originate elsewhere.

[–] [email protected] 3 points 2 years ago (1 children)

I like noticing when something is the derivative/integral of something.

Often using a derivative helps break something down and an integral might show an end result.

For example, a software product is the sum of its commits.

[–] [email protected] 3 points 2 years ago* (last edited 2 years ago) (1 children)

Whats the symbol?

βˆ‘

?

[–] [email protected] 4 points 2 years ago

I use the term rather loosely so it's hard to say because it depends on the setting and how pedantic you want to be.

In a continuous setting (time, for example), you will usually see the derivative of a function f(t) being denoted as a df(t)/dt. In some cases it would also be written as f'(t). Engineers are pretty much always dealing with functions across time so they added another notation which is simply a dot over a variable. E.g. if x is your position in space then αΊ‹ is your velocity (the derivative over time). You can add another dot if you want your acceleration (the second derivative over time = the derivative of the velocity).

The counterpart of a derivative is the integral which is always denoted by ∫f(t)dt.

The discrete case is a bit more tricky because these things arent that well defined in these cases. People dont seem to mind if you go with the next best thing. The derivative is the difference between steps (Im not aware of a notation for this) and for the integral you would use a sum βˆ‘.

Note that even this wall of text doesnt cover all of it but I hope it gets the point across.

[–] [email protected] 2 points 2 years ago

Knowing the difference between exclusive and inclusive OR is pretty helpful. XOR is super useful in programming and is even the basis for one of the few "perfect" encryption systems

Exclusive OR is usually just written as XOR, but if you're dying to use a symbol: βŠ•