I think what they mean is still a mathematical meaning, just a separate definition of 'divisible' not limited to integers. The term is usually used for the set of integers, but really you could define it on any set.
"For x,y in S, x is called divisible by y if and only if x/y lies in S." could be such a definition. Obviously you also need a definition of "/", which is usually x/y=a <=> a*y=x with any operation *. This usually involves an algebraic Ring.
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.
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".
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.
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.");
}
28 Comments
UnderpantsWeevil@lemmy.world · 42 pts · 244d
All odd numbers are divisible by 2.
You just get a decimal in the quotient.
FishFace@piefed.social · 17 pts · 244d
That's not what divisible means
gnutrino@programming.dev · 8 pts · 244d
All odd numbers are divisible by 2 if you're working modulo an odd number.
HeyThisIsntTheYMCA@lemmy.world · 7 pts · 244d
How sharp are your knives?
ryannathans@aussie.zone · 4 pts · 244d
Are odd numbers divisible by zero? Checkmate
notreallyhere@lemmy.world · 6 pts · 244d
ryannathans@aussie.zone · 5 pts · 244d
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
Diddlydee@feddit.uk · 4 pts · 244d
It is, just not in mathematics.
FishFace@piefed.social · 4 pts · 244d
what non-mathematical meaning are we talking about here?
tomi000@lemmy.world · 2 pts · 238d
I think what they mean is still a mathematical meaning, just a separate definition of 'divisible' not limited to integers. The term is usually used for the set of integers, but really you could define it on any set.
"For x,y in S, x is called divisible by y if and only if x/y lies in S." could be such a definition. Obviously you also need a definition of "/", which is usually x/y=a <=> a*y=x with any operation *. This usually involves an algebraic Ring.
Diddlydee@feddit.uk · 2 pts · 244d
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 · 2 pts · 244d
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".
andMoonsValue@lemmy.world · -1 pts · 241d
I believe the correct term is evenly divisible.
TherapyGary@lemmy.blahaj.zone · 19 pts · 244d
Klear@quokk.au · 7 pts · 244d
That's odd...
notreallyhere@lemmy.world · 5 pts · 244d
tomi000@lemmy.world · 4 pts · 238d
I can't even...
a_non_monotonic_function@lemmy.world · 3 pts · 241d
Perhaps, but who am I to judge?
AlmightyDoorman@kbin.earth · 17 pts · 244d
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 · 6 pts · 244d
Yup I posited 2 is odd by way of being prime but I didn't get that far because I have a cold
lohky@lemmy.world · 7 pts · 243d
Numbers is fake
s@piefed.world · 5 pts · 244d
(±sqrt(81) + 3)/6 is both odd and divisible by 2
tomi000@lemmy.world · 2 pts · 238d
If youre gonna define divisibility on a non-mathematical term you could simply define it on the Ring of real numbers instead.
davidagain@lemmy.world · 1 pts · 244d
Correction, it's either odd or it's divisible by two.
s@piefed.world · 1 pts · 244d
Superposition since both +9 and -9 are in the expression
davidagain@lemmy.world · 3 pts · 243d
I want to argue with this but find myself short of a rational basis to do so. Does this mean I have become alt right?
EffortlessEffluvium@lemmy.zip · 4 pts · 244d
So.
There are no even numbers divisible by zero.
Alsjemenou@lemy.nl · 2 pts · 243d
Watch me do it:
https://letmegooglethat.com/?q=3%2F2
Toes@ani.social · -2 pts · 244d
By god they are right, this might change the future of mathematics!
ieatpwns@lemmy.world · 4 pts · 244d
How do I patch this in