vault backup: 2025-03-18 16:30:04

This commit is contained in:
Marco Realacci 2025-03-18 16:30:04 +01:00
parent b1afe923d0
commit f09563169c
2 changed files with 5 additions and 5 deletions

View file

@ -34,9 +34,9 @@
"type": "pdf", "type": "pdf",
"state": { "state": {
"file": "Concurrent Systems/slides/class 6.pdf", "file": "Concurrent Systems/slides/class 6.pdf",
"page": 5, "page": 6,
"left": -23, "left": -23,
"top": 360, "top": 428,
"zoom": 0.6627078384798101 "zoom": 0.6627078384798101
}, },
"icon": "lucide-file-text", "icon": "lucide-file-text",

View file

@ -51,12 +51,12 @@ We now show that $\to$ is acyclic.
- by contradiction, consider a shortest cycle - by contradiction, consider a shortest cycle
- adjacent edges cannot belong to the same order (e.g. not both $\to_X$), otw. the cycle would be shortable, because of transitivity of the total order! - adjacent edges cannot belong to the same order (e.g. not both $\to_X$), otw. the cycle would be shortable, because of transitivity of the total order!
- adjacent edges cannot belong to orders on different objects - adjacent edges cannot belong to orders on different objects
- this would mean that an operation is involved in both $\to_X$ and $\to_Y$ but it is not possible of course - this would mean that an operation is involved in both $\to_X$ and $\to_Y$ but it is not possible of course, so the cycle can only happen edges in $\to_X$ and $\to_H$.
- Hence, at least one $\to_X$ exists and it must be between two $\to_H$ i.e.: $$op1 \to_H op2 \to_X op3 \to_H op4$$, with op1 = op4 - Hence, at least one $\to_X$ exists and it must be between two $\to_H$ i.e.: $$op1 \to_H op2 \to_X op3 \to_H op4$$, likely with op1 = op4
- can this be a cycle? - can this be a cycle?
- $op1 \to_H op2$ means that $res(op1) <_H inv(op2)$ - $op1 \to_H op2$ means that $res(op1) <_H inv(op2)$
- $op2 \to_X op3$ entails that $inv(op2) <_H res(op3)$ - $op2 \to_X op3$ entails that $inv(op2) <_H res(op3)$
- if not, as is a total order, we would have that $res(op3) <_H inv(op2)$, but we then would have a cycle of lenght 2... - if not, as is a total order, we would have that $res(op3) <_H inv(op2)$, but we then would have $op3 \to_H op2$ a cycle of lenght 2...
- $op2 \to_H op3$ entails that $inv(op2) <_H res(op3)$ - $op2 \to_H op3$ entails that $inv(op2) <_H res(op3)$