this post was submitted on 22 Dec 2025
28 points (83.3% liked)

Lemmy Shitpost

36169 readers
3818 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 2 years ago
MODERATORS
top 22 comments
sorted by: hot top controversial new old
[–] UnderpantsWeevil@lemmy.world 30 points 17 hours ago (1 children)

All odd numbers are divisible by 2.

You just get a decimal in the quotient.

[–] FishFace@piefed.social 10 points 17 hours ago (4 children)

That's not what divisible means

[–] HeyThisIsntTheYMCA@lemmy.world 4 points 10 hours ago

How sharp are your knives?

[–] gnutrino@programming.dev 8 points 15 hours ago* (last edited 15 hours ago)

All odd numbers are divisible by 2 if you're working modulo an odd number.

[–] Diddlydee@feddit.uk 5 points 17 hours ago (1 children)

It is, just not in mathematics.

[–] FishFace@piefed.social 3 points 17 hours ago (1 children)

what non-mathematical meaning are we talking about here?

[–] Diddlydee@feddit.uk 1 points 6 hours ago (1 children)

Divisible in maths leaves no remainder or is only whole numbers. In the real world everything is divisible by 2 as it doesn't have the caveat of whole numbers.

[–] FishFace@piefed.social 1 points 5 hours ago

Yeah but I've never heard anyone use the word "divisible" in a non mathematical context. It's fundamentally about numbers. You'd never say "three is divisible by two" apart from about maths. You'd never say "this cake is divisible by two", which is already not the context you were talking in, you'd say "you can cut this cake in half".

[–] ryannathans@aussie.zone 3 points 17 hours ago (1 children)

Are odd numbers divisible by zero? Checkmate

[–] notreallyhere@lemmy.world 6 points 17 hours ago (1 children)

0 is divisable by 0: double check mate; king me.

[–] ryannathans@aussie.zone 3 points 16 hours ago

I don't think zero is odd or divisible by zero, but two wrongs cancel out and make a right so you've got me there. High elo play

[–] AlmightyDoorman@kbin.earth 11 points 16 hours ago (1 children)

So there are infinite prime numbers, there exists only one even prime number, the odds of an prime number beeing odd is 100% ((∞-1)/∞)=100%) 2 is an prime number, therefore 2 is odd and is divisble by itself aka 2. Q.e.d.

[–] HeyThisIsntTheYMCA@lemmy.world 5 points 10 hours ago

Yup I posited 2 is odd by way of being prime but I didn't get that far because I have a cold

[–] TherapyGary@lemmy.blahaj.zone 17 points 18 hours ago (1 children)
[–] Klear@quokk.au 4 points 17 hours ago (1 children)
[–] notreallyhere@lemmy.world 4 points 17 hours ago

that's even

[–] s@piefed.world 4 points 13 hours ago (1 children)

(±sqrt(81) + 3)/6 is both odd and divisible by 2

[–] davidagain@lemmy.world 1 points 8 hours ago (1 children)

Correction, it's either odd or it's divisible by two.

[–] s@piefed.world 1 points 6 hours ago

Superposition since both +9 and -9 are in the expression

[–] EffortlessEffluvium@lemmy.zip 3 points 14 hours ago

So.

There are no even numbers divisible by zero.

[–] Toes@ani.social -2 points 17 hours ago* (last edited 17 hours ago) (1 children)

By god they are right, this might change the future of mathematics!


// 2024‑edition Rust
use std::rc::Rc;

/// Church numeral: given a successor `s: fn(u32) -> u32`,
/// returns a function that applies `s` n times.
type Church = Rc<dyn Fn(fn(u32) -> u32) -> Rc<dyn Fn(u32) -> u32>>;

/// 0 ≡ λs.λx.x
fn zero() -> Church {
    println!("Define 0");
    Rc::new(|_s| Rc::new(|x| {
        println!("  0 applied to {}", x);
        x
    }))
}

/// succ ≡ λn.λs.λx. s (n s x)
fn succ(n: Church) -> Church {
    // `label` is printed *before* the closure is created, so the closure
    // does not capture any non‑'static reference.
    println!("Build successor");
    Rc::new(move |s| {
        // `inner` is the predecessor numeral applied to the same successor
        let inner = n(s);
        Rc::new(move |x| {
            // first run the predecessor
            let y = inner(x);
            println!("  predecessor applied to {} → {}", x, y);
            // then apply the extra successor step
            let z = s(y);
            println!("  +1 applied to {} → {}", y, z);
            z
        })
    })
}

/// Convert a Church numeral to a Rust integer, printing each step.
fn to_int(n: &Church) -> u32 {
    let inc: fn(u32) -> u32 = |k| {
        println!("    inc({})", k);
        k + 1
    };
    let f = n(inc);               // f: Rc<dyn Fn(u32) -> u32>
    println!("  evaluate numeral starting at 0");
    f(0)
}

/// Even ⇔ divisible by 2
fn is_even(n: &Church) -> bool { to_int(n) % 2 == 0 }
fn is_odd(n: &Church) -> bool  { !is_even(n) }

fn main() {
    // ---- build the numerals step‑by‑step ----
    let zero = zero();                     // 0
    let one  = succ(zero.clone());         // 1 = succ 0
    let two  = succ(one.clone());          // 2 = succ 1

    // ---- show the numeric values (trace) ----
    println!("\n--- evaluating 0 ---");
    println!("0 as integer → {}", to_int(&zero));

    println!("\n--- evaluating 1 ---");
    println!("1 as integer → {}", to_int(&one));

    println!("\n--- evaluating 2 ---");
    println!("2 as integer → {}", to_int(&two));

    // ---- parity of 2 (the proof) ----
    println!("\n--- parity of 2 ---");
    println!("Is 2 even? {}", is_even(&two)); // true
    println!("Is 2 odd?  {}", is_odd(&two));  // false

    // Proof: “divisible by 2” ⇔ “even”.
    // Since `is_odd(&two)` is false, no odd number can satisfy the
    // divisibility‑by‑2 condition.
    assert!(!is_odd(&two));
    println!("\nTherefore, no odd number is divisible by 2.");
}

[–] ieatpwns@lemmy.world 2 points 4 hours ago

How do I patch this in