proof
Rendering PDF proofs with Java (via LaTex?)
Currently I am working on a automated theorem prover in Java. I would like to be able to render these proofs, as PDF.[详细]
2023-02-03 17:32 分类:问答Prove that n! is not in O(n^p) for any constant natural number p
How can I prove that n! is not in O(n^p) for any constant natural number p? And is (n k)(n choose k) in O(n^p), for开发者_运维百科 all k?Stirling\'s approximation says that[详细]
2023-01-24 01:07 分类:问答Proof by Induction of the sum of heights of nodes in a full binary tree
I\'m trying to prove the following by induction: sum(k*2^(H-k), k = 0 .. H) = N-H-1 it\'s a problem for an algorithms class. I was thinking I could do what I normally do for summations, which is to[详细]
2023-01-20 18:21 分类:问答Stable Matching Problem
I am currently reading an Algorithm\'s book and came across the Stable Matching Problem. And a question came to mind that I\'m curious about, but the book doesn\'t answer.[详细]
2023-01-18 12:57 分类:问答prove n = Big-O(1) using induction
I know that the relation n = Big-O(1) is false. But if we use induction involving Big-O it can be proved. But the fallacy is we cannot induct Big-O. But my question is how we can disprove the relation[详细]
2023-01-17 10:14 分类:问答What does cpython do to help detect object cycles(reference counting)?
From what I\'ve read about cpython it seems like it does reference counting + something extra to detect/free objects pointing to each other.(Correct me if I\'m wrong). Could someone explain the someth[详细]
2023-01-17 10:01 分类:问答Functional proofs (Haskell)
I failed at readin开发者_StackOverflowg RWH; and not one to quit, I ordered Haskell: The Craft of Functional Programming. Now I\'m curious about these functional proofs on page 146. Specifically I\'m[详细]
2023-01-07 01:01 分类:问答Formal Equivalence between programming languages
We have 2 languages which are (informally) semantically equivalent but syntactically different. One is xml an开发者_开发问答d another is script based. How can I go about formally proving that both lan[详细]
2023-01-02 20:20 分类:问答Have I checked every consecutive subset of this list?
I\'m trying to solve problem 50 on Project Euler. Don\'t give me the answe开发者_运维百科r or solve it for me, just try to answer this specific question.[详细]
2022-12-28 17:03 分类:问答Proving that the distance values extracted in Dijkstra's algorithm is non-decreasing?
I\'m reviewing my old algorithms notes and have come across this proof.It was from an assignment I had and I got it correct, but I feel that the proof certainly lacks.[详细]
2022-12-27 00:16 分类:问答