Posts

How do I programatically check disk partitions on windows 8 and 10?

Image
up vote 0 down vote favorite I'm aware of diskpart, but that doesn't work in my case because I need to do this programatically, with no user input. diskpart doesn't provide any output when you give it a script so my program can't use it. Are there any other window command line tools I can use to get a list of disks and their partitions? windows-10 windows-8 partitioning automation share | improve this question asked Nov 16 at 14:20 granitdev 1 1 New contributor granitdev is a new c...

Gödel's completeness theorem and the undecidability of first-order logic

Image
up vote 15 down vote favorite 4 I'm working through this module, "Undecidability of First-Order Logic" and would love to talk about the two exercises given immediately after the statement of Godel's completeness theorem. First, note Definition 2.1 from the text: A sentence $varphi$ is valid if it is true in all models. In contrast, $varphi$ is satisfiable if it is true in some model. Then the exercises are given as follows: Let $varphi$ be a sentence in first-order logic. Show that $varphi$ is valid if and only if $negvarphi$ is not satisfiable, and consequently that $varphi$ is satisfiable if and only if $negvarphi$ is not valid. Suppose that we have an algorithm $mathcal{A}$ to tell whether a sentence of first-order logic is satisfiable or not. Show that we can use this to get an algorithm $mathca...