garywelz/programming_framework
0
1<!DOCTYPE html>2<html lang="en">3<head>4 <meta charset="UTF-8">5 <meta name="viewport" content="width=device-width, initial-scale=1.0">6 <title>Mathematical Dependency Graphs — Design Document</title>7 <style>8 body { font-family: 'Segoe UI', system-ui, sans-serif; max-width: 900px; margin: 0 auto; padding: 2rem; line-height: 1.6; color: #333; }9 h1 { color: #2c3e50; border-bottom: 2px solid #667eea; padding-bottom: 0.5rem; }10 h2 { color: #667eea; margin-top: 2rem; }11 h3 { color: #495057; margin-top: 1.5rem; }12 table { border-collapse: collapse; width: 100%; margin: 1rem 0; }13 th, td { border: 1px solid #ddd; padding: 8px 12px; text-align: left; }14 th { background: #f8f9fa; font-weight: 600; }15 pre { background: #f8f9fa; padding: 1rem; overflow-x: auto; border-radius: 6px; font-size: 0.85rem; }16 code { background: #e9ecef; padding: 0.2em 0.4em; border-radius: 4px; font-size: 0.9em; }17 .nav { margin-bottom: 2rem; padding: 1rem; background: #f8f9fa; border-radius: 8px; }18 .nav a { color: #667eea; margin-right: 1rem; }19 hr { border: none; border-top: 1px solid #dee2e6; margin: 2rem 0; }20 </style>21</head>22<body>23 <div class="nav">24 <a href="https://storage.googleapis.com/regal-scholar-453620-r7-podcast-storage/mathematics-processes-database/mathematics-database-table.html">← Mathematics Database</a>25 <a href="discourse-schema.json">Schema (JSON)</a>26 <a href="MATHEMATICAL_DEPENDENCY_GRAPHS_DESIGN.md">Design (Markdown)</a>27 </div>28 29 <h1>Mathematical Dependency Graphs — Design Document</h1>30 31 <h2>Overview</h2>32 <p>A hybrid architecture for representing and visualizing axiomatic dependency structures across multiple mathematical subjects. Supports both static Mermaid subgraphs and interactive full-graph exploration.</p>33 34 <h2>Scope: Target Subjects</h2>35 <table>36 <tr><th>Subject</th><th>Foundations</th><th>Derived Items</th><th>Notes</th></tr>37 <tr><td><strong>Euclid's Elements</strong></td><td>Postulates, Common Notions, Definitions</td><td>464 Propositions (13 books)</td><td>Geometric constructions</td></tr>38 <tr><td><strong>Peano Arithmetic</strong></td><td>5 axioms, definitions</td><td>Theorems</td><td>Successor, induction</td></tr>39 <tr><td><strong>Other number systems</strong></td><td>Axioms (integers, rationals, reals)</td><td>Theorems</td><td>Construction sequences</td></tr>40 <tr><td><strong>Number theory</strong></td><td>Definitions, lemmas</td><td>Theorems</td><td>Divisibility, primes</td></tr>41 <tr><td><strong>Algebra</strong></td><td>Group/ring/field axioms</td><td>Theorems</td><td>Abstract structures</td></tr>42 <tr><td><strong>Hilbert's geometry</strong></td><td>5 groups of axioms</td><td>Theorems</td><td><em>Grundlagen der Geometrie</em></td></tr>43 <tr><td><strong>Tarski's geometry</strong></td><td>Betweenness, congruence relations</td><td>Theorems</td><td>First-order, decidable</td></tr>44 <tr><td><strong>Analysis</strong></td><td>Completeness, continuity axioms</td><td>Theorems</td><td>Real analysis, limits</td></tr>45 </table>46 47 <h2>Metadata & Sources</h2>48 <p>Each discourse includes <strong>metadata</strong> (created, lastUpdated, version, license, authors, methodology, citation) and <strong>sources</strong> (primary texts, digital editions, commentaries). Nodes can reference sources via <code>sourceRef</code>.</p>49 50 <h2>Hybrid Architecture</h2>51 <ol>52 <li><strong>Canonical JSON</strong> — One file per discourse, source of truth</li>53 <li><strong>Mermaid generator</strong> — Filter by book/chapter, output subgraph</li>54 <li><strong>Interactive viewer</strong> — Full graph with zoom, search, highlight</li>55 <li><strong>Index/Registry</strong> — Catalog of all discourses with metadata</li>56 </ol>57 58 <h2>Implementation Phases</h2>59 <table>60 <tr><th>Phase</th><th>Deliverable</th></tr>61 <tr><td>1</td><td>Schema + Euclid Props 1–6 JSON; Mermaid generator script</td></tr>62 <tr><td>2</td><td>Euclid Book I full JSON; static pages for Books I–IV</td></tr>63 <tr><td>3</td><td>Interactive viewer (single discourse)</td></tr>64 <tr><td>4</td><td>Peano Arithmetic, Hilbert Geometry JSON</td></tr>65 <tr><td>5</td><td>Multi-discourse index; cross-discourse navigation</td></tr>66 <tr><td>6</td><td>Tarski, Analysis, other subjects</td></tr>67 </table>68 69 <h2>References</h2>70 <ul>71 <li>Euclid's Elements: <a href="http://www.perseus.tufts.edu/hopper/text?doc=Perseus:text:1999.01.0086">Perseus Digital Library</a></li>72 <li>Heath, T.L. <em>The Thirteen Books of Euclid's Elements</em> (1908, 2nd ed.)</li>73 <li>Hilbert: <em>Grundlagen der Geometrie</em> (1899)</li>74 <li>Tarski: <em>What is Elementary Geometry?</em> (1959)</li>75 <li>Peano: <em>Arithmetices principia</em> (1889)</li>76 </ul>77 78 <p style="margin-top:2rem;color:#666;font-size:0.9rem;">Programming Framework · Mathematical Dependency Graphs Design · 2026</p>79</body>80</html>81 