this post was submitted on 15 Nov 2025
59 points (95.4% liked)

Math Memes

3879 readers
101 users here now

Memes related to mathematics.

Rules:
1: Memes must be related to mathematics in some way.
2: No bigotry of any kind.

founded 3 years ago
MODERATORS
top 15 comments
sorted by: hot top controversial new old
[–] november@piefed.blahaj.zone 26 points 8 months ago (4 children)

Not sure about number 2. You can have two folders that have identical contents but aren't the same folder. I don't think anyone would reasonably use the word "equal" to describe that situation.

[–] whimsy@lemmy.zip 14 points 8 months ago (1 children)

Yep, they'd have different inodes. But one could argue about the definition of equality...

Nonetheless, a very interesting post!

[–] pixeltree@lemmy.blahaj.zone 2 points 8 months ago

Java coming in with the == vs .equals()

[–] lemmyng@piefed.ca 10 points 8 months ago

The two folders' . would be different.

[–] falcunculus@jlai.lu 8 points 8 months ago

In computer science this difference is called value types vs identity types. Value types are "equal" if their value is the same whereas, identity types are "equal" if they are the same actual instance. So what "equal" means changes.

For instance (using fantasy syntax), new Vector(1,2) == new Vector(1,2) as they are conceptually the same object, but new Person ("John Smith") ≠ new Person ("John Smith") as two persons can be different people even of they share their name, so they cannot be assumed to be the same.

I have no idea how this maps to actual math though.

[–] lastunusedusername2@sh.itjust.works 5 points 8 months ago (1 children)

But is it the "same" file or just an identical one?

[–] Slotos@feddit.nl 2 points 8 months ago

If you tar the contents of the two, you’d be unable to attribute the archives to any specific one.

[–] ns1@feddit.uk 15 points 8 months ago (2 children)

The one that's most obviously wrong is no. 4, which I think is meant to be the axiom of infinity, as this would imply every filesystem has a folder with an unlimited number of files. Probably several others have issues as well.

But maybe you can get around it if you imagine an idealised infinite linux filesystem rather than an actual real example!

[–] bleistift2@sopuli.xyz 5 points 8 months ago (1 children)

5 is bogus, too. You can’t create a folder by copying files into a[n already existing?] directory.

[–] siriusmart@lemmy.world 2 points 8 months ago (1 children)

i was trying to say this command

mkdir union
cp -rf A/* union
cp -rf B/* union

would create the union folder

[–] bleistift2@sopuli.xyz 1 points 8 months ago

Oh. Your original 5th axiom didn’t mention unions.

[–] siriusmart@lemmy.world 2 points 8 months ago (1 children)

oh 8 is the axiom of infinity, 4 is the pair set axiom

[–] ns1@feddit.uk 1 points 8 months ago (1 children)

Ah that makes sense thanks. It's cool how symlinks can give a kind of infinity.

Is this OC? I didn't realise at first, it's a fun idea well researched.

[–] siriusmart@lemmy.world 2 points 8 months ago

yeah its OC

"Math isn't useful"