@aleph-ai/tinyaleph 1.3.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,6 +25,15 @@ A novel computational paradigm that encodes meaning as prime number signatures,
25
25
  - **Multi-Z Memory**: Hierarchical memory with fast/slow/permanent channels
26
26
  - **Symbolic AI**: 184+ emoji symbols with cultural tags, resonance-enhanced inference
27
27
  - **Golden Ratio Resonance**: Harmony measurement using φ ≈ 1.618 ratio detection
28
+ - **Topological Invariants**: 108 invariant (2²×3³), Trefoil complexity, physical constant derivation
29
+ - **Gauge Symmetry**: Standard Model SU(3)×SU(2)×U(1) from 108 factorization
30
+ - **Observer Hierarchy**: Multi-scale observers from quantum to cosmic
31
+ - **Free Energy Dynamics**: Cubic FEP model for consciousness and curiosity
32
+ - **Discrete Dynamics**: Integer sine tables, histogram coherence, tick-based gating
33
+ - **Codebook Tunneling**: 64-attractor SMF codebook for controlled state transitions
34
+ - **Canonical Fusion**: Deterministic FUSE(p,q,r) triad selection
35
+ - **CRT-Homology**: Chinese Remainder Theorem for semantic reconstruction with homology-based consistency detection
36
+ - **Birkhoff Attention**: Doubly-stochastic attention via Sinkhorn-Knopp projection
28
37
 
29
38
  ## Installation
30
39
 
@@ -440,6 +449,195 @@ const Jt = createAdiabaticSchedule(0.1, 0.5, 100, 'sinusoidal');
440
449
  const ladder2 = new PrimeonZLadderMulti({ N: 16, Jt });
