Inhalt

Aktueller Ordner: /

modal2tutorialeng.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal Tutorial (Version 2) – The Trinity as a Necessary Structure of a Monistic Modal Ontology</title>
    <base href="https://the-last-freedom.org/Projekt_Pompeji/">
    <style>
        /* ========== GLOBAL ========== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Georgia', 'Times New Roman', Times, serif;
            background-color: #f5f3ef;
            color: #2c2c2c;
            line-height: 1.7;
            padding: 2rem 1rem;
        }
        .container {
            max-width: 820px;
            margin: 0 auto;
            background-color: #fffef7;
            padding: 2rem 2.2rem;
            border-radius: 16px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.08);
            border: 1px solid #e0d6c8;
        }
        h1 {
            font-size: 1.8rem;
            font-weight: normal;
            color: #2c2c2c;
            border-left: 6px solid #6b4f8a;
            padding-left: 1rem;
            margin-bottom: 0.3rem;
        }
        .subhead {
            font-size: 0.95rem;
            color: #6b6b6b;
            margin-bottom: 1.8rem;
            border-bottom: 1px solid #e0d6c8;
            padding-bottom: 0.8rem;
        }
        .subhead a {
            color: #6b4f8a;
            text-decoration: none;
        }
        .subhead a:hover {
            text-decoration: underline;
        }

        /* ========== STEP BLOCK ========== */
        .step-block {
            background-color: #faf8f3;
            border-left: 4px solid #6b4f8a;
            padding: 1.5rem 1.8rem;
            margin-bottom: 2rem;
            border-radius: 0 10px 10px 0;
        }
        .step-number {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #6b4f8a;
            font-weight: bold;
        }
        .step-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin: 0.2rem 0 0.8rem 0;
            color: #2c2c2c;
        }
        .step-explanation {
            margin-bottom: 1.2rem;
        }
        .step-explanation p {
            margin-bottom: 0.8rem;
        }
        .step-explanation ul, .step-explanation ol {
            margin: 0.5rem 0 0.8rem 1.5rem;
        }
        .step-explanation li {
            margin-bottom: 0.3rem;
        }

        /* Formula box */
        .formula-box {
            background-color: #f0ede6;
            padding: 0.8rem 1.2rem;
            border-radius: 8px;
            margin: 0.8rem 0;
            font-family: 'Courier New', monospace;
            font-size: 1.05rem;
            text-align: center;
            border: 1px solid #d4cab8;
            overflow-x: auto;
        }

        /* ========== QUESTION ========== */
        .question-box {
            background-color: #f5f0ea;
            padding: 1.2rem 1.5rem;
            border-radius: 10px;
            margin-top: 1rem;
            border: 1px solid #d4cab8;
        }
        .question-box .qtext {
            font-weight: bold;
            margin-bottom: 0.6rem;
        }
        .question-box .qoptions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem 1rem;
            margin-bottom: 0.8rem;
        }
        .question-box .qoptions label {
            display: inline-block;
            background-color: #fffef7;
            padding: 0.15rem 0.8rem;
            border-radius: 30px;
            border: 1px solid #d4cab8;
            font-size: 0.85rem;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        .question-box .qoptions label:hover {
            background-color: #e8e2d7;
        }
        .question-box .qoptions input[type="radio"] {
            margin-right: 0.3rem;
            accent-color: #6b4f8a;
        }
        .question-box .qsubmit {
            background-color: #6b4f8a;
            color: #fffef7;
            border: none;
            padding: 0.4rem 1.6rem;
            border-radius: 30px;
            font-size: 0.85rem;
            font-family: inherit;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        .question-box .qsubmit:hover {
            background-color: #4d3a63;
        }
        .question-box .qsubmit:disabled {
            background-color: #b0a89a;
            cursor: not-allowed;
        }
        .question-box .qfeedback {
            margin-top: 0.8rem;
            padding: 0.6rem 1rem;
            border-radius: 8px;
            font-weight: bold;
            display: none;
        }
        .question-box .qfeedback.correct {
            display: block;
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        .question-box .qfeedback.wrong {
            display: block;
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        /* ========== PROGRESS ========== */
        .progress-bar {
            background-color: #e0d6c8;
            border-radius: 20px;
            height: 8px;
            margin: 1.8rem 0 1rem 0;
            overflow: hidden;
        }
        .progress-bar .fill {
            height: 100%;
            width: 0%;
            background-color: #6b4f8a;
            border-radius: 20px;
            transition: width 0.4s ease;
        }
        .progress-text {
            text-align: right;
            font-size: 0.8rem;
            color: #8b8b8b;
            margin-top: -0.3rem;
        }

        /* ========== NAVI ========== */
        .nav-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid #e0d6c8;
        }
        .nav-links a {
            color: #6b4f8a;
            text-decoration: none;
            font-size: 0.9rem;
            padding: 0.3rem 0.8rem;
            border-radius: 30px;
            background-color: #f0ede6;
            transition: background-color 0.2s;
        }
        .nav-links a:hover:not(.disabled) {
            background-color: #d4cab8;
        }
        .nav-links .disabled {
            color: #b0a89a;
            pointer-events: none;
            background-color: #f5f3ef;
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 640px) {
            .container {
                padding: 1.2rem;
            }
            h1 {
                font-size: 1.4rem;
            }
            .step-block {
                padding: 1rem 1.2rem;
            }
            .question-box {
                padding: 1rem;
            }
            .question-box .qoptions {
                flex-direction: column;
                gap: 0.2rem;
            }
            .formula-box {
                font-size: 0.9rem;
                padding: 0.6rem 0.8rem;
            }
            .nav-links {
                flex-direction: column;
                gap: 0.6rem;
                align-items: stretch;
                text-align: center;
            }
        }

        /* ========== HELPER CLASSES ========== */
        .highlight {
            background-color: #f5f0ea;
            padding: 0.1rem 0.3rem;
            border-radius: 4px;
            font-weight: bold;
        }
        .symbol {
            font-family: 'Courier New', monospace;
            background-color: #f0ede6;
            padding: 0.05rem 0.4rem;
            border-radius: 4px;
            font-size: 0.95rem;
        }
        .boxed {
            border: 1px solid #c4a86b;
            padding: 0.3rem 0.8rem;
            border-radius: 6px;
            display: inline-block;
            background-color: #faf8f3;
            font-weight: bold;
        }
        .mt-1 { margin-top: 1rem; }
        .mb-1 { margin-bottom: 1rem; }
        .text-center { text-align: center; }
        .text-muted { color: #8b8b8b; font-size: 0.85rem; }
        .version-badge {
            display: inline-block;
            background-color: #6b4f8a;
            color: #fffef7;
            font-size: 0.65rem;
            padding: 0.15rem 0.6rem;
            border-radius: 20px;
            vertical-align: middle;
            margin-left: 0.5rem;
        }
    </style>
</head>
<body>

<div class="container" id="app">

    <!-- ===== HEADER ===== -->
    <h1>πŸ“ The Trinity as a Necessary Structure of a Monistic Modal Ontology <span class="version-badge">Version 2 – Minimalist</span></h1>
    <div class="subhead">
        An interactive tutorial – Step by step<br>
        <a href="index.html">← Back to the entry page</a> |
        <a href="modal2eng.pdf">πŸ“„ PDF of the treatise</a>
    </div>

    <!-- ===== PROGRESS ===== -->
    <div class="progress-bar" id="progressBar">
        <div class="fill" id="progressFill" style="width: 0%;"></div>
    </div>
    <div class="progress-text" id="progressText">Step 0 of 17</div>

    <!-- ===== STEPS ===== -->
    <div id="stepContainer">
        <!-- Will be filled by JavaScript -->
    </div>

    <!-- ===== NAVIGATION ===== -->
    <div class="nav-links" id="navLinks">
        <a href="#" id="prevBtn" class="disabled">← Back</a>
        <span id="stepIndicator" style="font-size:0.85rem; color:#8b8b8b;">0 / 17</span>
        <a href="#" id="nextBtn">Next β†’</a>
    </div>

    <!-- ===== FOOTER ===== -->
    <div style="margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid #e0d6c8; font-size: 0.75rem; color: #8b8b8b; text-align: center;">
        <p>Β© Paul Koop – <a href="index.html" style="color: #6b4f8a;">the-last-freedom.org/Projekt_Pompeji</a></p>
        <p style="margin-top:0.2rem;">This version of the treatise uses only two axioms – Monism and Existence of a World.</p>
    </div>

</div>

<script>
    // ================================================================
    //  DATA: All 17 steps for Version 2 (Minimalist, Limit-Based)
    // ================================================================

    const steps = [
        // ---- Step 0 ----
        {
            id: 0,
            title: "What is the goal of this version?",
            explanation: `
                <p>This version of the treatise is <strong>more minimalist</strong> than the previous one. It uses only <strong>two axioms</strong>:</p>
                <ol>
                    <li><strong>A1 – Monism:</strong> There are no fundamentally separated realms of reality.</li>
                    <li><strong>A4 – Existence of a World:</strong> There is at least one possible world.</li>
                </ol>
                <p>All other principles (modal realism, consciousness, reflexivity, etc.) are <strong>derived</strong> from these two axioms.</p>
                <p>The concepts <strong>U (Origin)</strong>, <strong>T (Totality)</strong>, and <strong>S (Self-Knowledge)</strong> are not understood as substances, but as <strong>limits</strong> of an open interval.</p>
                <div class="formula-box">T := (U, S) &nbsp;&nbsp;–&nbsp;&nbsp; U = lim inf T &nbsp;&nbsp;–&nbsp;&nbsp; S = lim sup T</div>
            `,
            question_html: `
                <p><strong>What is the main difference of this version from the previous one?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q0" value="0"> It has more axioms.</label>
                    <label><input type="radio" name="q0" value="1"> It uses only two axioms and understands U, T, S as limits.</label>
                    <label><input type="radio" name="q0" value="2"> It proves the existence of God.</label>
                    <label><input type="radio" name="q0" value="3"> It does not use modal logic.</label>
                    <label><input type="radio" name="q0" value="4"> It has no axioms.</label>
                    <label><input type="radio" name="q0" value="5"> It is longer than the previous version.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 1 ----
        {
            id: 1,
            title: "The Two Axioms – A1: Monism",
            explanation: `
                <p><strong>A1 – Monism</strong> states:</p>
                <div class="formula-box">β–‘Β¬βˆƒxβˆƒy FundamentallySeparated(x,y)</div>
                <p>This means: <strong>There are no fundamentally separated realms of reality.</strong></p>
                <p>Why is this important? If there were two fundamentally separated realms, they could not interact. Then there would be no unified reality.</p>
                <p>This axiom prohibits:</p>
                <ul>
                    <li>Cartesian dualism (mind vs. matter)</li>
                    <li>Any form of "beyond" as a fundamentally separated realm</li>
                    <li>Absolute separation between knower and known</li>
                </ul>
            `,
            question_html: `
                <p><strong>What does Axiom 1 (Monism) state?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q1" value="0"> There are many fundamentally separated realms of reality.</label>
                    <label><input type="radio" name="q1" value="1"> There are no fundamentally separated realms of reality.</label>
                    <label><input type="radio" name="q1" value="2"> Reality consists of three substances.</label>
                    <label><input type="radio" name="q1" value="3"> There is a separation between mind and matter.</label>
                    <label><input type="radio" name="q1" value="4"> Reality is arbitrary.</label>
                    <label><input type="radio" name="q1" value="5"> There are infinitely many worlds.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 2 ----
        {
            id: 2,
            title: "The Two Axioms – A4: Existence of a World",
            explanation: `
                <p><strong>A4 – Existence of a World</strong> states:</p>
                <div class="formula-box">β—‡βˆƒw World(w)</div>
                <p>This means: <strong>It is possible that a world exists.</strong></p>
                <p>This axiom is deliberately <strong>weak</strong>. It does not say that a world actually exists, but only that it is <strong>possible</strong>.</p>
                <p>Why is this important? This axiom ensures that the modal universe is not empty. If there were no possible world, the entire ontology would be empty.</p>
                <p>From this weak axiom, we will later derive the existence of consciousness, modal realism, and ultimately the Trinity.</p>
            `,
            question_html: `
                <p><strong>What does Axiom 4 (Existence of a World) state?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q2" value="0"> A world actually exists.</label>
                    <label><input type="radio" name="q2" value="1"> It is possible that a world exists.</label>
                    <label><input type="radio" name="q2" value="2"> There is no world.</label>
                    <label><input type="radio" name="q2" value="3"> There are infinitely many worlds.</label>
                    <label><input type="radio" name="q2" value="4"> The world is an illusion.</label>
                    <label><input type="radio" name="q2" value="5"> The world exists necessarily.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 3 ----
        {
            id: 3,
            title: "T as an Open Interval – Totality",
            explanation: `
                <p><strong>Totality T</strong> is defined as:</p>
                <div class="formula-box">T := (U, S)</div>
                <p>This means: T is an <strong>open interval</strong> between Origin U and Self-Knowledge S.</p>
                <p><strong>What does "open interval" mean?</strong></p>
                <ul>
                    <li>It contains all states <strong>between</strong> U and S.</li>
                    <li>It contains <strong>neither U nor S</strong> themselves.</li>
                    <li>U and S are the <strong>limits</strong> (limit points) of the interval.</li>
                </ul>
                <p><strong>Transferred to ontology:</strong></p>
                <ul>
                    <li>Totality is the set of all <strong>actually realized</strong> states.</li>
                    <li>These states are ordered – from "minimal structure" to "maximal structure".</li>
                    <li>Origin U is the <strong>lower limit</strong> – that which comes closest to nothing.</li>
                    <li>Self-Knowledge S is the <strong>upper limit</strong> – the complete transparency of Totality.</li>
                </ul>
            `,
            question_html: `
                <p><strong>What does T := (U, S) mean?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q3" value="0"> T is a closed interval.</label>
                    <label><input type="radio" name="q3" value="1"> T is an open interval between U and S.</label>
                    <label><input type="radio" name="q3" value="2"> T contains U and S.</label>
                    <label><input type="radio" name="q3" value="3"> T is the set of all impossible things.</label>
                    <label><input type="radio" name="q3" value="4"> T is empty.</label>
                    <label><input type="radio" name="q3" value="5"> T is the same as U.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 4 ----
        {
            id: 4,
            title: "U as the Lower Limit – Origin",
            explanation: `
                <p><strong>Origin U</strong> is defined as:</p>
                <div class="formula-box">U := lim inf T</div>
                <p>This means: U is the <strong>lower limit</strong> of Totality T.</p>
                <p>U is what comes closest to <strong>nothing</strong> – but <strong>not nothing</strong> itself.</p>
                <p>Why is U not nothing? Because nothing would be a <strong>fundamental separation</strong> – and A1 prohibits fundamental separation.</p>
                <p>U is therefore the <strong>minimal existing state</strong> – the state of minimal structure that still exists.</p>
                <p><strong>Image:</strong> Imagine a number line. Point 0 would be nothing. But 0 is not allowed (because of A1). The <em>closest</em> point to 0 that still exists is U – the lower limit.</p>
            `,
            question_html: `
                <p><strong>What does U := lim inf T mean?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q4" value="0"> U is the upper limit of T.</label>
                    <label><input type="radio" name="q4" value="1"> U is the lower limit of T – that which comes closest to nothing.</label>
                    <label><input type="radio" name="q4" value="2"> U is the same as nothing.</label>
                    <label><input type="radio" name="q4" value="3"> U is part of T.</label>
                    <label><input type="radio" name="q4" value="4"> U is Totality itself.</label>
                    <label><input type="radio" name="q4" value="5"> U is Self-Knowledge.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 5 ----
        {
            id: 5,
            title: "S as the Upper Limit – Self-Knowledge",
            explanation: `
                <p><strong>Self-Knowledge S</strong> is defined as:</p>
                <div class="formula-box">S := lim sup T</div>
                <p>This means: S is the <strong>upper limit</strong> of Totality T.</p>
                <p>S is the <strong>complete self-transparency</strong> of Totality – but <strong>not itself a part</strong> of T.</p>
                <p>Why does S not belong to T? If S belonged to T, then T would already be completely transparent – but then it would no longer be open. The openness of T is the precondition for S.</p>
                <p><strong>Image:</strong> Imagine a number line. Point 1 would be complete transparency. But 1 is not allowed (because T is open). The <em>closest</em> point to 1 that is not yet reached is S – the upper limit.</p>
            `,
            question_html: `
                <p><strong>What does S := lim sup T mean?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q5" value="0"> S is the lower limit of T.</label>
                    <label><input type="radio" name="q5" value="1"> S is the upper limit of T – the complete self-transparency.</label>
                    <label><input type="radio" name="q5" value="2"> S is the same as nothing.</label>
                    <label><input type="radio" name="q5" value="3"> S is part of T.</label>
                    <label><input type="radio" name="q5" value="4"> S is Totality itself.</label>
                    <label><input type="radio" name="q5" value="5"> S is Origin.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 6 ----
        {
            id: 6,
            title: "The Trinity as the Unity of the Three Limits",
            explanation: `
                <p>The <strong>Trinity</strong> is the unity of the three limits:</p>
                <div class="formula-box">Tr := U ∧ T ∧ S</div>
                <p>Or in the language of limits:</p>
                <div class="formula-box">Tr := lim inf T ∧ T ∧ lim sup T</div>
                <p>This means: The Trinity is <strong>not three things</strong>, but <strong>three perspectives on the same reality</strong>:</p>
                <ul>
                    <li><strong>U (Origin)</strong> – the perspective of "Whence?"</li>
                    <li><strong>T (Totality)</strong> – the perspective of "What is?"</li>
                    <li><strong>S (Self-Knowledge)</strong> – the perspective of "Who knows?"</li>
                </ul>
                <p>The three limits are <strong>one</strong> – they are different viewpoints on the same one reality.</p>
            `,
            question_html: `
                <p><strong>What does Tr := U ∧ T ∧ S mean?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q6" value="0"> Tr is true if at least one of the three concepts is true.</label>
                    <label><input type="radio" name="q6" value="1"> Tr is true if all three concepts (U, T, and S) are true simultaneously.</label>
                    <label><input type="radio" name="q6" value="2"> Tr is true if none of the three concepts is true.</label>
                    <label><input type="radio" name="q6" value="3"> Tr is the same as U.</label>
                    <label><input type="radio" name="q6" value="4"> Tr is the same as T.</label>
                    <label><input type="radio" name="q6" value="5"> Tr is the same as S.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 7 ----
        {
            id: 7,
            title: "Theorem: From A1 follows A3 – No Absolute Nothing",
            explanation: `
                <p><strong>Theorem:</strong> From A1 (Monism) follows A3 (No Absolute Nothing).</p>
                <div class="formula-box">A1 β†’ β–‘(N β†’ Β¬β—‡World)</div>
                <p><strong>Proof:</strong></p>
                <ol>
                    <li>Absolute nothing <strong>N</strong> would be a <strong>fundamentally separated realm</strong> from reality.</li>
                    <li><strong>A1 prohibits fundamental separation.</strong></li>
                    <li>Therefore: There is no absolute nothing.</li>
                    <li>Thus: <span class="symbol">β–‘(N β†’ Β¬β—‡World)</span></li>
                </ol>
                <p><strong>This is important because:</strong> If there is no absolute nothing, then there must be <strong>something</strong>. Reality is not empty.</p>
            `,
            question_html: `
                <p><strong>What follows from A1 (Monism)?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q7" value="0"> There is an absolute nothing.</label>
                    <label><input type="radio" name="q7" value="1"> There is no absolute nothing.</label>
                    <label><input type="radio" name="q7" value="2"> Nothing can bring forth worlds.</label>
                    <label><input type="radio" name="q7" value="3"> Nothing is the same as Totality.</label>
                    <label><input type="radio" name="q7" value="4"> Nothing has many properties.</label>
                    <label><input type="radio" name="q7" value="5"> Nothing is Origin.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 8 ----
        {
            id: 8,
            title: "Theorem: From A1 and A4 follows A5 – Consciousness is possible",
            explanation: `
                <p><strong>Theorem:</strong> From A1 (Monism) and A4 (Existence of a World) follows A5 – Consciousness is possible.</p>
                <div class="formula-box">A1 ∧ A4 β†’ β—‡C</div>
                <p><strong>Proof:</strong></p>
                <ol>
                    <li>Suppose there is a world: <span class="symbol">βˆƒw World(w)</span>.</li>
                    <li>Suppose consciousness is impossible: <span class="symbol">Β¬β—‡C</span> β†’ <span class="symbol">β–‘Β¬C</span>.</li>
                    <li>If there is no consciousness, the world is <strong>unknowable</strong>.</li>
                    <li>An unknowable world would be <strong>fundamentally separated</strong> from any conscious perspective.</li>
                    <li><strong>A1 prohibits fundamental separation.</strong></li>
                    <li>Therefore: <span class="symbol">Β¬β—‡C</span> leads to a contradiction.</li>
                    <li>Thus: <span class="symbol">β—‡C</span> – consciousness is possible.</li>
                </ol>
                <p><strong>This is a transcendental argument:</strong> A world without consciousness would be indistinguishable from non-existence.</p>
            `,
            question_html: `
                <p><strong>What follows from A1 and A4?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q8" value="0"> Consciousness is impossible.</label>
                    <label><input type="radio" name="q8" value="1"> Consciousness is possible.</label>
                    <label><input type="radio" name="q8" value="2"> Consciousness exists necessarily.</label>
                    <label><input type="radio" name="q8" value="3"> Consciousness is an illusion.</label>
                    <label><input type="radio" name="q8" value="4"> Consciousness is the same as Totality.</label>
                    <label><input type="radio" name="q8" value="5"> Consciousness is impossible because it contradicts A1.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 9 ----
        {
            id: 9,
            title: "Theorem: From A1, A4 and A5 follows A2 – Modal Realism",
            explanation: `
                <p><strong>Theorem:</strong> From A1, A4 and A5 follows A2 – Modal Realism.</p>
                <div class="formula-box">A1 ∧ A4 ∧ A5 β†’ βˆ€p(β—‡p β†’ βˆƒw Realized(w,p))</div>
                <p><strong>Proof:</strong></p>
                <ol>
                    <li>Consciousness (C) is the capacity to experience <strong>differences</strong>.</li>
                    <li>If there were an <strong>unrealized possibility</strong>, it would be <strong>not experienceable by consciousness</strong>.</li>
                    <li>An unexperienceable possibility would be <strong>fundamentally separated</strong> from the world of consciousness.</li>
                    <li><strong>A1 prohibits fundamental separation.</strong></li>
                    <li>Therefore: There can be no unrealized possibilities.</li>
                    <li>Thus: <span class="symbol">βˆ€p(β—‡p β†’ βˆƒw Realized(w,p))</span></li>
                </ol>
                <p><strong>This means:</strong> Every possibility is realized in some world.</p>
            `,
            question_html: `
                <p><strong>What follows from A1, A4 and A5?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q9" value="0"> Possibilities need not be realized.</label>
                    <label><input type="radio" name="q9" value="1"> Every possibility is realized in some world.</label>
                    <label><input type="radio" name="q9" value="2"> There are no possibilities.</label>
                    <label><input type="radio" name="q9" value="3"> Possibilities are only thoughts.</label>
                    <label><input type="radio" name="q9" value="4"> Only necessary possibilities are realized.</label>
                    <label><input type="radio" name="q9" value="5"> Possibilities contradict monism.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 10 ----
        {
            id: 10,
            title: "Theorem: From A1, A4 and A5 follows A7 – Possibility of Knowledge",
            explanation: `
                <p><strong>Theorem:</strong> From A1, A4 and A5 follows A7 – complete knowledge is possible.</p>
                <div class="formula-box">A1 ∧ A4 ∧ A5 β†’ β–‘(C β†’ β—‡V_T)</div>
                <p><strong>Proof:</strong></p>
                <ol>
                    <li>If consciousness exists (C), it is <strong>part of the one reality</strong> (A1).</li>
                    <li>The one reality is <strong>Totality T</strong>.</li>
                    <li>If consciousness is part of T, it <strong>can</strong> in principle know T – for there is no fundamental separation (A1).</li>
                    <li>Thus: <span class="symbol">C β†’ β—‡V_T</span></li>
                    <li>With Necessitation: <span class="symbol">β–‘(C β†’ β—‡V_T)</span></li>
                </ol>
                <p><strong>This means:</strong> If there is consciousness, then complete knowledge of Totality is possible.</p>
            `,
            question_html: `
                <p><strong>What follows from A1, A4 and A5 for knowledge?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q10" value="0"> Complete knowledge is impossible.</label>
                    <label><input type="radio" name="q10" value="1"> If consciousness exists, then complete knowledge is possible.</label>
                    <label><input type="radio" name="q10" value="2"> Knowledge is always false.</label>
                    <label><input type="radio" name="q10" value="3"> Knowledge is separated from reality.</label>
                    <label><input type="radio" name="q10" value="4"> Only God can know.</label>
                    <label><input type="radio" name="q10" value="5"> Knowledge is impossible because it contradicts A1.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 11 ----
        {
            id: 11,
            title: "Theorem: From A1 follows A8 – Reflexivity of Knowledge",
            explanation: `
                <p><strong>Theorem:</strong> From A1 follows A8 – Reflexivity of Complete Knowledge.</p>
                <div class="formula-box">A1 β†’ β–‘(V_T(x) β†’ V_T(V_T(x)))</div>
                <p><strong>Proof:</strong></p>
                <ol>
                    <li>If there is complete knowledge of T (<span class="symbol">V_T(x)</span>), then this knowledge is <strong>part of T</strong> (for everything is part of T, A1).</li>
                    <li>If this knowledge is part of T, it must also know <strong>itself</strong> – otherwise it would not be <strong>complete</strong>.</li>
                    <li>Thus: <span class="symbol">V_T(x) β†’ V_T(V_T(x))</span></li>
                    <li>With Necessitation: <span class="symbol">β–‘(V_T(x) β†’ V_T(V_T(x)))</span></li>
                </ol>
                <p><strong>This means:</strong> Complete knowledge always knows itself.</p>
            `,
            question_html: `
                <p><strong>What does Reflexivity of Knowledge (A8) state?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q11" value="0"> Complete knowledge need not know that it is complete.</label>
                    <label><input type="radio" name="q11" value="1"> Complete knowledge also knows itself.</label>
                    <label><input type="radio" name="q11" value="2"> Knowledge is always false.</label>
                    <label><input type="radio" name="q11" value="3"> Knowledge is separated from reality.</label>
                    <label><input type="radio" name="q11" value="4"> Only God can have complete knowledge.</label>
                    <label><input type="radio" name="q11" value="5"> Complete knowledge is impossible.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 12 ----
        {
            id: 12,
            title: "The Assumption for the Reductio ad absurdum",
            explanation: `
                <p>The treatise uses a <strong>Reductio ad absurdum</strong> – a proof technique in which one assumes the opposite and shows that it leads to a contradiction.</p>
                <p><strong>The assumption is:</strong></p>
                <div class="formula-box">Β¬Tr</div>
                <p>This means: <strong>The Trinity does not exist.</strong></p>
                <p>Since <span class="symbol">Tr := U ∧ T ∧ S</span>, <span class="symbol">¬Tr</span> means:</p>
                <div class="formula-box">¬U ∨ ¬T ∨ ¬S</div>
                <p>So there are <strong>three cases</strong>:</p>
                <ol>
                    <li><strong>Case 1:</strong> T exists, but U does not (<span class="symbol">T ∧ ¬U</span>)</li>
                    <li><strong>Case 2:</strong> U exists, but S does not (<span class="symbol">U ∧ ¬S</span>)</li>
                    <li><strong>Case 3:</strong> S exists, but T does not (<span class="symbol">S ∧ ¬T</span>)</li>
                </ol>
            `,
            question_html: `
                <p><strong>What is the assumption for the Reductio ad absurdum?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q12" value="0"> The Trinity exists necessarily.</label>
                    <label><input type="radio" name="q12" value="1"> The Trinity does not exist.</label>
                    <label><input type="radio" name="q12" value="2"> The Trinity exists partially.</label>
                    <label><input type="radio" name="q12" value="3"> The Trinity is impossible.</label>
                    <label><input type="radio" name="q12" value="4"> The Trinity is the same as Totality.</label>
                    <label><input type="radio" name="q12" value="5"> The Trinity is an illusion.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 13 ----
        {
            id: 13,
            title: "Case 1 – Totality without Origin (T ∧ Β¬U)",
            explanation: `
                <p><strong>Case 1:</strong> <span class="symbol">T ∧ Β¬U</span> – Totality without Origin.</p>
                <p><strong>The contradiction:</strong></p>
                <ol>
                    <li>T exists. So there is at least one state within the open interval.</li>
                    <li>Since T is an <strong>open interval</strong>, it has <strong>no smallest element</strong>.</li>
                    <li>The openness of T <strong>guarantees</strong> the existence of the lower limit U (by definition).</li>
                    <li>If U does not exist (<span class="symbol">Β¬U</span>), then there is no lower limit.</li>
                    <li>Then T would no longer be an open interval.</li>
                    <li><strong>Contradiction to the definition of T.</strong></li>
                </ol>
                <div class="formula-box">T ∧ Β¬U β†’ βŠ₯ &nbsp;&nbsp;β†’&nbsp;&nbsp; β–‘(T β†’ U)</div>
            `,
            question_html: `
                <p><strong>What does Case 1 (Totality without Origin) show?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q13" value="0"> T can exist without U.</label>
                    <label><input type="radio" name="q13" value="1"> T ∧ ¬U leads to a contradiction.</label>
                    <label><input type="radio" name="q13" value="2"> U is not necessary for T.</label>
                    <label><input type="radio" name="q13" value="3"> Totality can come from nothing.</label>
                    <label><input type="radio" name="q13" value="4"> T and U are the same.</label>
                    <label><input type="radio" name="q13" value="5"> T is its own ground.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 14 ----
        {
            id: 14,
            title: "Case 2 – Origin without Self-Knowledge (U ∧ Β¬S)",
            explanation: `
                <p><strong>Case 2:</strong> <span class="symbol">U ∧ Β¬S</span> – Origin without Self-Knowledge.</p>
                <p><strong>The contradiction:</strong></p>
                <ol>
                    <li>U exists. This means: There is a lower limit of Totality.</li>
                    <li>From the derived theorems: <span class="symbol">β—‡C</span> (consciousness is possible).</li>
                    <li>From A2 (Modal Realism): There is a world with consciousness.</li>
                    <li>From A7: In this world, complete knowledge is possible.</li>
                    <li>From A8: Complete knowledge knows itself – that is precisely S.</li>
                    <li>Thus: <span class="symbol">U β†’ S</span>.</li>
                    <li><strong>Contradiction to the assumption</strong> <span class="symbol">Β¬S</span>.</li>
                </ol>
                <div class="formula-box">U ∧ Β¬S β†’ βŠ₯ &nbsp;&nbsp;β†’&nbsp;&nbsp; β–‘(U β†’ S)</div>
            `,
            question_html: `
                <p><strong>What does Case 2 (Origin without Self-Knowledge) show?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q14" value="0"> U can exist without S.</label>
                    <label><input type="radio" name="q14" value="1"> U ∧ ¬S leads to a contradiction.</label>
                    <label><input type="radio" name="q14" value="2"> S is not necessary for U.</label>
                    <label><input type="radio" name="q14" value="3"> Consciousness is impossible.</label>
                    <label><input type="radio" name="q14" value="4"> Complete knowledge is impossible.</label>
                    <label><input type="radio" name="q14" value="5"> U and S are the same.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 15 ----
        {
            id: 15,
            title: "Case 3 – Self-Knowledge without Totality (S ∧ Β¬T)",
            explanation: `
                <p><strong>Case 3:</strong> <span class="symbol">S ∧ Β¬T</span> – Self-Knowledge without Totality.</p>
                <p><strong>The contradiction:</strong></p>
                <ol>
                    <li>S exists. S is defined as "complete self-knowledge of Totality".</li>
                    <li>If S exists, there is an <strong>act of knowing</strong> directed at T.</li>
                    <li>If T does not exist (<span class="symbol">Β¬T</span>), then S is <strong>knowledge without an object</strong>.</li>
                    <li>From A9 (derived): <span class="symbol">V_T(x) β†’ T</span> – knowledge of T presupposes T.</li>
                    <li>Thus: <span class="symbol">S β†’ T</span>.</li>
                    <li><strong>Contradiction to the assumption</strong> <span class="symbol">Β¬T</span>.</li>
                </ol>
                <div class="formula-box">S ∧ Β¬T β†’ βŠ₯ &nbsp;&nbsp;β†’&nbsp;&nbsp; β–‘(S β†’ T)</div>
            `,
            question_html: `
                <p><strong>What does Case 3 (Self-Knowledge without Totality) show?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q15" value="0"> S can exist without T.</label>
                    <label><input type="radio" name="q15" value="1"> S ∧ ¬T leads to a contradiction.</label>
                    <label><input type="radio" name="q15" value="2"> T is not necessary for S.</label>
                    <label><input type="radio" name="q15" value="3"> S is empty knowledge.</label>
                    <label><input type="radio" name="q15" value="4"> S and T are the same.</label>
                    <label><input type="radio" name="q15" value="5"> Axiom 1 is false.</label>
                </div>
            `,
            answer: 1
        },
        // ---- Step 16 ----
        {
            id: 16,
            title: "The Synthetic Conclusion – The Trinity follows necessarily",
            explanation: `
                <p>The treatise has <strong>refuted all three cases</strong>:</p>
                <ul>
                    <li><strong>Case 1:</strong> <span class="symbol">T ∧ Β¬U β†’ βŠ₯</span> β†’ <span class="boxed">β–‘(T β†’ U)</span></li>
                    <li><strong>Case 2:</strong> <span class="symbol">U ∧ Β¬S β†’ βŠ₯</span> β†’ <span class="boxed">β–‘(U β†’ S)</span></li>
                    <li><strong>Case 3:</strong> <span class="symbol">S ∧ Β¬T β†’ βŠ₯</span> β†’ <span class="boxed">β–‘(S β†’ T)</span></li>
                </ul>
                <p>This yields a circle:</p>
                <div class="formula-box">T β†’ U β†’ S β†’ T</div>
                <p>In S5, it follows:</p>
                <div class="formula-box">β–‘(U ↔ T) ∧ β–‘(T ↔ S) ∧ β–‘(S ↔ U)</div>
                <p>With A4 (Existence of a World) and the definition of T:</p>
                <div class="formula-box">βˆƒT β†’ βˆƒU ∧ βˆƒS</div>
                <p>Thus:</p>
                <div class="formula-box" style="font-size:1.2rem; background-color:#d4edda; border-color:#6b4f8a;">β–‘(U ∧ T ∧ S)</div>
                <p style="font-weight:bold; color:#6b4f8a;">The Trinity exists necessarily.</p>
            `,
            question_html: `
                <p><strong>What follows from the three cases together with A4?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q16" value="0"> The Trinity is impossible.</label>
                    <label><input type="radio" name="q16" value="1"> The Trinity exists necessarily.</label>
                    <label><input type="radio" name="q16" value="2"> The Trinity exists only in thought.</label>
                    <label><input type="radio" name="q16" value="3"> The Trinity exists partially.</label>
                    <label><input type="radio" name="q16" value="4"> The Trinity is the same as Totality.</label>
                    <label><input type="radio" name="q16" value="5"> The Trinity is an illusion.</label>
                </div>
            `,
            answer: 1
        }
    ];

    // ================================================================
    //  LOGIC
    // ================================================================

    let currentStep = 0;
    const totalSteps = steps.length;
    const stepContainer = document.getElementById('stepContainer');
    const prevBtn = document.getElementById('prevBtn');
    const nextBtn = document.getElementById('nextBtn');
    const stepIndicator = document.getElementById('stepIndicator');
    const progressFill = document.getElementById('progressFill');
    const progressText = document.getElementById('progressText');

    let stepCompleted = new Array(totalSteps).fill(false);

    // --------------------------------------------------------------
    //  Render step
    // --------------------------------------------------------------
    function renderStep(index) {
        const step = steps[index];
        if (!step) return;

        let html = `
            <div class="step-block">
                <div class="step-number">Step ${index} of ${totalSteps-1}</div>
                <div class="step-title">${step.title}</div>
                <div class="step-explanation">${step.explanation}</div>
                <div class="question-box" id="questionBox${index}">
                    ${step.question_html}
                    <button class="qsubmit" data-step="${index}">Check answer</button>
                    <div class="qfeedback" id="feedback${index}"></div>
                </div>
            </div>
        `;

        stepContainer.innerHTML = html;

        const submitBtn = document.querySelector(`.qsubmit[data-step="${index}"]`);
        if (submitBtn) {
            submitBtn.addEventListener('click', function(e) {
                checkAnswer(index);
            });
        }

        const questionBox = document.getElementById(`questionBox${index}`);
        if (questionBox) {
            const radioInputs = questionBox.querySelectorAll('input[type="radio"]');
            radioInputs.forEach(input => {
                input.addEventListener('keydown', function(e) {
                    if (e.key === 'Enter') {
                        e.preventDefault();
                        checkAnswer(index);
                    }
                });
            });
        }

        updateNav(index);
        updateProgress(index);

        if (stepCompleted[index]) {
            const feedback = document.getElementById(`feedback${index}`);
            if (feedback) {
                feedback.className = 'qfeedback correct';
                feedback.textContent = 'βœ… Correct! You have already completed this step.';
                feedback.style.display = 'block';
            }
            const submitBtn2 = document.querySelector(`.qsubmit[data-step="${index}"]`);
            if (submitBtn2) submitBtn2.disabled = true;
        }

        document.querySelector('.step-block').scrollIntoView({ behavior: 'smooth', block: 'start' });
    }

    // --------------------------------------------------------------
    //  Check answer
    // --------------------------------------------------------------
    function checkAnswer(index) {
        if (stepCompleted[index]) return;

        const step = steps[index];
        const questionBox = document.getElementById(`questionBox${index}`);
        const feedback = document.getElementById(`feedback${index}`);

        const selected = questionBox.querySelector('input[type="radio"]:checked');
        if (!selected) {
            feedback.className = 'qfeedback wrong';
            feedback.textContent = '❌ Please select an answer.';
            feedback.style.display = 'block';
            return;
        }

        const userAnswer = parseInt(selected.value);
        const isCorrect = (userAnswer === step.answer);

        if (isCorrect) {
            feedback.className = 'qfeedback correct';
            feedback.textContent = 'βœ… Correct! You may proceed to the next step.';
            feedback.style.display = 'block';
            stepCompleted[index] = true;

            const submitBtn = questionBox.querySelector('.qsubmit');
            if (submitBtn) submitBtn.disabled = true;

            const radios = questionBox.querySelectorAll('input[type="radio"]');
            radios.forEach(r => r.disabled = true);

            updateNav(index);
            updateProgress(index);

            if (stepCompleted.every(v => v === true)) {
                setTimeout(() => {
                    alert('πŸŽ‰ Congratulations! You have successfully completed the entire tutorial!');
                }, 400);
            }

        } else {
            feedback.className = 'qfeedback wrong';
            feedback.textContent = '❌ Incorrect. Please read the step again and try again.';
            feedback.style.display = 'block';
        }
    }

    // --------------------------------------------------------------
    //  Navigation
    // --------------------------------------------------------------
    function updateNav(index) {
        if (index > 0) {
            prevBtn.className = '';
            prevBtn.style.pointerEvents = 'auto';
            prevBtn.style.opacity = '1';
        } else {
            prevBtn.className = 'disabled';
            prevBtn.style.pointerEvents = 'none';
            prevBtn.style.opacity = '0.5';
        }

        if (index < totalSteps - 1 && stepCompleted[index]) {
            nextBtn.className = '';
            nextBtn.style.pointerEvents = 'auto';
            nextBtn.style.opacity = '1';
            nextBtn.textContent = 'Next β†’';
        } else if (index === totalSteps - 1 && stepCompleted[index]) {
            nextBtn.className = '';
            nextBtn.style.pointerEvents = 'auto';
            nextBtn.style.opacity = '1';
            nextBtn.textContent = 'πŸŽ‰ Done – back to entry page';
            nextBtn.href = 'index.html';
        } else {
            nextBtn.className = 'disabled';
            nextBtn.style.pointerEvents = 'none';
            nextBtn.style.opacity = '0.5';
            if (index === totalSteps - 1) {
                nextBtn.textContent = 'πŸŽ‰ Final step – complete all steps';
            } else {
                nextBtn.textContent = 'Next β†’ (please answer the question first)';
            }
        }

        stepIndicator.textContent = `${index} / ${totalSteps-1}`;
    }

    // --------------------------------------------------------------
    //  Progress
    // --------------------------------------------------------------
    function updateProgress(index) {
        const completedCount = stepCompleted.filter(v => v === true).length;
        const percent = (completedCount / totalSteps) * 100;
        progressFill.style.width = `${percent}%`;
        progressText.textContent = `Step ${index} of ${totalSteps-1} – ${completedCount}/${totalSteps} completed`;
    }

    // --------------------------------------------------------------
    //  Event listeners
    // --------------------------------------------------------------
    prevBtn.addEventListener('click', function(e) {
        e.preventDefault();
        if (currentStep > 0) {
            currentStep--;
            renderStep(currentStep);
        }
    });

    nextBtn.addEventListener('click', function(e) {
        e.preventDefault();
        if (currentStep < totalSteps - 1 && stepCompleted[currentStep]) {
            currentStep++;
            renderStep(currentStep);
        } else if (currentStep === totalSteps - 1 && stepCompleted[currentStep]) {
            window.location.href = 'index.html';
        }
    });

    // --------------------------------------------------------------
    //  Init
    // --------------------------------------------------------------
    renderStep(0);
</script>

</body>
</html>