@Lord_Farin hi , please $r_t$ is a difformation retract if $r_t$ is a continius ,onto application and $r_t(q)=q , \text{for }q\in M^a$ , and there existe an application $H: M^b\times [0,1]\Rightarrow M^b$ such that $H(q,0)=i_{M^a}\circ r(q); H(q,1)=I_{M^b}(q)$
guys: i (hypothetically) have a programming assignment for my students. Can I write a program that looks at their code and tells me if they've done it correctly (and also tells me if they've done it incorrectly)?
In theoretical computer science, correctness of an algorithm is asserted when it is said that the algorithm is correct with respect to a specification. Functional correctness refers to the input-output behaviour of the algorithm (i.e., for each input it produces the correct output).
A distinction is made between total correctness, which additionally requires that the algorithm terminates, and partial correctness, which simply requires that if an answer is returned it will be correct. Since there is no general solution to the halting problem, a total correctness assertion may lie much deepe...
@Vrouvrou We say a retraction $f: A \to B$ is a deformation retraction iff there is a homotopy $H: A \times [0,1] \to A$ (relative to $B$, i.e. $H(b,t) = b$ for all $t \in [0,1]$) such that $H(-,0) = \operatorname{id}_A$ and $H(-,1) = \iota \circ f$, where $\iota: B \to A$ is the inclusion.
http://mathworld.wolfram.com/UniformSumDistribution.html if P_n^(1) = integral from 1 to n of PX1...Xn(u)du - integral from 1 to n-1 of PX1...Pn-1(u)du tells the probability of getting a sum over 1 after n turns, how can i turn this to figure out the expected value of just the last turn? as opposed to the whole sum
@QuinnCulver Hmm, should've linked to the formal verification article. There's software for that already, if memory serves (under the assumption of precise input specifications), but I seem to be having a hard time searching.
@J.M. Hmmm, I wonder if i'm being understood properly. Let's be more specific: suppose I want my students to write a program that takes (any) input and always outputs 1. Can I write a program that looks at and analyzes their code to determine if they've done it correctly?
(and also determines if they've NOT done it correctly)
@QuinnCulver There are many ways to write correct code, so probably not unless you merely want to automate inputting students' code and then checking to see if it compiles / outputs the correct values
@J.M. Ahhh, I didn't see that. Yes, many correct programs could have 'useless garbage' (aka 'padding'). And this is the heart of why it's not possible for me to write such a program.
In computability theory, Rice's theorem states that, for any non-trivial property of partial functions, there is no general and effective method to decide whether an algorithm computes a partial function with that property. Here, a property of partial functions is called trivial if it holds for all partial computable functions or for none, and an effective decision method is called general if it decides correctly for every algorithm.
The theorem is named after Henry Gordon Rice, and is also known as the Rice-Myhill-Shapiro theorem after Rice, John Myhill, and Norman Shapiro.
Introduction
...
how to prove that $r_t$ is a deformation retract
$M^a=\lbrace q\in M ; f(q)\leq a\rbrace$
$r_t$ is a difformation retract if $r_t$ is a continius ,onto application and $r_t(q)=q , \text{for }q\in M^a$ , and there existe an continuous application $H: M^b\times [0,1]\rightarrow M^b$ such that $H...
see mathworld.wolfram.com/UniformSumDistribution.html where they set up the probability of rolling the sum over 1 after n terms. This helps you eventually find the EV of n, but I want to know the EV of just the last turn
equation (7)
or say the probability that the last turn will be between some two values a and b
how to prove that $r_t$ is a deformation retract
$M^a=\lbrace q\in M ; f(q)\leq a\rbrace$
$r_t$ is a difformation retract if $r_t$ is a continius ,onto application and $r_t(q)=q , \text{for }q\in M^a$ , and there existe an continuous application $H: M^b\times [0,1]\rightarrow M^b$ such that $H...
@pourjour I think you can just write out what $F(-x)$ is as an integral, and then use standard properties of integrals to show that it it equal to $-F(x)$?
Hi guys, I am confused with an statement from my probability book that has to do with Markov chains. I hope someone could clarify that, if possible....Consider a Markov chain for which $P_{11} = 1$ and $P_{ij}=\frac{1}{i-1}$. Let $T_{i}$ be # of transitions needed to go from state i to state 1. A recursive formula for $E[T_{i}]$ can be obtained by conditioning on initial transition: $ E[T_{i}]=1+\frac{1}{i-1}\sum_{j=1}^{i-1}E[T_{j}]$. Could anyone tell me how this formula is derived? I am lost.
@HeberSarmiento I think the "1" is the initial transition. You spend 1 move "transitioning" plus the expected value of all the other possible transitions