441
450
  ```
442
451
 
452
+ ### Topological Physics
453
+
454
+ The 108 Invariant from 108bio.pdf provides deep connections between number theory and physics:
455
+
456
+ ```javascript
457
+ const {
458
+ TWIST_108,
459
+ Knot,
460
+ TREFOIL,
461
+ PhysicalConstants,
462
+ GaugeSymmetry,
463
+ FreeEnergyDynamics,
464
+ OBSERVER_HIERARCHY
465
+ } = require('@aleph-ai/tinyaleph/core/topology');
466
+
467
+ // 108 Invariant: 2² × 3³ = 108
468
+ console.log(TWIST_108.value); // 108
469
+ console.log(TWIST_108.factorization); // { twos: 2, threes: 3 }
470
+
471
+ // Twist angle κ(p) = 360°/p
472
+ const twistAngle = TWIST_108.twistAngle(7); // 51.43°
473
+
474
+ // Find minimum primes for closed twist (sum to 360°)
475
+ const closingPrimes = TWIST_108.findClosingPrimes(3);
476
+
477
+ // Trefoil Knot with complexity T = s·c - b + u = 17
478
+ console.log(TREFOIL.strands); // 1
479
+ console.log(TREFOIL.crossings); // 3
480
+ console.log(TREFOIL.bridges); // 2
481
+ console.log(TREFOIL.unknotting); // 1
482
+ console.log(TREFOIL.complexity); // 17
483
+
484
+ // Physical constants from 108 + Trefoil
485
+ console.log(PhysicalConstants.PROTON_ELECTRON_RATIO); // 1836 (17 × 108)
486
+ console.log(PhysicalConstants.FINE_STRUCTURE_INV); // 137 (108 + 29)
487
+ console.log(PhysicalConstants.ALPHA); // 1/137
488
+
489
+ // Gauge symmetry from 108 factorization
490
+ const gauge = new GaugeSymmetry();
491
+ console.log(gauge.generators); // { SU3: 8, SU2: 3, U1: 1 }
492
+ console.log(gauge.totalDimension); // 12
493
+ console.log(gauge.isStandardModel); // true
494
+
495
+ // Free Energy Dynamics (cubic FEP)
496
+ // dψ/dt = αψ + βψ² + γψ³
497
+ const fep = new FreeEnergyDynamics({ alpha: 0.1, beta: -0.3, gamma: 0.2 });
498
+ const energy = fep.freeEnergy(0.5); // F(ψ)
499
+ const gradient = fep.gradient(0.5); // dF/dψ
500
+ const minima = fep.findMinima(); // Stable states
501
+
502
+ // Observer Hierarchy (quantum to cosmic scales)
503
+ OBSERVER_HIERARCHY.forEach(level => {
504
+ console.log(`${level.name}: scale=${level.scale}, capacity=${level.capacity}`);
505
+ });
506
+ // cellular: scale=1e-6, capacity=1e6
507
+ // neural: scale=1e-3, capacity=1e9
508
+ // cognitive: scale=1, capacity=1e12
509
+ // collective: scale=1e6, capacity=1e15
510
+ // cosmic: scale=1e26, capacity=1e21
511
+ ```
512
+
513
+ ### Discrete Dynamics
514
+
515
+ Integer-domain computation from discrete.pdf:
516
+
517
+ ```javascript
518
+ const { INT_SINE_TABLE, computeHistogramCoherence } = require('@aleph-ai/tinyaleph/apps/sentient/lib/prsc');
519
+ const { SMF_CODEBOOK, nearestCodebookAttractor, codebookTunnel } = require('@aleph-ai/tinyaleph/apps/sentient/lib/smf');
520
+ const { canonicalTriad, canonicalFusion, verifyCanonical } = require('@aleph-ai/tinyaleph/apps/sentient/lib/prime-calculus');
521
+ const { TickGate } = require('@aleph-ai/tinyaleph/apps/sentient/lib/hqe');
522
+
523
+ // Integer Sine Table (M=256 discretization)
524
+ console.log(INT_SINE_TABLE.M); // 256
525
+ const sinValue = INT_SINE_TABLE.sin(64); // Integer sine at phase 64
526
+ const cosValue = INT_SINE_TABLE.cos(128); // Integer cosine at phase 128
527
+
528
+ // Histogram Coherence C_bin(t) = max_k(b_k(t))/|P|
529
+ const phases = [10, 12, 11, 50, 52, 51, 100, 102, 101];
530
+ const coherence = computeHistogramCoherence(phases, { numBins: 16 });
531
+ // coherence ≈ 0.33 (three clusters of 3 phases each)
532
+
533
+ // 64-Attractor SMF Codebook
534
+ console.log(SMF_CODEBOOK.length); // 64
535
+ console.log(SMF_CODEBOOK[0]); // { index: 0, phase: 0, label: '0x00' }
536
+
537
+ // Find nearest codebook attractor
538
+ const nearest = nearestCodebookAttractor(130); // phase 130
539
+ console.log(nearest.index); // Nearest codebook index
540
+ console.log(nearest.distance); // Distance to attractor
541
+
542
+ // Controlled tunneling to codebook attractor
543
+ const tunneled = codebookTunnel(130, { force: 0.5 });
544
+ console.log(tunneled.original); // 130
545
+ console.log(tunneled.target); // Nearest attractor phase
546
+ console.log(tunneled.result); // Tunneled phase (interpolated)
547
+
548
+ // Canonical Fusion FUSE(p,q,r) selection
549
+ const triad = canonicalTriad(19); // Find canonical triad for sum 19
550
+ console.log(triad); // [3, 5, 11] (lexicographically first)
551
+
552
+ // Verify canonical property
553
+ console.log(verifyCanonical(3, 5, 11, 19)); // true
554
+
555
+ // Fuse with automatic triad selection
556
+ const fused = canonicalFusion(19);
557
+ console.log(fused.triad); // [3, 5, 11]
558
+ console.log(fused.sum); // 19
559
+
560
+ // Tick-Only HQE Gate
561
+ const tickGate = new TickGate({ threshold: 0.7 });
562
+ const gateResult = tickGate.evaluate({ coherence: 0.8, tickValid: true });
563
+ console.log(gateResult.passed); // true (coherence > threshold && tick valid)
564
+ console.log(gateResult.reason); // 'TICK_VALID'
565
+ ```
566
+
567
+ ### Observer Capacity
568
+
569
+ Calculate observer capacity from 108bio.pdf's C_obs = α·N_osc·K̄·τ⁻¹:
570
+
571
+ ```javascript
572
+ const { SymbolicObserver } = require('@aleph-ai/tinyaleph/apps/sentient/lib/symbolic-observer');
573
+
574
+ const observer = new SymbolicObserver();
575
+
576
+ // Add oscillator bank for N_osc
577
+ observer.addOscillatorBank(bank);
578
+
579
+ // Calculate observer capacity
580
+ const capacity = observer.calculateObserverCapacity({
581
+ alpha: 1/137, // Fine structure constant
582
+ meanCoupling: 0.5, // K̄ average coupling
583
+ coherenceTime: 0.1 // τ coherence time
584
+ });
585
+
586
+ console.log(capacity.value); // Capacity in bits/second
587
+ console.log(capacity.numOscillators);
588
+ console.log(capacity.formula); // 'α × N_osc × K̄ × τ⁻¹'
589
+ ```
590
+
591
+ ### Free Energy Curiosity
592
+
593
+ Cubic FEP-based curiosity for learning systems:
594
+
595
+ ```javascript
596
+ const { FreeEnergyCuriosity } = require('@aleph-ai/tinyaleph/apps/sentient/lib/learning/curiosity');
597
+
598
+ const curiosity = new FreeEnergyCuriosity({
599
+ alpha: 0.1, // Linear coefficient
600
+ beta: -0.3, // Quadratic coefficient
601
+ gamma: 0.2 // Cubic coefficient
602
+ });
603
+
604
+ // Evaluate free energy at belief state ψ
605
+ const energy = curiosity.freeEnergy(0.5);
606
+
607
+ // Get gradient for belief update
608
+ const grad = curiosity.gradient(0.5);
609
+
610
+ // Find stable belief states (local minima)
611
+ const stableStates = curiosity.findMinima();
612
+
613
+ // Check if current state is at equilibrium
614
+ const isStable = curiosity.isStable(0.5, { tolerance: 0.01 });
615
+ ```
616
+
617
+ ### Observer Scale Management
618
+
619
+ Multi-scale observer hierarchy from 108bio.pdf:
620
+
621
+ ```javascript
622
+ const { ObserverScaleManager } = require('@aleph-ai/tinyaleph/apps/sentient/lib/collective');
623
+
624
+ const manager = new ObserverScaleManager();
625
+
626
+ // Assign node to appropriate hierarchy level based on capacity
627
+ const level = manager.assignNode(nodeId, observerCapacity);
628
+ console.log(level.name); // 'neural', 'cognitive', etc.
629
+ console.log(level.scale); // Physical scale
630
+ console.log(level.capacity); // Information capacity
631
+
632
+ // Get all nodes at a level
633
+ const cognitiveNodes = manager.getNodesAtLevel('cognitive');
634
+
635
+ // Get hierarchy statistics
636
+ const stats = manager.getHierarchyStats();
637
+ console.log(stats.totalNodes);
638
+ console.log(stats.levelDistribution);
639
+ ```
640
+
443
641
  ### ResoFormer Architecture
444
642
 
445
643
  Complete prime-indexed transformer:
@@ -475,6 +673,105 @@ const model = new ResoFormer({
475
673
  const outputs = model.forward([state1, state2]);
476
674
  ```
