Skip to content

Commit 121b195

Browse files
committed
Add vibecoded example whirlpool
1 parent de4b9bf commit 121b195

2 files changed

Lines changed: 53 additions & 0 deletions

File tree

tp/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,4 @@ In the `examples` folder you can find the following proofs:
5252
- [SKI calculus](./examples/ski.btp) - SKI calculus
5353
- [TQ](./examples/tq.btp) - Number multiplication
5454
- [Typed](./examples/typed.btp) - Shows the distinction between terms and theorems
55+
- [Whirlpool](./examples/whirlpool.btp) - The self-referential trap of searching for escape, and cognitive defusion

tp/examples/whirlpool.btp

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# The Whirlpool and the Observer
2+
3+
## Terms
4+
5+
rTmEscape : ESCAPE_WHIRLPOOL
6+
tmEscape! : rTmEscape
7+
8+
rTmSearch : SEARCH(x)
9+
rTmFused : FUSED(x)
10+
rTmNoticing : NOTICING(x)
11+
12+
## Part 1 — The Paradox
13+
14+
# Any mental search is already a whirlpool
15+
rSearchIsWhirlpool : SEARCH(x) -> WHIRLPOOL(SEARCH(x))
16+
17+
pOpening : The programmer mind defaults to SEARCH — reaching for a system, a fix, an escape.
18+
19+
# The programmer, stuck, reaches for a system to escape
20+
tmSearchForEscape! : rTmSearch x=tmEscape!
21+
22+
# That search is itself a whirlpool
23+
thParadox : rSearchIsWhirlpool x=tmEscape! tmSearchForEscape!
24+
25+
pDeepens : Noticing the trap, the mind searches for escape from that whirlpool too. It deepens.
26+
27+
# Searching for escape from *that* whirlpool deepens it further
28+
tmSearchDeeper! : rTmSearch x=thParadox
29+
thDeepened : rSearchIsWhirlpool x=thParadox tmSearchDeeper!
30+
31+
## Part 2 — Two Responses
32+
33+
pFusion : Response A: fuse with it. Become the whirlpool. It grows.
34+
35+
# Response A: Fusion — identifying with the whirlpool amplifies it
36+
rFusedAmplifies : FUSED(x) -> AMPLIFY(x)
37+
38+
tmFused! : rTmFused x=thDeepened
39+
thAmplified : rFusedAmplifies x=thDeepened tmFused!
40+
41+
pNoticing : Response B: notice it. Step back. The observer is not the whirlpool.
42+
43+
# Response B: Noticing — observing the whirlpool from outside defuses it
44+
rNoticingDefuses : NOTICING(x) -> DEFUSE(x)
45+
rDefuseToPresent : DEFUSE(x) -> PRESENT
46+
47+
tmNoticing! : rTmNoticing x=thParadox
48+
thDefused : rNoticingDefuses x=thParadox tmNoticing!
49+
50+
pResolution : The whirlpool does not vanish. It is simply no longer you.
51+
52+
thPresent : rDefuseToPresent x=thParadox thDefused

0 commit comments

Comments
 (0)