46
submitted 1 day ago by Neptr to c/onehundredninetysix

cross-posted from: https://toast.ooo/post/14722634

type theory meme

top 11 comments
sorted by: hot top controversial new old
[-] anothercatgirl 2 points 11 hours ago

reminds me of quantity calculus, which is when type theory meets physicists like Fourier and Maxwell and Kelvin https://en.wikipedia.org/wiki/Quantity_calculus

[-] edinbruh@feddit.it 22 points 1 day ago

Oooooohhh! That's my field of study!

So, you know how in programming you have data types (like int, float, structs etc...) well, they are actually math.

In math, more specifically in logics, there's these things called "judgement derivation systems". They are basically sets of rules that tells you if you can derive a judgement, from a set of hypothetical judgement. The most notorious are sequent calculus and natural deduction. Both are used to determine if a logic formula is consequence of a set of hypothesis.

You see, one day Mr Howard wrote to Mr Curry: "I was working on a type system for lambda calculus, and I noticed it kinda look like natural deduction" and curry answered: "wow, that's cool, I'll tell you more, a type system for this other thing kinda looks like combinatory logics" and then they both went "could it be that every type system is actually a logic deduction system, and every logic deduction system is actually a type system?" And this is what modern type theory (and theorem provers) are based on.

Now, formal type systems are often defined as judgement systems. More specifically, they look like sequent calculus, and they use a "context" object, which is often identified with the letter gamma.

[-] strawberry_enjoyer42 16 points 1 day ago

Not to be that person, but...

Don't worry, it happens to the best of us.

Humour aside, I actually found it very interesting to read, despite not quite understanding it fully. I might give it a more thorough read later.

[-] edinbruh@feddit.it 6 points 19 hours ago

I was aware of that, but I didn't want to do a full write-up from zero knowledge to type theory...

Maybe I'll do it later tho. Because I enjoy explaining this stuff.

Anyway, despite the comedic delivery, that comment should give a 1st year CS student all the keywords they need to research the subject. Especially the letters between Curry and Howard, which are referred to as the "Curry-Howard correspondence"

[-] strawberry_enjoyer42 3 points 16 hours ago* (last edited 16 hours ago)

I was joking, a bit. It's not like you can explain all of it in one random comment.

Aghhh! I wanna get a cs degree, but I had to switch programs for r e a s o n s. Maybe I could get one after my associate's degree.

[-] xkbx@startrek.website 8 points 1 day ago

I think they said programming was math

[-] espurr@sopuli.xyz 2 points 19 hours ago

I'm really good at math

[-] Smorty 7 points 1 day ago

everything hits the tokenizer at some point 💀 which is where all data meets their maker.

  • a palm tree? 🌴 oh u mean generic tree with fancy leaves? 🌳❇️
  • a chair? 🪑 oh u mean symbols arranged chair-wise?
  • a heartfelt message to your crush? 💖 oh u mean char[]? (characters stringed together in a sequence)
  • a wonderful picture? u mean a list of colors and a columns count?

everything loses detail after the tokenizer.

[-] lfox02 2 points 14 hours ago

Behold, a man! - ChatGPT

a wonderful picture? u mean a list of colors and a columns count?

Isn't that all digital photography anyway?

[-] Smorty 2 points 12 hours ago

ye that was kinda the point i was trynna to make

what up with that chatbot?

[-] schildfrosch@feddit.org 3 points 1 day ago

i have found my people. there are dozens of us!

this post was submitted on 25 Jun 2026
46 points (100.0% liked)

196

6429 readers
1265 users here now

Community Rules

You must post before you leave

Be nice. Assume others have good intent (within reason).

Block or ignore posts, comments, and users that irritate you in some way rather than engaging. Report if they are actually breaking community rules.

Use content warnings and/or mark as NSFW when appropriate. Most posts with content warnings likely need to be marked NSFW.

Most 196 posts are memes, shitposts, cute images, or even just recent things that happened, etc. There is no real theme, but try to avoid posts that are very inflammatory, offensive, very low quality, or very "off topic".

Bigotry is not allowed, this includes (but is not limited to): Homophobia, Transphobia, Racism, Sexism, Abelism, Classism, or discrimination based on things like Ethnicity, Nationality, Language, or Religion.

Avoid shilling for corporations, posting advertisements, or promoting exploitation of workers.

Proselytization, support, or defense of authoritarianism is not welcome. This includes but is not limited to: imperialism, nationalism, genocide denial, ethnic or racial supremacy, fascism, Nazism, Marxism-Leninism, Maoism, etc.

Avoid AI generated content.

Avoid misinformation.

Avoid incomprehensible posts.

No threats or personal attacks.

No spam.

Moderator Guidelines

Moderator Guidelines

  • Don’t be mean to users. Be gentle or neutral.
  • Most moderator actions which have a modlog message should include your username.
  • When in doubt about whether or not a user is problematic, send them a DM.
  • Don’t waste time debating/arguing with problematic users.
  • Assume the best, but don’t tolerate sealioning/just asking questions/concern trolling.
  • Ask another mod to take over cases you struggle with, if you get tired, or when things get personal.
  • Ask the other mods for advice when things get complicated.
  • Share everything you do in the mod matrix, both so several mods aren't unknowingly handling the same issues, but also so you can receive feedback on what you intend to do.
  • Don't rush mod actions. If a case doesn't need to be handled right away, consider taking a short break before getting to it. This is to say, cool down and make room for feedback.
  • Don’t perform too much moderation in the comments, except if you want a verdict to be public or to ask people to dial a convo down/stop. Single comment warnings are okay.
  • Send users concise DMs about verdicts about them, such as bans etc, except in cases where it is clear we don’t want them at all, such as obvious transphobes. No need to notify someone they haven’t been banned of course.
  • Explain to a user why their behavior is problematic and how it is distressing others rather than engage with whatever they are saying. Ask them to avoid this in the future and send them packing if they do not comply.
  • First warn users, then temp ban them, then finally perma ban them when they break the rules or act inappropriately. Skip steps if necessary.
  • Use neutral statements like “this statement can be considered transphobic” rather than “you are being transphobic”.
  • No large decisions or actions without community input (polls or meta posts f.ex.).
  • Large internal decisions (such as ousting a mod) might require a vote, needing more than 50% of the votes to pass. Also consider asking the community for feedback.
  • Remember you are a voluntary moderator. You don’t get paid. Take a break when you need one. Perhaps ask another moderator to step in if necessary.

founded 1 year ago
MODERATORS