477
675
 
676
+ ### CRT-Enhanced ResoFormer
677
+
678
+ Integrates Chinese Remainder Theorem reconstruction with homology-based regularization:
679
+
680
+ ```javascript
681
+ const {
682
+ CRTResonantAttention,
683
+ HomologyRegularizedBlock,
684
+ CRTResoFormer,
685
+ createCRTResoFormer
686
+ } = require('@aleph-ai/tinyaleph');
687
+
688
+ // Create CRT-enhanced model
689
+ const model = createCRTResoFormer({
690
+ numLayers: 3,
691
+ numHeads: 4, // Maps to coprime moduli [2, 3, 5, 7]
692
+ homologyWeight: 0.1
693
+ });
694
+
695
+ // Process sequence with homology detection
696
+ const sequence = [
697
+ SparsePrimeState.fromHash('the'),
698
+ SparsePrimeState.fromHash('quick'),
699
+ SparsePrimeState.fromHash('fox')
700
+ ];
701
+
702
+ const result = model.forward(sequence);
703
+
704
+ console.log('Total homology loss:', result.totalLoss);
705
+ console.log('Holes detected:', result.homologyReport.hasHoles);
706
+ console.log('Betti numbers:', result.homologyReport.maxBettiNumber);
707
+ ```
708
+
709
+ ### CRT Residue Encoding
710
+
711
+ Encode semantic states as residue distributions over coprime moduli:
712
+
713
+ ```javascript
714
+ const {
715
+ ResidueEncoder,
716
+ CRTReconstructor,
717
+ BirkhoffProjector,
718
+ HomologyLoss,
719
+ DEFAULT_PRIMES_SMALL
720
+ } = require('@aleph-ai/tinyaleph');
721
+
722
+ // Use first 4 primes: [2, 3, 5, 7], P = 210
723
+ const primes = DEFAULT_PRIMES_SMALL;
724
+ const encoder = new ResidueEncoder(primes, 16);
725
+ const crt = new CRTReconstructor(primes);
726
+
727
+ // Encode hidden vector to residue distributions
728
+ const h = new Float64Array(16).fill(0.5);
729
+ const residues = encoder.encode(h);
730
+ const expectedResidues = encoder.expectedResidues(residues);
731
+
732
+ // CRT reconstruction
733
+ const L = crt.reconstruct(expectedResidues);
734
+ console.log('Reconstructed:', L);
735
+
736
+ // Detect kernel (consistency failures)
737
+ const inKernel = crt.detectKernel(expectedResidues, 0.1);
738
+ console.log('In kernel:', inKernel);
739
+
740
+ // Birkhoff attention (doubly-stochastic)
741
+ const birkhoff = new BirkhoffProjector(20);
742
+ const attentionMatrix = [[0.8, 0.2], [0.3, 0.7]];
743
+ const projected = birkhoff.project(attentionMatrix);
744
+ // Row sums ≈ 1, column sums ≈ 1
745
+ ```
746
+
747
+ ### Homology Loss
748
+
749
+ Detect semantic inconsistencies as topological holes:
750
+
751
+ ```javascript
752
+ const { HomologyLoss, CRTReconstructor } = require('@aleph-ai/tinyaleph');
753
+
754
+ const crt = new CRTReconstructor([2, 3, 5, 7]);
755
+ const homology = new HomologyLoss({ tau: 0.1 });
756
+
757
+ // Batch of residue tuples
758
+ const residueBatch = [
759
+ [0.5, 1.2, 2.8, 4.1],
760
+ [0.99, 0.01, 2.5, 3.99],
761
+ [0.1, 0.2, 0.3, 0.4]
762
+ ];
763
+
764
+ // Compute homology loss
765
+ const result = homology.compute(residueBatch, crt);
766
+ console.log('Homology loss:', result.loss);
767
+ console.log('Cycles detected:', result.cycles);
768
+
769
+ // Betti numbers (topological invariants)
770
+ const betti = homology.computeBettiNumbers(residueBatch, crt);
771
+ console.log('β₀ (components):', betti.beta0);
772
+ console.log('β₁ (holes):', betti.beta1);
773
+ ```
774
+
478
775
  ## Symbolic AI
