Skip to content

Commit

Permalink
wrote something
Browse files Browse the repository at this point in the history
  • Loading branch information
anaclumos committed Nov 20, 2023
1 parent c04dc1c commit 5e00a5f
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ everything I know! [Dive down the rabbit hole now](https://cho.sh/random)!

## Last updated

Sat Nov 18 00:00:58 PST 2023
Sun Nov 19 22:49:08 PST 2023

## Stats

```
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Language Files Lines Blanks Comments Code Complexity
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Markdown 2246 57307 14909 0 42398 0
Markdown 2248 57365 14927 0 42438 0
CSS 70 20359 792 36 19531 0
TypeScript 59 18526 178 49 18299 165
TypeScript 59 18531 178 49 18304 165
JSON 16 1632 0 0 1632 0
YAML 12 17695 1898 3 15794 0
SVG 9 9 0 0 9 0
Expand All @@ -47,13 +47,13 @@ TypeScript Typings 2 15 1 4 10 0
gitignore 2 296 69 69 158 0
JavaScript 1 19 3 12 4 0
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Total 2429 116833 17920 203 98710 248
Total 2431 116896 17938 203 98755 248
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Estimated Cost to Develop (organic) $3,354,861
Estimated Cost to Develop (organic) $3,356,466
Estimated Schedule Effort (organic) 21.79 months
Estimated People Required (organic) 13.68
Estimated People Required (organic) 13.69
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Processed 5509422 bytes, 5.509 megabytes (SI)
Processed 5514290 bytes, 5.514 megabytes (SI)
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
```
7 changes: 7 additions & 0 deletions Research/journals/2023-11-19.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
date: '2023-11-19'
lang: 'en'
slug: '/2023-11-19'
---

[[3-SAT]]
52 changes: 52 additions & 0 deletions Research/pages/3-SAT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
lang: 'en'
slug: '/DCB869'
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

<Tabs groupId='lang' queryString>
<TabItem value='en' label='English ๐Ÿ‡บ๐Ÿ‡ธ' lang='en-US' default>
<div lang='en-US'>

The 3-SAT (3-Satisfiability) problem is a classic problem in computer science, particularly in the field of computational complexity theory. It's a specific type of Boolean satisfiability problem (SAT), which is foundational in the study of algorithmic logic and has significant implications in various areas like cryptography, artificial intelligence, and algorithm design.

Here's a basic overview of what the 3-SAT problem entails:

1. **Boolean Variables** โ€” The problem involves a set of Boolean variables. Each variable can take on one of two values: true or false.

2. **Clauses** โ€” The heart of the problem lies in a series of clauses. Each clause is a disjunction (logical OR) of exactly three literals. A literal is either a variable or its negation. For example, a clause might be $(x \lor \neg y \lor z)$, where $x, y,$ and $z$ are Boolean variables, and $\neg y$ represents the negation of $y$.

3. **Satisfiability** โ€” The question posed by the 3-SAT problem is whether there exists an assignment of values to the variables that makes the entire Boolean expression true. In other words, can we assign true/false values to each variable in such a way that every clause has at least one true literal?

4. **NP-Completeness** โ€” The 3-SAT problem is famously known for being NP-complete, which means two things:
- It's in NP (nondeterministic polynomial time), meaning that if a solution exists, it can be verified quickly (in polynomial time).
- Every problem in NP can be reduced to it in polynomial time. This makes 3-SAT a central problem in complexity theory, as finding a polynomial-time algorithm for it (if one exists) would imply P = NP, solving a major open question in computer science.

The importance of 3-SAT and other SAT problems lies in their applicability to real-world scenarios where complex decision-making is required. They are used in various domains like electronic design automation, model checking, software verification, scheduling, and more. The challenge in solving these problems efficiently has driven much of the research in algorithm development and complexity theory.

</div>
</TabItem>
<TabItem value='ko' label='ํ•œ๊ตญ์–ด ๐Ÿ‡ฐ๐Ÿ‡ท' lang='ko-KR'>
<div lang='ko-KR'>

3-SAT(3-๋งŒ์กฑ๊ฐ€๋Šฅ์„ฑ) ๋ฌธ์ œ๋Š” ์ปดํ“จํ„ฐ ๊ณผํ•™, ํŠนํžˆ ๊ณ„์‚ฐ ๋ณต์žก์„ฑ ์ด๋ก  ๋ถ„์•ผ์—์„œ์˜ ๊ณ ์ „์ ์ธ ๋ฌธ์ œ์ด๋‹ค. ์ด๋Š” Boolean ๋งŒ์กฑ ๊ฐ€๋Šฅ์„ฑ ๋ฌธ์ œ(SAT)์˜ ํŠน์ • ์œ ํ˜•์œผ๋กœ, ์•Œ๊ณ ๋ฆฌ์ฆ˜ ๋…ผ๋ฆฌ ์—ฐ๊ตฌ์™€ ์•”ํ˜ธํ•™, ์ธ๊ณต์ง€๋Šฅ, ์•Œ๊ณ ๋ฆฌ์ฆ˜ ์„ค๊ณ„์™€ ๊ฐ™์€ ๋‹ค์–‘ํ•œ ๋ถ„์•ผ์—์„œ ์ค‘์š”ํ•œ ์˜๋ฏธ๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ๋‹ค.

3-SAT ๋ฌธ์ œ์˜ ๊ธฐ๋ณธ ๊ฐœ์š”๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค:

1. **Boolean ๋ณ€์ˆ˜** โ€” ์ด ๋ฌธ์ œ์—๋Š” Boolean ๋ณ€์ˆ˜๋“ค์˜ ์ง‘ํ•ฉ์ด ํฌํ•จ๋œ๋‹ค. ๊ฐ ๋ณ€์ˆ˜๋Š” ์ฐธ ๋˜๋Š” ๊ฑฐ์ง“, ๋‘ ๊ฐ€์ง€ ๊ฐ’ ์ค‘ ํ•˜๋‚˜๋ฅผ ๊ฐ€์งˆ ์ˆ˜ ์žˆ๋‹ค.

2. **Clause** โ€” ๋ฌธ์ œ์˜ ํ•ต์‹ฌ์€ ์—ฌ๋Ÿฌ Clause๋“ค์— ์žˆ๋‹ค. ๊ฐ Clause์€ ์ •ํ™•ํžˆ ์„ธ ๊ฐœ์˜ ๋ฆฌํ„ฐ๋Ÿด์˜ ๋…ผ๋ฆฌํ•ฉ(๋˜๋Š” ์—ฐ์‚ฐ)์ด๋‹ค. ๋ฆฌํ„ฐ๋Ÿด์€ ๋ณ€์ˆ˜ ๋˜๋Š” ๊ทธ ๋ถ€์ •์ด๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, ํ•˜๋‚˜์˜ Clause์€ $(x \lor \neg y \lor z)$์ผ ์ˆ˜ ์žˆ๋Š”๋ฐ, ์—ฌ๊ธฐ์„œ $x, y,$ ๊ทธ๋ฆฌ๊ณ  $z$๋Š” Boolean ๋ณ€์ˆ˜์ด๋ฉฐ, $\neg y$๋Š” $y$์˜ ๋ถ€์ •์„ ๋‚˜ํƒ€๋‚ธ๋‹ค.

3. **๋งŒ์กฑ ๊ฐ€๋Šฅ์„ฑ** โ€” 3-SAT ๋ฌธ์ œ์—์„œ ์ œ๊ธฐ๋˜๋Š” ์งˆ๋ฌธ์€ ๋ณ€์ˆ˜์— ๊ฐ’์„ ํ• ๋‹นํ•˜์—ฌ ์ „์ฒด Boolean ํ‘œํ˜„์‹์„ ์ฐธ์œผ๋กœ ๋งŒ๋“ค ์ˆ˜ ์žˆ๋Š”์ง€์˜ ์—ฌ๋ถ€์ด๋‹ค. ์ฆ‰, ๊ฐ ๋ณ€์ˆ˜์— ์ฐธ/๊ฑฐ์ง“ ๊ฐ’์„ ํ• ๋‹นํ•˜์—ฌ ๋ชจ๋“  Clause์— ์ ์–ด๋„ ํ•˜๋‚˜์˜ ์ฐธ ๋ฆฌํ„ฐ๋Ÿด์ด ์žˆ๊ฒŒ ํ•  ์ˆ˜ ์žˆ๋Š”๊ฐ€?

4. **NP-์™„์ „์„ฑ** โ€” 3-SAT ๋ฌธ์ œ๋Š” NP-์™„์ „์ด๋ผ๊ณ  ์œ ๋ช…ํ•˜๋ฉฐ, ์ด๋Š” ๋‘ ๊ฐ€์ง€๋ฅผ ์˜๋ฏธํ•œ๋‹ค:
- NP(๋น„๊ฒฐ์ •์  ๋‹คํ•ญ ์‹œ๊ฐ„)์— ์†ํ•œ๋‹ค๋Š” ๊ฒƒ, ์ฆ‰ ํ•ด๊ฒฐ์ฑ…์ด ์กด์žฌํ•œ๋‹ค๋ฉด ๋น ๋ฅด๊ฒŒ(๋‹คํ•ญ ์‹œ๊ฐ„ ์•ˆ์—) ํ™•์ธ๋  ์ˆ˜ ์žˆ๋‹ค.
- NP์— ์†ํ•˜๋Š” ๋ชจ๋“  ๋ฌธ์ œ๊ฐ€ ๋‹คํ•ญ ์‹œ๊ฐ„ ์•ˆ์— ์ด ๋ฌธ์ œ๋กœ ํ™˜์›๋  ์ˆ˜ ์žˆ๋‹ค๋Š” ๊ฒƒ์ด๋‹ค. ์ด๋Š” 3-SAT์— ๋Œ€ํ•œ ๋‹คํ•ญ ์‹œ๊ฐ„ ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ์ฐพ๋Š” ๊ฒƒ(๋งŒ์•ฝ ์กด์žฌํ•œ๋‹ค๋ฉด)์ด ์ปดํ“จํ„ฐ ๊ณผํ•™์—์„œ ์ฃผ์š”ํ•œ ๋ฏธํ•ด๊ฒฐ ์งˆ๋ฌธ์ธ P = NP๋ฅผ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ์Œ์„ ์˜๋ฏธํ•œ๋‹ค.

3-SAT ๋ฐ ๊ธฐํƒ€ SAT ๋ฌธ์ œ๋“ค์˜ ์ค‘์š”์„ฑ์€ ๋ณต์žกํ•œ ์˜์‚ฌ๊ฒฐ์ •์ด ํ•„์š”ํ•œ ์‹ค์ œ ์‹œ๋‚˜๋ฆฌ์˜ค์— ์ ์šฉ๋  ์ˆ˜ ์žˆ๊ธฐ ๋•Œ๋ฌธ์ด๋‹ค. ์ด๋“ค์€ ์ „์ž ์„ค๊ณ„ ์ž๋™ํ™”, ๋ชจ๋ธ ์ฒดํ‚น, ์†Œํ”„ํŠธ์›จ์–ด ๊ฒ€์ฆ, ์Šค์ผ€์ค„๋ง ๋“ฑ ๋‹ค์–‘ํ•œ ๋ถ„์•ผ์—์„œ ์‚ฌ์šฉ๋˜๋ฉฐ, ์ด๋Ÿฌํ•œ ๋ฌธ์ œ๋“ค์„ ํšจ์œจ์ ์œผ๋กœ ํ•ด๊ฒฐํ•˜๋Š” ๋„์ „์€ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ๊ฐœ๋ฐœ๊ณผ ๋ณต์žก์„ฑ ์ด๋ก  ์—ฐ๊ตฌ๋ฅผ ํฌ๊ฒŒ ์ด‰์ง„์‹œ์ผฐ๋‹ค.

</div>
</TabItem>
</Tabs>
3 changes: 3 additions & 0 deletions src/data/backlinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9959,6 +9959,9 @@ export const backlinks = {
"Better Obsidian": "- [[Prettier]] for Code Blocks",
"Grammarly Work Note 2023-05-26": "... enforced, discovered by running npx [[prettier]] --write. On par with [[Prettier]], ..."
},
"3-SAT": {
"2023-11-19": "[[3-SAT]]"
},
"Sliding Panes": {
"Andy Matuschak": "Introduced novel concepts, such as [[Sliding Panes]], [[Backlink|links to this note]], and ...",
"Horizontally Stacked Interface": "- [[Sliding Panes]]. Have multiple-scrollable columns.",
Expand Down
2 changes: 2 additions & 0 deletions src/data/filenames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,8 @@ export const filenames = {
"2023-11-15": "2023-11-15",
"2023-11-16": "2023-11-16",
"2023-11-18": "2023-11-18",
"2023-11-19": "2023-11-19",
"3-SAT": "DCB869",
"30-Day Tweet Test (Harry Stebbings)": "18728A",
"3D": "82C83C",
"3d Globe on the Web": "432EF8",
Expand Down

0 comments on commit 5e00a5f

Please sign in to comment.