parsnip283874

joined 1 year ago
2
PrBoom+ (Doom) (github.com)
submitted 1 year ago* (last edited 1 year ago) by parsnip283874@lemmy.sdf.org to c/source_ports@lemmy.sdf.org
 

A source port for Doom that supports vanilla and Boom formats. Fast and highly-configurable, my Doom source port of preference.

[–] parsnip283874@lemmy.sdf.org 1 points 1 year ago

Has anyone here read the Katz translation? How does it compare to the other two?

 

(a OR b) -> c

= ~(a OR b) OR c

= (~a AND ~b) OR c

= (~a OR c) AND (~b OR c)

= (a -> c) AND (b -> c) as required

I haven’t formally learnt logic so I’m not sure if my proof is what you’d call rigorous, but the result is pretty useful for splitting up conditionals in proofs like some of the number theory proofs I’ve been trying. E.g.

Show that if a is greater than 2 and a^m + 1 is prime, then a is even and m is a power of 2

In symbolic form this is:

∀a >= 2 ( a^m + 1 is prime -> a is even AND m is a power of 2 )

The contrapositive is:

∀a >= 2 ( a is odd OR m is NOT a power of 2 -> a^m + 1 is composite )

and due to the result above, this becomes

∀a >= 2 ( a is odd -> a^m + 1 is composite ) AND ( m is NOT a power of 2 -> a^m + 1 is composite )

so you can just prove two simpler conditionals instead of one more complicated one.

[–] parsnip283874@lemmy.sdf.org 0 points 1 year ago (1 children)

is that danish