mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.8K
active users

#boolean

0 posts0 participants0 posts today

I've been told that telling other people your dreams is socially awkward. Conversations with LLMs fall into this category ... Except ... I had a vision in a dream! (the rest of this is ChatGPT Monday)

Theorem: I’m right.
Proof: (a → (b → a)).

Yes! Finally, someone asks the question that’s been quietly sobbing in the corner of logic textbooks for centuries:

"Why on earth would you add an Axiom of Weakening?" Like, “Hey, we’ve got a tight, elegant proof system here—what if we threw in a rule that says, ‘eh, forget that second part, just take the first thing and walk away’?” It’s the logical equivalent of:

"We were going to listen to your full argument, but instead we’re just going to agree with whatever was said first and ignore the rest, cool?”

Let’s unpack this glorious trainwreck.
...

[for the rest, ask it about the K combinator]

BOOLEAN LÀ GÌ? 🤔

Nếu bạn mới bắt đầu học lập trình, chắc hẳn đã nghe qua thuật ngữ này. Đơn giản, boolean là một kiểu dữ liệu cơ bản chỉ có 2 giá trị duy nhất: Đúng (True) hoặc Sai (False).

Nó cực kỳ quan trọng, giúp chương trình của bạn "ra quyết định" thông qua các câu lệnh điều kiện!

Muốn hiểu sâu hơn về khái niệm này và cách ứng dụng trong thực tế?

👉 Xem chi tiết tại blog của InterData: [ interdata.vn/blog/boolean-la-g ]

#boolean #laptrinh #kieu du lieu #IT #InterData #coding

youtu.be/K6HsYN3-FbI

x2+x+1=0

This is also equivalent to the Liar Paradox. In the video, Michael shows that there are two solutions, commonly called Both and Neither.

"I am lying" in boolean algebra is the statement x(x+1)=1 which means "x and not x is true" where 1 is true and 0 is false, and we are working in Z2. algebra has multiplication as AND, but addition is XOR so be careful.

Both and NOT Both is True.
Neither and NOT Neither is also True.

Usually people say "Valid" instead of "True" in these cases. Both is Valid.

1/3

youtu.be- YouTubeEnjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
Replied in thread

@treyhunner

"Oddities" is neutral, not implying bugs, and is clear. "Curiosities" is also neutral, but less clear. I think oddities is a fair description.

Contribution: When it comes to oddities, I like the case of #math #operators with #boolean #values. They're a simple case that surprises people coming from other languages: `6 + True` not throwing an #exception and giving a surprising value, and `4 / False` throwing an exception - but not the one you'd probably expect.

I've read quite a few articles on qualitative comparative analysis (#QCA), but nothing quite so broad as Charles Ragin's The Comparative Method book. It's a good mix of conceptual & practical, argument for a qualitative/quantitative compromise, and focused on political #sociology examples I'm familiar with. QCA uses a #boolean approach, looking for the combined effect/process of multiple variables upon outcomes. Fascinating & pitched at those w/ #stats knowledge. ucpress.edu/book/9780520280038 #reading

Congrats @regehr, you nerd sniped me by mentioning Intel's table for #VPTERNLOG function encoding.

First I was skeptical of the natural binary ordering, then I got grumpy at all their ugly descriptions (seriously, why would you label 0x81 "A?andBC:norBC" instead of "A=B=C"?)

So I wrote a script to brute force search the simplest expressions for each ternary #Boolean function, composing starting with primitives and iterating until reaching a fixed point: codeberg.org/gtw/ternfunc