479
776
 
480
777
  ### Symbol Database
@@ -723,6 +1020,79 @@ console.log(CORE_VOCABULARY['ZORGE']); // "be friendly unto"
723
1020
  | `hash(input)` | Quick semantic hash |
724
1021
  | `deriveKey(pass, salt)` | Quick key derivation |
725
1022
 
1023
+ ### Observer Exports
1024
+
1025
+ The observer module provides components for building sentient observer systems:
1026
+
1027
+ ```javascript
1028
+ const observer = require('@aleph-ai/tinyaleph/observer');
1029
+ // Or destructure specific exports:
1030
+ const {
1031
+ SedenionMemoryField,
1032
+ PRSCLayer,
1033
+ TemporalLayer,
1034
+ SymbolicSMF,
1035
+ SymbolicTemporalLayer,
1036
+ AssaySuite
1037
+ } = require('@aleph-ai/tinyaleph/observer');
1038
+ ```
1039
+
1040
+ | Export | Description |
1041
+ |--------|-------------|
1042
+ | `PrimeOscillator` | Single prime-indexed oscillator |
1043
+ | `PRSCLayer` | Prime Resonance Semantic Coherence oscillator bank |
1044
+ | `coherenceKernel` | Phase coherence calculation |
1045
+ | `TickGate` | Tick-based activation gating |
1046
+ | `HQE` | Holographic Quaternion Engine |
1047
+ | `SedenionMemoryField` | 16D semantic orientation field |
1048
+ | `SMF_AXES` | Named axes for 16D space |
1049
+ | `Moment` | Discrete temporal moment |
1050
+ | `TemporalLayer` | Moment classification and time tracking |
1051
+ | `AttentionFocus` | Attention target with decay |
1052
+ | `Goal` | Goal representation with progress |
1053
+ | `AgencyLayer` | Goals, attention, and intention management |
1054
+ | `BoundaryLayer` | Self-other differentiation |
1055
+ | `EntanglementLayer` | Semantic phrase coherence |
1056
+ | `SafetyMonitor` | Constraint monitoring |
1057
+ | `SymbolicSMF` | Symbol-grounded Sedenion field |
1058
+ | `SMFSymbolMapper` | Maps SMF axes to symbols |
1059
+ | `AXIS_SYMBOL_MAPPING` | 16 axes → symbol mappings |
1060
+ | `SymbolicMoment` | Moment with I-Ching classification |
1061
+ | `SymbolicTemporalLayer` | 64-attractor hexagram classification |
1062
+ | `HEXAGRAM_ARCHETYPES` | 64 hexagram → archetype mappings |
1063
+ | `SymbolicPatternDetector` | Narrative pattern detection |
1064
+ | `TimeDilationAssay` | Assay A: Time dilation test |
1065
+ | `MemoryContinuityAssay` | Assay B: Memory continuity test |
1066
+ | `AgencyConstraintAssay` | Assay C: Agency under constraint test |
1067
+ | `NonCommutativeMeaningAssay` | Assay D: Non-commutative meaning test |
1068
+ | `AssaySuite` | Run all four validation assays |
1069
+
1070
+ ### Topology Exports
1071
+
1072
+ | Export | Description |
1073
+ |--------|-------------|
1074
+ | `TWIST_108` | 108 invariant with twist angle calculations |
1075
+ | `Knot` | General knot class with invariant computation |
1076
+ | `TREFOIL` | Pre-configured trefoil knot (T=17) |
1077
+ | `PhysicalConstants` | Derived constants (α, proton/electron ratio) |
1078
+ | `GaugeSymmetry` | Standard Model gauge group from 108 |
1079
+ | `FreeEnergyDynamics` | Cubic FEP model dψ/dt = αψ + βψ² + γψ³ |
1080
+ | `OBSERVER_HIERARCHY` | 5-level observer scale hierarchy |
1081
+
1082
+ ### Discrete Dynamics Exports
1083
+
1084
+ | Export | Description |
1085
+ |--------|-------------|
1086
+ | `INT_SINE_TABLE` | M=256 integer sine/cosine table |
1087
+ | `computeHistogramCoherence` | C_bin(t) = max_k(b_k)/\|P\| |
1088
+ | `SMF_CODEBOOK` | 64-attractor codebook array |
1089
+ | `nearestCodebookAttractor` | Find nearest attractor for phase |
1090
+ | `codebookTunnel` | Controlled tunneling to attractor |
1091
+ | `canonicalTriad` | Find lexicographically first triad for sum |
1092
+ | `canonicalFusion` | FUSE(p,q,r) with automatic triad |
1093
+ | `verifyCanonical` | Verify triad is canonical |
1094
+ | `TickGate` | Tick-only HQE gating class |
1095
+
726
1096
  ### Formal Semantics Exports
