[[concept]]Topics
const fieldName = "theme"; // Your field with links const oldPrefix = "Thoughts/01 Themes/"; const newPrefix = "Digital Garden/Topics/"; const relatedLinks = dv.current()[fieldName]; if (Array.isArray(relatedLinks)) { // Map over the links, replace the path, and output only clickable links dv.el("span", relatedLinks .map(link => { if (link && link.path) { let newPath = link.path.startsWith(oldPrefix) ? link.path.replace(oldPrefix, newPrefix) : link.path; return dv.fileLink(newPath); } }) .filter(Boolean).join(", ") // Remove any undefined/null items ); } else { dv.el(dv.current().theme); }
Theorem
Suppose that is a countable collection of disjoint, measurable sets. Then
countable subadditivity of measure, but now we are showing equality for our nice sets.
We already showed
Proof
We know that the set is measurable since measurable sets form a sigma algebra and are therefore closed under countable unions. So we already have (from countable subadditivity of measure) that So we just need to show the other way. For any , since measure of finite disjoint measurable sets is the sum of the measures, we have
m\left( \bigcup_{n=1}^N E_{n} \right) &= m^*\left( \mathbb{R} \cap \bigcup_{n=1}^N E_{n} \right) \\ &= \sum_{n=1}^N m^*(\mathbb{R} \cap E_{n}) \\ &= \sum_{n=1}^N m^*(E_{n}) \\ &= \sum_{n=1}^N m(E_{n}) \\ (*)&= m\left( \bigcup_{n=1}^N E_{n}\right) \\ &\leq m\left( \bigcup_{n=1}^\infty E_{n} \right) \end{align}$$ Where $(*)$ is because of the disjointness of the $E_{n}$. Now we have a bound over all $N$, and taking $N \to \infty$ we get the desired result. $$\tag*{$\blacksquare$}$$
References
References
See Also
Mentions
Mentions
const modules = await cJS() const COLUMNS = [ { id: "Name", value: page => page.$link }, { id: "Last Modified", value: page => modules.dateTime.getLastMod(page) }, ]; return function View() { const current = dc.useCurrentFile(); // Selecting `#game` pages, for example. let queryString = `@page and linksto(${current.$link})`; let pages = dc.useQuery(queryString); // check types pages = pages.filter( (p) => !modules.typeCheck.checkAll(p, current) ).sort() return <dc.Table columns={COLUMNS} rows={pages} paging={20}/>; }
const { dateTime } = await cJS()
return function View() {
const file = dc.useCurrentFile();
return <p class="dv-modified">Created {dateTime.getCreated(file)} ֍ Last Modified {dateTime.getLastMod(file)}</p>
}