Inhalt

Aktueller Ordner: /

bundle1tutorialeng.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 Bundle 1 – The Axiomatic Structure of the Trinity (Modules 6–8)</title>
    <base href="https://pompeii-project.org">
    <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; }
        .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;
        }
        .part-tag {
            display: inline-block;
            font-size: 0.7rem;
            padding: 0.1rem 0.6rem;
            border-radius: 20px;
            color: white;
            margin-right: 0.5rem;
        }
        .part-tag.pA { background-color: #6b4f8a; }
        .part-tag.pB { background-color: #2a6b4f; }
        .part-tag.pC { background-color: #8b4513; }

        /* ========== 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-block.partA { border-left-color: #6b4f8a; }
        .step-block.partB { border-left-color: #2a6b4f; }
        .step-block.partC { border-left-color: #8b4513; }
        .step-number {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #6b4f8a;
            font-weight: bold;
        }
        .step-number.partB { color: #2a6b4f; }
        .step-number.partC { color: #8b4513; }
        .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;
        }
        .formula-box.important {
            background-color: #d4edda;
            border-color: #6b4f8a;
        }
        .formula-box.partB {
            background-color: #d4e8dd;
            border-color: #2a6b4f;
        }
        .formula-box.partC {
            background-color: #f5e0d0;
            border-color: #8b4513;
        }

        /* ========== QUESTION ========== */
        .question-box {
            background-color: #f5f0ea;
            padding: 1.2rem 1.5rem;
            border-radius: 10px;
            margin-top: 1rem;
            border: 1px solid #d4cab8;
        }
        .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 ========== */
        .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;
        }
    </style>
</head>
<body>

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

    <!-- ===== HEADER ===== -->
    <h1>πŸ“ The Axiomatic Structure of the Trinity <span class="version-badge">Bundle 1 – Modules 6–8</span></h1>
    <div class="subhead">
        An interactive tutorial – Step by step<br>
        <a href="modal.html?lang=en">← Back to the entry page</a> |
        <a href="bundle1eng.pdf">πŸ“„ PDF of the bundle</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 30</div>

    <!-- ===== STEPS ===== -->
    <div id="stepContainer"></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 / 30</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="modal.html?lang=en" style="color: #6b4f8a;">the-last-freedom.org/Projekt_Pompeji</a></p>
        <p style="margin-top:0.2rem;">Bundle 1 guides through Modules 6, 7, and 8 – the axiomatic structure of the Trinity.</p>
    </div>

</div>

<script>
    // ================================================================
    //  DATA: 30 steps for Bundle 1 – Modules 6, 7, 8
    // ================================================================

    const steps = [
        // ============================================================
        //  INTRODUCTION (Steps 0–2)
        // ============================================================
        {
            id: 0,
            title: "What is Bundle 1?",
            part: "Introduction",
            explanation: `
                <p><strong>Bundle 1</strong> guides through the three modules that clarify the <strong>axiomatic structure</strong> of the Trinity:</p>
                <ul>
                    <li><strong>Module 6:</strong> The Minimality of the Superposition Axioms.</li>
                    <li><strong>Module 7:</strong> The Non-Uniqueness of the Superposition Axioms.</li>
                    <li><strong>Module 8:</strong> The Trinity as Limit (Topological Modal Logic).</li>
                </ul>
                <p>These three modules answer the question: <strong>What is the axiomatic structure of the Trinity?</strong></p>
                <p>They all build on <code>modal5.md</code> and presuppose the distinction introduced there between pure S5 and S5+SP.</p>
            `,
            question_html: `
                <p><strong>What is the goal of Bundle 1?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q0" value="0"> To refute the Trinity.</label>
                    <label><input type="radio" name="q0" value="1"> To clarify the axiomatic structure of the Trinity.</label>
                    <label><input type="radio" name="q0" value="2"> To prove the existence of God.</label>
                    <label><input type="radio" name="q0" value="3"> To expose the Trinity as an illusion.</label>
                    <label><input type="radio" name="q0" value="4"> To replace physics.</label>
                    <label><input type="radio" name="q0" value="5"> To ground theology.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 1,
            title: "Recap: What modal5.md has shown",
            part: "Introduction",
            explanation: `
                <p>In <code>modal5.md</code> it was shown:</p>
                <ol>
                    <li><strong>In pure S5</strong>, the Trinitarian formula <span class="symbol">β–‘βˆ€xTr(x)</span> is <strong>not</strong> derivable from the basic axioms A1, A4, A11, A12, A13, A14, A15.</li>
                    <li><strong>Under the superposition axioms</strong> ASP1–ASP5, it is derivable.</li>
                    <li><strong>The question of minimality</strong> remained open.</li>
                </ol>
                <p>Bundle 1 answers this open question β€” and goes beyond it.</p>
                <div class="formula-box">S5 &not;&vdash; β–‘βˆ€xTr(x) &nbsp;&nbsp;–&nbsp;&nbsp; S5+SP &vdash; β–‘βˆ€xTr(x)</div>
            `,
            question_html: `
                <p><strong>What remained open in modal5.md?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q1" value="0"> The question of whether the Trinity exists.</label>
                    <label><input type="radio" name="q1" value="1"> The question of the minimality of the superposition axioms.</label>
                    <label><input type="radio" name="q1" value="2"> The question of whether S5 is contradictory.</label>
                    <label><input type="radio" name="q1" value="3"> The question of whether physics is relevant.</label>
                    <label><input type="radio" name="q1" value="4"> The question of whether there is a God.</label>
                    <label><input type="radio" name="q1" value="5"> The question of whether the Trinity is an illusion.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 2,
            title: "The Three Forms of Minimality",
            part: "Introduction",
            explanation: `
                <p>The term "minimality" is ambiguous. In Module 6, three forms are distinguished:</p>
                <ol>
                    <li><strong>Redundancy:</strong> An axiom is derivable from the others.</li>
                    <li><strong>Independence:</strong> No axiom is derivable from the others.</li>
                    <li><strong>Semantic indispensability:</strong> No proper subset derives the target statement.</li>
                </ol>
                <p>The third form is the strongest and the most relevant for the Trinity question.</p>
            `,
            question_html: `
                <p><strong>Which form of minimality is the strongest?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q2" value="0"> Redundancy</label>
                    <label><input type="radio" name="q2" value="1"> Independence</label>
                    <label><input type="radio" name="q2" value="2"> Semantic indispensability</label>
                    <label><input type="radio" name="q2" value="3"> Contingency</label>
                    <label><input type="radio" name="q2" value="4"> Arbitrariness</label>
                    <label><input type="radio" name="q2" value="5"> Contradictoriness</label>
                </div>
            `,
            answer: 2
        },

        // ============================================================
        //  PART A: MINIMALITY (Module 6) – Steps 3–12
        // ============================================================
        {
            id: 3,
            title: "PART A – Module 6: The Minimality of the Superposition Axioms",
            part: "Part A",
            explanation: `
                <div style="background:#e8e0f0; padding:0.5rem 1rem; border-radius:6px; margin-bottom:1rem;">
                    <span class="part-tag pA">PART A</span>
                    <strong>Module 6</strong>
                </div>
                <p><strong>Question:</strong> Is each of the five superposition axioms indispensable?</p>
                <p><strong>Answer:</strong> No. ASP1 is derivable from ASP2 in S5. The minimal subset for the target statement is {ASP3, ASP4, ASP5}.</p>
                <p><strong>Method:</strong> Construction of countermodels for each axiom.</p>
            `,
            question_html: `
                <p><strong>What is the main question of Module 6?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q3" value="0"> Is the Trinity true?</label>
                    <label><input type="radio" name="q3" value="1"> Is each superposition axiom indispensable?</label>
                    <label><input type="radio" name="q3" value="2"> Is S5 contradictory?</label>
                    <label><input type="radio" name="q3" value="3"> Is physics relevant?</label>
                    <label><input type="radio" name="q3" value="4"> Is there a God?</label>
                    <label><input type="radio" name="q3" value="5"> Is the Trinity an illusion?</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 4,
            title: "First Result: ASP2 Implies ASP1",
            part: "Part A",
            explanation: `
                <p>From ASP2, by instantiation <span class="symbol">v := w<sub>super</sub></span>:</p>
                <div class="formula-box">w<sub>super</sub> R w<sub>super</sub> β†’ (C @ w<sub>super</sub> ↔ w<sub>super</sub> = w<sub>super</sub>)</div>
                <p>In S5, reflexivity holds: <span class="symbol">w<sub>super</sub> R w<sub>super</sub></span>. And identity: <span class="symbol">w<sub>super</sub> = w<sub>super</sub></span>. Therefore:</p>
                <div class="formula-box important">C @ w<sub>super</sub></div>
                <p>That is precisely ASP1. <strong>ASP1 is therefore derivable from ASP2.</strong></p>
            `,
            question_html: `
                <p><strong>Which axiom is derivable from ASP2?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q4" value="0"> ASP3</label>
                    <label><input type="radio" name="q4" value="1"> ASP1</label>
                    <label><input type="radio" name="q4" value="2"> ASP4</label>
                    <label><input type="radio" name="q4" value="3"> ASP5</label>
                    <label><input type="radio" name="q4" value="4"> None</label>
                    <label><input type="radio" name="q4" value="5"> All</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 5,
            title: "The Minimal Subset for the Target Statement",
            part: "Part A",
            explanation: `
                <p>For the derivation of the target statement <span class="symbol">β–‘βˆ€xTr(x)</span>, the minimal subset is:</p>
                <div class="formula-box important">{ASP3, ASP4, ASP5}</div>
                <p><strong>Proof:</strong></p>
                <ul>
                    <li><strong>ASP3:</strong> Tr holds in <span class="symbol">w<sub>super</sub></span>.</li>
                    <li><strong>ASP4:</strong> Tr is transferred to all reachable worlds.</li>
                    <li><strong>ASP5:</strong> Every world is reachable.</li>
                </ul>
                <p>Thus Tr holds in all worlds β€” i.e., <span class="symbol">β–‘βˆ€xTr(x)</span>.</p>
            `,
            question_html: `
                <p><strong>Which subset is minimal for the target statement?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q5" value="0"> {ASP1, ASP2, ASP3}</label>
                    <label><input type="radio" name="q5" value="1"> {ASP3, ASP4, ASP5}</label>
                    <label><input type="radio" name="q5" value="2"> {ASP1, ASP4, ASP5}</label>
                    <label><input type="radio" name="q5" value="3"> {ASP2, ASP3}</label>
                    <label><input type="radio" name="q5" value="4"> {ASP1, ASP2}</label>
                    <label><input type="radio" name="q5" value="5"> {ASP4}</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 6,
            title: "Countermodel for ASP3",
            part: "Part A",
            explanation: `
                <p>We construct a model <span class="symbol">ℳ₃</span> that satisfies ASP4 and ASP5, but not ASP3, and in which the target statement does <strong>not</strong> hold.</p>
                <p><strong>Construction:</strong></p>
                <ul>
                    <li>W = {w<sub>super</sub>, w*}</li>
                    <li>R = W Γ— W (universal)</li>
                    <li>Tr(x) @ w<sub>super</sub>: false for an individual a</li>
                    <li>Tr(x) @ w*: true for all x</li>
                </ul>
                <p><strong>Verification:</strong> ASP3 violated (Β¬Tr(a) @ w<sub>super</sub>). Target statement false (in w<sub>super</sub>, Β¬βˆ€xTr(x) holds).</p>
            `,
            question_html: `
                <p><strong>What does the countermodel for ASP3 show?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q6" value="0"> ASP3 is redundant.</label>
                    <label><input type="radio" name="q6" value="1"> ASP3 is indispensable for the target statement.</label>
                    <label><input type="radio" name="q6" value="2"> ASP3 contradicts A1.</label>
                    <label><input type="radio" name="q6" value="3"> ASP3 is the same as ASP4.</label>
                    <label><input type="radio" name="q6" value="4"> ASP3 is not formulable.</label>
                    <label><input type="radio" name="q6" value="5"> ASP3 is true.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 7,
            title: "Countermodel for ASP4",
            part: "Part A",
            explanation: `
                <p>We construct a model <span class="symbol">β„³β‚„</span> that satisfies ASP3 and ASP5, but not ASP4.</p>
                <p><strong>Construction:</strong></p>
                <ul>
                    <li>W = {w<sub>super</sub>, w₁}</li>
                    <li>R = W Γ— W (universal)</li>
                    <li>Tr(x) @ w<sub>super</sub>: true for all x</li>
                    <li>Tr(x) @ w₁: false for a</li>
                </ul>
                <p><strong>Verification:</strong> ASP4 violated (w<sub>super</sub> R w₁, but Β¬Tr(a) @ w₁). Target statement false.</p>
            `,
            question_html: `
                <p><strong>What does the countermodel for ASP4 show?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q7" value="0"> ASP4 is redundant.</label>
                    <label><input type="radio" name="q7" value="1"> ASP4 is indispensable for the target statement.</label>
                    <label><input type="radio" name="q7" value="2"> ASP4 contradicts A1.</label>
                    <label><input type="radio" name="q7" value="3"> ASP4 is the same as ASP3.</label>
                    <label><input type="radio" name="q7" value="4"> ASP4 is not formulable.</label>
                    <label><input type="radio" name="q7" value="5"> ASP4 is true.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 8,
            title: "Countermodel for ASP5",
            part: "Part A",
            explanation: `
                <p>We construct a model <span class="symbol">β„³β‚…</span> that satisfies ASP3 and ASP4, but not ASP5.</p>
                <p><strong>Construction:</strong></p>
                <ul>
                    <li>W = {w<sub>super</sub>, w₁}</li>
                    <li>R = {(w<sub>super</sub>, w<sub>super</sub>), (w₁, w₁)} (two isolated classes)</li>
                    <li>Tr(x) @ w<sub>super</sub>: true for all x</li>
                    <li>Tr(x) @ w₁: false for a</li>
                </ul>
                <p><strong>Verification:</strong> ASP5 violated (w₁ β‰  w<sub>super</sub>, but w<sub>super</sub> R w₁ does not hold). Target statement false.</p>
            `,
            question_html: `
                <p><strong>What does the countermodel for ASP5 show?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q8" value="0"> ASP5 is redundant.</label>
                    <label><input type="radio" name="q8" value="1"> ASP5 is indispensable for the target statement.</label>
                    <label><input type="radio" name="q8" value="2"> ASP5 contradicts A1.</label>
                    <label><input type="radio" name="q8" value="3"> ASP5 is the same as ASP4.</label>
                    <label><input type="radio" name="q8" value="4"> ASP5 is not formulable.</label>
                    <label><input type="radio" name="q8" value="5"> ASP5 is true.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 9,
            title: "Synthesis: The Minimal Axiomatics",
            part: "Part A",
            explanation: `
                <p>The results of Module 6:</p>
                <ul>
                    <li><strong>ASP1 is redundant</strong> (derivable from ASP2).</li>
                    <li><strong>The minimal subset for the target statement is {ASP3, ASP4, ASP5}.</strong></li>
                    <li><strong>The full axiomatics {ASP1, …, ASP5} is minimal for the superposition intuition.</strong></li>
                </ul>
                <p><strong>Consequence:</strong> The concept of minimality is <strong>relative</strong>. It depends on what is to be derived.</p>
            `,
            question_html: `
                <p><strong>What is the main result of Module 6?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q9" value="0"> The Trinity is impossible.</label>
                    <label><input type="radio" name="q9" value="1"> The minimal subset for the target statement is {ASP3, ASP4, ASP5}.</label>
                    <label><input type="radio" name="q9" value="2"> All ASP axioms are redundant.</label>
                    <label><input type="radio" name="q9" value="3"> S5 is contradictory.</label>
                    <label><input type="radio" name="q9" value="4"> The Trinity is an illusion.</label>
                    <label><input type="radio" name="q9" value="5"> Physics is irrelevant.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 10,
            title: "The Role of ASP1 and ASP2",
            part: "Part A",
            explanation: `
                <p>ASP1 and ASP2 are <strong>not necessary</strong> for the target statement. But they are <strong>essential</strong> for the superposition intuition:</p>
                <ul>
                    <li><strong>ASP1:</strong> C holds in the superposition.</li>
                    <li><strong>ASP2:</strong> C holds <strong>only</strong> in the superposition.</li>
                </ul>
                <p>Without ASP1 and ASP2, the idea that consciousness is the self-reflexive moment of the superposition would not be formalized.</p>
            `,
            question_html: `
                <p><strong>What role do ASP1 and ASP2 play for the superposition intuition?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q10" value="0"> They are superfluous.</label>
                    <label><input type="radio" name="q10" value="1"> They are essential for the superposition intuition.</label>
                    <label><input type="radio" name="q10" value="2"> They contradict A1.</label>
                    <label><input type="radio" name="q10" value="3"> They are identical to ASP3.</label>
                    <label><input type="radio" name="q10" value="4"> They are not formulable.</label>
                    <label><input type="radio" name="q10" value="5"> They are false.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 11,
            title: "Summary of Part A",
            part: "Part A",
            explanation: `
                <div style="background:#e8e0f0; padding:0.8rem 1.2rem; border-radius:8px;">
                    <p style="font-weight:bold; color:#6b4f8a;">Result of Module 6:</p>
                    <div class="formula-box important">{ASP3, ASP4, ASP5} is minimal for β–‘βˆ€xTr(x)</div>
                    <p>ASP1 is derivable from ASP2 (redundant). The full axiomatics is minimal for the superposition intuition.</p>
                    <p>The concept of minimality is <strong>relative</strong>.</p>
                </div>
            `,
            question_html: `
                <p><strong>What is the conclusion of Part A?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q11" value="0"> All axioms are indispensable.</label>
                    <label><input type="radio" name="q11" value="1"> Minimality is relative to the derivation goal.</label>
                    <label><input type="radio" name="q11" value="2"> S5 is contradictory.</label>
                    <label><input type="radio" name="q11" value="3"> The Trinity is impossible.</label>
                    <label><input type="radio" name="q11" value="4"> Physics is irrelevant.</label>
                    <label><input type="radio" name="q11" value="5"> The Trinity is an illusion.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 12,
            title: "Transition to Part B",
            part: "Part A",
            explanation: `
                <p>Module 6 has shown: The superposition axioms are minimal in a relative sense. The question remained open:</p>
                <p><strong>Is the superposition extension the only sufficient extension of S5?</strong></p>
                <p>This question is treated in <strong>Module 7</strong>.</p>
            `,
            question_html: `
                <p><strong>Which question does Module 7 treat?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q12" value="0"> Whether the Trinity is true.</label>
                    <label><input type="radio" name="q12" value="1"> Whether the superposition extension is the only sufficient extension.</label>
                    <label><input type="radio" name="q12" value="2"> Whether S5 is contradictory.</label>
                    <label><input type="radio" name="q12" value="3"> Whether physics is relevant.</label>
                    <label><input type="radio" name="q12" value="4"> Whether God exists.</label>
                    <label><input type="radio" name="q12" value="5"> Whether the Trinity is an illusion.</label>
                </div>
            `,
            answer: 1
        },

        // ============================================================
        //  PART B: NON-UNIQUENESS (Module 7) – Steps 13–21
        // ============================================================
        {
            id: 13,
            title: "PART B – Module 7: Non-Uniqueness",
            part: "Part B",
            explanation: `
                <div style="background:#d4e8dd; padding:0.5rem 1rem; border-radius:6px; margin-bottom:1rem;">
                    <span class="part-tag pB">PART B</span>
                    <strong>Module 7</strong>
                </div>
                <p><strong>Question:</strong> Is the superposition extension the only sufficient extension of S5?</p>
                <p><strong>Answer:</strong> No. There are at least three further systematically different extensions:</p>
                <ol>
                    <li><strong>Topological extension</strong> (limit axioms)</li>
                    <li><strong>Temporal extension</strong> (time modes)</li>
                    <li><strong>Mereological extension</strong> (part-whole axioms)</li>
                </ol>
                <p><strong>Consequence:</strong> The Trinity is axiom-invariant.</p>
            `,
            question_html: `
                <p><strong>What is the main question of Module 7?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q13" value="0"> Whether the Trinity is true.</label>
                    <label><input type="radio" name="q13" value="1"> Whether the superposition extension is the only sufficient extension.</label>
                    <label><input type="radio" name="q13" value="2"> Whether S5 is contradictory.</label>
                    <label><input type="radio" name="q13" value="3"> Whether physics is relevant.</label>
                    <label><input type="radio" name="q13" value="4"> Whether God exists.</label>
                    <label><input type="radio" name="q13" value="5"> Whether the Trinity is an illusion.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 14,
            title: "Topological Extension",
            part: "Part B",
            explanation: `
                <p>The <strong>topological extension</strong> uses the concept <strong>limit</strong> instead of superposition:</p>
                <div class="formula-box partB">TOP := {TOP1, TOP2, TOP3, TOP4, TOP5}</div>
                <ul>
                    <li>TOP1: Neighborhood implies actuality.</li>
                    <li>TOP2: Limit implies possibility.</li>
                    <li>TOP3: Limit distributes over implication.</li>
                    <li>TOP4: Neighborhood of the Trinity β†’ limit of the Trinity.</li>
                    <li>TOP5: Limit of the Trinity β†’ necessity of the Trinity.</li>
                </ul>
                <p><strong>Theorem:</strong> <span class="symbol">S5+TOP ⊒ β–‘βˆ€xTr(x)</span>.</p>
            `,
            question_html: `
                <p><strong>Which basic concept does the topological extension use?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q14" value="0"> Primordial state</label>
                    <label><input type="radio" name="q14" value="1"> Limit</label>
                    <label><input type="radio" name="q14" value="2"> Time</label>
                    <label><input type="radio" name="q14" value="3"> Part-whole</label>
                    <label><input type="radio" name="q14" value="4"> Consciousness</label>
                    <label><input type="radio" name="q14" value="5"> Possibility</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 15,
            title: "Temporal Extension",
            part: "Part B",
            explanation: `
                <p>The <strong>temporal extension</strong> uses the concept <strong>time</strong> instead of superposition:</p>
                <div class="formula-box partB">TEMP := {T1, T2, T3, T4}</div>
                <ul>
                    <li>T1: Present is real.</li>
                    <li>T2: Past is not present.</li>
                    <li>T3: Timelessness implies necessity.</li>
                    <li>T4: Every possibility is temporally located.</li>
                </ul>
                <p><strong>Theorem:</strong> <span class="symbol">S5+TEMP ⊒ β–‘βˆ€xTr(x)</span>.</p>
                <p><strong>Important:</strong> The temporal extension uses only <strong>four</strong> axioms β€” it is more parsimonious than the superposition extension.</p>
            `,
            question_html: `
                <p><strong>Which basic concept does the temporal extension use?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q15" value="0"> Primordial state</label>
                    <label><input type="radio" name="q15" value="1"> Limit</label>
                    <label><input type="radio" name="q15" value="2"> Time</label>
                    <label><input type="radio" name="q15" value="3"> Part-whole</label>
                    <label><input type="radio" name="q15" value="4"> Consciousness</label>
                    <label><input type="radio" name="q15" value="5"> Possibility</label>
                </div>
            `,
            answer: 2
        },
        {
            id: 16,
            title: "Mereological Extension",
            part: "Part B",
            explanation: `
                <p>The <strong>mereological extension</strong> uses the concept <strong>part-whole</strong> instead of superposition:</p>
                <div class="formula-box partB">MER := {MER1, MER2, MER3, MER4, MER5}</div>
                <ul>
                    <li>MER1–MER3: Partial order (reflexivity, antisymmetry, transitivity).</li>
                    <li>MER4: Existence of the sum for every non-empty property.</li>
                    <li>MER5: Everything is part of the sum of the Trinitarian individuals.</li>
                </ul>
                <p><strong>Theorem:</strong> <span class="symbol">S5+MER ⊒ β–‘βˆ€xTr(x)</span>.</p>
            `,
            question_html: `
                <p><strong>Which basic concept does the mereological extension use?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q16" value="0"> Primordial state</label>
                    <label><input type="radio" name="q16" value="1"> Limit</label>
                    <label><input type="radio" name="q16" value="2"> Time</label>
                    <label><input type="radio" name="q16" value="3"> Part-whole</label>
                    <label><input type="radio" name="q16" value="4"> Consciousness</label>
                    <label><input type="radio" name="q16" value="5"> Possibility</label>
                </div>
            `,
            answer: 3
        },
        {
            id: 17,
            title: "Comparison of the Four Extensions",
            part: "Part B",
            explanation: `
                <p>The four extensions in comparison:</p>
                <table style="width:100%; border-collapse:collapse; margin:1rem 0; font-size:0.9rem;">
                    <tr style="background:#e0d6c8;">
                        <th style="border:1px solid #d4cab8; padding:0.4rem; text-align:left;">Extension</th>
                        <th style="border:1px solid #d4cab8; padding:0.4rem; text-align:left;">Basic concept</th>
                        <th style="border:1px solid #d4cab8; padding:0.4rem; text-align:left;">Number of axioms</th>
                    </tr>
                    <tr>
                        <td style="border:1px solid #d4cab8; padding:0.4rem;">Superposition</td>
                        <td style="border:1px solid #d4cab8; padding:0.4rem;">Primordial state</td>
                        <td style="border:1px solid #d4cab8; padding:0.4rem;">5</td>
                    </tr>
                    <tr>
                        <td style="border:1px solid #d4cab8; padding:0.4rem;">Topology</td>
                        <td style="border:1px solid #d4cab8; padding:0.4rem;">Limit</td>
                        <td style="border:1px solid #d4cab8; padding:0.4rem;">5</td>
                    </tr>
                    <tr>
                        <td style="border:1px solid #d4cab8; padding:0.4rem;">Temporality</td>
                        <td style="border:1px solid #d4cab8; padding:0.4rem;">Time</td>
                        <td style="border:1px solid #d4cab8; padding:0.4rem;">4</td>
                    </tr>
                    <tr>
                        <td style="border:1px solid #d4cab8; padding:0.4rem;">Mereology</td>
                        <td style="border:1px solid #d4cab8; padding:0.4rem;">Part-whole</td>
                        <td style="border:1px solid #d4cab8; padding:0.4rem;">5</td>
                    </tr>
                </table>
                <p>All four derive the Trinity β€” in structurally different ways.</p>
            `,
            question_html: `
                <p><strong>Which extension is axiomatically the most parsimonious?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q17" value="0"> Superposition</label>
                    <label><input type="radio" name="q17" value="1"> Topology</label>
                    <label><input type="radio" name="q17" value="2"> Temporality</label>
                    <label><input type="radio" name="q17" value="3"> Mereology</label>
                    <label><input type="radio" name="q17" value="4"> All equal</label>
                    <label><input type="radio" name="q17" value="5"> None</label>
                </div>
            `,
            answer: 2
        },
        {
            id: 18,
            title: "The Trinity is Axiom-Invariant",
            part: "Part B",
            explanation: `
                <p><strong>Main result of Module 7:</strong></p>
                <div class="formula-box partB important">The Trinity follows from at least four systematically different extensions of S5.</div>
                <p>This means:</p>
                <ul>
                    <li>The Trinitarian structure is <strong>not</strong> bound to a particular metaphysical language.</li>
                    <li>It is <strong>robust</strong> with respect to the choice of extension.</li>
                    <li>What remains is the <strong>necessity of a supplementary structure at all</strong>.</li>
                </ul>
            `,
            question_html: `
                <p><strong>What is the main result of Module 7?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q18" value="0"> The Trinity is impossible.</label>
                    <label><input type="radio" name="q18" value="1"> The Trinity is axiom-invariant.</label>
                    <label><input type="radio" name="q18" value="2"> S5 is contradictory.</label>
                    <label><input type="radio" name="q18" value="3"> Physics is irrelevant.</label>
                    <label><input type="radio" name="q18" value="4"> God does not exist.</label>
                    <label><input type="radio" name="q18" value="5"> The Trinity is an illusion.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 19,
            title: "What Follows from This?",
            part: "Part B",
            explanation: `
                <p>From axiom-invariance follows:</p>
                <ul>
                    <li><strong>The choice of extension is not determined by the target statement.</strong> It is a metaphysical, physical, or hermeneutic question.</li>
                    <li><strong>Metalogic only shows dependencies.</strong> It does not show which extension is the right one.</li>
                    <li><strong>We stand at the beginning of infinity.</strong> There could be further extensions.</li>
                </ul>
            `,
            question_html: `
                <p><strong>What follows from axiom-invariance?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q19" value="0"> The Trinity is impossible.</label>
                    <label><input type="radio" name="q19" value="1"> The choice of extension is a metaphysical question, not a metalogical one.</label>
                    <label><input type="radio" name="q19" value="2"> S5 is contradictory.</label>
                    <label><input type="radio" name="q19" value="3"> Physics is irrelevant.</label>
                    <label><input type="radio" name="q19" value="4"> God does not exist.</label>
                    <label><input type="radio" name="q19" value="5"> The Trinity is an illusion.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 20,
            title: "Summary of Part B",
            part: "Part B",
            explanation: `
                <div style="background:#d4e8dd; padding:0.8rem 1.2rem; border-radius:8px;">
                    <p style="font-weight:bold; color:#2a6b4f;">Result of Module 7:</p>
                    <div class="formula-box partB important">The Trinity is axiom-invariant.</div>
                    <p>There are at least four systematically different extensions of S5 that derive the Trinity.</p>
                    <p>The choice of extension is not a metalogical question.</p>
                </div>
            `,
            question_html: `
                <p><strong>What is the conclusion of Part B?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q20" value="0"> The Trinity is impossible.</label>
                    <label><input type="radio" name="q20" value="1"> The Trinity is axiom-invariant.</label>
                    <label><input type="radio" name="q20" value="2"> S5 is contradictory.</label>
                    <label><input type="radio" name="q20" value="3"> Physics is irrelevant.</label>
                    <label><input type="radio" name="q20" value="4"> God does not exist.</label>
                    <label><input type="radio" name="q20" value="5"> The Trinity is an illusion.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 21,
            title: "Transition to Part C",
            part: "Part B",
            explanation: `
                <p>Module 7 has shown: The Trinity is axiom-invariant. The question remained open:</p>
                <p><strong>How can the limit concept from modal5.md be precisely grasped?</strong></p>
                <p>This question is treated in <strong>Module 8</strong>.</p>
            `,
            question_html: `
                <p><strong>Which question does Module 8 treat?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q21" value="0"> Whether the Trinity is true.</label>
                    <label><input type="radio" name="q21" value="1"> How the limit concept can be precisely grasped.</label>
                    <label><input type="radio" name="q21" value="2"> Whether S5 is contradictory.</label>
                    <label><input type="radio" name="q21" value="3"> Whether physics is relevant.</label>
                    <label><input type="radio" name="q21" value="4"> Whether God exists.</label>
                    <label><input type="radio" name="q21" value="5"> Whether the Trinity is an illusion.</label>
                </div>
            `,
            answer: 1
        },

        // ============================================================
        //  PART C: LIMIT MODAL LOGIC (Module 8) – Steps 22–29
        // ============================================================
        {
            id: 22,
            title: "PART C – Module 8: The Trinity as Limit",
            part: "Part C",
            explanation: `
                <div style="background:#f5e0d0; padding:0.5rem 1rem; border-radius:6px; margin-bottom:1rem;">
                    <span class="part-tag pC">PART C</span>
                    <strong>Module 8</strong>
                </div>
                <p><strong>Question:</strong> How can the informal limit definition from modal5.md be precisely grasped?</p>
                <p><strong>Answer:</strong> Through a topological modal logic with a limit operator <span class="symbol">β„’</span>.</p>
                <p><strong>Method:</strong> Neighborhood semantics, convergence, limit operators.</p>
            `,
            question_html: `
                <p><strong>What is the main question of Module 8?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q22" value="0"> Whether the Trinity is true.</label>
                    <label><input type="radio" name="q22" value="1"> How the limit concept can be precisely grasped.</label>
                    <label><input type="radio" name="q22" value="2"> Whether S5 is contradictory.</label>
                    <label><input type="radio" name="q22" value="3"> Whether physics is relevant.</label>
                    <label><input type="radio" name="q22" value="4"> Whether God exists.</label>
                    <label><input type="radio" name="q22" value="5"> Whether the Trinity is an illusion.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 23,
            title: "The Definition That Remained Informal",
            part: "Part C",
            explanation: `
                <p>In modal5.md the following definitions appear:</p>
                <div class="formula-box">T := { x | U &lt; x &lt; S }</div>
                <div class="formula-box">U := lim<sub>x β†’ inf</sub> T</div>
                <div class="formula-box">S := lim<sub>x β†’ sup</sub> T</div>
                <p>These definitions are <strong>informal</strong>. They use a metric limit concept that is not readily available in first-order modal logic.</p>
            `,
            question_html: `
                <p><strong>Why are the definitions from modal5.md informal?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q23" value="0"> Because they are false.</label>
                    <label><input type="radio" name="q23" value="1"> Because they use a metric limit concept that is not self-evident in modal logic.</label>
                    <label><input type="radio" name="q23" value="2"> Because they are too long.</label>
                    <label><input type="radio" name="q23" value="3"> Because they contradict A1.</label>
                    <label><input type="radio" name="q23" value="4"> Because they are not axioms.</label>
                    <label><input type="radio" name="q23" value="5"> Because they are too short.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 24,
            title: "Topological Modal Logic: Neighborhood Semantics",
            part: "Part C",
            explanation: `
                <p><strong>Neighborhood semantics</strong> is a generalization of Kripke semantics. Instead of an accessibility relation R, it uses a <strong>neighborhood function</strong> N:</p>
                <div class="formula-box partC">N : W β†’ 𝒫(𝒫(W))</div>
                <p>N(w) is the set of <strong>neighborhoods</strong> of w. A neighborhood of w is a set of worlds that "surrounds" w.</p>
                <p>The neighborhood operator <span class="symbol">𝒩</span> is defined by:</p>
                <div class="formula-box partC">𝒩p @ w ⟺ { v | p @ v } ∈ N(w)</div>
            `,
            question_html: `
                <p><strong>What is the neighborhood function N?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q24" value="0"> An accessibility relation.</label>
                    <label><input type="radio" name="q24" value="1"> A function that assigns to each world a set of neighborhoods.</label>
                    <label><input type="radio" name="q24" value="2"> A set of worlds.</label>
                    <label><input type="radio" name="q24" value="3"> A formula.</label>
                    <label><input type="radio" name="q24" value="4"> A truth function.</label>
                    <label><input type="radio" name="q24" value="5"> A variable.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 25,
            title: "The Limit Operator β„’",
            part: "Part C",
            explanation: `
                <p>The <strong>limit operator</strong> <span class="symbol">β„’</span> is defined by:</p>
                <div class="formula-box partC">β„’p @ w ⟺ there is a sequence (w<sub>n</sub>) β†’ w with p @ w<sub>n</sub> for almost all n</div>
                <p>We distinguish two variants:</p>
                <ul>
                    <li><span class="symbol">β„’<sub>inf</sub></span>: lower limit (monotonically decreasing sequence).</li>
                    <li><span class="symbol">β„’<sub>sup</sub></span>: upper limit (monotonically increasing sequence).</li>
                </ul>
            `,
            question_html: `
                <p><strong>What does β„’p @ w mean?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q25" value="0"> p holds in w.</label>
                    <label><input type="radio" name="q25" value="1"> p holds in the limit of a sequence converging to w.</label>
                    <label><input type="radio" name="q25" value="2"> p is necessary.</label>
                    <label><input type="radio" name="q25" value="3"> p is impossible.</label>
                    <label><input type="radio" name="q25" value="4"> p is contingent.</label>
                    <label><input type="radio" name="q25" value="5"> p is false.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 26,
            title: "The Limit Axioms",
            part: "Part C",
            explanation: `
                <p>The axioms for <span class="symbol">β„’</span>:</p>
                <div class="formula-box partC">L := {L1, L2, L3, L4, L5, L6, L7}</div>
                <ul>
                    <li>L1, L2: Limits are possible.</li>
                    <li>L3, L4: Limit operators distribute over implication.</li>
                    <li>L5, L6: Limits imply neighborhood.</li>
                    <li>L7: Neighborhood implies actuality.</li>
                </ul>
            `,
            question_html: `
                <p><strong>What does axiom L7 state?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q26" value="0"> Limit implies possibility.</label>
                    <label><input type="radio" name="q26" value="1"> Neighborhood implies actuality.</label>
                    <label><input type="radio" name="q26" value="2"> Limit implies necessity.</label>
                    <label><input type="radio" name="q26" value="3"> Neighborhood is impossible.</label>
                    <label><input type="radio" name="q26" value="4"> Limit is false.</label>
                    <label><input type="radio" name="q26" value="5"> Neighborhood is the same as necessity.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 27,
            title: "Reconstruction of U and S",
            part: "Part C",
            explanation: `
                <p>The informal definitions are now made precise:</p>
                <div class="formula-box partC important">U := β„’<sub>inf</sub> T</div>
                <div class="formula-box partC important">S := β„’<sub>sup</sub> T</div>
                <p><strong>Meaning:</strong> U is the lower limit of Totality. S is the upper limit. Both are <strong>not elements</strong> of T, but limits in the sense of β„’.</p>
            `,
            question_html: `
                <p><strong>How are U and S defined in Module 8?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q27" value="0"> U := lim<sub>x β†’ inf</sub> T, S := lim<sub>x β†’ sup</sub> T (metric)</label>
                    <label><input type="radio" name="q27" value="1"> U := β„’<sub>inf</sub> T, S := β„’<sub>sup</sub> T (topological)</label>
                    <label><input type="radio" name="q27" value="2"> U := T, S := T</label>
                    <label><input type="radio" name="q27" value="3"> U := βˆ…, S := βˆ…</label>
                    <label><input type="radio" name="q27" value="4"> U := β–‘T, S := β—‡T</label>
                    <label><input type="radio" name="q27" value="5"> U := ASP1, S := ASP5</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 28,
            title: "Proof of the Trinity in S5+SP+β„’",
            part: "Part C",
            explanation: `
                <p><strong>Theorem L-A:</strong> In S5+SP+β„’, <span class="symbol">β–‘βˆ€xTr(x)</span> holds.</p>
                <p><strong>Proof idea:</strong></p>
                <ol>
                    <li>From ASP3: Tr holds in w<sub>super</sub>.</li>
                    <li>From the limit definition: β„’<sub>inf</sub> T @ w<sub>super</sub> and β„’<sub>sup</sub> T @ w<sub>super</sub>.</li>
                    <li>From L5, L6, L7: T @ w<sub>super</sub>.</li>
                    <li>Hence: U ∧ T ∧ S @ w<sub>super</sub>.</li>
                    <li>Since w<sub>super</sub> is accessible to all worlds, Tr holds in all worlds.</li>
                </ol>
            `,
            question_html: `
                <p><strong>What is the main result of Module 8?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q28" value="0"> The Trinity is impossible.</label>
                    <label><input type="radio" name="q28" value="1"> In S5+SP+β„’, β–‘βˆ€xTr(x) holds.</label>
                    <label><input type="radio" name="q28" value="2"> S5 is contradictory.</label>
                    <label><input type="radio" name="q28" value="3"> Physics is irrelevant.</label>
                    <label><input type="radio" name="q28" value="4"> God does not exist.</label>
                    <label><input type="radio" name="q28" value="5"> The Trinity is an illusion.</label>
                </div>
            `,
            answer: 1
        },
        {
            id: 29,
            title: "Conclusion: The Axiomatic Structure of the Trinity",
            part: "Part C",
            explanation: `
                <p><strong>Summary of Bundle 1:</strong></p>
                <ol>
                    <li><strong>Module 6:</strong> The superposition axioms are minimal in a relative sense β€” {ASP3, ASP4, ASP5} is minimal for the target statement.</li>
                    <li><strong>Module 7:</strong> The Trinity is axiom-invariant β€” it follows from at least four systematically different extensions of S5.</li>
                    <li><strong>Module 8:</strong> The definition that remained informal can be precisely grasped through the operator β„’.</li>
                </ol>
                <div class="formula-box important" style="font-size:1.1rem;">
                    The axiomatic structure of the Trinity is <strong>robust</strong>, <strong>relative</strong>, and <strong>precisifiable</strong>.
                </div>
                <p style="margin-top:1rem; text-align:center; font-style:italic; color:#555;">
                    The formal work has done its work β€” it has shown what is showable. What remains is the acknowledgment of the limit.
                </p>
            `,
            question_html: `
                <p><strong>What is the conclusion of Bundle 1?</strong></p>
                <div class="qoptions">
                    <label><input type="radio" name="q29" value="0"> The Trinity is impossible.</label>
                    <label><input type="radio" name="q29" value="1"> The axiomatic structure of the Trinity is robust, relative, and precisifiable.</label>
                    <label><input type="radio" name="q29" value="2"> S5 is contradictory.</label>
                    <label><input type="radio" name="q29" value="3"> Physics is irrelevant.</label>
                    <label><input type="radio" name="q29" value="4"> God does not exist.</label>
                    <label><input type="radio" name="q29" 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);

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

        const partClass = step.part === 'Part A' ? 'partA' :
                         step.part === 'Part B' ? 'partB' :
                         step.part === 'Part C' ? 'partC' : '';

        let html = `
            <div class="step-block ${partClass}">
                <div class="step-number ${partClass}">Step ${index} of ${totalSteps-1} – ${step.part}</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' });
    }

    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 Bundle 1!');
                }, 400);
            }

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

    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 the entry page';
            nextBtn.href = 'modal.html?lang=en';
        } 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}`;
    }

    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`;
    }

    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 = 'modal.html?lang=en';
        }
    });

    renderStep(0);
</script>

</body>
</html>