727
1097
 
728
1098
  | Export | Description |
@@ -783,6 +1153,14 @@ const engine = require('@aleph-ai/tinyaleph/engine');
783
1153
  | `PrimeLayerNorm` | Prime-preserving normalization |
784
1154
  | `PositionalPrimeEncoding` | Position as prime phases |
785
1155
  | `SparsePrimeState` | Sparse activation storage |
1156
+ | `CRTResonantAttention` | Multi-head CRT-fused attention |
1157
+ | `HomologyRegularizedBlock` | Block with homology loss |
1158
+ | `CRTResoFormer` | Complete CRT-enhanced model |
1159
+ | `ResidueEncoder` | Encode to residue distributions |
1160
+ | `CRTReconstructor` | Chinese Remainder Theorem |
1161
+ | `BirkhoffProjector` | Doubly-stochastic projection |
1162
+ | `HomologyLoss` | Cycle-based regularization |
1163
+ | `CoprimeSelector` | Optimal moduli selection |
786
1164
 
787
1165
  ## Documentation
788
1166
 
@@ -798,7 +1176,22 @@ Full documentation is available in the `docs/` directory:
798
1176
 
799
1177
  - **[Reference](./docs/reference/README.md)**: Complete API documentation
800
1178
  - Core module, physics module, backends, engine
