မြန်မာ့ရိုးရာ တိုင်းတာမှုစနစ်နှင့် ကွန်ပျူတာသင်္ချာ

မြန်မာ့ရိုးရာ တိုင်းတာမှုစနစ်နှင့် ကွန်ပျူတာသင်္ချာ
<!DOCTYPE html>
<html lang="my">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>မြန်မာ့ရိုးရာ တိုင်းတာမှုစနစ်နှင့် ကွန်ပျူတာသင်္ချာ</title>
<style>
  @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Myanmar:wght@400;700&family=Noto+Sans+Myanmar:wght@300;400;600&display=swap');

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --gold:   #c8963e;
    --dark:   #1a1209;
    --ink:    #2c1f0e;
    --paper:  #fdf6e8;
    --muted:  #7a6a50;
    --rule:   #d4b483;
    --accent: #8b3a1a;
  }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Noto Sans Myanmar', 'Pyidaungsu', sans-serif;
    font-size: 17px;
    line-height: 1.95;
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 24px 80px;
  }

  /* ── HEADER ── */
  .journal-label {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
    margin-bottom: 6px;
  }

  h1 {
    font-family: 'Noto Serif Myanmar', serif;
    font-size: clamp(22px, 5vw, 34px);
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 6px;
  }

  .author-line {
    text-align: center;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 28px;
  }

  .header-rule {
    border: none;
    border-top: 2px solid var(--gold);
    margin: 0 auto 32px;
    width: 80px;
  }

  /* ── ABSTRACT BOX ── */
  .abstract {
    background: #fff8ed;
    border-left: 4px solid var(--gold);
    padding: 18px 22px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 36px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.9;
  }
  .abstract strong { color: var(--dark); display: block; margin-bottom: 6px; font-size: 12px; letter-spacing:.15em; text-transform:uppercase; }

  /* ── SECTION HEADINGS ── */
  h2 {
    font-family: 'Noto Serif Myanmar', serif;
    font-size: 19px;
    color: var(--accent);
    margin: 44px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--rule);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  h2 .sec-num {
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-family: monospace;
    padding: 2px 7px;
    border-radius: 3px;
    font-weight: normal;
    letter-spacing: .05em;
    flex-shrink: 0;
  }

  h3 {
    font-size: 16px;
    color: var(--dark);
    font-weight: 600;
    margin: 28px 0 10px;
  }

  /* ── BODY TEXT ── */
  p { margin-bottom: 16px; }

  /* ── TABLE ── */
  .table-wrap {
    overflow-x: auto;
    margin: 20px 0 28px;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
  }
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
  }
  thead th {
    background: var(--dark);
    color: var(--gold);
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
  }
  tbody tr:nth-child(even) { background: #fdf2e0; }
  tbody tr:hover { background: #fce9c8; }
  td { padding: 9px 14px; border-bottom: 1px solid #ede0c8; }
  td.mono { font-family: 'Courier New', monospace; font-size: 13px; color: var(--accent); }
  .table-caption {
    font-size: 12px;
    text-align: center;
    color: var(--muted);
    margin-top: -20px;
    margin-bottom: 28px;
    font-style: italic;
  }

  /* ── CODE BLOCK ── */
  .code-block {
    background: #1a1209;
    color: #f0c060;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.7;
    padding: 18px 20px;
    border-radius: 6px;
    margin: 18px 0 26px;
    overflow-x: auto;
  }
  .code-block .cm { color: #8a7a60; }
  .code-block .kw { color: #d4955a; }
  .code-block .st { color: #8bc88b; }
  .code-block .num { color: #a0c8f0; }

  /* ── CALLOUT ── */
  .callout {
    background: linear-gradient(135deg, #fff8ed 0%, #fdefd8 100%);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 18px 22px;
    margin: 24px 0;
    position: relative;
  }
  .callout::before {
    content: '💡';
    position: absolute;
    top: -14px;
    left: 18px;
    background: var(--paper);
    padding: 0 6px;
    font-size: 18px;
  }
  .callout p { margin: 0; font-size: 15px; }

  /* ── THEOREM BOX ── */
  .theorem {
    border: 1.5px solid var(--gold);
    border-radius: 6px;
    padding: 16px 20px;
    margin: 22px 0;
    background: #fffbf4;
  }
  .theorem .thm-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
  }
  .theorem p { margin: 0; font-size: 15px; }

  /* ── TAGS ── */
  .tags { margin: 10px 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
  .tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--rule);
    color: var(--muted);
    letter-spacing: .05em;
  }

  /* ── REFERENCE ── */
  .references { margin-top: 44px; padding-top: 22px; border-top: 2px solid var(--rule); }
  .references h2 { border-bottom: none; }
  .ref-item {
    font-size: 13px;
    color: var(--muted);
    padding: 6px 0 6px 28px;
    position: relative;
    line-height: 1.7;
  }
  .ref-item::before {
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
  }
  .ref-item:nth-child(1)::before { content: '[၁]'; }
  .ref-item:nth-child(2)::before { content: '[၂]'; }
  .ref-item:nth-child(3)::before { content: '[၃]'; }
  .ref-item:nth-child(4)::before { content: '[၄]'; }
  .ref-item:nth-child(5)::before { content: '[၅]'; }
  .ref-item:nth-child(6)::before { content: '[၆]'; }
  .ref-item:nth-child(7)::before { content: '[၇]'; }

  /* ── FOOTER ── */
  .footer {
    margin-top: 56px;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    line-height: 2;
  }

  /* ── MATH DISPLAY ── */
  .math {
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    color: var(--accent);
    padding: 10px 0;
    margin: 14px 0;
  }

  @media (max-width: 540px) {
    body { padding: 24px 16px 60px; font-size: 16px; }
    h1 { font-size: 22px; }
  }
</style>
</head>
<body>


<h1>မြန်မာ့ရိုးရာ တိုင်းတာမှုစနစ်နှင့် ကွန်ပျူတာသင်္ချာ</h1>
<p class="subtitle">Hexadecimal, Octal နှင့် Binary Logic များ ပေါင်းစပ်ထားသော Hybrid-Radix ဗိသုကာ</p>
<hr class="header-rule">

<div class="tags">
  <span class="tag">Ethnomathematics</span>
  <span class="tag">Myanmar Units</span>
  <span class="tag">Hexadecimal</span>
  <span class="tag">Binary Search</span>
  <span class="tag">Octal Architecture</span>
  <span class="tag">Computer Science</span>
</div>

<div class="abstract">
  <strong>အကျဉ်းချုပ် (Abstract)</strong>
  မြန်မာနိုင်ငံသည် ကမ္ဘာပေါ်တွင် metric စနစ်ကို တရားဝင်မသုံးသေးသော နိုင်ငံသုံးခုထဲ တစ်ခုဖြစ်သည်။ ဤဆောင်းပါးသည် မြန်မာ့ရိုးရာ တိုင်းတာမှုစနစ်များကို ကွန်ပျူတာသိပ္ပံ ရှုထောင့်မှ ခွဲခြမ်းစိတ်ဖြာ၍ ၎င်းတို့သည် Base 16 (Hexadecimal)၊ Base 8 (Octal) နှင့် Base 2 (Binary) ယုတ္တိတည်ဆောက်ပုံများနှင့် တိကျစွာ ကိုက်ညီကြောင်း သက်သေပြသည်။ ရွှေချိန်စနစ်၊ ဗူး-ပြည်-တင်း ထုထည်စနစ်၊ ဈေးသည်တွက်နည်းနှင့် ရေနာရီစနစ်တို့ကို သင်္ချာသက်သေများ၊ Algorithm ရှုပ်ထွေးမှုဆန်းစစ်ချက်များနှင့် ဆော့ဖ်ဝဲလ် ကုဒ်များဖြင့် တင်ပြသည်။
</div>

<!-- ═══════════════════════════════ SEC 1 ═══════════════════════════════ -->
<h2><span class="sec-num">§ ၁</span> နိဒါန်း</h2>

<p>မြန်မာ့ရိုးရာ တိုင်းတာမှုစနစ်တွေကို ကျွန်တော်တို့ ရိုးရာယဉ်ကျေးမှု အမွေအနှစ်အဖြစ်သာ မြင်ကြတာ များပါတယ်။ ဒါပေမယ့် ဒီစနစ်တွေကို ကွန်ပျူတာသိပ္ပံ ရှုထောင့်နဲ့ ကြည့်မိတဲ့အခါ တစ်ဆင့်ပိုမြင်လာပါတယ် — ရှေးမြန်မာတွေဟာ ခေတ်မီ digital computing ကို မကြုံဖူးသော်လည်း ဒီ computing ကအသုံးပြုတဲ့ ဂဏန်းခြေ (radix) တွေနဲ့ပင် ကိုက်ညီတဲ့ တိုင်းတာမှုစနစ်တွေ တည်ဆောက်ပေးခဲ့ကြပါတယ်။</p>

<p>ကျပ်သား ၁ ကျပ် = ပဲ ၁၆ ပဲ ဆိုတာ Hexadecimal (Base 16) ကျပ်ပြည့်တဲ့ ဖြတ်ပိုင်းပါ။ ၈ ဗူး = ၁ ပြည် ဆိုတာ computer memory ရဲ့ byte structure နဲ့ ထပ်တူကျပါတယ်။ ဈေးသည်တွေ တဝက်စီ ခွဲတွက်တဲ့ နည်းကတော့ Binary Search Algorithm (O(log n)) ပဲ ဖြစ်ပါတယ်။</p>

<p>ဤဆောင်းပါးသည် Wikipedia ၏ Myanmar units of measurement [၂]၊ ဒေါက်တာတင့်ဆွေ၏ metric conversion မှတ်တမ်းများ [၃]၊ Bagan ကျောက်စာ သုတေသနများ [၄] နှင့် myanmar_jewellery_converter Dart package [၅] တို့ကို အရင်းခံ၍ ဤသုတေသနကို တင်ပြပါသည်။</p>

<!-- ═══════════════════════════════ SEC 2 ═══════════════════════════════ -->
<h2><span class="sec-num">§ ၂</span> အလေးချိန်စနစ် — Hexadecimal ဗိသုကာ</h2>

<h3>၂.၁ Binary မှ Hexadecimal သို့ ကူးပြောင်းမှု</h3>

<p>မြန်မာ့ အလေးချိန်စနစ်သည် အသေးဆုံး ယူနစ်ဖြစ်သော ရွေးလေးမှ ကျပ်သားအထိ strict binary progression ကို လိုက်နာပြီး ကျပ်သားတွင် radix သည် Hexadecimal (Base 16) ဖြစ်သည် — ၁ ကျပ်သား = ၁၆ ပဲ။</p>

<div class="table-wrap">
<table>
  <thead><tr><th>မြန်မာ ယူနစ်</th><th>Romanised</th><th>အချိုးအစား</th><th>Power of 2</th><th>CS Analogy</th></tr></thead>
  <tbody>
    <tr><td>ရွေးလေး</td><td>yway lay</td><td>အခြေ (base)</td><td class="mono">2⁰</td><td>Bit (LSB)</td></tr>
    <tr><td>ရွေးကြီး</td><td>yway gyi</td><td>2 × ရွေးလေး</td><td class="mono"></td><td>Binary</td></tr>
    <tr><td>ပဲသား</td><td>pae</td><td>4 × ရွေး</td><td class="mono"></td><td>Nibble (4 bits)</td></tr>
    <tr><td>မူးသား</td><td>mu</td><td>2 × ပဲ</td><td class="mono"></td><td>Binary</td></tr>
    <tr><td>မတ်သား</td><td>mat</td><td>2 × မူး</td><td class="mono">2⁴</td><td>Binary</td></tr>
    <tr><td>ငါးမူးသား</td><td>nga mu</td><td>2 × မတ်</td><td class="mono">2⁵</td><td>Binary</td></tr>
    <tr><td><strong>ကျပ်သား</strong></td><td><strong>kyatthar</strong></td><td><strong>16 × ပဲ</strong></td><td class="mono"><strong>2⁴ = 0x10</strong></td><td><strong>Hexadecimal</strong></td></tr>
  </tbody>
</table>
</div>
<p class="table-caption">ဇယား ၁ — မြန်မာ အလေးချိန် Binary/Hexadecimal တိုးတက်မှုဇယား</p>

<div class="theorem">
  <div class="thm-label">သင်္ချာသက်သေ ၁ (Theorem 1 — Hexadecimal Exactness)</div>
  <p>ပဲသားမှ ကျပ်သားသို့ ပြောင်းလဲမှုကို IEEE 754 binary floating-point မှာ precision loss မရှိဘဲ အတိအကျ ဖော်ပြနိုင်သည်။</p>
</div>

<p><strong>သက်သေ:</strong> ၁ ကျပ်သား = ၁၆ ပဲ ၊ 16 = 2⁴ ဖြစ်သောကြောင့် ဒီဆက်နွယ်မှုသည် integer power of two ဖြစ်သည်။ Binary တွင်:</p>

<div class="math">16₁₀ = 10000₂ = 0x10₁₆</div>

<p>ထို့ကြောင့် ကျပ်သားမှ ပဲသားသို့ မြှောက်ခြင်းသည် left bit-shift (&lt;&lt; 4) ၊ ပြန်စားခြင်းသည် right bit-shift (&gt;&gt; 4) နှင့် ညီမျှ၍ Floating-point rounding error လုံးဝ မပေါ်ပေ။ ■</p>

<p>ဤသည်ကို Metric နှင့် နှိုင်းယှဉ်ကြည့်ပါ — 1 inch = 25.4 mm ကို binary မှာ ဆိုရင်:</p>

<div class="math">25.4₁₀ = 11001.0̄1̄₂ (repeating fraction — precision loss!)</div>

<p>25.4 ကို binary တွင် အတိအကျ ဖော်ပြ၍ မရ (ပြန်နေ)။ မြန်မာ ကျပ်/ပဲ စနစ်ကတော့ ပြဿနာကင်းသည်။</p>

<h3>၂.၂ Macro-scale — ဆယ်သွယ်ချုက် (Binary Halving Sequence)</h3>

<p>ပြင်ပ ကြီးမားသော ပမာဏများအတွက် မြန်မာ အလေးတုံးစနစ်သည် binary halving ကို အသုံးပြုသည်:</p>

<div class="math">100 →÷2→ 50 →÷2→ 25 →÷2→ 12.5 →÷2→ 6.25</div>

<div class="table-wrap">
<table>
  <thead><tr><th>ယူနစ်အမည်</th><th>ကျပ်သား</th><th>Binary</th><th>Hex</th><th>CS Operation</th></tr></thead>
  <tbody>
    <tr><td>ပိဿာ</td><td>100</td><td class="mono">1100100₂</td><td class="mono">0x64</td><td>Reference</td></tr>
    <tr><td>ငါးဆယ်သား</td><td>50</td><td class="mono">110010₂</td><td class="mono">0x32</td><td>&gt;&gt; 1</td></tr>
    <tr><td>အစိတ်သား</td><td>25</td><td class="mono">11001₂</td><td class="mono">0x19</td><td>&gt;&gt; 2</td></tr>
    <tr><td>အဝက်သား</td><td>12.5</td><td class="mono">1100.1₂</td><td class="mono">0xC.8</td><td>&gt;&gt; 3</td></tr>
    <tr><td>10 ကျပ်</td><td>10</td><td class="mono">1010₂</td><td class="mono">0xA</td><td>Decimal bridge</td></tr>
    <tr><td>5 ကျပ်</td><td>5</td><td class="mono">101₂</td><td class="mono">0x5</td><td>&gt;&gt; 1</td></tr>
    <tr><td>1 ကျပ်</td><td>1</td><td class="mono">1₂</td><td class="mono">0x1</td><td>Unit base</td></tr>
  </tbody>
</table>
</div>
<p class="table-caption">ဇယား ၂ — ဆယ်သွယ်ချုက် Denomination Sequence</p>

<div class="callout">
  <p>100 → 50 → 25 → 12.5 တွဲသည် pure binary halving ဖြစ်သည်။ 12.5 မှ 10 သို့ ကူးသည့်နေရာသည် decimal bridge — ဈေးကွက်တွင် စိတ်တွက်ရ လွယ်ကူစေရန် ရည်ရွယ်သော pragmatic engineering ဆုံးဖြတ်ချက်ဖြစ်သည်။ ထို့နောက် 10 → 5 → 2.5 တွင် binary halving ပြန်ဝင်သည်။</p>
</div>

<!-- ═══════════════════════════════ SEC 3 ═══════════════════════════════ -->
<h2><span class="sec-num">§ ၃</span> ထုထည်စနစ် — Octal Byte ဗိသုကာ</h2>

<p>ဆန်၊ ပဲ၊ နှမ်းစသော လယ်ယာထွက်ကုန် တိုင်းတာမှုသည် Octal (Base 8) progression ကို လိုက်နာ၍ computer memory architecture နှင့် တိုက်ရိုက် ကိုက်ညီသည်:</p>

<div class="table-wrap">
<table>
  <thead><tr><th>မြန်မာ ယူနစ်</th><th>Romanised</th><th>အချိုး</th><th>CS Analogy</th><th>Bit Width</th></tr></thead>
  <tbody>
    <tr><td>ဗူး (bu)</td><td>bu</td><td>အခြေ</td><td>Bit</td><td>1 bit</td></tr>
    <tr><td>ပြည်</td><td>pyi</td><td>8 ဗူး</td><td>Byte (8 bits)</td><td>8 bits</td></tr>
    <tr><td>စိတ်</td><td>seit</td><td>4 ပြည်</td><td>4-byte word</td><td>32 bits</td></tr>
    <tr><td>ခွဲ</td><td>khwe</td><td>8 ပြည်</td><td>64-bit word</td><td>64 bits</td></tr>
    <tr><td>တင်း</td><td>tin</td><td>16 ပြည်</td><td>16-bit word</td><td>128 bits</td></tr>
  </tbody>
</table>
</div>
<p class="table-caption">ဇယား ၃ — ထုထည်စနစ် Octal/Byte Alignment</p>

<div class="theorem">
  <div class="thm-label">သင်္ချာသက်သေ ၂ (Theorem 2 — Octal Byte Alignment)</div>
  <p>ဗူးမှ ပြည်သို့ ပြောင်းလဲမှုသည် perfect octal scaling ဖြစ်၍ bitwise operations ဖြင့် precision loss မရှိဘဲ တွက်ချက်နိုင်သည်။</p>
</div>

<p><strong>သက်သေ:</strong> 8 = 2³ ဖြစ်သောကြောင့် v_pyi = v_bu &gt;&gt; 3 ။ ပြောင်းပြန်မှာ v_bu = v_pyi &lt;&lt; 3 ။ Floating-point operation လုံးဝမလိုအပ်၊ exact integer arithmetic ဖြစ်သည်။ ■</p>

<!-- ═══════════════════════════════ SEC 4 ═══════════════════════════════ -->
<h2><span class="sec-num">§ ၄</span> အလျားစနစ် — Mixed-Radix ဗိသုကာ</h2>

<p>မြန်မာ အလျားစနစ်သည် scale အမျိုးမျိုးတွင် radix အမျိုးမျိုးကို ကျင့်သုံး၍ hierarchical file system သို့မဟုတ် geographic coordinate system နှင့် တူသော nested data structure ကို ဖြစ်ပေါ်စေသည်:</p>

<div class="table-wrap">
<table>
  <thead><tr><th>ယူနစ်</th><th>Romanised</th><th>အချိုး</th><th>Base</th><th>Metric (approx)</th></tr></thead>
  <tbody>
    <tr><td>ဆံခြည်</td><td>hsan chyi</td><td>micro base</td><td></td><td>~79 µm</td></tr>
    <tr><td>နှမ်း</td><td>hnan</td><td>10 ဆံခြည်</td><td>Decimal</td><td>~0.79 mm</td></tr>
    <tr><td>မုယော</td><td>mu yaw</td><td>6 နှမ်း</td><td>Sexagesimal</td><td>~4.76 mm</td></tr>
    <tr><td>လက်သစ်</td><td>let thit</td><td>4 မုယော</td><td>Base 4</td><td>~1.90 cm</td></tr>
    <tr><td>မိုက်</td><td>mite</td><td>8 လက်သစ်</td><td>Octal</td><td>~15.24 cm</td></tr>
    <tr><td>ထွာ</td><td>htwa</td><td>2 မိုက်</td><td>Binary</td><td>~22.86 cm</td></tr>
    <tr><td>တောင်</td><td>taung</td><td>2 ထွာ</td><td>Binary</td><td>~45.72 cm</td></tr>
    <tr><td>လံ</td><td>lan</td><td>4 တောင်</td><td>Base 4</td><td>~1.829 m</td></tr>
    <tr><td>တာ</td><td>ta</td><td>7 တောင်</td><td>Prime (7)</td><td>~3.20 m</td></tr>
    <tr><td>ဥသဘ</td><td>u thaba</td><td>20 တာ</td><td>Vigesimal</td><td>~64 m</td></tr>
    <tr><td>ကောသ</td><td>kawtha</td><td>20 ဥသဘ</td><td>Vigesimal</td><td>~1.28 km</td></tr>
    <tr><td>ဂါဝုဒ်</td><td>gawut</td><td>4 ကောသ</td><td>Base 4</td><td>~5.12 km</td></tr>
    <tr><td>ယူဇနာ</td><td>yuzana</td><td>4 ဂါဝုဒ်</td><td>Base 4</td><td>~20.48 km</td></tr>
  </tbody>
</table>
</div>
<p class="table-caption">ဇယား ၄ — Mixed-Radix အလျားစနစ်</p>

<p>မှတ်ချက်အနေဖြင့် — 1 ယူဇနာ ≈ 20.48256 km = 2¹¹ × 0.01 ဖြစ်၍ geospatial scale တွင်ပင် power-of-two ဆက်နွယ်မှု ထိန်းသိမ်းထားသည်ကို တွေ့ရသည်။</p>

<!-- ═══════════════════════════════ SEC 5 ═══════════════════════════════ -->
<h2><span class="sec-num">§ ၅</span> ဈေးသည် Algorithm — Binary Search တဝက်ခွဲနည်း</h2>

<p>မြန်မာ ဈေးသည်တွေ ကျင့်သုံးသော "တဝက်ခွဲ တွက်နည်း" (zay-the-twet-nee) သည် Binary Search algorithm ၏ လက်တွေ့ version ဖြစ်သည်:</p>

<p><strong>ဥပမာ:</strong> ၁ ပိဿာ (၁၀၀ ရွေး) ကို ကျပ် ၇၀၀၀ မျှ ဘိုးကျသည် ဆိုလျှင် ၂၅ ရွေး (အစိတ်သား) ဘာလောက်လဲ?</p>

<div class="code-block">
<span class="cm">// Algorithm 1: Myanmar Market Halving Method</span><br>
<span class="cm">// Input: P = ကျပ် ၇၀၀၀, M = ၁၀၀ ရွေး, T = ၂၅ ရွေး</span><br>
<br>
<span class="kw">steps</span><span class="num">0</span><br>
<span class="kw">while</span> M &gt; T <span class="kw">do</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;M ← M / <span class="num">2</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cm">// တဝက်ခွဲ</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;P ← P / <span class="num">2</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cm">// ဘိုးလည်း တဝက်ခွဲ</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;steps ← steps + <span class="num">1</span><br>
<span class="kw">return</span> P, steps<br>
<br>
<span class="cm">// Trace (M=100, T=25, P=7000)</span><br>
<span class="cm">// Step 1: M=50,  P=3500</span><br>
<span class="cm">// Step 2: M=25,  P=1750  ← ဖြေ — ၂ ဆင့်ပဲ!</span>
</div>

<div class="theorem">
  <div class="thm-label">သင်္ချာသက်သေ ၃ (Theorem 3 — Logarithmic Complexity)</div>
  <p>တဝက်ခွဲ နည်းသည် ⌈log₂(M/T)⌉ ဆင့်သာ လိုအပ်၍ O(log n) complexity ရှိသည်။ M=100, T=25 တွင် 2 ဆင့်သာ လိုသည်။</p>
</div>

<div class="table-wrap">
<table>
  <thead><tr><th>M (total)</th><th>T (target)</th><th>တဝက်ခွဲ ဆင့်</th><th>log₂(M/T)</th></tr></thead>
  <tbody>
    <tr><td>100</td><td>50</td><td>1</td><td>1.0</td></tr>
    <tr><td>100</td><td>25</td><td>2</td><td>2.0</td></tr>
    <tr><td>100</td><td>12.5</td><td>3</td><td>3.0</td></tr>
    <tr><td>1000</td><td>125</td><td>3</td><td>3.0</td></tr>
    <tr><td>10000</td><td>625</td><td>4</td><td>4.0</td></tr>
  </tbody>
</table>
</div>
<p class="table-caption">ဇယား ၅ — တဝက်ခွဲနည်း ဆင့်ရေ နှိုင်းယှဉ်</p>

<p>ဤနည်း၏ အဓိကကျောင်ချက်မှာ — arbitrary ဂဏန်းဖြင့် မြှောက်/စားခြင်းကို ရှောင်ကွင်းကာ မှတ်ဉာဏ်တွင် သာ၍ လွယ်ကူသော "တဝက်ယူ" operation ဖြင့် စားရင်းကြင်ပေးနိုင်ခြင်းဖြစ်သည်။ ဤအချက်သည် computer science ၏ binary search ကဲ့သို့ပင် search space ကို logarithmically လျှော့ချပေးသည်။</p>

<!-- ═══════════════════════════════ SEC 6 ═══════════════════════════════ -->
<h2><span class="sec-num">§ ၆</span> အချိန်စနစ် — Binary Matrix နှင့် ရေနာရီ Timer</h2>

<h3>၆.၁ ၆၀ နာရီ Standard Day</h3>
<p>မြန်မာ့ ရိုးရာ တစ်ရက်ကို Myanmar hour ၆၀ ခုခွဲ (နေ့ ၃၀ + ည ၃၀)၊ Myanmar hour ၁ နာရီ = ၂၄ မိနစ်ခန့်။ ၆၀ သည် 1 မှ 12 အတွင်း ကိန်းတိုင်းဖြင့် စား၍ ရ သောကြောင့် exact fractional subdivisions အများဆုံး ရရှိနိုင်သည်။</p>

<h3>၆.၂ ၈ ပဟိုရ် — Octal Day Division</h3>
<p>တစ်ရက်ကို ပဟိုရ် ၈ ပိုင်းခွဲသည်၊ 8 = 2³ ဖြစ်ပြီး astrological variant တွင် 8 ပဟိုရ် × ၈ နာရီ = 64 နာရီ = 2⁶ ၊ 64-bit computing architecture နှင့် တိုက်ဆိုင်သည်။</p>

<h3>၆.၃ ရေနာရီ — Interrupt-Driven Hardware Timer</h3>
<p>မြန်မာ့ ရိုးရာ ရေနာရီ (yae-nar-yi) သည် periodic hardware interrupt ကို implement လုပ်သည် — ကြေးဖလားသည် ရေတိမ်တိမ်ပေါ်မှ ရေငင်တော့ နစ်မြုပ်သွားကာ gong တီးဖြင့် signal ပေးသည်:</p>

<div class="code-block">
State 0 <span class="st">(FLOATING)</span>&nbsp; : ဖလားရေပေါ်ပေါ်နေသည်<br>
&nbsp;&nbsp;│ [ရေဝင်မှု threshold ရောက်]<br>
&nbsp;&nbsp;<br>
State 1 <span class="st">(SINKING)</span>&nbsp;&nbsp; : ဖလားနစ်မြုပ်စသည်<br>
&nbsp;&nbsp;│ [ဖလားအပြည့်နစ်]<br>
&nbsp;&nbsp;<br>
State 2 <span class="st">(TRIGGERED)</span> : Hardware interrupt generated<br>
&nbsp;&nbsp;├── ISR: ငွေမောင်းတီး၊ timestamp မှတ်<br>
&nbsp;&nbsp;└── Reset: ဖလားဖော်ပြီး State 0 ပြန်
</div>

<p>ကြေးဖလား ကျပ်သား ၁၆ ချိန် (hexadecimal unit) နှင့် အပေါက် ဆံပင်မျှင် ၁၆ မျှင် (16-unit calibration) တို့ဖြင့် တစ်ပဟိုရ်တိတိ period ရရှိသည်။</p>

<h3>၆.၄ ရာသီ Linear Approximation Algorithm</h3>
<p>ရာသီအလိုက် နေ့ည ပြောင်းလဲမှုကို linGa (လင်္ကာ) မှ formula ဖြင့် တွက်သည်:</p>

<div class="math">H_day = (C_m + 10) × 2 &nbsp;&nbsp;|&nbsp;&nbsp; H_night = 60 − H_day</div>

<div class="table-wrap">
<table>
  <thead><tr><th>မြန်မာ လ</th><th>လင်္ကာ</th><th>C_m</th><th>နေ့ နာရီ</th><th>ည နာရီ</th><th>ရာသီ</th></tr></thead>
  <tbody>
    <tr><td>တန်ခူး</td><td>ပတ်</td><td>5</td><td>30</td><td>30</td><td>Equinox</td></tr>
    <tr><td>ဝါဆို</td><td>ရှည်</td><td>8</td><td>36</td><td>24</td><td>Summer Solstice</td></tr>
    <tr><td>သီတင်းကျွတ်</td><td>မြည်</td><td>5</td><td>30</td><td>30</td><td>Equinox</td></tr>
    <tr><td>ပြာသို</td><td>ကန်</td><td>2</td><td>24</td><td>36</td><td>Winter Solstice</td></tr>
  </tbody>
</table>
</div>
<p class="table-caption">ဇယား ၆ — ရာသီ နေ့ည နာရီ (ရွေ့ကာသော key months)</p>

<p>ဤ O(1) algorithm သည် lookup table ဖြင့် solar declination ကို linear approximation ပြုကာ လယ်ယာ scheduling အတွက် လုံလောက်သော တိကျမှုရှိသည်။</p>

<!-- ═══════════════════════════════ SEC 7 ═══════════════════════════════ -->
<h2><span class="sec-num">§ ၇</span> ဆော့ဖ်ဝဲလ် Reference Implementation</h2>

<h3>Python — Exact Arithmetic Weight Converter</h3>

<div class="code-block">
<span class="kw">from</span> decimal <span class="kw">import</span> Decimal<br>
<span class="kw">from</span> enum <span class="kw">import</span> Enum<br>
<br>
<span class="kw">class</span> WeightUnit(Enum):<br>
&nbsp;&nbsp;&nbsp;&nbsp;YWAY_LAY = <span class="num">1</span>&nbsp;&nbsp;&nbsp;<span class="cm"># 2⁰ — Bit</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;PAE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = <span class="num">4</span>&nbsp;&nbsp;&nbsp;<span class="cm"># 2² — Nibble</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;MU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = <span class="num">8</span>&nbsp;&nbsp;&nbsp;<span class="cm"># 2³</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;KYATTHAR = <span class="num">64</span>&nbsp;&nbsp;<span class="cm"># 2⁶ — 16 pae = 0x10</span><br>
<br>
<span class="kw">class</span> MyanmarWeightConverter:<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="kw">def</span> convert(value, from_u, to_u) -> Decimal:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cm"># Exact integer arithmetic — no floating-point error</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;base = Decimal(str(value)) * from_u.value<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="kw">return</span> base / to_u.value<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="kw">def</span> halving_price(price, total, target):<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cm"># O(log n) market pricing algorithm</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steps = <span class="num">0</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="kw">while</span> total &gt; target:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;total //= <span class="num">2</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;price /= <span class="num">2</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steps += <span class="num">1</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="kw">return</span> round(price, <span class="num">2</span>), steps<br>
<br>
<span class="cm"># Example</span><br>
<span class="cm"># convert(1, KYATTHAR, PAE)  → 16 (exact)</span><br>
<span class="cm"># halving_price(7000,100,25) → (1750.0, 2)</span>
</div>

<!-- ═══════════════════════════════ SEC 8 ═══════════════════════════════ -->
<h2><span class="sec-num">§ ၈</span> CS နှင့် မြန်မာစနစ် — အနှစ်ချုပ် နှိုင်းယှဉ်</h2>

<div class="table-wrap">
<table>
  <thead><tr><th>မြန်မာ စနစ်</th><th>CS Equivalent</th><th>Base</th><th>Precision</th></tr></thead>
  <tbody>
    <tr><td>ရွေး (အသေးဆုံး)</td><td>Bit</td><td class="mono">2</td><td>Exact</td></tr>
    <tr><td>၄ ရွေး = ၁ ပဲ</td><td>Nibble (4 bits)</td><td class="mono">4</td><td>Exact</td></tr>
    <tr><td>၁၆ ပဲ = ၁ ကျပ်သား</td><td>Hex Byte (0x10)</td><td class="mono">16</td><td>Exact ✓</td></tr>
    <tr><td>၈ ဗူး = ၁ ပြည်</td><td>Byte (8 bits)</td><td class="mono">8</td><td>Exact ✓</td></tr>
    <tr><td>၁၆ ပြည် = ၁ တင်း</td><td>16-bit word</td><td class="mono">16</td><td>Exact ✓</td></tr>
    <tr><td>တဝက်ခွဲ တွက်နည်း</td><td>Binary Search O(log n)</td><td class="mono">2</td><td>Optimal ✓</td></tr>
    <tr><td>၈ ပဟိုရ် = ၁ ရက်</td><td>64-bit cycle (2⁶)</td><td class="mono">64</td><td>Exact ✓</td></tr>
    <tr><td>1 inch = 25.4 mm</td><td>IEEE 754 Float</td><td class="mono">10</td><td>Approximate ✗</td></tr>
  </tbody>
</table>
</div>
<p class="table-caption">ဇယား ၇ — မြန်မာ တိုင်းတာမှု vs Computer Science အနှစ်ချုပ်</p>

<div class="callout">
  <p>အဓိက တွေ့ရှိချက် — မြန်မာ့ ရိုးရာ တိုင်းတာမှုစနစ်တွေ digital computing ကို မကြုံဖူးသော်လည်း 2, 4, 8, 16 ဆိုတဲ့ radix တွေကို ကျင့်သုံးပါသည်၊ ၎င်းတို့သည် digital systems ကအသုံးပြုသော radix များနှင့် တူညီသည်။ ဤသည် ဒီဇိုင်းတော်တော် မဟုတ်ဘဲ exact subdivision နှင့် mental computation ကို လွယ်ကူစေသော practical imperative မှ independently ဆုံမိလာသော pattern ဖြစ်သည်။</p>
</div>

<!-- ═══════════════════════════════ SEC 9 ═══════════════════════════════ -->
<h2><span class="sec-num">§ ၉</span> နိဂုံး</h2>

<p>ဤဆောင်းပါးတွင် မြန်မာ့ ရိုးရာ တိုင်းတာမှုစနစ်သည် hexadecimal weight architecture၊ octal capacity alignment၊ mixed-radix length representation၊ interrupt-driven timekeeping နှင့် logarithmic-time market algorithm များကို ဖြည့်ဆည်းထားကြောင်း formal theorem သုံးခုဖြင့် သက်သေပြခဲ့သည်။</p>

<p>Metric conversion factor ၂၅.၄ mm/inch သည် binary ဖြင့် အတိအကျ ဖော်ပြ၍ မရ (repeating fraction) ဖြစ်သောကြောင့် precision loss ဖြစ်သည်နှင့် ဆန့်ကျင်ဘက် — မြန်မာ ကျပ်/ပဲ system သည် bit-shift operation ဖြင့် exact arithmetic ရနိုင်သည်ကို တွေ့ရသည်။</p>

<p>ဤသည် ရိုးရာ ပညာရပ်နှင့် ခေတ်မီ technology ကြားတွင် ဆက်ပြတ်မှု မရှိကြောင်းကို ပြသနေသည်။ မြန်မာ့ ဘိုးဘောင်တွေ digital system မသိသော်လည်း ၎င်းတို့ တည်ဆောက်ခဲ့သော စနစ်များသည် digital logic ၏ အနှစ်သာရနှင့် ဆုံမိနေပါသည်။</p>






</body>
</html>