1179
+ - [Topology module](./docs/reference/07-topology.md): 108 invariant, knots, gauge symmetry
801
1180
 
1181
+ - **[CRT-Homology Reference](./docs/reference/09-crt-homology.md)**: CRT reconstruction and homology
1182
+
1183
+ - **[Topology Examples](./examples/topology/README.md)**: 108 invariant and physical constants
1184
+ - 108 invariant and twist angles
1185
+ - Trefoil complexity and mass ratios
1186
+ - Gauge symmetry from factorization
1187
+ - Free energy dynamics
1188
+
1189
+ - **[Discrete Dynamics Examples](./examples/discrete/README.md)**: Integer-domain computation
1190
+ - Integer sine tables
1191
+ - Codebook tunneling
1192
+ - Canonical fusion selection
1193
+ - Tick-based gating
1194
+
802
1195
  - **[Formal Semantics Examples](./examples/formal-semantics/README.md)**: New formal system demos
803
1196
  - Typed terms and type checking
804
1197
  - Reduction and normalization
@@ -828,6 +1221,24 @@ node examples/formal-semantics/02-reduction.js
828
1221
  node examples/formal-semantics/03-lambda-translation.js
829
1222
  node examples/formal-semantics/04-enochian-language.js
830
1223
 
1224
+ # Topology examples (108 invariant, physical constants)
1225
+ node examples/topology/01-108-invariant.js
1226
+ node examples/topology/02-trefoil-constants.js
1227
+ node examples/topology/03-gauge-symmetry.js
1228
+ node examples/topology/04-free-energy-dynamics.js
1229
+
1230
+ # Discrete dynamics examples (integer tables, codebooks)
1231
+ node examples/discrete/01-integer-sine-table.js
1232
+ node examples/discrete/02-codebook-tunneling.js
1233
+ node examples/discrete/03-canonical-fusion.js
1234
+ node examples/discrete/04-tick-gate.js
1235
+
1236
+ # CRT-Homology examples
1237
+ node examples/crt-homology/01-residue-encoding.js
1238
+ node examples/crt-homology/02-birkhoff-attention.js
1239
+ node examples/crt-homology/03-homology-loss.js
1240
+ node examples/crt-homology/04-crt-resoformer.js
1241
+
831
1242
  # Bioinformatics examples
832
1243
  node examples/bioinformatics/01-dna-encoding.js
833
1244
  node examples/bioinformatics/02-central-dogma.js
@@ -847,10 +1258,10 @@ node examples/08-compound-symbols.js
847
1258
  ```
848
1259
  ┌─────────────────────────────────────────────────────────────────┐
849
1260
  │ AlephEngine │
850
- │ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────────┐
851
- │ │ Oscillators │◄─┤ Field │◄─┤ Transform │
852
- │ │ (Kuramoto) │ │ (Sedenion) │ │ Pipeline │
853
- │ └─────────────┘ └─────────────┘ └─────────────────────────┘
1261
+ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────────┐
1262
+ │ │ Oscillators │◄─┤ Field │◄─┤ Transform │
1263
+ │ │ (Kuramoto) │ │ (Sedenion) │ │ Pipeline │
1264
+ │ └─────────────┘ └─────────────┘ └─────────────────────────┘
854
1265
  └─────────────────────────────────────────────────────────────────┘
855
1266
 
856
1267
  ┌────────────────────┼────────────────────┐
@@ -864,7 +1275,7 @@ node examples/08-compound-symbols.js
864
1275
  └─────────────────┘ └─────────────────┘ └─────────────────┘
865
1276
 
866
1277
  ┌─────────────────────────────────────────────────────────────────┐
867
- │ Formal Semantics Layer
1278
+ │ Formal Semantics Layer
868
1279
  ├─────────────────┬─────────────────┬─────────────────────────────┤
869
1280
  │ Type System │ Reduction │ Lambda Translation │
870
1281
  │ │ │ │
@@ -875,7 +1286,7 @@ node examples/08-compound-symbols.js
875
1286
  └─────────────────┴─────────────────┴─────────────────────────────┘
876
1287
 
877
1288
  ┌─────────────────────────────────────────────────────────────────┐
878
- │ Symbolic AI Layer
1289
+ │ Symbolic AI Layer
879
1290
  ├─────────────────┬─────────────────┬─────────────────────────────┤
880
1291
  │ Symbol DB │ Inference │ Resonance │
881
1292
  │ │ │ │
@@ -886,14 +1297,14 @@ node examples/08-compound-symbols.js
886
1297
  └─────────────────┴─────────────────┴─────────────────────────────┘
887
1298
 
888
1299
  ┌─────────────────────────────────────────────────────────────────┐
889
- │ Enochian Language Module
1300
+ │ Enochian Language Module
890
1301
  ├─────────────────────────────────────────────────────────────────┤
891
- │ • 21-letter alphabet with prime mappings
1302
+ │ • 21-letter alphabet with prime mappings
892
1303
  │ • Prime basis PE = {7, 11, 13, 17, 19, 23, 29} │
893
- │ • Twist angles κ(p) = 360/p degrees
894
- │ • 16-dimensional sedenion operations
895
- │ • Core vocabulary (35+ words)
896
- │ • The Nineteen Calls (traditional invocations)
1304
+ │ • Twist angles κ(p) = 360/p degrees
1305
+ │ • 16-dimensional sedenion operations
1306
+ │ • Core vocabulary (35+ words)
1307
+ │ • The Nineteen Calls (traditional invocations)
897
1308
  └─────────────────────────────────────────────────────────────────┘
898
1309
  ```
899
1310