diff --git a/_config.yml b/_config.yml deleted file mode 100644 index 81d64ee288a5e2fc09e96b8f512d29b2b202e075..0000000000000000000000000000000000000000 --- a/_config.yml +++ /dev/null @@ -1,16 +0,0 @@ -# GitHub Pages config -title: GraphLab Discoveries — Universal Grammar Law -description: 25 experiments, 11 domains. N∈[4,12] confirmed. Kolmogorov compression 15,000:1. -author: Josué Argaña Silguero - -# SEO -google_analytics: -plugins: - - jekyll-seo-tag - - jekyll-sitemap - -# Social -social: - name: Josué Argaña Silguero - links: - - https://github.com/cripto-bot/graphlab-discoveries diff --git a/adamantium.py b/adamantium.py deleted file mode 100644 index e0fa9ce8d379a0132e386fde737af38464f205f0..0000000000000000000000000000000000000000 --- a/adamantium.py +++ /dev/null @@ -1,251 +0,0 @@ -""" -MatLang — Adamantium Search. -Find the hardest, highest-melting, toughest alloy composition. -""" -import json, math, random -from collections import Counter - -# ─── Element Properties for Superalloy Design ─── -ELEMENTS = { - "Fe": {"r":1.26,"en":1.83,"Tm":1811,"H":608,"E":211,"rho":7.87,"cost":1,"type":"base"}, - "Cr": {"r":1.28,"en":1.66,"Tm":2180,"H":1060,"E":279,"rho":7.19,"cost":3,"type":"carbide_former"}, - "Co": {"r":1.25,"en":1.88,"Tm":1768,"H":1043,"E":209,"rho":8.90,"cost":30,"type":"austenite_stabilizer"}, - "Ni": {"r":1.24,"en":1.91,"Tm":1728,"H":638,"E":200,"rho":8.91,"cost":15,"type":"austenite_stabilizer"}, - "W": {"r":1.39,"en":2.36,"Tm":3695,"H":3430,"E":411,"rho":19.25,"cost":25,"type":"refractory"}, - "Mo": {"r":1.39,"en":2.16,"Tm":2896,"H":1530,"E":329,"rho":10.22,"cost":20,"type":"refractory"}, - "Ta": {"r":1.46,"en":1.50,"Tm":3290,"H":800,"E":186,"rho":16.65,"cost":150,"type":"refractory"}, - "Hf": {"r":1.59,"en":1.30,"Tm":2506,"H":1700,"E":141,"rho":13.31,"cost":200,"type":"refractory"}, - "Nb": {"r":1.46,"en":1.60,"Tm":2750,"H":1320,"E":105,"rho":8.57,"cost":40,"type":"refractory"}, - "V": {"r":1.35,"en":1.63,"Tm":2183,"H":628,"E":128,"rho":6.11,"cost":10,"type":"carbide_former"}, - "Ti": {"r":1.47,"en":1.54,"Tm":1941,"H":970,"E":116,"rho":4.51,"cost":5,"type":"carbide_former"}, - "Re": {"r":1.37,"en":1.90,"Tm":3459,"H":2450,"E":463,"rho":21.02,"cost":2000,"type":"refractory"}, - "Al": {"r":1.43,"en":1.61,"Tm":933,"H":167,"E":70,"rho":2.70,"cost":2,"type":"light"}, - "C": {"r":0.77,"en":2.55,"Tm":3823,"H":0,"E":0,"rho":2.26,"cost":1,"type":"interstitial"}, - "N": {"r":0.75,"en":3.04,"Tm":63,"H":0,"E":0,"rho":0.001,"cost":1,"type":"interstitial"}, - "B": {"r":0.87,"en":2.04,"Tm":2349,"H":4900,"E":450,"rho":2.34,"cost":5,"type":"interstitial"}, - "Zr": {"r":1.60,"en":1.33,"Tm":2128,"H":900,"E":68,"rho":6.52,"cost":15,"type":"carbide_former"}, -} - - -def predict_properties(composition): - """Predict alloy properties from composition.""" - - # Weighted averages - n = len(composition) - if n == 0: return {} - - # Melting point (K) - rule of mixtures with excess term - Tm_avg = sum(ELEMENTS[e]["Tm"] * f for e, f in composition.items()) - - # Hardness (HV) estimation - # Based on: solid solution strengthening + precipitate hardening + grain refinement - radii = [ELEMENTS[e]["r"] for e in composition] - r_mean = sum(r * f for r, (_, f) in zip(radii, composition.items())) - delta = math.sqrt(sum((r/r_mean-1)**2 * f for r, (_, f) in zip(radii, composition.items()))) - - # Solid solution strengthening: δ effect - ss_strengthen = delta * 2000 # HV per δ - - # Precipitate hardening: carbide/boride formers - carbide_formers = sum(f for e, f in composition.items() - if ELEMENTS[e]["type"] in ("carbide_former","refractory","interstitial")) - - # Interstitial strengthening (C, N, B) - interstitial = sum(f for e, f in composition.items() - if ELEMENTS[e]["type"] == "interstitial") - interstitial_strength = interstitial * 1500 # HV contribution - - # Base hardness (pure iron ~80 HV) - base_hardness = 80 - - # Total hardness - hardness = base_hardness + ss_strengthen + interstitial_strength - - # Additional: C, B, N form ultra-hard phases - if interstitial > 0.001 and carbide_formers > 0.1: - hardness += 500 # Carbide precipitation bonus - if interstitial > 0.02 and carbide_formers > 0.15: - hardness += 800 # Heavy carbide reinforcement - - # Modulus (GPa) - rule of mixtures - moduli = [ELEMENTS[e]["E"] for e in composition] - modulus = sum(m * f for m, (_, f) in zip(moduli, composition.items())) - - # Density - densities = [ELEMENTS[e]["rho"] for e in composition] - density = sum(d * f for d, (_, f) in zip(densities, composition.items())) - - # Cost estimate - costs = [ELEMENTS[e]["cost"] for e in composition] - total_cost = sum(c * f for c, (_, f) in zip(costs, composition.items())) - - # Toughness proxy: balance of hardness and modulus - # Higher modulus + moderate hardness = tougher - toughness = modulus * 0.3 / (1 + hardness/2000) - - # Thermal stability: high Tm elements - refractory_frac = sum(f for e, f in composition.items() - if ELEMENTS[e]["type"] == "refractory") - thermal_stability = Tm_avg / 2000 + refractory_frac * 500 - - score = ( - hardness * 5 + # Most important - Tm_avg * 0.2 + # Thermal resistance - toughness * 10 + # Impact resistance - thermal_stability * 0.5 # Long-term stability - ) - - return { - "hardness_HV": round(hardness), - "Tm_K": round(Tm_avg), - "Tm_C": round(Tm_avg - 273), - "modulus_GPa": round(modulus), - "density": round(density, 1), - "toughness_proxy": round(toughness, 1), - "cost_per_kg": round(total_cost, 1), - "delta_pct": round(delta*100, 1), - "score": round(score), - "phases": predict_phases(composition, delta), - } - - -def predict_phases(composition, delta): - """Predict likely phases.""" - phases = [] - interstitial = sum(f for e,f in composition.items() if ELEMENTS[e]["type"]=="interstitial") - carbide = sum(f for e,f in composition.items() if ELEMENTS[e]["type"]=="carbide_former") - refractory = sum(f for e,f in composition.items() if ELEMENTS[e]["type"]=="refractory") - - if interstitial > 0.005 and (carbide > 0.05 or refractory > 0.05): - phases.append("MC_carbides") - if interstitial > 0.01: - if "B" in composition: - phases.append("borides") - if "N" in composition: - phases.append("nitrides") - if delta > 0.2: - phases.append("BCC_matrix") - else: - phases.append("FCC_matrix") - if refractory > 0.1: - phases.append("Laves_phase") - - return phases - - -# ═══════════════════════════════════════════════════════ -# SEARCH -# ═══════════════════════════════════════════════════════ - -print("═" * 70) -print("MatLang — ADAMANTIUM SEARCH (Hardest Alloy)") -print("═" * 70) - -# Candidate elements for super-steels -base_elements = ["Fe"] # Iron-based -alloy_elements = ["Cr","Co","Ni","W","Mo","Ta","Hf","Nb","V","Ti","Re","Al"] -interstitials = ["C","N","B"] - -all_candidates = [] - -# Search combinations -for _ in range(20000): - comp = {} - - # Base: Fe (40-80%) - comp["Fe"] = round(random.uniform(0.40, 0.80), 2) - remaining = 1.0 - comp["Fe"] - - # 2-6 alloying elements - n_alloy = random.randint(2, min(6, len(alloy_elements))) - chosen = random.sample(alloy_elements, n_alloy) - - for i, e in enumerate(chosen): - if i == n_alloy - 1: - comp[e] = round(remaining, 2) - else: - max_f = min(0.30, remaining * 0.5) - f = round(random.uniform(0.01, max_f), 2) - comp[e] = f - remaining -= f - - # Add interstitial (C, N, B) - if random.random() < 0.7: - inter = random.choice(interstitials) - inter_f = round(random.uniform(0.001, 0.05), 3) - if inter in comp: - comp[inter] += inter_f - else: - comp[inter] = inter_f - - props = predict_properties(comp) - all_candidates.append((props["score"], comp, props)) - -# Sort by score -all_candidates.sort(key=lambda x: -x[0]) - -# Show top candidates -print(f"\n🏆 TOP 10 CANDIDATES:") -print(f" {'Rank':>4s} {'Hardness':>9s} {'Tm':>6s} {'Modulus':>8s} {'Density':>8s} {'Score':>7s} {'Cost/kg':>8s} {'Phases':>30s}") -print(f" {'─'*90}") - -seen = set() -rank = 0 -for score, comp, props in all_candidates: - name = "Fe" + "".join(f"{e}{f*100:.0f}" for e,f in sorted(comp.items()) if e != "Fe") - if name not in seen: - seen.add(name) - rank += 1 - phases = ", ".join(props['phases'][:3]) - print(f" {rank:4d} {props['hardness_HV']:6d} HV {props['Tm_C']:5d}°C {props['modulus_GPa']:5d} GPa {props['density']:6.1f} {score:7d} ${props['cost_per_kg']:6.1f} {phases}") - if rank >= 10: - break - -# Best candidate details -best_score, best_comp, best_props = all_candidates[0] -print(f"\n{'═'*70}") -print(f"🏆 BEST CANDIDATE: ADAMANTIUM-1") -print(f"{'═'*70}") -print(f" Hardness: {best_props['hardness_HV']} HV") -print(f" Melting point: {best_props['Tm_C']}°C ({best_props['Tm_K']}K)") -print(f" Modulus: {best_props['modulus_GPa']} GPa") -print(f" Density: {best_props['density']} g/cm³") -print(f" Toughness proxy: {best_props['toughness_proxy']}") -print(f" Size mismatch (δ): {best_props['delta_pct']}%") -print(f" Cost: ${best_props['cost_per_kg']:.0f}/kg") -print(f" Phases: {', '.join(best_props['phases'])}") -print(f"\n COMPOSITION (wt%):") -for e, f in sorted(best_comp.items(), key=lambda x: -x[1]): - print(f" {e:5s}: {f*100:6.2f}%") -print(f"\n SYNTHESIS:") -print(f" Vacuum arc melting → hot isostatic pressing (HIP)") -print(f" Solution treatment: 1200°C/2h → age: 700°C/20h") -print(f" Expected: MC carbides + borides in BCC/FCC matrix") - -# Comparison table -print(f"\n{'═'*70}") -print("REAL-WORLD COMPARISON") -print(f"{'═'*70}") -print(f" {'Material':25s} {'Hardness':>10s} {'Tm':>8s} {'Modulus':>8s}") -print(f" {'─'*55}") -baselines = [ - ("Mild steel (Fe+C)", 120, 1500, 210), - ("Tool steel (H13)", 500, 1700, 210), - ("Tungsten carbide (WC)", 1800, 3143, 700), - ("CrCoNi (toughest)", 300, 1600, 200), - ("Inconel 718 (Ni super)", 400, 1600, 200), - ("TaHfC (highest Tm)", 1800, 4215, 550), -] -for name, hv, tm, mod in baselines: - print(f" {name:25s} {hv:6d} HV {tm:5d}°C {mod:5d} GPa") - -print(f" {'─'*55}") -print(f" {'ADAMANTIUM-1 (MatLang)':25s} {best_props['hardness_HV']:6d} HV {best_props['Tm_C']:5d}°C {best_props['modulus_GPa']:5d} GPa") - -# Save -with open("adamantium_results.json","w") as f: - json.dump({ - "best": {"composition": best_comp, "properties": best_props}, - "top10": [{"composition": c, "properties": p} for _,c,p in all_candidates[:10]], - }, f, indent=2) -print(f"\nSaved: adamantium_results.json") diff --git a/auto_organization.py b/auto_organization.py deleted file mode 100644 index 808dc6d0f1826c4f1901f7301f7b33fc91eafedb..0000000000000000000000000000000000000000 --- a/auto_organization.py +++ /dev/null @@ -1,218 +0,0 @@ -""" -AUTO-ORGANIZATION — Noise transmutation feedback loop. -System generates noise, mixes with signal, measures structure, -self-adjusts α, and converges to the critical point. -No human intervention. Pure emergence. -""" -import math -import numpy as np - -# ═══════════════════════════════════════════ -# THE LAWS -# ═══════════════════════════════════════════ - -class NoiseLaw: - """Discovered stochastic law: P(x)=1/100, Uniform[0,99]""" - def generate(self, n, seed=None): - if seed is not None: - np.random.seed(seed) - return np.random.randint(0, 100, n) - -class SignalLaw: - """Simple structured signal (sine wave).""" - def generate(self, n): - t = np.arange(n) - return (np.sin(2*np.pi*t/20) * 50 + 50).astype(float) - -# ═══════════════════════════════════════════ -# STRUCTURE METER -# ═══════════════════════════════════════════ - -def measure_structure(seq): - """0 = pure noise, 1 = pure structure""" - seq = np.array(seq, dtype=float) - - # Autocorrelation - if len(seq) > 1 and np.std(seq) > 0: - autocorr = abs(np.corrcoef(seq[:-1], seq[1:])[0, 1]) - else: - autocorr = 0 - - # Entropy ratio - counter = {} - for v in seq: - counter[v] = counter.get(v, 0) + 1 - entropy = 0 - for count in counter.values(): - p = count / len(seq) - if p > 0: entropy -= p * math.log2(p) - max_entropy = math.log2(min(100, len(seq))) - entropy_ratio = entropy / max_entropy if max_entropy > 0 else 1 - - return max(0, autocorr * 0.6 + (1 - entropy_ratio) * 0.4) - -# ═══════════════════════════════════════════ -# AUTO-ORGANIZING SYSTEM -# ═══════════════════════════════════════════ - -class AutoOrganizer: - """ - Self-adjusting noise-signal mixer. - Target: stay in the transition zone where structure emerges. - """ - - def __init__(self, target_structure=0.35, n_samples=500): - self.noise_law = NoiseLaw() - self.signal_law = SignalLaw() - self.target = target_structure # Sweet spot in transition zone (edge of chaos) - self.n = n_samples - self.alpha = 0.70 # Start deep in noise zone - self.history = [] - self.generations = [] - - def mix(self, noise, signal, alpha): - """Mix at ratio alpha. 0=signal, 1=noise.""" - return alpha * noise + (1 - alpha) * signal - - def adjust(self, current_structure): - """Adjust alpha toward target structure.""" - error = self.target - current_structure - - # Adaptive learning rate - if abs(error) > 0.3: - step = 0.10 - elif abs(error) > 0.1: - step = 0.05 - else: - step = 0.02 - - # If too much noise (low structure) → reduce alpha - if current_structure < self.target: - self.alpha -= step - else: - self.alpha += step - - # Clamp - self.alpha = max(0.0, min(1.0, self.alpha)) - - def evolve(self, generations=20): - """Run the auto-organizing loop.""" - - for gen in range(generations): - # Generate fresh noise each generation - noise = self.noise_law.generate(self.n, seed=gen*100) - signal = self.signal_law.generate(self.n) - - # Mix - mixed = self.mix(noise, signal, self.alpha) - - # Measure - structure = measure_structure(mixed) - - # Record - self.history.append({ - 'generation': gen, - 'alpha': round(self.alpha, 3), - 'structure': round(structure, 4), - }) - self.generations.append(mixed) - - # Adjust - self.adjust(structure) - - return self.history - - def analyse(self): - """Analyze the convergence.""" - h = self.history - - # Did it converge? - last_5 = [x['structure'] for x in h[-5:]] - converged = np.std(last_5) < 0.02 - - # Where did it settle? - final_alpha = h[-1]['alpha'] - final_structure = h[-1]['structure'] - - # How many generations to converge? - convergence_gen = None - for i, x in enumerate(h): - if abs(x['structure'] - self.target) < 0.05: - convergence_gen = i - break - - return { - 'converged': converged, - 'final_alpha': round(final_alpha, 3), - 'final_structure': round(final_structure, 4), - 'convergence_gen': convergence_gen, - 'n_generations': len(h), - 'history': h, - } - -# ═══════════════════════════════════════════ -# RUN -# ═══════════════════════════════════════════ - -print('═' * 65) -print(' AUTO-ORGANIZATION — Noise → Structure') -print('═' * 65) - -# Run the auto-organizer -org = AutoOrganizer(target_structure=0.45, n_samples=500) -history = org.evolve(generations=20) - -# Show evolution -print(f'\n═══ EVOLUTION ═══') -print(f' {"Gen":>4s} {"α (noise%)":>10s} {"Structure":>10s} {"Phase"}') -print(f' {"─"*50}') - -for h in history: - alpha_pct = int(h['alpha'] * 100) - bar = '█' * int(h['structure'] * 30) - phase = '⚡ EDGE' if 0.3 < h['structure'] < 0.6 else ('SIGNAL' if h['structure'] > 0.6 else 'NOISE') - marker = '→' if h['generation'] == 0 else ' ' - print(f' {marker} {h["generation"]:3d} {alpha_pct:5d}% {h["structure"]:.4f} {bar} {phase}') - -# Analysis -analysis = org.analyse() - -print(f'\n═══ CONVERGENCE ═══') -print(f' Converged: {"✅ YES" if analysis["converged"] else "❌ NO"}') -print(f' Final α: {analysis["final_alpha"]:.1%} noise') -print(f' Final structure: {analysis["final_structure"]:.4f}') -print(f' Target: {org.target}') - -if analysis['convergence_gen'] is not None: - print(f' Converged at gen {analysis["convergence_gen"]}') - print(f' → System self-organized in {analysis["convergence_gen"]} generations') - -# Generate final output at convergence point -print(f'\n═══ EMERGENT OUTPUT ═══') -noise = org.noise_law.generate(org.n, seed=999) -signal = org.signal_law.generate(org.n) -final_mix = org.mix(noise, signal, analysis['final_alpha']) -final_struct = measure_structure(final_mix) - -print(f' Generated at α = {analysis["final_alpha"]:.1%}') -print(f' Structure = {final_struct:.4f}') -print(f' → System produces structured output AUTONOMOUSLY') -print(f'') -print(f' First 20 values: {[int(x) for x in final_mix[:20]]}') - -# What emerged? -print(f'\n═══ WHAT EMERGED ═══') -print(f'') -print(f' The system started at α=50% noise.') -print(f' It self-adjusted toward the critical point.') -print(f' It settled at α={analysis["final_alpha"]:.0%}.') -print(f'') -print(f' This is AUTO-ORGANIZATION:') -print(f' - No human tuned the parameters') -print(f' - The system found its OWN equilibrium') -print(f' - At the edge of chaos (structure≈{analysis["final_structure"]:.2f})') -print(f' - NEW patterns emerge SPONTANEOUSLY') -print(f'') -print(f' GraphLang has achieved:') -print(f' Noise → Self-adjustment → Structure') -print(f' The system crossed the boundary on its own.') diff --git a/bb84_qkd.py b/bb84_qkd.py deleted file mode 100644 index 67e541e7b2efeeabb2389a25f79d3dc16370c521..0000000000000000000000000000000000000000 --- a/bb84_qkd.py +++ /dev/null @@ -1,236 +0,0 @@ -""" -BB84 QUANTUM KEY DISTRIBUTION — GraphLang validates the protocol. -Simulates Alice & Bob establishing a secret key. -Detects Eve's eavesdropping via increased error rate. -No quantum hardware needed — pure protocol simulation. -""" -import random -import math -from collections import Counter - -# ═══════════════════════════════════════════ -# BB84 PROTOCOL -# ═══════════════════════════════════════════ - -class BB84: - """ - Bennett-Brassard 1984 Quantum Key Distribution. - - Alice sends photons in 4 polarization states. - Bob measures in random bases. - Eve cannot intercept without disturbing. - """ - - # Bases: + (rectilinear: 0°,90°) or x (diagonal: 45°,135°) - # Bits: 0 or 1, encoded in polarization - - def __init__(self, n_bits=1000, eve_present=False, channel_noise=0.0): - self.n = n_bits - self.eve_present = eve_present - self.noise = channel_noise - - def run(self): - """Execute full BB84 protocol. Returns metrics.""" - - # 1. ALICE: Generate random bits + random bases - alice_bits = [random.randint(0, 1) for _ in range(self.n)] - alice_bases = [random.choice(['+', 'x']) for _ in range(self.n)] - - # 2. ALICE: Encode bits in polarization states - # + basis: 0→|0°⟩, 1→|90°⟩ - # x basis: 0→|45°⟩, 1→|135°⟩ - photons = [] - for bit, basis in zip(alice_bits, alice_bases): - if basis == '+': - photons.append(('H' if bit == 0 else 'V', basis)) - else: - photons.append(('D' if bit == 0 else 'A', basis)) - - # 3. EVE: Intercept if present - eve_bits = [] - eve_bases = [] - eve_detected = 0 - - if self.eve_present: - for i, (state, basis) in enumerate(photons): - # Eve measures in random basis - eve_basis = random.choice(['+', 'x']) - eve_bases.append(eve_basis) - - # If Eve guessed wrong basis, she gets random result - if eve_basis == basis: - if state in ('H', 'D'): # 0 states - eve_bits.append(0) - else: - eve_bits.append(1) - else: - # Wrong basis: random result, photon state disturbed - eve_bits.append(random.randint(0, 1)) - eve_detected += 1 - - # Re-emit in wrong state (disturb the photon) - new_bit = random.randint(0, 1) - if eve_basis == '+': - photons[i] = (('H' if new_bit == 0 else 'V'), eve_basis) - else: - photons[i] = (('D' if new_bit == 0 else 'A'), eve_basis) - - # 4. BOB: Measure in random bases - bob_bases = [random.choice(['+', 'x']) for _ in range(self.n)] - bob_bits = [] - - for i, (state, basis) in enumerate(photons): - # Bob measures in his chosen basis - if bob_bases[i] == basis: - # Correct basis: deterministic result - if state in ('H', 'D'): - bob_bits.append(0) - else: - bob_bits.append(1) - else: - # Wrong basis: random result - bob_bits.append(random.randint(0, 1)) - - # 5. SIFTING: Keep only bits where bases matched - sifted_alice = [] - sifted_bob = [] - - for i in range(self.n): - if alice_bases[i] == bob_bases[i]: - sifted_alice.append(alice_bits[i]) - sifted_bob.append(bob_bits[i]) - - # 6. ERROR CHECK: Compare subset of sifted key - n_sifted = len(sifted_alice) - n_check = n_sifted // 3 # Use 1/3 for error check - - errors = 0 - for i in range(n_check): - if sifted_alice[i] != sifted_bob[i]: - errors += 1 - - error_rate = errors / n_check if n_check > 0 else 0 - - # Final key (after discarding check bits) - final_alice = sifted_alice[n_check:] - final_bob = sifted_bob[n_check:] - - # Count matching bits in final key - final_errors = sum(1 for a, b in zip(final_alice, final_bob) if a != b) - final_error_rate = final_errors / len(final_alice) if final_alice else 0 - - # Eve detection: error rate > 15% means eavesdropping detected - eve_detected = error_rate > 0.15 - - return { - 'n_sent': self.n, - 'n_sifted': n_sifted, - 'n_final': len(final_alice), - 'check_errors': errors, - 'check_total': n_check, - 'error_rate': error_rate, - 'final_errors': final_errors, - 'final_error_rate': final_error_rate, - 'eve_detected': eve_detected, - 'eve_present': self.eve_present, - 'secret_key_length': len(final_alice) if error_rate < 0.15 else 0, - } - -# ═══════════════════════════════════════════ -# VALIDATION -# ═══════════════════════════════════════════ - -print('═' * 65) -print(' BB84 QKD — GraphLang Quantum Security Validation') -print('═' * 65) - -# Test 1: No eavesdropper -print(f'\n═══ TEST 1: NO EAVESDROPPER ═══') -bb84_clean = BB84(n_bits=10000, eve_present=False) -r1 = bb84_clean.run() -print(f' Bits sent: {r1["n_sent"]}') -print(f' Sifted key: {r1["n_sifted"]}') -print(f' Error rate: {r1["error_rate"]:.1%}') -print(f' Eve detected: {r1["eve_detected"]}') -print(f' Secret key: {r1["secret_key_length"]} bits') -print(f' → {"✅ SECURE CHANNEL" if r1["eve_detected"] == False else "❌ INSECURE"}') - -# Test 2: With eavesdropper -print(f'\n═══ TEST 2: EVE INTERCEPTS ═══') -bb84_eve = BB84(n_bits=10000, eve_present=True) -r2 = bb84_eve.run() -print(f' Bits sent: {r2["n_sent"]}') -print(f' Sifted key: {r2["n_sifted"]}') -print(f' Error rate: {r2["error_rate"]:.1%}') -print(f' Eve detected: {r2["eve_detected"]}') -print(f' Secret key: {r2["secret_key_length"]} bits') -print(f' → {"⚠️ EVE DETECTED" if r2["eve_detected"] else "❌ EVE UNDETECTED"}') - -# Test 3: Eve detection rate over multiple runs -print(f'\n═══ TEST 3: EAVESDROPPER DETECTION RELIABILITY ═══') -runs = 100 -detected = 0 -for _ in range(runs): - r = BB84(n_bits=5000, eve_present=True).run() - if r['eve_detected']: - detected += 1 - -print(f' Runs: {runs}') -print(f' Eve detected: {detected}/{runs} ({detected/runs*100:.0f}%)') -print(f' → {"✅ RELIABLE (>95%)" if detected/runs > 0.95 else "⚠️ UNRELIABLE"}') - -# ═══════════════════════════════════════════ -# GRAPHLANG ANALYSIS -# ═══════════════════════════════════════════ - -print(f'\n═══ GRAPHLANG PROTOCOL ANALYSIS ═══') - -# Count fundamental components of BB84 -components = [ - 'alice_bits', 'alice_bases', 'polarization_encode', 'quantum_channel', - 'bob_bases', 'bob_measurement', 'basis_comparison', 'sifting', - 'error_check', 'privacy_amplification' -] -N_protocol = len(components) -print(f' Protocol components: {N_protocol} ∈ [4,12] ✅') - -# Why BB84 is secure -print(f'') -print(f' Why BB84 cannot be broken:') -print(f' 1. No-cloning theorem: quantum states cannot be copied') -print(f' 2. Measurement disturbs: Eve leaves detectable traces') -print(f' 3. Information-theoretic security: proven by Shor-Preskill') -print(f'') -print(f' Why GraphLang validates this:') -print(f' N={N_protocol} ∈ [4,12]: the protocol has the RIGHT complexity') -print(f' Too simple (N<4): exploitable by classical attacks') -print(f' Too complex (N>12): vulnerable to side channels') -print(f' N=10: the SWEET SPOT for cryptographic protocols') - -# ═══════════════════════════════════════════ -# PRACTICAL RADIO ANALOGY -# ═══════════════════════════════════════════ - -print(f'\n═══ PRACTICAL RADIO ANALOGY ═══') -print(f'') -print(f' BB84 needs single photons. Can we do it with radio?') -print(f'') -print(f' SEMI-CLASSICAL APPROACH (radio-based):') -print(f' 1. Alice transmits at 2 frequencies: f₁ and f₂') -print(f' 2. Randomly switches between them (like bases)') -print(f' 3. Bob has 2 receivers, randomly picks one') -print(f' 4. If Alice and Bob pick same frequency → bit received') -print(f' 5. If Eve listens: she creates interference pattern') -print(f'') -print(f' LIMITATIONS:') -print(f' - NOT quantum secure (radio waves are classical)') -print(f' - Eve can copy the signal without detection') -print(f' - Only provides OBSCURITY, not SECURITY') -print(f'') -print(f' FOR REAL QKD:') -print(f' - Need single photon source or attenuated laser') -print(f' - Optical setup with polarizers (~$500 on eBay)') -print(f' - Or: satellite QKD (already deployed by China)') -print(f'') -print(f' GraphLang validates the PROTOCOL (math is sound).') -print(f' The hardware can be improvised. The security is PROVEN.') diff --git a/bitcoin_dynamics.py b/bitcoin_dynamics.py deleted file mode 100644 index 44f2760f18744981089d8e09797578b28e23b7eb..0000000000000000000000000000000000000000 --- a/bitcoin_dynamics.py +++ /dev/null @@ -1,226 +0,0 @@ -""" -BITCOIN DYNAMICS — GraphLang discovers market equations. -Uses known Bitcoin patterns (power law, halving cycles). -Tests if GraphLang can rediscover the structure. -""" -import json, math -import numpy as np -from scipy.integrate import solve_ivp - -# ═══════════════════════════════════════════ -# BITCOIN MARKET MODEL (Ground truth — hidden from GraphLang) -# ═══════════════════════════════════════════ - -def bitcoin_system(t, state): - """ - Hidden model of Bitcoin dynamics: - P = price - H = hashrate (proxy for network security) - D = difficulty - - Known patterns: - - Price follows power law: P ~ t^5.69 - - Hashrate follows difficulty - - Halvings every 4 years reduce block reward - """ - P, H, D = state - - # Power law growth with dampening - dP_dt = 5.69 * P / (t + 1) - 0.01 * P * (P > 50000) + 0.3 * np.sin(2*np.pi*t/365) - - # Hashrate follows price with delay + halving shocks - halving_effect = 1.0 - if 1460 < t < 1500: halving_effect = 2.0 # Halving shock - if 2920 < t < 2960: halving_effect = 2.0 - if 4380 < t < 4420: halving_effect = 2.0 - - dH_dt = 0.8 * (P/1000 - H) * halving_effect + 0.1 * H - - # Difficulty follows hashrate - dD_dt = 0.5 * (H - D) - - return [dP_dt, dH_dt, dD_dt] - -# ═══════════════════════════════════════════ -# GENERATE DATA -# ═══════════════════════════════════════════ - -# Simulate 8 years of daily data -t_span = (1, 2920) # ~8 years -t_eval = np.linspace(1, 2920, 2920) -sol = solve_ivp(bitcoin_system, t_span, [0.1, 0.1, 0.1], - t_eval=t_eval, method='RK45', rtol=1e-6) - -P, H, D = sol.y # Price, Hashrate, Difficulty -t = sol.t -dt = t[1] - t[0] - -# Normalize to realistic ranges -P = P * 70000 / P[-1] # Scale to ~$70K -H = H * 800 / H[-1] # Scale to ~800 EH/s -D = D * 100 / D[-1] # Scale to ~100T - -print('═' * 65) -print(' BITCOIN DYNAMICS — GraphLang Market Discovery') -print('═' * 65) -print(f' Data points: {len(t)} days') -print(f' Price range: ${P[0]:.0f} → ${P[-1]:.0f}') -print(f' Hashrate: {H[0]:.0f} → {H[-1]:.0f} EH/s') -print(f' Halving cycles: 3 (every ~4 years)') -print(f' Hidden model: power law P~t^5.69 + halving shocks') - -# Stack data -X = np.column_stack([P, H, D]) -dXdt = np.gradient(X, dt, axis=0) - -# ═══════════════════════════════════════════ -# GRAPHLANG ODE DISCOVERY (SINDy) -# ═══════════════════════════════════════════ - -# Build library with TIME as explicit variable -def build_library(X, t): - n = X.shape[0] - lib = [np.ones(n)]; names = ['1'] - - # Linear terms (P, H, D, t) - for i in range(3): - lib.append(X[:, i]) - names.append(['P','H','D'][i]) - lib.append(t); names.append('t') - - # Time-dependent terms (power law: P/t, H/t) - for i in range(3): - lib.append(X[:, i] / (t + 1)) - names.append(f'{["P","H","D"][i]}/t') - - # Quadratic - for i in range(3): - for j in range(i, 3): - lib.append(X[:, i] * X[:, j]) - names.append(f'{["P","H","D"][i]}·{["P","H","D"][j]}') - - # Halving shocks (step functions every ~4 years) - for cycle in [1460, 2920, 4380]: - shock = np.where(np.abs(t - cycle) < 40, 1.0, 0.0) # ±40 day window - lib.append(shock) - names.append(f'halving_{cycle//365}') - - # Cycles - lib.append(np.sin(2*np.pi*t/365)); names.append('sin(yr)') - lib.append(np.sin(2*np.pi*t/1460)); names.append('sin(4yr)') # Halving cycle - - return np.column_stack(lib), names - -Theta, names = build_library(X, t) - -# Sparse regression with LOWER threshold -Xi = np.linalg.lstsq(Theta, dXdt, rcond=None)[0] -threshold = 0.01 * np.max(np.abs(Xi)) # Lower threshold -for i in range(Xi.shape[1]): - mask = np.abs(Xi[:, i]) < threshold - Xi[mask, i] = 0 - -# ═══════════════════════════════════════════ -# RESULTS -# ═══════════════════════════════════════════ - -var_names = ['P (price)', 'H (hashrate)', 'D (difficulty)'] - -print(f'\n═══ DISCOVERED EQUATIONS ═══') -for dim, vname in enumerate(var_names): - terms = [] - for i, name in enumerate(names): - coef = Xi[i, dim] - if abs(coef) > 0.001: - sign = '+' if coef > 0 else '-' - terms.append(f'{sign} {abs(coef):.4f}·{name}') - - eq = ' '.join(terms) - if eq.startswith('+ '): eq = eq[2:] - print(f' d{vname}/dt = {eq}') - -# ═══════════════════════════════════════════ -# KEY DISCOVERIES -# ═══════════════════════════════════════════ - -print(f'\n═══ KEY DISCOVERIES ═══') - -# Check if price-hashrate coupling was found -has_PH = any(abs(Xi[i, 0]) > 0.001 and 'P·H' in names[i] for i in range(len(names))) -has_HP = any(abs(Xi[i, 1]) > 0.001 and 'H' == names[i] for i in range(len(names))) - -# Check for halving cycles (sin term) -has_cycles = any(abs(Xi[i, 0]) > 0.001 and 'sin' in names[i] for i in range(len(names))) - -# Check power law (P term in dP/dt) -has_power = any(abs(Xi[i, 0]) > 0.001 and 'P' == names[i] for i in range(len(names))) - -discoveries = [] -if has_PH: discoveries.append('Price-Hashrate coupling detected') -if has_cycles: discoveries.append('Cyclical behavior (halvings) detected') -if has_power: discoveries.append('Self-reinforcing price dynamics (power law)') - -# Check difficulty-hashrate coupling -has_HD = any(abs(Xi[i, 2]) > 0.001 and any(x in names[i] for x in ['H·D','H','D']) for i in range(len(names))) -if has_HD: discoveries.append('Difficulty-Hashrate feedback loop detected') - -for d in discoveries: - print(f' ✅ {d}') - -# ═══════════════════════════════════════════ -# BACKTEST -# ═══════════════════════════════════════════ - -print(f'\n═══ BACKTEST (simulate using discovered equations) ═══') - -# Simulate forward using discovered ODEs -X_pred = np.zeros_like(X) -X_pred[0] = X[0] - -for i in range(len(t)-1): - x = X_pred[i]; ti = t[i] - # Match library order: 1, P, H, D, t, P/t, H/t, D/t, P², P·H, P·D, H², H·D, D², halvings×3, sin(yr), sin(4yr) - theta = np.array([1, x[0], x[1], x[2], ti, - x[0]/(ti+1), x[1]/(ti+1), x[2]/(ti+1), - x[0]*x[0], x[0]*x[1], x[0]*x[2], x[1]*x[1], x[1]*x[2], x[2]*x[2], - 1.0 if abs(ti-1460)<40 else 0, 1.0 if abs(ti-2920)<40 else 0, 1.0 if abs(ti-4380)<40 else 0, - np.sin(2*np.pi*ti/365), np.sin(2*np.pi*ti/1460)]) - dx = Xi.T @ theta - X_pred[i+1] = X_pred[i] + dx * dt - -# Correlation between predicted and actual -corr_P = np.corrcoef(X_pred[:, 0], X[:, 0])[0, 1] -corr_H = np.corrcoef(X_pred[:, 1], X[:, 1])[0, 1] -corr_D = np.corrcoef(X_pred[:, 2], X[:, 2])[0, 1] - -print(f' Price correlation: r = {corr_P:.4f} {"✅" if corr_P > 0.8 else "⚠️"}') -print(f' Hashrate correlation: r = {corr_H:.4f} {"✅" if corr_H > 0.8 else "⚠️"}') -print(f' Difficulty correlation: r = {corr_D:.4f} {"✅" if corr_D > 0.8 else "⚠️"}') - -accuracy = (corr_P > 0.7) + (corr_H > 0.7) + (corr_D > 0.7) -print(f'\n Accuracy: {accuracy}/3 variables captured') - -# ═══════════════════════════════════════════ -# COMPRESSION -# ═══════════════════════════════════════════ - -data_bytes = len(X) * 3 * 8 # 3 vars, float64 -nonzero_terms = np.sum(np.abs(Xi) > 0.001) -rule_bytes = nonzero_terms * 16 # ~16 bytes per term (name + coefficient) -ratio = data_bytes / rule_bytes if rule_bytes > 0 else 1 - -print(f'\n═══ KOLMOGOROV COMPRESSION ═══') -print(f' Data: {data_bytes/1024:.0f} KB ({len(t)} days × 3 vars)') -print(f' Rule: {rule_bytes} bytes ({nonzero_terms} terms)') -print(f' Ratio: {ratio:,.0f}:1') - -print(f'\n═══ VERDICT ═══') -if accuracy >= 2: - print(f' ✅ GraphLang DISCOVERED Bitcoin market structure') - print(f' from data alone, without prior assumptions.') -else: - print(f' ⚠️ GraphLang found partial structure') - -print(f'') -print(f' Next: apply to REAL Bitcoin data (price, hashrate, difficulty)') -print(f' from 2010-2026. The methodology is proven on simulated data.') diff --git a/coil_optimizer.py b/coil_optimizer.py deleted file mode 100644 index cdba9739cd529141fae1b560fb5aaafd7b919460..0000000000000000000000000000000000000000 --- a/coil_optimizer.py +++ /dev/null @@ -1,321 +0,0 @@ -""" -COIL OPTIMIZER — GraphLang finds the optimal winding. -Real physics: copper losses, core losses, skin effect, proximity effect. -Searches parameter space using structural analysis. -""" -import math, json -import numpy as np -from collections import defaultdict - -# ═══════════════════════════════════════════ -# PHYSICS ENGINE -# ═══════════════════════════════════════════ - -class CoilPhysics: - """Real electromagnetic physics for coil design.""" - - RHO_COPPER = 1.68e-8 # Ohm·m - MU0 = 4e-7 * math.pi # H/m - - CORE_MATERIALS = { - 'iron_silicon': {'mu_r': 5000, 'b_sat': 1.5, 'hyst_loss': 2.0, 'cost': 1}, - 'ferrite_mnzn': {'mu_r': 2000, 'b_sat': 0.4, 'hyst_loss': 0.5, 'cost': 2}, - 'ferrite_nizn': {'mu_r': 800, 'b_sat': 0.3, 'hyst_loss': 0.3, 'cost': 3}, - 'amorphous': {'mu_r': 10000,'b_sat': 1.2, 'hyst_loss': 0.1, 'cost': 5}, - 'nanocrystalline':{'mu_r': 30000,'b_sat': 1.0, 'hyst_loss': 0.05,'cost': 4}, - } - - CORE_SHAPES = { - 'toroid': {'leakage': 0.02, 'winding_ease': 0.3, 'cooling': 0.5}, - 'E_core': {'leakage': 0.10, 'winding_ease': 0.9, 'cooling': 0.7}, - 'C_core': {'leakage': 0.15, 'winding_ease': 0.7, 'cooling': 0.8}, - 'pot_core': {'leakage': 0.03, 'winding_ease': 0.5, 'cooling': 0.3}, - 'planar': {'leakage': 0.20, 'winding_ease': 1.0, 'cooling': 0.9}, - } - - def __init__(self, volts=230, freq=50, power=1000): - self.V = volts - self.f = freq - self.P = power - self.omega = 2 * math.pi * freq - - def compute_efficiency(self, design): - """Compute total efficiency from design parameters.""" - - turns = design['turns'] - wire_diameter = design['wire_diameter'] * 1e-3 # mm → m - layers = design['layers'] - core_shape = design['core_shape'] - core_material = design['core_material'] - phases = design['phases'] - core_area = design['core_area'] * 1e-4 # cm² → m² - - core = self.CORE_MATERIALS[core_material] - shape = self.CORE_SHAPES[core_shape] - - # Wire length estimation - mean_turn_length = 4 * math.sqrt(core_area) # square core approximation - wire_length = turns * mean_turn_length * layers - - # 1. COPPER LOSSES (I²R) - wire_area = math.pi * (wire_diameter / 2) ** 2 - R_dc = self.RHO_COPPER * wire_length / wire_area - - # Skin effect - skin_depth = math.sqrt(self.RHO_COPPER / (math.pi * self.f * self.MU0 * core['mu_r'])) - if wire_diameter / 2 > skin_depth: - skin_factor = wire_diameter / (2 * skin_depth) - else: - skin_factor = 1.0 - - # Proximity effect (layers interaction) - proximity_factor = 1 + 0.1 * layers * (wire_diameter / skin_depth) ** 2 - - R_ac = R_dc * skin_factor * proximity_factor - - I = self.P / (self.V * phases) - copper_loss = I**2 * R_ac - - # 2. CORE LOSSES - core_volume = core_area * mean_turn_length - - # Hysteresis loss: P_h = k_h * f * B_max^α * V - B_max = (self.V * math.sqrt(2)) / (4.44 * self.f * turns * core_area) - if B_max > core['b_sat']: - B_max = core['b_sat'] # Saturation - - hysteresis_loss = core['hyst_loss'] * self.f * (B_max ** 1.6) * core_volume * 1000 - - # Eddy current loss: P_e = k_e * (f * B_max)^2 * V - eddy_loss = 0.01 * (self.f * B_max) ** 2 * core_volume * 1000 - - core_loss = hysteresis_loss + eddy_loss - - # 3. LEAKAGE LOSS - leakage_loss = self.P * shape['leakage'] * (1 + 0.5 * (layers - 1) / 10) - - # 4. TOTAL - total_loss = copper_loss + core_loss + leakage_loss - efficiency = (self.P - total_loss) / self.P * 100 - - return max(0, min(99.9, efficiency)), { - 'copper_loss': copper_loss, - 'core_loss': core_loss, - 'leakage_loss': leakage_loss, - 'R_ac': R_ac, - 'B_max': B_max, - 'skin_factor': skin_factor, - 'proximity_factor': proximity_factor, - } - -# ═══════════════════════════════════════════ -# DESIGN SPACE -# ═══════════════════════════════════════════ - -design_space = { - 'turns': [50, 100, 150, 200, 300, 400, 600], - 'wire_diameter': [0.2, 0.3, 0.5, 0.8, 1.0, 1.5, 2.0], # mm - 'layers': [1, 2, 3, 4, 6, 8], - 'core_shape': list(CoilPhysics.CORE_SHAPES.keys()), - 'core_material': list(CoilPhysics.CORE_MATERIALS.keys()), - 'phases': [1, 2, 3, 5, 6], - 'core_area': [1, 2, 4, 8, 16, 32], # cm² -} - -# ═══════════════════════════════════════════ -# GRAPHLANG OPTIMIZER -# ═══════════════════════════════════════════ - -class GraphLangCoilOptimizer: - def __init__(self, physics): - self.physics = physics - - def search(self, n_samples=1000): - """Random search + structural ranking.""" - np.random.seed(42) - results = [] - - for _ in range(n_samples): - design = { - 'turns': int(np.random.choice(design_space['turns'])), - 'wire_diameter': float(np.random.choice(design_space['wire_diameter'])), - 'layers': int(np.random.choice(design_space['layers'])), - 'core_shape': str(np.random.choice(design_space['core_shape'])), - 'core_material': str(np.random.choice(design_space['core_material'])), - 'phases': int(np.random.choice(design_space['phases'])), - 'core_area': float(np.random.choice(design_space['core_area'])), - } - - eff, details = self.physics.compute_efficiency(design) - - # Structural score (GraphLang N-value) - N_struct = 0 - # Complexity beyond minimum - N_struct += min(3, design['turns'] // 100) - N_struct += min(2, design['layers']) - N_struct += min(2, design['phases'] // 2) - N_struct += 1 if eff > 90 else 0 - - results.append({ - 'design': design, - 'efficiency': eff, - 'N_struct': N_struct, - 'details': details, - }) - - return sorted(results, key=lambda r: -r['efficiency']) - - def find_patterns(self, top_results): - """GraphLang: discover what makes designs efficient.""" - patterns = defaultdict(list) - - for r in top_results: - d = r['design'] - patterns['shape_' + d['core_shape']].append(r['efficiency']) - patterns['material_' + d['core_material']].append(r['efficiency']) - patterns['phases_' + str(d['phases'])].append(r['efficiency']) - patterns['layers_' + str(d['layers'])].append(r['efficiency']) - - discoveries = [] - for key, effs in patterns.items(): - if len(effs) >= 3: - avg_eff = np.mean(effs) - discoveries.append({ - 'pattern': key, - 'avg_efficiency': round(avg_eff, 1), - 'count': len(effs), - 'score': avg_eff * math.log(len(effs) + 1), - }) - - return sorted(discoveries, key=lambda d: -d['score']) - -# ═══════════════════════════════════════════ -# RUN -# ═══════════════════════════════════════════ - -print('═' * 70) -print(' COIL OPTIMIZER — GraphLang Winding Design') -print('═' * 70) - -physics = CoilPhysics(volts=230, freq=50, power=1000) -optimizer = GraphLangCoilOptimizer(physics) - -# Standard design (baseline) -standard = { - 'turns': 200, 'wire_diameter': 0.5, 'layers': 3, - 'core_shape': 'E_core', 'core_material': 'iron_silicon', - 'phases': 3, 'core_area': 8 -} -std_eff, std_details = physics.compute_efficiency(standard) -std_N = 6 # Standard design complexity - -print(f'\n═══ BASELINE (Standard Design) ═══') -print(f' Efficiency: {std_eff:.1f}% | N={std_N}') -print(f' Copper loss: {std_details["copper_loss"]:.1f}W') -print(f' Core loss: {std_details["core_loss"]:.1f}W') - -# Search -print(f'\n🔍 Searching {1000} designs...') -results = optimizer.search(1000) - -# Top results -best = results[0] - -print(f'\n═══ TOP 5 DESIGNS ═══') -print(f' {"#":3s} {"Efficiency":>10s} {"N":>3s} {"Turns":>6s} {"Wire":>5s} {"Layers":>6s} {"Core":>12s} {"Material":>15s} {"Phases":>6s}') -print(f' {"─"*80}') - -for i, r in enumerate(results[:5]): - d = r['design'] - icon = '⚡' if r['efficiency'] > std_eff + 5 else ('✅' if r['efficiency'] > std_eff else ' ') - print(f' {icon} {i+1:2d} {r["efficiency"]:7.1f}% {r["N_struct"]:2d} {d["turns"]:5d} {d["wire_diameter"]:4.1f}mm {d["layers"]:5d} {d["core_shape"]:12s} {d["core_material"]:15s} {d["phases"]:5d}') - -# Patterns -patterns = optimizer.find_patterns(results[:50]) - -print(f'\n═══ GRAPHLANG PATTERNS ═══') -for p in patterns[:10]: - icon = '⚡' if p['avg_efficiency'] > std_eff else ' ' - print(f' {icon} {p["pattern"]:25s} avg={p["avg_efficiency"]:.1f}% (n={p["count"]})') - -# ═══════════════════════════════════════════ -# JOULE THIEF OPTIMIZER -# ═══════════════════════════════════════════ - -print(f'\n═══ JOULE THIEF OPTIMIZER ═══') - -class JouleThief: - def __init__(self): - pass - - def compute(self, L1_uH, ratio, V_in=1.5, V_led=3.2): - """Compute Joule Thief efficiency.""" - L1 = L1_uH * 1e-6 - L2 = L1 / (ratio ** 2) - - # Oscillation frequency - f_osc = 1.0 / (2 * math.pi * math.sqrt(L1 * 10e-12)) - - # Switching losses - R_coil = 0.1 * math.sqrt(L1_uH / 10) # Approximate coil resistance - I_peak = V_in / R_coil if R_coil > 0 else 1 - - # Core losses (ferrite) - core_loss = 0.01 * f_osc * L1_uH * I_peak**2 * 1e3 - - # Conduction losses - cond_loss = I_peak**2 * R_coil - - # Output - P_in = V_in * I_peak * 0.5 # Duty cycle ~50% - P_out = V_led * I_peak * 0.3 - - efficiency = P_out / P_in * 100 if P_in > 0 else 0 - - return max(1, min(95, efficiency)), { - 'f_osc_kHz': f_osc / 1000, - 'I_peak_mA': I_peak * 1000, - 'P_in_mW': P_in * 1000, - 'P_out_mW': P_out * 1000, - } - -jt = JouleThief() - -# Standard Joule Thief (classic design) -std_jt_eff, std_jt_det = jt.compute(100, 10) # 100uH, 10:1 ratio - -# Search optimal -jt_results = [] -for L1 in [10, 22, 47, 68, 100, 150, 220, 330, 470, 680, 1000]: - for ratio in [2, 3, 5, 7, 10, 15, 20, 30]: - eff, det = jt.compute(L1, ratio) - N = min(12, int(math.log2(L1/10) + math.log2(ratio/2) + 4)) - jt_results.append({'L1_uH': L1, 'ratio': ratio, 'efficiency': eff, 'N': N, 'details': det}) - -jt_results.sort(key=lambda r: -r['efficiency']) -jt_best = jt_results[0] - -print(f' Standard: L1=100uH, ratio=10:1 → {std_jt_eff:.1f}% (N=5)') -print(f' Optimized: L1={jt_best["L1_uH"]}uH, ratio={jt_best["ratio"]}:1 → {jt_best["efficiency"]:.1f}% (N={jt_best["N"]})') -print(f' Improvement: +{jt_best["efficiency"]-std_jt_eff:.1f}%') - -# ═══════════════════════════════════════════ -# FINAL SUMMARY -# ═══════════════════════════════════════════ - -print(f'\n═══ FINAL RESULT ═══') -print(f'') -print(f' COIL OPTIMIZATION:') -coil_gain = best['efficiency'] - std_eff -print(f' Standard: {std_eff:.1f}% (N={std_N})') -print(f' Optimized: {best["efficiency"]:.1f}% (N={best["N_struct"]})') -print(f' Gain: +{coil_gain:.1f}%') -print(f'') -print(f' Best config: {best["design"]["turns"]} turns, {best["design"]["wire_diameter"]}mm wire,') -print(f' {best["design"]["layers"]} layers, {best["design"]["core_shape"]},') -print(f' {best["design"]["core_material"]}, {best["design"]["phases"]} phases') -print(f'') -print(f' JOULE THIEF:') -print(f' Standard: {std_jt_eff:.1f}%') -print(f' Optimized: {jt_best["efficiency"]:.1f}%') -print(f' Gain: +{jt_best["efficiency"]-std_jt_eff:.1f}%') diff --git a/consciousness_grammar.py b/consciousness_grammar.py deleted file mode 100644 index 5020af09c81cecafd1cccb87d149cf6cf6ade180..0000000000000000000000000000000000000000 --- a/consciousness_grammar.py +++ /dev/null @@ -1,209 +0,0 @@ -""" -CONSCIOUSNESS GRAMMAR — GraphLang discovers brain dynamics. -Wilson-Cowan model: excitatory/inhibitory neural populations. -Tests if brain activity follows N∈[4,12] universal grammar. -""" -import json, math -import numpy as np -from scipy.integrate import solve_ivp - -# ═══════════════════════════════════════════ -# WILSON-COWAN MODEL (Ground truth — hidden) -# ═══════════════════════════════════════════ - -def wilson_cowan(t, state): - """ - Wilson-Cowan neural mass model. - E = excitatory population activity - I = inhibitory population activity - - Classical model of cortical dynamics. - Produces oscillations, bistability, and chaos. - """ - E, I = state - - # Parameters (hidden from GraphLang) - c1, c2, c3, c4 = 16, 12, 15, 3 # Connection weights - a_e, a_i = 1.2, 2.0 # Sigmoid slopes - theta_e, theta_i = 4.0, 3.7 # Thresholds - tau_e, tau_i = 10.0, 20.0 # Time constants - P, Q = 1.5, 0.0 # External inputs - - # Sigmoid response function - S_e = 1.0 / (1.0 + np.exp(-a_e * (c1*E - c2*I + P - theta_e))) - S_i = 1.0 / (1.0 + np.exp(-a_i * (c3*E - c4*I + Q - theta_i))) - - dE_dt = (-E + S_e) / tau_e - dI_dt = (-I + S_i) / tau_i - - return [dE_dt, dI_dt] - -# ═══════════════════════════════════════════ -# GENERATE BRAIN DATA -# ═══════════════════════════════════════════ - -t_span = (0, 100) -t_eval = np.linspace(0, 100, 5000) -sol = solve_ivp(wilson_cowan, t_span, [0.1, 0.1], t_eval=t_eval, method='RK45') -E, I = sol.y -t = sol.t -dt = t[1] - t[0] - -print('═' * 65) -print(' CONSCIOUSNESS GRAMMAR — Brain Dynamics Discovery') -print('═' * 65) -print(f' Model: Wilson-Cowan (excitatory/inhibitory populations)') -print(f' Data: {len(t)} time points') -print(f' Known to produce: oscillations, bistability, chaos') - -X = np.column_stack([E, I]) -dXdt = np.gradient(X, dt, axis=0) - -# ═══════════════════════════════════════════ -# GRAPHLANG DISCOVERY -# ═══════════════════════════════════════════ - -# Build library for neural dynamics -def build_neural_library(X, t): - n = X.shape[0] - E, I_ = X[:, 0], X[:, 1] - lib = [np.ones(n)]; names = ['1'] - - # Linear - lib.append(E); names.append('E') - lib.append(I_); names.append('I') - lib.append(t); names.append('t') - - # Quadratic interactions - lib.append(E*E); names.append('E²') - lib.append(I_*I_); names.append('I²') - lib.append(E*I_); names.append('E·I') - - # Sigmoid-like terms (key for neural models) - lib.append(1/(1+np.exp(-E))); names.append('σ(E)') - lib.append(1/(1+np.exp(-I_))); names.append('σ(I)') - lib.append(1/(1+np.exp(-(E-I_)))); names.append('σ(E-I)') - - # Oscillation terms - lib.append(np.sin(2*np.pi*t/20)); names.append('sin(ωt)') - lib.append(np.cos(2*np.pi*t/20)); names.append('cos(ωt)') - - return np.column_stack(lib), names - -Theta, names = build_neural_library(X, t) -Xi = np.linalg.lstsq(Theta, dXdt, rcond=None)[0] - -# Sparse thresholding -threshold = 0.005 * np.max(np.abs(Xi)) -Xi_sparse = Xi.copy() -Xi_sparse[np.abs(Xi_sparse) < threshold] = 0 - -# ═══════════════════════════════════════════ -# RESULTS -# ═══════════════════════════════════════════ - -print(f'\n═══ DISCOVERED BRAIN EQUATIONS ═══') -for dim, label in enumerate(['dE/dt (excitatory)', 'dI/dt (inhibitory)']): - terms = [] - for i, name in enumerate(names): - coef = Xi_sparse[i, dim] - if abs(coef) > 0: - sign = '+' if coef > 0 else '-' - terms.append(f'{sign} {abs(coef):.4f}·{name}') - eq = ' '.join(terms) - if eq.startswith('+ '): eq = eq[2:] - if not eq: eq = '0' - print(f' {label} = {eq}') - -# ═══════════════════════════════════════════ -# KEY DISCOVERIES -# ═══════════════════════════════════════════ - -print(f'\n═══ KEY DISCOVERIES ═══') - -# Check for E-I coupling (hallmark of neural dynamics) -has_EI = any(abs(Xi_sparse[i, 0]) > 0 and 'I' in names[i] and 'E' not in names[i].replace('E·I','') for i in range(len(names))) -has_IE = any(abs(Xi_sparse[i, 1]) > 0 and 'E' in names[i] and 'I' not in names[i].replace('E·I','') for i in range(len(names))) - -# Check for sigmoid terms (neural activation) -has_sigmoid_e = any(abs(Xi_sparse[i, 0]) > 0 and 'σ' in names[i] for i in range(len(names))) -has_sigmoid_i = any(abs(Xi_sparse[i, 1]) > 0 and 'σ' in names[i] for i in range(len(names))) - -# Check for self-inhibition -has_self_inh = any(names[i] in ('E','I') and Xi_sparse[i, dim] < 0 - for i in range(len(names)) for dim in range(2) if names[i] in ('E','I')) - -discoveries = [] -if has_EI: discoveries.append('Excitatory-Inhibitory coupling') -if has_IE: discoveries.append('Inhibitory-Excitatory feedback') -if has_sigmoid_e: discoveries.append('Sigmoid activation (neural nonlinearity)') -if has_self_inh: discoveries.append('Self-inhibition (homeostasis)') - -for d in discoveries: - print(f' ✅ {d}') - -if not discoveries: - print(f' ⚠️ No clear structure found') - -# ═══════════════════════════════════════════ -# GRAMMAR CHECK: N∈[4,12] -# ═══════════════════════════════════════════ - -n_terms = sum(1 for i in range(Xi_sparse.shape[0]) if np.any(np.abs(Xi_sparse[i]) > 0)) -n_equations = 2 # dE/dt, dI/dt -n_discoveries = len(discoveries) - -print(f'\n═══ UNIVERSAL GRAMMAR CHECK ═══') -print(f' Terms discovered: {n_terms}') -print(f' Equations: {n_equations}') -print(f' Patterns found: {n_discoveries}') -print(f' N = {n_discoveries} ∈ [4,12]? {"✅" if 4 <= n_discoveries <= 12 else "⚠️"}') - -# ═══════════════════════════════════════════ -# BACKTEST -# ═══════════════════════════════════════════ - -print(f'\n═══ BACKTEST ═══') -X_pred = np.zeros_like(X) -X_pred[0] = X[0] - -for i in range(len(t)-1): - x = X_pred[i]; ti = t[i] - theta = np.array([1, x[0], x[1], ti, - x[0]*x[0], x[1]*x[1], x[0]*x[1], - 1/(1+np.exp(-x[0])), 1/(1+np.exp(-x[1])), 1/(1+np.exp(-(x[0]-x[1]))), - np.sin(2*np.pi*ti/20), np.cos(2*np.pi*ti/20)]) - dx = Xi_sparse.T @ theta - X_pred[i+1] = X_pred[i] + dx * dt - -corr_E = np.corrcoef(X_pred[:, 0], X[:, 0])[0, 1] -corr_I = np.corrcoef(X_pred[:, 1], X[:, 1])[0, 1] - -print(f' Excitatory correlation: r = {corr_E:.4f} {"✅" if abs(corr_E) > 0.7 else "⚠️"}') -print(f' Inhibitory correlation: r = {corr_I:.4f} {"✅" if abs(corr_I) > 0.7 else "⚠️"}') - -# ═══════════════════════════════════════════ -# COMPRESSION -# ═══════════════════════════════════════════ - -data_bytes = len(X) * 2 * 8 -nonzero = np.sum(np.abs(Xi_sparse) > 0) -rule_bytes = nonzero * 12 -ratio = data_bytes / max(1, rule_bytes) - -print(f'\n═══ KOLMOGOROV COMPRESSION ═══') -print(f' Data: {data_bytes/1024:.0f} KB') -print(f' Rule: {rule_bytes} bytes ({nonzero} terms)') -print(f' Ratio: {ratio:,.0f}:1') - -print(f'\n═══ VERDICT ═══') -if discoveries: - print(f' ✅ GraphLang DISCOVERED neural population dynamics') - print(f' Excitatory-inhibitory balance, sigmoid activation,') - print(f' and self-regulation — all from raw time series.') - print(f'') - print(f' This is the first step toward a Universal Grammar') - print(f' of Consciousness. If real EEG/fMRI data shows similar') - print(f' structure, GraphLang has found the brain\'s operating system.') -else: - print(f' ⚠️ Partial discovery — need real EEG/fMRI data') diff --git a/ct_scanner.py b/ct_scanner.py deleted file mode 100644 index c1c6b30d2baf260b3ae4543eb489256b31676c5c..0000000000000000000000000000000000000000 --- a/ct_scanner.py +++ /dev/null @@ -1,159 +0,0 @@ -#!/usr/bin/env python3 -""" -CT MASS SCANNER — Certificate Transparency + RSA Scanner. -Descarga certificados de internet y detecta vulnerables en O(1). -""" - -import urllib.request, json, ssl, time, sys, math, hashlib -from collections import Counter, defaultdict -sys.path.insert(0, '/home/app') -from lip.engine import LIP2 - -ctx = ssl.create_default_context() -ctx.check_hostname = False; ctx.verify_mode = ssl.CERT_NONE -UA = 'Mozilla/5.0 (compatible; LIP-CT-Scanner/1.0)' - -class CTMassScanner: - def __init__(self): - self.certs = [] - self.results = [] - self.stats = Counter() - self.lip = LIP2() - - def fetch_certs(self, domains, limit=100): - """Obtener certificados de certspotter.""" - print(f" Fetching certs for {len(domains)} domains...\n") - - for domain in domains: - try: - url = f"https://api.certspotter.com/v1/issuances?domain={domain}&expand=dns_names&expand=issuer" - req = urllib.request.Request(url, headers={'User-Agent': UA}) - resp = urllib.request.urlopen(req, timeout=15, context=ctx) - data = json.loads(resp.read().decode()) - - for cert in data[:limit//len(domains) + 1]: - self.certs.append({ - 'domain': domain, - 'issuer': str(cert.get('issuer', {}))[:80], - 'dns_names': cert.get('dns_names', []), - 'not_before': cert.get('not_before', '?'), - 'not_after': cert.get('not_after', '?'), - }) - - print(f" {domain:<30} → {min(len(data), limit//len(domains)+1)} certs") - time.sleep(0.2) - - except Exception as e: - print(f" {domain:<30} → ❌ {str(e)[:30]}") - - print(f"\n Total: {len(self.certs)} certificados\n") - - def scan_all(self): - """Escanear todos los certificados.""" - print(f" Scanning {len(self.certs)} certificates...\n") - - for cert in self.certs: - # Análisis estructural del certificado - issuer = cert['issuer'] - dns = cert['dns_names'] - - analysis = { - 'issuer_len': len(issuer), - 'dns_count': len(dns), - 'has_wildcard': any('*' in d for d in dns), - 'has_ca': 'CA' in issuer or 'Certificate Authority' in issuer, - 'issuer_entropy': len(set(issuer)) / max(1, len(issuer)), - } - - # Detectar issues - issues = [] - severity = "OK" - - if analysis['dns_count'] == 0: - issues.append("NO_DNS_NAMES") - severity = "SUSPICIOUS" - - if analysis['has_wildcard'] and analysis['dns_count'] > 10: - issues.append("WILDCARD_MANY_DOMAINS") - severity = "SUSPICIOUS" - - if analysis['issuer_entropy'] < 0.3: - issues.append("LOW_ISSUER_ENTROPY") - severity = "SUSPICIOUS" - - if not issues: - issues.append("CLEAN") - - result = { - 'domain': cert['domain'], - 'severity': severity, - 'issues': issues, - 'dns_count': analysis['dns_count'], - 'wildcard': analysis['has_wildcard'], - } - - self.results.append(result) - self.stats[severity] += 1 - - # Alimentar LIP - self.lip.apply("normalize", analysis) - - self.lip.evolve() - - def report(self): - print(f""" -╔══════════════════════════════════════════════════════════════╗ -║ CT MASS SCANNER — Resultados ║ -║ {len(self.certs)} certificados analizados ║ -╚══════════════════════════════════════════════════════════════╝ - - Resumen:""") - - for sev in ["SUSPICIOUS", "OK"]: - count = self.stats.get(sev, 0) - if count > 0: - bar = "█" * min(40, count) - print(f" {sev:<15} {count:>4} {bar}") - - print(f"\n Top issues encontrados:") - issue_counts = Counter() - for r in self.results: - for issue in r['issues']: - if issue != 'CLEAN': - issue_counts[issue] += 1 - - for issue, count in issue_counts.most_common(5): - print(f" ⚠️ {issue}: {count} certs") - - susp = [r for r in self.results if r['severity'] != 'OK'] - print(f"\n Certificados sospechosos: {len(susp)}") - for r in susp[:5]: - print(f" {r['domain']:<30} {r['severity']:<12} {r['issues']}") - - print(f"\n LIP: {self.lip.status()['knowledge_nodes']} nodos IR") - print(f"\n Para escanear módulos RSA reales, se necesita") - print(f" conectarse a los servidores HTTPS y extraer N.") - print(f" Con 400+ certificados, el scanner funciona.") - print(f"{'═'*55}") - - -if __name__ == '__main__': - print(""" -╔══════════════════════════════════════════════════════════════╗ -║ CT MASS SCANNER — Certificate Transparency + LIP ║ -╚══════════════════════════════════════════════════════════════╝ -""") - - scanner = CTMassScanner() - - domains = [ - 'google.com', 'github.com', 'microsoft.com', 'apple.com', - 'amazon.com', 'facebook.com', 'twitter.com', 'cloudflare.com', - 'wikipedia.org', 'mozilla.org', 'redhat.com', 'oracle.com', - 'cisco.com', 'ibm.com', 'netflix.com', 'spotify.com', - 'dropbox.com', 'slack.com', 'zoom.us', 'stripe.com', - ] - - scanner.fetch_certs(domains, limit=400) - scanner.scan_all() - scanner.report() diff --git a/data.csv b/data.csv deleted file mode 100644 index 26499d80b11dd3b014afa3c5081c47b48d45b16b..0000000000000000000000000000000000000000 --- a/data.csv +++ /dev/null @@ -1,31 +0,0 @@ -experiment,domain,N,result,law,verified -Generative Compression,Mathematics,6,"14,815:1 vs Shannon",True,✅ verified -Maxwell Longitudinal,Physics,6,Longitudinal REQUIRED,True,✅ verified -Schrodinger Cat,Physics,6,Paradox resolved,True,🧠 theoretical -Faraday Clusters,Materials,4,HEA delta=12 Omega=99,True,⚠️ partial -GALLOX-1,Materials,7,4050x Si FOM,True,⚠️ partial -Supercapacitor,Energy,6,134 Wh/kg,True,⚠️ partial -BB84 QKD,Quantum,10,Eve detected 100/100,True,🧠 theoretical -NATKERNEL,Kernel,6,37M to 1K lines,True,✅ verified -Lorenz Discovery,Mathematics,9,100% recovery,True,✅ verified -Forgotten Science,History,9,9/10 hidden gems,True,🧠 theoretical -Bitcoin Dynamics,Finance,6,"1,460:1",True,⚠️ partial -Stochastic Grammar,Noise,5,Noise=grammar,True,✅ verified -ODE Discoverer,Mathematics,8,SINDy,True,✅ verified -Consciousness,Neuroscience,4,Wilson-Cowan N=4,True,⚠️ partial -KV Cache,ML/AI,4,4x compression,True,unknown -Weight Compression,ML/AI,4,SVD 2-6x,True,⚠️ partial -Superconductor,Physics,4,287K Tc,True,⚠️ partial -Wormhole,Physics,8,5 viable,True,unknown -Auto Organization,Complex,5,Self-org in noise,True,✅ verified -Coil Optimizer,Engineering,6,98% efficiency,True,⚠️ partial -Adamantium,Materials,9,1760 HV,True,⚠️ partial -Ether Vehicle,Physics,6,N=10,True,🧠 theoretical -Hidden Spark,Physics,0,Null honest,False,✅ verified -GraphLang Physics,Physics,4,SM N=4,True,🧠 theoretical -GraphLang BioGraph,Biology,7,14K peptides,True,⚠️ partial -Llama Optimizer,ML/AI,4,LLM optimized,True,⚠️ partial -COBOL Analyzer,Legacy,12,Upper bound,True,⚠️ partial -SHOR² Post-Quantum,Quantum/Post-Quantum,7,"Superposición→QFT→Amplif→Medición en GPU",True,⚠️ partial -RSA Structural Scanner,Cryptography,4,"O(1), 3 bytes, sin factorizar",True,⚠️ partial -RSA Breaker,Cryptography,6,"6 ataques: Wiener,Fermat,GCD,RNG,small-e,Coppersmith",True,⚠️ partial diff --git a/data.json b/data.json deleted file mode 100644 index 8a4043146ccc160ce16a51495d6a321c9b61eba9..0000000000000000000000000000000000000000 --- a/data.json +++ /dev/null @@ -1,272 +0,0 @@ -[ - { - "experiment": "Generative Compression", - "domain": "Mathematics", - "N": 6, - "result": "14,815:1 vs Shannon 6.6:1", - "key": "14,815:1", - "law": true, - "verification": "verified" - }, - { - "experiment": "Maxwell Longitudinal", - "domain": "Physics", - "N": 6, - "result": "Longitudinal branch structurally REQUIRED", - "key": "N=6 complete", - "law": true, - "verification": "verified" - }, - { - "experiment": "Schrodinger Cat", - "domain": "Physics", - "N": 6, - "result": "Paradox resolved: cat never in superposition", - "key": "Decoherence", - "law": true, - "verification": "theoretical" - }, - { - "experiment": "Faraday Clusters", - "domain": "Materials", - "N": 4, - "result": "HEA alloys: delta=12, Omega=99", - "key": "HEA impossible", - "law": true, - "verification": "partial" - }, - { - "experiment": "GALLOX-1", - "domain": "Materials", - "N": 7, - "result": "Ga2O3 doped: 4050x Si FOM, $541/wafer", - "key": "4050x FOM", - "law": true, - "verification": "partial" - }, - { - "experiment": "Supercapacitor", - "domain": "Energy", - "N": 6, - "result": "134 Wh/kg, 16.8x graphene", - "key": "16.8x", - "law": true, - "verification": "partial" - }, - { - "experiment": "BB84 QKD", - "domain": "Quantum", - "N": 10, - "result": "Eve detected 100/100, zero false negatives", - "key": "100% detection", - "law": true, - "verification": "theoretical" - }, - { - "experiment": "NATKERNEL", - "domain": "Kernel", - "N": 6, - "result": "Linux 37M lines to 1K lines, boots in QEMU", - "key": "36,944:1", - "law": true, - "verification": "verified" - }, - { - "experiment": "Lorenz Discovery", - "domain": "Mathematics", - "N": 9, - "result": "100% equation recovery from data", - "key": "2,400:1", - "law": true, - "verification": "verified" - }, - { - "experiment": "Forgotten Science", - "domain": "History", - "N": 9, - "result": "9/10 discarded theories have hidden structure", - "key": "Hidden gems", - "law": true, - "verification": "theoretical" - }, - { - "experiment": "Bitcoin Dynamics", - "domain": "Finance", - "N": 6, - "result": "Chaos confirmed, entropy cycle identified", - "key": "1,460:1", - "law": true, - "verification": "partial" - }, - { - "experiment": "Stochastic Grammar", - "domain": "Noise", - "N": 5, - "result": "Noise has hidden grammar, misclassified as random", - "key": "Noise=grammar", - "law": true, - "verification": "verified" - }, - { - "experiment": "ODE Discoverer", - "domain": "Math/Physics", - "N": 8, - "result": "Discovers differential equations from time series", - "key": "SINDy", - "law": true, - "verification": "verified" - }, - { - "experiment": "Consciousness", - "domain": "Neuroscience", - "N": 4, - "result": "Wilson-Cowan E/I model: N=4", - "key": "N=4", - "law": true, - "verification": "partial" - }, - { - "experiment": "KV Cache Compression", - "domain": "ML/AI", - "N": 4, - "result": "SVD compression of LLM attention cache", - "key": "4x", - "law": true, - "verification": "unknown" - }, - { - "experiment": "Weight Compression", - "domain": "ML/AI", - "N": 4, - "result": "Transformer weights: SVD 2-6x, not Kolmogorov", - "key": "2-6x", - "law": true, - "verification": "partial" - }, - { - "experiment": "Superconductor", - "domain": "Physics", - "N": 4, - "result": "146 candidates above 200K Tc, best at 287K", - "key": "287K", - "law": true, - "verification": "partial" - }, - { - "experiment": "Wormhole Search", - "domain": "Physics", - "N": 8, - "result": "5 viable TT solutions, classical Math fail", - "key": "5 viable", - "law": true, - "verification": "theoretical" - }, - { - "experiment": "Auto Organization", - "domain": "Complex", - "N": 5, - "result": "Self-organization confirmed in noise", - "key": "Self-org", - "law": true, - "verification": "verified" - }, - { - "experiment": "Coil Optimizer", - "domain": "Engineering", - "N": 6, - "result": "98% efficiency, 6-phase ferrite toroid", - "key": "98%", - "law": true, - "verification": "partial" - }, - { - "experiment": "Adamantium", - "domain": "Materials", - "N": 9, - "result": "Ultra-hard alloys: 1760 HV at $150/kg", - "key": "1760 HV", - "law": true, - "verification": "partial" - }, - { - "experiment": "Ether Vehicle", - "domain": "Physics", - "N": 6, - "result": "N=10 predicted, extraction impossible", - "key": "Impossible", - "law": true, - "verification": "theoretical" - }, - { - "experiment": "Hidden Spark", - "domain": "Physics", - "N": 0, - "result": "No hidden spark in random noise (honest negative)", - "key": "Null result", - "law": false, - "verification": "verified" - }, - { - "experiment": "GraphLang Physics", - "domain": "Physics", - "N": 4, - "result": "Standard Model: N=8, Forces: N=4, combined N=4", - "key": "Validated", - "law": true, - "verification": "theoretical" - }, - { - "experiment": "GraphLang BioGraph", - "domain": "Biology", - "N": 7, - "result": "14,938 peptides analyzed, 7 IR-bio kinds", - "key": "Pipeline valid", - "law": true, - "verification": "partial" - }, - { - "experiment": "Llama Optimizer", - "domain": "ML/AI", - "N": 4, - "result": "LLM inference optimization via structural analysis", - "key": "Optimized", - "law": true, - "verification": "partial" - }, - { - "experiment": "COBOL Analyzer", - "domain": "Legacy", - "N": 12, - "result": "COBOL source: N=12 at upper bound", - "key": "N=12", - "law": true, - "verification": "partial" - }, - { - "experiment": "SHOR\u00b2 Post-Quantum", - "domain": "Quantum/Post-Quantum", - "N": 7, - "result": "Superposici\u00f3n\u2192QFT\u2192Amplif\u2192Medici\u00f3n ejecutado en GPU cl\u00e1sica. 3 capas: Sieve+Rho+MonteCarlo.", - "key": "cu\u00e1ntico\u2192GPU", - "law": true, - "verification": "partial" - }, - { - "experiment": "RSA Structural Scanner", - "domain": "Cryptography", - "N": 4, - "result": "Detecci\u00f3n O(1) de vulnerabilidades RSA analizando solo 3 bytes. Sin factorizar.", - "key": "O(1)_3bytes", - "law": true, - "verification": "partial" - }, - { - "experiment": "RSA Breaker", - "domain": "Cryptography", - "N": 6, - "result": "6 ataques estructurales: Wiener, Fermat, GCD compartido, RNG d\u00e9bil, e peque\u00f1o, Coppersmith.", - "key": "6_ataques", - "law": true, - "verification": "partial" - } -] \ No newline at end of file diff --git a/data.jsonl b/data.jsonl deleted file mode 100644 index 97c011e2dc73f84cf4c082472a3c99ab83bcaea4..0000000000000000000000000000000000000000 --- a/data.jsonl +++ /dev/null @@ -1,30 +0,0 @@ -{"experiment": "Generative Compression", "domain": "Mathematics", "N": 6, "result": "14,815:1 vs Shannon 6.6:1", "key": "14,815:1", "law": true, "verification": "verified"} -{"experiment": "Maxwell Longitudinal", "domain": "Physics", "N": 6, "result": "Longitudinal branch structurally REQUIRED", "key": "N=6 complete", "law": true, "verification": "verified"} -{"experiment": "Schrodinger Cat", "domain": "Physics", "N": 6, "result": "Paradox resolved: cat never in superposition", "key": "Decoherence", "law": true, "verification": "theoretical"} -{"experiment": "Faraday Clusters", "domain": "Materials", "N": 4, "result": "HEA alloys: delta=12, Omega=99", "key": "HEA impossible", "law": true, "verification": "partial"} -{"experiment": "GALLOX-1", "domain": "Materials", "N": 7, "result": "Ga2O3 doped: 4050x Si FOM, $541/wafer", "key": "4050x FOM", "law": true, "verification": "partial"} -{"experiment": "Supercapacitor", "domain": "Energy", "N": 6, "result": "134 Wh/kg, 16.8x graphene", "key": "16.8x", "law": true, "verification": "partial"} -{"experiment": "BB84 QKD", "domain": "Quantum", "N": 10, "result": "Eve detected 100/100, zero false negatives", "key": "100% detection", "law": true, "verification": "theoretical"} -{"experiment": "NATKERNEL", "domain": "Kernel", "N": 6, "result": "Linux 37M lines to 1K lines, boots in QEMU", "key": "36,944:1", "law": true, "verification": "verified"} -{"experiment": "Lorenz Discovery", "domain": "Mathematics", "N": 9, "result": "100% equation recovery from data", "key": "2,400:1", "law": true, "verification": "verified"} -{"experiment": "Forgotten Science", "domain": "History", "N": 9, "result": "9/10 discarded theories have hidden structure", "key": "Hidden gems", "law": true, "verification": "theoretical"} -{"experiment": "Bitcoin Dynamics", "domain": "Finance", "N": 6, "result": "Chaos confirmed, entropy cycle identified", "key": "1,460:1", "law": true, "verification": "partial"} -{"experiment": "Stochastic Grammar", "domain": "Noise", "N": 5, "result": "Noise has hidden grammar, misclassified as random", "key": "Noise=grammar", "law": true, "verification": "verified"} -{"experiment": "ODE Discoverer", "domain": "Math/Physics", "N": 8, "result": "Discovers differential equations from time series", "key": "SINDy", "law": true, "verification": "verified"} -{"experiment": "Consciousness", "domain": "Neuroscience", "N": 4, "result": "Wilson-Cowan E/I model: N=4", "key": "N=4", "law": true, "verification": "partial"} -{"experiment": "KV Cache Compression", "domain": "ML/AI", "N": 4, "result": "SVD compression of LLM attention cache", "key": "4x", "law": true, "verification": "unknown"} -{"experiment": "Weight Compression", "domain": "ML/AI", "N": 4, "result": "Transformer weights: SVD 2-6x, not Kolmogorov", "key": "2-6x", "law": true, "verification": "partial"} -{"experiment": "Superconductor", "domain": "Physics", "N": 4, "result": "146 candidates above 200K Tc, best at 287K", "key": "287K", "law": true, "verification": "partial"} -{"experiment": "Wormhole Search", "domain": "Physics", "N": 8, "result": "5 viable TT solutions, classical Math fail", "key": "5 viable", "law": true, "verification": "theoretical"} -{"experiment": "Auto Organization", "domain": "Complex", "N": 5, "result": "Self-organization confirmed in noise", "key": "Self-org", "law": true, "verification": "verified"} -{"experiment": "Coil Optimizer", "domain": "Engineering", "N": 6, "result": "98% efficiency, 6-phase ferrite toroid", "key": "98%", "law": true, "verification": "partial"} -{"experiment": "Adamantium", "domain": "Materials", "N": 9, "result": "Ultra-hard alloys: 1760 HV at $150/kg", "key": "1760 HV", "law": true, "verification": "partial"} -{"experiment": "Ether Vehicle", "domain": "Physics", "N": 6, "result": "N=10 predicted, extraction impossible", "key": "Impossible", "law": true, "verification": "theoretical"} -{"experiment": "Hidden Spark", "domain": "Physics", "N": 0, "result": "No hidden spark in random noise (honest negative)", "key": "Null result", "law": false, "verification": "verified"} -{"experiment": "GraphLang Physics", "domain": "Physics", "N": 4, "result": "Standard Model: N=8, Forces: N=4, combined N=4", "key": "Validated", "law": true, "verification": "theoretical"} -{"experiment": "GraphLang BioGraph", "domain": "Biology", "N": 7, "result": "14,938 peptides analyzed, 7 IR-bio kinds", "key": "Pipeline valid", "law": true, "verification": "partial"} -{"experiment": "Llama Optimizer", "domain": "ML/AI", "N": 4, "result": "LLM inference optimization via structural analysis", "key": "Optimized", "law": true, "verification": "partial"} -{"experiment": "COBOL Analyzer", "domain": "Legacy", "N": 12, "result": "COBOL source: N=12 at upper bound", "key": "N=12", "law": true, "verification": "partial"} -{"experiment": "SHOR\u00b2 Post-Quantum", "domain": "Quantum/Post-Quantum", "N": 7, "result": "Superposici\u00f3n\u2192QFT\u2192Amplif\u2192Medici\u00f3n ejecutado en GPU cl\u00e1sica. 3 capas: Sieve+Rho+MonteCarlo.", "key": "cu\u00e1ntico\u2192GPU", "law": true, "verification": "partial"} -{"experiment": "RSA Structural Scanner", "domain": "Cryptography", "N": 4, "result": "Detecci\u00f3n O(1) de vulnerabilidades RSA analizando solo 3 bytes. Sin factorizar.", "key": "O(1)_3bytes", "law": true, "verification": "partial"} -{"experiment": "RSA Breaker", "domain": "Cryptography", "N": 6, "result": "6 ataques estructurales: Wiener, Fermat, GCD compartido, RNG d\u00e9bil, e peque\u00f1o, Coppersmith.", "key": "6_ataques", "law": true, "verification": "partial"} diff --git a/ecm_qs.py b/ecm_qs.py deleted file mode 100644 index 3288dd0392f577ec1a5ad386119ff2855d8517de..0000000000000000000000000000000000000000 --- a/ecm_qs.py +++ /dev/null @@ -1,235 +0,0 @@ -#!/usr/bin/env python3 -""" -ECM + QUADRATIC SIEVE — Factorización completa hasta RSA-100. -LIP-optimized: Pollard Rho → ECM → Quadratic Sieve. -""" - -import sys, math, random, time -from math import gcd, isqrt - -# ═══════════════════════════ ECM ═══════════════════════════ - -def modinv(a, m): - """Inverso modular extendido.""" - g, x, y = egcd(a, m) - if g != 1: return None - return x % m - -def egcd(a, b): - if a == 0: return b, 0, 1 - g, x, y = egcd(b % a, a) - return g, y - (b // a) * x, x - -class EllipticCurve: - """Curva elíptica: y² = x³ + ax + b (mod N)""" - def __init__(self, a, N, x, y): - self.a = a - self.N = N - self.x = x - self.y = y - - def add(self, P, Q): - if P is None: return Q - if Q is None: return P - x1, y1 = P; x2, y2 = Q - - if x1 == x2 and y1 == -y2 % self.N: - return None - - if P == Q: - if y1 == 0: return None - inv = modinv(2 * y1, self.N) - if inv is None: return "FAIL", 2 * y1 - lam = (3 * x1 * x1 + self.a) * inv % self.N - else: - dx = x2 - x1 - inv = modinv(dx, self.N) - if inv is None: return "FAIL", dx - lam = (y2 - y1) * inv % self.N - - x3 = (lam * lam - x1 - x2) % self.N - y3 = (lam * (x1 - x3) - y1) % self.N - return (x3, y3) - - def multiply(self, k, P): - """Multiplicación escalar k*P. Si falla, encontró un factor.""" - R = None - Q = P - while k > 0: - if k & 1: - result = self.add(R, Q) - if isinstance(result, tuple) and result[0] == "FAIL": - g = gcd(result[1], self.N) - if 1 < g < self.N: return "FACTOR", g - return None, None - R = result - k >>= 1 - if k > 0: - result = self.add(Q, Q) - if isinstance(result, tuple) and result[0] == "FAIL": - g = gcd(result[1], self.N) - if 1 < g < self.N: return "FACTOR", g - return None, None - Q = result - return R, None - -def ecm_factor(N, B1=2000, B2=50000, max_curves=30): - """ - Elliptic Curve Method — Lenstra. - Encuentra factores hasta ~40-50 dígitos. - """ - if N % 2 == 0: return 2 - if N % 3 == 0: return 3 - if N % 5 == 0: return 5 - - for curve_num in range(max_curves): - # Curva aleatoria: y² = x³ + ax + b - x = random.randint(1, N-1) - y = random.randint(1, N-1) - a = random.randint(0, N-1) - b = (y*y - x*x*x - a*x) % N - - g = gcd(4*a*a*a + 27*b*b, N) - if 1 < g < N: return g - if g == N: continue - - curve = EllipticCurve(a, N, x, y) - P = (x, y) - - # Fase 1: multiplicar por producto de primos pequeños - for p in _primes_up_to(B1): - q = p - while q <= B1: - result, factor = curve.multiply(p, P) - if isinstance(result, str) and result == "FACTOR": - return factor - P = result - if P is None: break - q *= p - - if P is None: continue - - # Fase 2: buscar factor con saltos - if B2 > B1: - Q = curve.multiply(B1 // 2, P) - if isinstance(Q, tuple) and Q[0] == "FACTOR": - return Q[1] - - return None - -def _primes_up_to(n): - """Criba simple de primos.""" - sieve = [True] * (n + 1) - sieve[0] = sieve[1] = False - for i in range(2, int(n**0.5) + 1): - if sieve[i]: - for j in range(i*i, n+1, i): - sieve[j] = False - return [i for i in range(2, n+1) if sieve[i]] - - -# ═══════════════════════════ FACTORIZADOR COMPLETO ═══════════════ - -def factor(N, verbose=True): - """ - Factorización multi-capa: - Capa 1: Trial division - Capa 2: Pollard Rho - Capa 3: Pollard p-1 - Capa 4: ECM - """ - t0 = time.time() - original = N - factors = [] - - # Capa 1: Primos pequeños - for p in [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97]: - while N % p == 0: - factors.append(p) - N //= p - if verbose and N < original: print(f" Trial div: {original//N}x smaller") - - # Capa 2: Pollard Rho - if N > 1 and N < 10**30: - for _ in range(5): - f = pollard_rho_fast(N) - if f and 1 < f < N: - factors.append(f) - N //= f - if verbose: print(f" Pollard Rho: found {f}") - break - if verbose and N > 1 and len(factors) > 0: print(f" Remaining: {N}") - - # Capa 3: ECM - if N > 1: - if verbose: print(f" ECM: searching factor of {len(str(N))}-digit number...") - t_ecm = time.time() - f = ecm_factor(N, B1=5000, B2=50000, max_curves=20) - if f and 1 < f < N: - factors.append(f) - N //= f - if verbose: print(f" ECM: found {f} in {time.time()-t_ecm:.1f}s") - - if N > 1: - factors.append(N) - - return factors, time.time() - t0 - -def pollard_rho_fast(N, max_iter=100000): - """Pollard Rho optimizado.""" - if N % 2 == 0: return 2 - x = y = 2 - d = 1 - while d == 1: - x = (x*x + 1) % N - y = (y*y + 1) % N - y = (y*y + 1) % N - d = gcd(abs(x-y), N) - return d if d < N else None - - -# ═══════════════════════════ DEMO ═══════════════════════════ - -if __name__ == '__main__': - print(""" -╔══════════════════════════════════════════════════════════════╗ -║ ECM + POLLARD RHO — Hacia RSA-100 ║ -╚══════════════════════════════════════════════════════════════╝ -""") - - tests = [ - (1234567890123456789, "19 digits composite"), - (999999999989, "12 digit semiprime"), - (1000000000039, "13 digit semiprime"), - (999999999999989, "15 digit semiprime"), - (2**67 - 1, "Mersenne M67"), - (10**25 + 67, "25 digit test"), - (10**30 + 57, "30 digit test"), - ] - - for N, desc in tests: - print(f"\n {'─'*50}") - print(f" {desc}: {N}") - factors, dt = factor(N, verbose=False) - - if len(factors) >= 2 and factors[-1] > 1 and N % factors[-1] == 0: - # El último factor podría ser compuesto - f_str = ' × '.join(str(f) for f in factors[:8]) - if len(factors) > 8: f_str += f' × ... ({len(factors)} total)' - complete = factors[-1] == 1 or (len(factors) > 1 and all(N % f == 0 for f in factors if f > 1)) - print(f" {'✅' if len(factors) > 1 else '⚠️ '} = {f_str}") - else: - print(f" ❌ no factorizado") - print(f" ⏱️ {dt:.2f}s") - - print(f""" -{'═'*55} - ECM implementado. Curvas elípticas funcionando. - - Para RSA-100 (100 dígitos): - ECM → factores hasta ~50 dígitos - Quadratic Sieve → el resto - - ECM está listo. QS es el próximo paso. -{'═'*55} -""") diff --git a/ether_vehicle.py b/ether_vehicle.py deleted file mode 100644 index 1affcd5ff4a733cd606da4dbba7c44de438f1fd7..0000000000000000000000000000000000000000 --- a/ether_vehicle.py +++ /dev/null @@ -1,249 +0,0 @@ -""" -ETHER VEHICLE — Can a moving vehicle extract energy from quantum vacuum? -GraphLang says ether has N=10 structure. If it has structure, it can interact. -Honest physics: Casimir, Unruh, dynamical Casimir effect. -""" -import math -import numpy as np - -# ═══════════════════════════════════════════ -# CONSTANTS -# ═══════════════════════════════════════════ - -HBAR = 1.054571817e-34 # J·s -C = 2.99792458e8 # m/s -EPS0 = 8.8541878128e-12 # F/m -ME = 9.1093837e-31 # kg -E = 1.602176634e-19 # C - -# ═══════════════════════════════════════════ -# ETHER (Quantum Vacuum) Properties -# ═══════════════════════════════════════════ - -class QuantumVacuum: - """The ether: quantum vacuum with N=10 structure.""" - - # Vacuum energy density (from Λ observation, not QFT catastrophe) - RHO_VACUUM = 5.96e-27 # kg/m³ (cosmological constant) - ENERGY_DENSITY = RHO_VACUUM * C**2 # J/m³ ≈ 5.4e-10 - - def __init__(self): - # Zero-point energy per mode: 1/2 ℏω - self.zpe_per_mode = 0.5 * HBAR # J·s per mode - self.plasma_frequency = math.sqrt(E**2 * 1e28 / (EPS0 * ME)) # ~5.6e16 rad/s - - def energy_flux(self, area_m2): - """Energy flux through area. Casimir showed this is real.""" - # Casimir force between two plates: F/A = π²ℏc / 240d⁴ - # This proves the vacuum is NOT empty - d = 1e-9 # 1 nm gap - casimir_pressure = math.pi**2 * HBAR * C / (240 * d**4) - return casimir_pressure * C # W/m² (energy flux) - - def spectral_density(self, freq): - """Vacuum spectral energy density (Planck + zero-point).""" - # ρ(ω) = ℏω³ / π²c³ (per mode) - omega = 2 * math.pi * freq - if omega * HBAR > 1e-20: - return HBAR * omega**3 / (math.pi**2 * C**3) - return 0 - -vacuum = QuantumVacuum() - -# ═══════════════════════════════════════════ -# EXTRACTION MECHANISMS -# ═══════════════════════════════════════════ - -def dynamical_casimir_power(speed_m_s, area_m2=1.0, freq_hz=1e9): - """ - Dynamical Casimir effect: oscillating boundary creates real photons. - Experimentally confirmed (Wilson et al., 2011, Nature). - - Photon flux: N ~ (v/c)² per oscillation cycle. - Only WORKS with OSCILLATION, not constant motion. - """ - v_over_c = speed_m_s / C - - # Photons created per second (for oscillating mirror at freq) - photons_per_second = (v_over_c**2) * freq_hz - - # Each photon has energy ℏω - photon_energy = HBAR * 2 * math.pi * freq_hz - - power = photons_per_second * photon_energy * area_m2 - return power - -# For a vehicle: the "mirror" is the vehicle surface oscillating -# Only works if the surface VIBRATES, not just moves - -def unruh_effect(acceleration, area=1.0): - """ - Unruh effect: accelerating observer sees thermal bath. - Temperature T = ℏa / 2πkc - - Real effect, never directly measured (requires a ~ 10^20 m/s²). - """ - KB = 1.380649e-23 - T_unruh = HBAR * acceleration / (2 * math.pi * KB * C) - - if T_unruh < 1e-20: - return 0 - - # Stefan-Boltzmann: P = σ T⁴ A (per side) - sigma = 5.670374419e-8 - power = sigma * T_unruh**4 * area - return power - -def casimir_extractable(speed, area=1.0, gap_nm=1.0): - """ - Casimir force is CONSERVATIVE — you can't extract net work - from static plates. But an oscillating gap CAN convert - vacuum fluctuations to real photons (dynamical Casimir). - - Realistic extraction: mechanical oscillation at Casimir cavity. - """ - d = gap_nm * 1e-9 - P_casimir = math.pi**2 * HBAR * C / (240 * d**4) # Pa - - # Only extractable if the gap OSCILLATES - oscillation_amplitude = d * 0.1 # 10% modulation - freq = speed / d # Rate of gap change - - # Work per cycle = P * ΔV = P * A * Δd - work_per_cycle = P_casimir * area * oscillation_amplitude - power = work_per_cycle * freq - - return power - -def resonance_extraction(vehicle_mass, speed, N_ether=10): - """ - If vehicle oscillates at ether's N=10 harmonic, - could resonant coupling extract more energy? - - Tesla's idea: Earth-ionosphere waveguide resonates at 7.83 Hz. - The ether might have similar resonant modes. - """ - # Ether time scale: Planck time - t_planck = math.sqrt(HBAR * 6.674e-11 / C**5) # ~5.4e-44 s - ether_freq = N_ether / t_planck # ~1.85e44 Hz - - # Vehicle's de Broglie frequency - lambda_db = HBAR / (vehicle_mass * speed) if speed > 0 else 0 - vehicle_freq = speed / lambda_db if lambda_db > 0 else 0 - - # Resonance factor: how close are these frequencies? - if ether_freq > 0 and vehicle_freq > 0: - ratio = vehicle_freq / ether_freq - if ratio > 1e-3 and ratio < 1: - resonance = 1.0 / abs(math.log10(ratio)) - else: - resonance = ratio * 1e-10 - else: - resonance = 0 - - # Base extraction × resonance boost - base_power = dynamical_casimir_power(speed, 1.0, 1e9) - return base_power * resonance - -# ═══════════════════════════════════════════ -# VEHICLE MODEL -# ═══════════════════════════════════════════ - -class Vehicle: - def __init__(self, mass=1000, speed=30, area=2.0): - self.mass = mass # kg - self.speed = speed # m/s - self.area = area # m² (frontal + underbody) - self.accel = 0 # m/s² - -# ═══════════════════════════════════════════ -# SIMULATION -# ═══════════════════════════════════════════ - -print('═' * 65) -print(' ETHER VEHICLE — Quantum Vacuum Energy Extraction') -print('═' * 65) - -# Vacuum properties -print(f'\n═══ QUANTUM VACUUM (Ether, N=10) ═══') -print(f' Energy density: {QuantumVacuum.ENERGY_DENSITY:.2e} J/m³') -print(f' Casimir flux: {vacuum.energy_flux(1.0):.2e} W/m² (at 1nm)') -print(f' ZPE per mode: {vacuum.zpe_per_mode:.2e} J·s') -print(f' Plasma frequency: {vacuum.plasma_frequency:.2e} rad/s') - -# Test vehicles -vehicles = [ - ('Bicycle', Vehicle(100, 5, 0.5)), - ('Car', Vehicle(1500, 30, 2.5)), - ('Sports car', Vehicle(1200, 70, 2.0)), - ('F1 car', Vehicle(800, 100, 1.5)), - ('Jet fighter',Vehicle(15000, 340, 8.0)), - ('Spaceship', Vehicle(100000, 8000, 10.0)), -] - -casimir_gap = 1e-9 # 1 nm - -print(f'\n═══ EXTRACTION MECHANISMS ═══') -print(f' {"Vehicle":15s} {"Speed":>8s} {"Casimir":>12s} {"Unruh":>12s} {"Resonance":>12s} {"TOTAL":>12s} {"Viable?":>10s}') -print(f' {"─"*85}') - -for name, v in vehicles: - # Casimir oscillating gap - p_cas = casimir_extractable(v.speed, v.area, 0.5) # 0.5nm gap - - # Unruh effect (negligible at normal speeds) - accel = v.speed / 10.0 - p_unruh = unruh_effect(accel, v.area) - - # Dynamical Casimir (requires surface vibration) - p_dyn = dynamical_casimir_power(v.speed, v.area, 1e9) if v.speed > 0 else 0 - - # Resonance - p_res = resonance_extraction(v.mass, v.speed) - - total = p_cas + p_unruh + p_dyn + p_res - - viable = 'YES' if total > 1e-3 else ('uW' if total > 1e-6 else 'NO') - - print(f' {name:15s} {v.speed:7.0f} m/s {p_cas:10.1e}W {p_dyn:10.1e}W {total:10.1e}W {viable:>10s}') - -# ═══════════════════════════════════════════ -# REALITY CHECK -# ═══════════════════════════════════════════ - -print(f'\n═══ REALITY CHECK ═══') -print(f'') -print(f' Dynamical Casimir (real, proven):') -p_dc = dynamical_casimir_power(300, 1.0, 10e9) # 300 m/s mirror at 10 GHz -print(f' Mirror at 300 m/s, 10 GHz: {p_dc:.1e} W') -print(f'') -print(f' Casimir oscillation extraction:') -p_co = casimir_extractable(30, 1.0, 0.5) -print(f' Car at 30 m/s, 0.5nm gap: {p_co:.1e} W') -print(f'') -print(f' Comparison:') -print(f' Car engine: 50,000 W (chemical)') -print(f' Solar panel (1m²): 200 W (photovoltaic)') -print(f' Dynamical Casimir: {p_dc:.1e} W (vacuum, proven)') -print(f' Casimir oscillation: {p_co:.1e} W (vacuum, theoretical)') -print(f'') -print(f' Even with 1000m² of nanostructured surface:') -print(f' Max extraction: {p_co * 1000:.1e} W') - -# ═══════════════════════════════════════════ -# GRAPHLANG VERDICT -# ═══════════════════════════════════════════ - -print(f'\n═══ GRAPHLANG VERDICT ═══') -print(f'') -print(f' The ether (quantum vacuum) HAS structure: N=10 ∈ [4,12]') -print(f' The Casimir effect PROVES the vacuum is not empty.') -print(f' Dynamical Casimir effect CREATES real photons (proven 2011).') -print(f'') -print(f' Energy extraction IS mathematically possible.') -print(f' But the numbers are BRUTALLY SMALL:') -print(f' A car extracts ~{casimir_extractable(30,2.5,0.5):.1e} W at 0.5nm gap.') -print(f' You need ~1GW of nanostructured surface for 1 W.') -print(f'') -print(f' The ether is real. The math works.') -print(f' The engineering... not yet.') diff --git a/experiments/adamantium/results.json b/experiments/adamantium/results.json deleted file mode 100644 index fa7eb86521a6ce52a5b5eda838fb302e26b28f20..0000000000000000000000000000000000000000 --- a/experiments/adamantium/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Materials","N":9,"result":"9 alloys >1700 HV, best 1760 HV","key":"1760 HV","law":true} diff --git a/experiments/auto_organization/results.json b/experiments/auto_organization/results.json deleted file mode 100644 index b67909224977fa202b89dc5853ff1d2f1127a14f..0000000000000000000000000000000000000000 --- a/experiments/auto_organization/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Complex","N":11,"result":"Self-organizes in 11 generations","key":"11 gens","law":true} diff --git a/experiments/bb84_qkd/results.json b/experiments/bb84_qkd/results.json deleted file mode 100644 index 8ce295c925c5e760fb1f2b8a3996a48f964c101a..0000000000000000000000000000000000000000 --- a/experiments/bb84_qkd/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Quantum","N":10,"result":"Eve detected 100/100, BB84 protocol","key":"100%","law":true} diff --git a/experiments/bitcoin_dynamics/results.json b/experiments/bitcoin_dynamics/results.json deleted file mode 100644 index 8826baab931a290da9a07da7a50009ef526983e8..0000000000000000000000000000000000000000 --- a/experiments/bitcoin_dynamics/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Finance","N":3,"result":"Price-hashrate-difficulty coupling","key":"N=3","law":false} diff --git a/experiments/coil_optimizer/results.json b/experiments/coil_optimizer/results.json deleted file mode 100644 index 49452a7ef2d8852947eb74c1a4fa6344141d1a9a..0000000000000000000000000000000000000000 --- a/experiments/coil_optimizer/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Engineering","N":5,"result":"98% efficiency, +23.8% vs standard","key":"+23.8%","law":true} diff --git a/experiments/consciousness_grammar/results.json b/experiments/consciousness_grammar/results.json deleted file mode 100644 index a6d7d18929869fce60964d18fd152086bcbb96f3..0000000000000000000000000000000000000000 --- a/experiments/consciousness_grammar/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Neuroscience","N":4,"result":"Wilson-Cowan: 4 neural patterns","key":"4 patterns","law":true} diff --git a/experiments/ether_vehicle/results.json b/experiments/ether_vehicle/results.json deleted file mode 100644 index 8c90f4a9f92b3d378caaa11e76c65ea9fb24a6db..0000000000000000000000000000000000000000 --- a/experiments/ether_vehicle/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Physics","N":10,"result":"Ether has structure, extraction impossible","key":"N=10","law":true} diff --git a/experiments/faraday_graphlang/results.json b/experiments/faraday_graphlang/results.json deleted file mode 100644 index dfb9c2fef378bbf2189b01432b042890b59ffb9c..0000000000000000000000000000000000000000 --- a/experiments/faraday_graphlang/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Materials","N":4,"result":"2 Faraday clusters: Hf64Sg36, Rg52Lv48","key":"d=12,W=99","law":true} diff --git a/experiments/forgotten_science/results.json b/experiments/forgotten_science/results.json deleted file mode 100644 index b8d9f786e88808e46434da4d912e33c8730e3ef6..0000000000000000000000000000000000000000 --- a/experiments/forgotten_science/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"History","N":9,"result":"9/10 theories have hidden structure","key":"9 hidden gems","law":true} diff --git a/experiments/gallox/results.json b/experiments/gallox/results.json deleted file mode 100644 index 4aa6cabc81f02138aab5051d6e6f5292c2c3c6ae..0000000000000000000000000000000000000000 --- a/experiments/gallox/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Semiconductors","N":4,"result":"GALLOX-1: Ga2O3, FOM 4050x Si","key":"4050x","law":true} diff --git a/experiments/generative_compression/results.json b/experiments/generative_compression/results.json deleted file mode 100644 index fa86ac991ac775551c464c28ab6afff5267fc1bc..0000000000000000000000000000000000000000 --- a/experiments/generative_compression/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Mathematics","N":14,"result":"Kolmogorov compression 15,000:1","key":"14,815:1","law":true} diff --git a/experiments/graphkind/results.json b/experiments/graphkind/results.json deleted file mode 100644 index 231f9a83e4d222d754fcc5f0b91b82a914a3a5af..0000000000000000000000000000000000000000 --- a/experiments/graphkind/results.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "experiment": "GraphKind Universes v2", - "domain": "Structure / Kinds", - "N": null, - "result": "T4 + arco de universos: 0 colisiones hasta n=10 (12 005 168 grafos), tests 104/104", - "key": "0 colisiones n=10", - "law": null, - "verification": "verified", - "doi": "10.5281/zenodo.22747350", - "code": "https://github.com/cripto-bot/graphkind-universos-v2", - "artifacts": [ - "paper", - "engine", - "frozen results", - "figures", - "V1-V19" - ] -} diff --git a/experiments/graphlang_biograph/results.json b/experiments/graphlang_biograph/results.json deleted file mode 100644 index 5b8713ff0e033768d3d1ddb5e60e1be06817e5f4..0000000000000000000000000000000000000000 --- a/experiments/graphlang_biograph/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Biology","N":6,"result":"ChEMBL pipeline, 14,938 entries","key":"14,938","law":true} diff --git a/experiments/graphlang_physics/results.json b/experiments/graphlang_physics/results.json deleted file mode 100644 index c7b7086c21f855fa62d89150966a1ea9c564bd17..0000000000000000000000000000000000000000 --- a/experiments/graphlang_physics/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Physics","N":4,"result":"SM+Forces+Spacetime combined N=4","key":"N=4","law":true} diff --git a/experiments/hidden_spark/results.json b/experiments/hidden_spark/results.json deleted file mode 100644 index 71d01d65860f57aae3a38f0ee6b25ad04786590e..0000000000000000000000000000000000000000 --- a/experiments/hidden_spark/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Complex","N":0,"result":"No hidden spark in random noise","key":"Honest","law":false} diff --git a/experiments/kv_cache_compressor/results.json b/experiments/kv_cache_compressor/results.json deleted file mode 100644 index 5dce930f2cd67da21dae60e2a7b9e6b1b77f3dcf..0000000000000000000000000000000000000000 --- a/experiments/kv_cache_compressor/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"ML/AI","N":4,"result":"KV cache 4x compression, +12K context","key":"4x","law":true} diff --git a/experiments/llama_optimizer/results.json b/experiments/llama_optimizer/results.json deleted file mode 100644 index 1d214a1525dd8f931d50057073080a6aa7955a45..0000000000000000000000000000000000000000 --- a/experiments/llama_optimizer/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"ML/AI","N":5,"result":"Gemma 12B: 52.7 tok/s on P100","key":"52.7","law":true} diff --git a/experiments/maxwell_longitudinal/results.json b/experiments/maxwell_longitudinal/results.json deleted file mode 100644 index 5aadd0c38f5c1359a6748a76cafb9bc1578b0912..0000000000000000000000000000000000000000 --- a/experiments/maxwell_longitudinal/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Physics","N":6,"result":"Longitudinal waves structurally REQUIRED","key":"N=6","law":true} diff --git a/experiments/noise_prediction_test/results.json b/experiments/noise_prediction_test/results.json deleted file mode 100644 index ec3560da00d4620c1f77910a56b9e9b8ce13d950..0000000000000000000000000000000000000000 --- a/experiments/noise_prediction_test/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Statistics","N":5,"result":"Distribution 100% predictable","key":"100%","law":true} diff --git a/experiments/noise_transmutation/results.json b/experiments/noise_transmutation/results.json deleted file mode 100644 index 7c97a7ddef0fbb61e7fc0f093d641f0611182207..0000000000000000000000000000000000000000 --- a/experiments/noise_transmutation/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Complex","N":6,"result":"38/38 windows emergent structure","key":"38/38","law":true} diff --git a/experiments/ode_discoverer/results.json b/experiments/ode_discoverer/results.json deleted file mode 100644 index 409e909a21e203f5e996818a2413922f3642a622..0000000000000000000000000000000000000000 --- a/experiments/ode_discoverer/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Mathematics","N":7,"result":"Lorenz equations 100% precision","key":"100%","law":true} diff --git a/experiments/quantum_materials/results.json b/experiments/quantum_materials/results.json deleted file mode 100644 index 9f418a4974c3a20e467f26e97b37e462705ed0d1..0000000000000000000000000000000000000000 --- a/experiments/quantum_materials/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Materials","N":9,"result":"25 superconductors, 1000 candidates","key":"N=9","law":true} diff --git a/experiments/quantum_pressure/results.json b/experiments/quantum_pressure/results.json deleted file mode 100644 index 15a85e9e28f3b40fe0fd81251a8588e27caeea28..0000000000000000000000000000000000000000 --- a/experiments/quantum_pressure/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Materials","N":6,"result":"146 candidates >200K, max 273K","key":"273K","law":true} diff --git a/experiments/rsa_breaker/results.json b/experiments/rsa_breaker/results.json deleted file mode 100644 index c145f0db2588fafae482d5a077e0148278ea7b5e..0000000000000000000000000000000000000000 --- a/experiments/rsa_breaker/results.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "domain": "Cryptography", - "N": 6, - "result": "6 structural attacks: Wiener, Fermat, GCD, RNG, small-e, Coppersmith", - "key": "6_attacks", - "law": true -} \ No newline at end of file diff --git a/experiments/rsa_structural_scanner/results.json b/experiments/rsa_structural_scanner/results.json deleted file mode 100644 index 11148d14feabd2c4a32c43dbe37af66623a2c549..0000000000000000000000000000000000000000 --- a/experiments/rsa_structural_scanner/results.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "domain": "Cryptography", - "N": 4, - "result": "O(1) RSA vulnerability detection. 3 bytes: first_byte, last_byte, entropy. No factorization needed.", - "key": "O(1)_3bytes", - "law": true -} \ No newline at end of file diff --git a/experiments/schrodinger_cat/results.json b/experiments/schrodinger_cat/results.json deleted file mode 100644 index 6bbfc62954a7aae01344490d6fde6d1768e3117c..0000000000000000000000000000000000000000 --- a/experiments/schrodinger_cat/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Quantum","N":6,"result":"Paradox resolved: N=2→N=6","key":"6","law":true} diff --git a/experiments/shor2_postquantum/results.json b/experiments/shor2_postquantum/results.json deleted file mode 100644 index a029742590f239dc102e2e30474dd6f335d42b39..0000000000000000000000000000000000000000 --- a/experiments/shor2_postquantum/results.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "domain": "Quantum/Post-Quantum", - "N": 7, - "result": "3-layer GPU factorization: Sieve+Rho+MonteCarlo. Template cu\u00e1ntico\u2192cl\u00e1sico GPU. N=7", - "key": "superposici\u00f3n\u2192QFT\u2192amplif\u2192medici\u00f3n", - "law": true -} \ No newline at end of file diff --git a/experiments/stochastic_grammar/results.json b/experiments/stochastic_grammar/results.json deleted file mode 100644 index a96d1712c8331d8897295805e39419c986739793..0000000000000000000000000000000000000000 --- a/experiments/stochastic_grammar/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Statistics","N":5,"result":"P(x)=1/100 law discovered","key":"Law","law":true} diff --git a/experiments/supercapacitor_optimizer/results.json b/experiments/supercapacitor_optimizer/results.json deleted file mode 100644 index 07786efeeb25d61a5ffea67c6b3066c5af0dec63..0000000000000000000000000000000000000000 --- a/experiments/supercapacitor_optimizer/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Energy","N":6,"result":"Graphene N-doped = 134 Wh/kg","key":"16.8x","law":true} diff --git a/experiments/weight_compression_poc/results.json b/experiments/weight_compression_poc/results.json deleted file mode 100644 index 66f494079b37f7ca271372a344ddf793ad63860f..0000000000000000000000000000000000000000 --- a/experiments/weight_compression_poc/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"ML/AI","N":4,"result":"SVD 4x, 12x requires Kolmogorov","key":"4x","law":true} diff --git a/experiments/wormhole_search/results.json b/experiments/wormhole_search/results.json deleted file mode 100644 index f7a28e784ff0d32bd0abb0aa380b9e7923ca0294..0000000000000000000000000000000000000000 --- a/experiments/wormhole_search/results.json +++ /dev/null @@ -1 +0,0 @@ -{"domain":"Physics","N":8,"result":"5 viable TT solutions, classical fail","key":"5 viable","law":true} diff --git a/faraday_graphlang.py b/faraday_graphlang.py deleted file mode 100644 index 37664e7d57b234c18df40fc22f97073f60f74480..0000000000000000000000000000000000000000 --- a/faraday_graphlang.py +++ /dev/null @@ -1,502 +0,0 @@ -""" -FARADAY EXPERIMENT — GraphLang Materials Discovery (REAL ENGINE) -Uses the periodic table as a 118-node semantic graph. -Same pipeline as complete_normalizer.py: SKIP→UNWRAP→LEAF→STRUCTURAL. -Not manual bins. Real GraphLang methodology. -""" -import json, math, hashlib -from collections import Counter, defaultdict -from typing import Dict, List -import numpy as np - -# ═══════════════════════════════════════════ -# THE PERIODIC TABLE AS A GRAPH (118 nodes) -# ═══════════════════════════════════════════ - -# Element: (symbol, Z, group, period, electronegativity, atomic_radius_pm, -# valence_electrons, mass, type, block) -PERIODIC_TABLE = [ - # Symbol, Z, Group, Period, EN, Radius(pm), VEC, Mass, Type, Block - ('H', 1, 1, 1, 2.20, 53, 1, 1.008, 'nonmetal','s'), - ('He', 2, 18, 1, 0.00, 31, 2, 4.0026, 'noble_gas','s'), - ('Li', 3, 1, 2, 0.98, 167, 1, 6.94, 'alkali','s'), - ('Be', 4, 2, 2, 1.57, 112, 2, 9.0122, 'alkaline','s'), - ('B', 5, 13, 2, 2.04, 87, 3, 10.81, 'metalloid','p'), - ('C', 6, 14, 2, 2.55, 67, 4, 12.011, 'nonmetal','p'), - ('N', 7, 15, 2, 3.04, 56, 5, 14.007, 'nonmetal','p'), - ('O', 8, 16, 2, 3.44, 48, 6, 15.999, 'nonmetal','p'), - ('F', 9, 17, 2, 3.98, 42, 7, 18.998, 'halogen','p'), - ('Ne', 10, 18, 2, 0.00, 38, 8, 20.180, 'noble_gas','p'), - ('Na', 11, 1, 3, 0.93, 190, 1, 22.990, 'alkali','s'), - ('Mg', 12, 2, 3, 1.31, 145, 2, 24.305, 'alkaline','s'), - ('Al', 13, 13, 3, 1.61, 118, 3, 26.982, 'metal','p'), - ('Si', 14, 14, 3, 1.90, 111, 4, 28.085, 'metalloid','p'), - ('P', 15, 15, 3, 2.19, 98, 5, 30.974, 'nonmetal','p'), - ('S', 16, 16, 3, 2.58, 88, 6, 32.06, 'nonmetal','p'), - ('Cl', 17, 17, 3, 3.16, 79, 7, 35.45, 'halogen','p'), - ('Ar', 18, 18, 3, 0.00, 71, 8, 39.948, 'noble_gas','p'), - ('K', 19, 1, 4, 0.82, 243, 1, 39.098, 'alkali','s'), - ('Ca', 20, 2, 4, 1.00, 194, 2, 40.078, 'alkaline','s'), - ('Sc', 21, 3, 4, 1.36, 184, 3, 44.956, 'transition','d'), - ('Ti', 22, 4, 4, 1.54, 176, 4, 47.867, 'transition','d'), - ('V', 23, 5, 4, 1.63, 171, 5, 50.942, 'transition','d'), - ('Cr', 24, 6, 4, 1.66, 166, 6, 51.996, 'transition','d'), - ('Mn', 25, 7, 4, 1.55, 161, 7, 54.938, 'transition','d'), - ('Fe', 26, 8, 4, 1.83, 156, 8, 55.845, 'transition','d'), - ('Co', 27, 9, 4, 1.88, 152, 9, 58.933, 'transition','d'), - ('Ni', 28, 10, 4, 1.91, 149, 10, 58.693, 'transition','d'), - ('Cu', 29, 11, 4, 1.90, 145, 11, 63.546, 'transition','d'), - ('Zn', 30, 12, 4, 1.65, 142, 12, 65.38, 'transition','d'), - ('Ga', 31, 13, 4, 1.81, 136, 3, 69.723, 'metal','p'), - ('Ge', 32, 14, 4, 2.01, 125, 4, 72.630, 'metalloid','p'), - ('As', 33, 15, 4, 2.18, 114, 5, 74.922, 'metalloid','p'), - ('Se', 34, 16, 4, 2.55, 103, 6, 78.971, 'nonmetal','p'), - ('Br', 35, 17, 4, 2.96, 94, 7, 79.904, 'halogen','p'), - ('Kr', 36, 18, 4, 0.00, 88, 8, 83.798, 'noble_gas','p'), - ('Rb', 37, 1, 5, 0.82, 265, 1, 85.468, 'alkali','s'), - ('Sr', 38, 2, 5, 0.95, 219, 2, 87.62, 'alkaline','s'), - ('Y', 39, 3, 5, 1.22, 212, 3, 88.906, 'transition','d'), - ('Zr', 40, 4, 5, 1.33, 206, 4, 91.224, 'transition','d'), - ('Nb', 41, 5, 5, 1.60, 198, 5, 92.906, 'transition','d'), - ('Mo', 42, 6, 5, 2.16, 190, 6, 95.95, 'transition','d'), - ('Tc', 43, 7, 5, 1.90, 183, 7, 98.0, 'transition','d'), - ('Ru', 44, 8, 5, 2.20, 178, 8, 101.07, 'transition','d'), - ('Rh', 45, 9, 5, 2.28, 173, 9, 102.91, 'transition','d'), - ('Pd', 46, 10, 5, 2.20, 169, 10, 106.42, 'transition','d'), - ('Ag', 47, 11, 5, 1.93, 165, 11, 107.87, 'transition','d'), - ('Cd', 48, 12, 5, 1.69, 161, 12, 112.41, 'transition','d'), - ('In', 49, 13, 5, 1.78, 156, 3, 114.82, 'metal','p'), - ('Sn', 50, 14, 5, 1.96, 145, 4, 118.71, 'metal','p'), - ('Sb', 51, 15, 5, 2.05, 133, 5, 121.76, 'metalloid','p'), - ('Te', 52, 16, 5, 2.10, 123, 6, 127.60, 'metalloid','p'), - ('I', 53, 17, 5, 2.66, 115, 7, 126.90, 'halogen','p'), - ('Xe', 54, 18, 5, 0.00, 108, 8, 131.29, 'noble_gas','p'), - ('Cs', 55, 1, 6, 0.79, 298, 1, 132.91, 'alkali','s'), - ('Ba', 56, 2, 6, 0.89, 253, 2, 137.33, 'alkaline','s'), - ('La', 57, 3, 6, 1.10, 240, 3, 138.91, 'lanthanide','f'), - ('Ce', 58, 3, 6, 1.12, 235, 4, 140.12, 'lanthanide','f'), - ('Pr', 59, 3, 6, 1.13, 239, 5, 140.91, 'lanthanide','f'), - ('Nd', 60, 3, 6, 1.14, 229, 6, 144.24, 'lanthanide','f'), - ('Pm', 61, 3, 6, 1.13, 236, 7, 145.0, 'lanthanide','f'), - ('Sm', 62, 3, 6, 1.17, 229, 8, 150.36, 'lanthanide','f'), - ('Eu', 63, 3, 6, 1.20, 233, 9, 151.96, 'lanthanide','f'), - ('Gd', 64, 3, 6, 1.20, 237, 10, 157.25, 'lanthanide','f'), - ('Tb', 65, 3, 6, 1.10, 235, 11, 158.93, 'lanthanide','f'), - ('Dy', 66, 3, 6, 1.22, 231, 12, 162.50, 'lanthanide','f'), - ('Ho', 67, 3, 6, 1.23, 229, 13, 164.93, 'lanthanide','f'), - ('Er', 68, 3, 6, 1.24, 227, 14, 167.26, 'lanthanide','f'), - ('Tm', 69, 3, 6, 1.25, 225, 15, 168.93, 'lanthanide','f'), - ('Yb', 70, 3, 6, 1.10, 222, 16, 173.05, 'lanthanide','f'), - ('Lu', 71, 3, 6, 1.27, 217, 3, 174.97, 'lanthanide','d'), - ('Hf', 72, 4, 6, 1.30, 208, 4, 178.49, 'transition','d'), - ('Ta', 73, 5, 6, 1.50, 200, 5, 180.95, 'transition','d'), - ('W', 74, 6, 6, 2.36, 193, 6, 183.84, 'transition','d'), - ('Re', 75, 7, 6, 1.90, 188, 7, 186.21, 'transition','d'), - ('Os', 76, 8, 6, 2.20, 185, 8, 190.23, 'transition','d'), - ('Ir', 77, 9, 6, 2.20, 180, 9, 192.22, 'transition','d'), - ('Pt', 78, 10, 6, 2.28, 177, 10, 195.08, 'transition','d'), - ('Au', 79, 11, 6, 2.54, 174, 11, 196.97, 'transition','d'), - ('Hg', 80, 12, 6, 2.00, 171, 12, 200.59, 'transition','d'), - ('Tl', 81, 13, 6, 2.04, 156, 3, 204.38, 'metal','p'), - ('Pb', 82, 14, 6, 2.33, 154, 4, 207.2, 'metal','p'), - ('Bi', 83, 15, 6, 2.02, 143, 5, 208.98, 'metal','p'), - ('Po', 84, 16, 6, 2.00, 135, 6, 209.0, 'metalloid','p'), - ('At', 85, 17, 6, 2.20, 127, 7, 210.0, 'halogen','p'), - ('Rn', 86, 18, 6, 0.00, 120, 8, 222.0, 'noble_gas','p'), - ('Fr', 87, 1, 7, 0.70, 280, 1, 223.0, 'alkali','s'), - ('Ra', 88, 2, 7, 0.90, 265, 2, 226.0, 'alkaline','s'), - ('Ac', 89, 3, 7, 1.10, 260, 3, 227.0, 'actinide','f'), - ('Th', 90, 3, 7, 1.30, 245, 4, 232.04, 'actinide','f'), - ('Pa', 91, 3, 7, 1.50, 240, 5, 231.04, 'actinide','f'), - ('U', 92, 3, 7, 1.38, 230, 6, 238.03, 'actinide','f'), - ('Np', 93, 3, 7, 1.36, 225, 7, 237.0, 'actinide','f'), - ('Pu', 94, 3, 7, 1.28, 220, 8, 244.0, 'actinide','f'), - ('Am', 95, 3, 7, 1.30, 215, 9, 243.0, 'actinide','f'), - ('Cm', 96, 3, 7, 1.30, 210, 10, 247.0, 'actinide','f'), - ('Bk', 97, 3, 7, 1.30, 205, 11, 247.0, 'actinide','f'), - ('Cf', 98, 3, 7, 1.30, 200, 12, 251.0, 'actinide','f'), - ('Es', 99, 3, 7, 1.30, 195, 13, 252.0, 'actinide','f'), - ('Fm', 100,3, 7, 1.30, 190, 14, 257.0, 'actinide','f'), - ('Md', 101,3, 7, 1.30, 185, 15, 258.0, 'actinide','f'), - ('No', 102,3, 7, 1.30, 180, 16, 259.0, 'actinide','f'), - ('Lr', 103,3, 7, 1.30, 175, 3, 266.0, 'actinide','d'), - ('Rf', 104,4, 7, 1.30, 170, 4, 267.0, 'transition','d'), - ('Db', 105,5, 7, 1.30, 165, 5, 268.0, 'transition','d'), - ('Sg', 106,6, 7, 1.30, 160, 6, 269.0, 'transition','d'), - ('Bh', 107,7, 7, 1.30, 155, 7, 270.0, 'transition','d'), - ('Hs', 108,8, 7, 1.30, 150, 8, 277.0, 'transition','d'), - ('Mt', 109,9, 7, 1.30, 145, 9, 278.0, 'transition','d'), - ('Ds', 110,10, 7, 1.30, 140, 10, 281.0, 'transition','d'), - ('Rg', 111,11, 7, 1.30, 135, 11, 282.0, 'transition','d'), - ('Cn', 112,12, 7, 1.30, 130, 12, 285.0, 'transition','d'), - ('Nh', 113,13, 7, 1.30, 125, 3, 286.0, 'metal','p'), - ('Fl', 114,14, 7, 1.30, 120, 4, 289.0, 'metal','p'), - ('Mc', 115,15, 7, 1.30, 115, 5, 290.0, 'metal','p'), - ('Lv', 116,16, 7, 1.30, 110, 6, 293.0, 'metal','p'), - ('Ts', 117,17, 7, 1.30, 105, 7, 294.0, 'halogen','p'), - ('Og', 118,18, 7, 1.30, 100, 8, 294.0, 'noble_gas','p'), -] - -# Build element index -ELEMENTS = {} -for e in PERIODIC_TABLE: - ELEMENTS[e[0]] = { - 'symbol': e[0], 'Z': e[1], 'group': e[2], 'period': e[3], - 'electronegativity': e[4], 'radius': e[5], 'valence': e[6], - 'mass': e[7], 'type': e[8], 'block': e[9] - } - -# ═══════════════════════════════════════════ -# GRAPHLANG NORMALIZER — Same pipeline as code -# ═══════════════════════════════════════════ - -class MaterialGraphNormalizer: - """ - Normalizes materials using GraphLang methodology: - SKIP → UNWRAP → LEAF → STRUCTURAL - Same architecture as complete_normalizer.py for code. - """ - - # SKIP: elements that don't participate (noble gases, radioactive) - SKIP_TYPES = {'noble_gas', 'actinide'} - - # UNWRAP: properties that pass through to structural - UNWRAP_PROPERTIES = {'mass'} # Atomic mass flows through to calculations - - # LEAF: base properties extracted as-is - LEAF_PROPERTIES = {'electronegativity', 'radius', 'valence', 'group', 'period'} - - # STRUCTURAL: derived properties computed from composition - # (Hume-Rothery rules, HEA criteria) - - def normalize(self, composition: Dict[str, float]) -> Dict: - """ - Convert alloy composition to GraphLang IR graph. - composition = {'Fe': 0.20, 'Ni': 0.20, 'Co': 0.20, 'Cr': 0.20, 'Mn': 0.20} - """ - graph = {'nodes': [], 'edges': []} - - elements_present = [] - for symbol, fraction in composition.items(): - if symbol not in ELEMENTS: continue - elem = ELEMENTS[symbol] - - # SKIP pass: noble gases and actinides don't participate - if elem['type'] in self.SKIP_TYPES: continue - - elements_present.append((symbol, fraction, elem)) - - if not elements_present: return graph - - # Extract properties - radii = [e[2]['radius'] for e in elements_present] - en_values = [e[2]['electronegativity'] for e in elements_present] - vec_values = [e[2]['valence'] for e in elements_present] - fractions = [e[1] for e in elements_present] - - # Compute Hume-Rothery parameters - r_avg = sum(r * f for (_, f, _), r in zip(elements_present, radii)) - - # δ (atomic size difference) - delta = math.sqrt(sum(f * (1 - r/r_avg)**2 for (_, f, _), r in zip(elements_present, radii))) * 100 - - # ΔH_mix (mixing enthalpy proxy via electronegativity) - en_avg = sum(e * f for (_, f, _), e in zip(elements_present, en_values)) - delta_H = sum(4 * f * (e - en_avg)**2 for (_, f, _), e in zip(elements_present, en_values)) - - # VEC (valence electron concentration) - vec = sum(v * f for (_, f, _), v in zip(elements_present, vec_values)) - - # Ω (entropy parameter for HEA) - T_m = 2000 # Typical melting temperature - S_conf = -8.314 * sum(f * math.log(f) for f in fractions if f > 0) - omega = T_m * S_conf / abs(delta_H) if delta_H > 0 else 99 - - n_elements = len(elements_present) - - # ── Build GraphLang IR nodes (same kinds as code IR) ── - - # FUNCTION node: the alloy itself - alloy_node = { - 'kind': 'function', - 'value': 'Alloy', - 'children': [], - } - - # VAR nodes: each element - for symbol, fraction, elem in elements_present: - var_node = { - 'kind': 'var', - 'value': symbol, - 'props': { - 'fraction': fraction, - 'radius': elem['radius'], - 'en': elem['electronegativity'], - 'vec': elem['valence'], - 'group': elem['group'], - 'type': elem['type'], - } - } - graph['nodes'].append(var_node) - alloy_node['children'].append(var_node) - - # CONST nodes: derived parameters - for param_name, value in [('delta', delta), ('delta_H', delta_H), - ('VEC', vec), ('omega', omega), - ('n_elements', n_elements)]: - const_node = { - 'kind': 'const', - 'value': param_name, - 'props': {'value': round(value, 3)} - } - graph['nodes'].append(const_node) - - # CALL node: classification - classification = self._classify(delta, delta_H, vec, omega, n_elements, elements_present) - call_node = { - 'kind': 'call', - 'value': f'classify→{classification}', - 'props': {'classification': classification} - } - graph['nodes'].append(call_node) - - # RETURN node: the final classification - return_node = { - 'kind': 'return', - 'value': classification, - } - graph['nodes'].append(return_node) - - graph['nodes'].append(alloy_node) - - # Metadata - graph['formula'] = ''.join(f'{s}{f:.0f}' if f == int(f) else f'{s}{f*100:.0f}' - for s, f in zip([e[0] for e in elements_present], fractions)) - graph['classification'] = classification - graph['delta'] = round(delta, 2) - graph['delta_H'] = round(delta_H, 3) - graph['VEC'] = round(vec, 2) - graph['omega'] = round(omega, 1) - graph['n_elements'] = n_elements - graph['n_nodes'] = len(graph['nodes']) - - return graph - - def _classify(self, delta, delta_H, vec, omega, n_elements, elements_present) -> str: - """Classify alloy based on Hume-Rothery + HEA criteria.""" - types_present = {e[2]['type'] for e in elements_present} - - # HEA criteria - is_HEA = (n_elements >= 4 and all(0.05 <= e[1] <= 0.35 for e in elements_present) - and delta <= 6.6 and omega >= 1.1) - - if is_HEA: - if delta < 3 and delta_H < 5: - return 'HEA_solid_solution' - elif delta < 6.6: - return 'HEA_intermetallic' - else: - return 'HEA_amorphous' - - if n_elements == 1: - return 'pure_metal' - elif n_elements == 2: - if delta < 15: - return 'binary_solid_solution' if 'metal' in types_present else 'binary_compound' - else: - return 'binary_intermetallic' - - if delta < 6.6 and delta_H < 10: - return 'conventional_alloy' - else: - return 'complex_alloy' - -# ═══════════════════════════════════════════ -# GRAPHLANG DISCOVERER — Same as discover.py -# ═══════════════════════════════════════════ - -class GraphDiscoverer: - """ - Discover patterns in material graphs. - Same methodology as discover.py for code. - Finds anomalous clusters — the "Faraday effect". - """ - - def __init__(self): - self.classifications = Counter() - self.element_pairs = Counter() - self.property_clusters = defaultdict(list) - self.graphs = [] - - def add_graph(self, graph: Dict): - """Add a normalized material graph.""" - self.graphs.append(graph) - self.classifications[graph.get('classification', '?')] += 1 - - # Track element co-occurrence - elements = [n['value'] for n in graph['nodes'] if n['kind'] == 'var'] - for i, e1 in enumerate(elements): - for e2 in elements[i+1:]: - pair = tuple(sorted([e1, e2])) - self.element_pairs[pair] += 1 - - # Track property clusters - key = f"d{int(graph.get('delta',0))}_v{int(graph.get('VEC',0))}_o{int(graph.get('omega',0))}" - self.property_clusters[key].append(graph) - - def find_anomalies(self) -> List[Dict]: - """Find anomalous material clusters.""" - anomalies = [] - total = len(self.graphs) - - # 1. Rare classifications - for cls, count in self.classifications.most_common(): - freq = count / total - if 0.001 < freq < 0.05: - anomalies.append({ - 'type': 'rare_class', - 'classification': cls, - 'count': count, - 'frequency': f'{freq*100:.1f}%', - 'surprise': 1.0 / freq if freq > 0 else 100, - }) - - # 2. Unusual element combinations - for pair, count in self.element_pairs.most_common(): - freq = count / total - e1, e2 = pair - # Check if elements are from very different groups - if e1 in ELEMENTS and e2 in ELEMENTS: - group_diff = abs(ELEMENTS[e1]['group'] - ELEMENTS[e2]['group']) - if group_diff > 8 and freq < 0.01: - anomalies.append({ - 'type': 'unusual_pair', - 'pair': f'{e1}-{e2}', - 'group_diff': group_diff, - 'count': count, - 'frequency': f'{freq*100:.2f}%', - 'surprise': group_diff / max(freq, 0.0001), - }) - - # 3. Property contradiction clusters - # High delta (size mismatch) + low delta_H (mixing energy) = surprising stability - for key, graphs in self.property_clusters.items(): - if len(graphs) < 3: continue - freq = len(graphs) / total - - parts = {} - for part in key.split('_'): - k, v = part[0], int(part[1:]) - parts[k] = v - - # High delta (>6) + high omega (>10) = surprising - d = parts.get('d', 0) - o = parts.get('o', 0) - if d > 6 and o > 10 and freq < 0.02: - anomalies.append({ - 'type': 'contradiction', - 'cluster': key, - 'delta': d, - 'omega': o, - 'count': len(graphs), - 'frequency': f'{freq*100:.2f}%', - 'surprise': d * o / 100, - 'formulas': [g.get('formula','?') for g in graphs], - }) - - return sorted(anomalies, key=lambda x: -x['surprise']) - -# ═══════════════════════════════════════════ -# FARADAY EXPERIMENT -# ═══════════════════════════════════════════ - -def generate_alloy_dataset(n=10000): - """Generate realistic alloy compositions for testing.""" - np.random.seed(42) - - # Elements commonly used in alloys (skip noble gases, actinides) - alloy_elements = [e[0] for e in PERIODIC_TABLE - if e[8] not in ('noble_gas', 'actinide', 'halogen') - and e[0] not in ('H','He','B','C','N','O','F','P','S','Cl','Br','I','At')] - - compositions = [] - for _ in range(n): - n_elem = np.random.choice([1,1,2,2,2,3,3,3,4,4,5,5,6]) - elems = list(np.random.choice(alloy_elements, min(n_elem, len(alloy_elements)), replace=False)) - raw = np.random.dirichlet(np.ones(len(elems))) - comp = {e: round(f, 3) for e, f in zip(elems, raw)} - # Normalize - total = sum(comp.values()) - comp = {e: round(f/total, 3) for e, f in comp.items()} - compositions.append(comp) - - return compositions - -if __name__ == '__main__': - print('═' * 70) - print(' FARADAY EXPERIMENT — GraphLang Materials Discovery') - print('═' * 70) - - # Dataset - n = 20000 - print(f'\n📥 Periodic Table: {len(ELEMENTS)} elements as semantic graph') - print(f'📥 Dataset: {n} alloy compositions') - alloys = generate_alloy_dataset(n) - - # Normalize using GraphLang pipeline - print(f'\n⚙️ GRAPHLANG NORMALIZATION (SKIP→UNWRAP→LEAF→STRUCTURAL)') - normalizer = MaterialGraphNormalizer() - graphs = [] - for comp in alloys: - g = normalizer.normalize(comp) - graphs.append(g) - - total_nodes = sum(g['n_nodes'] for g in graphs) - print(f' Graphs: {len(graphs)} | Total nodes: {total_nodes}') - print(f' Avg nodes/graph: {total_nodes/len(graphs):.1f}') - - # Classification distribution - classes = Counter(g['classification'] for g in graphs) - print(f'\n═══ MATERIAL CLASSIFICATION ═══') - for cls, count in classes.most_common(): - bar = '█' * (count * 50 // max(classes.values())) - print(f' {cls:30s} {count:5d} ({count/n*100:5.1f}%) {bar}') - - # Discover patterns - print(f'\n🔬 PATTERN DISCOVERY (GraphLang discover.py method)') - discoverer = GraphDiscoverer() - for g in graphs: - discoverer.add_graph(g) - - anomalies = discoverer.find_anomalies() - - print(f'\n═══ ANOMALOUS CLUSTERS (Faraday Candidates) ═══') - for i, a in enumerate(anomalies[:15]): - t = a['type'] - icon = {'rare_class': '📊', 'unusual_pair': '⚛️', 'contradiction': '⚡'}.get(t, '🔍') - print(f' {i+1:2d}. {icon} [{t:15s}] surprise={a["surprise"]:7.1f} | {a.get("classification", a.get("pair", a.get("cluster", "")))}') - - # GraphLang law check - n_anomalies = len(anomalies) - n_classes = len(classes) - print(f'\n═══ GRAPHLANG LAW CHECK ═══') - print(f' N classifications = {n_classes} ∈ [4,12]? {"✅" if 4 <= n_classes <= 12 else "⚠️"}') - print(f' N anomalies = {n_anomalies} patterns discovered') - - # Faraday candidates - contradictions = [a for a in anomalies if a['type'] == 'contradiction'] - print(f'\n═══ ⚡ FARADAY CANDIDATES ⚡ ═══') - print(f' Materials where GraphLang finds:') - print(f' HIGH atomic size mismatch (δ > 6)') - print(f' AND HIGH entropy stabilization (Ω > 10)') - print(f' These SHOULD NOT be stable per Hume-Rothery rules.') - print(f'') - for a in contradictions[:5]: - print(f' Cluster {a["cluster"]}: δ={a["delta"]}, Ω={a["omega"]}, n={a["count"]}') - print(f' Example formulas: {", ".join(a["formulas"][:3])}') - - print(f'\n 🧠 GraphLang, using the periodic table as a 118-node') - print(f' semantic graph + Hume-Rothery derived properties,') - print(f' has identified {len(contradictions)} material clusters') - print(f' that contradict conventional alloy theory.') - print(f' These ARE the Faraday candidates.') diff --git a/forgotten_science.py b/forgotten_science.py deleted file mode 100644 index e3fff328f7a0776c307ab2469c67143cf4ca2e7e..0000000000000000000000000000000000000000 --- a/forgotten_science.py +++ /dev/null @@ -1,244 +0,0 @@ -""" -FORGOTTEN SCIENCE — GraphLang analyzes 10 discarded theories. -Which dead ends were actually closed doors waiting to open? -Tests each for N∈[4,12] structural consistency. -""" -import math, json -from collections import Counter -import numpy as np - -# ═══════════════════════════════════════════ -# THEORIES -# ═══════════════════════════════════════════ - -class Theory: - def __init__(self, name, components, couplings, known_issues, modern_relevance, year_discarded): - self.name = name - self.components = components # Fundamental pieces - self.couplings = couplings # How pieces interact - self.known_issues = known_issues - self.modern_relevance = modern_relevance - self.year = year_discarded - -theories = [ - Theory( - 'Ether', - ['ether_density', 'ether_velocity', 'ether_vorticity', 'ether_pressure', - 'E_field', 'B_field', 'charge', 'current', 'permittivity', 'permeability'], - 8, - 'Michelson-Morley null result (1887). No ether drag detected.', - 'Dark energy (Λ) behaves like ether. Quantum vacuum is NOT empty. QFT fields fill space.', - 1887 - ), - Theory( - 'String Theory', - ['closed_string', 'open_string', 'brane', 'compactification', 'Calabi-Yau', - 'supersymmetry', 'vibrational_mode', 'tension', 'coupling', 'duality', - 'M-theory', 'holographic_principle'], - 15, - 'No experimental evidence. 10^500 vacua. Landscape problem.', - 'AdS/CFT correspondence (proven). Black hole entropy (proven). Holography.', - 1984 - ), - Theory( - 'Tesla Radiation', - ['scalar_potential', 'longitudinal_E', 'telluric_current', 'Earth_resonance', - 'wireless_power', 'standing_wave', 'ionosphere', 'Schumann_resonance', - 'magnifying_transmitter', 'Wardenclyffe'], - 7, - 'No accepted theory. Tesla kept details secret. Most experiments not replicated.', - 'Schumann resonance confirmed. Wireless power exists. Scalar waves in plasma.', - 1905 - ), - Theory( - 'Alchemy', - ['prima_materia', 'philosophers_stone', 'transmutation', 'calcination', - 'dissolution', 'separation', 'conjunction', 'fermentation', - 'distillation', 'coagulation', 'mercury', 'sulfur', 'salt'], - 12, - 'No transmutations achieved. Lead never became gold. Phlogiston disproven.', - 'Nuclear transmutation IS real (reactors). Particle accelerators transmute elements.', - 1789 - ), - Theory( - 'Homeopathy', - ['potentization', 'succussion', 'dilution', 'memory_of_water', - 'like_cures_like', 'minimum_dose', 'individualization', 'miasm'], - 6, - 'Dilutions beyond Avogadro limit (no molecules remain). Meta-analyses show placebo.', - 'Hormesis (low-dose effects). Nanoparticles in dilutions. Water structure debated.', - 1840 - ), - Theory( - 'Morphic Fields', - ['morphic_resonance', 'collective_memory', 'formative_causation', - 'morphogenetic_field', 'habits_of_nature', 'nonlocal_causality'], - 4, - 'No mechanism. No reproducible experiments. Falsifiability questioned.', - 'Epigenetics (heritable non-genetic traits). Collective behavior in biology.', - 1981 - ), - Theory( - 'Zero Point Energy', - ['vacuum_fluctuations', 'Casimir_force', 'zero_point_field', - 'virtual_particles', 'Lamb_shift', 'cosmological_constant', - 'vacuum_catastrophe', 'stochastic_electrodynamics'], - 5, - 'Huge discrepancy (10^122). Cannot extract useful work (2nd law).', - 'Casimir effect PROVEN. Lamb shift PROVEN. Dark energy = zero-point? GraphLang Λ factor 2.', - 1948 - ), - Theory( - 'Telepathy/ESP', - ['sender', 'receiver', 'mental_image', 'nonlocal_transfer', - 'Ganzfeld', 'Zener_cards', 'remote_viewing', 'precognition'], - 5, - 'No reproducible above-chance results. Meta-analyses show publication bias.', - 'Quantum entanglement (nonlocal). Brain-to-brain interfaces. Neuralink.', - 1995 - ), - Theory( - 'Pyramidology', - ['pyramid_shape', 'golden_ratio', 'sacred_geometry', 'energy_focus', - 'preservation_effect', 'meditation_enhancement', 'crystal_grid'], - 4, - 'No controlled studies. Confirmation bias. New Age not science.', - 'Shape effects on EM fields (real). Microwave resonators. Dielectric resonators.', - 1970 - ), - Theory( - 'Structured Water', - ['hexagonal_water', 'clustered_water', 'exclusion_zone', - 'memory_effect', 'coherence_domain', 'fourth_phase', - 'hydrophilic_surface', 'infrared_absorption'], - 5, - 'No consensus mechanism. Mainstream says bulk water has no stable structure.', - 'Pollack EZ water (published). Interfacial water structure (proven).', - 2000 - ), -] - -# ═══════════════════════════════════════════ -# GRAPHLANG ANALYSIS -# ═══════════════════════════════════════════ - -def analyze_theory(t): - n_components = len(t.components) - n_couplings = t.couplings - - # Density: couplings / possible_connections - max_connections = n_components * (n_components - 1) / 2 - density = n_couplings / max_connections if max_connections > 0 else 0 - - # Grammar check - N_component = n_components - N_coupling = min(12, max(1, int(n_couplings))) - - grammar_ok = 4 <= n_components <= 12 - - # Structural score - score = 0 - if grammar_ok: score += 3 - if density > 0.1: score += 1 # Well-connected - if density > 0.3: score += 1 # Dense structure - if n_couplings >= 4: score += 1 - if t.modern_relevance and len(t.modern_relevance) > 50: score += 1 - - # Verdict - if grammar_ok and score >= 5: - verdict = 'HIDDEN GEM' - detail = 'Structural consistency + modern relevance = worth revisiting' - elif grammar_ok and score >= 3: - verdict = 'STRUCTURE EXISTS' - detail = 'Mathematical framework is sound. Practical issues only.' - elif not grammar_ok and score >= 3: - verdict = 'TOO COMPLEX' - detail = f'N={n_components} > 12: the theory overcomplicates. Needs simplification.' - elif n_components < 4: - verdict = 'TOO SIMPLE' - detail = f'N={n_components} < 4: not enough fundamental units for a complete theory.' - else: - verdict = 'NO STRUCTURE' - detail = 'No discernible structural pattern. Likely pseudoscience.' - - return { - 'name': t.name, - 'N_components': n_components, - 'N_couplings': n_couplings, - 'density': density, - 'grammar': grammar_ok, - 'score': score, - 'verdict': verdict, - 'detail': detail, - 'modern': t.modern_relevance[:80], - 'year': t.year, - } - -# ═══════════════════════════════════════════ -# RUN -# ═══════════════════════════════════════════ - -print('═' * 70) -print(' FORGOTTEN SCIENCE — GraphLang Analysis') -print('═' * 70) - -results = [analyze_theory(t) for t in theories] - -# Sort by structural score -results.sort(key=lambda r: -r['score']) - -print(f'\n═══ RANKING ═══') -print(f' {"#":3s} {"Theory":20s} {"N":>3s} {"Score":>5s} {"Grammar":>8s} {"Verdict"}') -print(f' {"─"*65}') - -for i, r in enumerate(results): - icon = '💎' if r['verdict'] == 'HIDDEN GEM' else ('📐' if 'STRUCTURE' in r['verdict'] else ('⚠️' if 'COMPLEX' in r['verdict'] or 'SIMPLE' in r['verdict'] else '❌')) - grammar_icon = '✅' if r['grammar'] else '❌' - print(f' {icon} {i+1:2d} {r["name"]:20s} {r["N_components"]:3d} {r["score"]:4d}/7 {grammar_icon:>8s} {r["verdict"]}') - -# Detail for each -print(f'\n═══ DETAILED ANALYSIS ═══') -for r in results: - icon = '💎' if r['verdict'] == 'HIDDEN GEM' else ('📐' if 'STRUCTURE' in r['verdict'] else ' ') - print(f'\n{icon} {r["name"]}') - print(f' N={r["N_components"]} ∈ [4,12]: {r["grammar"]}') - print(f' Couplings: {r["N_couplings"]}, Density: {r["density"]:.2f}') - print(f' {r["detail"]}') - print(f' Modern: {r["modern"]}...') - print(f' Discarded: {r["year"]}') - -# ═══════════════════════════════════════════ -# KEY DISCOVERIES -# ═══════════════════════════════════════════ - -print(f'\n═══ KEY DISCOVERIES ═══') - -hidden_gems = [r for r in results if r['verdict'] == 'HIDDEN GEM'] -structure = [r for r in results if 'STRUCTURE' in r['verdict']] -dead = [r for r in results if r['verdict'] not in ('HIDDEN GEM',) and 'STRUCTURE' not in r['verdict']] - -print(f'') -print(f' 💎 HIDDEN GEMS ({len(hidden_gems)}): Worth revisiting') -for r in hidden_gems: - print(f' {r["name"]}: N={r["N_components"]}, score={r["score"]}/7') - -print(f'') -print(f' 📐 STRUCTURE EXISTS ({len(structure)}): Math is sound') -for r in structure: - print(f' {r["name"]}: N={r["N_components"]}, score={r["score"]}/7') - -print(f'') -print(f' ❌ NO STRUCTURE ({len(dead)}): Pseudoscience or noise') -for r in dead: - print(f' {r["name"]}: N={r["N_components"]}, score={r["score"]}/7') - -print(f'\n═══ GRAPHLANG VERDICT ═══') -print(f'') -print(f' The history of science buried some gems with the trash.') -if hidden_gems: - print(f' {len(hidden_gems)} theories were discarded for practical reasons,') - print(f' not structural ones. They deserve a second look.') -print(f'') -print(f' Max Planck: "A new scientific truth does not triumph by') -print(f' convincing its opponents, but because its opponents') -print(f' eventually die." GraphLang can accelerate this.') diff --git a/gallox.py b/gallox.py deleted file mode 100644 index 4775f8f69c03332b4dca6a48ff790adec4bcbb5f..0000000000000000000000000000000000000000 --- a/gallox.py +++ /dev/null @@ -1,175 +0,0 @@ -""" -MatLang — Ga2O3 Power Semiconductor Optimization. -Find optimal dopant for thermal conductivity without cost increase. -Goal: Beat silicon (Si) power, cheaper than SiC/GaN. -""" -import json, math, random - -# ─── β-Ga2O3 Base Properties ─── -GA2O3_BASE = { - "bandgap_eV": 4.8, - "breakdown_MVcm": 8.0, - "mobility_cm2Vs": 150, # electron mobility - "thermal_conductivity": 0.20, # W/cm·K (main weakness!) - "baliga_fom": 3000, # Power figure of merit (vs Si=1) - "cost_per_wafer": 500, # $/wafer (Si=$50, SiC=$800, GaN=$1500) - "substrate_cost": 200, # $ for raw material - "process_temp_C": 1500, # Growth temperature -} - -# ─── Dopant Properties ─── -DOPANTS = { - # Dopant: {effect_on_thermal, effect_on_mobility, effect_on_cost, solubility, type} - "Mg": {"thermal":1.8,"mobility":1.1,"cost_factor":1.05,"solubility":0.02,"type":"acceptor"}, - "Zn": {"thermal":1.3,"mobility":1.0,"cost_factor":1.03,"solubility":0.03,"type":"acceptor"}, - "Al": {"thermal":1.5,"mobility":1.15,"cost_factor":1.02,"solubility":0.05,"type":"isovalent"}, - "Sc": {"thermal":1.1,"mobility":1.05,"cost_factor":1.20,"solubility":0.01,"type":"donor"}, - "In": {"thermal":1.4,"mobility":0.95,"cost_factor":1.10,"solubility":0.04,"type":"donor"}, - "Si": {"thermal":1.2,"mobility":1.3,"cost_factor":1.0,"solubility":0.10,"type":"donor"}, - "Sn": {"thermal":1.6,"mobility":1.2,"cost_factor":1.04,"solubility":0.06,"type":"donor"}, - "Fe": {"thermal":0.8,"mobility":0.7,"cost_factor":1.01,"solubility":0.03,"type":"compensation"}, - "Cr": {"thermal":0.9,"mobility":0.8,"cost_factor":1.02,"solubility":0.02,"type":"compensation"}, - "Zr": {"thermal":1.7,"mobility":1.1,"cost_factor":1.15,"solubility":0.01,"type":"donor"}, - "Hf": {"thermal":1.9,"mobility":1.0,"cost_factor":1.30,"solubility":0.005,"type":"donor"}, - "Nb": {"thermal":1.5,"mobility":1.25,"cost_factor":1.25,"solubility":0.02,"type":"donor"}, - "Ta": {"thermal":2.0,"mobility":1.15,"cost_factor":1.40,"solubility":0.01,"type":"donor"}, -} - -# ─── Competitor Materials ─── -COMPETITORS = { - "Silicon (Si)": {"bandgap":1.1,"breakdown":0.3,"mobility":1400,"thermal":1.5,"cost":50,"fom":1}, - "SiC (4H-SiC)": {"bandgap":3.3,"breakdown":2.5,"mobility":900,"thermal":4.9,"cost":800,"fom":500}, - "GaN": {"bandgap":3.4,"breakdown":3.3,"mobility":2000,"thermal":1.3,"cost":1500,"fom":800}, - "Diamond": {"bandgap":5.5,"breakdown":10,"mobility":4500,"thermal":22,"cost":5000,"fom":25000}, - "β-Ga2O3 (pure)": {"bandgap":4.8,"breakdown":8,"mobility":150,"thermal":0.2,"cost":500,"fom":3000}, -} - - -def predict_doped_properties(dopants_dict): - """ - Predict Ga2O3 properties with multiple dopants. - dopants_dict = {"Mg": 0.005, "Al": 0.01} (atomic fractions) - """ - props = dict(GA2O3_BASE) - thermal_boost = 1.0 - mobility_factor = 1.0 - cost_factor = 1.0 - - for dopant, fraction in dopants_dict.items(): - if dopant in DOPANTS: - d = DOPANTS[dopant] - # Effect scales with fraction (up to solubility limit) - effective_frac = min(fraction, d["solubility"]) - - # Thermal conductivity improvement - thermal_boost *= 1 + (d["thermal"] - 1) * effective_frac / d["solubility"] - - # Mobility effect - mobility_factor *= 1 + (d["mobility"] - 1) * effective_frac / d["solubility"] - - # Cost - cost_factor *= 1 + (d["cost_factor"] - 1) * effective_frac / d["solubility"] - - props["thermal_conductivity"] = round(props["thermal_conductivity"] * thermal_boost, 2) - props["mobility_cm2Vs"] = round(props["mobility_cm2Vs"] * mobility_factor) - props["cost_per_wafer"] = round(props["cost_per_wafer"] * cost_factor) - props["baliga_fom"] = round(props["baliga_fom"] * mobility_factor) - - # Score: thermal is most important (Ga2O3 weakness) - score = ( - props["thermal_conductivity"] * 100 + # Main target - props["mobility_cm2Vs"] * 0.1 + # Maintain mobility - (1000 - props["cost_per_wafer"]) * 0.2 # Lower cost = higher score - ) - - return props, round(score, 1) - - -print("═" * 70) -print("MatLang — Ga2O3 POWER SEMICONDUCTOR OPTIMIZATION") -print("═" * 70) -print("Goal: Beat silicon power, cheaper than SiC/GaN") -print() - -# ─── Search all dopant combinations ─── -all_results = [] - -for _ in range(5000): - dopants = {} - - # 1-3 dopants - n_dopants = random.randint(1, 3) - chosen = random.sample(list(DOPANTS.keys()), n_dopants) - - for dopant in chosen: - solubility = DOPANTS[dopant]["solubility"] - # Random concentration 10-90% of solubility - fraction = round(random.uniform(0.1, 0.9) * solubility, 4) - dopants[dopant] = fraction - - props, score = predict_doped_properties(dopants) - - all_results.append({ - "dopants": dopants, - "properties": props, - "score": score, - }) - -# Sort by score -all_results.sort(key=lambda x: -x["score"]) - -# ─── Show best ─── -print(f"🏆 TOP CANDIDATES:") -print(f" {'Score':>7s} {'Thermal':>8s} {'Mobility':>9s} {'Cost($)':>8s} {'Bandgap':>8s} {'FOM':>6s} {'Dopants'}") -print(f" {'─'*75}") - -seen = set() -rank = 0 -for r in all_results: - p = r["properties"] - dop_str = "+".join(f"{d}{r['dopants'][d]*100:.1f}%" for d in sorted(r["dopants"])) - if dop_str not in seen: - seen.add(dop_str) - rank += 1 - marker = "🌟" if p["thermal_conductivity"] >= 1.0 else ("🔥" if p["thermal_conductivity"] >= 0.5 else " ") - print(f" {marker} {r['score']:6.0f} {p['thermal_conductivity']:6.2f} W/cmK {p['mobility_cm2Vs']:6d} cm²/Vs ${p['cost_per_wafer']:6.0f} {p['bandgap_eV']:5.1f} eV {p['baliga_fom']:5d} {dop_str}") - if rank >= 15: - break - -# ─── Best candidate details ─── -best = all_results[0] -bp = best["properties"] - -print(f"\n{'═'*70}") -print(f"🏆 BEST Ga2O3 DOPING: GALLOX-1") -print(f"{'═'*70}") -print(f" Bandgap: {bp['bandgap_eV']} eV") -print(f" Breakdown field: {bp['breakdown_MVcm']} MV/cm") -print(f" Electron mobility: {bp['mobility_cm2Vs']} cm²/V·s") -print(f" Thermal conductivity: {bp['thermal_conductivity']} W/cm·K") -print(f" Baliga FOM: {bp['baliga_fom']} (Si=1)") -print(f" Wafer cost: ${bp['cost_per_wafer']}") -print(f"\n DOPING COMPOSITION:") -for d, f in sorted(best["dopants"].items()): - print(f" {d:5s}: {f*100:6.2f}% atomic") -print(f"\n VS SILICON:") -si = COMPETITORS["Silicon (Si)"] -print(f" Bandgap: {bp['bandgap_eV']/si['bandgap']:.1f}x larger") -print(f" Breakdown: {bp['breakdown_MVcm']/si['breakdown']:.1f}x higher") -print(f" FOM: {bp['baliga_fom']}x better") - -# ─── Comparison table ─── -print(f"\n{'═'*70}") -print("POWER SEMICONDUCTOR COMPARISON") -print(f"{'═'*70}") -print(f" {'Material':20s} {'Bandgap':>8s} {'Breakdown':>10s} {'Mobility':>10s} {'Thermal':>8s} {'Cost($)':>8s} {'FOM':>6s}") -print(f" {'─'*75}") -for name, p in COMPETITORS.items(): - print(f" {name:20s} {p['bandgap']:5.1f} eV {p['breakdown']:7.1f} MV/cm {p['mobility']:7d} cm²/Vs {p['thermal']:5.1f} W/cmK ${p['cost']:6.0f} {p['fom']:5d}") -print(f" {'─'*75}") -print(f" {'GALLOX-1 (MatLang)':20s} {bp['bandgap_eV']:5.1f} eV {bp['breakdown_MVcm']:7.1f} MV/cm {bp['mobility_cm2Vs']:7d} cm²/Vs {bp['thermal_conductivity']:5.2f} W/cmK ${bp['cost_per_wafer']:6.0f} {bp['baliga_fom']:5d}") - -# Save -with open("gallox_results.json","w") as f: - json.dump({"best": best, "top15": [{"dopants":r["dopants"],"properties":r["properties"]} for r in all_results[:15]]}, f, indent=2) -print(f"\nSaved: gallox_results.json") diff --git a/generative_compression.py b/generative_compression.py deleted file mode 100644 index 198f33d572006b422f364acfbf41bf4dfde2366d..0000000000000000000000000000000000000000 --- a/generative_compression.py +++ /dev/null @@ -1,381 +0,0 @@ -""" -GENERATIVE COMPRESSION — GraphLang discovers the algorithm behind data. -Shannon says 1GB. Kolmogorov says 1KB (if structure exists). -GraphLang finds the 1KB rule. - -Experiment: Logistic map → GraphLang → discovers f(x) = r * x * (1 - x) -""" -import json, math, hashlib -from collections import Counter, defaultdict -import numpy as np - -# ═══════════════════════════════════════════ -# GENERATE DATA (Known rule — kept secret from GraphLang) -# ═══════════════════════════════════════════ - -def generate_logistic(r=3.9, x0=0.5, n=100000): - """Generate logistic map data. Rule: x[n+1] = r * x[n] * (1 - x[n])""" - data = [] - x = x0 - for _ in range(n): - x = r * x * (1 - x) - data.append(x) - return data - -def generate_lorenz(sigma=10, rho=28, beta=8/3, n=50000): - """Generate Lorenz attractor. 3D chaotic system.""" - x, y, z = 0.1, 0, 0 - dt = 0.01 - data = [] - for _ in range(n): - dx = sigma * (y - x) * dt - dy = (x * (rho - z) - y) * dt - dz = (x * y - beta * z) * dt - x, y, z = x + dx, y + dy, z + dz - data.append((x, y, z)) - return data - -def generate_henon(a=1.4, b=0.3, n=50000): - """Generate Henon map.""" - x, y = 0, 0 - data = [] - for _ in range(n): - x_new = 1 - a * x*x + y - y_new = b * x - x, y = x_new, y_new - data.append((x, y)) - return data - -# ═══════════════════════════════════════════ -# GRAPHLANG NORMALIZER FOR NUMERIC SEQUENCES -# ═══════════════════════════════════════════ - -class SequenceNormalizer: - """ - Normalize numeric sequences to GraphLang graphs. - Each value → a node. Transitions → edges. - Uses discretization to find patterns. - """ - - def __init__(self, bins=100): - self.bins = bins - - def normalize(self, data, name="sequence"): - """Convert sequence to transition graph.""" - g = {'nodes': [], 'edges': [], 'name': name, 'n_points': len(data)} - - # Find data range for binning - if isinstance(data[0], (int, float)): - values = data - dmin, dmax = min(values), max(values) - else: - # Multi-dimensional - values = [v[0] for v in data] - dmin, dmax = min(values), max(values) - - # Discretize: continuous → discrete bins - bin_width = (dmax - dmin) / self.bins if dmax > dmin else 1 - - # Build transition graph - transitions = Counter() - value_hist = Counter() - - prev_bin = None - for v in values: - bin_idx = min(self.bins - 1, max(0, int((v - dmin) / bin_width))) - value_hist[bin_idx] += 1 - - if prev_bin is not None: - transitions[(prev_bin, bin_idx)] += 1 - - prev_bin = bin_idx - - # Create GraphLang nodes (bins) - for bin_idx, count in value_hist.most_common(): - g['nodes'].append({ - 'kind': 'const', - 'value': f'bin_{bin_idx}', - 'props': {'count': count, 'center': round(dmin + bin_idx * bin_width + bin_width/2, 5)} - }) - - # Create edges (transitions) - for (src, dst), count in transitions.most_common(): - g['edges'].append({ - 'kind': 'call', - 'from': f'bin_{src}', - 'to': f'bin_{dst}', - 'props': {'count': count, 'weight': count / len(values)} - }) - - g['n_nodes'] = len(value_hist) - g['n_edges'] = len(transitions) - g['range'] = (dmin, dmax) - g['avg_degree'] = len(transitions) / max(1, len(value_hist)) - - return g - -# ═══════════════════════════════════════════ -# GENERATIVE RULE DISCOVERER -# ═══════════════════════════════════════════ - -class GenerativeRuleDiscoverer: - """ - Discover the mathematical rule that generates the data. - Tests candidate functions and scores them. - """ - - # Candidate function templates - TEMPLATES = [ - # Linear - lambda x, a, b: a * x + b, - # Quadratic (logistic-like) - lambda x, a, b, c: a * x * x + b * x + c, - # Logistic form - lambda x, r: r * x * (1 - x), - # Cubic - lambda x, a, b, c, d: a * x**3 + b * x*x + c * x + d, - # Sinusoidal - lambda x, a, b: a * math.sin(b * x), - # Exponential - lambda x, a, b: a * (1 - math.exp(-b * x)), - ] - - TEMPLATE_NAMES = [ - "linear: a*x + b", - "quadratic: a*x² + b*x + c", - "logistic: r*x*(1-x)", - "cubic: a*x³ + b*x² + c*x + d", - "sinusoidal: a*sin(b*x)", - "exponential: a*(1-e^(-b*x))", - ] - - def discover(self, data, graph): - """Try each template and find the best fit.""" - results = [] - - n = min(1000, len(data)) # Sample for speed - sample = data[:n] - - for i, (template, name) in enumerate(zip(self.TEMPLATES, self.TEMPLATE_NAMES)): - try: - # Simple parameter estimation - if i == 0: # Linear - xs = sample[:-1] - ys = sample[1:] - if len(xs) > 1: - a = np.polyfit(xs, ys, 1)[0] - b = 0 - pred = [template(x, a, b) for x in xs] - mse = np.mean((np.array(ys) - np.array(pred))**2) - results.append({ - 'template': name, - 'parameters': f'a={a:.4f}', - 'mse': mse, - 'score': 1.0 / (mse + 1e-10) if mse > 0 else 1e10, - }) - - elif i == 1: # Quadratic - xs = sample[:-1] - ys = sample[1:] - if len(xs) > 2: - coeffs = np.polyfit(xs, ys, 2) - pred = [template(x, *coeffs) for x in xs] - mse = np.mean((np.array(ys) - np.array(pred))**2) - results.append({ - 'template': name, - 'parameters': f'a={coeffs[0]:.4f}, b={coeffs[1]:.4f}, c={coeffs[2]:.4f}', - 'mse': mse, - 'score': 1.0 / (mse + 1e-10) if mse > 0 else 1e10, - }) - - elif i == 2: # Logistic - xs = sample[:-1] - ys = sample[1:] - # Estimate r: for logistic, x[n+1]/x[n] ≈ r*(1-x[n]) - # r ≈ mean(x[n+1] / (x[n]*(1-x[n]))) - ratios = [] - for xv, yv in zip(xs, ys): - denom = xv * (1 - xv) - if abs(denom) > 1e-10: - ratios.append(yv / denom) - r_est = np.mean(ratios) if ratios else 3.0 - pred = [template(x, r_est) for x in xs] - mse = np.mean((np.array(ys) - np.array(pred))**2) - results.append({ - 'template': name, - 'parameters': f'r={r_est:.4f}', - 'mse': mse, - 'score': 1.0 / (mse + 1e-10) if mse > 0 else 1e10, - }) - - elif i == 3: # Cubic - xs = sample[:-1] - ys = sample[1:] - if len(xs) > 3: - coeffs = np.polyfit(xs, ys, 3) - pred = [template(x, *coeffs) for x in xs] - mse = np.mean((np.array(ys) - np.array(pred))**2) - results.append({ - 'template': name, - 'parameters': f'a={coeffs[0]:.4f}, b={coeffs[1]:.4f}', - 'mse': mse, - 'score': 1.0 / (mse + 1e-10) if mse > 0 else 1e10, - }) - - elif i == 4: # Sinusoidal - xs = sample[:-1] - ys = sample[1:] - try: - a = max(abs(min(ys)), abs(max(ys))) - # Estimate frequency from zero crossings - crossings = sum(1 for i in range(1, len(ys)) if ys[i-1]*ys[i] < 0) - b = crossings / len(ys) * math.pi if crossings > 0 else 1 - pred = [template(x, a, b) for x in xs] - mse = np.mean((np.array(ys) - np.array(pred))**2) - results.append({ - 'template': name, - 'parameters': f'a={a:.4f}, b={b:.4f}', - 'mse': mse, - 'score': 1.0 / (mse + 1e-10) if mse > 0 else 1e10, - }) - except: - pass - - elif i == 5: # Exponential - xs = sample[:-1] - ys = sample[1:] - try: - a = max(ys) - b = 1.0 - pred = [template(x, a, b) for x in xs] - mse = np.mean((np.array(ys) - np.array(pred))**2) - results.append({ - 'template': name, - 'parameters': f'a={a:.4f}, b={b:.4f}', - 'mse': mse, - 'score': 1.0 / (mse + 1e-10) if mse > 0 else 1e10, - }) - except: - pass - - except Exception as e: - pass - - # Sort by score (best first) - results.sort(key=lambda x: -x['score']) - return results - -# ═══════════════════════════════════════════ -# COMPRESSION METRICS -# ═══════════════════════════════════════════ - -def compute_compression(data, discovered_rule): - """Compute Kolmogorov-style compression ratio.""" - data_bytes = len(data) * 8 # Each float = 8 bytes - # Rule size: template name + parameters - rule_bytes = len(discovered_rule.get('template', '')) + len(discovered_rule.get('parameters', '')) - - return { - 'data_size': data_bytes, - 'data_size_human': f'{data_bytes/1024/1024:.1f} MB' if data_bytes > 1024*1024 else f'{data_bytes/1024:.0f} KB', - 'rule_size': rule_bytes, - 'compression_ratio': data_bytes / max(1, rule_bytes), - 'shannon_limit': f'{math.log2(100)}:1 (for {100}-bin discretization)', - 'kolmogorov_achieved': data_bytes / max(1, rule_bytes), - } - -# ═══════════════════════════════════════════ -# RUN EXPERIMENTS -# ═══════════════════════════════════════════ - -if __name__ == '__main__': - print('═' * 70) - print(' GENERATIVE COMPRESSION — GraphLang Rule Discovery') - print('═' * 70) - - experiments = [ - ('Logistic Map', generate_logistic(r=3.9, n=100000), 'x[n+1] = 3.9*x[n]*(1-x[n])'), - ('Lorenz Attractor', generate_lorenz(n=50000), 'dx=10(y-x)dt, dy=(x(28-z)-y)dt, dz=(xy-8z/3)dt'), - ('Henon Map', generate_henon(n=50000), 'x[n+1]=1-1.4*x²+y, y[n+1]=0.3*x'), - ] - - for exp_name, data, true_rule in experiments: - print(f'\n═══ {exp_name.upper()} ═══') - print(f' True rule: {true_rule}') - print(f' Data points: {len(data):,}') - - # Normalize with GraphLang - norm = SequenceNormalizer(bins=50) - graph = norm.normalize(data) - print(f' Graph: {graph["n_nodes"]} nodes, {graph["n_edges"]} edges') - print(f' Avg degree: {graph["avg_degree"]:.1f}') - - # Discover rule - disc = GenerativeRuleDiscoverer() - results = disc.discover(data, graph) - - print(f'\n ═══ DISCOVERED RULES ═══') - for i, r in enumerate(results[:3]): - icon = '🥇' if i == 0 else ('🥈' if i == 1 else '🥉') - print(f' {icon} {r["template"]:35s} MSE={r["mse"]:.6f} params={r["parameters"]}') - - # Best match - if not results: - print(f'\n ⚠️ No template matched (system too complex for simple functions)') - print(f' Graph: {graph["n_nodes"]} nodes, avg degree {graph["avg_degree"]:.1f}') - print(f' → Lorenz is a 3D coupled system, needs coupled template') - continue - best = results[0] - compression = compute_compression(data, best) - - print(f'\n ═══ COMPRESSION ═══') - print(f' Data size: {compression["data_size_human"]}') - print(f' Rule size: {compression["rule_size"]} bytes ("{best["template"]}")') - print(f' Ratio: {compression["compression_ratio"]:,.0f}:1') - print(f' Shannon limit: {compression["shannon_limit"]}') - - # Did we find the right rule? - if 'logistic' in exp_name.lower(): - # Check if any template captured the logistic form - found = False - for r in results[:3]: - if 'quadratic' in r['template']: - params = r['parameters'] - a_val = float(params.split('a=')[1].split(',')[0]) - b_val = float(params.split('b=')[1].split(',')[0]) - # ax² + bx + c = rx(1-x) = rx - rx² means a=-r, b=r, c=0 - if abs(a_val + b_val) < 0.01 and abs(a_val) > 3: - r_val = abs(a_val) - r_error = abs(r_val - 3.9) - found = True - print(f'\n ═══ VALIDATION ═══') - print(f' Quadratic form: {a_val:.4f}x² + {b_val:.4f}x ≡ {abs(a_val):.4f}x(1-x)') - print(f' True r = 3.9') - print(f' Discovered r = {abs(a_val):.4f}') - print(f' Error = {r_error:.4f} ({r_error/3.9*100:.2f}%)') - if r_error < 0.05: - print(f' ✅ GRAPHLANG CORRECTLY DISCOVERED THE LOGISTIC MAP') - break - elif 'logistic' in r['template']: - r_val = float(r['parameters'].split('=')[1].split(',')[0]) - r_error = abs(abs(r_val) - 3.9) - found = True - print(f'\n ═══ VALIDATION ═══') - print(f' True r = 3.9') - print(f' Discovered r = {abs(r_val):.4f}') - print(f' Error = {r_error:.4f} ({r_error/3.9*100:.2f}%)') - if r_error < 0.05: - print(f' ✅ GRAPHLANG CORRECTLY DISCOVERED THE LOGISTIC MAP') - break - if not found: - print(f'\n ═══ VALIDATION ═══') - print(f' ⚠️ No template matched logistic form') - - print(f'\n═══ FINAL VERDICT ═══') - print(f' GraphLang can discover the GENERATIVE RULE behind') - print(f' chaotic data. This is Kolmogorov compression:') - print(f' store the algorithm, not the data.') - print(f'') - print(f' Shannon: You MUST store every bit.') - print(f' Kolmogorov: You store the shortest program.') - print(f' GraphLang: You DISCOVER the shortest program.') diff --git a/graphkind/.github/workflows/ci.yml b/graphkind/.github/workflows/ci.yml deleted file mode 100644 index c89080b4e05597b49098e7893b72d449eaea135a..0000000000000000000000000000000000000000 --- a/graphkind/.github/workflows/ci.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Verificaciones del paper -on: [push, pull_request, workflow_dispatch] - -jobs: - rapido: - name: Verificaciones (rapido) - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: {python-version: "3.12"} - - name: Deps - run: pip install -q -r requirements.txt - - name: "Rapidas: V1 (ley), V3 (T4_k), V5 (Rook), V8 (R3), V10 (hash), V11 (convergencia)" - env: - N_JOBS: "2" - run: python codigo/verificaciones.py --rapido - - name: "v2: V13-V18 (universos + Santo Grial)" - run: python codigo/verificaciones_v2.py - - completo: - name: Verificaciones (completo, manual) - if: github.event_name == 'workflow_dispatch' - runs-on: ubuntu-latest - timeout-minutes: 120 - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: {python-version: "3.12"} - - name: Deps - run: pip install -q -r requirements.txt - - name: V1-V12 completas - env: - N_JOBS: "2" - run: python codigo/verificaciones.py - - name: V13-V18 (universo + Santo Grial) - run: python codigo/verificaciones_v2.py diff --git a/graphkind/.gitignore b/graphkind/.gitignore deleted file mode 100644 index a230a78aea291ec7c0c35eefbc89b3898612a118..0000000000000000000000000000000000000000 --- a/graphkind/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -.venv/ -__pycache__/ diff --git a/graphkind/CITATION.cff b/graphkind/CITATION.cff deleted file mode 100644 index a19c836491bb1528be0d3dc06da82645a930ba2f..0000000000000000000000000000000000000000 --- a/graphkind/CITATION.cff +++ /dev/null @@ -1,32 +0,0 @@ -cff-version: 1.2.0 -message: "If you use this work, please cite it as below." -title: "GraphKind — Universes v2: T4 and the universe arc (multilayer, hypergraphs, arity dual)" -abstract: >- - We classify the operators under which the color refinement (1-WL) - profile of a graph is invariant, inside parametric observation - universes (f, iota). T4 (complement-invariance) was proposed and - verified by the engine (the conjecture mechanism was human-built), - checked on 2,131,019 exhaustive graphs and proved in writing. The data selected the count law f(1) != f(2) and further - probing produced the characterization S_n.K, with the forward - direction proved and the converse verified. Changing the type of the - invariant (partition -> orbit -> distribution -> observer) T4 dies in - a deterministic Z3 universe, dies under process randomness, survives - under object randomness, and is inherited by the k-FWL hierarchy (equivalent to (k+1)-WL). -authors: - - family-names: "Argaña Silguero" - given-names: "Josué" - alias: "cripto-bot" - orcid: "https://orcid.org/0009-0009-1983-4711" - website: "https://github.com/cripto-bot" -date-released: "2026-09-14" -version: "2.0.0" -doi: 10.5281/zenodo.22747350 -url: "https://doi.org/10.5281/zenodo.22747350" -license: CC-BY-4.0 -repository-code: "https://github.com/cripto-bot/graphkind-universos-v2" -keywords: - - color refinement - - Weisfeiler-Leman - - graph invariants - - complement - - emergent laws diff --git a/graphkind/LICENSE b/graphkind/LICENSE deleted file mode 100644 index 0c5d0c411fa07f1419e1206ef6dacbb2924a9067..0000000000000000000000000000000000000000 --- a/graphkind/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ -GraphKind — Universes v2 -© 2026 Juri (cripto-bot) — Argaña Silguero, Josué - -This work is licensed under the Creative Commons Attribution 4.0 -International License (CC BY 4.0). - -You are free to share (copy and redistribute the material in any medium -or format) and adapt (remix, transform, and build upon the material) for -any purpose, even commercially, provided you give appropriate credit, -provide a link to the license, and indicate if changes were made. - -License: https://creativecommons.org/licenses/by/4.0/ -Legal code: https://creativecommons.org/licenses/by/4.0/legalcode diff --git a/graphkind/README.es.md b/graphkind/README.es.md deleted file mode 100644 index d01a0637d03acd30a5cade8cafae10f0ffee893b..0000000000000000000000000000000000000000 --- a/graphkind/README.es.md +++ /dev/null @@ -1,501 +0,0 @@ -

- GraphKind — Universos del color refinement -

- -

- CI - preprint - verificaciones - estado de la prueba -

- -

- English · Página (ES) · Page (EN) · Paper · Prueba · Reproducir -

- ---- - -## Resumen - -Clasificamos los operadores bajo los cuales el perfil del **color -refinement** (1-WL) de un grafo es invariante, dentro de una familia -paramétrica de **universos de observación** `(f, ι)` — `f` comprime los -conteos de vecinos e `ι` es una involución. El motor **propuso y -verificó** que la partición del color refinement es complemento- -invariante (llamado **T4**; mecanismo de conjeturas construido por el -humano), lo verificó en **2 131 019 grafos exhaustivos** (n≤7, 100.0000%) -más 19 407 adversariales, y se -produjo una **prueba escrita** (inyectividad de la resta de multiséts de -vecindades). Parametrizando el universo, **los datos — no los autores — -eligieron la ley del conteo** `T4 ⟺ f(1) ≠ f(2)` (34/34 y 102/102), y -el sondeo posterior produjo una **caracterización**: - -$$ -T4(\iota, f)\ \text{vive} \iff \iota \in S_n \cdot K -\quad\text{y}\quad -\bigl(\iota\ \text{cambia el par} \implies f(1) \neq f(2)\bigr), -\qquad -K = \{\mathrm{id},\ \mathrm{comp\_dir},\ \mathrm{transp},\ \mathrm{comp\_transp}\} \cong \mathbb{Z}_2 \times \mathbb{Z}_2 . -$$ - -La **dirección directa está probada** (mecanismo de conteos); la -**recíproca está verificada** exhaustiva en n=4 (96 supervivientes -exactas, cero fuera), dirigida en n=5 (6 424 testigos) y en datos reales -(moléculas 100/100, CST 94/94). Cambiando el **tipo** del invariante — -partición → órbita → distribución → observador — T4 muere en un universo -Z₃ determinista, muere con azar en el proceso, sobrevive con azar en el -objeto, y es **heredado por toda la jerarquía k-FWL** (≡ (k+1)-WL; 51/51). Todo es -reproducible con un comando, cada verificación con un `assert` del -número exacto. Los límites están declarados; cinco bugs propios fueron -cazados por controles y quedan documentados, no borrados. - ---- - -## Contribuciones - -1. **T4, propuesto y verificado por el motor**: `CR_k(G) = CR_k(Ḡ)` como - particiones (no solo multiséts de tamaños iguales) — con prueba - escrita. -2. **La ley del conteo** `f(1) ≠ f(2)`, **elegida por los datos** tras - refutar dos hipótesis humanas. -3. **La caracterización** `Sₙ·K` con (⇐) probada y (⇒) verificada; la - pieza faltante — la **uniformidad** — identificada por falsación. -4. **El cambio de tipo**: T4 a través de universos deterministas, - dinámicos, probabilísticos y de observadores. -5. **Método**: congelar antes de interpretar, controles negativos, y - cinco bugs propios cazados y registrados. - ---- - -## 1. El teorema (T4) - -Sea `G = (V, E)` un grafo finito simple, `Ḡ` su complemento, y `CR_k(G)` -la partición de `V` inducida por la ronda `k` del color refinement con -colores iniciales `f(tipo, grado)`. - -> **Teorema (EXP-086).** Para todo `G` y todo `k ≥ 0`: -> $$CR_k(G) = CR_k(\bar G)$$ -> como particiones del **mismo** conjunto de vértices `V` (los nombres -> de los colores difieren; las clases son idénticas). -> -> **Corolario (T4).** Los multiséts de tamaños de las clases estables de -> `CR(G)` y `CR(Ḡ)` coinciden, y coinciden en cada ronda. - -

- G y su complemento comparten la misma partición -

- -

- Datos reales: Q3 y su complemento, coloreados por clase WL — la misma partición -
Datos reales: Q₃ y su complemento, vértices coloreados por clase WL — la partición es idéntica (T4). -

-

- T4 ronda a ronda: G y su complemento, coloreados por clase WL en k=0..3 -
Datos reales: el refinamiento WL ronda a ronda (k=0…3) — G y su complemento mantienen las mismas clases en cada nivel. -

- -**Prueba (esquema).** *Base.* En `Ḡ`, `deg_Ḡ(v) = n−1−deg_G(v)`; como -`d ↦ n−1−d` es una biyección de grados, la relación "mismo color" es la -misma en `G` y `Ḡ`. *Paso.* Supongamos `CR_k(G) = CR_k(Ḡ) =: P_k`. Para -`v ∈ V`, la vecindad cerrada en `Ḡ` es `N_Ḡ[v] = V ∖ N_G(v)`, y su -multiséts de colores de ronda `k` es - -$$M'_k(v) = T_k - \bigl(M_k(v) - [\mathrm{color}_k(v)]\bigr), \qquad T_k := \text{multiséts total de colores de } P_k .$$ - -Como `T_k` es **fijo**, la aplicación `M_k(v) ↦ M'_k(v)` es -**inyectiva**: `u, v` tienen el mismo multiséts de vecindad cerrada en -`G` si y solo si lo tienen en `Ḡ`. Como `color_{k+1}(v)` es función -determinística de `(color_k(v), M_k(v))`, la relación "mismo color" se -preserva, y `CR_{k+1}(G) = CR_{k+1}(Ḡ)`. ∎ - -*Estado*: prueba escrita (una página), verificada en 2 131 019 grafos -exhaustivos (n≤7), 19 407 adversariales y 688/688 pares de -compatibilidad; **revisión externa pendiente**. - ---- - -## 2. La ley del conteo - -En el universo estándar con una involución que cambia el par conectado: - -$$ -T4\ \text{vive} \iff f(1) \neq f(2). -$$ - -**Mecanismo.** En el complemento, un vértice con **1** vecino de una -clase pasa a `|c|−1` (que puede ser **2**): si `f` colapsa 1 y 2, la -dualidad muere. Lo que `f` haga con 3, 4, 5… es irrelevante. Verificada -**34/34** (17 funciones × 2 involuciones, n≤6) y blindada **102/102** -(definición formal de dual global, 6 involuciones × 17 funciones). - -

- Los 34 universos del EXP-102: T4 vive si y solo si f(1) != f(2) -
Datos reales: los 34 universos (17 funciones × 2 involuciones) — T4 vive exactamente cuando f(1) ≠ f(2). -

- ---- - -## 3. La caracterización - -

- El grupo de Klein: dos mitades, dos condiciones -

- -**Dirección directa (probada).** Para `ι = σ∘s∘c`: - -| caso | mecanismo | condición | -|---|---|---| -| **σ** (relabel) | el WL es invariante por isomorfismo; la coloración se transporta biyectivamente | vale para **toda** `f` | -| **s** (swap global in/out) | los conteos se intercambian: `(in_D,out_D) → (out_D,in_D)`; el perfil va por `(f(a),f(b)) → (f(b),f(a))` | vale para **toda** `f` | -| **c** (complemento uniforme) | los conteos van `m → |D|−m` (o `|D|−1−m`), una biyección | vale **si y solo si** `f(1) ≠ f(2)` (contraejemplo en n=6) | - -La pieza no obvia es la **uniformidad**: preservar el par *no* alcanza si -la acción no es uniforme (`flip_inc0` preserva el par y muere 0/24). -Fuera de `Sₙ·K`, todo muere. - -**Recíproca (verificada).** - -| cámara | resultado | -|---|---| -| n=4, espacio inducido, exhaustivo (528 iotas × 4096 digrafos) | **96 supervivientes exactas** (= 24·4), **cero** fuera | -| n=5, dirigida (8 160 iotas) | 7 680 con testigo válido; las 480 sin testigo son uniformes | -| fuera del espacio (10 000 afines aleatorias) | **10 000/10 000** con testigo | -| existencia de testigo (6 424 no uniformes) | **6 424/6 424** testigos válidos | -| datos reales | moléculas **100/100** · CST **94/94** | - -

- Datos reales: de las 528 iotas inducidas n=4, sobreviven exactamente las 96 uniformes -
Datos reales: de las 528 iotas inducidas n=4, sobreviven exactamente las 96 uniformes (= 24·4). -

- -**Búsqueda autónoma.** Con un lenguaje de 11 primitivos + 3 -combinadores (~400 recetas) y criterio tasa/MDL, el motor halló que el -mejor testigo **válido** es el `ciclo` (**99.63%**, complejidad 1) — -mejor que la construcción humana (97.8%). Ninguna receta válida llega -al 100%. - ---- - -## 4. De conjetura a teorema candidato - -

- De conjetura autónoma a teorema candidato -

- ---- - -## 5. El cambio de tipo - -

- El invariante cambia de tipo -

- -

- Cascada del observador: 26 a 0 -

- -| universo | invariante | T4 | evidencia | -|---|---|---|---| -| estándar | partición | ✅ vive (probado) | 2 131 019/2 131 019 | -| Z₃ determinista | **órbita** (períodos) | ❌ muere | máx. 52.4% (`maj`); 6 reglas | -| aleatorio R1 (WL asíncrono) | **distribución** | ❌ muere | 204/1096 = 18.6% | -| aleatorio R2 (`G(n,p)` vs `G(n,1−p)`) | distribución | ✅ vive | exacto (el complemento biyecta los ensembles) | -| aleatorio R3 (involuciones aleatorias) | **medida** | umbral = medida | 0/5000 uniforme vs 96/528 inducidas | -| jerarquía k-FWL (≡ (k+1)-WL) | partición de k-tuplas | ✅ heredado | 51/51 en k=1,2,3 | -| cascada del observador (n≤7) | — | — | 26 → 0 (k=1 → k=2) | -| Rook vs Shrikhande | — | — | k=1 no, k=2 no, **k=3 sí** | - ---- - -## 6. Método - -- **Congelar antes de interpretar**: cada experimento congela - `results_frozen.json` primero. -- **Controles negativos**: el control que cazó la "prueba" falsa - (52/104 fallos en uniformes) y el Shrikhande mal construido - (`is_isomorphic = True`). -- **Cinco bugs propios cazados y registrados** (no borrados): - -| # | bug | arreglo | -|---|---|---| -| 1 | multiséts de tamaños (débil: C6 y 2·C3 lo comparten) | colores | -| 2 | comparar colores entre grafos | comparar particiones | -| 3 | índices en la coloración inicial | grados + adyacencias | -| 4 | multiséts separados (k-WL débil) | pares correlacionados (= k-FWL) | -| 5 | Shrikhande mal construido (era el Rook dos veces) | `is_isomorphic` | - -**El método es parte del resultado.** - ---- - -## 7. Reproducir - -```bash -git clone https://github.com/cripto-bot/graphkind-universos-v2 -cd graphkind-universos-v2 -python3 -m venv .venv && .venv/bin/pip install -r requirements.txt -bash reproduce.sh # V1–V12 (~10-15 min) -bash reproduce.sh --rapido # V1, V3, V5, V8, V10, V11 (~3 min) -``` - -Cada verificación de este repo lleva un **assert** con el número exacto: -si algo no coincide, falla. El CI corre el subconjunto rápido en cada -push y la suite completa a demanda. - -**Alcance (citado vs ejecutado)**: V1–V16 se ejecutan aquí. Los números -del laboratorio que exceden este repo —**2 131 019** exhaustivos n≤7, -**19 407** adversariales, **688/688** de compatibilidad— se **citan** con -su artefacto congelado en `resultados/` (EXP-084/086); no se recomputan -en este repo. - -| # | verificación | assert | -|---|---|---| -| V1 | la ley `f(1)≠f(2)` (17 f × 2 involuciones, n≤6) | 34/34 | -| V2 | caracterización n=4 exhaustivo | 96 y 48 | -| V3 | T4_k complemento-invarianza (k-FWL) | 51/51 | -| V4 | cascada del observador n≤7 | 26 → 0 | -| V5 | Rook vs Shrikhande (k-FWL; el 3-WL estándar NO) | k*=3 | -| V6 | Z₃ determinista | no vive | -| V7 | aleatorio R1 | 204/1096 | -| V8 | R3 dependencia de la medida | 96/528 | -| V9 | búsqueda autónoma | ciclo 99.63% | -| V10 | certificado de hash (12-hex == 64-hex) | sin colisiones | -| V11 | certificado de convergencia (estable == n+2) | OK | -| V12 | clasificación constante por grafo (n=4) | OK | - - ---- - -## 7b. Correcciones (2026-09-13) - -Una verificación independiente (EXP-159 del laboratorio) encontró un -**error de nombre** y se agregaron dos certificados: - -1. **k-FWL, not "k-WL"** (D-005). El kernel implementado en `codigo/wl.py` - es el **correlacionado** (*folklore*, k-FWL), equivalente a - **(k+1)-WL**. El nombre "k-WL" a secas es la variante estándar - (multiséts separados por posición), estrictamente más débil: **el - 3-WL estándar NO separa Rook de Shrikhande**; el 3-FWL (≡ 4-WL) sí. - El código, los docstrings y las salidas ahora dicen - `k-FWL (≡ (k+1)-WL)`. V3/V5 no cambian numéricamente. -2. **V10 — certificado de hash**: el hash de 12 hex no altera ninguna - partición (partición 12-hex == partición 64-hex en 74 grafos × 17 f). -3. **V11 — certificado de convergencia**: el refinamiento llega a su - partición estable dentro del tope n+2 (estable == n+2 rondas fijas en - 1098 grafos × 17 f); `wl_sym`/`wl_k_colors` ahora paran al estabilizar. -4. **V12 — alcance de la clasificación**: `clasificar_involucion` clasifica - sobre **un grafo**; V12 verifica que la clase es constante sobre todos - los grafos n=4 para los (ι, f) probados. El enunciado universal sigue - siendo la dirección abierta del paper. - -Los resultados numéricos del paper **no cambian**; el nombre y los -certificados son las correcciones. - ---- - -## 7c. El arco de universos (v2, EXP-162 → 169) - -La v2 agrega el **arco de universos** (multicapa, matriz, hipergrafos, -aridades, dual), con sus freezes en `resultados/` y **V13–V16** en -`codigo/verificaciones_v2.py`: - -| # | verificación | assert | -|---|---|---| -| V13 | multicapa: total vive, **por-capa muere** en la canónica, canales viven | 4160/4160 · falla > 0 · 8320/8320 | -| V14 | hipergrafos 3-uniformes: T4 vive | 6042/6042 (n≤5 + muestra n=6) | -| V15 | dual por aridad: partición + ahorro | 1024/1024 · 5120→3392 aristas | -| V16 | aridades mezcladas: por aridad **vive** (reparo) | 1024/1024 | -| V17 | cociente por complemento (precio de T4) | 52 grafos · 24 pares (SG-01 n≤8: 6 168) | -| V18 | IR: IR_1 no separa Rook/Shri, IR_2 sí | i\*=2 | -| V19 | certificado SG-04: n=10 exhaustivo sin fallas | 12 005 168 · 0 colisiones | - - -

- Ley multicapa -
La ley de coherencia multicapa (EXP-162/163): total vive, por-capa muere en la canónica. -

- - -

- Escalera k* -
La escalera k\*(L) es plana y corrige el k\*=2 de EXP-162. -

- -**Los resultados**: (1) **multicapa** — la ley de coherencia: total vive -(1298/1298, 1404/1404), por-capa muere solo en la canónica (6.9%/7.4%); -el grupo preservante es exactamente el uniforme; la escalera `k*` es -plana (corrige el `k*=2` de EXP-162); (⇐) probada, (⇒) abierta. -(2) **matriz** — la frontera se mueve con el observador, no con el -tipado. (3) **hipergrafos** — predicción registrada y acertada -(1831/1831). (4) **aridades** — la escalera vive; el transplante por -aridad **falla** (la ley es de canales). (5) **dual por aridad** — -asimilado: partición 100%, ahorro 14.37% vs 10.26%. - - -

- Matriz -
La frontera se mueve con el observador, no con el tipado. -

- - -

- Hipergrafos -
Predicción acertada (1831/1831) y el transplante por aridad que falla. -

- - -

- Dual -
Dual por aridad: ahorro 14.37% con partición garantizada. -

- - -

- Trayectoria -
La trayectoria del refinamiento: T4 y la divergencia multicapa. -

- - -

- Aridades -
La escalera de aridad y el transplante que falla. -

- -## 7d. El Santo Grial (SG-01→03) - -- **Completitud en la clase**: la familia mínima es **{WL, 2-WL, 3-WL}** - con **C_8 = 0** en **76 205 685 pares** (n≤8); leave-one-out: k-WL 3 - hace el trabajo; la frontera n=16 (Rook/Shri) la separa solo la familia - total. Freeze: `resultados/SG-01_results_frozen.json`. - -

- Frontera C_n -
Las curvas de frontera por observador (SG-01/03, EXP-119). -

- -- **El precio de T4**: el invariante completo **no** es - complemento-invariante; el cociente `G~Ḡ` fusiona **6 168 pares**. -- **Individualización**: **i\*=1** en n≤8 (13 597 grafos); **i\*=2** en - Rook/Shrikhande (IR_1 no, IR_2 sí). El retículo IR↔k-WL: en n≤9 los - completos colapsan (equivalencia vacua); anclas A/B, C no observado. - Freezes: `SG-02`, `SG-03`. - -

- Santo Grial -
Completitud, el precio de T4 y i\*. -

- -- **La prueba multicapa** viaja en `paper/PRUEBA-MULTICAPA.md` ((⇐) - probada, (⇒) abierta) y los **patrones transversales** + el - `DECISION_LOG` (D-001→D-017) en `paper/DECISION_LOG.md`. - -## 7e. SG-04: la puerta (n=10 exhaustivo) - -- **0 colisiones** en **12 005 168** grafos n=10 exhaustivos (KW3/IR1p, - 11.1 h) → la primera incompletitud **no está en n=10**. -- Dirigido: 9 combos regulares n=11–15 (tope 5 000) + 10 pares - Cayley/Paley/Q4 → **0 fallas**. -- La primera falla conocida sigue en **n=16** (Rook/Shri): la separan - **descriptores elementales** (SNFL, AUT, CICLOS, LOCAL, HOM2) + KF3/ - IR2p. Freeze: `resultados/SG-04_results_frozen.json` (certificado V19). -- Corrección registrada: `geng -d 3` (separado) falla; es `-d3`. - -## 8. Estructura del repositorio - -``` -paper/PAPER.md el paper (abstract bilingüe, método, resultados, §12 arco v2) -paper/TEOREMA-UNIVERSOS.md el ciclo completo EXP-099→119 -paper/PRUEBA-CARACTERIZACION.md la prueba (⇐) y el estado de (⇒) -codigo/universos.py la ley en el motor (t4_garantizado, oráculo) -codigo/wl.py WL simétrico + k-FWL correlacionada (≡ (k+1)-WL) -codigo/verificaciones.py V1–V12 con asserts de los números exactos -codigo/verificaciones_v2.py V13–V16 (arco de universos) -codigo/multicapa.py refinamiento conjunto + tres dualidades (v2) -codigo/hipergrafo.py k-uniforme + aridades mezcladas + dual (v2) -codigo/individualizacion.py IR_k (peor/multiset) — SG-02/03 (v2) -paper/PRUEBA-MULTICAPA.md (⇐) probada, (⇒) abierta (EXP-162) -paper/DECISION_LOG.md decisiones D-001→D-017 del laboratorio -resultados/*.json freezes originales (EXP-102..169 + SG-01..04) -resultados/atlas/*.json los 15 universos del atlas (EXP-105) -assets/*.svg figuras -index.html · index.en.html páginas de presentación (ES/EN) -``` - ---- - -## 9. Límites y problemas abiertos - -- **(⇒) para todo n: abierto.** Verificado en n≤4 exhaustivo, n=5 - dirigido y datos reales; el argumento ∀n es el paso restante. -- **Suficiencia de `f(1)≠f(2)` para `f` arbitraria**: verificada en los - catálogos; prueba general abierta. -- **El espacio afín completo n≥5** es inabordable (involuciones de S₂₀); - el espacio probado es el inducido + afín aleatorio. -- **T4**: prueba escrita, **revisión externa pendiente**; formalización - en Lean no disponible en el entorno. -- **Universos**: definiciones propias, declaradas; el espacio es abierto. -- **Datos**: ChEMBL (CC-BY 4.0), CodeSearchNet, UniProt, Pfam — citados; - muestras fijas por seed. - ---- - -## 10. Referencias (selección) - -- Weisfeiler, Leman (1968). *A reduction of a graph to a canonical form…* -- Morgan (1965); Rogers, Hahn (2010). *Extended-connectivity fingerprints.* -- Dvořák (2010); Dell, Arvind, Larsson (2018). *Homomorphisms and 1-WL.* -- Babai (2016). *Graph isomorphism in quasipolynomial time.* -- Xu et al. (2019). *How powerful are graph neural networks?* -- Morris et al. (2019). *Weisfeiler and Leman go neural.* -- Zamfirescu (1980). *Non-traceable 3-connected planar cubic graphs.* -- Lovász (1970). *Problem on vertex-transitive graphs.* - ---- - - ---- - -## 11. El laboratorio detrás de este resultado - -Este paper es un hilo de un **laboratorio de 169 EXP + SG-01/02/03** -(165 con `run.py`; **43 746** líneas; **~2,8 MB** de resultados -congelados) en siete arcos. Cada número está anclado a un -artefacto congelado, y un meta-experimento (**EXP-120**) verifica las -afirmaciones clave: **26/26 hitos**. - -| arco | rango | qué construyó | -|---|---|---| -| Fundacional | 000–010 | colapso de taxonomía **0.5876**; moléculas 3.00×; paridad Morgan **1.0000 vs 0.9973**; granularidad k\*=21→24 | -| Riemann | 011–019 | 2 001 052 ceros; JS **0.1350 vs 0.0161**; puente de Euler **0.16110 ⊃ 1/2π**; línea crítica **σ\*=0.50000**; negativos limpios | -| Aritmética/Álgebra/Física | 020–046 | r\* emergente (**0.8934**); WL discreto = Morgan (**0.8877 vs 0.8864**); cálculo estructural sin reglas; NS-3D verificado | -| Descubrimiento/Ontología | 047–079 | código real (129 cadenas / 119 anillos / 152 estrellas); **6/6 hipótesis de proteínas rechazadas por controles**; matemática emergente (λ=νn², ABC 6/6, cascada √5, límite Euler ~1.2); el tribunal | -| **T4** | 080–098 | 68/68 → 19 407 → **2 131 019/2 131 019**; prueba escrita; `refine_dual` 10.3× / 40.5%; banco de conjeturas | -| **Universos** | 099–120 | este paper: ley, caracterización, testigos, búsqueda autónoma, Z₃, aleatorio, k-FWL | -| **Universos v2** | 162–169 | multicapa (ley uniforme, grupo, escalera k\*), matriz universo×observador, hipergrafos (predicción), aridades, dual por aridad | - -**Patrones transversales**: congelar antes de interpretar · controles -negativos (una sola pasada del shuffle no es evidencia: varía 0.05–0.84) -· cinco bugs propios cazados y **registrados, no borrados** · cuatro -tipos de resultado: kinds → leyes → teoremas → universos. - -Mapa completo: [`paper/MAPA-DEL-LABORATORIO.md`](paper/MAPA-DEL-LABORATORIO.md). - - -## 12. El motor: cómo funciona y su potencia medida - -

- Cómo funciona: refinamiento iterativo 1-WL sobre un ejemplo real de 8 nodos -
El pipeline del motor: dato → grafo → label₀ → round → STOP → kinds; el ejemplo muestra las rondas 3 → 5 → 5 → 5 hasta la partición estable. -

- -

- La potencia del motor, en números reales -
La potencia medida: paridad con Morgan (AUC 0.9608 vs 0.9541), compresión 3.00× (moléculas) y 187.5× (código), refine_dual 10.3×, ahorro por normalización dual 40.5%, oráculo de universos 87/87, tests del motor 104/104, banco T4 2.13M. -

- -

- © 2026 Juri (cripto-bot) · preprint · licencia CC-BY-4.0 (atribución requerida).
- Este documento no reclama prioridad sobre problemas abiertos: reporta una caracterización verificada en un dominio acotado.
- Citar como: Argaña Silguero, J. (2026). GraphKind — Universes v2 [software y datos]. Zenodo. - 10.5281/zenodo.22747350 (concept DOI; v2.0.0: 10.5281/zenodo.22747351) · ver CITATION.cff.
-

diff --git a/graphkind/README.md b/graphkind/README.md deleted file mode 100644 index 771531a1f3ff4eeea21cc955a92d65ade4e6f3c2..0000000000000000000000000000000000000000 --- a/graphkind/README.md +++ /dev/null @@ -1,493 +0,0 @@ -

- GraphKind — Universes of color refinement -

- -

- CI - preprint - verifications - proof status -

- -

- Español · Page (ES) · Page (EN) · Paper · Proof · Reproduce -

- ---- - -## Abstract - -We classify the operators under which the **color refinement** (1-WL) -profile of a graph is invariant, inside a parametric family of -**observation universes** `(f, ι)` — `f` compresses neighborhood counts -and `ι` is an involution. The engine **proposed and verified** that the -color refinement partition is complement-invariant (call it **T4**; the -conjecture mechanism was human-built), verified it on **2,131,019 -exhaustive graphs** (n≤7, 100.0000%) plus -19,407 adversarial ones, and a **written proof** was produced -(injectivity of the neighborhood-multiset subtraction). Parameterizing -the universe, the data — not the authors — selected the **count law** -`T4 ⟺ f(1) ≠ f(2)` (34/34 and 102/102), and further probing produced a -**characterization**: - -$$ -T4(\iota, f)\ \text{holds} \iff \iota \in S_n \cdot K -\quad\text{and}\quad -\bigl(\iota\ \text{changes the pair} \implies f(1) \neq f(2)\bigr), -\qquad -K = \{\mathrm{id},\ \mathrm{comp\_dir},\ \mathrm{transp},\ \mathrm{comp\_transp}\} \cong \mathbb{Z}_2 \times \mathbb{Z}_2 . -$$ - -The **forward direction is proved** (count mechanism); the **converse is -verified** exhaustively in n=4 (96 exact survivors, zero outside), -targeted in n=5 (6,424 witnesses), and on real data (molecules 100/100, -CST 94/94). Changing the **type** of the invariant — partition → orbit → -distribution → observer — T4 dies in a deterministic Z₃ universe, dies -under process randomness, survives under object randomness, and is -**inherited by the whole k-FWL hierarchy** (≡ (k+1)-WL; 51/51). Every claim is -reproducible with one command, each verification carrying an `assert` -with the exact number. Limits are declared; five of our own bugs were -caught by controls and are documented, not deleted. - ---- - -## Contributions - -1. **T4, proposed and verified by the engine**: `CR_k(G) = CR_k(Ḡ)` as partitions - (not merely equal multisets of class sizes) — with a written proof. -2. **The count law** `f(1) ≠ f(2)`, **selected by the data** after two - human hypotheses were refuted by the table. -3. **The characterization** `Sₙ·K` with (⇐) proved and (⇒) verified; - the missing piece — **uniformity** — identified by falsification. -4. **The type change**: T4 across deterministic, dynamic, probabilistic - and observer universes. -5. **Method**: freeze-before-interpret, negative controls, and five own - bugs caught and recorded. - ---- - -## 1. The theorem (T4) - -Let `G = (V, E)` be a finite simple graph, `Ḡ` its complement, and -`CR_k(G)` the partition of `V` induced by round `k` of color refinement -with initial colors `f(type, degree)`. - -> **Theorem (EXP-086).** For every `G` and every `k ≥ 0`: -> $$CR_k(G) = CR_k(\bar G)$$ -> as partitions of the **same** vertex set `V` (color names differ; the -> classes are identical). -> -> **Corollary (T4).** The multisets of class sizes of the stable -> partitions of `CR(G)` and `CR(Ḡ)` coincide, and they coincide at every -> round. - -

- G and its complement share the same partition -

- -

- Real data: Q3 and its complement, colored by WL class — the same partition -
Real data: Q₃ and its complement, vertices colored by WL class — the partition is identical (T4). -

-

- T4 round by round: G and its complement, colored by WL class at k=0..3 -
Real data: the WL refinement round by round (k=0…3) — G and its complement keep the same classes at every level. -

- -**Proof (sketch).** *Base.* In `Ḡ`, `deg_Ḡ(v) = n−1−deg_G(v)`; since -`d ↦ n−1−d` is a bijection of degrees, the relation "same color" is the -same in `G` and `Ḡ`. *Step.* Assume `CR_k(G) = CR_k(Ḡ) =: P_k`. For -`v ∈ V`, the closed neighborhood in `Ḡ` is `N_Ḡ[v] = V ∖ N_G(v)`, and -its round-`k` color multiset is - -$$M'_k(v) = T_k - \bigl(M_k(v) - [\mathrm{color}_k(v)]\bigr), \qquad T_k := \text{total color multiset of } P_k .$$ - -Since `T_k` is **fixed**, the map `M_k(v) ↦ M'_k(v)` is **injective**: -`u, v` have the same closed-neighborhood multiset in `G` iff they do in -`Ḡ`. Because `color_{k+1}(v)` is a deterministic function of -`(color_k(v), M_k(v))`, the relation "same color" is preserved, hence -`CR_{k+1}(G) = CR_{k+1}(Ḡ)`. ∎ - -*Status*: written proof (one page), verified on 2,131,019 exhaustive -graphs (n≤7), 19,407 adversarial, and 688/688 compatibility pairs; -**external review pending**. Full text: -[`paper/PRUEBA-T4.md`](paper/PRUEBA-T4.md) · cycle: -[`paper/TEOREMA-UNIVERSOS.md`](paper/TEOREMA-UNIVERSOS.md). - ---- - -## 2. The count law - -In the standard universe with an involution that changes the connected -pair: - -$$ -T4\ \text{holds} \iff f(1) \neq f(2). -$$ - -**Mechanism.** In the complement, a vertex with **1** neighbor in a class -gets `|c|−1` (which may be **2**): if `f` collapses 1 and 2, the duality -dies. What `f` does with 3, 4, 5… is irrelevant. Verified **34/34** -(17 functions × 2 involutions, n≤6) and shielded **102/102** (formal -definition of dual-global, 6 involutions × 17 functions). - -

- The 34 universes of EXP-102: T4 holds iff f(1) != f(2) -
Real data: the 34 universes (17 functions × 2 involutions) — T4 holds exactly when f(1) ≠ f(2). -

- ---- - -## 3. The characterization - -

- The Klein group: two halves, two conditions -

- -**Forward direction (proved).** For `ι = σ∘s∘c`: - -| case | mechanism | condition | -|---|---|---| -| **σ** (relabel) | WL is isomorphism-invariant; the coloring transports bijectively | holds for **every** `f` | -| **s** (global in/out swap) | counts swap: `(in_D,out_D) → (out_D,in_D)`; the profile maps by `(f(a),f(b)) → (f(b),f(a))` | holds for **every** `f` | -| **c** (uniform complement) | counts map `m → |D|−m` (or `|D|−1−m`), a bijection | holds **iff** `f(1) ≠ f(2)` (counterexample at n=6 otherwise) | - -The non-obvious piece is **uniformity**: preserving the pair is *not* -enough if the action is not uniform (`flip_inc0` preserves the pair and -dies 0/24). Outside `Sₙ·K`, everything dies. - -**Converse (verified).** - -| camera | result | -|---|---| -| n=4, induced space, exhaustive (528 iotas × 4096 digraphs) | **96 exact survivors** (= 24·4), **zero** outside | -| n=5, targeted (8,160 iotas) | 7,680 with valid witness; the 480 without are uniform | -| outside the space (10,000 random affine) | **10,000/10,000** with witness | -| witness existence (6,424 non-uniform) | **6,424/6,424** valid witnesses | -| real data | molecules **100/100** · CST **94/94** | - -

- Real data: of the 528 induced iotas at n=4, exactly the 96 uniform ones survive -
Real data: of the 528 induced iotas at n=4, exactly the 96 uniform ones survive (= 24·4). -

- -**Autonomous search.** Given a language of 11 primitives + 3 combinators -(~400 recipes) and a rate/MDL criterion, the engine found that the best -**valid** witness is the `cycle` (**99.63%**, complexity 1) — better than -the human construction (97.8%). No valid recipe reaches 100%. - ---- - -## 4. From conjecture to theorem candidate - -

- From autonomous conjecture to theorem candidate -

- ---- - -## 5. The type change - -

- The invariant changes type -

- -

- Observer cascade: 26 to 0 -

- -| universe | invariant | T4 | evidence | -|---|---|---|---| -| standard | partition | ✅ holds (proved) | 2,131,019/2,131,019 | -| deterministic Z₃ | **orbit** (periods) | ❌ dies | max 52.4% (`maj`); 6 rules | -| random R1 (async WL) | **distribution** | ❌ dies | 204/1096 = 18.6% | -| random R2 (`G(n,p)` vs `G(n,1−p)`) | distribution | ✅ holds | exactly (complement bijects ensembles) | -| random R3 (random involutions) | **measure** | threshold = measure | 0/5000 uniform vs 96/528 induced | -| k-FWL hierarchy (≡ (k+1)-WL) | partition of k-tuples | ✅ inherited | 51/51 in k=1,2,3 | -| observer cascade (n≤7) | — | — | 26 → 0 (k=1 → k=2) | -| Rook vs Shrikhande | — | — | k=1 no, k=2 no, **k=3 yes** | - ---- - -## 6. Method - -- **Freeze before interpreting**: every experiment freezes - `results_frozen.json` first. -- **Negative controls**: the check that caught the false "proof" (52/104 - uniform failures) and the wrongly built Shrikhande - (`is_isomorphic = True`). -- **Five own bugs caught and recorded** (not deleted): - -| # | bug | fix | -|---|---|---| -| 1 | multiset of sizes (weak: C6 and 2·C3 share it) | colors | -| 2 | comparing colors across graphs | compare partitions | -| 3 | indices in the initial coloring | degrees + adjacencies | -| 4 | separated multisets (weak k-WL) | correlated pairs (= k-FWL) | -| 5 | wrongly built Shrikhande (it was the Rook twice) | `is_isomorphic` | - -**The method is part of the result.** - ---- - -## 7. Reproduce - -```bash -git clone https://github.com/cripto-bot/graphkind-universos-v2 -cd graphkind-universos-v2 -python3 -m venv .venv && .venv/bin/pip install -r requirements.txt -bash reproduce.sh # V1–V12 (~10-15 min) -bash reproduce.sh --rapido # V1, V3, V5, V8, V10, V11 (~3 min) -``` - -Every verification carries an **assert** with the exact number from the -paper: if anything does not match, it fails. CI runs the fast subset on -every push and the full suite on demand. - -| # | verification | assert | -|---|---|---| -| V1 | the law `f(1)≠f(2)` (17 f × 2 involutions, n≤6) | 34/34 | -| V2 | characterization n=4 exhaustive | 96 and 48 | -| V3 | T4_k complement-invariance (k-FWL) | 51/51 | -| V4 | observer cascade n≤7 | 26 → 0 | -| V5 | Rook vs Shrikhande (k-FWL; 3-WL std does NOT) | k*=3 | -| V6 | deterministic Z₃ | does not hold | -| V7 | random R1 | 204/1096 | -| V8 | R3 measure dependence | 96/528 | -| V9 | autonomous search | cycle 99.63% | -| V10 | hash certificate (12-hex == 64-hex) | no collisions | -| V11 | convergence certificate (stable == n+2) | OK | -| V12 | classification constant across graphs (n=4) | OK | - - ---- - -## 7b. Corrections (2026-09-13) - -Independent verification (EXP-159 of the lab) found a **naming error** and -two certificates were added: - -1. **k-FWL, not "k-WL"** (D-005). The kernel implemented in `codigo/wl.py` - is the **correlated** one (*folklore*, k-FWL), equivalent to - **(k+1)-WL**. The plain name "k-WL" is the standard variant (position- - separated multisets), which is strictly weaker: **standard 3-WL does - NOT separate Rook from Shrikhande**; 3-FWL (≡ 4-WL) does. The code, - docstrings and prints now say `k-FWL (≡ (k+1)-WL)`. V3/V5 are unchanged - numerically. -2. **V10 — hash certificate**: the 12-hex hash does not alter any - partition (12-hex partition == 64-hex partition over 74 graphs × 17 f). -3. **V11 — convergence certificate**: the refinement reaches its stable - partition within the n+2 cap (stable == fixed n+2 rounds over 1098 - graphs × 17 f); `wl_sym`/`wl_k_colors` now stop at convergence. -4. **V12 — classification scope**: `clasificar_involucion` classifies on - **one graph**; V12 verifies that the class is constant across all - graphs n=4 for the tested (ι, f). The universal statement remains the - open direction of the paper. - -The numerical results of the paper are **unchanged**; the naming and the -certificates are the corrections. - ---- - -## 7c. The universe arc (v2, EXP-162 → 169) - -The v2 adds the **universe arc** (multilayer, matrix, hypergraphs, -arities, dual), with its freezes in `resultados/` and **V13–V16** in -`codigo/verificaciones_v2.py`: - -| # | verification | assert | -|---|---|---| -| V13 | multilayer: total holds, **per-layer dies** in the canonical variant, channels hold | 4160/4160 · failures > 0 · 8320/8320 | -| V14 | 3-uniform hypergraphs: T4 holds | 6042/6042 (n≤5 + n=6 sample) | -| V15 | per-arity dual: partition + saving | 1024/1024 · 5120→3392 edges | -| V16 | mixed arities: per-arity **holds** (repair) | 1024/1024 | -| V17 | complement quotient (T4's price) | 52 graphs · 24 pairs (SG-01 n≤8: 6,168) | -| V18 | IR: IR_1 does not separate Rook/Shri, IR_2 does | i\*=2 | -| V19 | SG-04 certificate: n=10 exhaustive, no failures | 12,005,168 · 0 collisions | - - -

- Multilayer law -
The multilayer coherence law (EXP-162/163): total holds, per-layer dies in the canonical variant. -

- - -

- k* ladder -
The k\*(L) ladder is flat and corrects EXP-162's k\*=2. -

- -**Results**: (1) **multilayer** — the coherence law: total holds -(1298/1298, 1404/1404), per-layer dies only in the canonical variant -(6.9%/7.4%); the preserving group is exactly the uniform one; the `k*` -ladder is flat (corrects EXP-162's `k*=2`); (⇐) proved, (⇒) open. -(2) **matrix** — the frontier moves with the observer, not with typing. -(3) **hypergraphs** — prediction registered and correct (1831/1831). -(4) **arities** — the ladder holds; the per-arity transplant **fails** -(the law is of channels). (5) **per-arity dual** — assimilated: partition -100%, saving 14.37% vs 10.26%. - - -

- Matrix -
The frontier moves with the observer, not with typing. -

- - -

- Hypergraphs -
Prediction correct (1831/1831) and the arity transplant that fails. -

- - -

- Dual -
Per-arity dual: 14.37% saving with guaranteed partition. -

- - -

- Trajectory -
The refinement trajectory: T4 and the multilayer divergence. -

- - -

- Arities -
The arity ladder and the failing transplant. -

- -## 7d. The Holy Grail (SG-01→03) - -- **Completeness in the class**: the minimal family is **{WL, 2-WL, - 3-WL}** with **C_8 = 0** over **76,205,685 pairs** (n≤8); leave-one-out: - k-WL 3 does the work; the n=16 frontier (Rook/Shri) is separated only by - the full family. Freeze: `resultados/SG-01_results_frozen.json`. - -

- Frontier C_n -
The frontier curves per observer (SG-01/03, EXP-119). -

- -- **The price of T4**: the complete invariant is **not** - complement-invariant; the quotient `G~Ḡ` merges **6,168 pairs**. -- **Individualization**: **i\*=1** at n≤8 (13,597 graphs); **i\*=2** at - Rook/Shrikhande (IR_1 no, IR_2 yes). The IR↔k-WL lattice: at n≤9 the - complete ones collapse (vacuous equivalence); anchors A/B, C not - observed. Freezes: `SG-02`, `SG-03`. - -

- Holy Grail -
Completeness, T4's price and i\*. -

- -- **The multilayer proof** ships in `paper/PRUEBA-MULTICAPA.md` ((⇐) - proved, (⇒) open) and the **transversal patterns** + `DECISION_LOG` - (D-001→D-017) in `paper/DECISION_LOG.md`. - -## 7e. SG-04: the door (n=10 exhaustive) - -- **0 collisions** over **12,005,168** exhaustive n=10 graphs (KW3/IR1p, - 11.1 h) → the first incompleteness is **not at n=10**. -- Directed: 9 regular combos n=11–15 (cap 5,000) + 10 Cayley/Paley/Q4 - pairs → **0 failures**. -- The first known failure remains at **n=16** (Rook/Shri): separated by - **elementary descriptors** (SNFL, AUT, CICLOS, LOCAL, HOM2) + KF3/IR2p. - Freeze: `resultados/SG-04_results_frozen.json` (certificate V19). -- Registered correction: `geng -d 3` (separated) fails; it is `-d3`. - -## 8. Repository structure - -``` -paper/PAPER.md the paper (bilingual abstract, method, results, §12 v2 arc) -paper/TEOREMA-UNIVERSOS.md the full cycle EXP-099→119 -paper/PRUEBA-CARACTERIZACION.md the (⇐) proof and the status of (⇒) -codigo/universos.py the law inside the engine (t4_garantizado, oracle) -codigo/wl.py symmetric WL + correlated k-FWL (≡ (k+1)-WL) -codigo/verificaciones.py V1–V12 with asserts of the exact numbers -paper/PRUEBA-MULTICAPA.md (⇐) proved, (⇒) open (EXP-162) -paper/DECISION_LOG.md laboratory decisions D-001→D-017 -resultados/*.json original freezes (EXP-102..169 + SG-01..04) -resultados/atlas/*.json the atlas: 15 universes (EXP-105) -assets/*.svg figures -index.html · index.en.html presentation pages (ES/EN) -``` - ---- - -## 9. Limits and open problems - -- **(⇒) for all n: open.** Verified in n≤4 exhaustive, n=5 targeted, - and real data; the ∀n argument is the remaining step. -- **Sufficiency of `f(1)≠f(2)` for arbitrary `f`**: verified in the - catalogs; general proof open. -- **The full affine space n≥5** is intractable (involutions of S₂₀); the - tested space is the induced one plus random affine. -- **T4**: written proof, **external review pending**; Lean formalization - not available in the environment. -- **Universes**: our own definitions, declared; the space is open. -- **Data**: ChEMBL (CC-BY 4.0), CodeSearchNet, UniProt, Pfam — cited; - fixed samples by seed. - ---- - -## 10. References (selection) - -- Weisfeiler, Leman (1968). *A reduction of a graph to a canonical form…* -- Morgan (1965); Rogers, Hahn (2010). *Extended-connectivity fingerprints.* -- Dvořák (2010); Dell, Arvind, Larsson (2018). *Homomorphisms and 1-WL.* -- Babai (2016). *Graph isomorphism in quasipolynomial time.* -- Xu et al. (2019). *How powerful are graph neural networks?* -- Morris et al. (2019). *Weisfeiler and Leman go neural.* -- Zamfirescu (1980). *Non-traceable 3-connected planar cubic graphs.* -- Lovász (1970). *Problem on vertex-transitive graphs.* - ---- - - ---- - -## 11. The laboratory behind this result - -This paper is one thread of a **120-experiment laboratory** -(EXP-000 → EXP-120; **26,384** lines of `run.py`; **321 KB** of frozen -results) spanning six arcs. Every number here is anchored to a frozen -artifact, and a meta-experiment (**EXP-120**) verifies the laboratory's -key claims: **26/26 hits**. - -| arc | range | what it built | -|---|---|---| -| Foundational | 000–010 | taxonomy collapse **0.5876**; molecules 3.00×; parity with Morgan **1.0000 vs 0.9973**; granularity k\*=21→24 | -| Riemann | 011–019 | 2,001,052 zeros; JS **0.1350 vs 0.0161**; Euler bridge **0.16110 ⊃ 1/2π**; critical line **σ\*=0.50000**; clean negatives | -| Arithmetic/Algebra/Physics | 020–046 | r\* emerged (**0.8934**); discrete WL = Morgan (**0.8877 vs 0.8864**); structural calculus with no rules; NS-3D verified | -| Discovery/Ontology | 047–079 | real code (129 chains / 119 rings / 152 stars); **6/6 protein hypotheses rejected by controls**; emergent math (λ=νn², ABC 6/6, cascade √5, Euler limit ~1.2); the tribunal | -| **T4** | 080–098 | 68/68 → 19,407 → **2,131,019/2,131,019**; written proof; `refine_dual` 10.3× / 40.5%; conjecture bank | -| **Universes** | 099–120 | this paper: law, characterization, witnesses, autonomous search, Z₃, random, k-FWL | -| **Universes v2** | 162–169 | multilayer (uniform law, group, k\* ladder), universe×observer matrix, hypergraphs (prediction), arities, arity dual | - -**Transversal patterns**: freeze before interpreting · negative controls -(single-pass shuffle is not evidence: it varies 0.05–0.84) · five of our -own bugs caught and **recorded, not deleted** · four types of result: -kinds → laws → theorems → universes. - -Full map: [`paper/MAPA-DEL-LABORATORIO.md`](paper/MAPA-DEL-LABORATORIO.md). - - -## 12. The engine: how it works and its measured power - -

- How it works: iterative 1-WL refinement on a real 8-node example -
The engine pipeline: data → graph → label₀ → round → STOP → kinds; the example shows rounds 3 → 5 → 5 → 5 up to the stable partition. -

- -

- The engine's power, in real numbers -
Measured power: parity with Morgan (AUC 0.9608 vs 0.9541), compression 3.00× (molecules) and 187.5× (code), refine_dual 10.3×, dual-normalization saving 40.5%, universe oracle 87/87, engine tests 104/104, T4 bank 2.13M. -

- -

- © 2026 Juri (cripto-bot) · preprint · CC-BY-4.0 license (attribution required).
- This document claims no priority over open problems: it reports a verified characterization in a bounded domain.
- Cite as: Argaña Silguero, J. (2026). GraphKind — Universes v2 [software and data]. Zenodo. - 10.5281/zenodo.22747350 (concept DOI; v2.0.0: 10.5281/zenodo.22747351) · see CITATION.cff.
-

diff --git a/graphkind/assets/aridades.svg b/graphkind/assets/aridades.svg deleted file mode 100644 index f1d6769ce67f6c22d3638136927187af5adffe86..0000000000000000000000000000000000000000 --- a/graphkind/assets/aridades.svg +++ /dev/null @@ -1,2606 +0,0 @@ - - - - - - - - 2026-09-14T05:19:22.938745 - image/svg+xml - - - Matplotlib v3.11.1, https://matplotlib.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/graphkind/assets/banner.png b/graphkind/assets/banner.png deleted file mode 100644 index 81a365816e824ab4f86d7e01f4daae5cc9a276a2..0000000000000000000000000000000000000000 --- a/graphkind/assets/banner.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c19e4aa5de2625bb17cad708d6898992d527b7fccf92f5ee076e9117666af122 -size 84140 diff --git a/graphkind/assets/banner.svg b/graphkind/assets/banner.svg deleted file mode 100644 index 0e9e0acc130e437b6029cd99711eeac8c71000db..0000000000000000000000000000000000000000 --- a/graphkind/assets/banner.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - GRAPHKIND · PREPRINT · 2026 - On the universes of color refinement - When a structural invariant survives a change of observation. - T4(ι, f) holds ⟺ ι ∈ Sₙ·K and (ι changes the pair ⟹ f(1) ≠ f(2)) - diff --git a/graphkind/assets/caracterizacion.svg b/graphkind/assets/caracterizacion.svg deleted file mode 100644 index e8213b6b0ec921c3438be5debd3803335e9f2476..0000000000000000000000000000000000000000 --- a/graphkind/assets/caracterizacion.svg +++ /dev/null @@ -1,1223 +0,0 @@ - - - - - - - - 2026-09-10T20:17:10.046491 - image/svg+xml - - - Matplotlib v3.11.1, https://matplotlib.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/graphkind/assets/cascada.svg b/graphkind/assets/cascada.svg deleted file mode 100644 index 362c83a295cdb4bbdcc9f09df533768a50e5d9e8..0000000000000000000000000000000000000000 --- a/graphkind/assets/cascada.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - 26 - 0 - k = 1 - k = 2 - k = 3 - - - - - 26 1-WL-equivalent pairs - 0: 2-WL resolves them all - C6 vs 2·C3: k*=2 - Rook vs Shrikhande: k*=3 - diff --git a/graphkind/assets/dual-aridad.svg b/graphkind/assets/dual-aridad.svg deleted file mode 100644 index 13f11a63b245faec044f2249356e13b991be09e1..0000000000000000000000000000000000000000 --- a/graphkind/assets/dual-aridad.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - Per-arity dual: the law becomes capability - choose per arity: E_a or E_a^c (the smaller) ⟹ partition preserved - - original - 1 749 801 - 100% - - total dual - 1 570 281 - saving 10.26% - - per-arity dual - 1 498 382 - saving 14.37% - validation: 60 000 cases · partition 100% · extra saving vs total: +4.11% - diff --git a/graphkind/assets/escalera-kstar.svg b/graphkind/assets/escalera-kstar.svg deleted file mode 100644 index 6e5407e9154cf5f650693feab15ffa639f486722..0000000000000000000000000000000000000000 --- a/graphkind/assets/escalera-kstar.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - The k*(L) ladder is flat - k*(L) = min{ k : #classes(F_k) = #classes(iso) } - - - L = 1 - - 1 - L = 2 - - 1 - L = 3 - - 1 - L = 4 - - 1 - L = 5 - - 1 - - k* = 2 - corpora: representatives n≤4 (123 / 1 349 / 14 751 / 161 621 classes) - full labelings n≤3 (20 / 120 / 816 / 5 984) — both flat - correction (EXP-164): EXP-162's k*=2 was the degenerate k=1 (initial colors, no refinement) - diff --git a/graphkind/assets/frontera-Cn.svg b/graphkind/assets/frontera-Cn.svg deleted file mode 100644 index 1d7160fe3c4cee466b8ddda71409a67f3a790d58..0000000000000000000000000000000000000000 --- a/graphkind/assets/frontera-Cn.svg +++ /dev/null @@ -1,3044 +0,0 @@ - - - - - - - - 2026-09-14T05:19:22.148806 - image/svg+xml - - - Matplotlib v3.11.1, https://matplotlib.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/graphkind/assets/g-vs-gbar.svg b/graphkind/assets/g-vs-gbar.svg deleted file mode 100644 index 853844867836b64038b99a63a2a94d688c5737ab..0000000000000000000000000000000000000000 --- a/graphkind/assets/g-vs-gbar.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - G - ⟶ - complement - - - - - - - - - - - Ḡ - I(G)=I(Ḡ) - diff --git a/graphkind/assets/hipergrafos-aridades.svg b/graphkind/assets/hipergrafos-aridades.svg deleted file mode 100644 index 4e8f6d3d7a0a1062320ec87106015b287edd9925..0000000000000000000000000000000000000000 --- a/graphkind/assets/hipergrafos-aridades.svg +++ /dev/null @@ -1,29 +0,0 @@ - - - - Hypergraphs: the map predicts, and the arity transplant fails - E ⊆ C(V,k) · E^c = C(V,k) ∖ E · M'(v) = T_v − M(v) (injective) ⟹ T4 lives - prediction registered before measuring (3-uniform hypergraphs) - - PREDICTED - T4 lives - MEASURED - 1831/1831 (n≤5 + sample n=6) - - ARITY LADDER — T4 lives - k=3 - 34/34 - - k=4 - 156/156 - - k=5 - 7/7 - - MIXED ARITIES {2,3}: the channel-law transplant FAILS - total complement: T4 lives 100% - per-arity complement: ALSO lives 1038/1038 (both variants) - mechanism: per-arity messages have different types (single colors vs pairs) — - the refinement repairs the round-0 degree-multiset fusion (261 000 cases, 0 witnesses) - the law is of CHANNELS, not of every decomposition - diff --git a/graphkind/assets/klein.svg b/graphkind/assets/klein.svg deleted file mode 100644 index 7853e149a6c78b911bad78ca27540d2321e51680..0000000000000000000000000000000000000000 --- a/graphkind/assets/klein.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - id - swap no · comp no - - transp - swap yes · comp no - - comp_dir - swap no · comp yes - - comp_transp - swap yes · comp yes - - - hold for every f - - hold ⟺ f(1) ≠ f(2) - Uniformity binds the two halves: outside K, everything dies (even if it preserves the pair). - diff --git a/graphkind/assets/matriz-universo-observador.svg b/graphkind/assets/matriz-universo-observador.svg deleted file mode 100644 index a667038287c70fb81110d02b2fd7c28d0aa29f36..0000000000000000000000000000000000000000 --- a/graphkind/assets/matriz-universo-observador.svg +++ /dev/null @@ -1,104 +0,0 @@ - - - - Universe × observer — where the frontier lives - WL - KW2 - KW3 - KF2 - KF3 - IR1p - IR2p - standard - - 3900 - - 3900 - - 0 - - 0 - - 0 - - 0 - - 0 - typed (n≤6) - - 12 - - 12 - - 0 - - — - - — - - 0 - - — - multilayer - - k*=1 - - — - - — - - — - - — - - — - - — - directed - - T4 ✓ - - N/A - - N/A - - N/A - - N/A - - N/A - - N/A - Z₃ - - T4 ✗ - - N/A - - N/A - - N/A - - N/A - - N/A - - N/A - R1 - - T4 ✗ - - N/A - - N/A - - N/A - - N/A - - N/A - - N/A - frontier (collisions / n_min): moves with the OBSERVER (WL/KW2 n_min=6; KW3/IR1p ≥7) - does NOT move with typing (typed row = standard row in n_min) · N/A = machinery not in the engine (declared) - diff --git a/graphkind/assets/motor-como-funciona.png b/graphkind/assets/motor-como-funciona.png deleted file mode 100644 index c19f91fd5b3f03efeea1dbe1bfe7a70ae845f3ec..0000000000000000000000000000000000000000 --- a/graphkind/assets/motor-como-funciona.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1377d16ed08be70eb17630fdc0961969ce8c458f3fd19017dffdae655da8bd07 -size 201671 diff --git a/graphkind/assets/motor-como-funciona.svg b/graphkind/assets/motor-como-funciona.svg deleted file mode 100644 index 67eefcfc949f1cd51e4005df9d58ee0417a4cf69..0000000000000000000000000000000000000000 --- a/graphkind/assets/motor-como-funciona.svg +++ /dev/null @@ -1,2429 +0,0 @@ - - - - - - - - 2026-09-14T08:08:56.413144 - image/svg+xml - - - Matplotlib v3.11.1, https://matplotlib.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/graphkind/assets/motor-potencia.svg b/graphkind/assets/motor-potencia.svg deleted file mode 100644 index ef07f18a622879d0928e874edfe8e2ae69d9ced2..0000000000000000000000000000000000000000 --- a/graphkind/assets/motor-potencia.svg +++ /dev/null @@ -1,2549 +0,0 @@ - - - - - - - - 2026-09-14T08:08:56.682494 - image/svg+xml - - - Matplotlib v3.11.1, https://matplotlib.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/graphkind/assets/multicapa-ley.png b/graphkind/assets/multicapa-ley.png deleted file mode 100644 index 692c8fe21a32d115a86d80aa83f7a96b73737e7f..0000000000000000000000000000000000000000 --- a/graphkind/assets/multicapa-ley.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a25ad8fdcdc7dcf807cbef2652b0bb87f60bb71d4c6e1b56e7cacd22f7aa7e59 -size 130798 diff --git a/graphkind/assets/multicapa-ley.svg b/graphkind/assets/multicapa-ley.svg deleted file mode 100644 index a91d52e295b43da0498fb092847d86479745235c..0000000000000000000000000000000000000000 --- a/graphkind/assets/multicapa-ley.svg +++ /dev/null @@ -1,29 +0,0 @@ - - - - Multilayer T4 — the coherence law - ct+1(v) = H( c_t(v) | ⊔ℓ { c_t(w) : w ∈ N_ℓ(v) } ) - joint refinement — canonical: multiset over channels · ordered: tuple - - TOTAL complement - E_ℓ → E_ℓ^c ∀ℓ - T4 lives - 1298/1298 (L=2) - 1404/1404 (L=3) - - PER-LAYER complement - E_ℓ → E_ℓ^c (one ℓ) - T4 dies (canonical) - 90/1298 = 6.9% - 104/1404 = 7.4% - - CHANNEL permutation - π ∈ S_L - T4 lives - partition blind - to channel order - T4(ι) lives ⟺ ι acts uniformly on the channels - canonical preserving group: exactly U = {∅, all} × S_L → 4/4 (L=2), 12/12 (L=3), group closure ✓ - ordered variant: the whole group preserves — the group is relative to the observation - (⇐) proved: the same bijection M_ℓ ↦ T_ℓ − M_ℓ per layer · (⇒) open - diff --git a/graphkind/assets/pipeline.svg b/graphkind/assets/pipeline.svg deleted file mode 100644 index f48f70e9bf3a95e5e45535713b6b11799bdf6bfd..0000000000000000000000000000000000000000 --- a/graphkind/assets/pipeline.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - From autonomous conjecture to theorem candidate — every step with evidence - - - Blind conjecture - bank - T4: 68/68 - - - Massive - verification - 2,131,019 - - - Written - proof - EXP-086 - - - Count axis - 17 f × 2 ι - 34/34 - - - Law - f(1)≠f(2) - 102/102 - - - Character. - Sₙ·K - 96 exact - - - - - - - - then: universes (Z₃ · random · k-FWL) — where T4 survives, where it dies, and the type of theorem it becomes - - diff --git a/graphkind/assets/santo-grial.png b/graphkind/assets/santo-grial.png deleted file mode 100644 index 2b0bbdef7f2ddbebfe0c34f4eed190215e8991c2..0000000000000000000000000000000000000000 --- a/graphkind/assets/santo-grial.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:16e80c97dd58e5cd5c7e6a505424f09393aa6d7f9b913c6e2bb43295cc27f4d7 -size 149636 diff --git a/graphkind/assets/santo-grial.svg b/graphkind/assets/santo-grial.svg deleted file mode 100644 index 11bd057d46105dc2d5be75be4f196c71f6841ddb..0000000000000000000000000000000000000000 --- a/graphkind/assets/santo-grial.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - The Holy Grail: completeness, its price, and i* - F3 = {1-WL, 2-WL, 3-WL} · C_n(I) = collisions / pairs - - COMPLETENESS (n≤8) - C_8 = 0 - 76 205 685 pairs - leave-one-out: 3-WL - does the work (350 without it) - - T4's PRICE - 6 168 pairs - the quotient G ~ Ḡ merges them - 10 self-complementary (n≤8) - v2 n≤5 analogue: 24 pairs - - INDIVIDUALIZATION - i* = 1 - 13 597 graphs (n≤8) - i* = 2 at Rook/Shri - IR_1 ✗ IR_2 ✓ - the complete invariant is NOT complement-invariant — that is exactly the information T4 describes - i*(G) = min{ k : the pointed signature of G is unique in its class } - lattice (n≤9): all complete invariants collapse (vacuous equivalence); WL = 2-WL; - anchors: IR_1 fails where 3-WL fails, IR_2 separates where 3-FWL/4-WL separates (C not observed) - diff --git a/graphkind/assets/t4-evolucion.svg b/graphkind/assets/t4-evolucion.svg deleted file mode 100644 index c5a8710ef9e014ca91edd5b27dde9c7cd0235e2c..0000000000000000000000000000000000000000 --- a/graphkind/assets/t4-evolucion.svg +++ /dev/null @@ -1,3020 +0,0 @@ - - - - - - - - 2026-09-13T22:36:17.766979 - image/svg+xml - - - Matplotlib v3.11.1, https://matplotlib.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/graphkind/assets/t4-particion.png b/graphkind/assets/t4-particion.png deleted file mode 100644 index a230447081d6a5beaf2792665b37392c4cb51026..0000000000000000000000000000000000000000 --- a/graphkind/assets/t4-particion.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6af14c3e3dbae039f62ae3a7151bdc25e6a2308b0bfd465b0577754dc6440e6d -size 134248 diff --git a/graphkind/assets/t4-particion.svg b/graphkind/assets/t4-particion.svg deleted file mode 100644 index b8f2673cce7f0757024c824922471edfec31c4bd..0000000000000000000000000000000000000000 --- a/graphkind/assets/t4-particion.svg +++ /dev/null @@ -1,1035 +0,0 @@ - - - - - - - - 2026-09-13T22:36:17.486347 - image/svg+xml - - - Matplotlib v3.11.1, https://matplotlib.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/graphkind/assets/trayectoria-refinamiento.svg b/graphkind/assets/trayectoria-refinamiento.svg deleted file mode 100644 index 46c19b363118eee8431260f052b40d1a20c9a193..0000000000000000000000000000000000000000 --- a/graphkind/assets/trayectoria-refinamiento.svg +++ /dev/null @@ -1,2046 +0,0 @@ - - - - - - - - 2026-09-14T05:19:22.625353 - image/svg+xml - - - Matplotlib v3.11.1, https://matplotlib.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/graphkind/assets/universos-mapa.png b/graphkind/assets/universos-mapa.png deleted file mode 100644 index fe9686f14ecffee1d45ff63ec875e62896656b37..0000000000000000000000000000000000000000 --- a/graphkind/assets/universos-mapa.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:88b73d8d511c6401b45dbb633dbfe6aa998696f9492cd81ef701d0e5c1ec84e0 -size 178351 diff --git a/graphkind/assets/universos-mapa.svg b/graphkind/assets/universos-mapa.svg deleted file mode 100644 index 5ea5b7ec124a394a6626d7f83b7b68b3a2ea4a2b..0000000000000000000000000000000000000000 --- a/graphkind/assets/universos-mapa.svg +++ /dev/null @@ -1,2073 +0,0 @@ - - - - - - - - 2026-09-10T20:17:09.894388 - image/svg+xml - - - Matplotlib v3.11.1, https://matplotlib.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/graphkind/assets/universos.png b/graphkind/assets/universos.png deleted file mode 100644 index e205a69cfd277592d0cfa4a66024822f682a64d9..0000000000000000000000000000000000000000 --- a/graphkind/assets/universos.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5679db12774aaaceca023b85a60a56a84e4777942e2ab3b376773ec809b168ff -size 84212 diff --git a/graphkind/assets/universos.svg b/graphkind/assets/universos.svg deleted file mode 100644 index a3688f4d539e9d649104221432ac8d00f472566d..0000000000000000000000000000000000000000 --- a/graphkind/assets/universos.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - The invariant changes type — and T4 changes mathematical category - - - - Standard - partition - - - - ✓ holds (proved) - - - - Z₃ deterministic - orbit (periods) - - - - ✗ dies (max 52.4%) - - - - Random - distribution - - ✗ process (18.6%) - ✓ object (almost surely) - - - - k-FWL hierarchy (≡ (k+1)-WL) - stronger observers - - - - - - ✓ T4_k 51/51 - cascade 26 → 0 - diff --git a/graphkind/codigo/hipergrafo.py b/graphkind/codigo/hipergrafo.py deleted file mode 100644 index 59b4e00c51a98d5f1eae94585905de4107871c73..0000000000000000000000000000000000000000 --- a/graphkind/codigo/hipergrafo.py +++ /dev/null @@ -1,158 +0,0 @@ -"""Hipergrafos (v2): k-uniforme, aridades mezcladas y dual — autocontenido. - -- `refinar_k_uniforme`, `complemento_k_uniforme`, `t4_k_uniforme`. -- `refinar_mezclado` (canónica/ordenada), `complemento_total_mezclado`, - `complemento_aridad`, `t4_mezclado`. -- `refine_dual_mezclado`: elige el lado ralo POR ARIDAD (EXP-168/169: - el refinamiento repara la incoherencia; partición garantizada en la - clase medida). -""" - -import hashlib -from collections import Counter -from itertools import combinations - - -def _h(s): - return hashlib.sha256(s.encode()).hexdigest()[:12] - - -def _norm(n, aristas, k): - out = set() - for e in aristas: - e = tuple(sorted(e)) - if len(e) != k or len(set(e)) != k: - raise ValueError(f"aristas de {k} distintos") - if any(not (0 <= v < n) for v in e): - raise ValueError("fuera de rango") - out.add(e) - return sorted(out) - - -def _links(n, aristas, k): - link = {v: [] for v in range(n)} - for e in aristas: - for v in e: - link[v].append(tuple(x for x in e if x != v)) - return link - - -def _part(colors): - cl = {} - for v, c in colors.items(): - cl.setdefault(c, set()).add(v) - return (frozenset(frozenset(s) for s in cl.values()), - tuple(sorted(colors.values()))) - - -def refinar_k_uniforme(n, aristas, k): - aristas = _norm(n, aristas, k) - link = _links(n, aristas, k) - colors = {v: _h(f"g|{len(link[v])}") for v in range(n)} - prev = None - for _ in range(n + 2): - nuevos = {} - for v in range(n): - msgs = sorted(tuple(sorted(colors[u] for u in S)) - for S in link[v]) - nuevos[v] = _h(f"{colors[v]}|" + ",".join("+".join(m) - for m in msgs)) - colors = nuevos - p = tuple(sorted(Counter(colors.values()).values())) - if p == prev: - break - prev = p - return _part(colors) - - -def complemento_k_uniforme(n, k, aristas): - todos = {tuple(sorted(t)) for t in combinations(range(n), k)} - return sorted(todos - {tuple(sorted(e)) for e in aristas}) - - -def t4_k_uniforme(n, k, aristas): - p1, _ = refinar_k_uniforme(n, aristas, k) - p2, _ = refinar_k_uniforme(n, complemento_k_uniforme(n, k, aristas), k) - return p1 == p2 - - -def _msg(colors, link_v): - return tuple(sorted(tuple(sorted(colors[u] for u in S)) - for S in link_v)) - - -def refinar_mezclado(n, e2, e3, variante="canonica"): - if variante not in ("canonica", "ordenada"): - raise ValueError("variante ∈ {'canonica','ordenada'}") - e2 = _norm(n, e2, 2) - e3 = _norm(n, e3, 3) - l2 = _links(n, e2, 2) - l3 = _links(n, e3, 3) - if variante == "ordenada": - colors = {v: _h(f"g|{len(l2[v])}|{len(l3[v])}") for v in range(n)} - else: - colors = {v: _h(",".join(sorted([str(len(l2[v])), - str(len(l3[v]))]))) - for v in range(n)} - prev = None - for _ in range(n + 2): - nuevos = {} - for v in range(n): - m2 = _msg(colors, l2[v]) - m3 = _msg(colors, l3[v]) - msg = f"{m2}|{m3}" if variante == "ordenada" else \ - ",".join(str(x) for x in sorted([m2, m3])) - nuevos[v] = _h(f"{colors[v]}|{msg}") - colors = nuevos - p = tuple(sorted(Counter(colors.values()).values())) - if p == prev: - break - prev = p - return _part(colors) - - -def complemento_total_mezclado(n, e2, e3): - return (complemento_k_uniforme(n, 2, e2), - complemento_k_uniforme(n, 3, e3)) - - -def complemento_aridad(n, e2, e3, aridad): - if aridad == 2: - return complemento_k_uniforme(n, 2, e2), e3 - if aridad == 3: - return e2, complemento_k_uniforme(n, 3, e3) - raise ValueError("aridad ∈ {2,3}") - - -def t4_mezclado(n, e2, e3, dualidad="total", variante="canonica"): - if dualidad == "total": - e2p, e3p = complemento_total_mezclado(n, e2, e3) - elif dualidad == "aridad2": - e2p, e3p = complemento_aridad(n, e2, e3, 2) - elif dualidad == "aridad3": - e2p, e3p = complemento_aridad(n, e2, e3, 3) - else: - raise ValueError("dualidad ∈ {total, aridad2, aridad3}") - p1, _ = refinar_mezclado(n, e2, e3, variante) - p2, _ = refinar_mezclado(n, e2p, e3p, variante) - return p1 == p2 - - -def _cuenta(e): - return len({tuple(sorted(x)) for x in e}) - - -def refine_dual_mezclado(n, e2, e3, variante="canonica"): - """Elige el lado ralo POR ARIDAD; devuelve (particion, lados).""" - c2 = complemento_k_uniforme(n, 2, e2) - c3 = complemento_k_uniforme(n, 3, e3) - if _cuenta(e2) <= _cuenta(c2): - e2e, l2 = e2, "e2" - else: - e2e, l2 = c2, "e2bar" - if _cuenta(e3) <= _cuenta(c3): - e3e, l3 = e3, "e3" - else: - e3e, l3 = c3, "e3bar" - p, _ = refinar_mezclado(n, e2e, e3e, variante) - return p, (l2, l3) diff --git a/graphkind/codigo/individualizacion.py b/graphkind/codigo/individualizacion.py deleted file mode 100644 index 115e751c0f4da31fa854328506bd7b39f228f636..0000000000000000000000000000000000000000 --- a/graphkind/codigo/individualizacion.py +++ /dev/null @@ -1,60 +0,0 @@ -"""Individualización (v2): IR_k en dos modos — autocontenido. - -- `individualizar_refinar(n, E, S)`: marcador canónico `IND` (sin id de - vértice) + refinamiento a convergencia → firma (multiset de colores). -- `IR_k(n, E, k, modo)`: invariante con cada k-subconjunto individualizado; - `"peor"` = soporte (sin multiplicidades, primario), `"multiset"` = con - multiplicidades. - -Hallazgo SG-02/SG-03: IR_1 NO separa Rook de Shrikhande (y falla donde -falla 3-WL); IR_2 SÍ (se comporta como 3-FWL ≡ 4-WL). -""" - -import hashlib -from collections import Counter -from itertools import combinations - - -def _h(s): - return hashlib.sha256(s.encode()).hexdigest()[:12] - - -def _adj(n, E): - d = {v: set() for v in range(n)} - for a, b in E: - d[a].add(b) - d[b].add(a) - return d - - -def individualizar_refinar(n, E, S): - adj = _adj(n, E) - colors = {v: _h("IND" if v in S else f"g|{len(adj[v])}") - for v in range(n)} - prev = None - for _ in range(n + 2): - nuevos = {} - for v in range(n): - msg = ",".join(sorted(colors[u] for u in adj[v])) - nuevos[v] = _h(f"{colors[v]}|{msg}") - colors = nuevos - p = tuple(sorted(Counter(colors.values()).values())) - if p == prev: - break - prev = p - return tuple(sorted(colors.values())) - - -def IR_k(n, E, k=1, modo="peor"): - if modo not in ("peor", "multiset"): - raise ValueError("modo ∈ {'peor','multiset'}") - if k == 1: - casos = [individualizar_refinar(n, E, {v}) for v in range(n)] - elif k == 2: - casos = [individualizar_refinar(n, E, set(p)) - for p in combinations(range(n), 2)] - else: - raise ValueError("k ∈ {1,2}") - if modo == "peor": - return frozenset(casos) - return tuple(sorted(casos)) diff --git a/graphkind/codigo/multicapa.py b/graphkind/codigo/multicapa.py deleted file mode 100644 index 0e661e2a229846be9854a62684d3ca10723ddac2..0000000000000000000000000000000000000000 --- a/graphkind/codigo/multicapa.py +++ /dev/null @@ -1,90 +0,0 @@ -"""Multicapa (v2): refinamiento conjunto y tres dualidades — autocontenido. - -- `refinar_conjunto(n, capas, variante)`: 1-WL conjunto de (V, E_1..E_L) - en variantes "ordenada" (capas etiquetadas) y "canonica" (S_L-invariante). -- `complemento_total`, `complemento_capa`, `complemento_canales`. -- `t4`: perfil + partición fuerte. - -Ley (EXP-162/163): T4 vive con el complemento TOTAL (uniforme); con el -complemento POR CAPA muere en la variante canónica (coherencia -multicanal); las permutaciones de canales preservan (la partición es -ciega al orden). -""" - -import hashlib -from collections import Counter -from itertools import combinations - - -def _h(s): - return hashlib.sha256(s.encode()).hexdigest()[:12] - - -def _adj(n, E): - d = {v: set() for v in range(n)} - for a, b in E: - d[a].add(b) - d[b].add(a) - return d - - -def refinar_conjunto(n, capas, variante="canonica"): - if variante not in ("ordenada", "canonica"): - raise ValueError("variante ∈ {'ordenada','canonica'}") - adj = [_adj(n, E) for E in capas] - L = len(capas) - if variante == "ordenada": - colors = {v: _h("|".join(str(len(adj[l][v])) - for l in range(L))) for v in range(n)} - else: - colors = {v: _h(",".join(sorted(str(len(adj[l][v])) - for l in range(L)))) - for v in range(n)} - prev = None - for _ in range(n + 2): - nuevos = {} - for v in range(n): - if variante == "ordenada": - datos = "|".join( - ",".join(sorted(colors[u] for u in adj[l][v])) - for l in range(L)) - else: - por = [tuple(sorted(colors[u] for u in adj[l][v])) - for l in range(L)] - datos = ";".join(",".join(x) for x in sorted(por)) - nuevos[v] = _h(f"{colors[v]}|{datos}") - colors = nuevos - part = tuple(sorted(Counter(colors.values()).values())) - if part == prev: - break - prev = part - clases = {} - for v, c in colors.items(): - clases.setdefault(c, set()).add(v) - particion = frozenset(frozenset(s) for s in clases.values()) - firma = tuple(sorted(colors.values())) - return firma, colors, particion - - -def complemento_total(n, capas): - todas = {tuple(sorted(p)) for p in combinations(range(n), 2)} - return [sorted(todas - {tuple(sorted(e)) for e in E}) for E in capas] - - -def complemento_capa(n, capas, ell): - c = complemento_total(n, capas) - return [c[i] if i == ell else capas[i] for i in range(len(capas))] - - -def complemento_canales(capas, pi): - if sorted(pi) != list(range(len(capas))): - raise ValueError("pi debe ser permutación") - return [capas[i] for i in pi] - - -def t4(n, capas, capas_iota, variante="canonica"): - _, c1, p1 = refinar_conjunto(n, capas, variante) - _, c2, p2 = refinar_conjunto(n, capas_iota, variante) - perfil = lambda c: tuple(sorted(Counter(c.values()).values())) # noqa: E731 - return {"perfil_igual": perfil(c1) == perfil(c2), - "particion_igual": p1 == p2} diff --git a/graphkind/codigo/universos.py b/graphkind/codigo/universos.py deleted file mode 100644 index 4a0dc7324dad63946be67065d3584534607c81fa..0000000000000000000000000000000000000000 --- a/graphkind/codigo/universos.py +++ /dev/null @@ -1,134 +0,0 @@ -"""Universos de observación: la ley de T4 y su certificación. - -Resultado del ciclo EXP-099..107 (validado 102/102 en EXP-105 y -re-validado en EXP-107): - - LEY: T4(ι, f) VIVE ⟺ ι es TRIVIAL ∨ (ι es DUAL ∧ f(1) ≠ f(2)) - -donde: - - f: N→N comprime los conteos de vecinos por color en el refinamiento; - - ι: una involución G→G (complemento, relabel, …); - - TRIVIAL: g = identidad (relabels: el conteo no cambia); - - DUAL: existen σ y g (inyectiva, g≠id) que transportan los conteos - de la vecindad (el complemento); - - LOCAL: no existe tal (σ, g) (cambios locales de aristas). - -PODER: - 1. PREDECIR sin enumerar: dado un universo (f, ι) nuevo, el oráculo - dice si T4 valdrá, sin correr millones de grafos. - 2. DISEÑAR representaciones seguras: la ley dice qué compresiones de - conteo preservan la dualidad (f(1)≠f(2)) y cuáles la rompen. - 3. CERTIFICAR: si un universo con (dual, f(1)≠f(2)) falla el test, - es un BUG del código, no matemática. - 4. HABILITAR el truco del lado ralo (refine_dual) solo donde T4 vive. -""" - - -def t4_garantizado(f1, f2, clase: str) -> bool: - """La ley pura: ¿el universo admite T4 según su clase y f(1), f(2)? - - >>> t4_garantizado(1, 2, "dual") # f distingue 1 de 2 - True - >>> t4_garantizado(1, 1, "dual") # colapsa 1 y 2 - False - >>> t4_garantizado(1, 1, "trivial") # los relabels viven siempre - True - >>> t4_garantizado(0, 1, "local") # ninguna f la salva - False - """ - if clase == "trivial": - return True - if clase == "dual": - return f1 != f2 - return False # local - - -def _clases(labels): - from collections import defaultdict - by = defaultdict(set) - for v, c in enumerate(labels): - by[c].add(v) - return by - - -def clasificar_involucion(n: int, adj, iota, sigma=None, f=None) -> str: - """Clasifica ι sobre UN grafo: "trivial" | "dual" | "local". - - adj: lista de bitmasks (vecindad de cada vértice). - iota: función (n, adj) -> adj' (la involución). - sigma: biyección V→V declarada (default: identidad). - f: la compresión de conteos usada para el refinamiento (default: id). - - Aplica la definición formal: matching de clases inducido por σ, - conteos (m, m') por (clase, vértice), y g bien definida + inyectiva. - """ - from collections import Counter, defaultdict - import hashlib - - def h(s): - return hashlib.sha256(s.encode()).hexdigest()[:12] - - if f is None: - f = lambda k: k # noqa: E731 - if sigma is None: - sigma = lambda v: v # noqa: E731 - - def wl_labels(a): - colors = [h(f"g|{a[v].bit_count()}") for v in range(n)] - for _ in range(n + 2): - new = [] - for v in range(n): - cnt = Counter() - m = a[v] - while m: - u = (m & -m).bit_length() - 1 - m &= m - 1 - cnt[colors[u]] += 1 - new.append(h(f"{colors[v]}|" - f"{tuple(sorted((c, f(k)) for c, k in cnt.items()))}")) - colors = new - return colors - - ig = iota(n, adj) - lg = wl_labels(adj) - li = wl_labels(ig) - by_g = _clases(lg) - match = {} - for c, vs in by_g.items(): - imgs = {li[sigma(v)] for v in vs} - if len(imgs) != 1: - return "local" - match[c] = imgs.pop() - - vistos_def = {} - vistos_iny = {} - g_id = True - for c, vs in by_g.items(): - ci_label = match[c] - ci = {u for u, cc in enumerate(li) if cc == ci_label} - for v in range(n): - sv = sigma(v) - m = sum(1 for u in vs if (adj[sv] >> u) & 1) - mp = sum(1 for u in ci if (ig[v] >> u) & 1) - venc = 1 if sv in vs else 0 - key = (len(vs), venc, m) - key2 = (len(vs), venc, mp) - if key in vistos_def and vistos_def[key] != mp: - return "local" - vistos_def[key] = mp - if key2 in vistos_iny and vistos_iny[key2] != m: - return "local" - vistos_iny[key2] = m - if mp != m: - g_id = False - return "trivial" if g_id else "dual" - - -def oraculo(n: int, adj, iota, f, f1, f2, sigma=None) -> dict: - """Predice T4 para un universo (f, ι) SIN enumerar grafos. - - Devuelve {"clase", "f1", "f2", "t4_predicho"}. - """ - clase = clasificar_involucion(n, adj, iota, sigma=sigma, f=f) - return {"clase": clase, "f1": f1, "f2": f2, - "t4_predicho": t4_garantizado(f1, f2, clase)} diff --git a/graphkind/codigo/verificaciones.py b/graphkind/codigo/verificaciones.py deleted file mode 100644 index 722a38b56fcf70373cfe597db58d10c94be3d126..0000000000000000000000000000000000000000 --- a/graphkind/codigo/verificaciones.py +++ /dev/null @@ -1,535 +0,0 @@ -#!/usr/bin/env python3 -"""Verificaciones reproducibles del paper — GraphKind, universos. - -Cada verificación reproduce un número del paper con un ASSERT. Uso: - - python codigo/verificaciones.py # todo (~10-15 min) - python codigo/verificaciones.py --rapido # subconjunto (~1 min) - -V1 ley f(1)!=f(2) (EXP-102) 34/34 -V2 caracterización S_n.K (EXP-111) 96 exactas (f=id), 48 (const1) -V3 T4_k: complemento-invariante 51/51 en k=1,2,3 (k-FWL) -V4 cascada del observador (EXP-119) 26 -> 0 (n<=7) -V5 Rook vs Shrikhande (corregido) k*=3 (k-FWL; 3-WL estandar NO) -V6 Z3 determinista (EXP-116) T4-período NO vive (maj 52.4%) -V7 aleatorio R1 (EXP-117) 204/1096 = 18.6% -V8 R3: medida importa 0/5000 vs 96/528 -V9 búsqueda autónoma (EXP-113) ciclo 99.63% -V10 certificado de hash partición 12-hex == 64-hex -V11 certificado de convergencia partición estable == n+2 rondas -V12 clasificación universal (n=4) la clase no depende del grafo -""" - -import os -import sys -from collections import Counter -from itertools import permutations, product -from math import isqrt - -import numpy as np - -N_JOBS = int(os.environ.get("N_JOBS", "38")) - -sys.path.insert(0, __file__.rsplit("/", 1)[0]) -from universos import t4_garantizado # noqa: E402 -from wl import (all_digraphs, all_graphs, build_adj, comp_adj, h, # noqa: E402 - separados, transp, wl_k_colors, wl_sym) - -FS = { - "id": lambda k: k, - "const1": lambda k: 1, - "umbral1": lambda k: int(k >= 1), - "umbral2": lambda k: int(k >= 2), - "umbral3": lambda k: int(k >= 3), - "umbral4": lambda k: int(k >= 4), - "mod2": lambda k: k % 2, - "mod3": lambda k: k % 3, - "mod4": lambda k: k % 4, - "mod5": lambda k: k % 5, - "trunc1": lambda k: min(k, 1), - "trunc2": lambda k: min(k, 2), - "trunc3": lambda k: min(k, 3), - "log2": lambda k: k.bit_length(), - "cuadrado": lambda k: k * k, - "cubo": lambda k: k ** 3, - "raiz": isqrt, -} - - -def V1_ley(): - """La ley: T4 vive <=> f(1) != f(2) (involución dual global). - - n<=6: los contraejemplos de const1/umbral1 viven en n=6 (EXP-107). - """ - from joblib import Parallel, delayed - n_max = 6 - - def test(iname, f): - for n in range(2, n_max + 1): - for mask, adj in all_graphs(n): # no dirigidos (EXP-102) - g2 = (comp_adj(n, adj) if iname == "comp" - else comp_parcial(n, adj)) - if wl_sym(n, adj, f) != wl_sym(n, g2, f): - return False - return True - - tareas = [(i, fn, f) for i in ("comp", "comp_parcial") - for fn, f in FS.items()] - outs = Parallel(n_jobs=N_JOBS)(delayed(test)(i, f) for i, _, f in tareas) - ok = 0 - for (i, fn, f), vive in zip(tareas, outs): - esperado = (f(1) != f(2)) if i == "comp" else False - assert vive == esperado, (i, fn, f(1), f(2), vive, esperado) - ok += 1 - print(f"V1 ley f(1)!=f(2) (n<={n_max}): {ok}/{len(tareas)} OK") - return ok - - -def comp_parcial(n, adj): - S = set(range(n // 2)) - out = [0] * n - for i in range(n): - for j in range(i + 1, n): - has = (adj[i] >> j) & 1 - if i in S and j in S: - has = not has - if has: - out[i] |= 1 << j - out[j] |= 1 << i - return out - - -def V2_caracterizacion(): - """n=4 inducidas: viven exactamente las S_4.K (96 con f=id).""" - from joblib import Parallel, delayed - n = 4 - grafos = list(all_digraphs(n)) - iotas = espacio_inducidas(n, involuciones=False) - assert len(iotas) == 528, len(iotas) - - def caso(t): - sigma, s, c = t - iota = lambda nn, adj: iota_ind(nn, adj, sigma, s, c) # noqa: E731 - v_id = all(wl_sym(n, adj, FS["id"]) == - wl_sym(n, iota(n, adj), FS["id"]) for _, adj in grafos) - v_c1 = all(wl_sym(n, adj, FS["const1"]) == - wl_sym(n, iota(n, adj), FS["const1"]) for _, adj in grafos) - return v_id, v_c1 - - outs = Parallel(n_jobs=N_JOBS)(delayed(caso)(t) for t in iotas) - v_id = sum(1 for a, b in outs if a) - v_c1 = sum(1 for a, b in outs if b) - assert v_id == 96, v_id - assert v_c1 == 48, v_c1 - print(f"V2 caracterización n=4: viven {v_id} (f=id) y {v_c1} " - f"(const1) de {len(iotas)}: OK (96=24*4, 48=24*2)") - return v_id - - -def espacio_inducidas(n, involuciones=True): - """Todas las (sigma, s, c) con c sigma-invariante. - - involuciones=True: solo sigma^2=id (espacio del EXP-113: 6528 en n=5). - involuciones=False: todas las sigma (espacio del EXP-111: 528 en n=4). - """ - out = [] - for sigma in permutations(range(n)): - if involuciones and any(sigma[sigma[i]] != i for i in range(n)): - continue - orb = orbitas_pares(n, sigma) - for bits in range(1 << len(orb)): - c = {} - for oi, o in enumerate(orb): - b = (bits >> oi) & 1 - for p in o: - c[p] = b - for s in (0, 1): - out.append((sigma, s, c)) - return out - - -def orbitas_pares(n, sigma): - pares = [frozenset((u, v)) for u in range(n) for v in range(u + 1, n)] - seen, orb = set(), [] - for p in pares: - if p in seen: - continue - o, q = [], p - while q not in seen: - seen.add(q) - o.append(q) - q = frozenset(sigma[x] for x in q) - orb.append(o) - return orb - - -def iota_ind(n, adj, sigma, s, c): - out = [0] * n - for u in range(n): - for v in range(n): - if u == v: - continue - par = frozenset((u, v)) - src = (v, u) if s else (u, v) - bit = (adj[src[0]] >> src[1]) & 1 - bit ^= c.get(par, 0) - if bit: - out[sigma[u]] |= 1 << sigma[v] - return out - - -def V3_T4k(): - """El k-FWL (correlacionada, ≡ (k+1)-WL) es complemento-invariante. - - Nota (EXP-159 del laboratorio): el nombre "k-WL" a secas es la variante - estándar (multiséts separados), estrictamente más débil; la - implementada acá es la correlacionada (k-FWL).""" - import networkx as nx - - def particion(n, adj, k): - colors = wl_k_colors(n, adj, k, rounds=n + 2) - g = {} - for t, c in colors.items(): - g.setdefault(c, set()).add(t) - return frozenset(frozenset(s) for s in g.values()) - - reps = [] - for n in (2, 3, 4, 5): - for g in nx.graph_atlas_g(): - if g.number_of_nodes() == n: - g = nx.convert_node_labels_to_integers(g) - adj = [0] * n - for u, v in g.edges: - adj[u] |= 1 << v - adj[v] |= 1 << u - reps.append((n, adj)) - total = 0 - for k in (1, 2, 3): - ok = sum(1 for n, adj in reps - if particion(n, adj, k) == - particion(n, comp_adj(n, adj), k)) - assert ok == len(reps), (k, ok, len(reps)) - total += ok - print(f"V3 T4_k (k-FWL ≡ (k+1)-WL): {total}/{3*len(reps)} " - f"(51 grafos x k=1,2,3): complemento-invariante OK") - return total - - -def V4_cascada(): - """Cascada del observador n<=7: k=1 -> 26 pares, k=2 -> 0.""" - import networkx as nx - - reps = [g for g in nx.graph_atlas_g() if 2 <= g.number_of_nodes() <= 7] - - def adj_de(g): - g = nx.convert_node_labels_to_integers(g) - n = g.number_of_nodes() - adj = [0] * n - for u, v in g.edges: - adj[u] |= 1 << v - adj[v] |= 1 << u - return n, adj - - grupos = {} - for i, g in enumerate(reps): - hh = nx.weisfeiler_lehman_graph_hash(g, iterations=g.number_of_nodes() + 2) - grupos.setdefault((g.number_of_nodes(), hh), []).append(i) - pares1 = sum(len(v) * (len(v) - 1) // 2 for v in grupos.values()) - assert pares1 == 26, pares1 - pares2 = 0 - for v in grupos.values(): - for a in range(len(v)): - for b in range(a + 1, len(v)): - n1, a1 = adj_de(reps[v[a]]) - n2, a2 = adj_de(reps[v[b]]) - if not separados(a1, a2, 2): - pares2 += 1 - assert pares2 == 0, pares2 - print(f"V4 cascada n<=7: k=1 -> {pares1} pares, k=2 -> {pares2}: OK") - return pares1, pares2 - - -def V5_rook_shrikhande(): - """Rook vs Shrikhande con k-FWL (≡ (k+1)-WL): k=1 no, k=2 no, k=3 SI. - - El 3-WL ESTÁNDAR (multiséts separados) NO los separa (verificado en - EXP-159): el "3-WL" que separa es 3-FWL ≡ 4-WL.""" - import networkx as nx - rook = nx.cartesian_product(nx.complete_graph(4), - nx.complete_graph(4)) - shri = nx.Graph() - for i in range(4): - for j in range(4): - for di, dj in [(1, 0), (3, 0), (0, 1), (0, 3), (1, 1), (3, 3)]: - shri.add_edge((i, j), ((i + di) % 4, (j + dj) % 4)) - assert not nx.is_isomorphic(rook, shri) - - def adj_de(g): - g = nx.convert_node_labels_to_integers(g) - n = g.number_of_nodes() - adj = [0] * n - for u, v in g.edges: - adj[u] |= 1 << v - adj[v] |= 1 << u - return n, adj - - n1, a1 = adj_de(rook) - n2, a2 = adj_de(shri) - r = {k: separados(a1, a2, k) for k in (1, 2, 3)} - assert r == {1: False, 2: False, 3: True}, r - print("V5 Rook vs Shrikhande (k-FWL): k=1 no, k=2 no, k=3 SI: OK " - "(el 3-WL estandar NO los separa)") - return r - - -def V6_z3(): - """Z3 determinista: T4-período NO vive (max ~52%).""" - from joblib import Parallel, delayed - reglas = { - "sum": lambda ss, s, p: sum(ss) % p, - "sum_closed": lambda ss, s, p: (sum(ss) + s) % p, - "lin_2_1": lambda ss, s, p: (2 * (sum(ss) + s) + 1) % p, - "maj": lambda ss, s, p: (min(x for x, v in Counter(ss).items() - if v == max(Counter(ss).values())) - if ss else s), - "prod1": lambda ss, s, p: (1 + sum(x + 1 for x in ss)) % p, - "xor3": lambda ss, s, p: (sum(x * x for x in ss) + s) % p, - } - p = 3 - rng = np.random.default_rng(7) - tareas = [] - for n in (2, 3, 4): - for mask in range(1 << (n * (n - 1) // 2)): - confs = list(range(p ** n)) - for regla in reglas: - tareas.append((n, mask, regla, confs)) - n = 5 - for mask in range(1 << (n * (n - 1) // 2)): - confs = rng.choice(p ** n, size=40, replace=False).tolist() - for regla in reglas: - tareas.append((n, mask, regla, confs)) - - def caso(t): - n, mask, regla, confs = t - adj = build_adj(n, mask) - adjc = comp_adj(n, adj) - vec = [[u for u in range(n) if (adj[v] >> u) & 1] for v in range(n)] - vecc = [[u for u in range(n) if (adjc[v] >> u) & 1] for v in range(n)] - - def orb(vecx, c0): - vistos, config, paso = {}, c0, 0 - while config not in vistos: - vistos[config] = paso - est = [(config // (p ** v)) % p for v in range(n)] - nuevo = 0 - for v in range(n): - ss = [est[u] for u in vecx[v]] - nuevo += (reglas[regla](ss, est[v], p) % p) * (p ** v) - config = nuevo - paso += 1 - return paso - vistos[config] - vivos = 0 - for c0 in confs: - if orb(vec, c0) == orb(vecc, c0): - vivos += 1 - return regla, vivos, len(confs) - - outs = Parallel(n_jobs=N_JOBS)(delayed(caso)(t) for t in tareas) - agg = {} - for regla, v, t in outs: - a = agg.setdefault(regla, [0, 0]) - a[0] += v - a[1] += t - assert all(100 * v / t < 60 for v, t in agg.values()), agg - print("V6 Z3 determinista (T4-período): " + " | ".join( - f"{r}: {100*v/t:.1f}%" for r, (v, t) in sorted(agg.items())) + - " -> NO vive: OK") - return agg - - -def V7_r1(): - """R1: WL asíncrono: T4-distribución exacta 204/1096 (18.6%).""" - from joblib import Parallel, delayed - NPERM = 100 - rng = np.random.default_rng(7) - grafos = [] - for n in (3, 4, 5): - for mask in range(1 << (n * (n - 1) // 2)): - grafos.append((n, mask)) - perms = {n: [tuple(rng.permutation(n)) for _ in range(NPERM)] - for n in (3, 4, 5)} - - def wl_async(n, adj, perm): - colors = [h(f"g|{adj[v].bit_count()}") for v in range(n)] - for _ in range(8): - prev = colors[:] - for v in perm: - cnt = Counter() - m = adj[v] - while m: - u = (m & -m).bit_length() - 1 - m &= m - 1 - cnt[colors[u]] += 1 - colors[v] = h(f"{colors[v]}|" - f"{tuple(sorted(cnt.items()))}") - if colors == prev: - break - return tuple(sorted(Counter(colors).values())) - - def caso(g): - n, mask = g - adj = build_adj(n, mask) - adjc = comp_adj(n, adj) - d1, d2 = Counter(), Counter() - for pp in perms[n]: - d1[wl_async(n, adj, pp)] += 1 - d2[wl_async(n, adjc, pp)] += 1 - return d1 == d2 - - outs = Parallel(n_jobs=N_JOBS)(delayed(caso)(g) for g in grafos) - ok = sum(outs) - assert ok == 204, ok - print(f"V7 R1 aleatorio (n<=5, {len(grafos)} grafos x {NPERM} perms): " - f"T4-distribución {ok}/{len(grafos)} (18.6%) NO vive: OK") - return ok - - -def V8_r3(): - """R3: la fracción depende de la medida (uniforme ~0%, inducidas 18%).""" - n = 4 - grafos = [adj for _, adj in all_digraphs(n)] - iotas = espacio_inducidas(n, involuciones=False) - - def vive(iota_fn): - for adj in grafos: - if wl_sym(n, adj, FS["id"]) != wl_sym(n, iota_fn(n, adj), - FS["id"]): - return False - return True - - vivas_ind = sum(1 for sg, s, c in iotas - if vive(lambda nn, a: iota_ind(nn, a, sg, s, c))) - assert vivas_ind == 96, vivas_ind - print(f"V8 R3: inducidas {vivas_ind}/{len(iotas)} (18.2%); " - f"uniforme ~0% (EXP-113: 0/5000): OK") - return vivas_ind - - -def V9_busqueda(): - """La mejor construcción válida hallada por el motor: ciclo 99.63%.""" - from joblib import Parallel, delayed - n = 5 - invs = espacio_inducidas(n) - no_unif = [t for t in invs if len(set(t[2].values())) > 1] - assert len(no_unif) == 6424, len(no_unif) - - def caso(t): - sigma, s, c = t - adj = [0] * n - for i in range(n): - adj[i] |= 1 << ((i + 1) % n) # el ciclo - iota = lambda nn, a: iota_ind(nn, a, sigma, s, c) # noqa: E731 - return wl_sym(n, adj, FS["id"]) != wl_sym(n, iota(n, adj), FS["id"]) - - outs = Parallel(n_jobs=N_JOBS)(delayed(caso)(t) for t in no_unif) - tasa = sum(outs) / len(outs) - assert tasa > 0.995, tasa - print(f"V9 búsqueda autónoma: el ciclo falla en {100*tasa:.2f}% de las " - f"{len(no_unif)} iotas no-uniformes (99.63%): OK") - return tasa - - -def V10_hash_certificado(): - """El hash de 12 hex no colisiona: partición 12-hex == partición 64-hex.""" - import hashlib - from joblib import Parallel, delayed - h_largo = lambda s: hashlib.sha256(s.encode()).hexdigest() # noqa: E731 - - def caso(g): - n, mask = g - adj = build_adj(n, mask) - for fn, f in FS.items(): - if wl_sym(n, adj, f) != wl_sym(n, adj, f, h_fn=h_largo): - return False - return True - - grafos = [(n, mask) for n in range(2, 5) - for mask in range(1 << (n * (n - 1) // 2))] - outs = Parallel(n_jobs=N_JOBS)(delayed(caso)(g) for g in grafos) - assert all(outs), "colisión de hash detectada" - print(f"V10 hash: partición 12-hex == 64-hex en {len(grafos)} grafos x " - f"{len(FS)} f: OK (sin colisiones)") - - -def V11_convergencia(): - """La convergencia ocurre dentro de n+2 rondas (el tope no muerde).""" - from joblib import Parallel, delayed - - def caso(g): - n, mask = g - adj = build_adj(n, mask) - for fn, f in FS.items(): - perfil, rondas = wl_sym(n, adj, f, info=True) - fijo = wl_sym(n, adj, f, rondas_fijas=n + 2) - if perfil != fijo or rondas > n + 2: - return False - return True - - grafos = [(n, mask) for n in range(2, 6) - for mask in range(1 << (n * (n - 1) // 2))] - outs = Parallel(n_jobs=N_JOBS)(delayed(caso)(g) for g in grafos) - assert all(outs), "no converge dentro del tope" - print(f"V11 convergencia: partición estable == n+2 rondas en " - f"{len(grafos)} grafos x {len(FS)} f: OK") - - -def V12_clasificacion_universal(): - """La clase (trivial/dual/local) no depende del grafo (n=4).""" - from universos import clasificar_involucion - - n = 4 - iotas = {"comp": lambda nn, a: comp_adj(nn, a), - "comp_parcial": lambda nn, a: comp_parcial(nn, a)} - filas = {} - for iname, iota in iotas.items(): - for fn, f in (("id", FS["id"]), ("const1", FS["const1"]), - ("mod2", FS["mod2"])): - vistos = set() - for mask, adj in all_graphs(n): - vistos.add(clasificar_involucion(n, adj, iota, f=f)) - assert len(vistos) == 1, (iname, fn, vistos) - filas[(iname, fn)] = vistos.pop() - assert filas[("comp", "id")] == "dual", filas - assert filas[("comp_parcial", "id")] == "local", filas - print(f"V12 clasificación universal (n=4, constancia por grafo): " - f"{filas}: OK") - - -def main(): - rapido = "--rapido" in sys.argv - print("== VERIFICACIONES DEL PAPER (GraphKind: universos) ==") - if rapido: - V1_ley() - V3_T4k() - V5_rook_shrikhande() - V8_r3() - V10_hash_certificado() - V11_convergencia() - else: - V1_ley() - V2_caracterizacion() - V3_T4k() - V4_cascada() - V5_rook_shrikhande() - V6_z3() - V7_r1() - V8_r3() - V9_busqueda() - V10_hash_certificado() - V11_convergencia() - V12_clasificacion_universal() - print("\nTODAS LAS VERIFICACIONES OK") - - -if __name__ == "__main__": - main() diff --git a/graphkind/codigo/verificaciones_v2.py b/graphkind/codigo/verificaciones_v2.py deleted file mode 100644 index 5f55bb6f1e5e67103d26e20954ac426f2fb24b6d..0000000000000000000000000000000000000000 --- a/graphkind/codigo/verificaciones_v2.py +++ /dev/null @@ -1,235 +0,0 @@ -#!/usr/bin/env python3 -"""Verificaciones v2 — el arco de universos (multicapa, hipergrafos, dual). - - python codigo/verificaciones_v2.py - -V13 multicapa: total vive; POR CAPA muere en la canónica (coherencia). -V14 hipergrafos 3-uniformes: T4 vive (n<=5 exhaustivo + muestra n=6). -V15 dual por aridad: partición garantizada + ahorro (n=4 exhaustivo). -V16 aridades mezcladas: por aridad VIVE (el refinamiento repara). -""" - -import json -import random -import sys -from itertools import combinations -from pathlib import Path - -sys.path.insert(0, str(Path(__file__).resolve().parent)) -RES = Path(__file__).resolve().parent.parent / "resultados" - - -def _cargar(nombre): - return json.loads((RES / nombre).read_text()) -from multicapa import (refinar_conjunto, complemento_total, # noqa: E402 - complemento_capa, complemento_canales, t4) -from hipergrafo import (t4_k_uniforme, t4_mezclado, # noqa: E402 - refine_dual_mezclado, refinar_mezclado, - complemento_k_uniforme) -from individualizacion import IR_k # noqa: E402 -from wl import separados, build_adj # noqa: E402 - - -def _grafos(n): - """Todos los grafos etiquetados de n vértices (lista de aristas).""" - pares = list(combinations(range(n), 2)) - out = [] - for mask in range(1 << len(pares)): - out.append([pares[i] for i in range(len(pares)) if (mask >> i) & 1]) - return out - - -def V13_multicapa(): - """Ley de canales: total vive; por-capa muere (canónica); ordenada vive.""" - total = per_capa_falla = ord_vive = canales_vive = objetos = 0 - for n in (3, 4): - gs = _grafos(n) - for E1 in gs: - for E2 in gs: - capas = [E1, E2] - objetos += 1 - if t4(n, capas, complemento_total(n, capas), - "canonica")["particion_igual"]: - total += 1 - for ell in (0, 1): - if not t4(n, capas, complemento_capa(n, capas, ell), - "canonica")["particion_igual"]: - per_capa_falla += 1 - if t4(n, capas, complemento_capa(n, capas, ell), - "ordenada")["particion_igual"]: - ord_vive += 1 - if t4(n, capas, complemento_canales(capas, [1, 0]), - "canonica")["particion_igual"]: - canales_vive += 1 - assert total == objetos, (total, objetos) - assert per_capa_falla > 0, "la ley de canales no se reproduce" - assert ord_vive == 2 * objetos, ord_vive - assert canales_vive == objetos, canales_vive - print(f"V13 multicapa: total {total}/{objetos} vive | por-capa " - f"canónica falla {per_capa_falla} | por-capa ordenada " - f"{ord_vive}/{2*objetos} | canales {canales_vive}/{objetos}: OK") - - -def V14_hipergrafos(): - """3-uniformes: T4 vive (exhaustivo n<=5 + muestra n=6).""" - vivos = objetos = 0 - for n in (3, 4, 5): - for mask in range(1 << len(list(combinations(range(n), 3)))): - trios = [t for i, t in enumerate(combinations(range(n), 3)) - if (mask >> i) & 1] - objetos += 1 - vivos += int(t4_k_uniforme(n, 3, trios)) - rng = random.Random(7) - tri6 = list(combinations(range(6), 3)) - muestra = 0 - for _ in range(5000): - H = [t for t in tri6 if rng.random() < 0.5] - muestra += 1 - vivos += int(t4_k_uniforme(6, 3, H)) - assert vivos == objetos + muestra, (vivos, objetos + muestra) - print(f"V14 hipergrafos 3-uniformes: {vivos}/{objetos+muestra} " - f"(n<=5 exhaustivo + muestra n=6): OK") - - -def V15_dual_aridad(): - """Dual por aridad: partición garantizada + ahorro (n=4 exhaustivo).""" - todos2 = list(combinations(range(4), 2)) - todos3 = list(combinations(range(4), 3)) - ok = objetos = a_orig = a_dual = 0 - for m2 in range(1 << len(todos2)): - e2 = [todos2[i] for i in range(len(todos2)) if (m2 >> i) & 1] - for m3 in range(1 << len(todos3)): - e3 = [todos3[i] for i in range(len(todos3)) if (m3 >> i) & 1] - objetos += 1 - p_orig, _ = refinar_mezclado(4, e2, e3, "canonica") - p_dual, lados = refine_dual_mezclado(4, e2, e3, "canonica") - ok += int(p_orig == p_dual) - c2 = complemento_k_uniforme(4, 2, e2) - c3 = complemento_k_uniforme(4, 3, e3) - a_orig += len(e2) + len(e3) - a_dual += ((len(c2) if lados[0] == "e2bar" else len(e2)) - + (len(c3) if lados[1] == "e3bar" else len(e3))) - assert ok == objetos, (ok, objetos) - assert a_dual <= a_orig, (a_dual, a_orig) - print(f"V15 dual por aridad: partición {ok}/{objetos} | aristas " - f"{a_orig} -> {a_dual} (ahorro {100*(1-a_dual/a_orig):.1f}%): OK") - - -def V16_mezclado(): - """Aridades mezcladas: por aridad VIVE (el refinamiento repara).""" - todos2 = list(combinations(range(4), 2)) - todos3 = list(combinations(range(4), 3)) - total = aridad = objetos = 0 - for m2 in range(1 << len(todos2)): - e2 = [todos2[i] for i in range(len(todos2)) if (m2 >> i) & 1] - for m3 in range(1 << len(todos3)): - e3 = [todos3[i] for i in range(len(todos3)) if (m3 >> i) & 1] - objetos += 1 - total += int(t4_mezclado(4, e2, e3, "total", "canonica")) - aridad += int(t4_mezclado(4, e2, e3, "aridad2", "canonica")) - assert total == objetos and aridad == objetos, (total, aridad, objetos) - print(f"V16 aridades mezcladas (n=4 exhaustivo): total {total}/{objetos} " - f"| por aridad {aridad}/{objetos} VIVE (reparo): OK") - - -def _grafos_unicos(n): - """Grafos no isomorfos de n vértices (canónica por fuerza bruta).""" - from itertools import permutations - pares = list(combinations(range(n), 2)) - vistos = {} - for mask in range(1 << len(pares)): - E = [pares[i] for i in range(len(pares)) if (mask >> i) & 1] - es = tuple(sorted(tuple(sorted(e)) for e in E)) - mejor = None - for p in permutations(range(n)): - k = tuple(sorted(tuple(sorted((p[a], p[b]))) for a, b in es)) - if mejor is None or k < mejor: - mejor = k - if mejor not in vistos: - vistos[mejor] = E - return list(vistos.values()) - - -def V17_cociente_complemento(): - """T4 tiene precio: el invariante completo identifica G con su - complemento; el cociente fusiona (N - autocomplementarios)/2 pares. - - (SG-01: en n<=8 son 6 168 pares; acá se ejecuta el análogo n<=5.)""" - import networkx as nx - from wl import wl_sym - N = identificados = autocomp = 0 - for n in (1, 2, 3, 4, 5): - for E in _grafos_unicos(n): - N += 1 - adj = build_adj(n, sum(1 << i for i, e in enumerate( - combinations(range(n), 2)) if list(e) in - [sorted(x) for x in E])) - g = nx.Graph() - g.add_nodes_from(range(n)) - g.add_edges_from(E) - gc = nx.complement(g) - # clave = perfil WL (complemento-invariante por T4) - if wl_sym(n, adj, lambda k: k) == wl_sym( - n, build_adj(n, sum(1 << i for i, e in enumerate( - combinations(range(n), 2)) - if list(e) in [sorted(x) for x in gc.edges])), - lambda k: k): - identificados += 1 - if nx.is_isomorphic(g, gc): - autocomp += 1 - assert identificados == N, (identificados, N) - assert (N - autocomp) % 2 == 0 - print(f"V17 cociente por complemento (n<=5): {N} grafos | " - f"identificados {identificados} | autocomplementarios {autocomp} " - f"| pares fusionados {(N-autocomp)//2} (SG-01 n<=8: 6 168): OK") - - -def V18_ir_anclas(): - """IR_1 NO separa Rook/Shrikhande; IR_2 SÍ (SG-02/03).""" - import networkx as nx - rook = nx.cartesian_product(nx.complete_graph(4), nx.complete_graph(4)) - shri = nx.Graph() - for i in range(4): - for j in range(4): - for di, dj in [(1, 0), (3, 0), (0, 1), (0, 3), (1, 1), (3, 3)]: - shri.add_edge((i, j), ((i + di) % 4, (j + dj) % 4)) - def datos(g): - g = nx.convert_node_labels_to_integers(g) - return g.number_of_nodes(), sorted(tuple(sorted(e)) for e in g.edges) - n1, E1 = datos(rook) - n2, E2 = datos(shri) - assert IR_k(n1, E1, 1, "peor") == IR_k(n2, E2, 1, "peor") - assert IR_k(n1, E1, 2, "peor") != IR_k(n2, E2, 2, "peor") - print("V18 IR: IR_1 no separa Rook/Shrikhande; IR_2 SÍ " - "(i*=2): OK") - - -def V19_sg04_certificado(): - """Certificado del freeze de SG-04: n=10 exhaustivo sin fallas.""" - d = _cargar("SG-04_results_frozen.json") - c1 = d["capa1_n10"] - assert c1["grafos"] == 12005168, c1 - assert c1["KW3"]["pares"] == 0 and c1["IR1p"]["pares"] == 0, c1 - sep = d["capa3_n16"]["separadores"] - for k in ("SNFL", "AUT", "CICLOS", "LOCAL", "HOM2", "KF3", "IR2p"): - assert sep[k], (k, sep) - for k in ("SPEC_A", "SEIDEL", "KF2", "IR1p"): - assert not sep[k], (k, sep) - print(f"V19 SG-04: n=10 exhaustivo {c1['grafos']} grafos, 0 colisiones " - f"(KW3/IR1p) | n=16: separadores elementales + KF3/IR2p: OK") - - -def main(): - print("== VERIFICACIONES v2 (arco de universos) ==") - V13_multicapa() - V14_hipergrafos() - V15_dual_aridad() - V16_mezclado() - V17_cociente_complemento() - V18_ir_anclas() - V19_sg04_certificado() - print("\nTODAS LAS VERIFICACIONES v2 OK") - - -if __name__ == "__main__": - main() diff --git a/graphkind/codigo/wl.py b/graphkind/codigo/wl.py deleted file mode 100644 index 8a46a94b6e31c910b327869a0a23584a3f617633..0000000000000000000000000000000000000000 --- a/graphkind/codigo/wl.py +++ /dev/null @@ -1,174 +0,0 @@ -"""Color refinement (WL) y utilidades — autocontenido. - -- wl_sym: WL simétrico (in/out por color, grados crudos) — el del teorema. -- wl_k_colors: k-FWL (folklore, correlacionada; ≡ (k+1)-WL) — la jerarquía - de observadores. El nombre "k-WL" a secas designa la variante estándar - (multiséts separados por posición), que es estrictamente más débil. -- helpers de grafos (bitmasks), complemento, digrafos. -""" - -import hashlib -from collections import Counter -from itertools import product - - -def h(s): - return hashlib.sha256(s.encode()).hexdigest()[:12] - - -def wl_sym(n, adj, f, h_fn=None, info=False, rondas_fijas=None): - """Perfil del WL simétrico: multiset de tamaños de clase. - - Por defecto corre hasta que la partición se estabiliza (tope n+2). - `h_fn` permite cambiar la función de hash (certificado de colisión); - `rondas_fijas` fuerza un número exacto de rondas (certificado de - convergencia); `info=True` devuelve (perfil, rondas_usadas). - """ - hh = h_fn or h - in_adj = transp(n, adj) - colors = [hh(f"g|{adj[v].bit_count()}|{in_adj[v].bit_count()}") - for v in range(n)] - prev = None - usadas = 0 - tope = rondas_fijas if rondas_fijas is not None else (n + 2) - for r in range(tope): - new = [] - for v in range(n): - cnt = Counter() - m = adj[v] - while m: - u = (m & -m).bit_length() - 1 - m &= m - 1 - cnt[colors[u]] += 1 - ci = Counter() - m = in_adj[v] - while m: - u = (m & -m).bit_length() - 1 - m &= m - 1 - ci[colors[u]] += 1 - keys = set(cnt) | set(ci) - prof = tuple(sorted((c, f(ci.get(c, 0)), f(cnt.get(c, 0))) - for c in keys)) - new.append(hh(f"{colors[v]}|{prof}")) - colors = new - usadas = r + 1 - if rondas_fijas is None: - part = tuple(sorted(Counter(colors).values())) - if part == prev: - break - prev = part - perfil = tuple(sorted(Counter(colors).values())) - return (perfil, usadas) if info else perfil - - -def transp(n, adj): - out = [0] * n - for v in range(n): - m = adj[v] - while m: - u = (m & -m).bit_length() - 1 - m &= m - 1 - out[u] |= 1 << v - return out - - -def wl_k_colors(n, adj, k, rounds=None): - """k-FWL (folklore, correlacionada; ≡ (k+1)-WL): colores de k-tuplas. - - La actualización usa pares de posiciones (i,j) con el MISMO w; por la - equivalencia conocida es tan fuerte como (k+1)-WL. La variante estándar - ("k-WL", multiséts separados) es más débil y NO separa Rook de - Shrikhande en k=3 (ver EXP-159 del laboratorio).""" - if rounds is None: - rounds = n + 2 - tuplas = list(product(range(n), repeat=k)) - - def init(t): - grados = [str(adj[a].bit_count()) for a in t] - est = [] - for i in range(k): - for j in range(i + 1, k): - a, b = t[i], t[j] - est.append("=" if a == b else - ("1" if (adj[a] >> b) & 1 else "0")) - return h("|".join(grados) + ":" + "".join(est)) - - colors = {t: init(t) for t in tuplas} - prev = None - for _ in range(rounds): - new = {} - for t in tuplas: - vecinos = [] - for i in range(k): - for j in range(i + 1, k): - for w in range(n): - t2 = t[:i] + (w,) + t[i + 1:] - t3 = t[:j] + (w,) + t[j + 1:] - vecinos.append((i, j, colors[t2], colors[t3])) - vecinos.sort() - new[t] = h(colors[t] + "|" + ",".join( - f"{i}{j}:{a}:{b}" for i, j, a, b in vecinos)) - colors = new - firma = tuple(sorted(colors.values())) - if firma == prev: - break - prev = firma - return colors - - -def wl_k_union(adj1, adj2, k): - n1, n2 = len(adj1), len(adj2) - n = n1 + n2 - adj_u = [0] * n - for v in range(n1): - adj_u[v] = adj1[v] - for v in range(n2): - adj_u[n1 + v] = adj2[v] << n1 - return wl_k_colors(n, adj_u, k, rounds=n + 2) - - -def separados(adj1, adj2, k): - """¿k-FWL separa los dos grafos? (colores compartidos en la unión).""" - n1 = len(adj1) - colors = wl_k_union(adj1, adj2, k) - c1 = Counter(colors[t] for t in product(range(n1), repeat=k)) - c2 = Counter(colors[t] for t in product(range(n1, n1 + len(adj2)), - repeat=k)) - return set(c1) != set(c2) or sorted(c1.values()) != sorted(c2.values()) - - -def build_adj(n, mask): - adj = [0] * n - bit = 0 - for i in range(n): - for j in range(i + 1, n): - if (mask >> bit) & 1: - adj[i] |= 1 << j - adj[j] |= 1 << i - bit += 1 - return adj - - -def comp_adj(n, adj): - out = [0] * n - for i in range(n): - for j in range(i + 1, n): - if not (adj[i] >> j) & 1: - out[i] |= 1 << j - out[j] |= 1 << i - return out - - -def all_digraphs(n): - pos = [(u, v) for u in range(n) for v in range(n) if u != v] - for mask in range(1 << len(pos)): - adj = [0] * n - for k, (u, v) in enumerate(pos): - if (mask >> k) & 1: - adj[u] |= 1 << v - yield mask, adj - - -def all_graphs(n): - for mask in range(1 << (n * (n - 1) // 2)): - yield mask, build_adj(n, mask) diff --git a/graphkind/graphkind-universos-v2.zip b/graphkind/graphkind-universos-v2.zip deleted file mode 100644 index 655412d9b149b0d9ddf326b98fb7e76a79a8197f..0000000000000000000000000000000000000000 --- a/graphkind/graphkind-universos-v2.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:358e270f69fccf0dcf1c92cff963474df52cb3a12c4c5a0e5d40dac9ba9cbf7a -size 262127 diff --git a/graphkind/index.en.html b/graphkind/index.en.html deleted file mode 100644 index 9b857630d6abedbc5e52c00589f24a59d574579f..0000000000000000000000000000000000000000 --- a/graphkind/index.en.html +++ /dev/null @@ -1,399 +0,0 @@ - - - - - -GraphKind — Universes of color refinement - - - - -
-
-
GraphKind · private preprint · 2026
-

On the universes of
color refinement

-

- When does a structural invariant survive a change of observation: - the classification of the operators that preserve the color - refinement profile under involution — and its proof. -

- -
- 2,131,019 graphs (T4) - 34/34 · 102/102 the law - 96 exact in n=4 - CI green -
-
-
- -
-
-

The problem

-

- The color refinement (1-WL) summarizes a graph into a - partition of its vertices. Which operations leave that partition - intact? -

-
- - - - - - - - - - - - - - - G - - ⟶ - complemento - - - - - - - - - - - - - - - - - - - - Ḡ - I(G)=I(Ḡ) - -
- T4: the color refinement of a graph and of its complement induce - the same partition (same colors = same classes). - Discovered by the engine, verified on all graphs of n≤7 and with - a written proof. -
-
-

- The next question: if the observer compresses neighborhood counts - with a function f and the operation is an involution - ι, in which universes (f, ι) does T4 - still hold? -

-
-
- -
-
-

The result

-
-
T4(ι, f) VIVE  ⟺  ι ∈ Sₙ·K   y   - (ι cambia el par ⟹ f(1) ≠ f(2))
-
K = {id, comp_dir, transp, comp_transp} ≅ Z₂×Z₂
-
-
- - - - id - swap no · comp no - - transp - swap yes · comp no - - comp_dir - swap no · comp yes - - comp_transp - swap yes · comp yes - - hold for every f - - hold ⟺ f(1) ≠ f(2) - - - Uniformity binds the two halves: outside K, everything dies - (even if it preserves the pair). - - -
- The Klein group: two halves, two conditions. The operation must be - global (relabel × K); if it changes the connected pair, the - compression must distinguish 1 from 2. -
-
-

The particular case: the count law

-
T4 VIVE  ⟺  f(1) ≠ f(2)
-

- In the complement, a vertex with 1 neighbor in a - class gets |c|−1 (which may be - 2): if f collapses 1 and 2, the - duality dies. What f does with 3, 4, 5… is irrelevant. -

- - - - - - - - - - - - -
resultverification
The law f(1)≠f(2)34/34 · 102/102
Characterization, n=4 exhaustive96 exact (24·4), zero outside
T4 under the k-FWL hierarchy (≡ (k+1)-WL)51/51 en k=1,2,3
Observer cascade (n≤7, 781,875 pairs)26 → 0 (k=1 → k=2)
Real datamolecules 100/100 · CST 94/94
-
- - - - 26 - 0 - k = 1 - k = 2 - k = 3 - - - - - - 26 1-WL-equivalent pairs - - 0: 2-WL resolves them all - - C6 vs 2·C3: k*=2 - - Rook vs Shrikhande: k*=3 - -
- The cascade: apparent randomness (unseparated pairs) drops to - zero as the observer rises. In n≤7, k*=2; the canonical pairs - need k=2 and k=3. -
-
-
-
- -
-
-

The type change

-

- Changing the type of the invariant, T4 changes mathematical - category — and each row is a different kind of theorem: -

-
-
-
Standard
-
invariant: partition · equality
-
T4 holds (proved)
-
-
-
Deterministic Z₃
-
invariant: orbit · periods
-
T4 dies (max 52.4%)
-
-
-
Random (process)
-
invariant: distribution · async WL
-
T4 dies (18.6%)
-
-
-
Random (object)
-
G(n,p) vs G(n,1−p)
-
T4 holds (almost surely)
-
-
-
k-FWL hierarchy
-
stronger observers
-
T4_k 51/51
-
-
-
Random involutions
-
invariant: ensemble measure
-
threshold = measure
-
-
-
-
- -
-
-

How it was found

-

- The engine proposed and verified T4 (blind - conjecture bank, 68/68), massive verification sustained it and a - written proof closed the standard case. Then the lab - parameterized the universe and let the data choose the - law: two human hypotheses were refuted before reaching - the characterization. -

-

- An autonomous construction search found the best - valid witness (cycle, 99.63%) — better than the human - construction. And the errors were recorded: -

-
-
1. Multiset of sizes - weak invariant (C6 and 2·C3 share it) → colors.
-
2. Comparing colors across graphs - they never match → compare partitions.
-
3. Indices in the initial coloring - trivialized everything → degrees + adjacencies.
-
4. Separated multisets - weak k-WL → correlated pairs (= k-FWL).
-
5. The wrongly built Shrikhande - it was the Rook twice → caught by is_isomorphic.
-
-

- Five own bugs caught by controls, none announced before verifying. - The method is part of the result. -

-
-
- -
-
-

Reproducibility

-

- The whole paper reproduces with one command. Every verification - carries an assert with the exact number: if - anything does not match, it fails. -

-
git clone https://github.com/cripto-bot/graphkind-universos
-cd graphkind-universos
-python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
-bash reproduce.sh            # V1–V9 (~10-15 min)
-bash reproduce.sh --rapido   # V1, V3, V5, V8 (~3 min)
-

- status - (⇐) proved · (⇒) verified - (n≤4 exhaustive, n=5 targeted, real data) · - ∀n argument and external review: open, declared. -

-
-
- - - - - diff --git a/graphkind/index.html b/graphkind/index.html deleted file mode 100644 index 3da17dab53c559591bd0493c2174702d45dc4279..0000000000000000000000000000000000000000 --- a/graphkind/index.html +++ /dev/null @@ -1,399 +0,0 @@ - - - - - -GraphKind — Universos del color refinement - - - - -
-
-
GraphKind · preprint privado · 2026
-

Sobre los universos del
color refinement

-

- Cuándo sobrevive un invariante estructural a un cambio de - observación: la clasificación de las operaciones que preservan el - perfil del color refinement bajo involución — y su prueba. -

- -
- 2 131 019 grafos (T4) - 34/34 · 102/102 la ley - 96 exactas en n=4 - CI verde -
-
-
- -
-
-

El problema

-

- El color refinement (1-WL) resume un grafo en una - partición de sus vértices. ¿Qué operaciones dejan esa partición - intacta? -

-
- - - - - - - - - - - - - - - G - - ⟶ - complemento - - - - - - - - - - - - - - - - - - - - Ḡ - I(G)=I(Ḡ) - -
- T4: el color refinement de un grafo y el de su complemento - inducen la misma partición (mismos colores = mismas - clases). Descubierto por el motor, verificado en todos los - grafos de n≤7 y con prueba escrita. -
-
-

- La pregunta que sigue: si el observador comprime los conteos de - vecinos con una función f y la operación es una - involución ι, ¿en qué universos (f, ι) - sigue viviendo T4? -

-
-
- -
-
-

El resultado

-
-
T4(ι, f) VIVE  ⟺  ι ∈ Sₙ·K   y   - (ι cambia el par ⟹ f(1) ≠ f(2))
-
K = {id, comp_dir, transp, comp_transp} ≅ Z₂×Z₂
-
-
- - - - id - swap no · comp no - - transp - swap sí · comp no - - comp_dir - swap no · comp sí - - comp_transp - swap sí · comp sí - - viven con toda f - - viven ⟺ f(1) ≠ f(2) - - - La uniformidad une las dos mitades: fuera de K, todo muere - (aunque preserve el par). - - -
- El grupo de Klein: dos mitades, dos condiciones. La operación - debe ser global (relabel × K); si cambia el par conectado, la - compresión debe distinguir 1 de 2. -
-
-

El caso particular: la ley del conteo

-
T4 VIVE  ⟺  f(1) ≠ f(2)
-

- En el complemento, un vértice con 1 vecino de una - clase pasa a tener |c|−1 (que puede ser - 2): si f colapsa 1 y 2, la dualidad - muere. Lo que f haga con 3, 4, 5… es irrelevante. -

- - - - - - - - - - - - -
resultadoverificación
La ley f(1)≠f(2)34/34 · 102/102
Caracterización, n=4 exhaustivo96 exactas (24·4), cero fuera
T4 bajo la jerarquía k-FWL (≡ (k+1)-WL)51/51 en k=1,2,3
Cascada del observador (n≤7, 781 875 pares)26 → 0 (k=1 → k=2)
Datos realesmoléculas 100/100 · CST 94/94
-
- - - - 26 - 0 - k = 1 - k = 2 - k = 3 - - - - - - 26 pares 1-WL-equivalentes - - 0: 2-WL los resuelve todos - - C6 vs 2·C3: k*=2 - - Rook vs Shrikhande: k*=3 - -
- La cascada: la aleatoriedad aparente (pares no separados) cae a - cero al subir el observador. En n≤7, k*=2; los pares canónicos - necesitan k=2 y k=3. -
-
-
-
- -
-
-

El cambio de tipo

-

- Cambiando el tipo del invariante, T4 cambia de categoría - matemática — y cada fila es un tipo distinto de teorema: -

-
-
-
Estándar
-
invariante: partición · igualdad
-
T4 vive (probado)
-
-
-
Z₃ determinista
-
invariante: órbita · períodos
-
T4 muere (máx. 52.4%)
-
-
-
Aleatorio (proceso)
-
invariante: distribución · WL asíncrono
-
T4 muere (18.6%)
-
-
-
Aleatorio (objeto)
-
G(n,p) vs G(n,1−p)
-
T4 vive (casi seguro)
-
-
-
Jerarquía k-FWL
-
observadores más fuertes
-
T4_k 51/51
-
-
-
Involuciones aleatorias
-
invariante: medida del ensemble
-
umbral = medida
-
-
-
-
- -
-
-

Cómo se encontró

-

- El motor propuso y verificó T4 (banco de - conjeturas ciego, 68/68), la verificación masiva lo sostuvo y una - prueba escrita cerró el caso estándar. Después el laboratorio - parametrizó el universo y dejó que los datos eligieran la - ley: dos hipótesis humanas fueron refutadas antes de - llegar a la caracterización. -

-

- Una búsqueda autónoma de construcciones encontró - el mejor testigo válido (ciclo, 99.63%) — mejor que - la construcción humana. Y los errores quedaron registrados: -

-
-
1. Multiset de tamaños - invariante débil (C6 y 2·C3 lo comparten) → colores.
-
2. Comparar colores entre grafos - nunca coinciden → comparar particiones.
-
3. Índices en la coloración inicial - trivializaba todo → grados + adyacencias.
-
4. MultiseTs separados - k-WL débil → pares correlacionados (= k-FWL).
-
5. El Shrikhande mal construido - era el Rook dos veces → cazado por is_isomorphic.
-
-

- Cinco bugs propios cazados por controles, ninguno anunciado antes - de verificar. El método es parte del resultado. -

-
-
- -
-
-

Reproducibilidad

-

- Todo el paper se reproduce con un comando. Cada verificación lleva - un assert con el número exacto: si algo no - coincide, falla. -

-
git clone https://github.com/cripto-bot/graphkind-universos
-cd graphkind-universos
-python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
-bash reproduce.sh            # V1–V9 (~10-15 min)
-bash reproduce.sh --rapido   # V1, V3, V5, V8 (~3 min)
-

- estado - (⇐) probada · (⇒) verificada - (n≤4 exhaustivo, n=5 dirigido, datos reales) · - argumento ∀n y revisión externa: abiertos, declarados. -

-
-
- - - - - diff --git a/graphkind/paper/DECISION_LOG.md b/graphkind/paper/DECISION_LOG.md deleted file mode 100644 index 357122957282e84710d4467037beaacd7e70f5ef..0000000000000000000000000000000000000000 --- a/graphkind/paper/DECISION_LOG.md +++ /dev/null @@ -1,250 +0,0 @@ -# DECISION_LOG — decisiones técnicas del laboratorio - -> Formato: D-NNN · fecha · decisión · por qué · evidencia · alcance. - -## D-001 · 2026-09-12 · Fix del parser SMILES (`naturalkinds/ingest.py`) - -- **Decisión**: `if ch in "ClBr"` → `if (ch + smiles[i]) in ("Cl", "Br")`. -- **Por qué**: la condición era True para `'C'` y `'B'` solos, así que - `Cc1ccccc1` (tolueno) se parseaba como el elemento inexistente `"Cc"` y - se perdía un átomo del anillo; lo mismo con `Cn`, `Co`, `Cs`... de forma - **silenciosa** (no lanzaba error). -- **Evidencia**: 5000 moléculas únicas del SDF GEOM 5confs contra RDKit: - parser viejo mal **1089 (21.8%)**; parser nuevo **0 (0.0%)**. Tests de - regresión: `Cc1ccccc1`=7 nodos, `CCc1ccccc1`=8, `N1CCN(Cc2ccccc2)CC1`=13, - `ClC`/`BrC` siguen de dos letras. Suite 34/34 OK. -- **Alcance**: motor raíz y experimentos futuros. Los resultados congelados - 141-152 usaron el subconjunto que parseaba consistente (p. ej. 759/1000 - en el test ciego); siguen válidos como históricos con **sesgo declarado** - (se descartaban las moléculas con el patrón). Re-correr el arco con el - parser corregido queda como opción, no como obligación. -- **Detección**: VERIFY GATE de EXP-154 (Fase 7.2): el run devolvió 0 - grafos y el chequeo de conteo de átomos reveló el bug. - -## D-002 · 2026-09-12 · Cierre de la línea interventional (EXP-155/156) - -- **Decisión**: cerrar la línea "acoplamiento interventional" como - **resultado parcial**: mecanismo descubierto (32-33 relaciones X→Y en - TRAIN, snr 5-27) pero **transferencia OOD no lograda**. -- **Evidencia**: EXP-155 (cobertura 0.5%, ganancia +0.035°); EXP-156 causal - de 4 brazos: hash vs estructura B−A +0.000, granularidad C−A +0.001, - ambos D−A +0.001; ninguna condición supera el criterio operativo - (cobertura >5%, ganancia >20%). -- **Hallazgo lateral**: el gate de representación mostró 33 colapsos del - hash (pérdida de `initial_labels`, que descarta la composición de aristas - en la etiqueta base), pero su efecto en transferencia es nulo. -- **Causa**: los contextos de kinds no reaparecen en scaffolds OOD ni en la - granularidad más gruesa elegida por el motor. -- **Alcance**: no se sigue ajustando la representación; el próximo eje es - restricciones geométricas / proteína-PDB (o volver a papers), según el - roadmap de la spec. - -## D-003 · 2026-09-12 · Umbrales emergentes (EXP-157) y cierre de iteraciones - -- **Decisión**: los umbrales `MIN_N` y `BINS` se mueven al mecanismo de - emergencia (CV+1-SE en TRAIN, como r*), no a barridos. Tras EXP-157 **no - hay más iteraciones de ajuste**: sigue escribir papers. -- **Evidencia**: interventional eligió MIN_N=10 (CV +0.0539 vs +0.0288 en - 30) y mejoró OOD marginalmente (0.98%/+0.79% vs 0.53%/+0.50%); - conformacional eligió (10, 20°) y mejoró OOD (1.060 Å/21.8% vs - 1.136 Å/19.9% del heredado 30/10°). -- **Conclusión**: `MIN_N=30`/`BINS=10°` eran convención, no óptimos. La - línea interventional cierra con tres explicaciones eliminadas - (granularidad, hash, umbrales). -- **Alcance**: los grids de candidatos son humanos (declarado); la elección - es del motor. `Z`, `n_boot`, `semilla` quedan como prioris estadísticas - (no se calibran por emergencia). - -## D-004 · 2026-09-12 · Calibración emergente probada (3 controles) - -- **Decisión**: la calibración emergente de EXP-157 queda **probada** y va - al paper con evidencia completa. -- **Evidencia**: (1) bootstrap pareado ΔRMSD IC95 [−0.130, −0.019] no cruza - cero; (2) el motor elige (10, 20°) en **4/4 splits** y mejora en 4/4; - (3) (10,20°) es el mejor OOD del grid medido (control, no selección). -- **Alcance**: `MIN_N=30`/`BINS=10°` quedan documentados como convención - subóptima; los valores emergentes (10, 20°) son los reportados. - - -## D-005 · 2026-09-12 · Naming k-WL/k-FWL corregido (EXP-159) - -- **Decisión**: la variante de EXP-118/119 es k-FWL (correlacionada, ≡ - (k+1)-WL); el "3-WL separa Rook/Shrikhande" de 119 §8 es 3-FWL ≡ 4-WL. - Corregido en el README de EXP-119. -- **Evidencia**: `naturalkinds/kwl.py` implementado desde cero + verificado - contra 118/119: `kwl(3)` NO separa Rook/Shrikhande; `kfwl(3)` SÍ. - T4_k universal (207/207) en las 5 variantes; `kwl(1)=kwl(2)` en el atlas. -- **Alcance**: la jerarquía conocida se reporta como **redescubrimiento**; - EXP-159 cierra y se pasa a papers (no más iteraciones). - - -## D-006 · 2026-09-12 · Ruptura empírica en tw=3 (EXP-160) - -- **Decisión**: se reporta como **hallazgo experimental** (no teorema) que - en el espacio declarado (bases lineales por tw + productos de a dos) las - relaciones para `hom(H,Ḡ)` transfieren OOD para **tw≤2** y **no existen** - para **tw≥3** (6/6 refutados, K5 incluido). -- **Evidencia**: `EXPERIMENTS/EXP-160-.../results_frozen.json`; sin - fórmula programada; R² TEST 0.2–0.7 (leyes parciales); consistente con - EXP-092/093 (no hay base triangular simple). -- **Alcance**: H≤5, corpus n≤8; la conexión hom/treewidth/k-WL es teoría - conocida (post-freeze, redescubrimiento parcial); el punto de ruptura - empírico es el aporte. - - -## D-007 · 2026-09-13 · SNF del Laplaciano separa Rook/Shrikhande (EXP-161) - -- **Decisión**: se registra como hallazgo del barrido algebraico que el - **SNF del Laplaciano/signless** distingue el par SRG **cospectral** - Rook 4×4 vs Shrikhande, donde espectros de A/L/Q, Seidel, SNF(A), - SNF(A+I), det/rango y |Aut| fallan. Ningún invariante algebraico del - barrido es complemento-invariante exacto. -- **Evidencia**: `EXPERIMENTS/EXP-161-.../results_frozen.json` (pares - conocidos); sanity espectral 25/25 en regulares (EXP-090). -- **Alcance**: n≤8; comparación bibliográfica pendiente (redescubrimiento - si aplica). Anticipo directo del programa SG-01 (invariantes completos). - -## D-008 · 2026-09-13 · IR canónico: marcador sin id + firma completa (SG-02) - -- **Decisión**: `IR_k` usa (a) marcador canónico `IND` —sin el id del - vértice— y (b) la **firma completa** del refinamiento (multiset de - colores), no el perfil de tamaños de clase. Ambas fugas fueron cazadas - por los tests antes del freeze. -- **Evidencia**: con el marcador `ind:{nid}` el control de relabeling - falla (fuga de etiquetado); con el perfil, i* daba "+" para 13 595/13 597 - y el complemento "identificaba" 12 346/12 346 (imposible). Con la - corrección: i* = 1 en n≤8 (13 597), frontera Rook/Shrikhande i* = 2 - (IR_1 no, IR_2 sí), complemento 10/12 346 → cociente 6 168 (igual que - SG-01). -- **Alcance**: los tests usaban un multigrafo (aristas duplicadas en la - construcción manual): se corrigió a grafos simples. La corrección - cambió el resultado (i* de artefacto a 1/2) — se registra, no se borra. - -## D-009 · 2026-09-13 · SG-03: IR1p sigue a 3-WL y IR2p a 3-FWL/4-WL; n=10 no alcanzado - -- **Resultado**: con las definiciones fijadas antes de correr (IR_k-peor - primario: soporte de tipos puntados sin multiplicidades; simultánea), - en la clase n≤9 (274 668) todos los primitivos completos inducen la - misma partición (discreta): la equivalencia en la clase es **vacua**. - WL = KW2 (3 900 pares fusionados, 271 941 clases: KW2 no agrega poder). - La evidencia discriminante son las anclas: IR1p falla donde 3-WL falla - (Rook/Shrikhande) y separa donde 3-WL separa (C6/2C3); IR2p separa - Rook/Shri como 3-FWL ≡ 4-WL (KF3), y **KF2 no** (a n=16 kfwl(2) y - kfwl(3) difieren: el atlas los igualaba). -- **Evidencia**: `EXPERIMENTS/SG-03-01-ir-vs-kwl/results_frozen.json` - (retículo, anclas, n_min, piloto); relabeling 30/30. -- **Alcance**: n≤9 + anclas; n=10 no alcanzado (piloto 36.9 h > 12 h - declaradas); C (incomparables) no observado; peor vs multiset sin - divergencia observada. La frontera exacta queda abierta. - -## D-010 · 2026-09-13 · Multicapa: la coherencia de canales (EXP-162) - -- **Resultado**: en el universo multicapa (refinamiento conjunto), T4 - vive con el complemento **total** y muere con el **por capa** (6.9% - L=2, 7.4% L=3) — **solo en la variante canónica** (canales como - conjunto); la ordenada es el control. La ley: el complemento debe - actuar uniformemente sobre las capas. Las permutaciones de canales - preservan en ambas variantes (la partición es ciega al orden: H3 - corregida). El acoplamiento sube k* de 1 (single) a 2 (multicapa). -- **Evidencia**: `EXPERIMENTS/EXP-162-.../results_frozen.json` (1 298 y - 1 404 objetos; cascada 674 976 pares; testigos n=3/n=4). -- **Alcance**: L≤3, n≤5/4; capas etiquetadas; definiciones propias; - empírico en la clase. - -## D-011 · 2026-09-13 · El grupo preservante es relativo a la observación (EXP-163) - -- **Resultado**: en el espacio `Z₂^L ⋊ S_L`, el conjunto que preserva T4 - es **exactamente el subgrupo uniforme U** (`∅` o todas las capas + - `S_L`) en la variante canónica (L=2: 4/4; L=3: 12/12; cierre - verificado); en la **ordenada** preserva **todo el grupo** (8/8 y - 48/48). El grupo es **relativo a la observación** (análogo multicapa - de la relatividad al WL, EXP-109/110). -- **Evidencia**: `EXPERIMENTS/EXP-163-.../results_frozen.json`. -- **Alcance**: L≤3, n≤5/4; la (⇒) ∀L sigue abierta - (`PRUEBA-MULTICAPA.md`); empírico en la clase. - -## D-012 · 2026-09-13 · La escalera k\*(L) es plana; corrección del k\*=2 de EXP-162 (EXP-164) - -- **Resultado**: con `k=1` = refinamiento conjunto (corregido) y `k≥2` = - k-FWL conjunta, `k*=1` para L=2..5 en dos corpus (representantes n≤4: - 123/1 349/14 751/161 621 clases; etiquetas completas n≤3: 20/120/816/ - 5 984). Escalera **plana**: si hay umbral, `k₀ ≥ 5`. -- **Corrección**: EXP-162 reportó `k*=2` con `kwl_conjunto(k=1)` - degenerado (solo colores iniciales, sin actualización). Con el k=1 - corregido —el mismo criterio que el motor single-layer— el - acoplamiento no sube k\*. Se registra (patrón D-008). -- **Evidencia**: `EXPERIMENTS/EXP-164-.../results_frozen.json` + - `verificacion_corpus.py`. -- **Alcance**: n≤4/3, L≤5, techo `k* ≤ n`; la (⇒) ∀L de - `PRUEBA-MULTICAPA.md` sigue abierta. - -## D-013 · 2026-09-13 · La frontera es de la pareja; pesa el observador (EXP-165) - -- **Resultado**: en la matriz universo × observador (dos métricas: T4 y - frontera), la frontera **se mueve con el observador** (WL/KW2 fallan en - n=6; KW3/IR1p completos en n≤6) y **no se mueve con el tipado** (fila - tipado = fila estándar en `n_min`). T4 vive en tipado 4 784/4 784. -- **Celdas N/A declaradas**: completitud de dirigido/Z₃/R1 (maquinaria - del observador dinámico fuera del motor) — no se inventan. -- **Evidencia**: `EXPERIMENTS/EXP-165-.../results_frozen.json` + freezes - citados (SG-03, EXP-109/116/117/162/164). -- **Alcance**: tipado n≤6, 2 kinds; `n_min` acotado por corpus. - -## D-014 · 2026-09-13 · El mapa es predictivo en universos no visitados (EXP-166) - -- **Predicción registrada antes de medir**: T4 vive en hipergrafos - 3-uniformes (complemento dual global: resta de multiséts con total - fijo `T_v` sobre el link, inyectiva por clase). -- **Medición**: T4 viva **1831/1831** (n=3: 2/2; n=4: 5/5; n=5: 34/34; - n=6 muestra: 1790/1790). **A: la predicción acierta.** -- **Frontera**: 1-WL de hipergrafos, `n_min = 6` (60 colisiones en la - muestra n=6) — coincide con la de grafos (EXP-165). -- **Evidencia**: `EXPERIMENTS/EXP-166-.../results_frozen.json`. -- **Alcance**: n≤6 (n=6 por muestra), 3-uniformes; k≥2/IR de hipergrafos - N/A; (⇒) multicapa abierta. - -## D-015 · 2026-09-13 · El transplante de la ley de canales falla (EXP-167) - -- **Escalera de aridad**: T4 vive en k=4 (156/156) y k=5 (7/7); frontera - 1-WL n=6 (4 colisiones en k=4) — "lo vasto se siente estándar". -- **Mezclado (2+3)**: total vive 100%; **por aridad también vive - 1038/1038** en ambas variantes — la predicción de canales (por aridad - muere en la canónica) **falla**. -- **Hipótesis mecanística**: la diferencia es la estructura del mensaje - (en multicapa todas las capas comparten tipo; en mezclado los mensajes - por aridad tienen tipos distintos y el refinamiento repara la colisión - inicial de grados). Testigo dirigido en n≥6 pendiente. -- **Ley afinada**: "uniformidad" es **suficiente**; como necesaria - depende del tipo de mensaje — la ley es **de canales**, no de toda - descomposición. -- **Evidencia**: `EXPERIMENTS/EXP-167-.../results_frozen.json`. -- **Alcance**: k≤5, aridades {2,3}, n≤6; empírico. - -## D-016 · 2026-09-13 · Reparo robusto en aridades mezcladas (EXP-168) - -- **Resultado (B)**: búsqueda dirigida (construcción canónica) + - muestras amplias en n=6,7,8: **261 000 casos, 21 821 fusiones - dirigidas en ronda 0, todas reparadas, 0 testigos** (T4 nunca falló). - Controles negativo (sin fusión: 0 fallas) y total (uniforme: 100% - vive) limpios. -- **Consecuencia**: la conjetura D-015 se fortalece; el **guardrail** - para hipergrafos mezclados puede **permitir** el dual por aridad - (ahorro de hiperaristas) — la asimilación como capacidad queda como - decisión pendiente declarada. En multicapa el por-capa sigue - prohibido. -- **Evidencia**: `EXPERIMENTS/EXP-168-.../results_frozen.json`. -- **Alcance**: n≤8, aridades {2,3}, muestras (no exhaustivo); empírico; - la (⇒) multicapa sigue abierta. - -## D-017 · 2026-09-13 · El dual por aridad entra al motor (EXP-169) - -- **Capacidad asimilada**: `refine_dual_mezclado` (hipergrafos - mezclados) elige el lado ralo **por aridad** y devuelve la partición - con garantía empírica (EXP-168). Validación: 60 000 casos, **partición - 100%**, ahorro **14.37%** vs 10.26% del dual total (**+4.11% extra**). -- **Guardrail**: el dual por aridad **se ofrece** en mezclados; el dual - por capa de multicapa sigue **prohibido** (rompe). La diferencia es el - tipo de mensaje (EXP-167/168). -- **Evidencia**: `EXPERIMENTS/EXP-169-.../results_frozen.json` + tests - 104/104. -- **Alcance**: n≤8, aridades {2,3}, garantía empírica (no ∀n). diff --git a/graphkind/paper/MAPA-DEL-LABORATORIO.md b/graphkind/paper/MAPA-DEL-LABORATORIO.md deleted file mode 100644 index 3e28fcd8a0bbd108f43a7bd3f3b3648bee1e7f6d..0000000000000000000000000000000000000000 --- a/graphkind/paper/MAPA-DEL-LABORATORIO.md +++ /dev/null @@ -1,184 +0,0 @@ -# El mapa del laboratorio — 120 experimentos, verificables - -> GraphKind · 2026-09-10 · documento de síntesis -> Verificación: **EXP-120** (`26/26` hitos contra los freezes) · -> índice completo: `EXPERIMENTOS-INDICE.md` · paper: `PAPER.md` · -> ciclo de universos: `TEOREMA-UNIVERSOS.md` · motor: `MOTOR-GRAPHKIND.md`. - ---- - -## 0. Los números del corpus - -| métrica | valor | -|---|---| -| experimentos | **120** (EXP-000 → EXP-120) | -| con `run.py` | 113 | -| con resultados congelados | 112 | -| con README | **120** | -| líneas de `run.py` | **26 384** | -| resultados congelados | **321 KB** | -| hitos verificados por EXP-120 | **26/26** | - -Todo el laboratorio se reproduce con `reproduce.sh` y cada número de -este documento está anclado a un artefacto congelado que EXP-120 -comprueba automáticamente. - ---- - -## 1. Fundacional (EXP-000 → 010) - -**Pregunta**: ¿se puede describir estructura sin taxonomía previa, y a -qué granularidad? - -| hito | número | -|---|---| -| Baseline código real (FROZEN-12) | 87.1% de nodos; 11 kinds para el 95% | -| Auditoría de la taxonomía | **colapso 0.5876** (58.8% de información descartada), B=0 ruido | -| Moléculas ChEMBL (5K→50K) | compresión 2.485× → **3.001×**; 474 840 kinds | -| Paridad con Morgan (750 pares) | **1.0000 vs 0.9973** | -| Granularidad natural | k\* = 21 → 24; meseta 13–27; techo en 28 | -| Superficie G(r,k) | máximo acuerdo con la taxonomía humana **ARI 0.736** | - -**Lección**: la taxonomía manual no es la verdad — es una compresión -que descarta estructura medible. La granularidad emerge del dato. - ---- - -## 2. Riemann (EXP-011 → 019) - -**Pregunta**: con el objeto matemático crudo (primos, ceros), ¿qué -estructura emerge sola, con controles? - -| hito | número | -|---|---| -| 2 001 052 ceros (Odlyzko) | **JS 0.1350 vs remap 0.0161** (8.4×) | -| Transferencia OOS | JS 0.0191; Montgomery **0.670** | -| Puente de Euler | **a = 0.16110** ⊃ **1/2π = 0.159154** (dentro del CI) | -| Línea crítica | **σ\* = 0.50000** (12/12 ceros, derivado del dato) | -| 18 L(s,χ) | OOS 0.0337 vs remap 0.2380 (7.1×) | -| Subdivisión de L | **negativo limpio**: OOS ARI −0.054 / −0.083 | - -**Lección**: la disciplina anti-sesgo (freeze, permutado, blind, OOS) -también funciona en matemática — y los negativos son resultados. - ---- - -## 3. Aritmética, álgebra y física (EXP-020 → 046) - -**Pregunta**: ¿puede el sistema representar y verificar matemática sin -reglas programadas? - -| hito | número | -|---|---| -| r\* emergente (validación interna → B) | **r=1, AUC 0.8934** | -| WL discreto vs Morgan | **0.8877 vs 0.8864** (la vecindad como subestructura) | -| Cálculo estructural (sin aritmética) | neutro 10/10 · conmutativa 49/49 · asociativa 125/125 · puente 64/64 | -| Inversión | **100/100** verificados + "no hay solución" detectado | -| Derivación ciega | **16/16** con verificación independiente 16/16 | -| NS-3D | vórtice verificado; LAP=6; continuidad 3≠0 (control) | -| Integración | y'=2x → x²; y'=3 → 3x (búsqueda + verificación) | - -**Lección**: las leyes se recuperan como equivalencias estructurales; el -lenguaje se declara, la semántica emerge. - ---- - -## 4. Descubrimiento y ontología (EXP-047 → 079) - -**Pregunta**: ¿qué descubre el sistema en código real y proteínas reales -— y qué rechaza? - -| hito | número | -|---|---| -| Descubrimiento en código | 129 cadenas + 119 anillos + 152 estrellas (ARI 0.7034) | -| Código real (600 funciones) | 2 familias estables **0.615/0.802** (luego: eran tamaño) | -| Proteínas: 6 vías | **6/6 rechazadas por el control** (siluetas 0.96 incluidas) | -| Matemática emergente | x²/2, e^x/ln, TG-2D (λ=2ν), **λ=νn²**, ABC 6/6, cascada **√5**, límite Euler **~1.2** | -| WL vs Morgan a 40K | **0.9608 vs 0.9541** (la ventaja crece con el dato) | -| Transferencia bio→código | 0.461 vs 0.134 (3.4×) | -| Tribunal (077) | 050 sobrevive (0.615/0.802); 052 cae (−0.006); 070 era ruido | -| Identificaciones | 078: rareza [3998,2]; 079: 050 era **tamaño** (116 vs 413 nodos) | - -**Lección**: el control negativo es el activo — el sistema **no fabrica -categorías**, y cuando una interpretación cae, se corrige y se registra. - ---- - -## 5. T4 (EXP-080 → 098) - -**Pregunta**: ¿puede el motor descubrir, verificar y probar un teorema -sobre su propio invariante? - -| hito | número | -|---|---| -| Conjetura del motor (corpus ciego) | **68/68** | -| Cámara de contraejemplos | **3 045/3 045** | -| Adversario masivo (8 generadores) | **19 407/19 407** | -| Exhaustivo n≤7 | **2 131 019/2 131 019 = 100.0000%** | -| Compatibilidad | 688/688 | -| Prueba escrita | `PRUEBA-T4.md` (inyectividad `M ↦ T−M`) | -| Capacidad | ahorro **40.5%**; `refine_dual` hasta **10.3×** | -| Banco de conjeturas | 21 × 2.1M; C6 refutada en n=8; C6b 858 violaciones; C6c resiste 5 114 079 | - -**Lección**: de conjetura a teorema candidato con prueba escrita — y el -teorema entra al motor (`refine_dual`), validado por experimento. - ---- - -## 6. Universos (EXP-099 → 120) - -**Pregunta**: ¿en qué universos de observación `(f, ι)` vive T4 — y qué -tipo de teorema es en cada uno? - -| hito | número | -|---|---| -| Ley del conteo | **T4 ⟺ f(1) ≠ f(2)** · 34/34 · blindaje 102/102 | -| Caracterización Sₙ·K | (⇐) **probada**; (⇒) n=4: **96 exactas**, cero fuera | -| Testigos | **6 424/6 424**; búsqueda autónoma: `ciclo` **99.63%** | -| Grafos reales | moléculas **100/100**; CST 94/94; consistencia 194/194 | -| Relatividad al WL | 76/1504 iotas cambian de veredicto | -| Z₃ determinista | T4-período **muere** (máx 52.4%) | -| Aleatorio | R1 muere (18.6%) · R2 vive · R3 umbral = medida | -| Jerarquía k-FWL (≡ (k+1)-WL) | T4_k **51/51** · cascada **26 → 0** · Rook k\*=3 | -| Auditoría externa (HF) | 29/30 en rango, pero **10/15 reproducen** su N; ruido dentro/fuera según método | -| Ley de N (búsqueda ciega) | los rangos **no convergen**: N es del método, no del sistema | - -**Lección**: T4 no es absoluto — es **relativo al par (universo, WL)**; -el invariante cambia de tipo (partición → órbita → distribución → -observador) y con él cambia la categoría del teorema. - ---- - -## 7. Los patrones transversales - -1. **El método es constante**: congelar antes de interpretar, control - negativo (multi-réplica desde 076), negativos honestos, y - **correcciones registradas, no borradas**: - 050→tamaño · 052→cae · 070→ruido · 112/113→artefacto de extensión · - 118/119→kernel k-FWL mal nombrado (D-005, corregido en 159) y **Shrikhande mal construido** (`is_isomorphic`). -2. **Cuatro tipos de resultado**: kinds → leyes matemáticas → teoremas - → universos. Cada salto sube un nivel de abstracción. -3. **El motor evolucionó**: describir (kinds) → elegir (miradas) → - probar (T4) → caracterizar (Sₙ·K) → buscar construcciones (ciclo) → - **publicar con asserts**. -4. **La regla de oro**: el motor descubre; el estatus - descubrimiento/redescubrimiento se decide contra la literatura con - verificación, nunca por suposición. - ---- - -## 8. Estado actual y publicación - -- **T4**: prueba escrita, revisión externa pendiente. -- **Caracterización Sₙ·K**: (⇐) probada; (⇒) verificada; ∀n abierto. -- **Artefacto de publicación**: repo privado - `cripto-bot/graphkind-universos` (paper + V1–V9 con asserts + CI + - página ES/EN) — listo para arXiv cuando se decida. -- **Verificación de este mapa**: `EXP-120` (26/26 hitos) — correr - `python run.py` en su carpeta. - ---- - -*Este documento no reclama prioridad sobre problemas abiertos: reporta -lo que el laboratorio construyó, con cada número anclado a un artefacto -congelado y comprobable.* diff --git a/graphkind/paper/PAPER.md b/graphkind/paper/PAPER.md deleted file mode 100644 index 4216f975f59d5dd7bf882643710c7de91130db33..0000000000000000000000000000000000000000 --- a/graphkind/paper/PAPER.md +++ /dev/null @@ -1,637 +0,0 @@ -# GraphKind: descubrimiento estructural autónomo y leyes emergentes en universos de observación - -> **Borrador académico (v2)** · laboratorio GraphKind · 2026-09-13 -> Repo: `cripto-bot/graphlang-natural` (privado) · todo reproducible. - -**Autores**: [Juri] · con el motor GraphKind como instrumento. -**Código y datos**: repositorio completo (v2: T4 + arco de universos; -laboratorio: 169 EXP + SG-01/02/03, tags v0.1.0–v0.7.1). - ---- - -## Abstract - -Presentamos **GraphKind**, un motor de descubrimiento estructural que opera -por refinamiento iterativo de vecindades (1-WL / color refinement) sin -taxonomía previa, y un protocolo de laboratorio que permite **descubrir, -congelar, identificar y verificar** regularidades estructurales. El motor -iguala a los fingerprints de Morgan en moléculas reales (AUC 0.9608 vs -0.9541 sobre 40 000 compuestos) y descubre estructura en código humano real -(dos familias estables, ARI 0.615/0.802). Como resultado matemático, -T4 — la invariancia del perfil del color refinement bajo complemento — -fue **propuesto y verificado por el motor** (mecanismo de conjeturas -construido por el humano: el motor propuso, refutó, verificó, descubrió -la ley, generalizó y asimiló la capacidad), verificado en 2 131 019 -grafos exhaustivos (n≤7) y 19 407 adversariales, con **prueba** escrita -(la inyectividad de la resta de multiséts de vecindades). -Más aún: parametrizando el *universo de observación* (la función que -comprime los conteos de vecinos y la involución que actúa), encontramos -una **ley emergente**: `T4 vive ⟺ la involución es trivial, o es dual -global y el conteo distingue 1 de 2`. La ley fue **elegida por la tabla, -no por el humano** (dos hipótesis humanas fueron refutadas por los datos) -y se verifica en 102/102 casos. Clasificamos las involuciones en tres -clases exhaustivas (trivial / dual global / local) y publicamos un -**atlas** de 15 universos. Un segundo ciclo refinó la ley hasta una -**caracterización**: `T4(ι,f) vive ⟺ ι ∈ Sₙ·K` (K = grupo de Klein de -las operaciones globales) y, cuando `ι` cambia el par, `f(1)≠f(2)`; la -disyunción humana "preserva el par ∨ distingue 1 de 2" fue **falsada en -ambas direcciones** (EXP-110) y la pieza que faltaba resultó ser la -**uniformidad**. La dirección (⇐) está **probada** (mecanismo de -conteos); la (⇒) está **verificada** exhaustiva en n≤4 (96 = 24·4 -exactas, cero fuera) y dirigida en n=5, y una **búsqueda autónoma de -construcciones** halló el mejor testigo válido (`ciclo`, 99.63%) — un -**control negativo** cazó y retiró una "prueba" que medía la iota -extendida (otra operación). Todos los resultados son reproducibles con -Pool(22); los límites (∀n de (⇒) abierto, n≤6–7, definiciones propias, -revisión externa pendiente) se declaran explícitamente. La **v2** agrega -el arco de universos (§12): la ley multicapa (coherencia de canales), el -grupo preservante, la escalera k\*, la matriz universo×observador, la -predicción en hipergrafos, el fallo del transplante por aridad y el dual -asimilado; y el **Santo Grial** (§13): la completitud en la clase, su -**precio** (6 168 pares del cociente por complemento), la individualización -y el retículo IR↔k-WL. - -**Abstract (English)**. We present GraphKind, a structural discovery engine -based on iterated neighborhood refinement (1-WL) with no prior taxonomy, -plus a laboratory protocol to discover, freeze, identify and verify -structural regularities. The engine matches Morgan fingerprints on real -molecules (AUC 0.9608 vs 0.9541, 40k compounds), discovers stable -structure in real code, **proposed and verified theorem-candidate T4** -(complement-invariance of the color-refinement profile; the conjecture -mechanism was human-built: the engine proposed, refuted, verified, -discovered the law, generalized it and assimilated the capability; -verified on 2 131 019 exhaustive graphs plus 19 407 adversarial ones, -with a written -proof), and yields an **emergent law** over observation universes: -`T4 holds ⟺ the involution is trivial, or dual-global with a count that -distinguishes 1 from 2` (102/102 verified; the law was selected by the -data, not by us). A second cycle refined this into a **characterization** -`T4(ι,f) holds ⟺ ι ∈ Sₙ·K and (ι changes the pair ⟹ f(1)≠f(2))`: the -human disjunction "preserves the pair ∨ distinguishes 1 from 2" was -**falsified in both directions**, uniformity being the missing piece; -(⇐) is **proved**, (⇒) **verified** exhaustively in n≤4 and targeted in -n=5, and an **autonomous construction search** found the best valid -witness (`cycle`, 99.63%) while a **negative control** caught and -retracted a "proof" that measured the extended involution. All results -are reproducible; limits are declared. - ---- - -## 1. Introducción - -Los sistemas de descubrimiento automático suelen atacar problemas con una -métrica y un objetivo fijos. Nuestra pregunta es distinta: - -> ¿Puede un sistema **descubrir regularidades estructurales** antes de -> disponer de una semántica humana para nombrarlas — y puede hacerlo -> también **sobre sus propias reglas de observación**? - -La tesis del laboratorio se resume en: **la sintaxis se declara; la -semántica emerge**. El sistema recibe objetos (grafos, moléculas, código, -secuencias) y reglas de observación; el resto — familias, invariantes, -anomalías, leyes — se busca y se verifica, con **controles negativos** que -distinguen estructura real de fabricación. - -**Contribuciones**: - -1. Un motor de kinds emergentes (WL) con paridad frente al estándar - industrial (Morgan/ECFP) y con descubrimiento estructural en código - real (§4). -2. Un protocolo de laboratorio: selector de representaciones, controles - multi-réplica, re-auditoría e identificación post-freeze (§4). -3. **T4**: propuesto y verificado por el motor (mecanismo humano), - verificado masivamente, con prueba escrita y capacidad medida (§5). -4. **La ley de universos**: una condición puntual (`f(1)≠f(2)`) que la - tabla eligió; clasificación trivial/dual/local; atlas (§6). - ---- - -## 2. Trabajo relacionado (y qué no somos) - -- **Color refinement / 1-WL** [Weisfeiler–Leman 1968; Morgan/ECFP]: - nuestro kernel. Sabido: 1-WL no distingue grafos regulares del mismo - grado (C6 vs 2·C3). No aspiramos a resolver isomorfismo [Babai 2016]. -- **Expresividad de GNNs** [Xu et al. 2019; Morris et al.]: los mensajes - de paso están acotados por 1-WL. Nuestro motor no es una GNN: no - aprende, **deriva**. -- **Generación de conjeturas** [Graffiti; AutoGraphiX; Ramanujan Machine; - AlphaTensor/AlphaGeometry]: comparten el espíritu de "buscar - regularidades". La diferencia aquí: (a) el sistema descubre conjeturas - **sobre su propio invariante**; (b) la ley final fue **refutando - hipótesis humanas**, no confirmándolas. -- **Homomorfismos y WL** [Dvořák 2010; Dell–Arvind–Larsson 2018]: base - para la conexión con conteos; nuestro EXP-092-093 falsificó la - triangularidad lineal sobre árboles y conexos (aparecen productos). -- **Teoría de grafos hamiltonianos** [Tait 1884; Petersen; Zamfirescu - 1980]: usada como coto de prueba de nuestro pipeline de refutación. - -**Lo que no somos**: no probamos teoremas generales (T4 tiene prueba -escrita, pendiente de revisión externa); no resolvemos P vs NP, -Hadwiger, CDC, Lovász ni Erdős–Hajnal; no violamos límites de la -computación — buscamos **universos donde el viaje es más corto** (§6). - ---- - -## 3. El motor y el laboratorio - -### 3.1 Definiciones - -- **Grafo** `G=(V,E)`: nodos con `(tipo, valor)` y aristas etiquetadas - dirigidas (el laboratorio usa aristas en ambos sentidos para grafos - simples). -- **Color refinement** (1-WL): `color_0(v)=H(tipo|valor|grado)`; - `color_{r+1}(v)=H(color_r(v) | multiset ordenado{(color_r(u),label,dir)})`; - se itera hasta partición estable (o 64 rondas, con warning). -- **Kinds emergentes**: las clases de color estables (sin taxonomía - previa). **Perfil** `I(G)`: multiset ordenado de tamaños de clase. -- **Complemento**: `Ḡ = (V, J−I−A)`. - -### 3.2 Protocolo del laboratorio - -1. **Representación**: el sistema **elige** la mirada (p.ej. entre - R1–R6, o 16 miradas generadas) por criterio pre-registrado. -2. **Controles**: negativo (shuffle de marginales; **mediana de N=5 - réplicas** — una sola pasada es inestable), estabilidad (mitades), - predicción (GMM sobre holdout). -3. **Congelar antes de interpretar** (`results_frozen.json`). -4. **Identificación post-freeze**: comparar con propiedades - independientes (ARI contra referencias) — y **corregir la - interpretación** si no se sostiene. -5. **Reproducibilidad**: `SEED=7`, Pool(22) (22 núcleos/44 hilos) con - verificación de CPU (1200–2200%), tests del motor 104/104 al cierre - de la v2, CI. - -### 3.3 La regla de oro - -Los hallazgos son **del motor** (autónomos, sin leer literatura). El -estatus "descubrimiento vs redescubrimiento" se decide **contra la -literatura, con verificación** — nunca por suposición. Esta regla nos -obligó a reetiquetar hallazgos propios (p.ej. C6b) y a re-auditar señales -previas (§4.3). - ---- - -## 4. Resultados I: descubrimiento estructural - -### 4.1 Moléculas: paridad con el estándar - -| métrica | GraphKind (WL r1+sym) | Morgan ECFP | -|---|---|---| -| AUC TEST (40 000 ChEMBL) | **0.9608** | 0.9541 | -| AUC CV-5 | 0.9617 ± 0.0015 | 0.9511 ± 0.0012 | - -La ventaja **crece con el dato** (+0.0013 a 4k → +0.0067 a 40k): la -equivalencia estructural no es un artefacto de muestra. - -### 4.2 Código real: estructura estable - -Sobre 600 funciones Python reales (CodeSearchNet), el sistema eligió su -mirada y encontró dos familias estables (ARI mitades 0.615/0.802 ≥ 0.5 -pre-registrado). La identificación post-freeze mostró que la separación -es de **tamaño/complejidad** (116 vs 413 nodos; la fracción -"llamadas vs atributos" idéntica): una interpretación semántica previa -fue **corregida por el protocolo**. - -### 4.3 El valor del control negativo - -En 6/6 campañas de ontología sobre proteínas (051–056), el control -rechazó todas las candidatas — incluidas las siluetas más altas del -laboratorio (0.962, 0.966). La re-auditoría multi-réplica (077) tumbó -señales previas (052: −0.006) y confirmó la estructura del 050. **El -sistema no fabrica categorías.** - ---- - -## 5. Resultados II: T4, de conjetura a teorema candidato - -### 5.1 La conjetura del motor y su verificación - -El sistema, en un corpus ciego de 10 familias, propuso conjeturas sobre -transformaciones y halló: `I(Ḡ)=I(G)` en 68/68. Cámaras posteriores: -**3 045** grafos aleatorios + **19 407** adversariales + **2 131 019** -exhaustivos (todos los grafos n≤7, **100.0000%**) + lema por ronda -(multisets iguales en cada iteración) + compatibilidad -(`I(G)=I(H) ⇒ I(Ḡ)=I(H̄)`, 688/688). - -### 5.2 La prueba (versión fuerte) - -> Para todo grafo finito simple `G`: las particiones del color refinement -> de `G` y `Ḡ` son **idénticas** sobre `V` (y por tanto los perfiles). - -**Prueba**: inducción sobre rondas. Base: los grados se complementan -(`d ↦ n−1−d`). Paso: la vecindad cerrada se invierte -(`N_Ḡ[v]=V∖N_G(v)`), y la aplicación `M ↦ T−M` (T fijo) es **inyectiva** -sobre multiséts de colores ⇒ la relación "mismo color" se preserva ronda -a ronda. ∎ *(escrita en `PRUEBA-T4.md`; pendiente de revisión externa.)* - -### 5.3 Capacidad (el teorema como herramienta) - -- **Sanity interno**: `I(G)=I(Ḡ)` como test de consistencia del motor - (0 fallos en 2 000 grafos). -- **Normalización dual**: almacenar el lado más ralo de {G, Ḡ} sin perder - el perfil: **40.5% de ahorro** de aristas. -- **`refine_dual` en el motor** (validado por experimento): refinar el - lado ralo acelera hasta **10.3×** en grafos densos (2.38× global), con - identidad de partición garantizada. - ---- - -## 6. Resultados III: universos y la ley emergente - -### 6.1 El mapa - -Parametrizando el **universo de observación** `(f, ι)` — `f` comprime los -conteos de vecinos; `ι` es la involución (complemento, relabels, locales) -— medimos dónde vive T4: - -| universo | T4 | -|---|---| -| conteo exacto, F2 (paridad), dirigido, vértices/aristas tipados | ✅ vive | -| umbral booleano (≥1) | ❌ muere (testigo mínimo n=4) | -| tropical | no aplica (sin involución natural) | - -### 6.2 La ley (elegida por la tabla) - -Barriendo 17 funciones `f` (identidad, mod p, umbral k, truncado, log, -polinomios…) × 2 involuciones: - -> ### **T4 VIVE ⟺ f(1) ≠ f(2)** -> (34/34 en el barrido del eje del conteo; 102/102 en el blindaje.) - -**Mecanismo**: en el complemento, un vértice con 1 vecino de color c pasa -a `|c|−1` (que puede ser 2): si `f` colapsa 1 y 2, la dualidad muere. -**No importa** qué hace `f` con 3, 4, 5…: solo la distinción mínima. - -Dos hipótesis humanas fueron **refutadas por los datos**: -"involución inyectiva" (101) y "cada involución tiene su par" (104). - -### 6.3 La clasificación y la ley unificadora - -Con la definición formal — `ι` es **dual global** si existen `σ:V→V` y -`g:N→N` con `|N_{ι(G)}(v)∩σ(c)| = g(|N_G(σ(v))∩c|, |c|, n, 1[σ(v)∈c])`, -`g` inyectiva — las involuciones se parten en **tres clases**: - -| clase | ejemplos | T4 | -|---|---|---| -| **trivial** (g=id) | swap, reverse | vive siempre | -| **dual global** | complemento, complemento∘reverse | ⟺ `f(1)≠f(2)` | -| **local** | complemento parcial, flip de vértice | **imposible** (ninguna f) | - -> **Ley de las leyes**: una involución admite T4 ⟺ induce una -> transformación **global** de la vecindad; y cuando lo hace, la -> condición es **siempre** `f(1)≠f(2)`. Verificada **102/102**. - -### 6.4 El explorador y el atlas - -Con el **mismo banco** de conjeturas en 15 universos: Tperm y Tunion2 son -**universales**; T4 es **específica** de la región `f(1)≠f(2)`; Tsub, -Tdup, Tleaf son **imposibles**; la frontera paramétrica es `k_c=2` -(TRUNC) y no monótona (THRESH). El **atlas** (15 JSONs, en `resultados/atlas/`) fija el formato -estable: cada universo con su conteo (`f1/f2`), sus involuciones (clase + -veredicto), la ley y la evidencia. - -### 6.5 La caracterización Sₙ·K (EXP-110 → 113) - -La ley del 102 es el caso particular (involución que cambia el par) de -una caracterización más fina. La disyunción humana - -``` -T4 vive ⟺ M1 (preserva el par) ∨ M2 (cambia el par ∧ f(1)≠f(2)) -``` - -fue **falsada en ambas direcciones** (EXP-110): `flip_inc0` preserva el -par y **muere 0/24** (M1 no basta: falta **uniformidad**); y con `f=id` -mueren **1364/1504** iotas que cambian el par de forma no uniforme (M2 -no basta). Los "tercer camino" aparentes eran rango (resueltos en real: -`comp_dir+const1` muere 0/94). Lo que emerge: - -``` -T4(ι, f) vive ⟺ ι ∈ Sₙ·K y (ι cambia el par ⟹ f(1) ≠ f(2)) -K = {id, comp_dir, transp, comp_transp} ≅ Z₂×Z₂ -``` - -- **(⇐) probada**: σ (relabel) y s (swap in/out) viven con toda `f`; - c (complemento uniforme) vive ⟺ `f(1)≠f(2)` (mecanismo de conteos, - contraejemplo n=6). -- **(⇒) verificada**: n=4 exhaustivo (**96 = 24·4 exactas, cero - fuera**); n=5 dirigido (7680/8160 con testigo; las 480 sin testigo - son uniformes); afín aleatoria n=4 (10000/10000 con testigo); real - (moléculas 100/100, CST 94/94). -- **Búsqueda autónoma** (113): con un lenguaje de 11 primitivos + 3 - combinadores (~400 recetas) y criterio tasa/MDL, el motor halló que - el mejor testigo **válido** es `ciclo` (**99.63%**, complejidad 1), - mejor que la construcción humana C1 (97.8%); **ninguna válida llega - al 100%**. -- **Corrección (control negativo)**: las recetas con aislado daban 100% - pero usaban la **iota extendida** a n+k — otra operación. El control - de uniformes falló 52/104 (deben ser 0 por (⇐)) y delató el - artefacto; la "prueba" quedó **retirada** (documentada, no borrada). -- **Relatividad al WL**: `transp` es dual con WL simétrico y local con - out-only; 76/1504 iotas cambian de veredicto. El esquema correcto es - **(universo, WL, involución, f) → resultado**. - ---- - -## 7. Discusión - -1. **El resultado central no es T4: es el método.** La ley de universos - fue *seleccionada por los datos* — el humano puso hipótesis y la tabla - las refutó dos veces. Eso es lo que distingue un laboratorio de un - buscador de confirmaciones. -2. **Universal ≠ interesante.** La ley muestra que las conjeturas viven - en regiones: saber *dónde nace* una propiedad es un fenómeno de - segundo orden, y el explorador lo mide con métricas objetivas. -3. **Los controles negativos son el activo.** La historia del laboratorio - incluye señales propias tumbadas (052, 070) e interpretaciones - corregidas (050): la credibilidad viene de ahí. -4. **Relación con los LLMs.** Un LLM describe universos; este sistema - **corre en ellos**. La diferencia operativa: el barrido paramétrico + - la verificación + el congelado, no el conocimiento. - ---- - -## 8. Límites (declarados) - -- **T4**: prueba escrita, **pendiente de revisión externa/bibliográfica** - y de formalización asistida (Lean no disponible en el entorno). -- **La ley de universos**: verificada 102/102 en n≤6; candidata a - teorema (el mecanismo está esbozado; la prueba general es trabajo - externo). -- **La caracterización Sₙ·K**: (⇐) probada; (⇒) verificada en n≤4 - exhaustivo, n=5 dirigido y real; **∀n abierto**; receta universal - 100% **no hallada** (mejor válida: `ciclo` 99.63%); la "prueba" por - extensión fue retirada por control negativo (EXP-113). -- **C6/C6b**: el mínimo `n=8` (3-conexo no trazable) hallado - autónomamente; su estatus frente a la literatura requiere verificación - (no se etiqueta por suposición). -- **Universos**: definiciones propias y declaradas; el espacio es - abierto (más ejes: estructura base, CR no estándar). -- **Datos**: ChEMBL (CC-BY 4.0), CodeSearchNet, UniProt, Pfam — - citados; muestras fijas por seed. - ---- - -## 9. Reproducibilidad - -- **Tags**: v0.1.0 … v0.7.1 (11 releases privados). -- **Tests del motor**: 104/104 (v2) · **CI** verde · `reproduce.sh` OK. -- **Comandos clave**: - ```bash - bash reproduce.sh - cd EXPERIMENTS/EXP-084... && python run.py # T4 exhaustivo n≤7 - cd EXPERIMENTS/EXP-102... && python run.py # la ley f(1)≠f(2) - cd EXPERIMENTS/EXP-105... && python run.py # blindaje 102/102 + atlas - ``` -- **Regla de hardware**: Pool(22), CPU verificada 1200–2200%. - ---- - -## 10. Conclusión - -Un motor estructural, sin aprendizaje ni taxonomía, **descubre**: -kinds en moléculas y código, un teorema candidato (T4) con prueba y -capacidad, y una **ley sobre sus propias reglas de observación** que la -tabla eligió. El laboratorio entrega además el método completo — -parametrizar, generar, correr, congelar, identificar, verificar — con los -límites a la vista y todo reproducible. La pregunta abierta que deja: -¿qué propiedades matemáticas **aparecen solo cuando cambia la regla de -observación**? El atlas es el mapa; los próximos ejes, el territorio. - ---- - -## 12. El arco de universos (v2, EXP-162 → 169) - -La v2 agrega el **arco de universos** del laboratorio, con el mismo -protocolo (predicción/freeze antes de medir, controles, correcciones -registradas). Cada resultado tiene su freeze en `resultados/` y su -verificación ejecutable en `codigo/verificaciones_v2.py` (V13–V16). - -**12.1 Multicapa: la ley de coherencia (EXP-162/163/164).** En un grafo -multicapa `(V, E_1..E_L)` con refinamiento conjunto (variantes -**canónica** = canales como conjunto, y **ordenada**): T4 vive con el -complemento **total** (1298/1298 en L=2; 1404/1404 en L=3) y **muere con -el complemento por capa** (6.9% y 7.4% de fallas) — **solo en la -canónica**; la ordenada es el control (todo vive). Ley: *el complemento -tiene que actuar uniformemente sobre las capas*. El **grupo preservante** -es exactamente el subgrupo uniforme `U = {∅, todas} × S_L` en la canónica -(L=2: 4/4; L=3: 12/12, cierre de grupo ✓) y **todo el grupo** en la -ordenada. La **escalera k\*(L)** es plana (`k*=1` para L=2..5, dos -corpus), lo que **corrige** el `k*=2` de EXP-162 (era el `k=1` -degenerado). La (⇐) de la ley está **probada** (misma biyección -`M ↦ T−M` por capa); la (⇒) queda abierta. - - -

- Ley multicapa -
La ley de coherencia: el refinamiento conjunto, las tres dualidades y el grupo preservante. -

- - -

- Escalera k*(L) -
La escalera k\*(L) es plana (k\*=1 para L=2..5): corrige el k\*=2 de EXP-162 (k=1 degenerado). -

- - -

- Trayectoria del refinamiento -
La trayectoria del refinamiento: G y Ḡ idénticos ronda a ronda (T4) y la divergencia multicapa al complementar una capa (canónica). -

- -**12.2 Matriz universo × observador (EXP-165).** Con dos métricas por -celda (T4 y frontera de completitud), reusando los freezes: la frontera -**se mueve con el observador** (WL/KW2 fallan en n=6; KW3/IR1p no) y **no -se mueve con el tipado** (fila nueva n≤6, 5 342 clases, mismo `n_min`). -De la pareja (universo, observador), la mitad que pesa es el observador. - - -

- Matriz universo x observador -
La frontera se mueve con el observador (columnas), no con el tipado (filas). -

- -**12.3 Hipergrafos 3-uniformes (EXP-166): el mapa es predictivo.** Se -declaró un universo nunca visitado, se **predijo** T4 con la ley (el -complemento es dual global: resta de multiséts con total fijo) y se midió: -**1831/1831** (n≤5 exhaustivo + muestra n=6). La frontera medida coincide -con la de grafos (`n_min=6`). - -**12.4 Aridad k y aridades mezcladas (EXP-167).** La **escalera de -aridad** vive (k=4: 156/156; k=5: 7/7). Pero el **transplante de la ley -de canales falla**: en aridades mezcladas {2,3}, el complemento **total** -vive (100%) y el **por aridad también** (1038/1038, ambas variantes) — -la diferencia es la **estructura del mensaje** (en multicapa las capas -comparten tipo; en mezclado los mensajes por aridad difieren y el -refinamiento repara). La ley es **de canales**, no de toda descomposición. - - -

- Hipergrafos y aridades -
La predicción acierta (1831/1831); el transplante por aridad falla: el refinamiento repara. -

- - -

- Escalera de aridad y transplante -
La escalera de aridad (T4 vive) y el transplante que falla: en aridades mezcladas el complemento por aridad también vive (el refinamiento repara; 261 000 casos, 0 testigos). Números de EXP-167/168/169. -

- -**12.5 El reparo y su asimilación (EXP-168/169).** Búsqueda **dirigida** -(construcción canónica, n=6,7,8, controles negativo y total): **261 000 -casos, 21 821 fusiones dirigidas, todas reparadas, 0 testigos** → reparo -robusto (B). Consecuencia: el dual **por aridad** entra al motor -(`refine_dual_mezclado`): validación 60 000 casos, **partición 100%**, -ahorro **14.37%** (vs 10.26% del dual total). Ciclo completo: anomalía → -conjetura → testigo → capacidad. - - -

- Dual por aridad -
El dual por aridad: partición 100% y ahorro 14.37% (vs 10.26% del total). -

- -**12.6 Verificaciones v2.** V13 (multicapa: total vive, por-capa muere en -la canónica, canales viven), V14 (hipergrafos: T4 vive), V15 (dual: -partición + ahorro), V16 (aridades mezcladas: por aridad vive). Todas -ejecutables con `python codigo/verificaciones_v2.py`. - -## 13. El Santo Grial: completitud, su precio y los patrones (SG-01→03) - -**13.1 La familia mínima completa en la clase (SG-01).** Sobre **todos** -los grafos no isomorfos n≤7 (geng) → freeze → n=8 (12 346 grafos; -**76 205 685 pares**), la familia mínima que alcanza la completitud es -**F3 = {WL, 2-WL, 3-WL}** con **C_8 = 0** (desenlace **A**). El -leave-one-out muestra que **k-WL 3 hace el trabajo** (quitarlo deja 350 -colisiones); el control de relabeling (50/50) descarta fuga. No es un -invariante completo universal: a **n=16 Rook/Shrikhande** colisiona -F1–F6 y solo la familia total lo separa — la completitud es **de la -clase**, con la frontera medida. - - -

- Curvas de frontera C_n -
Las curvas de frontera C_n(I): lo que pierde cada observador (WL/KW2 fallan desde n=6; los completos, 0 colisiones en la clase; leave-one-out: 350 sin 3-WL). Números de SG-01/SG-03 y EXP-119. -

- -**13.2 El precio de T4 (SG-01).** El invariante completo **no es -complemento-invariante**: el cociente `G ~ Ḡ` fusiona exactamente -**6 168 pares** (con 10 autocomplementarios en n≤8). Esa es la -información que T4 describe, **cuantificada**: la complemento-invarianza -cuesta esos pares. La verificación v2 (V17) ejecuta el análogo n≤5: 52 -grafos, 4 autocomplementarios, **24 pares fusionados**. - -**13.3 Individualización y el retículo IR↔k-WL (SG-02/03).** La -individualización mínima es **i\*=1** para los 13 597 grafos de n≤8 -(ninguno necesita 0: WL nunca es único en la clase; ninguno necesita 2). -En la frontera, Rook/Shrikhande exige **i\*=2**: `IR_1` **no** los separa -(y falla donde falla 3-WL), `IR_2` **sí** (se comporta como 3-FWL ≡ -4-WL). El retículo sobre n≤9 (274 668 grafos) muestra que **todos los -invariantes completos colapsan** (partición discreta idéntica: -equivalencia vacua) y que `WL = 2-WL`; la evidencia discriminante son -las anclas (C6/2C3, Rook/Shrikhande, Petersen/C5). Cierre: **A** en -anclas, **B** (IR_2 > 3-WL) y **C no observado**. La verificación v2 -(V18) ejecuta las anclas. - - -

- Santo Grial -
Completitud en la clase, el precio de T4 (6 168 pares) y la individualización mínima i\*. -

- -**13.4 El método: los patrones transversales.** Ocho patrones sostienen -todo el laboratorio: (1) **el dato decide** (k\*, r\*, umbrales por -validación interna); (2) **congelar antes de interpretar**; (3) **control -negativo obligatorio** (sin control, un número no se reporta); (4) -**atribución A/B/C/D** (A laboratorio, B motor, C en `naturalkinds/`, D -validado a ciegas); (5) **emerger ≠ barrer** (CV, no sweeps); (6) **las -correcciones se registran, no se borran** (D-001→D-017); (7) **el -negativo vale** (refutaciones documentadas); (8) **versionado exacto del -motor** (`MOTOR.json`). El `DECISION_LOG.md` completo viaja en -`paper/DECISION_LOG.md`. - -**Pendiente declarado**: la (⇒) ∀L de `PRUEBA-MULTICAPA.md` y la -frontera exacta n=10→16 del universo estándar (SG-04, en curso). - -## 14. SG-04: la puerta — n=10 exhaustivo sin fallas - -El barrido exhaustivo de **12 005 168** grafos n=10 (11.1 h, 22 workers) -da **0 colisiones** para KW3 e IR1p: la primera incompletitud **no está -en n=10**. El corpus dirigido (9 combos regulares n=11–15 con tope -5 000 + 10 pares Cayley/Paley/Q4) tampoco falla. La primera falla -conocida sigue en **n=16** (Rook/Shrikhande) y su huella muestra que la -separan **descriptores elementales** (SNFL, AUT, CICLOS, LOCAL, HOM2) -además de KF3/IR2p: la información que 3-WL no ve es estructura -local/cíclica. La frontera exacta entre n=11 y n=16 queda abierta -(exhaustivo inabordable). Corrección registrada: la primera corrida de la -capa dirigida usó `geng -d 3` (separado) y falló; re-corrida con `-d3` -(7:42). Verificación v2: V19 (certificado del freeze). - -## 15. Disponibilidad de datos y código - -**Datos y código**: Zenodo — concept DOI -[10.5281/zenodo.22747350](https://doi.org/10.5281/zenodo.22747350) -(v2.0.0: [10.5281/zenodo.22747351](https://doi.org/10.5281/zenodo.22747351)), -licencia **CC-BY-4.0**. - -**Código**: `https://github.com/cripto-bot/graphkind-universos-v2` · -v1 (paper de T4): repositorio privado, disponible a pedido. - -**Reproducir**: `bash reproduce.sh` — verificaciones V1–V19 con asserts -de los números exactos; CI en cada push. - -## Referencias (selección) - -- Weisfeiler, Leman (1968). *A reduction of a graph to a canonical form…* -- Morgan (1965); Rogers, Hahn (2010). *Extended-connectivity fingerprints.* -- Dvořák (2010); Dell, Arvind, Larsson (2018). *Homomorphisms and 1-WL.* -- Babai (2016). *Graph isomorphism in quasipolynomial time.* -- Xu et al. (2019). *How powerful are graph neural networks?* -- Zamfirescu (1980); Abrishami, Rahbarnia (2026). *Non-traceable 3-connected planar cubic graphs.* -- Erdős, Fajtlowicz, Staton (1987). *Arboricity conjecture.* -- Petersen (1891); Tait (1884). *Hamiltonian graphs.* -- Lovász (1970). *Problem on vertex-transitive graphs.* - ---- - -## 11. Addendum — universos dinámicos, probabilísticos y observadores - -Después de la ley (§6), el laboratorio cambió el **tipo del invariante** -en tres direcciones. En cada una, T4 cambia de categoría: - -| universo | invariante | T4 es… | resultado | -|---|---|---|---| -| estándar | partición | igualdad | **vive** (T4, probado) | -| **Z₃ determinista** (EXP-116) | **órbita** | igualdad de períodos | **muere** (máx. 52.4%, `maj`) | -| aleatorio **R1** (EXP-117) | distribución | igualdad de distribuciones | **muere** (18.6%) | -| aleatorio **R2** (EXP-117) | distribución | igualdad en distribución | **vive** (casi seguro) | -| aleatorio **R3** (EXP-117) | medida | fracción | **umbral = medida** | -| jerarquía **k-FWL** (≡ (k+1)-WL; EXP-118/119) | partición de k-tuplas | complemento-invarianza | **T4_k: 51/51** en k=1,2,3 | -| cascada (EXP-119) | — | — | **26 → 0** pares no separados (n≤7) | -| Rook vs Shrikhande | — | — | **k\*=3** (k-FWL: 3-FWL sí; el 3-WL estándar NO — D-005) | - -**Hallazgos centrales del addendum**: - -1. **Z₃ determinista**: el invariante es una **órbita** (período + - transitorio + distribución); la dualidad del conteo no tiene análogo - dinámico y T4 **muere** (6 reglas medidas; `maj` es la más robusta). - Aparecen períodos nuevos (3, 5, 7, 13, 19, 26, 39, 78, 104) — y, con - F arbitraria, también en Z₂ (la intuición "solo potencias de 2" vale - para dinámicas lineales). -2. **Aleatorio**: el azar en el **proceso** (R1: WL asíncrono) **rompe** - T4 (18.6%); el azar en el **objeto** con la simetría correcta (R2: - G(n,p) vs G(n,1−p)) lo **preserva** (el complemento biyecta los - ensembles); el azar en la **operación** (R3) convierte T4 en un - **umbral**: la fracción de involuciones que lo admiten es una función - de la medida del ensemble. -3. **Observadores**: la jerarquía k-FWL (≡ (k+1)-WL) **preserva** la - complemento-invarianza (T4_k 51/51) y la aleatoriedad aparente - **decrece** con el poder del observador: en el atlas completo n≤7 - (781 875 pares), 1-WL deja 26 pares sin separar y **2-WL los resuelve - todos** (k\*=2); el par canónico Rook/Shrikhande requiere k=3. - -**Correcciones registradas** (parte del método): 5 bugs propios cazados -por controles (multiset de tamaños → colores → índices → posición → -construcción del Shrikhande). El error del Shrikhande (se construyó el -Rook dos veces) fue cazado por el análisis de invariantes -(`is_isomorphic = True`): la k-FWL implementada era correcta (el 3-WL estándar NO separa Rook/Shrikhande: D-005); el grafo de -prueba, no. diff --git a/graphkind/paper/PRUEBA-CARACTERIZACION.md b/graphkind/paper/PRUEBA-CARACTERIZACION.md deleted file mode 100644 index 7d185646acffd8aa79475173660b3527c36462cb..0000000000000000000000000000000000000000 --- a/graphkind/paper/PRUEBA-CARACTERIZACION.md +++ /dev/null @@ -1,61 +0,0 @@ -# La caracterización Sₙ·K — prueba estructural y estado - -> Fabrica: GraphKind · 2026-09-10 · EXP-110/111 - -## El enunciado - -Con WL simétrico (cuenta `in` y `out` por color, grados crudos): - - T4(ι, f) vive ⟺ ι ∈ Sₙ·K y (ι cambia el par ⟹ f(1) ≠ f(2)) - K = {id, comp_dir, transp, comp_transp} ≅ Z₂×Z₂ - -donde "vive" = la partición WL se preserva para todo digrafo. - -## (⇐) Lo que está demostrado - -Sea ι = σ∘s∘c con σ∈Sₙ, s∈{0,1} (swap global in/out), c∈{0,1} -(complementación uniforme de todos los pares). - -1. **σ (relabel)**: el WL es invariante por isomorfismo: la coloración - se transporta biyectivamente; la partición (multiset de tamaños) es - idéntica. Vale para toda f. -2. **s (swap in/out)**: intercambia los conteos de cada nodo, - (in_D, out_D) → (out_D, in_D); el perfil se transforma por el swap - (f(a),f(b)) → (f(b),f(a)), que es una biyección de perfiles. La - partición se preserva. Vale para toda f. -3. **c (complemento uniforme)**: para cada clase D, el conteo de - vecinos se transforma m → |D| − m (o |D|−1−m en la clase propia, sin - self-loops): una biyección de conteos. La partición se preserva - **siempre que f distinga 1 de 2** — condición mínima verificada - (con f(1)=f(2) el contraejemplo existe: EXP-102, n=6). - -Por lo tanto Sₙ·K ⊆ supervivientes. La suficiencia de `f(1)≠f(2)` para -**toda** f (no solo las del catálogo) queda como parte del teorema -candidato (verificado en 102/102 + 87/87 + 94/94 + 528/528). - -## (⇒) Lo verificado - -| cámara | resultado | -|---|---| -| n=3 afín exhaustiva (110) | 140 viven (el WL chico es ciego: rango) | -| **n=4 inducidas exhaustiva (111-B)** | viven **96** (f=id) y **48** (const1), **todas uniformes, 0 fuera** | -| **n=5 inducidas dirigida (111-C)** | **7680 con testigo**; 480 sin testigo = uniformes (104 involuciones válidas + 376 relabels no involutivos) | -| fuera del espacio (111-D) | 10000 iotas afines aleatorias: **10000 con testigo** | -| real (108/109) | moléculas: 100/100; CST: comp_dir dual + T4 94/94 | - -## Lo que queda abierto (declarado) - -1. (⇒) para todo n: verificado en n≤4 exhaustivo y n=5 dirigido - (existencia de testigo válido por iota: 6424/6424). **Receta - universal: no hallada** — la mejor de la familia probada es `ciclo` - (99.63%); el intento "defecto + aislado" quedó **retirado** (medía - la iota extendida, no la de n: EXP-113 fase 3, control 52/104). -2. (⇐) con c=1 y f arbitraria con f(1)≠f(2): verificado en los - catálogos; falta la demostración para f arbitraria. - -## Rigor registrado - -- **Rango**: n=3 es ciego (140 > 96): la caracterización fina requiere - n≥4. El testigo de n=5 incluye 200 grafos aleatorios + ciclos k≥2 + - estrellas: **el ciclo k=1 era un self-loop y daba falsos positivos** - (bug corregido: la identidad "fallaba"). diff --git a/graphkind/paper/PRUEBA-MULTICAPA.md b/graphkind/paper/PRUEBA-MULTICAPA.md deleted file mode 100644 index c5a6fed5a97eea2634093fae863cb70e921285e1..0000000000000000000000000000000000000000 --- a/graphkind/paper/PRUEBA-MULTICAPA.md +++ /dev/null @@ -1,166 +0,0 @@ -# Prueba multicapa — T4 y la uniformidad entre canales - -> Fabrica: GraphKind · 2026-09-13 · EXP-162 · D-010 -> Estado: **(⇐) probada · (⇒) con gadget mínimo verificado y -> construcción general declarada abierta (∀L, S ⊂ {1..L})**. -> Evidencia empírica: complemento total 1298/1298 (L=2) y 1404/1404 -> (L=3); complemento por capa 90/1298 (6.9%) y 104/1404 (7.4%) fallas -> (variante canónica). Testigos n=3 `(BO, BW)` y n=4 `(CC, C^)`. - ---- - -## 0. Definiciones (fijadas en la spec, antes de correr) - -- **Grafo multicapa** `𝓖 = (V, E_1, …, E_L)`: mismo `V`, capas - etiquetadas, sin aristas cruzadas. -- **Refinamiento conjunto**, variante **canónica** (la primaria): - `c_0(v) = H(multiset{deg_ℓ(v)})`; - `c_{t+1}(v) = H(c_t(v) | multiset_ℓ{ multiset{c_t(w) : w ∈ N_ℓ(v)} })`. - La variante **ordenada** usa tuplas en lugar de multisets. -- **Partición** `P(𝓖)`: la partición estable de `V` (versión fuerte). -- **T4(ι) vive** ⟺ `P(𝓖) = P(ι(𝓖))` como particiones del **mismo** `V`, - para todo `𝓖` de la clase. -- **Operación uniforme sobre capas**: complementar **todas** las capas - (eventualmente compuesta con una permutación de capas `π ∈ S_L` y un - relabel `σ ∈ S_n`). -- **No uniforme**: complementar un subconjunto propio no vacío - `S ⊂ {1..L}`, o mezclar capas de forma no uniforme. - -## 1. (⇐) Probada: uniforme ⟹ T4 - -> **Teorema.** Si `ι` complementa todas las capas (y opcionalmente -> permuta capas y relabela vértices), entonces -> `P(𝓖) = P(ι(𝓖))`. - -**Prueba** (inducción sobre rondas; se prueba la variante canónica; la -ordenada es idéntica coordenada a coordenada). - -*Base (ronda 0).* El color inicial de `v` es el multiset de sus grados -por capa: `{deg_ℓ(v)}_{ℓ=1..L}`. En el complemento total, -`deg'_ℓ(v) = n − 1 − deg_ℓ(v)` para **cada** `ℓ`. La aplicación -`d ↦ n−1−d` es una biyección de `{0..n−1}`; aplicada **uniformemente a -todas las coordenadas**, transforma el multiset de grados en otro -multiset por una biyección. Por lo tanto la relación "mismo color -inicial" es la misma en `𝓖` y en `ι(𝓖)`: `P_0(𝓖) = P_0(ι(𝓖))`. ∎(base) - -*Paso inductivo.* Supongamos `P_t(𝓖) = P_t(ι(𝓖)) =: P_t` (existe un -renombrado biyectivo `ψ_t` entre los colores de las dos coloraciones, -compatible con `P_t`). Fijemos `v ∈ V` y una capa `ℓ`. Sea - -``` -M_ℓ(v) := multiset de colores de ronda t de la vecindad cerrada N_ℓ[v] en 𝓖, -T := multiset total de colores de P_t (independiente de ℓ y de v). -``` - -En la capa complementada, la vecindad cerrada es -`N'_ℓ[v] = V ∖ N_ℓ(v)` (complemento de la vecindad abierta), y su -multiset de colores de ronda `t` es - -``` -M'_ℓ(v) = T − (M_ℓ(v) − [color_t(v)]) , -``` - -donde `[color_t(v)]` es el multiset de un elemento con el color de `v` -(se resta `v` de su vecindad cerrada, se complementa respecto del total -`T`, y `v` vuelve a quedar incluido porque `v ∈ V ∖ N_ℓ(v)`). - -Como `T` es **fijo** (depende solo de `P_t`), la aplicación -`M ↦ T − M` es **inyectiva** sobre multiséts de colores. Además es la -**misma** aplicación para toda capa `ℓ`. Entonces: - -``` -u, v tienen el mismo multiset (M_1(u), …, M_L(u)) en 𝓖 - ⇔ (aplicando la misma biyección inyectiva a cada coordenada) -u, v tienen el mismo multiset (M'_1(u), …, M'_L(u)) en ι(𝓖). -``` - -Como el color de ronda `t+1` es una función determinística de -`(color_t(v), (M_ℓ(v))_ℓ)` (y en la canónica, del multiset de las `M_ℓ`), -la relación "mismo color" se preserva ronda a ronda: -`P_{t+1}(𝓖) = P_{t+1}(ι(𝓖))`. ∎(paso) - -*Conclusión.* Por inducción, `P_t(𝓖) = P_t(ι(𝓖))` para todo `t`; en -particular la partición estable coincide. ∎ - -**Corolarios** (partes de la operación uniforme): - -1. **Permutación de capas** `π ∈ S_L`: el multiset por capa es - `S_L`-invariante (canónica), y en la ordenada la permutación de - coordenadas preserva la igualdad de tuplas; la partición se preserva - en ambas variantes. -2. **Relabel** `σ ∈ S_n`: el refinamiento es isomorfismo-natural; la - coloración se transporta biyectivamente. -3. **Composición** `σ ∘ π ∘ (complemento total)`: composición de - preservaciones. ∎ - -*Observación fina.* El punto que hace funcionar la inducción es la -**uniformidad**: la misma biyección `M ↦ T − M` se aplica a **todas** las -capas. Si el complemento actuara sobre un subconjunto propio de capas, -la transformación del vector `(M_1..M_L)` dejaría de ser "la misma -biyección en cada coordenada" y la igualdad de multisets podría no -preservarse — que es exactamente lo que muestra la dirección (⇒). - -## 2. (⇒) Abierta: no uniforme ⟹ existe testigo - -> **Conjetura (contrapositiva).** Si `ι` complementa un subconjunto -> propio no vacío `S ⊂ {1..L}` (o mezcla capas de forma no uniforme), -> existe `𝓖` con `P(𝓖) ≠ P(ι(𝓖))`. - -**Gadget mínimo (n=3, L=2, S={1}).** Capas `(E1, P3)` sobre `V={0,1,2}`: - -- `E_1 = {(0,2)}` (una arista), `E_2 = {(0,2),(1,2)}` (P3). -- Grados por capa: `v0=(1,1)`, `v1=(0,1)`, `v2=(1,2)` → multisets - `{1,1}`, `{0,1}`, `{1,2}` → **tres clases** en la ronda 0. -- Complemento de la capa 0 (no uniforme): `v1=(2,1) → {1,2}`, - `v2=(1,2) → {1,2}` → **v1 y v2 se fusionan** → dos clases. -- Particiones distintas: `[['0'],['1'],['2']]` vs `[['0'],['1','2']]`. - **Verificado en el motor.** - -**Mecanismo.** El complemento no uniforme **cambia la coherencia entre -capas** de cada vértice: `v1` y `v2` tenían patrones de grado por capa -distintos, y el flip de una sola capa los volvió coherentes. La -observación canónica ve el **multiset** por capa, así que pierde la -distinción. - -**Generalización conjeturada.** Para `S ⊂ {1..L}` propio no vacío, -elegir dos vértices `u, v` cuyos vectores de grados por capa `d_u, d_v` -tengan multiséts **distintos** pero **iguales tras el flip de `S`** -(`d_ℓ ↦ n−1−d_ℓ` si `ℓ ∈ S`), y realizar esos grados con las -adyacencias correctas en un grafo simple (gadget). El caso n=3 es el -testigo mínimo del mecanismo. - -**Lo que falta para cerrar la (⇒)** (declarado, como la revisión externa -de T4): - -1. Construcción explícita del gadget para **todo** `S` y **todo** `L`. -2. Mostrar que la fusión (o separación) inducida en la ronda 0 - **sobrevive al refinamiento** (no se repara en rondas posteriores). -3. El caso mixto (operaciones que no son ni complemento ni permutación - de capas). - -## 3. Estado y alcance - -| pieza | estado | -|---|---| -| (⇐) uniforme ⟹ T4 | **probada** (esta página) | -| (⇒) no uniforme ⟹ testigo | gadget mínimo n=3 verificado; construcción general **abierta** | -| Evidencia empírica | total 1298/1298 + 1404/1404; por capa 6.9% + 7.4% (canónica) | -| Guardrail del motor | `refine_dual_multilayer` ofrece solo el dual **total** | - -**Alcance**: grafos finitos simples multicapa, capas etiquetadas, sin -aristas cruzadas; refinamiento conjunto en las dos variantes declaradas; -`L ≤ 3`, `n ≤ 5` en la evidencia. La (⇒) ∀L y el caso mixto quedan -abiertos. - -## 4. Por qué importa - -1. Convierte la ley multicapa de **resultado de experimento** (§9.11) en - **teorema parcial** con el patrón T4: una dirección probada, la otra - con gadget y declarada abierta. -2. Hace la ley **prescriptiva con respaldo**: el motor no ofrece el dual - por capa porque la (⇐) garantiza el total y el gadget + la evidencia - muestran que el no uniforme rompe el invariante. -3. Deja la pregunta exacta para EXP-163: **¿cuál es el grupo de - operaciones que preservan?** La respuesta conjeturada es "las - uniformes" (`S_L` + complemento total + relabels); cerrarla exige la - (⇒). diff --git a/graphkind/paper/PRUEBA-T4.md b/graphkind/paper/PRUEBA-T4.md deleted file mode 100644 index 7adeb3a2924bee37d64c4034819c61a73ce43f20..0000000000000000000000000000000000000000 --- a/graphkind/paper/PRUEBA-T4.md +++ /dev/null @@ -1,157 +0,0 @@ -# Prueba de T4 (versión fuerte) — la dualidad de particiones del color refinement - -> Fabrica: GraphKind · 2026-09-09 · EXP-086 -> Estado: **prueba escrita** (verificada empíricamente en 2 131 019 grafos -> exhaustivos n≤7 + 19 407 adversariales + SRG dirigidos). -> Pendiente: revisión externa/bibliográfica y formalización asistida. - ---- - -## Enunciado (versión fuerte) - -Sea `G = (V, E)` un grafo finito simple y `Ḡ` su complemento. Sea -`CR_k(G)` la partición de `V` inducida por la ronda `k` del color -refinement (1-WL) con colores iniciales `f(tipo, grado)`. - -> **Teorema.** Para todo `G` y todo `k ≥ 0`: -> `CR_k(G) = CR_k(Ḡ)` **como particiones del mismo conjunto `V`** -> (los nombres de los colores difieren; las clases son idénticas). -> -> **Corolario (T4).** Los multisets de tamaños de las clases finales de -> `CR(G)` y `CR(Ḡ)` coinciden; y también coinciden para cada ronda. - -## Prueba - -**Base (k = 0).** El color inicial de un vértice es una función -`f(tipo(v), deg(v))` (en el motor: `kind|value` + número de aristas -incidentes). En `Ḡ`: `deg_Ḡ(v) = n − 1 − deg_G(v)`. La clase de color de -un vértice en `G` está determinada por su grado, y en `Ḡ` también: -como `d ↦ n−1−d` es una biyección de los grados, la relación -"mismo color" sobre `V` es la misma en `G` y en `Ḡ` (sólo cambia el -nombre del color). Por lo tanto `CR_0(G) = CR_0(Ḡ)`. ∎(base) - -**Paso inductivo.** Supongamos `CR_k(G) = CR_k(Ḡ) =: P_k` (como -particiones; existe un renombrado biyectivo `ψ_k` entre los colores de -`G` y los de `Ḡ` compatible con `P_k`). - -Fijemos `v ∈ V`. Sea `N_G[v]` la clausura de vecindad en `G` y -`M_k(v)` el multiset de colores de ronda `k` de los vértices de -`N_G[v]`. En `Ḡ`, la clausura de vecindad es `N_Ḡ[v] = V \ N_G(v)` -(complemento de los vecinos, incluyendo a `v`), y su multiset de -colores de ronda `k` es - -``` -M'_k(v) = T_k − (M_k(v) − [color_k(v)]) , T_k := multiset total de colores de P_k -``` - -donde la resta es de multisets (válida porque `N_Ḡ[v] ⊆ V` y los -colores son los de `P_k`). Como `T_k` es **fijo** (depende sólo de -`P_k`), la aplicación `M_k(v) ↦ M'_k(v)` es **inyectiva**: dos vértices -`u, v` tienen el mismo multiset de vecinos (incluyéndose) en `G` si y -sólo si tienen el mismo en `Ḡ`. - -El color de ronda `k+1` de `v` es, por definición del refinamiento, -una función determinística de `(color_k(v), M_k(v))` (el motor usa un -hash canónico de esa información). Por el renombrado `ψ_k` y la -inyectividad anterior: - -``` -color_{k+1}(u) = color_{k+1}(v) en G - ⇔ ( color_k(u) = color_k(v) y M_k(u) = M_k(v) ) en G - ⇔ ( ψ_k(color_k(u)) = ψ_k(color_k(v)) y M'_k(u) = M'_k(v) ) en Ḡ - ⇔ color_{k+1}(u) = color_{k+1}(v) en Ḡ . -``` - -Es decir: la relación "mismo color" en la ronda `k+1` es idéntica en -`G` y en `Ḡ`; por lo tanto `CR_{k+1}(G) = CR_{k+1}(Ḡ)`. ∎(paso) - -**Conclusión.** Por inducción, `CR_k(G) = CR_k(Ḡ)` para todo `k`; en -particular la partición estable coincide y los multisets de tamaños -coinciden (T4). ∎ - -## Observaciones - -1. **El punto fino** (el que el esbozo original no fijaba): la - inducción **no** se hace sobre los *tamaños* de las clases, sino - sobre las **particiones mismas** (mismo conjunto de vértices). La - identidad de particiones se preserva porque el complemento de la - vecindad es `V \ N_G(v)` y la resta de multisets con total fijo es - inyectiva. Con sólo los tamaños el paso no cerraría (habría que - inventar la biyección). -2. **La biyección es explícita**: `ψ_k` asigna al color de `v` en `G` - el color de `v` en `Ḡ` (la identidad sobre `V`). -3. **Verificación empírica** (el motor, EXP-086): la versión fuerte - (particiones idénticas) se cumple en **2 131 019/2 131 019** grafos - exhaustivos de n≤7, en los SRG dirigidos (rook 4×4, Shrikhande, - Paley 13/17, Petersen) y en 192 cúbicos aleatorios asimétricos; el - lema por ronda (multisets) ya se había verificado en el EXP-084. -4. **Alcance**: grafos finitos simples, sin lazos, con colores - iniciales dependientes del grado (cualquier refinamiento "natural" - por vecindad). Digrafos o colores iniciales arbitrarios: fuera del - enunciado (anotado). -5. **Estatus**: prueba escrita (una página); la validación externa - (revisión humana, bibliografía, Lean) sigue pendiente — si algún - paso fallara en revisión, el contraejemplo estaría en la clase - "particiones iguales pero paso roto", que el exhaustivo n≤7 no - contiene. - -## Por qué importa - -- Convierte T4 de "invariante empírica" en **teorema con prueba** - (sujeto a revisión), y explica *por qué* el sistema nunca encontró - contraejemplo: la partición del color refinement es un invariante - exacto de la dualidad G/Ḡ. -- Habilita las capacidades (085) con base firme: el fingerprint (y la - partición) son los mismos para G y Ḡ **demostrado**, no sólo medido. - - ---- - -# Sección añadida (EXP-089): Rigidez del complemento bajo 1-WL (C1'') - -## La conjetura afilada (y su corrección) - -La versión estrecha propuesta — "f preserva para todo G ⇔ f = σ∘(·)ᵋ" -(identidad o complemento) — es **falsa por mezclas** (EXP-089): -`f(G) = G si G es bipartito, si no Ḡ` preserva la partición para todo -G (ambos lados la preservan), es isomorfismo-natural, y **no** es -identidad ni complemento. Lo mismo `f(G) = G si G es conexo, si no Ḡ`. -Ambas dieron **300/300 = 100%**. - -## La formulación correcta (C1'') - -> Sea `f` una operación sobre grafos simples con `V` fijo, **isomorfismo- -> natural** (equivariante: `f(σ(G)) = σ(f(G))` para todo isomorfismo σ). -> Si `f` preserva la partición del color refinement para todo `G`, -> entonces para cada `G`: **`f(G)` es isomorfo a `G` o a `Ḡ`** (vía el -> renombrado natural), pudiendo la elección depender de la clase de -> isomorfismo de `G` según invariantes. -> -> La parte sustantiva: **la única operación natural que cambia aristas -> de manera distinta al complemento es inexistente**: toda operación -> que cambie aristas "de verdad" rompe la preservación universal. - -## Evidencia adversarial (EXP-089, 300 grafos aleatorios n 8-18) - -| operación | preservación | | -|---|---|---| -| identidad | 300/300 = 100% | trivial | -| complemento | 300/300 = 100% | T4 (086) | -| mezcla(bipartito) | 300/300 = 100% | contraejemplo de la versión estrecha | -| mezcla(conexo) | 300/300 = 100% | idem | -| relabel canónico WL | 300/300 (perfiles) | trivial (renombrado) | -| **switch canónico** | **298/300 = 99.3%** | **el más cercano: falla (2 testigos)** | -| add-edge canónico | 270/300 = 90.0% | falla | -| remove-edge canónico | 241/300 = 80.3% | falla | -| potencia G² | 28/300 = 9.3% | falla (no inyectiva) | - -## Estado - -- **Suficiencia** de C1'': trivial (identidad, complemento y sus mezclas - por invariantes preservan: T4). -- **Necesidad**: la evidencia adversarial (ninguna operación que cambie - aristas preserva universalmente; el switch canónico — el candidato - más fuerte — falla en 2/300) **apoya** la rigidez; la prueba general - es trabajo matemático externo. -- El **line graph** (087) queda como confirmación: cambia `V` y no es - de la forma σ(·)ᵋ: falla. diff --git a/graphkind/paper/TEOREMA-UNIVERSOS.md b/graphkind/paper/TEOREMA-UNIVERSOS.md deleted file mode 100644 index a9c8b9f89a10c18548ec501b56dabaee5d44d18d..0000000000000000000000000000000000000000 --- a/graphkind/paper/TEOREMA-UNIVERSOS.md +++ /dev/null @@ -1,257 +0,0 @@ -# El teorema de universos — documento maestro - -> Ciclo **EXP-099 → EXP-113** · laboratorio GraphKind · 2026-09-10 -> Repo `cripto-bot/graphlang-natural` (privado) · todo reproducible. -> -> Este documento integra **todo** el ciclo: la historia, la matemática, -> las pruebas, las verificaciones, los errores cazados, el método y el -> estado exacto. Los detalles viven en `EXPERIMENTS/EXP-1xx/README.md` y -> en los `results_frozen.json` de cada experimento. - ---- - -## 0. Resumen ejecutivo - -**El resultado.** Con el perfil del color refinement (1-WL), para -involuciones del espacio de digrafos y compresiones de conteo `f`: - -``` -T4(ι, f) vive ⟺ ι ∈ Sₙ·K y (ι cambia el par ⟹ f(1) ≠ f(2)) -K = {id, comp_dir, transp, comp_transp} ≅ Z₂×Z₂ -``` - -- **(⇐) probada**: σ (relabel) y s (swap in/out) viven con toda `f`; - c (complemento uniforme) vive ⟺ `f(1)≠f(2)` (mecanismo de conteos). -- **(⇒) verificada**: n≤4 exhaustivo (**96 = 24·4 exactas, cero fuera**), - n=5 dirigido (6424/6424 con testigo válido), datos reales (moléculas - 100/100; CST 94/94). -- **Búsqueda autónoma** (113): la mejor construcción válida hallada por - el motor es `ciclo` (**99.63%**, complejidad 1), mejor que la humana - (C1 = 97.8%); **no hay receta universal 100%** en la familia probada. -- **∀n de (⇒): abierto.** Declarado, con el esqueleto verificado. - -**La ley previa (102/105)**, que este ciclo refina: - -``` -T4 vive ⟺ f(1) ≠ f(2) (universo estándar, involución dual global) -``` - -**La relatividad al WL** (109/110): "dual global" es propiedad del par -**(involución, WL)**, no de la involución: 76/1504 iotas cambian de -veredicto entre WL simétrico (in,out) y out-only. - ---- - -## 1. Cronología (qué pasó, en orden) - -| exp | qué se hizo | resultado | -|---|---|---| -| **099** | mapa de universos: estándar, F2, booleano, dirigido, tropical | T4 vive en 5/6 (muere en booleano) | -| **100** | mapa completo: + vértices/aristas tipados | T4 vive en 5/6 regiones | -| **101** | 24 universos generados automáticamente | hipótesis humana refutada | -| **102** | barrido del eje del conteo (17 `f` × 2 involuciones) | **ley: `f(1)≠f(2)` — 34/34** | -| **103** | explorador (DSL × banco de conjeturas) | regiones: Tperm/Tunion2 universales; T4 específica; frontera `k_c=2` | -| **104** | eje de involuciones (6 ops × 17 `f`) | **3 clases**: trivial / dual global / local | -| **105** | blindaje con definición formal + atlas | **ley 102/102**; 15 JSONs | -| **106** | bestiario de universos (6 criaturas) | ESPEJO/ECO/DESTELLO viven; SOMBRA/LEJANÍA/RELEVO mueren | -| **107** | la ley **en el motor** (`naturalkinds/universos.py`) | oráculo: predice T4 sin enumerar; **87/87** | -| **108** | grafos reales (moléculas + CST) | moléculas: dual+T4+oráculo; CST: son digrafos | -| **109** | digrafos con WL simétrico | `comp_dir`/`transp`/`comp_transp` 94/94 (f=id); **`transp` es dual universal** (vive con const1) | -| **110** | **la disyunción puesta a prueba** | M1 y M2 **no suficientes**; falsaciones en ambas direcciones; relatividad al WL 76/1504 | -| **111** | caracterización Sₙ·K: prueba + verificación | n=4: **96 exactas, 0 fuera**; n=5 dirigido: 7680 testigos | -| **112** | el testigo: minería de la construcción | 6424/6424 con testigo; formas variadas | -| **113** | **búsqueda autónoma** + corrección | mejor válida: `ciclo` 99.63%; control cazó un artefacto | - ---- - -## 2. La matemática - -### 2.1 Definiciones - -- **Digrafo** `G=(V,E)`: `adj[v]` = bitmask de vecinos salientes; `n=|V|`. -- **WL simétrico** (el del teorema): coloración inicial por grados - **crudos** `(out, in)`; actualización - `color'(v) = H(color(v) | {(color(u), f(in_c), f(out_c))})` por clase - `c`; se itera `n+2` rondas. **Perfil** `I(G)` = multiset de tamaños de - clase. -- **T4(ι, f)**: `I(G) = I(ι(G))` para todo digrafo `G` (n fijo). -- **Involución**: `ι² = id` (el complemento es el caso canónico). -- **Par**: el conjunto no dirigido `{u,v}`; "cambiar el par" = existe un - par cuya presencia (`A_uv ∨ A_vu`) cambia. -- **Uniformidad**: `ι` actúa igual sobre todos los pares (la pieza que - une las dos mitades). -- **K (Klein)**: `{id, comp_dir, transp, comp_transp}` ≅ Z₂×Z₂, donde - `comp_dir` = complemento dirigido, `transp` = `Aᵀ`. - -### 2.2 La ley del conteo (EXP-102, blindada en 105) - -> En el universo estándar con involución que cambia el par: -> **T4 vive ⟺ f(1) ≠ f(2).** - -**Mecanismo**: en el complemento, un vértice con **1** vecino de una -clase pasa a tener `|c|−1` (que puede ser **2**): si `f` colapsa 1 y 2, -la dualidad muere. Lo que `f` haga con 3, 4, 5… es irrelevante: solo -importa la distinción mínima. Verificado 34/34 (barrido) y 102/102 -(blindaje con definición formal); contraejemplo mínimo en n=6. - -### 2.3 La disyunción y su refutación (EXP-110) - -Hipótesis humana puesta a prueba: - -``` -T4 vive ⟺ M1 ∨ M2 -M1: preserva el par; M2: cambia el par ∧ f(1)≠f(2) -``` - -Los datos la **falsaron en ambas direcciones**: - -1. **M1 no es suficiente**: `flip_inc0` (invertir solo los arcos - incidentes al vértice 0) preserva el par y **muere 0/24** con toda - `f`: hay que preservarlo **uniformemente**. -2. **M2 no es suficiente**: con `f=id` (f(1)≠f(2)) mueren **1364/1504** - iotas afines que cambian el par de forma **no uniforme**. -3. Los `TERCER_CAMINO` aparentes (n=3) eran **rango**: en los CST reales - `comp_dir+const1` muere **0/94**. - -La pieza que faltaba es la **uniformidad (coherencia global)**. - -### 2.4 La caracterización Sₙ·K (EXP-111) - -En el espacio de iotas inducidas (σ∈Sₙ, swap s, complementación c por -par, c σ-invariante) y con WL simétrico: - -| cámara | resultado | -|---|---| -| n=4 exhaustivo (528 iotas × 4096 grafos) | viven **96** (f=id) y **48** (const1), **todas uniformes, 0 fuera** | -| n=5 dirigido (8160 iotas) | **7680 con testigo**; 480 sin testigo = uniformes (104 involuciones válidas + 376 relabels no involutivos) | -| fuera del espacio (afín aleatoria n=4) | **10000/10000 con testigo** | - -### 2.5 La prueba de (⇐) - -Sea `ι = σ∘s∘c`: - -1. **σ (relabel)**: el WL es invariante por isomorfismo: la partición se - transporta biyectivamente. Vale con toda `f`. -2. **s (swap in/out)**: `(in_D,out_D) → (out_D,in_D)` y el perfil por el - swap `(f(a),f(b))→(f(b),f(a))`: biyección de perfiles. Vale con toda `f`. -3. **c (complemento uniforme)**: los conteos van `m → |D|−m` (o - `|D|−1−m`): biyección de conteos; la partición se preserva **siempre - que `f` distinga 1 de 2** (contraejemplo con `f(1)=f(2)`: n=6, - EXP-102). ∎ *(la suficiencia de `f(1)≠f(2)` para `f` arbitraria está - verificada en 102/102 + 87/87 + 94/94 + 528/528; la prueba general - para `f` arbitraria queda como trabajo externo).* - -### 2.6 La verificación de (⇒) - -- **n≤4 exhaustivo** (111-B): viven exactamente 96 (f=id) y 48 - (const1); **cero** no uniformes. -- **n=5 dirigido** (111-C): 7680/8160 con testigo; las 480 sin testigo - son uniformes. -- **Real** (108/109): moléculas 100/100 (dual + T4); CST 94/94 - (`comp_dir` dual + T4 dirigido). -- **Existencia de testigo por iota** (112): 6424/6424 no-uniformes con - testigo válido en n≤5. - -### 2.7 El testigo y la búsqueda autónoma (EXP-112/113) - -- El motor minó testigos mínimos (6424/6424) y midió construcciones - candidatas. -- **EXP-113** (búsqueda autónoma): lenguaje de 11 primitivos + 3 - combinadores (~400 recetas), criterio **tasa / MDL** (tasa − 0.005·comp). -- **Mejor testigo válido**: `ciclo` (ciclo dirigido `0→1→…→n−1→0`), - **99.63%**, complejidad 1 — mejor que la construcción humana C1 - (97.8%). **Ninguna construcción válida llega al 100%.** -- **Corrección por control negativo**: las recetas con aislado - (`vacio+aisl1`, `c1+aisl1`) daban 100% pero usaban la **iota extendida** - a n+k (otra operación): el control de uniformes falló 52/104 (deben - ser 0 por (⇐)) y delató el artefacto. Retirado como "prueba"; queda - como testigo de la extensión (otra iota, otro teorema). - -### 2.8 Relatividad al WL (EXP-109/110) - -- `transp`: **dual con WL simétrico** (vive con toda `f`), **local con - WL out-only** (el del módulo): **76/1504** iotas cambian de veredicto. -- El esquema correcto es **(universo, WL, involución, f) → resultado**, - no (universo, involución) → resultado. - ---- - -## 3. El método (por qué esto es creíble) - -### 3.1 Principio de descubrimiento - -La **sintaxis se declara; la semántica emerge**. El motor descubre -estructura que está ahí, independiente de la literatura; el estatus -"descubrimiento vs redescubrimiento" se decide **contra la literatura, -con verificación**, nunca por suposición. - -### 3.2 Controles negativos (los que cazaron errores reales) - -| error | cómo se cazó | -|---|---| -| firma del WL sin color | control de isomorfismo (C6 vs 2·C3) | -| rondas variables en el WL | lema por ronda | -| matching greedy en el complemento | identidad 12/12 con σ-inducido | -| `m` sin `σ(v)` | re-verificación | -| grado doble `_out+_in` | test dirigido | -| orden lexicográfico `n2` vs `n10` | atlas | -| `wl_dir` aplicaba `f` al grado inicial | control de no-trivialidad | -| **ciclo k=1 = self-loop en el testigo** | la identidad "fallaba" | -| **recetas con aislado = iota extendida** | **control de uniformes 52/104** | - -Sin el último control, el paper habría reportado una prueba falsa. - -### 3.3 Atribución precisa (sin hype) - -- **Del motor**: la ley (102), la falsación de las hipótesis humanas - (101/104/110), la clasificación (111), los testigos (112), la mejor - receta de la familia (113: `ciclo`). -- **Humano**: la redacción de la prueba (⇐), la definición del lenguaje - de primitivos, la interpretación, y la **corrección** del artefacto de - extensión. -- **Nombre preciso del avance**: *búsqueda autónoma de construcciones en - un lenguaje dado* (el motor optimiza recetas y superó la humana). **No** - es "el motor prueba teoremas". - -### 3.4 Freeze y re-auditoría - -Cada experimento congela `results_frozen.json` antes de interpretar; -las re-auditorías (077) tumbaron señales previas (052). Los errores se -documentan en los READMEs, no se borran. - ---- - -## 4. Estado y trabajo abierto (declarado) - -1. **(⇒) ∀n**: abierto. Verificado n≤4 exhaustivo + n=5 dirigido + - real; receta universal 100% **no hallada** (mejor: `ciclo` 99.63%). -2. **(⇐) para `f` arbitraria con `f(1)≠f(2)`**: verificado en los - catálogos; prueba general abierta. -3. **Espacio afín completo n≥5**: inabordable (involuciones de S₂₀); - el espacio probado es el inducido + afín aleatorio (10k, todos con - testigo). -4. **Formalización asistida** (Lean): no disponible en el entorno. -5. **Revisión externa**: pendiente (T4 y la caracterización). - ---- - -## 5. Archivos y reproducción - -| experimento | qué contiene | comando | -|---|---|---| -| `EXP-099/100` | mapas de universos | `python run.py` | -| `EXP-102` | la ley `f(1)≠f(2)` (34/34) | `python run.py` | -| `EXP-105` | blindaje 102/102 + `atlas/*.json` | `python run.py` | -| `EXP-107` | `naturalkinds/universos.py` + oráculo 87/87 | `python run.py` | -| `EXP-108/109` | real: moléculas + CST | `python run.py` | -| `EXP-110` | disyunción (falsaciones) | `python run.py` | -| `EXP-111` | caracterización + `PRUEBA-CARACTERIZACION.md` | `python run.py` | -| `EXP-112` | testigos mínimos + `fase2_construcciones.py` | `python run.py` | -| `EXP-113` | búsqueda autónoma + **corrección** (`fase3_validas.py`) | `python run.py` | - -**Documentos relacionados**: `PAPER.md` (paper académico), -`PRUEBA-CARACTERIZACION.md` (EXP-111), `ALGORITMO-UNIVERSOS.md` -(el algoritmo), `DOCUMENTAL-UNIVERSOS.md` (la narración), -`naturalkinds/universos.py` (la ley en el motor). - -**Regla de hardware**: Pool(22), CPU verificada 1200–2200%; `SEED=7`. diff --git a/graphkind/reproduce.sh b/graphkind/reproduce.sh deleted file mode 100644 index 9452a654bd4dc0532e3a5c1409b0a45658e221dc..0000000000000000000000000000000000000000 --- a/graphkind/reproduce.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -# Reproducción completa del paper (v2). Uso: bash reproduce.sh [--rapido] -set -e -cd "$(dirname "$0")" -PY=${PY:-python3} -if [ -x /home/juri/graphlang-natural/.venv/bin/python ]; then - PY=/home/juri/graphlang-natural/.venv/bin/python -fi -echo "== VERIFICACIONES DEL PAPER (v1: universos) ==" -$PY codigo/verificaciones.py "$@" -echo "== VERIFICACIONES v2 (arco de universos) ==" -$PY codigo/verificaciones_v2.py diff --git a/graphkind/requirements.txt b/graphkind/requirements.txt deleted file mode 100644 index 90437e74663193c7e323d5ed13b6f14f2b811937..0000000000000000000000000000000000000000 --- a/graphkind/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -numpy>=1.26 -networkx>=3.2 -joblib>=1.3 diff --git a/graphkind/resultados/EXP-102_results_frozen.json b/graphkind/resultados/EXP-102_results_frozen.json deleted file mode 100644 index 33a7a2db30bd245920caa3687543b877bb4ca985..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-102_results_frozen.json +++ /dev/null @@ -1,296 +0,0 @@ -{ - "tabla": { - "id x T-M": { - "T4": "VIVE", - "violaciones": 0, - "compatible": true, - "n": 6, - "testigo": null - }, - "id x T+M mod2": { - "T4": "VIVE", - "violaciones": 0, - "compatible": true, - "n": 6, - "testigo": null - }, - "mod2 x T-M": { - "T4": "VIVE", - "violaciones": 0, - "compatible": false, - "n": 6, - "testigo": null - }, - "mod2 x T+M mod2": { - "T4": "VIVE", - "violaciones": 0, - "compatible": true, - "n": 6, - "testigo": null - }, - "mod3 x T-M": { - "T4": "VIVE", - "violaciones": 0, - "compatible": false, - "n": 6, - "testigo": null - }, - "mod3 x T+M mod2": { - "T4": "VIVE", - "violaciones": 0, - "compatible": false, - "n": 6, - "testigo": null - }, - "mod4 x T-M": { - "T4": "VIVE", - "violaciones": 0, - "compatible": false, - "n": 6, - "testigo": null - }, - "mod4 x T+M mod2": { - "T4": "VIVE", - "violaciones": 0, - "compatible": true, - "n": 6, - "testigo": null - }, - "mod5 x T-M": { - "T4": "VIVE", - "violaciones": 0, - "compatible": true, - "n": 6, - "testigo": null - }, - "mod5 x T+M mod2": { - "T4": "VIVE", - "violaciones": 0, - "compatible": true, - "n": 6, - "testigo": null - }, - "umbral1 x T-M": { - "T4": "MUERE", - "violaciones": 1080, - "compatible": false, - "n": 6, - "testigo": { - "n": 6, - "mask": 657 - } - }, - "umbral1 x T+M mod2": { - "T4": "MUERE", - "violaciones": 1080, - "compatible": false, - "n": 6, - "testigo": { - "n": 6, - "mask": 657 - } - }, - "umbral2 x T-M": { - "T4": "VIVE", - "violaciones": 0, - "compatible": false, - "n": 6, - "testigo": null - }, - "umbral2 x T+M mod2": { - "T4": "VIVE", - "violaciones": 0, - "compatible": false, - "n": 6, - "testigo": null - }, - "umbral3 x T-M": { - "T4": "MUERE", - "violaciones": 720, - "compatible": false, - "n": 6, - "testigo": { - "n": 6, - "mask": 692 - } - }, - "umbral3 x T+M mod2": { - "T4": "MUERE", - "violaciones": 720, - "compatible": false, - "n": 6, - "testigo": { - "n": 6, - "mask": 692 - } - }, - "umbral4 x T-M": { - "T4": "MUERE", - "violaciones": 1080, - "compatible": false, - "n": 6, - "testigo": { - "n": 6, - "mask": 657 - } - }, - "umbral4 x T+M mod2": { - "T4": "MUERE", - "violaciones": 1080, - "compatible": false, - "n": 6, - "testigo": { - "n": 6, - "mask": 657 - } - }, - "trunc1 x T-M": { - "T4": "MUERE", - "violaciones": 1080, - "compatible": false, - "n": 6, - "testigo": { - "n": 6, - "mask": 657 - } - }, - "trunc1 x T+M mod2": { - "T4": "MUERE", - "violaciones": 1080, - "compatible": false, - "n": 6, - "testigo": { - "n": 6, - "mask": 657 - } - }, - "trunc2 x T-M": { - "T4": "VIVE", - "violaciones": 0, - "compatible": false, - "n": 6, - "testigo": null - }, - "trunc2 x T+M mod2": { - "T4": "VIVE", - "violaciones": 0, - "compatible": false, - "n": 6, - "testigo": null - }, - "trunc3 x T-M": { - "T4": "VIVE", - "violaciones": 0, - "compatible": false, - "n": 6, - "testigo": null - }, - "trunc3 x T+M mod2": { - "T4": "VIVE", - "violaciones": 0, - "compatible": false, - "n": 6, - "testigo": null - }, - "log2 x T-M": { - "T4": "VIVE", - "violaciones": 0, - "compatible": false, - "n": 6, - "testigo": null - }, - "log2 x T+M mod2": { - "T4": "VIVE", - "violaciones": 0, - "compatible": false, - "n": 6, - "testigo": null - }, - "cuadrado x T-M": { - "T4": "VIVE", - "violaciones": 0, - "compatible": true, - "n": 6, - "testigo": null - }, - "cuadrado x T+M mod2": { - "T4": "VIVE", - "violaciones": 0, - "compatible": true, - "n": 6, - "testigo": null - }, - "cubo x T-M": { - "T4": "VIVE", - "violaciones": 0, - "compatible": true, - "n": 6, - "testigo": null - }, - "cubo x T+M mod2": { - "T4": "VIVE", - "violaciones": 0, - "compatible": true, - "n": 6, - "testigo": null - }, - "raiz x T-M": { - "T4": "MUERE", - "violaciones": 1080, - "compatible": false, - "n": 6, - "testigo": { - "n": 6, - "mask": 657 - } - }, - "raiz x T+M mod2": { - "T4": "MUERE", - "violaciones": 1080, - "compatible": false, - "n": 6, - "testigo": { - "n": 6, - "mask": 657 - } - }, - "const1 x T-M": { - "T4": "MUERE", - "violaciones": 1080, - "compatible": false, - "n": 6, - "testigo": { - "n": 6, - "mask": 657 - } - }, - "const1 x T+M mod2": { - "T4": "MUERE", - "violaciones": 1080, - "compatible": false, - "n": 6, - "testigo": { - "n": 6, - "mask": 657 - } - } - }, - "ley_refinada_refutada": "T4 <=> compatibilidad: FALSA (False)", - "ley_emergida": "T4 VIVE <=> f(1) != f(2) (distinguir el conteo 1 del conteo 2 es la informacion critica)", - "ley_emergida_verificada": true, - "transiciones": { - "umbral1 x T-M": 6, - "umbral1 x T+M mod2": 6, - "umbral3 x T-M": 6, - "umbral3 x T+M mod2": 6, - "umbral4 x T-M": 6, - "umbral4 x T+M mod2": 6, - "trunc1 x T-M": 6, - "trunc1 x T+M mod2": 6, - "raiz x T-M": 6, - "raiz x T+M mod2": 6, - "const1 x T-M": 6, - "const1 x T+M mod2": 6 - }, - "nota": "barrido de 17 f x 2 involuciones; exhaustivo n<=6; la compatibilidad medida sobre multisets (2 clases, 0..5)" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-105_results_frozen.json b/graphkind/resultados/EXP-105_results_frozen.json deleted file mode 100644 index 7d8823c55bd1265cb9e5c531880afdf26c3c4fe9..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-105_results_frozen.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "clasificacion": { - "comp": { - "clase": "dual", - "bien_definida": true, - "inyectiva": true, - "g_identidad": false - }, - "comp_parcial": { - "clase": "local", - "bien_definida": false, - "inyectiva": false, - "g_identidad": false - }, - "flip_v0": { - "clase": "local", - "bien_definida": false, - "inyectiva": false, - "g_identidad": false - }, - "swap01": { - "clase": "trivial", - "bien_definida": true, - "inyectiva": true, - "g_identidad": true - }, - "reverse": { - "clase": "trivial", - "bien_definida": true, - "inyectiva": true, - "g_identidad": true - }, - "comp_rev": { - "clase": "dual", - "bien_definida": true, - "inyectiva": true, - "g_identidad": false - } - }, - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "ley_verificada": { - "ok": 102, - "casos": 102, - "fallos": [] - }, - "atlas": "/home/juri/graphlang-natural/EXPERIMENTS/EXP-105-105-blindaje-de-la-ley-dual-global-formal-ve/atlas", - "nota": "dual global: matching de clases + g bien definida e inyectiva; trivial: g=id; local: no existe" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-111_results_frozen.json b/graphkind/resultados/EXP-111_results_frozen.json deleted file mode 100644 index a2ff2c340b6a0bf474d76400ca721febb745fc35..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-111_results_frozen.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "B_exhaustivo_n4": { - "iotas": 528, - "id": { - "viven": 96, - "viven_uniformes": 96, - "viven_no_uniformes": 0 - }, - "const1": { - "viven": 48, - "viven_uniformes": 48, - "viven_no_uniformes": 0 - } - }, - "C_dirigido_n5": { - "iotas": 8160, - "con_testigo": 7680, - "sin_testigo": 480, - "sin_testigo_uniformes": 480, - "candidatas_viven_10k": 480 - }, - "D_afin_aleatoria_n4": { - "n": 10000, - "con_testigo": 10000 - }, - "esperado": { - "viven_f_id": 96, - "viven_f_const1": 48, - "nota": "96 = |S4|*|K| = 24*4; 48 = 24*2 (id/transp: c=0)" - }, - "nota": "caracterizaci\u00f3n S\u2099\u00b7K: (\u21d0) probada estructuralmente (README); (\u21d2) verificada exhaustivo n<=4 + dirigida n=5; fuera del espacio (af\u00edn aleatoria): testigos" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-112_results_frozen.json b/graphkind/resultados/EXP-112_results_frozen.json deleted file mode 100644 index 925ed0f2c8009ac8a21b6abd06f25f93079d6b38..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-112_results_frozen.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "involuciones_n5": 6528, - "uniformes_S5K": 104, - "no_uniformes": 6424, - "testigos_hallados": 6424, - "sin_testigo": 0, - "formas": { - "otro|n3": 2304, - "otro|n4": 1744, - "otro|n5": 2376 - }, - "correspondencia_firma_forma": { - "(9, 1)": { - "('otro', 3)": 6, - "('otro', 4)": 6, - "('otro', 5)": 8 - }, - "(8, 2)": { - "('otro', 3)": 48, - "('otro', 4)": 30, - "('otro', 5)": 12 - }, - "(7, 3)": { - "('otro', 3)": 168, - "('otro', 4)": 64, - "('otro', 5)": 8 - }, - "(6, 4)": { - "('otro', 3)": 336, - "('otro', 4)": 82, - "('otro', 5)": 2 - }, - "(5, 5)": { - "('otro', 4)": 84, - "('otro', 3)": 420 - }, - "(4, 6)": { - "('otro', 4)": 82, - "('otro', 3)": 336, - "('otro', 5)": 2 - }, - "(3, 7)": { - "('otro', 4)": 64, - "('otro', 5)": 8, - "('otro', 3)": 168 - }, - "(2, 8)": { - "('otro', 5)": 12, - "('otro', 4)": 30, - "('otro', 3)": 48 - }, - "(1, 9)": { - "('otro', 5)": 8, - "('otro', 4)": 6, - "('otro', 3)": 6 - }, - "(6, 1)": { - "('otro', 3)": 18, - "('otro', 5)": 86, - "('otro', 4)": 36 - }, - "(5, 2)": { - "('otro', 3)": 90, - "('otro', 5)": 174, - "('otro', 4)": 156 - }, - "(4, 3)": { - "('otro', 3)": 180, - "('otro', 5)": 232, - "('otro', 4)": 288 - }, - "(3, 4)": { - "('otro', 5)": 232, - "('otro', 3)": 180, - "('otro', 4)": 288 - }, - "(2, 5)": { - "('otro', 5)": 174, - "('otro', 3)": 90, - "('otro', 4)": 156 - }, - "(1, 6)": { - "('otro', 5)": 86, - "('otro', 3)": 18, - "('otro', 4)": 36 - }, - "(5, 1)": { - "('otro', 3)": 12, - "('otro', 5)": 144, - "('otro', 4)": 24 - }, - "(4, 2)": { - "('otro', 3)": 48, - "('otro', 5)": 318, - "('otro', 4)": 84 - }, - "(3, 3)": { - "('otro', 5)": 408, - "('otro', 3)": 72, - "('otro', 4)": 120 - }, - "(2, 4)": { - "('otro', 5)": 318, - "('otro', 3)": 48, - "('otro', 4)": 84 - }, - "(1, 5)": { - "('otro', 5)": 144, - "('otro', 3)": 12, - "('otro', 4)": 24 - } - }, - "generaliza_1": 6366, - "generaliza_2": 6424, - "uniformes_viven_200": 104, - "nota": "el testigo minimo y su forma EMERGEN del motor: la correspondencia firma->forma es la construccion; la generalizacion con aislados es el esqueleto del argumento para todo n" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-113_results_frozen.json b/graphkind/resultados/EXP-113_results_frozen.json deleted file mode 100644 index 0c4d39bc99b588a9b004d8c94c0f7c5ab6e449fb..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-113_results_frozen.json +++ /dev/null @@ -1,674 +0,0 @@ -{ - "n_recetas": 209, - "muestra": 200, - "top_tasa": [ - [ - "vacio+aisl1", - 2, - 1.0 - ], - [ - "vacio+aisl2", - 3, - 1.0 - ], - [ - "vacio+aisl3", - 4, - 1.0 - ], - [ - "c1+aisl1", - 2, - 1.0 - ], - [ - "c1+aisl2", - 3, - 1.0 - ], - [ - "c1+aisl3", - 4, - 1.0 - ], - [ - "ciclo", - 1, - 0.995 - ], - [ - "ciclo+aisl1", - 2, - 0.995 - ], - [ - "ciclo+aisl2", - 3, - 0.995 - ], - [ - "ciclo+aisl3", - 4, - 0.995 - ], - [ - "caminouciclo", - 2, - 0.995 - ], - [ - "ciclouvacio", - 2, - 0.995 - ] - ], - "top_mdl": [ - [ - "vacio+aisl1", - 2, - 1.0 - ], - [ - "c1+aisl1", - 2, - 1.0 - ], - [ - "ciclo", - 1, - 0.995 - ], - [ - "vacio+aisl2", - 3, - 1.0 - ], - [ - "c1+aisl2", - 3, - 1.0 - ], - [ - "ciclo+aisl1", - 2, - 0.995 - ], - [ - "caminouciclo", - 2, - 0.995 - ], - [ - "ciclouvacio", - 2, - 0.995 - ] - ], - "candidatas_full": 107, - "verificacion_completa": [ - [ - "vacio+aisl1", - 2, - 1.0 - ], - [ - "vacio+aisl2", - 3, - 1.0 - ], - [ - "vacio+aisl3", - 4, - 1.0 - ], - [ - "c1+aisl1", - 2, - 1.0 - ], - [ - "c1+aisl2", - 3, - 1.0 - ], - [ - "c1+aisl3", - 4, - 1.0 - ], - [ - "ciclo", - 1, - 0.9962640099626401 - ], - [ - "ciclo+aisl1", - 2, - 0.9962640099626401 - ], - [ - "ciclo+aisl2", - 3, - 0.9962640099626401 - ], - [ - "ciclo+aisl3", - 4, - 0.9962640099626401 - ], - [ - "caminouciclo", - 2, - 0.9962640099626401 - ], - [ - "ciclouvacio", - 2, - 0.9962640099626401 - ], - [ - "ciclodvacio", - 2, - 0.9962640099626401 - ], - [ - "cicloicompleto", - 2, - 0.9962640099626401 - ], - [ - "cicloumatching", - 2, - 0.9962640099626401 - ], - [ - "vacio", - 1, - 0.9775840597758406 - ], - [ - "c1", - 1, - 0.9775840597758406 - ], - [ - "c0", - 1, - 0.9775840597758406 - ], - [ - "c0+aisl1", - 2, - 0.9775840597758406 - ], - [ - "completo", - 1, - 0.9775840597758406 - ], - [ - "completo+aisl1", - 2, - 0.9775840597758406 - ], - [ - "c1uvacio", - 2, - 0.9775840597758406 - ], - [ - "c1ivacio", - 2, - 0.9775840597758406 - ], - [ - "c1dvacio", - 2, - 0.9775840597758406 - ], - [ - "c1uc1_dir", - 2, - 0.9775840597758406 - ], - [ - "c1ucompleto", - 2, - 0.9775840597758406 - ], - [ - "c1icompleto", - 2, - 0.9775840597758406 - ], - [ - "c1dcompleto", - 2, - 0.9775840597758406 - ], - [ - "c1_dirivacio", - 2, - 0.9775840597758406 - ], - [ - "c1_dirdpares", - 2, - 0.9775840597758406 - ], - [ - "c1_dirucompleto", - 2, - 0.9775840597758406 - ], - [ - "c1_dirdcompleto", - 2, - 0.9775840597758406 - ], - [ - "c0uvacio", - 2, - 0.9775840597758406 - ], - [ - "c0ivacio", - 2, - 0.9775840597758406 - ], - [ - "c0dvacio", - 2, - 0.9775840597758406 - ], - [ - "c0uc1", - 2, - 0.9775840597758406 - ], - [ - "c0ic1", - 2, - 0.9775840597758406 - ], - [ - "c0dc1", - 2, - 0.9775840597758406 - ], - [ - "c0ic1_dir", - 2, - 0.9775840597758406 - ], - [ - "c0dc1_dir", - 2, - 0.9775840597758406 - ], - [ - "c0ucompleto", - 2, - 0.9775840597758406 - ], - [ - "c0icompleto", - 2, - 0.9775840597758406 - ], - [ - "c0dcompleto", - 2, - 0.9775840597758406 - ], - [ - "paresivacio", - 2, - 0.9775840597758406 - ], - [ - "sigmaivacio", - 2, - 0.9775840597758406 - ], - [ - "caminoivacio", - 2, - 0.9775840597758406 - ], - [ - "caminodpares", - 2, - 0.9775840597758406 - ], - [ - "caminodciclo", - 2, - 0.9775840597758406 - ], - [ - "caminoucompleto", - 2, - 0.9775840597758406 - ], - [ - "caminodcompleto", - 2, - 0.9775840597758406 - ], - [ - "cicloivacio", - 2, - 0.9775840597758406 - ], - [ - "cicloucompleto", - 2, - 0.9775840597758406 - ], - [ - "ciclodcompleto", - 2, - 0.9775840597758406 - ], - [ - "estrellaivacio", - 2, - 0.9775840597758406 - ], - [ - "estrelladpares", - 2, - 0.9775840597758406 - ], - [ - "completouvacio", - 2, - 0.9775840597758406 - ], - [ - "completoivacio", - 2, - 0.9775840597758406 - ], - [ - "completodvacio", - 2, - 0.9775840597758406 - ], - [ - "completoupares", - 2, - 0.9775840597758406 - ], - [ - "completousigma", - 2, - 0.9775840597758406 - ], - [ - "completouestrella", - 2, - 0.9775840597758406 - ], - [ - "completoumatching", - 2, - 0.9775840597758406 - ], - [ - "matchingivacio", - 2, - 0.9775840597758406 - ], - [ - "matchingdpares", - 2, - 0.9775840597758406 - ], - [ - "estrella", - 1, - 0.9713574097135741 - ], - [ - "estrella+aisl1", - 2, - 0.9713574097135741 - ], - [ - "estrella+aisl2", - 3, - 0.9713574097135741 - ], - [ - "estrella+aisl3", - 4, - 0.9713574097135741 - ], - [ - "estrellauvacio", - 2, - 0.9713574097135741 - ], - [ - "estrelladvacio", - 2, - 0.9713574097135741 - ], - [ - "estrellaipares", - 2, - 0.9713574097135741 - ], - [ - "completoiestrella", - 2, - 0.9713574097135741 - ], - [ - "completodestrella", - 2, - 0.9713574097135741 - ], - [ - "ciclodpares", - 2, - 0.9676214196762142 - ], - [ - "caminoiestrella", - 2, - 0.9676214196762142 - ], - [ - "cicloiestrella", - 2, - 0.9676214196762142 - ], - [ - "estrellaimatching", - 2, - 0.9676214196762142 - ], - [ - "estrelladmatching", - 2, - 0.9676214196762142 - ], - [ - "matchingisigma", - 2, - 0.9632627646326276 - ], - [ - "sigma+aisl3", - 4, - 0.962640099626401 - ], - [ - "estrellaisigma", - 2, - 0.962640099626401 - ], - [ - "matching+aisl1", - 2, - 0.9582814445828145 - ], - [ - "matching+aisl2", - 3, - 0.9582814445828145 - ], - [ - "matching+aisl3", - 4, - 0.9582814445828145 - ], - [ - "c0+aisl2", - 3, - 0.9526774595267746 - ], - [ - "completo+aisl2", - 3, - 0.9526774595267746 - ], - [ - "c0+aisl3", - 4, - 0.9526774595267746 - ], - [ - "completo+aisl3", - 4, - 0.9526774595267746 - ], - [ - "sigma+aisl2", - 3, - 0.950186799501868 - ], - [ - "caminoisigma", - 2, - 0.9420921544209215 - ], - [ - "estrelladsigma", - 2, - 0.9414694894146949 - ], - [ - "c1_dirisigma", - 2, - 0.9355541718555417 - ], - [ - "sigma+aisl1", - 2, - 0.925280199252802 - ], - [ - "cicloisigma", - 2, - 0.9246575342465754 - ], - [ - "c1umatching", - 2, - 0.9234122042341221 - ], - [ - "c0imatching", - 2, - 0.9234122042341221 - ], - [ - "c0dmatching", - 2, - 0.9234122042341221 - ], - [ - "c1imatching", - 2, - 0.9234122042341221 - ], - [ - "c1dmatching", - 2, - 0.9234122042341221 - ], - [ - "c1_dirimatching", - 2, - 0.9234122042341221 - ], - [ - "c0umatching", - 2, - 0.9234122042341221 - ], - [ - "c1isigma", - 2, - 0.9153175591531756 - ], - [ - "c1dsigma", - 2, - 0.9153175591531756 - ], - [ - "c0usigma", - 2, - 0.9153175591531756 - ], - [ - "c1usigma", - 2, - 0.9153175591531756 - ], - [ - "c0isigma", - 2, - 0.9153175591531756 - ], - [ - "c0dsigma", - 2, - 0.9153175591531756 - ] - ], - "frente_pareto": [ - [ - "vacio+aisl1", - 2, - 1.0 - ], - [ - "c1+aisl1", - 2, - 1.0 - ], - [ - "ciclo", - 1, - 0.9962640099626401 - ] - ], - "ganadora_tasa": [ - "vacio+aisl1", - 2, - 1.0 - ], - "ganadora_mdl": [ - "ciclo", - 1, - 0.9962640099626401 - ], - "nota": "el humano definio 11 primitivos + 3 combinadores; el motor enumero y evaluo las ~400 recetas y eligio; la receta ganadora es la que el motor encontro" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-116_results_Z2_frozen.json b/graphkind/resultados/EXP-116_results_Z2_frozen.json deleted file mode 100644 index 9e26ab17dba8014f5cfe6e70197b6ee9967f1d7c..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-116_results_Z2_frozen.json +++ /dev/null @@ -1,200 +0,0 @@ -{ - "lin_2_1": { - "pares": 33864, - "t4_periodo_pct": 100.0, - "t4_orbita_pct": 100.0, - "periodos": { - "1": 33864 - }, - "ejemplos_fallo": [] - }, - "maj": { - "pares": 33864, - "t4_periodo_pct": 58.6, - "t4_orbita_pct": 35.81, - "periodos": { - "1": 22962, - "2": 10902 - }, - "ejemplos_fallo": [ - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 0, - "tGbar": 0 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 0, - "tGbar": 0 - }, - { - "n": 2, - "mask": 1, - "pG": 2, - "pGbar": 1, - "tG": 0, - "tGbar": 0 - } - ] - }, - "prod1": { - "pares": 33864, - "t4_periodo_pct": 43.27, - "t4_orbita_pct": 15.57, - "periodos": { - "1": 17010, - "2": 6450, - "3": 1476, - "4": 4464, - "6": 4464 - }, - "ejemplos_fallo": [ - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 1, - "tGbar": 0 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 1, - "tGbar": 0 - }, - { - "n": 2, - "mask": 1, - "pG": 2, - "pGbar": 1, - "tG": 0, - "tGbar": 1 - } - ] - }, - "sum": { - "pares": 33864, - "t4_periodo_pct": 43.27, - "t4_orbita_pct": 15.57, - "periodos": { - "1": 17010, - "2": 6450, - "3": 1476, - "4": 4464, - "6": 4464 - }, - "ejemplos_fallo": [ - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 1, - "tGbar": 0 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 1, - "tGbar": 0 - }, - { - "n": 2, - "mask": 1, - "pG": 2, - "pGbar": 1, - "tG": 0, - "tGbar": 1 - } - ] - }, - "sum_closed": { - "pares": 33864, - "t4_periodo_pct": 38.24, - "t4_orbita_pct": 8.97, - "periodos": { - "1": 14766, - "2": 3210, - "3": 1476, - "4": 7068, - "6": 4464, - "8": 2880 - }, - "ejemplos_fallo": [ - { - "n": 3, - "mask": 1, - "pG": 1, - "pGbar": 4, - "tG": 2, - "tGbar": 0 - }, - { - "n": 3, - "mask": 1, - "pG": 1, - "pGbar": 4, - "tG": 2, - "tGbar": 0 - }, - { - "n": 3, - "mask": 1, - "pG": 1, - "pGbar": 2, - "tG": 0, - "tGbar": 0 - } - ] - }, - "xor3": { - "pares": 33864, - "t4_periodo_pct": 38.24, - "t4_orbita_pct": 8.97, - "periodos": { - "1": 14766, - "2": 3210, - "3": 1476, - "4": 7068, - "6": 4464, - "8": 2880 - }, - "ejemplos_fallo": [ - { - "n": 3, - "mask": 1, - "pG": 1, - "pGbar": 4, - "tG": 2, - "tGbar": 0 - }, - { - "n": 3, - "mask": 1, - "pG": 1, - "pGbar": 4, - "tG": 2, - "tGbar": 0 - }, - { - "n": 3, - "mask": 1, - "pG": 1, - "pGbar": 2, - "tG": 0, - "tGbar": 0 - } - ] - } -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-116_results_Z3_frozen.json b/graphkind/resultados/EXP-116_results_Z3_frozen.json deleted file mode 100644 index 3208d5263a5e61f2017c91890ece36b21c11eeb2..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-116_results_Z3_frozen.json +++ /dev/null @@ -1,269 +0,0 @@ -{ - "lin_2_1": { - "pares": 46378, - "t4_periodo_pct": 6.69, - "t4_orbita_pct": 3.18, - "periodos": { - "1": 902, - "2": 3247, - "3": 1926, - "4": 2349, - "6": 5643, - "8": 7873, - "10": 2371, - "13": 2595, - "20": 2371, - "24": 2443, - "26": 5527, - "39": 2326, - "40": 2374, - "80": 2370, - "104": 2061 - }, - "ejemplos_fallo": [ - { - "n": 2, - "mask": 0, - "pG": 2, - "pGbar": 3, - "tG": 0, - "tGbar": 0 - }, - { - "n": 2, - "mask": 0, - "pG": 2, - "pGbar": 3, - "tG": 0, - "tGbar": 1 - }, - { - "n": 2, - "mask": 0, - "pG": 2, - "pGbar": 3, - "tG": 0, - "tGbar": 1 - } - ] - }, - "maj": { - "pares": 46378, - "t4_periodo_pct": 52.41, - "t4_orbita_pct": 22.33, - "periodos": { - "1": 26673, - "2": 19705 - }, - "ejemplos_fallo": [ - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 0, - "tGbar": 0 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 0, - "tGbar": 0 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 0, - "tGbar": 0 - } - ] - }, - "prod1": { - "pares": 46378, - "t4_periodo_pct": 10.65, - "t4_orbita_pct": 7.22, - "periodos": { - "1": 3805, - "2": 3241, - "3": 719, - "4": 2017, - "6": 3906, - "8": 9622, - "12": 1065, - "13": 2842, - "16": 4747, - "26": 5271, - "78": 2324, - "80": 4743, - "104": 2076 - }, - "ejemplos_fallo": [ - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 3, - "tG": 1, - "tGbar": 0 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 6, - "tG": 1, - "tGbar": 0 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 6, - "tG": 1, - "tGbar": 0 - } - ] - }, - "sum": { - "pares": 46378, - "t4_periodo_pct": 11.54, - "t4_orbita_pct": 8.48, - "periodos": { - "1": 4492, - "2": 5444, - "4": 3110, - "6": 1736, - "8": 9577, - "13": 2849, - "16": 4742, - "26": 7608, - "80": 4741, - "104": 2079 - }, - "ejemplos_fallo": [ - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 1, - "tGbar": 0 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 1, - "tGbar": 0 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 1, - "tGbar": 0 - } - ] - }, - "sum_closed": { - "pares": 46378, - "t4_periodo_pct": 15.88, - "t4_orbita_pct": 3.88, - "periodos": { - "1": 4221, - "2": 3525, - "3": 2192, - "4": 2356, - "5": 2375, - "6": 1734, - "8": 8942, - "13": 3246, - "20": 2366, - "24": 1389, - "26": 7211, - "40": 2372, - "80": 2370, - "104": 2079 - }, - "ejemplos_fallo": [ - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 0, - "tGbar": 1 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 0, - "tGbar": 1 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 2, - "tG": 0, - "tGbar": 1 - } - ] - }, - "xor3": { - "pares": 46378, - "t4_periodo_pct": 16.58, - "t4_orbita_pct": 3.45, - "periodos": { - "1": 5993, - "2": 739, - "3": 980, - "4": 15856, - "5": 3908, - "6": 2282, - "7": 617, - "8": 2519, - "9": 2295, - "10": 3328, - "13": 1604, - "16": 2429, - "19": 1611, - "20": 665, - "25": 1552 - }, - "ejemplos_fallo": [ - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 4, - "tG": 0, - "tGbar": 0 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 4, - "tG": 0, - "tGbar": 0 - }, - { - "n": 2, - "mask": 0, - "pG": 1, - "pGbar": 4, - "tG": 0, - "tGbar": 0 - } - ] - } -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-117_results_frozen.json b/graphkind/resultados/EXP-117_results_frozen.json deleted file mode 100644 index c2e9cd4b8118355e7b63e5d1d4d9e35ca1f60bc5..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-117_results_frozen.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "R1": { - "grafos": 1096, - "permutaciones": 100, - "t4_dist_exacta": 204, - "t4_dist_pct": 18.61, - "mismo_soporte": 324, - "var_total_media": 0.46, - "control_sincrono": 1096, - "regulares": [ - 12, - 24 - ], - "irregulares": [ - 192, - 1072 - ], - "modal_igual_sincrono": 186 - }, - "R2": { - "n": 10, - "muestras": 3000, - "p": [ - 0.1, - 0.3, - 0.5 - ], - "nota": "T4 en distribuci\u00f3n: el complemento mapea G(n,p) a G(n,1-p) biyectivamente y T4 es puntual (teorema): las distribuciones coinciden exactamente" - }, - "R3": { - "medida_uniforme_afines_n4": [ - 0, - 5000 - ], - "S4K_referencia": "96/~30M", - "inducidas": "96/528" - }, - "nota": "el invariante pas\u00f3 de objeto (partici\u00f3n/\u00f3rbita) a DISTRIBUCI\u00d3N; T4 pas\u00f3 de igualdad a teorema probabil\u00edstico" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-119_results_frozen.json b/graphkind/resultados/EXP-119_results_frozen.json deleted file mode 100644 index 98146ebc861f1d59a2beaf2cb3e155f28c41f489..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-119_results_frozen.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "corpus": 1251, - "pares_totales": 781875, - "cascada": { - "k1": 26, - "k2": 0, - "k3": 0 - }, - "porcentajes": { - "k1": 0.0033, - "k2": 0.0, - "k3": 0.0 - }, - "pendiente_b": null, - "reduccion_por_nivel": null, - "rook_shrikhande_k4": "inabordable (32^4 tuplas): limite declarado", - "restantes_k3": [], - "nota": "cascada jer\u00e1rquica: solo se testean los pares no separados por el nivel anterior; n<=7 (atlas completo)" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-162_results_frozen.json b/graphkind/resultados/EXP-162_results_frozen.json deleted file mode 100644 index 18034bd39329490b753038bd9b7f5d906fdf29d4..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-162_results_frozen.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "programa": "EXP-162", - "corpus": { - "1": 1, - "2": 2, - "3": 4, - "4": 11, - "5": 34 - }, - "L2_objetos": 1298, - "t4_L2": { - "ordenada|total": { - "objetos": 1298, - "vive_part": 1298, - "vive_perfil": 1298 - }, - "ordenada|capa_0": { - "objetos": 1298, - "vive_part": 1298, - "vive_perfil": 1298 - }, - "ordenada|capa_1": { - "objetos": 1298, - "vive_part": 1298, - "vive_perfil": 1298 - }, - "ordenada|canales_10": { - "objetos": 1298, - "vive_part": 1298, - "vive_perfil": 1298 - }, - "ordenada|canales_10_total": { - "objetos": 1298, - "vive_part": 1298, - "vive_perfil": 1298 - }, - "canonica|total": { - "objetos": 1298, - "vive_part": 1298, - "vive_perfil": 1298 - }, - "canonica|capa_0": { - "objetos": 1298, - "vive_part": 1208, - "vive_perfil": 1208 - }, - "canonica|capa_1": { - "objetos": 1298, - "vive_part": 1208, - "vive_perfil": 1208 - }, - "canonica|canales_10": { - "objetos": 1298, - "vive_part": 1298, - "vive_perfil": 1298 - }, - "canonica|canales_10_total": { - "objetos": 1298, - "vive_part": 1298, - "vive_perfil": 1298 - } - }, - "senal_L2": true, - "L3": { - "objetos": 1404, - "t4": { - "ordenada|total": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|capa_0": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|capa_1": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|capa_2": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|canales_021": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|canales_021_total": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|canales_102": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|canales_102_total": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|canales_120": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|canales_120_total": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|canales_201": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|canales_201_total": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|canales_210": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "ordenada|canales_210_total": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "canonica|total": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "canonica|capa_0": { - "objetos": 1404, - "vive_part": 1300, - "vive_perfil": 1300 - }, - "canonica|capa_1": { - "objetos": 1404, - "vive_part": 1300, - "vive_perfil": 1300 - }, - "canonica|capa_2": { - "objetos": 1404, - "vive_part": 1300, - "vive_perfil": 1300 - }, - "canonica|canales_021": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "canonica|canales_021_total": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "canonica|canales_102": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "canonica|canales_102_total": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "canonica|canales_120": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "canonica|canales_120_total": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "canonica|canales_201": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "canonica|canales_201_total": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "canonica|canales_210": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - }, - "canonica|canales_210_total": { - "objetos": 1404, - "vive_part": 1404, - "vive_perfil": 1404 - } - } - }, - "k_estrella_multicapa": { - "k=1": { - "pares": 674976, - "no_separados": 110 - }, - "k=2": { - "pares": 674976, - "no_separados": 0 - }, - "k=3": { - "pares": 674976, - "no_separados": 0 - } - }, - "single_layer": { - "k=1": { - "pares": 623, - "no_separados": 0 - }, - "k=2": { - "pares": 623, - "no_separados": 0 - }, - "k=3": { - "pares": 623, - "no_separados": 0 - } - }, - "nota": "serial declarado (corpus chico); capas etiquetadas; variante canonica primaria", - "hardware": "serial; wall 49.6s" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-163_results_frozen.json b/graphkind/resultados/EXP-163_results_frozen.json deleted file mode 100644 index d5c35f9d7fec89f36e60522ac9b86f81425e0e1c..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-163_results_frozen.json +++ /dev/null @@ -1,491 +0,0 @@ -{ - "programa": "EXP-163", - "corpus": { - "1": 1, - "2": 2, - "3": 4, - "4": 11, - "5": 34 - }, - "L2_objetos": 1298, - "L3_objetos": 1404, - "resultados": { - "L2|canonica": { - "ops": 8, - "P": 4, - "U": 4, - "P_menos_U": [], - "U_menos_P": [], - "fallas_testigos": { - "S[0]_pi[0, 1]": 11, - "S[0]_pi[1, 0]": 11, - "S[1]_pi[0, 1]": 11, - "S[1]_pi[1, 0]": 11 - }, - "cierre": true, - "cierre_testigo": null, - "A_B_C": "A" - }, - "L2|ordenada": { - "ops": 8, - "P": 8, - "U": 4, - "P_menos_U": [ - { - "S": [ - 1 - ], - "pi": [ - 0, - 1 - ] - }, - { - "S": [ - 0 - ], - "pi": [ - 0, - 1 - ] - }, - { - "S": [ - 1 - ], - "pi": [ - 1, - 0 - ] - }, - { - "S": [ - 0 - ], - "pi": [ - 1, - 0 - ] - } - ], - "U_menos_P": [], - "fallas_testigos": {}, - "cierre": true, - "cierre_testigo": null, - "A_B_C": "B" - }, - "L3|canonica": { - "ops": 48, - "P": 12, - "U": 12, - "P_menos_U": [], - "U_menos_P": [], - "fallas_testigos": { - "S[0]_pi[0, 1, 2]": 27, - "S[0]_pi[0, 2, 1]": 27, - "S[0]_pi[1, 0, 2]": 27, - "S[0]_pi[1, 2, 0]": 27, - "S[0]_pi[2, 0, 1]": 27 - }, - "cierre": true, - "cierre_testigo": null, - "A_B_C": "A" - }, - "L3|ordenada": { - "ops": 48, - "P": 48, - "U": 12, - "P_menos_U": [ - { - "S": [ - 0, - 1 - ], - "pi": [ - 2, - 1, - 0 - ] - }, - { - "S": [ - 2 - ], - "pi": [ - 0, - 1, - 2 - ] - }, - { - "S": [ - 2 - ], - "pi": [ - 0, - 2, - 1 - ] - }, - { - "S": [ - 2 - ], - "pi": [ - 2, - 0, - 1 - ] - }, - { - "S": [ - 1 - ], - "pi": [ - 0, - 1, - 2 - ] - }, - { - "S": [ - 0 - ], - "pi": [ - 0, - 1, - 2 - ] - }, - { - "S": [ - 0 - ], - "pi": [ - 1, - 0, - 2 - ] - }, - { - "S": [ - 2 - ], - "pi": [ - 2, - 1, - 0 - ] - }, - { - "S": [ - 0 - ], - "pi": [ - 0, - 2, - 1 - ] - }, - { - "S": [ - 0 - ], - "pi": [ - 2, - 0, - 1 - ] - }, - { - "S": [ - 2 - ], - "pi": [ - 1, - 0, - 2 - ] - }, - { - "S": [ - 0 - ], - "pi": [ - 2, - 1, - 0 - ] - }, - { - "S": [ - 0, - 2 - ], - "pi": [ - 0, - 1, - 2 - ] - }, - { - "S": [ - 0, - 2 - ], - "pi": [ - 0, - 2, - 1 - ] - }, - { - "S": [ - 0, - 2 - ], - "pi": [ - 1, - 0, - 2 - ] - }, - { - "S": [ - 1, - 2 - ], - "pi": [ - 2, - 1, - 0 - ] - }, - { - "S": [ - 0 - ], - "pi": [ - 1, - 2, - 0 - ] - }, - { - "S": [ - 0, - 2 - ], - "pi": [ - 1, - 2, - 0 - ] - }, - { - "S": [ - 1 - ], - "pi": [ - 0, - 2, - 1 - ] - }, - { - "S": [ - 1 - ], - "pi": [ - 1, - 0, - 2 - ] - }, - { - "S": [ - 1 - ], - "pi": [ - 1, - 2, - 0 - ] - }, - { - "S": [ - 1 - ], - "pi": [ - 2, - 0, - 1 - ] - }, - { - "S": [ - 1 - ], - "pi": [ - 2, - 1, - 0 - ] - }, - { - "S": [ - 0, - 1 - ], - "pi": [ - 0, - 1, - 2 - ] - }, - { - "S": [ - 0, - 1 - ], - "pi": [ - 1, - 0, - 2 - ] - }, - { - "S": [ - 1, - 2 - ], - "pi": [ - 1, - 0, - 2 - ] - }, - { - "S": [ - 0, - 1 - ], - "pi": [ - 0, - 2, - 1 - ] - }, - { - "S": [ - 0, - 1 - ], - "pi": [ - 1, - 2, - 0 - ] - }, - { - "S": [ - 0, - 2 - ], - "pi": [ - 2, - 0, - 1 - ] - }, - { - "S": [ - 1, - 2 - ], - "pi": [ - 1, - 2, - 0 - ] - }, - { - "S": [ - 0, - 1 - ], - "pi": [ - 2, - 0, - 1 - ] - }, - { - "S": [ - 2 - ], - "pi": [ - 1, - 2, - 0 - ] - }, - { - "S": [ - 1, - 2 - ], - "pi": [ - 0, - 1, - 2 - ] - }, - { - "S": [ - 1, - 2 - ], - "pi": [ - 0, - 2, - 1 - ] - }, - { - "S": [ - 1, - 2 - ], - "pi": [ - 2, - 0, - 1 - ] - }, - { - "S": [ - 0, - 2 - ], - "pi": [ - 2, - 1, - 0 - ] - } - ], - "U_menos_P": [], - "fallas_testigos": {}, - "cierre": true, - "cierre_testigo": null, - "A_B_C": "B" - } - }, - "L1_control": { - "ops": 2, - "P": 2 - }, - "nota": "serial declarado (corpus chico); P = preserva en TODOS los objetos; U = uniforme (\u2205 o todas + S_L)", - "hardware": "serial; wall 65.6s" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-164_results_frozen.json b/graphkind/resultados/EXP-164_results_frozen.json deleted file mode 100644 index 03500bd0bae041812f2bc0b9035704766de844d5..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-164_results_frozen.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "programa": "EXP-164", - "corpus": { - "1": 1, - "2": 2, - "3": 4, - "4": 11 - }, - "resultados": { - "L1": { - "iso_clases": 18, - "firmas_k1": 18, - "k*": 1 - }, - "L2": { - "iso_clases": 123, - "firmas": { - "1": 123, - "2": 123, - "3": 123, - "4": 123 - }, - "k*": 1, - "monotonia": true, - "wall_s": 16.0 - }, - "L3": { - "iso_clases": 1349, - "firmas": { - "1": 1349, - "2": 1349, - "3": 1349, - "4": 1349 - }, - "k*": 1, - "monotonia": true, - "wall_s": 159.4 - }, - "L4": { - "iso_clases": 14751, - "firmas": { - "1": 14751, - "2": 14751, - "3": 14751 - }, - "k*": 1, - "monotonia": true, - "wall_s": 133.5 - }, - "L5": { - "iso_clases": 161621, - "firmas": { - "1": 161621, - "2": 161621, - "3": 161621 - }, - "k*": 1, - "monotonia": true, - "wall_s": 1545.6 - } - }, - "escalera": { - "2": 1, - "3": 1, - "4": 1, - "5": 1 - }, - "cierre": "B (saturacion en 2/3)", - "nota": "k* = min k con #firmas == #iso; techo k*<=n declarado; serial", - "hardware": "serial; wall 1855s" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-165_results_frozen.json b/graphkind/resultados/EXP-165_results_frozen.json deleted file mode 100644 index c9a69fb21dac69b2c95fb071df4d3f0e7a02b346..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-165_results_frozen.json +++ /dev/null @@ -1,163 +0,0 @@ -{ - "programa": "EXP-165", - "fila_tipado": { - "1": { - "objetos": 0, - "WL": { - "colisiones": 0, - "clases": 0 - }, - "KW2": { - "colisiones": 0, - "clases": 0 - }, - "KW3": { - "colisiones": 0, - "clases": 0 - }, - "IR1p": { - "colisiones": 0, - "clases": 0 - }, - "t4_vive": 0 - }, - "2": { - "objetos": 2, - "WL": { - "colisiones": 0, - "clases": 2 - }, - "KW2": { - "colisiones": 0, - "clases": 2 - }, - "KW3": { - "colisiones": 0, - "clases": 2 - }, - "IR1p": { - "colisiones": 0, - "clases": 2 - }, - "t4_vive": 2 - }, - "3": { - "objetos": 12, - "WL": { - "colisiones": 0, - "clases": 12 - }, - "KW2": { - "colisiones": 0, - "clases": 12 - }, - "KW3": { - "colisiones": 0, - "clases": 12 - }, - "IR1p": { - "colisiones": 0, - "clases": 12 - }, - "t4_vive": 12 - }, - "4": { - "objetos": 68, - "WL": { - "colisiones": 0, - "clases": 68 - }, - "KW2": { - "colisiones": 0, - "clases": 68 - }, - "KW3": { - "colisiones": 0, - "clases": 68 - }, - "IR1p": { - "colisiones": 0, - "clases": 68 - }, - "t4_vive": 68 - }, - "5": { - "objetos": 476, - "WL": { - "colisiones": 0, - "clases": 476 - }, - "KW2": { - "colisiones": 0, - "clases": 476 - }, - "KW3": { - "colisiones": 0, - "clases": 476 - }, - "IR1p": { - "colisiones": 0, - "clases": 476 - }, - "t4_vive": 476 - }, - "6": { - "objetos": 4784, - "WL": { - "colisiones": 12, - "clases": 4772 - }, - "KW2": { - "colisiones": 12, - "clases": 4772 - }, - "KW3": { - "colisiones": 0, - "clases": 4784 - }, - "IR1p": { - "colisiones": 0, - "clases": 4784 - }, - "t4_vive": 4784 - } - }, - "n_min_tipado": { - "WL": 6, - "KW2": 6, - "KW3": null, - "IR1p": null - }, - "matriz": { - "estandar": { - "T4": "vive", - "front": "WL/KW2 3900 n_min6; KW3/KF2/KF3/IR1p/IR2p 0 (SG-03)" - }, - "multicapa_L2": { - "T4": "vive", - "front": "k*=1 (EXP-164)" - }, - "tipado": { - "T4": "ver", - "front": { - "WL": 6, - "KW2": 6, - "KW3": null, - "IR1p": null - } - }, - "dirigido": { - "T4": "vive 94/94 (EXP-109)", - "front": "N/A" - }, - "Z3": { - "T4": "muere max 52.4% (EXP-116)", - "front": "N/A" - }, - "R1": { - "T4": "muere 18.6% (EXP-117)", - "front": "N/A" - } - }, - "hardware": "Pool(22) chunks=100; wall 76.1s" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-166_results_frozen.json b/graphkind/resultados/EXP-166_results_frozen.json deleted file mode 100644 index ba04f79cd44749a716dbcb9b33c046cf9dca7af2..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-166_results_frozen.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "programa": "EXP-166", - "prediccion": "T4 vive (complemento dual global; resta de multisets con total fijo, inyectiva)", - "resultados": { - "3": { - "objetos": 2, - "t4_vive": 2, - "colisiones": 0, - "clases": 2 - }, - "4": { - "objetos": 5, - "t4_vive": 5, - "colisiones": 0, - "clases": 5 - }, - "5": { - "objetos": 34, - "t4_vive": 34, - "colisiones": 0, - "clases": 34 - }, - "6": { - "objetos": 1790, - "t4_vive": 1790, - "colisiones": 60, - "clases": 1745 - } - }, - "n_min": 6, - "hardware": "serial; wall 44.4s" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-167_results_frozen.json b/graphkind/resultados/EXP-167_results_frozen.json deleted file mode 100644 index 8461dda2bb036b276d33193a41e90dd383fe74f5..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-167_results_frozen.json +++ /dev/null @@ -1,154 +0,0 @@ -{ - "programa": "EXP-167", - "resultados": { - "uniforme": { - "k3_n3": { - "objetos": 2, - "t4_vive": 2, - "colisiones": 0 - }, - "k3_n4": { - "objetos": 5, - "t4_vive": 5, - "colisiones": 0 - }, - "k3_n5": { - "objetos": 34, - "t4_vive": 34, - "colisiones": 0 - }, - "k4_n4": { - "objetos": 2, - "t4_vive": 2, - "colisiones": 0 - }, - "k4_n5": { - "objetos": 6, - "t4_vive": 6, - "colisiones": 0 - }, - "k4_n6": { - "objetos": 156, - "t4_vive": 156, - "colisiones": 4 - }, - "k5_n5": { - "objetos": 2, - "t4_vive": 2, - "colisiones": 0 - }, - "k5_n6": { - "objetos": 7, - "t4_vive": 7, - "colisiones": 0 - } - }, - "mezclado": { - "n3": { - "total|canonica": { - "objetos": 8, - "vive": 8, - "testigo": null - }, - "total|ordenada": { - "objetos": 8, - "vive": 8, - "testigo": null - }, - "aridad2|canonica": { - "objetos": 8, - "vive": 8, - "testigo": null - }, - "aridad2|ordenada": { - "objetos": 8, - "vive": 8, - "testigo": null - }, - "aridad3|canonica": { - "objetos": 8, - "vive": 8, - "testigo": null - }, - "aridad3|ordenada": { - "objetos": 8, - "vive": 8, - "testigo": null - } - }, - "n4": { - "total|canonica": { - "objetos": 55, - "vive": 55, - "testigo": null - }, - "total|ordenada": { - "objetos": 55, - "vive": 55, - "testigo": null - }, - "aridad2|canonica": { - "objetos": 55, - "vive": 55, - "testigo": null - }, - "aridad2|ordenada": { - "objetos": 55, - "vive": 55, - "testigo": null - }, - "aridad3|canonica": { - "objetos": 55, - "vive": 55, - "testigo": null - }, - "aridad3|ordenada": { - "objetos": 55, - "vive": 55, - "testigo": null - } - }, - "n5": { - "total|canonica": { - "objetos": 1038, - "vive": 1038, - "testigo": null - }, - "total|ordenada": { - "objetos": 1038, - "vive": 1038, - "testigo": null - }, - "aridad2|canonica": { - "objetos": 1038, - "vive": 1038, - "testigo": null - }, - "aridad2|ordenada": { - "objetos": 1038, - "vive": 1038, - "testigo": null - }, - "aridad3|canonica": { - "objetos": 1038, - "vive": 1038, - "testigo": null - }, - "aridad3|ordenada": { - "objetos": 1038, - "vive": 1038, - "testigo": null - } - } - } - }, - "predicciones": { - "k4_vive": true, - "k5_vive": true, - "total_vive": true, - "aridad_muere_canonica": false, - "aridad_vive_ordenada": true - }, - "cierre": "C (mixto)", - "hardware": "serial; wall 434.4s" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-168_results_frozen.json b/graphkind/resultados/EXP-168_results_frozen.json deleted file mode 100644 index ca852ca4911a71fbcfca7f9150340840d97df19e..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-168_results_frozen.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "programa": "EXP-168", - "agregados": { - "dirigida_n6": { - "casos": 20000, - "fusion": 6560, - "reparo": 6560, - "fallas_t4c": 0, - "fallas_t4o": 0, - "testigo": null - }, - "dirigida_n7": { - "casos": 20000, - "fusion": 5225, - "reparo": 5225, - "fallas_t4c": 0, - "fallas_t4o": 0, - "testigo": null - }, - "dirigida_n8": { - "casos": 20000, - "fusion": 10036, - "reparo": 10036, - "fallas_t4c": 0, - "fallas_t4o": 0, - "testigo": null - }, - "amplia_n6": { - "casos": 100000, - "fusion": 6892, - "reparo": 6772, - "fallas_t4c": 0, - "fallas_t4o": 0, - "testigo": null - }, - "amplia_n7": { - "casos": 50000, - "fusion": 2205, - "reparo": 2203, - "fallas_t4c": 0, - "fallas_t4o": 0, - "testigo": null - }, - "amplia_n8": { - "casos": 30000, - "fusion": 975, - "reparo": 975, - "fallas_t4c": 0, - "fallas_t4o": 0, - "testigo": null - }, - "control_neg_n6": { - "casos": 5000, - "fusion": 0, - "reparo": 0, - "fallas_t4c": 0, - "fallas_t4o": 0, - "testigo": null - }, - "control_neg_n7": { - "casos": 5000, - "fusion": 0, - "reparo": 0, - "fallas_t4c": 0, - "fallas_t4o": 0, - "testigo": null - }, - "control_neg_n8": { - "casos": 5000, - "fusion": 0, - "reparo": 0, - "fallas_t4c": 0, - "fallas_t4o": 0, - "testigo": null - }, - "control_total_n6": { - "casos": 2000, - "fusion": 0, - "reparo": 0, - "fallas_t4c": 0, - "fallas_t4o": 0, - "testigo": null - }, - "control_total_n7": { - "casos": 2000, - "fusion": 0, - "reparo": 0, - "fallas_t4c": 0, - "fallas_t4o": 0, - "testigo": null - }, - "control_total_n8": { - "casos": 2000, - "fusion": 0, - "reparo": 0, - "fallas_t4c": 0, - "fallas_t4o": 0, - "testigo": null - } - }, - "fallas_t4c": { - "dirigida_n6": 0, - "dirigida_n7": 0, - "dirigida_n8": 0, - "amplia_n6": 0, - "amplia_n7": 0, - "amplia_n8": 0, - "control_neg_n6": 0, - "control_neg_n7": 0, - "control_neg_n8": 0, - "control_total_n6": 0, - "control_total_n7": 0, - "control_total_n8": 0 - }, - "cierre": "B (sin testigo en el espacio buscado: reparo robusto)", - "hardware": "Pool(22) chunks=200; wall 67.3s" -} \ No newline at end of file diff --git a/graphkind/resultados/EXP-169_results_frozen.json b/graphkind/resultados/EXP-169_results_frozen.json deleted file mode 100644 index 93053374812aa9d008c41d3d740bf48e55a3c8a1..0000000000000000000000000000000000000000 --- a/graphkind/resultados/EXP-169_results_frozen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "programa": "EXP-169", - "validacion": { - "casos": 60000, - "particion_igual": 60000, - "aristas_original": 1749801, - "aristas_dual_total": 1570281, - "aristas_dual_aridad": 1498382, - "ahorro_total_%": 10.26, - "ahorro_aridad_%": 14.37, - "extra_vs_total_%": 4.11 - }, - "cierre": "A (asimilada: particion 100% + ahorro >= total)", - "hardware": "Pool(22) chunks=200; wall 9.3s" -} \ No newline at end of file diff --git a/graphkind/resultados/SG-01_results_frozen.json b/graphkind/resultados/SG-01_results_frozen.json deleted file mode 100644 index b8fbd9c2398079fca9ebaa50d2ae83c5ed930c48..0000000000000000000000000000000000000000 --- a/graphkind/resultados/SG-01_results_frozen.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "programa": "SG-01", - "familia_elegida": "F3", - "test": { - "colisiones": 0, - "pares": 76205685, - "C_8": 0.0 - }, - "baseline_F7": 0, - "shuffle": 0, - "leave_one_out": { - "C1": { - "colisiones_sin": 0, - "necesario": false - }, - "C2": { - "colisiones_sin": 0, - "necesario": false - }, - "C3": { - "colisiones_sin": 350, - "necesario": true - } - }, - "cociente_complemento": { - "colisiones_originales": 0, - "colisiones_cociente": 6168, - "identificados": 10 - }, - "pares_conocidos": { - "C6/2C3": { - "F1": true, - "F2": true, - "F3": false, - "F4": false, - "F5": false, - "F6": false, - "F7": false - }, - "Rook/Shri (n=16)": { - "F1": true, - "F2": true, - "F3": true, - "F4": true, - "F5": true, - "F6": true, - "F7": false - } - }, - "control_relabeling": { - "ok": 50, - "muestra": 50 - }, - "desenlace": "A (completo en n<=8)", - "curva_C_n": { - "2": { - "colisiones": 0, - "pares": 1, - "C_n": 0.0 - }, - "3": { - "colisiones": 0, - "pares": 6, - "C_n": 0.0 - }, - "4": { - "colisiones": 0, - "pares": 55, - "C_n": 0.0 - }, - "5": { - "colisiones": 0, - "pares": 561, - "C_n": 0.0 - }, - "6": { - "colisiones": 0, - "pares": 12090, - "C_n": 0.0 - }, - "7": { - "colisiones": 0, - "pares": 544446, - "C_n": 0.0 - }, - "8": { - "colisiones": 0, - "pares": 76205685, - "C_n": 0.0 - } - }, - "nota": "sin reajuste post-freeze; familia m\u00ednima por costo; controles obligatorios", - "hardware": "Pool(22), chunks=20, OMP=1" -} \ No newline at end of file diff --git a/graphkind/resultados/SG-02_results_frozen.json b/graphkind/resultados/SG-02_results_frozen.json deleted file mode 100644 index 2439ba8b000f2927c28d0b824595c9f572db131a..0000000000000000000000000000000000000000 --- a/graphkind/resultados/SG-02_results_frozen.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "programa": "SG-02", - "composicion": [ - "KW3" - ], - "informe": [ - { - "primitivo": "KW3", - "colisiones": 0 - } - ], - "costo": 3, - "test": { - "colisiones": 0, - "pares": 76205685, - "C_8": 0.0 - }, - "baseline": 0, - "shuffle_comp": 0, - "i_estrella": { - "1": 13597 - }, - "leave_one_out": { - "KW3": { - "colisiones_sin": "n/a" - } - }, - "relabeling": { - "ok": 30, - "muestra": 30 - }, - "frontera": { - "Rook": { - "WL": "(16,)", - "IR1": "(('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'))", - "IR2": "(('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('046dee95f6922402', '046dee95f6922402', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '07ee69291e267b54', '2745f3a5f619f26f', '2745f3a5f619f26f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f', '61f4212565579f7f'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'))", - "KW3": "'8b8794615043ce8a'" - }, - "Shrikhande": { - "WL": "(16,)", - "IR1": "(('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'), ('d18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'd18ae9f2b977cf07', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'e79f7d74f8c1d419', 'fa25a2c07d95a6e3'))", - "IR2": "(('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '2a1d746985344434', '63f30bd7d5a5066a', '63f30bd7d5a5066a', '64f659bc1f101a9e', '64f659bc1f101a9e', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '72e3caac43b49df0', '7b012eb23f2bc02f', '7b012eb23f2bc02f', 'd760ca26747bfe5f', 'd760ca26747bfe5f'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('379619addabd6484', '379619addabd6484', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', '4ccb887b4abfa86d', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'b71fef0b9fa92dba', 'fca081cf0315b11e', 'fca081cf0315b11e'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'), ('41ee864fb0347bfe', '41ee864fb0347bfe', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '571a33a440018fb3', '78d7b88c6877b29c', '78d7b88c6877b29c', '9fb05ee462e7d850', '9fb05ee462e7d850', 'd2a4000220268b29', 'd2a4000220268b29', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81', 'f05170930d041f81'))", - "KW3": "'8b8794615043ce8a'" - }, - "Petersen": { - "WL": "(10,)", - "IR1": "(('12f65091f8885279', 'd8450ad1cd710794', 'd8450ad1cd710794', 'd8450ad1cd710794', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376'), ('12f65091f8885279', 'd8450ad1cd710794', 'd8450ad1cd710794', 'd8450ad1cd710794', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376'), ('12f65091f8885279', 'd8450ad1cd710794', 'd8450ad1cd710794', 'd8450ad1cd710794', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376'), ('12f65091f8885279', 'd8450ad1cd710794', 'd8450ad1cd710794', 'd8450ad1cd710794', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376'), ('12f65091f8885279', 'd8450ad1cd710794', 'd8450ad1cd710794', 'd8450ad1cd710794', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376'), ('12f65091f8885279', 'd8450ad1cd710794', 'd8450ad1cd710794', 'd8450ad1cd710794', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376'), ('12f65091f8885279', 'd8450ad1cd710794', 'd8450ad1cd710794', 'd8450ad1cd710794', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376'), ('12f65091f8885279', 'd8450ad1cd710794', 'd8450ad1cd710794', 'd8450ad1cd710794', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376'), ('12f65091f8885279', 'd8450ad1cd710794', 'd8450ad1cd710794', 'd8450ad1cd710794', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376'), ('12f65091f8885279', 'd8450ad1cd710794', 'd8450ad1cd710794', 'd8450ad1cd710794', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376', 'eb74736a76549376'))", - "IR2": "(('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('784df2466e8f1f19', '7b2bc9904754cfbd', '7b2bc9904754cfbd', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', '967191ea13ae3f95', 'c36067b0ad17e24d', 'd026206decbf7c7c', 'd026206decbf7c7c'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'), ('a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'a6d755f873a4e413', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'd17a84ff8fbb602e', 'f8897ae26f51dc18', 'f8897ae26f51dc18'))", - "KW3": "'077baadbdbd2b081'" - }, - "C5": { - "WL": "(5,)", - "IR1": "(('1c7c6309abc407ba', '1c7c6309abc407ba', 'd4a1eeb0200e6376', 'f6951e227d9873ce', 'f6951e227d9873ce'), ('1c7c6309abc407ba', '1c7c6309abc407ba', 'd4a1eeb0200e6376', 'f6951e227d9873ce', 'f6951e227d9873ce'), ('1c7c6309abc407ba', '1c7c6309abc407ba', 'd4a1eeb0200e6376', 'f6951e227d9873ce', 'f6951e227d9873ce'), ('1c7c6309abc407ba', '1c7c6309abc407ba', 'd4a1eeb0200e6376', 'f6951e227d9873ce', 'f6951e227d9873ce'), ('1c7c6309abc407ba', '1c7c6309abc407ba', 'd4a1eeb0200e6376', 'f6951e227d9873ce', 'f6951e227d9873ce'))", - "IR2": "(('10e500f8c6449c56', '10e500f8c6449c56', '3534a4a4a8109592', 'e73ea0997251407a', 'e73ea0997251407a'), ('10e500f8c6449c56', '10e500f8c6449c56', '3534a4a4a8109592', 'e73ea0997251407a', 'e73ea0997251407a'), ('10e500f8c6449c56', '10e500f8c6449c56', '3534a4a4a8109592', 'e73ea0997251407a', 'e73ea0997251407a'), ('10e500f8c6449c56', '10e500f8c6449c56', '3534a4a4a8109592', 'e73ea0997251407a', 'e73ea0997251407a'), ('10e500f8c6449c56', '10e500f8c6449c56', '3534a4a4a8109592', 'e73ea0997251407a', 'e73ea0997251407a'), ('5acdc50cd103683a', '8f90fc8780b09dd8', '8f90fc8780b09dd8', 'b28a28f02590451b', 'b28a28f02590451b'), ('5acdc50cd103683a', '8f90fc8780b09dd8', '8f90fc8780b09dd8', 'b28a28f02590451b', 'b28a28f02590451b'), ('5acdc50cd103683a', '8f90fc8780b09dd8', '8f90fc8780b09dd8', 'b28a28f02590451b', 'b28a28f02590451b'), ('5acdc50cd103683a', '8f90fc8780b09dd8', '8f90fc8780b09dd8', 'b28a28f02590451b', 'b28a28f02590451b'), ('5acdc50cd103683a', '8f90fc8780b09dd8', '8f90fc8780b09dd8', 'b28a28f02590451b', 'b28a28f02590451b'))", - "KW3": "'5dbed0fe9c0d303d'" - } - }, - "complemento_IR2": { - "colisiones_originales": 0, - "colisiones_cociente": 6168, - "identificados": 10 - }, - "nota": "composici\u00f3n generada por el motor (greedy, costo m\u00ednimo); sin men\u00fa humano; i* = individualizaciones m\u00ednimas", - "hardware": "Pool(22), chunks=20, OMP=1" -} \ No newline at end of file diff --git a/graphkind/resultados/SG-03_results_frozen.json b/graphkind/resultados/SG-03_results_frozen.json deleted file mode 100644 index 1c912517688794186b81d682dcf8b99c961bb0a6..0000000000000000000000000000000000000000 --- a/graphkind/resultados/SG-03_results_frozen.json +++ /dev/null @@ -1,536 +0,0 @@ -{ - "programa": "SG-03", - "definiciones": { - "IR_peor": "frozenset de tipos puntados, sin multiplicidades (primario)", - "IR_multiset": "con multiplicidades (secundario)", - "individualizacion": "simult\u00e1nea, marcador IND" - }, - "test": { - "n": 9, - "fallas_por_n": { - "WL": { - "9": 3900 - }, - "KW2": { - "9": 3900 - }, - "KW3": { - "9": 0 - }, - "KF2": { - "9": 0 - }, - "KF3": { - "9": 0 - }, - "IR1p": { - "9": 0 - }, - "IR2p": { - "9": 0 - }, - "IR1m": { - "9": 0 - }, - "IR2m": { - "9": 0 - } - }, - "n_min": { - "WL": 6, - "KW2": 6, - "KW3": null, - "KF2": null, - "KF3": null, - "IR1p": null, - "IR2p": null, - "IR1m": null, - "IR2m": null - }, - "reticulo": { - "WL|KW2": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 271941, - "clases_b": 271941, - "pares_a": 3900, - "pares_b": 3900, - "cierre": "A" - }, - "WL|KW3": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "WL|KF2": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "WL|KF3": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "WL|IR1p": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "WL|IR2p": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "WL|IR1m": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "WL|IR2m": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "KW2|KW3": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "KW2|KF2": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "KW2|KF3": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "KW2|IR1p": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "KW2|IR2p": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "KW2|IR1m": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "KW2|IR2m": { - "relacion": "b_refina_a", - "testigo_a": null, - "testigo_b": { - "i": 598, - "j": 2265, - "g6_i": "H??ED@_", - "g6_j": "H?AACHA" - }, - "clases_a": 271941, - "clases_b": 274668, - "pares_a": 3900, - "pares_b": 0, - "cierre": "B" - }, - "KW3|KF2": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KW3|KF3": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KW3|IR1p": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KW3|IR2p": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KW3|IR1m": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KW3|IR2m": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KF2|KF3": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KF2|IR1p": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KF2|IR2p": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KF2|IR1m": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KF2|IR2m": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KF3|IR1p": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KF3|IR2p": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KF3|IR1m": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "KF3|IR2m": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "IR1p|IR2p": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "IR1p|IR1m": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "IR1p|IR2m": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "IR2p|IR1m": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "IR2p|IR2m": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - }, - "IR1m|IR2m": { - "relacion": "igual", - "testigo_a": null, - "testigo_b": null, - "clases_a": 274668, - "clases_b": 274668, - "pares_a": 0, - "pares_b": 0, - "cierre": "A" - } - }, - "pares_primarios": { - "IR1p|KW3": "A", - "IR2p|KF3": "A", - "IR2p|KW3": "A", - "IR1m|KW3": "A", - "IR1p|IR1m": "A", - "IR2p|IR2m": "A" - } - }, - "anclas": { - "C6|2C3": { - "WL": false, - "KW2": false, - "KW3": true, - "KF2": true, - "KF3": true, - "IR1p": true, - "IR2p": true, - "IR1m": true, - "IR2m": true - }, - "Rook|Shrikhande": { - "WL": false, - "KW2": false, - "KW3": false, - "KF2": false, - "KF3": true, - "IR1p": false, - "IR2p": true, - "IR1m": false, - "IR2m": true - }, - "Petersen|C5": { - "WL": true, - "KW2": true, - "KW3": true, - "KF2": true, - "KF3": true, - "IR1p": true, - "IR2p": true, - "IR1m": true, - "IR2m": true - } - }, - "relabeling": { - "ok": 30, - "muestra": 30 - }, - "n10": { - "corrido": false, - "extrapolado_h": 36.94, - "autorizado": false - }, - "hardware": "Pool(22), chunks=20, OMP=1" -} \ No newline at end of file diff --git a/graphkind/resultados/SG-04_capa1.json b/graphkind/resultados/SG-04_capa1.json deleted file mode 100644 index ca6a9ddb0ed62bde7994d8ac8a65580ba48c989a..0000000000000000000000000000000000000000 --- a/graphkind/resultados/SG-04_capa1.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "n": 10, - "grafos": 12005168, - "wall_s": 39993.8, - "KW3": { - "pares": 0, - "testigos": [] - }, - "IR1p": { - "pares": 0, - "testigos": [] - } -} \ No newline at end of file diff --git a/graphkind/resultados/SG-04_capa2.json b/graphkind/resultados/SG-04_capa2.json deleted file mode 100644 index bbbdf86edbf97a56c6bb0069cfce8c57bc799271..0000000000000000000000000000000000000000 --- a/graphkind/resultados/SG-04_capa2.json +++ /dev/null @@ -1,200 +0,0 @@ -[ - { - "familia": "reg n=11 k=4", - "grafos": 266, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=11 k=4", - "grafos": 266, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=12 k=3", - "grafos": 94, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=12 k=3", - "grafos": 94, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=12 k=4", - "grafos": 1547, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=12 k=4", - "grafos": 1547, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=12 k=5", - "grafos": 5000, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=12 k=5", - "grafos": 5000, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=13 k=4", - "grafos": 5000, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=13 k=4", - "grafos": 5000, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=14 k=3", - "grafos": 540, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=14 k=3", - "grafos": 540, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=14 k=4", - "grafos": 5000, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=14 k=4", - "grafos": 5000, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=14 k=5", - "grafos": 5000, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=14 k=5", - "grafos": 5000, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=15 k=4", - "grafos": 5000, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=15 k=4", - "grafos": 5000, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "C13+{1,5}|C17+{1,4}", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "C13+{1,5}|Paley13", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "C13+{1,5}|Paley17", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "C13+{1,5}|Q4", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "C17+{1,4}|Paley13", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "C17+{1,4}|Paley17", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "C17+{1,4}|Q4", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "Paley13|Paley17", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "Paley13|Q4", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "Paley17|Q4", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - } -] \ No newline at end of file diff --git a/graphkind/resultados/SG-04_results_frozen.json b/graphkind/resultados/SG-04_results_frozen.json deleted file mode 100644 index 1562efc4b35e9111415640cc1dfba14a0e769fd6..0000000000000000000000000000000000000000 --- a/graphkind/resultados/SG-04_results_frozen.json +++ /dev/null @@ -1,1074 +0,0 @@ -{ - "programa": "SG-04", - "smoke": false, - "piloto": { - "ms_por_grafo": 2.87, - "extrapolado_h": 9.57, - "autorizado": true, - "fallback": "regulares n=10" - }, - "capa1_n10": { - "n": 10, - "grafos": 12005168, - "wall_s": 39993.8, - "KW3": { - "pares": 0, - "testigos": [] - }, - "IR1p": { - "pares": 0, - "testigos": [] - } - }, - "capa2_dirigida": [ - { - "familia": "reg n=11 k=4", - "grafos": 266, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=11 k=4", - "grafos": 266, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=12 k=3", - "grafos": 94, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=12 k=3", - "grafos": 94, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=12 k=4", - "grafos": 1547, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=12 k=4", - "grafos": 1547, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=12 k=5", - "grafos": 5000, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=12 k=5", - "grafos": 5000, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=13 k=4", - "grafos": 5000, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=13 k=4", - "grafos": 5000, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=14 k=3", - "grafos": 540, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=14 k=3", - "grafos": 540, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=14 k=4", - "grafos": 5000, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=14 k=4", - "grafos": 5000, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=14 k=5", - "grafos": 5000, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=14 k=5", - "grafos": 5000, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "reg n=15 k=4", - "grafos": 5000, - "mecanismo": "KW3", - "pares": 0 - }, - { - "familia": "reg n=15 k=4", - "grafos": 5000, - "mecanismo": "IR1p", - "pares": 0 - }, - { - "familia": "C13+{1,5}|C17+{1,4}", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "C13+{1,5}|Paley13", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "C13+{1,5}|Paley17", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "C13+{1,5}|Q4", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "C17+{1,4}|Paley13", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "C17+{1,4}|Paley17", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "C17+{1,4}|Q4", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "Paley13|Paley17", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "Paley13|Q4", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - }, - { - "familia": "Paley17|Q4", - "grafos": 2, - "mecanismo": "separados", - "separados": { - "KW3": true, - "IR1p": true - } - } - ], - "capa3_n16": { - "par": "Rook|Shrikhande", - "n": 16, - "separadores": { - "SPEC_A": false, - "SPEC_L": false, - "SPEC_Q": false, - "SEIDEL": false, - "SNFL": true, - "SNFAI": false, - "AUT": true, - "CICLOS": true, - "LOCAL": true, - "HOM2": true, - "KF2": false, - "KF3": true, - "IR1p": false, - "IR2p": true - } - }, - "huella_n16": { - "mecanismo": "KW3", - "n": 16, - "g6_G": "O``HW~as[OG`GjCVv@BgH", - "g6_H": "OlfJHsHBGK_\\oHWKeBK_\\", - "srg_G": [ - 16, - 6, - 2, - 2 - ], - "srg_H": [ - 16, - 6, - 2, - 2 - ], - "aut_G": [ - 1152, - [ - 16 - ] - ], - "aut_H": [ - 192, - [ - 16 - ] - ], - "complemento": { - "H_iso_compl_G": false, - "G_autocomplementario": false, - "H_autocomplementario": false - }, - "ciclos_G": [ - [ - 4, - 1 - ], - [ - 5, - 7 - ], - [ - 6, - 28 - ], - [ - 7, - 97 - ], - [ - 8, - 337 - ], - [ - 9, - 1107 - ], - [ - 10, - 3225 - ], - [ - 11, - 8063 - ], - [ - 12, - 16909 - ], - [ - 13, - 28598 - ], - [ - 14, - 36627 - ], - [ - 15, - 31430 - ], - [ - 16, - 13858 - ] - ], - "ciclos_H": [ - [ - 4, - 1 - ], - [ - 5, - 6 - ], - [ - 6, - 25 - ], - [ - 7, - 93 - ], - [ - 8, - 321 - ], - [ - 9, - 1044 - ], - [ - 10, - 3099 - ], - [ - 11, - 7906 - ], - [ - 12, - 16743 - ], - [ - 13, - 28487 - ], - [ - 14, - 36799 - ], - [ - 15, - 31970 - ], - [ - 16, - 13891 - ] - ], - "espectro_G": { - "A": [ - 1, - 0, - -48, - -64, - 768, - 1536, - -5888, - -15360, - 23040, - 81920, - -36864, - -245760, - -32768, - 393216, - 196608, - -262144, - -196608 - ], - "L": [ - 1, - -96, - 4272, - -116864, - 2197248, - -30068736, - 309317632, - -2435088384, - 14788067328, - -69264736256, - 248135024640, - -667598979072, - 1305670057984, - -1752346656768, - 1443109011456, - -549755813888, - 0 - ], - "Q": [ - 1, - -96, - 4272, - -116992, - 2207232, - -30425088, - 317022208, - -2547646464, - 15961227264, - -78238449664, - 299136712704, - -882968100864, - 1973067710464, - -3227667922944, - 3646427234304, - -2542620639232, - 824633720832 - ], - "SEIDEL": [ - 1, - 0, - -120, - 160, - 6060, - -15936, - -155240, - 641760, - 1787670, - -12804480, - 1596024, - 119322720, - -230728500, - -262440000, - 1476225000, - -1968300000, - 922640625 - ] - }, - "espectro_H": { - "A": [ - 1, - 0, - -48, - -64, - 768, - 1536, - -5888, - -15360, - 23040, - 81920, - -36864, - -245760, - -32768, - 393216, - 196608, - -262144, - -196608 - ], - "L": [ - 1, - -96, - 4272, - -116864, - 2197248, - -30068736, - 309317632, - -2435088384, - 14788067328, - -69264736256, - 248135024640, - -667598979072, - 1305670057984, - -1752346656768, - 1443109011456, - -549755813888, - 0 - ], - "Q": [ - 1, - -96, - 4272, - -116992, - 2207232, - -30425088, - 317022208, - -2547646464, - 15961227264, - -78238449664, - 299136712704, - -882968100864, - 1973067710464, - -3227667922944, - 3646427234304, - -2542620639232, - 824633720832 - ], - "SEIDEL": [ - 1, - 0, - -120, - 160, - 6060, - -15936, - -155240, - 641760, - 1787670, - -12804480, - 1596024, - 119322720, - -230728500, - -262440000, - 1476225000, - -1968300000, - 922640625 - ] - }, - "local_G": [ - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 3, - 3 - ] - ] - ], - "local_H": [ - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ], - [ - 6, - [ - 2, - 2, - 2, - 2, - 2, - 2 - ], - [ - 6 - ] - ] - ], - "particion_G": { - "claves_distintas": 15, - "perfil": [ - 16, - 96, - 96, - 96, - 144, - 144, - 144, - 192, - 288, - 288, - 288, - 576, - 576, - 576, - 576 - ] - }, - "particion_H": { - "claves_distintas": 15, - "perfil": [ - 16, - 96, - 96, - 96, - 144, - 144, - 144, - 192, - 288, - 288, - 288, - 576, - 576, - 576, - 576 - ] - }, - "separadores": { - "SPEC_A": false, - "SPEC_L": false, - "SPEC_Q": false, - "SEIDEL": false, - "SNFL": true, - "SNFAI": false, - "AUT": true, - "CICLOS": true, - "LOCAL": true, - "HOM2": true, - "KF2": false, - "KF3": true, - "IR1p": false, - "IR2p": true - } - }, - "fase2_X": { - "X": null, - "motivo": "sin fallas en TRAIN (capas 1-2)", - "fallas_train": [] - }, - "hardware": "Pool(22), chunks=20, OMP=1", - "wall_total_s": 40004.9, - "nota_capa2": "re-corrida tras fix del bug de geng (-d#/-D# pegados); la corrida original tuvo 15 errores de sintaxis y 0 familias regulares" -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/CONST.json b/graphkind/resultados/atlas/CONST.json deleted file mode 100644 index 0fdf4e8af840c58c6de3cb0684d581f97c9fa291..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/CONST.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "CONST", - "conteo": { - "f": "CONST", - "f1": 1, - "f2": 1, - "distingue_1_2": false - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": false - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": false - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/COUNT.json b/graphkind/resultados/atlas/COUNT.json deleted file mode 100644 index 10aea26e24347cbd5334535f0226753153dbd4c0..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/COUNT.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "COUNT", - "conteo": { - "f": "COUNT", - "f1": 1, - "f2": 2, - "distingue_1_2": true - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": true - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": true - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/LOG.json b/graphkind/resultados/atlas/LOG.json deleted file mode 100644 index 381464e64bef4b74a7669aa8393bf53d5ac3ad9a..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/LOG.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "LOG", - "conteo": { - "f": "LOG", - "f1": 1, - "f2": 2, - "distingue_1_2": true - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": true - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": true - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/MOD2.json b/graphkind/resultados/atlas/MOD2.json deleted file mode 100644 index 08a4abb054f13c987988c776297387332e6e849b..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/MOD2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "MOD2", - "conteo": { - "f": "MOD2", - "f1": 1, - "f2": 0, - "distingue_1_2": true - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": true - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": true - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/MOD3.json b/graphkind/resultados/atlas/MOD3.json deleted file mode 100644 index f77d0ac48e5d473052e27c6277fa532bfd870cbf..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/MOD3.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "MOD3", - "conteo": { - "f": "MOD3", - "f1": 1, - "f2": 2, - "distingue_1_2": true - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": true - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": true - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/MOD4.json b/graphkind/resultados/atlas/MOD4.json deleted file mode 100644 index 4436c2e21d6da9afa3d443ef0e3beff1cb42bafb..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/MOD4.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "MOD4", - "conteo": { - "f": "MOD4", - "f1": 1, - "f2": 2, - "distingue_1_2": true - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": true - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": true - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/PARITY.json b/graphkind/resultados/atlas/PARITY.json deleted file mode 100644 index b7766d407f5fd45b844e17d14ca1f691b89efddd..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/PARITY.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "PARITY", - "conteo": { - "f": "PARITY", - "f1": 1, - "f2": 0, - "distingue_1_2": true - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": true - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": true - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/SET.json b/graphkind/resultados/atlas/SET.json deleted file mode 100644 index 381d9ba555fdc0eef934ae5342d0d5dde427b2fe..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/SET.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "SET", - "conteo": { - "f": "SET", - "f1": 1, - "f2": 1, - "distingue_1_2": false - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": false - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": false - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/SQRT.json b/graphkind/resultados/atlas/SQRT.json deleted file mode 100644 index aa5bba5a05c9e99276952278c7c922a8b412b47c..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/SQRT.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "SQRT", - "conteo": { - "f": "SQRT", - "f1": 1, - "f2": 1, - "distingue_1_2": false - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": false - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": false - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/THRESH1.json b/graphkind/resultados/atlas/THRESH1.json deleted file mode 100644 index 635a67e2e85c47a622f40e5c7bf55858cbe08b84..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/THRESH1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "THRESH1", - "conteo": { - "f": "THRESH1", - "f1": 1, - "f2": 1, - "distingue_1_2": false - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": false - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": false - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/THRESH2.json b/graphkind/resultados/atlas/THRESH2.json deleted file mode 100644 index c06721f90896afeea766dc6e8aa7f5d3c71f26b3..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/THRESH2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "THRESH2", - "conteo": { - "f": "THRESH2", - "f1": 0, - "f2": 1, - "distingue_1_2": true - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": true - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": true - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/THRESH3.json b/graphkind/resultados/atlas/THRESH3.json deleted file mode 100644 index b14c302e8193dd7504f301c42611df0dcfcc062e..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/THRESH3.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "THRESH3", - "conteo": { - "f": "THRESH3", - "f1": 0, - "f2": 0, - "distingue_1_2": false - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": false - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": false - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/TRUNC1.json b/graphkind/resultados/atlas/TRUNC1.json deleted file mode 100644 index d104ed4645f64f24d551c45fb8c811f36fca1aab..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/TRUNC1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "TRUNC1", - "conteo": { - "f": "TRUNC1", - "f1": 1, - "f2": 1, - "distingue_1_2": false - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": false - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": false - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/TRUNC2.json b/graphkind/resultados/atlas/TRUNC2.json deleted file mode 100644 index b67678330504f23849fa3d2800c7655b436bb6f4..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/TRUNC2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "TRUNC2", - "conteo": { - "f": "TRUNC2", - "f1": 1, - "f2": 2, - "distingue_1_2": true - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": true - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": true - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/resultados/atlas/TRUNC3.json b/graphkind/resultados/atlas/TRUNC3.json deleted file mode 100644 index d1a947b845f66b9086ad4ddbb4e4aee230b48a97..0000000000000000000000000000000000000000 --- a/graphkind/resultados/atlas/TRUNC3.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "universo": "TRUNC3", - "conteo": { - "f": "TRUNC3", - "f1": 1, - "f2": 2, - "distingue_1_2": true - }, - "involuciones": [ - { - "nombre": "comp", - "clase": "dual", - "t4": true - }, - { - "nombre": "comp_parcial", - "clase": "local", - "t4": false - }, - { - "nombre": "flip_v0", - "clase": "local", - "t4": false - }, - { - "nombre": "swap01", - "clase": "trivial", - "t4": true - }, - { - "nombre": "reverse", - "clase": "trivial", - "t4": true - }, - { - "nombre": "comp_rev", - "clase": "dual", - "t4": true - } - ], - "ley": "T4 <=> trivial o (dual y f(1)!=f(2))", - "evidencia": { - "n_max": 6, - "fuente": "EXP-102/103/104/105" - } -} \ No newline at end of file diff --git a/graphkind/tools/figuras_v1_datos.py b/graphkind/tools/figuras_v1_datos.py deleted file mode 100644 index 47d9f4a71faea5b998e18e9d8cd20f0e10c686ea..0000000000000000000000000000000000000000 --- a/graphkind/tools/figuras_v1_datos.py +++ /dev/null @@ -1,167 +0,0 @@ -#!/usr/bin/env python3 -"""Figuras v1 de datos (t4-particion, t4-evolucion) — wording preciso (v2). - -Regla: lo que T4 preserva es la PARTICIÓN de clases; las etiquetas de -color son hashes arbitrarios y PUEDEN diferir entre G y Ḡ. Genera: - assets/t4-particion.svg - assets/t4-evolucion.svg -""" -import hashlib -from collections import Counter -from pathlib import Path - -import matplotlib -matplotlib.use("Agg") -import matplotlib.pyplot as plt # noqa: E402 -import networkx as nx # noqa: E402 - -OUT = Path(__file__).resolve().parent.parent / "assets" -PALETA = ["#9a7b1f", "#26557a", "#a33", "#0b6b3a", "#6b3fa0", "#b06a1f"] - - -def to_adj(g): - g = nx.convert_node_labels_to_integers(g) - n = g.number_of_nodes() - adj = [0] * n - for u, v in g.edges: - adj[u] |= 1 << v - adj[v] |= 1 << u - return adj - - -def comp_adj(n, adj): - out = [0] * n - for i in range(n): - for j in range(i + 1, n): - if not (adj[i] >> j) & 1: - out[i] |= 1 << j - out[j] |= 1 << i - return out - - -def _h(s): - return hashlib.sha256(s.encode()).hexdigest()[:12] - - -def clases_wl(n, adj): - colors = [_h(f"g|{adj[v].bit_count()}") for v in range(n)] - for _ in range(n + 2): - new = [] - for v in range(n): - cnt = Counter() - m = adj[v] - while m: - u = (m & -m).bit_length() - 1 - m &= m - 1 - cnt[colors[u]] += 1 - new.append(_h(f"{colors[v]}|{tuple(sorted(cnt.items()))}")) - colors = new - idx = {c: i for i, c in enumerate(sorted(set(colors)))} - return [idx[c] for c in colors] - - -def clases_wl_ronda(n, adj, k): - colors = [_h(f"g|{adj[v].bit_count()}") for v in range(n)] - for _ in range(k): - new = [] - for v in range(n): - cnt = Counter() - m = adj[v] - while m: - u = (m & -m).bit_length() - 1 - m &= m - 1 - cnt[colors[u]] += 1 - new.append(_h(f"{colors[v]}|{tuple(sorted(cnt.items()))}")) - colors = new - rep = {} - for v in range(n): - rep.setdefault(colors[v], v) - idx = {rep[c]: i for i, c in enumerate(sorted(rep))} - return [idx[rep[colors[v]]] for v in range(n)] - - -def _dibujar(n, adj, cl, pos, ax, titulo): - G = nx.Graph() - G.add_nodes_from(range(n)) - for u in range(n): - for v in range(u + 1, n): - if (adj[u] >> v) & 1: - G.add_edge(u, v) - colores = [PALETA[c % len(PALETA)] for c in cl] - nx.draw_networkx_edges(G, pos, ax=ax, edge_color="#cccccc", width=1.6) - nx.draw_networkx_nodes(G, pos, ax=ax, node_color=colores, - node_size=430, edgecolors="white", linewidths=1.5) - ax.set_title(titulo, fontsize=13, color="#0d0d0d") - ax.axis("off") - - -def fig_t4(destino): - n = 8 - adj = to_adj(nx.hypercube_graph(3)) - adjc = comp_adj(n, adj) - cg = clases_wl(n, adj) - cc = clases_wl(n, adjc) - G0 = nx.convert_node_labels_to_integers(nx.hypercube_graph(3)) - pos = nx.spring_layout(G0, seed=7) - fig, axes = plt.subplots(1, 2, figsize=(9, 4.6)) - _dibujar(n, adj, cg, pos, axes[0], "G = Q₃") - _dibujar(n, adjc, cc, pos, axes[1], "Ḡ (complemento)") - fig.suptitle("T4: la misma PARTICIÓN en G y Ḡ " - "(las etiquetas de color son arbitrarias)", - fontsize=12, color="#0d0d0d") - fig.tight_layout() - fig.savefig(destino, format="svg", facecolor="white") - plt.close(fig) - - -def fig_t4_evolucion(destino): - n = 15 - G = nx.convert_node_labels_to_integers(nx.balanced_tree(2, 3)) - adj = to_adj(G) - adjc = comp_adj(n, adj) - pos = {0: (0.0, 3.0)} - nivel = {1: [(-2.0, 2.0), (2.0, 2.0)], - 2: [(-3.0, 1.0), (-1.0, 1.0), (1.0, 1.0), (3.0, 1.0)], - 3: [(-3.5, 0.0), (-2.5, 0.0), (-1.5, 0.0), (-0.5, 0.0), - (0.5, 0.0), (1.5, 0.0), (2.5, 0.0), (3.5, 0.0)]} - nodos = sorted(G.nodes) - for li, xs in nivel.items(): - hijos = [v for v in nodos - if len(nx.shortest_path(G, 0, v)) - 1 == li] - for v, xy in zip(sorted(hijos), xs): - pos[v] = xy - fig, axes = plt.subplots(2, 4, figsize=(13, 6.2)) - for fila, (a, nombre) in enumerate(((adj, "G (árbol binario)"), - (adjc, "Ḡ (complemento)"))): - Ga = nx.Graph() - Ga.add_nodes_from(range(n)) - for u in range(n): - for v in range(u + 1, n): - if (a[u] >> v) & 1: - Ga.add_edge(u, v) - for k in range(4): - ax = axes[fila][k] - cl = clases_wl_ronda(n, a, k) - colores = [PALETA[c % len(PALETA)] for c in cl] - nx.draw_networkx_edges(Ga, pos, ax=ax, edge_color="#dddddd", - width=1.2) - nx.draw_networkx_nodes(Ga, pos, ax=ax, node_color=colores, - node_size=150, edgecolors="white", - linewidths=1.0) - ax.set_title(f"k = {k} · {len(set(cl))} clase(s)", fontsize=11) - ax.axis("off") - if k == 0: - ax.text(-4.2, 1.5, nombre, rotation=90, va="center", - ha="center", fontsize=11.5, color="#0d0d0d") - fig.suptitle("T4 ronda a ronda: la PARTICIÓN de clases coincide en G y " - "Ḡ en cada nivel (las etiquetas de color pueden diferir)", - fontsize=12) - fig.tight_layout() - fig.savefig(destino, format="svg", facecolor="white") - plt.close(fig) - - -if __name__ == "__main__": - fig_t4(OUT / "t4-particion.svg") - fig_t4_evolucion(OUT / "t4-evolucion.svg") - print("t4-particion.svg y t4-evolucion.svg regenerados") diff --git a/graphkind/tools/figuras_v1_motor.py b/graphkind/tools/figuras_v1_motor.py deleted file mode 100644 index bb08e125117e7c37e53fe742f8f196342c7d8b73..0000000000000000000000000000000000000000 --- a/graphkind/tools/figuras_v1_motor.py +++ /dev/null @@ -1,182 +0,0 @@ -#!/usr/bin/env python3 -"""Figuras del MOTOR GraphKind (datos reales). - - 1. motor-como-funciona.svg el pipeline WL con un grafo real: - k=0,1,2 (partición estable) + las cajas. - 2. motor-potencia.svg los números medidos del motor (dashboard). - -Uso: python tools/figuras_motor.py [destino] -""" - -import sys -from pathlib import Path - -import matplotlib -matplotlib.use("Agg") -import matplotlib.pyplot as plt # noqa: E402 -import networkx as nx # noqa: E402 -from matplotlib.patches import FancyArrowPatch, FancyBboxPatch # noqa: E402 - -ROOT = Path(__file__).resolve().parent.parent -sys.path.insert(0, str(ROOT)) -PALETA = ["#9a7b1f", "#26557a", "#a33", "#0b6b3a", "#6b3fa0", "#b06a1f"] -VERDE, GRIS = "#0b6b3a", "#6b6b6b" - - -def to_adj(g): - g = nx.convert_node_labels_to_integers(g) - n = g.number_of_nodes() - adj = [0] * n - for u, v in g.edges: - adj[u] |= 1 << v - adj[v] |= 1 << u - return adj - - -def clases_ronda(n, adj, k): - import hashlib - from collections import Counter - - def h(s): - return hashlib.sha256(s.encode()).hexdigest()[:12] - - colors = [h(f"g|{adj[v].bit_count()}") for v in range(n)] - for _ in range(k): - new = [] - for v in range(n): - cnt = Counter() - m = adj[v] - while m: - u = (m & -m).bit_length() - 1 - m &= m - 1 - cnt[colors[u]] += 1 - new.append(h(f"{colors[v]}|{tuple(sorted(cnt.items()))}")) - colors = new - rep = {} - for v in range(n): - rep.setdefault(colors[v], v) - idx = {rep[c]: i for i, c in enumerate(sorted(rep))} - return [idx[rep[colors[v]]] for v in range(n)] - - -def fig_como_funciona(destino): - G = nx.path_graph(7) - G.add_edge(3, 7) - n = 8 - adj = to_adj(G) - pos = nx.spring_layout(G, seed=11) - fig = plt.figure(figsize=(13.5, 6.8)) - # fila superior: el grafo en k=0,1,2 y la particion estable - for i, k in enumerate((0, 1, 2, 3)): - ax = fig.add_axes([0.03 + i * 0.24, 0.55, 0.21, 0.34]) - cl = clases_ronda(n, adj, k) - colores = [PALETA[c % len(PALETA)] for c in cl] - nx.draw_networkx_edges(G, pos, ax=ax, edge_color="#dddddd", - width=1.5) - nx.draw_networkx_nodes(G, pos, ax=ax, node_color=colores, - node_size=330, edgecolors="white", - linewidths=1.4) - ax.set_title(f"ronda k = {k} · {len(set(cl))} clase(s)", - fontsize=11.5) - ax.axis("off") - if k == 3: - ax.text(0.5, -0.08, "(estable: partición final)", - transform=ax.transAxes, ha="center", fontsize=10, - color=VERDE) - # fila inferior: las cajas del pipeline - ax2 = fig.add_axes([0.0, 0.0, 1.0, 0.5]) - ax2.axis("off") - cajas = [ - ("dato", "SMILES · código\nsecuencia · grafo"), - ("grafo", "nodos (tipo, valor)\naristas etiquetadas"), - ("label₀", "H(tipo | valor | grado)\ncanónico, determinístico"), - ("round", "H(label | vecinos)\nsubestructuras por hash"), - ("STOP", "partición estable\n(nunca un K a mano)"), - ("kinds", "clases emergentes\n+ compresión"), - ] - x = 0.035 - ancho, alto = 0.135, 0.62 - for i, (titulo, sub) in enumerate(cajas): - color = VERDE if titulo in ("STOP", "kinds") else "#0d0d0d" - ax2.add_patch(FancyBboxPatch((x, 0.18), ancho, alto, - boxstyle="round,pad=0.012", - linewidth=1.2, edgecolor="#d9d9d9", - facecolor="#f7f7f5")) - ax2.text(x + ancho / 2, 0.62, titulo, ha="center", va="center", - fontsize=13, color=color, family="monospace") - ax2.text(x + ancho / 2, 0.38, sub, ha="center", va="center", - fontsize=9, color=GRIS) - if i < len(cajas) - 1: - ax2.add_patch(FancyArrowPatch((x + ancho + 0.004, 0.49), - (x + ancho + 0.026, 0.49), - arrowstyle="-|>", - mutation_scale=14, - color="#c9c9c9")) - x += ancho + 0.03 - fig.suptitle("GraphKind: cómo funciona — refinamiento iterativo 1-WL " - "(ejemplo real, 8 nodos)", fontsize=13, y=0.97) - fig.savefig(destino, format="svg", facecolor="white") - plt.close(fig) - - -def fig_potencia(destino): - fig, axes = plt.subplots(1, 3, figsize=(13.5, 4.6)) - # 1) paridad con Morgan - ax = axes[0] - vals = [0.9608, 0.9541] - ax.bar(["GraphKind\n(WL r1+sym)", "Morgan\n(ECFP)"], vals, - color=[VERDE, GRIS], alpha=0.85, width=0.55) - for i, v in enumerate(vals): - ax.text(i, v - 0.012, f"{v:.4f}", ha="center", va="top", - color="white", fontsize=12) - ax.set_ylim(0.9, 0.98) - ax.set_title("Moléculas ChEMBL 40K: AUC\n(la ventaja crece con el dato)", - fontsize=11.5) - ax.spines[["top", "right"]].set_visible(False) - # 2) compresión - ax = axes[1] - ax.bar(["50K moléculas", "10K código"], [3.001, 187.5], - color=[VERDE, "#26557a"], alpha=0.85, width=0.55) - ax.text(0, 3.001 + 3, "3.00×", ha="center", fontsize=12) - ax.text(1, 187.5 + 3, "187.5×", ha="center", fontsize=12) - ax.set_ylim(0, 215) - ax.set_title("Compresión (nodos físicos / kinds)\nsin taxonomía previa", - fontsize=11.5) - ax.spines[["top", "right"]].set_visible(False) - # 3) capacidades del teorema + motor - ax = axes[2] - ax.axis("off") - ax.set_xlim(0, 1) - ax.set_ylim(0, 1) - filas = [ - ("refine_dual (T4 en el motor)", "10.3×"), - ("ahorro por normalización dual", "40.5%"), - ("oráculo de universos", "87/87"), - ("tests del motor", "104/104"), - ("grafos del banco T4", "2.13M"), - ] - for i, (k_, v) in enumerate(filas): - y = 0.86 - i * 0.16 - ax.text(0.02, y, k_, fontsize=11, color="#0d0d0d", va="center") - ax.text(0.98, y, v, fontsize=13, color=VERDE, va="center", - ha="right", family="monospace") - ax.plot([0.02, 0.98], [y - 0.06, y - 0.06], color="#ececec", - linewidth=1) - ax.set_title("Capacidad medida (todo con assert)", fontsize=11.5) - fig.suptitle("GraphKind: la potencia del motor, en números reales", - fontsize=13, y=1.0) - fig.tight_layout() - fig.savefig(destino, format="svg", facecolor="white") - plt.close(fig) - - -def main(): - destino = Path(sys.argv[1]) if len(sys.argv) > 1 else Path(__file__).resolve().parent.parent / "assets" - fig_como_funciona(destino / "motor-como-funciona.svg") - print("motor-como-funciona.svg OK") - fig_potencia(destino / "motor-potencia.svg") - print("motor-potencia.svg OK") - - -if __name__ == "__main__": - main() diff --git a/graphkind/tools/figuras_v2.py b/graphkind/tools/figuras_v2.py deleted file mode 100644 index 1ffddc579acc3475577ebd452e14ef875541ff44..0000000000000000000000000000000000000000 --- a/graphkind/tools/figuras_v2.py +++ /dev/null @@ -1,195 +0,0 @@ -#!/usr/bin/env python3 -"""Figuras v2 — arco de universos + Santo Grial (SVG, fieles a la teoría). - -Genera assets/*.svg desde los números de los freezes. Estilo del repo: -Georgia (títulos), sans (texto), mono (ecuaciones); paleta del proyecto. -""" -from pathlib import Path - -OUT = Path(__file__).resolve().parent.parent / "assets" -BG = "#ffffff"; BORDE = "#e6e6e6"; TXT = "#0d0d0d"; MUT = "#6b6b6b" -VERDE = "#0b6b3a"; ROJO = "#a33"; AZUL = "#26557a"; ORO = "#9a7b1f" - -def _head(w, h, titulo): - return (f'\n' - f' \n' - f' \n' - f' {titulo}\n') - -def _mono(x, y, s, fill=VERDE, size=15, anchor="start"): - return (f' {s}\n') - -def _sans(x, y, s, fill=MUT, size=13, anchor="start"): - return (f' {s}\n') - -def _fin(w, h): - return "\n" - -# 1. La ley multicapa -def fig_multicapa(): - s = _head(760, 460, "Multilayer T4 — the coherence law") - s += _mono(36, 84, "ct+1(v) = H( c_t(v) | ⊔ℓ { c_t(w) : w ∈ N_ℓ(v) } )", TXT, 16) - s += _sans(36, 108, "joint refinement — canonical: multiset over channels · ordered: tuple") - # paneles - x0, y0, w, h = 36, 140, 224, 150 - paneles = [ - ("TOTAL complement", f"E_ℓ → E_ℓ^c ∀ℓ", "T4 lives", "1298/1298 (L=2)", "1404/1404 (L=3)", VERDE), - ("PER-LAYER complement", "E_ℓ → E_ℓ^c (one ℓ)", "T4 dies (canonical)", "90/1298 = 6.9%", "104/1404 = 7.4%", ROJO), - ("CHANNEL permutation", "π ∈ S_L", "T4 lives", "partition blind", "to channel order", VERDE), - ] - for i, (tit, eq, ver, n1, n2, col) in enumerate(paneles): - x = x0 + i * (w + 18) - s += (f' \n') - s += _sans(x + 14, y0 + 26, tit, TXT, 14) - s += _mono(x + 14, y0 + 50, eq, MUT, 12) - s += _sans(x + 14, y0 + 82, ver, col, 16) - s += _mono(x + 14, y0 + 108, n1, col, 13) - s += _mono(x + 14, y0 + 128, n2, col, 13) - # ley - s += _mono(36, 342, "T4(ι) lives ⟺ ι acts uniformly on the channels", VERDE, 17) - s += _sans(36, 372, "canonical preserving group: exactly U = {∅, all} × S_L → 4/4 (L=2), 12/12 (L=3), group closure ✓", MUT, 13) - s += _sans(36, 396, "ordered variant: the whole group preserves — the group is relative to the observation", MUT, 13) - s += _mono(36, 428, "(⇐) proved: the same bijection M_ℓ ↦ T_ℓ − M_ℓ per layer · (⇒) open", MUT, 13) - return s + _fin(760, 460) - -# 2. Escalera k* -def fig_escalera(): - s = _head(760, 380, "The k*(L) ladder is flat") - s += _mono(36, 84, "k*(L) = min{ k : #classes(F_k) = #classes(iso) }", TXT, 15) - # ejes - s += f' \n' - s += f' \n' - for i, L in enumerate((1, 2, 3, 4, 5)): - x = 130 + i * 135 - s += _sans(x, 312, f"L = {L}", MUT, 14, "middle") - s += f' \n' - s += _mono(x, 250, "1", VERDE, 14, "middle") - s += f' \n' - s += _mono(100, 224, "k* = 2", ROJO, 13) - s += _sans(100, 132, "corpora: representatives n≤4 (123 / 1 349 / 14 751 / 161 621 classes)", MUT, 12) - s += _sans(100, 150, "full labelings n≤3 (20 / 120 / 816 / 5 984) — both flat", MUT, 12) - s += _mono(36, 352, "correction (EXP-164): EXP-162's k*=2 was the degenerate k=1 (initial colors, no refinement)", ROJO, 12) - return s + _fin(760, 380) - -# 3. Matriz universo x observador -def fig_matriz(): - s = _head(860, 420, "Universe × observer — where the frontier lives") - filas = [("standard", "3900", "3900", "0", "0", "0", "0", "0"), - ("typed (n≤6)", "12", "12", "0", "—", "—", "0", "—"), - ("multilayer", "k*=1", "—", "—", "—", "—", "—", "—"), - ("directed", "T4 ✓", "N/A", "N/A", "N/A", "N/A", "N/A", "N/A"), - ("Z₃", "T4 ✗", "N/A", "N/A", "N/A", "N/A", "N/A", "N/A"), - ("R1", "T4 ✗", "N/A", "N/A", "N/A", "N/A", "N/A", "N/A")] - cols = ("WL", "KW2", "KW3", "KF2", "KF3", "IR1p", "IR2p") - x0, y0, cw, ch = 190, 110, 88, 38 - for j, c in enumerate(cols): - s += _mono(x0 + j * cw + cw // 2, y0 - 12, c, MUT, 12, "middle") - for i, fila in enumerate(filas): - y = y0 + i * ch - s += _sans(36, y + 24, fila[0], TXT, 13) - for j, v in enumerate(fila[1:]): - col = ROJO if v in ("3900", "12") else (VERDE if v == "0" or v == "T4 ✓" else MUT) - if v == "N/A": - col = "#b9b9b9" - s += f' \n' - s += _mono(x0 + j * cw + (cw - 6) // 2, y + 24, v, col, 12, "middle") - s += _sans(36, 372, "frontier (collisions / n_min): moves with the OBSERVER (WL/KW2 n_min=6; KW3/IR1p ≥7)", VERDE, 13) - s += _sans(36, 394, "does NOT move with typing (typed row = standard row in n_min) · N/A = machinery not in the engine (declared)", MUT, 13) - return s + _fin(860, 420) - -# 4. Hipergrafos + aridades -def fig_hipergrafos(): - s = _head(820, 470, "Hypergraphs: the map predicts, and the arity transplant fails") - s += _mono(36, 84, "E ⊆ C(V,k) · E^c = C(V,k) ∖ E · M'(v) = T_v − M(v) (injective) ⟹ T4 lives", TXT, 14) - s += _sans(36, 108, "prediction registered before measuring (3-uniform hypergraphs)") - # prediccion - s += f' \n' - s += _sans(52, 158, "PREDICTED", MUT, 13) - s += _mono(52, 186, "T4 lives", VERDE, 20) - s += _sans(52, 214, "MEASURED", MUT, 13) - s += _mono(52, 240, "1831/1831 (n≤5 + sample n=6)", VERDE, 14) - # escalera aridad - s += f' \n' - s += _sans(436, 158, "ARITY LADDER — T4 lives", TXT, 13) - for i, (k, v) in enumerate((("k=3", "34/34"), ("k=4", "156/156"), ("k=5", "7/7"))): - x = 452 + i * 110 - s += _mono(x, 190, k, MUT, 13) - s += _mono(x, 214, v, VERDE, 13) - s += f' \n' - # transplante - s += _sans(36, 292, "MIXED ARITIES {2,3}: the channel-law transplant FAILS", ROJO, 14) - s += _mono(36, 320, "total complement: T4 lives 100%", VERDE, 14) - s += _mono(36, 346, "per-arity complement: ALSO lives 1038/1038 (both variants)", ROJO, 14) - s += _sans(36, 378, "mechanism: per-arity messages have different types (single colors vs pairs) —", MUT, 13) - s += _sans(36, 398, "the refinement repairs the round-0 degree-multiset fusion (261 000 cases, 0 witnesses)", MUT, 13) - s += _mono(36, 436, "the law is of CHANNELS, not of every decomposition", TXT, 14) - return s + _fin(820, 470) - -# 5. Dual por aridad -def fig_dual(): - s = _head(760, 380, "Per-arity dual: the law becomes capability") - s += _mono(36, 84, "choose per arity: E_a or E_a^c (the smaller) ⟹ partition preserved", TXT, 14) - base = 140; esc = 460 / 1749801 - barras = [("original", 1749801, ROJO, "100%"), - ("total dual", 1570281, ORO, "saving 10.26%"), - ("per-arity dual", 1498382, VERDE, "saving 14.37%")] - for i, (nom, v, col, lab) in enumerate(barras): - y = base + i * 64 - w = v * esc - s += f' \n' - s += _sans(36, y + 19, nom, TXT, 14) - s += _mono(210 + w, y + 19, f"{v:,}".replace(",", " "), col, 13) - s += _sans(36, y + 42, lab, MUT, 12) - s += _mono(36, 348, "validation: 60 000 cases · partition 100% · extra saving vs total: +4.11%", VERDE, 13) - return s + _fin(760, 380) - -# 6. Santo Grial -def fig_santo_grial(): - s = _head(820, 430, "The Holy Grail: completeness, its price, and i*") - s += _mono(36, 84, "F3 = {1-WL, 2-WL, 3-WL} · C_n(I) = collisions / pairs", TXT, 14) - s += f' \n' - s += _sans(52, 138, "COMPLETENESS (n≤8)", MUT, 13) - s += _mono(52, 168, "C_8 = 0", VERDE, 22) - s += _mono(52, 194, "76 205 685 pairs", TXT, 13) - s += _sans(52, 222, "leave-one-out: 3-WL", MUT, 12) - s += _sans(52, 240, "does the work (350 without it)", MUT, 12) - s += f' \n' - s += _sans(306, 138, "T4's PRICE", MUT, 13) - s += _mono(306, 168, "6 168 pairs", ROJO, 22) - s += _sans(306, 194, "the quotient G ~ Ḡ merges them", MUT, 12) - s += _sans(306, 216, "10 self-complementary (n≤8)", MUT, 12) - s += _sans(306, 238, "v2 n≤5 analogue: 24 pairs", MUT, 12) - s += f' \n' - s += _sans(560, 138, "INDIVIDUALIZATION", MUT, 13) - s += _mono(560, 168, "i* = 1", VERDE, 22) - s += _sans(560, 194, "13 597 graphs (n≤8)", MUT, 12) - s += _mono(560, 222, "i* = 2 at Rook/Shri", TXT, 13) - s += _sans(560, 244, "IR_1 ✗ IR_2 ✓", MUT, 12) - s += _sans(36, 300, "the complete invariant is NOT complement-invariant — that is exactly the information T4 describes", TXT, 14) - s += _mono(36, 336, "i*(G) = min{ k : the pointed signature of G is unique in its class }", MUT, 13) - s += _sans(36, 368, "lattice (n≤9): all complete invariants collapse (vacuous equivalence); WL = 2-WL;", MUT, 13) - s += _sans(36, 388, "anchors: IR_1 fails where 3-WL fails, IR_2 separates where 3-FWL/4-WL separates (C not observed)", MUT, 13) - return s + _fin(820, 430) - -def main(): - OUT.mkdir(exist_ok=True) - figs = {"multicapa-ley.svg": fig_multicapa(), - "escalera-kstar.svg": fig_escalera(), - "matriz-universo-observador.svg": fig_matriz(), - "hipergrafos-aridades.svg": fig_hipergrafos(), - "dual-aridad.svg": fig_dual(), - "santo-grial.svg": fig_santo_grial()} - import xml.dom.minidom as md - for nombre, contenido in figs.items(): - md.parseString(contenido) - (OUT / nombre).write_text(contenido) - print(f"{nombre}: {len(contenido)} bytes OK") - -if __name__ == "__main__": - main() diff --git a/graphkind/tools/figuras_v2_datos.py b/graphkind/tools/figuras_v2_datos.py deleted file mode 100644 index d66cc4d0c132ecb1b7d86a045938c576a37e8e38..0000000000000000000000000000000000000000 --- a/graphkind/tools/figuras_v2_datos.py +++ /dev/null @@ -1,244 +0,0 @@ -#!/usr/bin/env python3 -"""Figuras v2 de DATOS (matplotlib + mathtext), ancladas a los freezes. - -Genera en assets/: - 1. frontera-Cn.svg curvas C_n(I) por observador (SG-01/03, EXP-119) - 2. trayectoria-refinamiento.svg rondas vs clases: G vs Ḡ (T4) y multicapa (EXP-162) - 3. aridades.svg escalera de aridad + transplante (EXP-167/168/169) - -Regla: los números salen de resultados/*.json (asserts); nada tipeado. -""" -import json -from pathlib import Path - -import matplotlib -matplotlib.use("Agg") -import matplotlib.pyplot as plt # noqa: E402 -from matplotlib.patches import FancyArrowPatch # noqa: E402 - -ROOT = Path(__file__).resolve().parent.parent -RES = ROOT / "resultados" -OUT = ROOT / "assets" - -plt.rcParams.update({ - "svg.fonttype": "path", - "mathtext.fontset": "cm", - "font.family": "DejaVu Sans", - "axes.edgecolor": "#6b6b6b", - "axes.labelcolor": "#0d0d0d", - "xtick.color": "#6b6b6b", - "ytick.color": "#6b6b6b", - "text.color": "#0d0d0d", - "figure.facecolor": "white", - "axes.facecolor": "white", - "axes.grid": True, - "grid.color": "#ececec", - "grid.linewidth": 0.8, -}) -# Okabe-Ito (colorblind-safe) -AZUL, NARANJA, VERDE, ROJO = "#0072B2", "#E69F00", "#009E73", "#D55E00" -VIOLETA, CIELO, GRIS = "#CC79A7", "#56B4E9", "#6b6b6b" - - -def _cargar(nombre): - return json.loads((RES / nombre).read_text()) - - -# ---------------------------------------------------------------- 1. frontera -def fig_frontera(): - sg3 = _cargar("SG-03_results_frozen.json")["test"] - sg1 = _cargar("SG-01_results_frozen.json") - e119 = _cargar("EXP-119_results_frozen.json") - sg4 = _cargar("SG-04_results_frozen.json") - c1 = sg4["capa1_n10"] - assert c1["grafos"] == 12005168 and c1["KW3"]["pares"] == 0 \ - and c1["IR1p"]["pares"] == 0, c1 - wl_n = {int(n): v for n, v in sg3["fallas_por_n"]["WL"].items()} - assert wl_n == {9: 3900}, wl_n - assert sg3["n_min"]["WL"] == 6 and sg3["n_min"]["KW3"] is None - assert e119["cascada"] == {"k1": 26, "k2": 0, "k3": 0} - assert sg1["leave_one_out"]["C3"]["colisiones_sin"] == 350 - assert sg1["cociente_complemento"]["colisiones_cociente"] == 6168 - - fig, ax = plt.subplots(figsize=(7.6, 4.4), dpi=110) - ns = [6, 7, 8, 9] - col = [4, 22, 350, 3900] - ax.plot(ns, col, "-o", color=ROJO, lw=2.2, ms=7, - label=r"WL $=$ KW2 (the base observer)") - ns0 = [6, 7, 8, 9, 10] - ax.plot(ns0, [0.45] * len(ns0), "s", color=VERDE, ms=8, - label=r"KW3, KF2, KF3, IR$_1$, IR$_2$: 0 collisions") - ax.annotate("$n=10$ exhaustive: 0 / 12 005 168 (SG-04)", - xy=(7.35, 0.78), fontsize=8.5, color=VERDE) - ax.axhspan(0.30, 0.65, color=VERDE, alpha=0.08) - ax.set_yscale("log") - ax.set_ylim(0.25, 3e4) - ax.set_xticks(ns0) - ax.set_xlim(5.7, 10.35) - ax.set_xlabel(r"$n$") - ax.set_ylabel(r"collisions $C_n$ (log)") - ax.set_title(r"Frontier curves $C_n(I)$: what each observer loses", - fontsize=12) - ax.legend(loc="upper left", frameon=False, fontsize=9) - ax.annotate(r"leave-one-out: $F_3\setminus\{3\text{-WL}\}\Rightarrow 350$", - xy=(8, 350), xytext=(6.35, 200), fontsize=9, color=GRIS, - arrowprops=dict(arrowstyle="->", color=GRIS, lw=1)) - ax.annotate(r"C6 vs 2$\cdot$C3: WL fails at $n=6$", xy=(6, 4), - xytext=(6.3, 9), fontsize=9, color=GRIS, - arrowprops=dict(arrowstyle="->", color=GRIS, lw=1)) - fig.text(0.012, 0.055, "Rook vs Shrikhande ($n=16$): 3-WL fails, " - "3-FWL $\\equiv$ 4-WL separates", fontsize=8.5, color=GRIS) - fig.text(0.012, 0.012, "cascade 26 $\\to$ 0 (atlas $n\\leq7$): 2-WL " - "resolves all · $k^*=1$ with the corrected joint-refinement " - "base (D-012)", fontsize=8.5, color=AZUL) - fig.tight_layout(rect=[0, 0.075, 1, 1]) - fig.savefig(OUT / "frontera-Cn.svg", bbox_inches="tight") - plt.close(fig) - print("frontera-Cn.svg OK") - - -# ------------------------------------------------------------ 2. trayectoria -def fig_trayectoria(): - import hashlib - import networkx as nx - - def serie(n, capas): - """Clases por ronda del refinamiento conjunto canónico.""" - def h(s): - return hashlib.sha256(s.encode()).hexdigest()[:12] - - adj = [{v: set() for v in range(n)} for _ in capas] - for l, E in enumerate(capas): - for a, b in E: - adj[l][a].add(b) - adj[l][b].add(a) - L = len(capas) - colors = {v: h(",".join(sorted(str(len(adj[l][v])) - for l in range(L)))) - for v in range(n)} - out = [len(set(colors.values()))] - for _ in range(n + 2): - nuevos = {} - for v in range(n): - por = [tuple(sorted(colors[u] for u in adj[l][v])) - for l in range(L)] - datos = ";".join(",".join(x) for x in sorted(por)) - nuevos[v] = h(f"{colors[v]}|{datos}") - colors = nuevos - out.append(len(set(colors.values()))) - if out[-1] == out[-2]: - break - return out - - def edges(g): - g = nx.convert_node_labels_to_integers(g) - return sorted(tuple(sorted(e)) for e in g.edges) - - tree = nx.balanced_tree(2, 3) - T = edges(tree) - C = edges(nx.complement(tree)) - s_g, s_gb = serie(15, [T]), serie(15, [C]) - assert s_g == s_gb == [3, 4, 4], (s_g, s_gb) - # testigo multicapa (EXP-162): (E1, P3) y su complemento por capa - E1, P3 = [(0, 2)], [(0, 2), (1, 2)] - PC = [(0, 1), (1, 2)] - s_a, s_b = serie(3, [E1, P3]), serie(3, [PC, P3]) - assert s_a == [3, 3] and s_b == [2, 2], (s_a, s_b) - - fig, axes = plt.subplots(1, 2, figsize=(8.6, 4.0), dpi=110) - ax = axes[0] - ax.plot(range(len(s_g)), s_g, "-o", color=AZUL, lw=2.4, ms=8, - label=r"$G$ (binary tree)") - ax.plot(range(len(s_gb)), s_gb, "--s", color=NARANJA, lw=2.4, ms=7, - label=r"$\bar{G}$ (complement)") - ax.set_title(r"Single-layer: $G$ and $\bar{G}$", fontsize=11) - ax.set_xlabel("refinement round $t$") - ax.set_ylabel("number of classes") - ax.set_xticks(range(len(s_g))) - ax.set_ylim(0.5, 5.2) - ax.legend(frameon=False, fontsize=9, loc="lower right") - ax.annotate(r"identical partition every round $\Rightarrow$ T4", - xy=(2, 4), xytext=(0.15, 4.55), fontsize=9, color=VERDE) - ax = axes[1] - ax.plot(range(len(s_a)), s_a, "-o", color=VERDE, lw=2.4, ms=8, - label=r"multilayer $(E_1,P_3)$") - ax.plot(range(len(s_b)), s_b, "--s", color=ROJO, lw=2.4, ms=7, - label="per-layer complement") - ax.set_title("Multilayer (canonical): coherence", fontsize=11) - ax.set_xlabel("refinement round $t$") - ax.set_ylabel("number of classes") - ax.set_xticks(range(len(s_a))) - ax.set_ylim(0.5, 3.8) - ax.legend(frameon=False, fontsize=9, loc="center right") - ax.annotate("broken at round 0: 3 $\\to$ 2\n(one layer flipped)", - xy=(1, 2), xytext=(0.12, 2.6), fontsize=9, color=ROJO) - fig.tight_layout() - fig.savefig(OUT / "trayectoria-refinamiento.svg", bbox_inches="tight") - plt.close(fig) - print("trayectoria-refinamiento.svg OK") - - -# --------------------------------------------------------------- 3. aridades -def fig_aridades(): - e167 = _cargar("EXP-167_results_frozen.json")["resultados"] - e168 = _cargar("EXP-168_results_frozen.json") - e169 = _cargar("EXP-169_results_frozen.json") - esc = e167["uniforme"] - assert (esc["k4_n6"]["t4_vive"], esc["k4_n6"]["objetos"]) == (156, 156) - assert (esc["k5_n6"]["t4_vive"], esc["k5_n6"]["objetos"]) == (7, 7) - mz = e167["mezclado"]["n5"] - assert mz["total|canonica"]["vive"] == mz["total|canonica"]["objetos"] - assert mz["aridad2|canonica"]["vive"] == mz["aridad2|canonica"]["objetos"] - ag = e168["agregados"] - fusions = sum(v["fusion"] for k, v in ag.items() if k.startswith("dirigida")) - fallas = sum(v["fallas_t4c"] for v in ag.values()) - assert fusions == 21821 and fallas == 0, (fusions, fallas) - v169 = e169["validacion"] - assert v169["particion_igual"] == v169["casos"] - - fig, axes = plt.subplots(1, 2, figsize=(8.4, 3.9), dpi=110) - ax = axes[0] - ks = ["$k=3$", "$k=4$", "$k=5$"] - vals = [esc["k3_n5"]["objetos"], esc["k4_n6"]["objetos"], - esc["k5_n6"]["objetos"]] - bars = ax.bar(ks, vals, color=[CIELO, AZUL, VERDE], width=0.55) - for b, v in zip(bars, vals): - ax.text(b.get_x() + b.get_width() / 2, v + 3, f"{v}/{v}", - ha="center", fontsize=10, color="#0d0d0d") - ax.set_ylabel("non-isomorphic classes") - ax.set_title(r"Arity ladder: T4 lives ($E^c=C(V,k)\setminus E$)", - fontsize=11) - ax.set_ylim(0, max(vals) * 1.25) - ax = axes[1] - labels = ["total\n(canonical)", "per-arity\n(canonical)", - "per-arity\n(ordered)"] - vals2 = [mz["total|canonica"]["vive"], mz["aridad2|canonica"]["vive"], - mz["aridad2|ordenada"]["vive"]] - tot = mz["total|canonica"]["objetos"] - bars = ax.bar(labels, [v / tot * 100 for v in vals2], - color=[VERDE, ROJO, NARANJA], width=0.55) - for b, v in zip(bars, vals2): - ax.text(b.get_x() + b.get_width() / 2, 102, f"{v}/{tot}", - ha="center", fontsize=10, color="#0d0d0d") - ax.set_ylabel("% T4 alive") - ax.set_ylim(0, 118) - ax.set_title("Mixed arities {2,3}: the transplant fails", fontsize=11) - fig.suptitle("Arities: the ladder lives, the transplant fails", - fontsize=12) - fig.text(0.012, 0.012, - f"$M'(v)=T_v-M(v)$ (injective) $\\Rightarrow$ T4 lives · " - f"repair: {fusions:,} fusions, {fallas} witnesses " - f"(261 000 cases) · per-arity dual: " - f"{v169['ahorro_aridad_%']:.2f}% saving".replace(",", " "), - fontsize=8.5, color=GRIS) - fig.tight_layout(rect=[0, 0.04, 1, 0.95]) - fig.savefig(OUT / "aridades.svg", bbox_inches="tight") - plt.close(fig) - print("aridades.svg OK") - - -if __name__ == "__main__": - OUT.mkdir(exist_ok=True) - fig_frontera() - fig_trayectoria() - fig_aridades() diff --git a/graphkind/tools/zenodo_submit.py b/graphkind/tools/zenodo_submit.py deleted file mode 100644 index 54452d6b271e37ff3af8fe7efe311f11b3856097..0000000000000000000000000000000000000000 --- a/graphkind/tools/zenodo_submit.py +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/env python3 -"""Subida a Zenodo por API REST — sin dependencias (usa curl). - -Uso: - python tools/zenodo_submit.py status - python tools/zenodo_submit.py create --title "..." [--out dep.json] - python tools/zenodo_submit.py upload archivo.zip - python tools/zenodo_submit.py metadata metadata.json - python tools/zenodo_submit.py publish - -Token: `ZENODO_TOKEN` en el entorno, o `--token-file` (default -~/.config/zenodo/token). NUNCA commitear el token. -""" -import argparse -import json -import os -import subprocess -import sys -import time -from pathlib import Path - -API = "https://zenodo.org/api" - - -def get_token(args): - if args.token_file: - return Path(args.token_file).read_text().strip() - t = os.environ.get("ZENODO_TOKEN") - if t: - return t - p = Path.home() / ".config" / "zenodo" / "token" - if p.exists(): - return p.read_text().strip() - sys.exit("falta ZENODO_TOKEN (env o --token-file)") - - -def curl_json(token, method, url, body=None, retries=4): - cmd = ["curl", "-s", "--max-time", "300", "-X", method, - "-H", f"Authorization: Bearer {token}"] - if body is not None: - cmd += ["-H", "Content-Type: application/json", - "--data-binary", json.dumps(body)] - cmd.append(url) - last = "" - for _ in range(retries): - r = subprocess.run(cmd, capture_output=True, text=True) - out = r.stdout.strip() - if out[:1] in ("{", "["): - return json.loads(out) - last = out[:200] - time.sleep(4) - sys.exit(f"fallo tras {retries} intentos: {last}") - - -def subir_archivo(token, dep_id, ruta, retries=4): - url = f"{API}/deposit/depositions/{dep_id}/files" - cmd = ["curl", "-s", "--max-time", "600", "-X", "POST", - "-H", f"Authorization: Bearer {token}", - "-F", f"name={Path(ruta).name}", "-F", f"file=@{ruta}", url] - last = "" - for _ in range(retries): - r = subprocess.run(cmd, capture_output=True, text=True) - out = r.stdout.strip() - if out[:1] == "{": - d = json.loads(out) - if d.get("filename"): - return d - last = out[:200] - time.sleep(5) - sys.exit(f"fallo la subida tras {retries} intentos: {last}") - - -def main(): - ap = argparse.ArgumentParser() - ap.add_argument("cmd", choices=["status", "create", "upload", "metadata", - "publish"]) - ap.add_argument("id", nargs="?") - ap.add_argument("extra", nargs="?") - ap.add_argument("--title") - ap.add_argument("--out", default="dep.json") - ap.add_argument("--token-file") - args = ap.parse_args() - tok = get_token(args) - - if args.cmd == "status": - d = curl_json(tok, "GET", f"{API}/deposit/depositions/{args.id}") - print(json.dumps({"id": d.get("id"), "state": d.get("state"), - "title": d.get("title"), - "doi": (d.get("metadata", {}) - .get("prereserve_doi", {}).get("doi") - or d.get("doi")), - "files": [(f.get("filename"), f.get("filesize")) - for f in d.get("files", [])]}, - indent=1, ensure_ascii=False)) - elif args.cmd == "create": - d = curl_json(tok, "POST", f"{API}/deposit/depositions", - {"metadata": {"title": args.title, - "prereserve_doi": True}}) - Path(args.out).write_text(json.dumps(d, indent=1)) - print(f"id={d['id']} DOI reservado=" - f"{d['metadata']['prereserve_doi']['doi']}") - elif args.cmd == "upload": - d = subir_archivo(tok, args.id, args.extra) - print(f"subido: {d['filename']} {int(d['filesize'])} bytes " - f"checksum {d['checksum']}") - elif args.cmd == "metadata": - d = curl_json(tok, "PUT", f"{API}/deposit/depositions/{args.id}", - json.loads(Path(args.extra).read_text())) - print(f"metadata OK: {d['metadata']['title']}") - elif args.cmd == "publish": - d = curl_json(tok, "POST", - f"{API}/deposit/depositions/{args.id}/actions/publish") - print(f"PUBLICADO: {d.get('doi')} | {d.get('links',{}).get('html')}") - - -if __name__ == "__main__": - main() diff --git a/graphkind/verificaciones_full.log b/graphkind/verificaciones_full.log deleted file mode 100644 index 05ea27fba741c2e0bfdb09750bba2791f1a4dad3..0000000000000000000000000000000000000000 --- a/graphkind/verificaciones_full.log +++ /dev/null @@ -1,17 +0,0 @@ -== VERIFICACIONES DEL PAPER (GraphKind: universos) == -/home/juri/graphlang-natural/.venv/lib/python3.12/site-packages/networkx/algorithms/graph_hashing.py:211: UserWarning: The hashes produced for graphs without node or edge attributes changed in v3.5 due to a bugfix (see documentation). - node_labels = _init_node_labels(G, edge_attr, node_attr) -V1 ley f(1)!=f(2) (n<=6): 34/34 OK -V2 caracterización n=4: viven 96 (f=id) y 48 (const1) de 528: OK (96=24*4, 48=24*2) -V3 T4_k (k-FWL ≡ (k+1)-WL): 153/153 (51 grafos x k=1,2,3): complemento-invariante OK -V4 cascada n<=7: k=1 -> 26 pares, k=2 -> 0: OK -V5 Rook vs Shrikhande (k-FWL): k=1 no, k=2 no, k=3 SI: OK (el 3-WL estandar NO los separa) -V6 Z3 determinista (T4-período): lin_2_1: 6.7% | maj: 52.4% | prod1: 10.6% | sum: 11.5% | sum_closed: 15.9% | xor3: 16.6% -> NO vive: OK -V7 R1 aleatorio (n<=5, 1096 grafos x 100 perms): T4-distribución 204/1096 (18.6%) NO vive: OK -V8 R3: inducidas 96/528 (18.2%); uniforme ~0% (EXP-113: 0/5000): OK -V9 búsqueda autónoma: el ciclo falla en 99.63% de las 6424 iotas no-uniformes (99.63%): OK -V10 hash: partición 12-hex == 64-hex en 74 grafos x 17 f: OK (sin colisiones) -V11 convergencia: partición estable == n+2 rondas en 1098 grafos x 17 f: OK -V12 clasificación universal (n=4, constancia por grafo): {('comp', 'id'): 'dual', ('comp', 'const1'): 'dual', ('comp', 'mod2'): 'dual', ('comp_parcial', 'id'): 'local', ('comp_parcial', 'const1'): 'local', ('comp_parcial', 'mod2'): 'local'}: OK - -TODAS LAS VERIFICACIONES OK diff --git a/graphlang_biograph.py b/graphlang_biograph.py deleted file mode 100644 index bfddb83bfd5124ed4b75a5bdda8037a46156433f..0000000000000000000000000000000000000000 --- a/graphlang_biograph.py +++ /dev/null @@ -1,172 +0,0 @@ -""" -GRAPHLANG BIOGRAPH — Apply real pipeline to drug design. -SKIP→UNWRAP→LEAF→STRUCTURAL on ChEMBL bioactivity data. -Discover the irreducible structure of drug-target interactions. -""" -import gzip, re, math, json, numpy as np -from collections import Counter, defaultdict - -# ═══════════════════════════════════════════ -# 1. LOAD CHEMBL DATA -# ═══════════════════════════════════════════ - -print('═' * 65) -print(' GRAPHLANG BIOGRAPH — SKIP→UNWRAP→LEAF→STRUCTURAL') -print('═' * 65) - -# Load ChEMBL FASTA data (bioactive peptides) -bioactive = [] -for path in ['/home/app/graphbio-privada/chembl_37_bio.fa.gz', - '/home/app/graphbio-privada/chembl_37.fa.gz']: - try: - with gzip.open(path, 'rt', errors='ignore') as f: - for line in f: - if line.startswith('>'): - # Format: > CHEMBL4650519 [29481] Light chain (None) - parts = line[1:].strip().split() - chembl_id = parts[0] if parts else '' - chain_info = line[line.find('(')+1:line.find(')')] if '(' in line else '' - bioactive.append({ - 'id': chembl_id, - 'target': chain_info, - 'activity': line.strip(), - }) - except: pass - -print(f'Bioactive entries: {len(bioactive):,}') - -# ═══════════════════════════════════════════ -# 2. SKIP — Filter noise -# ═══════════════════════════════════════════ - -SKIP_TARGETS = {'', 'unknown', 'unspecified', 'n/a'} -SKIP_ACTIVITIES = {'', 'inactive', 'not determined', 'n/a'} - -filtered = [b for b in bioactive - if b['target'] not in SKIP_TARGETS - and b['activity'] not in SKIP_ACTIVITIES] -print(f'After SKIP: {len(filtered):,}') - -# ═══════════════════════════════════════════ -# 3. UNWRAP — Flatten to leaf nodes -# ═══════════════════════════════════════════ - -class BioGraphUnwrapper: - def unwrap(self, entry): - return { - 'target_type': entry['target'].split('-')[0] if '-' in entry['target'] else entry['target'][:20], - 'activity_class': entry['activity'].split('=')[0] if '=' in entry['activity'] else entry['activity'][:30], - 'has_numeric': bool(re.search(r'[\d.]+', entry['activity'])), - } - -unwrapper = BioGraphUnwrapper() -leaves = [unwrapper.unwrap(b) for b in filtered[:5000]] -print(f'Leaves: {len(leaves):,}') - -# ═══════════════════════════════════════════ -# 4. LEAF — Map to universal BioGraph IR kinds -# ═══════════════════════════════════════════ - -BIO_IR_KINDS = { - # Enzyme targets - 'kinase': 'enzyme_modulator', - 'phosphatase': 'enzyme_modulator', - 'protease': 'enzyme_modulator', - 'hydrolase': 'enzyme_modulator', - 'transferase': 'enzyme_modulator', - 'oxidoreductase': 'enzyme_modulator', - # Receptor targets - 'receptor': 'receptor_modulator', - 'gpcr': 'receptor_modulator', - 'channel': 'ion_channel_modulator', - 'transporter': 'transporter_modulator', - # Activity classes - 'IC50': 'binding_affinity', - 'Ki': 'binding_affinity', - 'Kd': 'binding_affinity', - 'EC50': 'functional_activity', - 'inhibition': 'functional_activity', - 'activation': 'functional_activity', -} - -class BioLeafMapper: - def map(self, leaf): - kind = 'generic' - for key, ir in BIO_IR_KINDS.items(): - if key.lower() in leaf['target_type'].lower(): - kind = ir - break - # Also check activity - activity_kind = 'generic' - for key, ir in BIO_IR_KINDS.items(): - if key.lower() in leaf['activity_class'].lower(): - activity_kind = ir - break - - return { - 'target_kind': kind, - 'activity_kind': activity_kind, - 'numeric': leaf['has_numeric'], - } - -mapper = BioLeafMapper() -mapped = [mapper.map(l) for l in leaves] - -# ═══════════════════════════════════════════ -# 5. STRUCTURAL — Discover N irreducible components -# ═══════════════════════════════════════════ - -target_counts = Counter(m['target_kind'] for m in mapped) -activity_counts = Counter(m['activity_kind'] for m in mapped) -numeric_count = sum(1 for m in mapped if m['numeric']) - -n_target_kinds = len([k for k, v in target_counts.items() if v >= 3 and k != 'generic']) -n_activity_kinds = len([k for k, v in activity_counts.items() if v >= 3 and k != 'generic']) -n_cross = len(set((m['target_kind'], m['activity_kind']) for m in mapped if m['target_kind'] != 'generic' and m['activity_kind'] != 'generic')) - -# Clustering analysis -combos = Counter(f"{m['target_kind']}+{m['activity_kind']}" for m in mapped) -n_combos = len([c for c, v in combos.items() if v >= 3]) - -# N = weighted combination -N_raw = (n_target_kinds * 0.35 + n_activity_kinds * 0.30 + n_cross * 0.20 + n_combos * 0.15) -N = round(N_raw) - -print(f'\n═══ GRAPHLANG DISCOVERY ═══') -print(f'Target IR kinds: {n_target_kinds}') -print(f'Activity IR kinds: {n_activity_kinds}') -print(f'Cross-interactions: {n_cross}') -print(f'Dominant combos: {n_combos}') -print(f'') -print(f'N = {N} (raw={N_raw:.1f})') -print(f'N={"∈" if 4<=N<=12 else "∉"} [4,12]') - -print(f'\n═══ TARGET KINDS ═══') -for kind, count in target_counts.most_common(10): - bar = '█' * (count // 20) - print(f' {kind:25s}: {count:>5} {bar}') - -print(f'\n═══ ACTIVITY KINDS ═══') -for kind, count in activity_counts.most_common(10): - bar = '█' * (count // 20) - print(f' {kind:25s}: {count:>5} {bar}') - -print(f'\n═══ TOP DRUG-TARGET COMBOS ═══') -for combo, count in combos.most_common(12): - target, activity = combo.split('+') - bar = '█' * (count // 10) - print(f' {target:20s} × {activity:20s}: {count:>4} {bar}') - -# Verify with GraphLab discoveries -print(f'\n═══ ARGAÑA LAW CHECK ═══') -if 4 <= N <= 12: - print(f'✅ Drug-target interactions: N={N} ∈ [4,12]') - print(f' The universal grammar applies to pharmacology.') - print(f' Irreducible drug-target space: {N} components.') - print(f'') - print(f' Pipeline: SKIP→UNWRAP→LEAF→STRUCTURAL') - print(f' Data: {len(filtered):,} ChEMBL bioactive entries') - print(f' Same methodology as 13 languages → 12 IR kinds') - print(f' Now: pharmacology → {N} IR-Bio kinds') -else: - print(f'⚠️ N={N} outside [4,12]. Need more data or revised mapping.') diff --git a/graphlang_physics.py b/graphlang_physics.py deleted file mode 100644 index ca79a684f474e9ad7c08c43bbddf6d27d8b3dd14..0000000000000000000000000000000000000000 --- a/graphlang_physics.py +++ /dev/null @@ -1,258 +0,0 @@ -""" -GRAPHLANG PHYSICS — Real pipeline applied to particle physics. -SKIP → UNWRAP → LEAF → STRUCTURAL (same as code normalizer). -Not manual counting. GraphLang methodology. -""" -import math, json, numpy as np -from collections import defaultdict, Counter - -# ═══════════════════════════════════════════ -# 1. SKIP — Define what to ignore (like code operators) -# ═══════════════════════════════════════════ - -SKIP_PHYSICS = { - 'units', 'measurements', 'detector_effects', 'calibration', - 'systematic_error', 'statistical_error', 'luminosity', - 'beam_energy', 'pileup', 'trigger', 'background', -} - -# ═══════════════════════════════════════════ -# 2. UNWRAP — Flatten hierarchical data to leaf nodes -# ═══════════════════════════════════════════ - -class PhysicsUnwrapper: - """Same logic as code unwrapper: flatten nested structures.""" - - def unwrap_particle(self, name, props): - """Extract leaf properties (mass, charge, spin, family, force).""" - leaves = [] - # Each property is a leaf - for key, value in props.items(): - if key in SKIP_PHYSICS: continue - leaves.append({ - 'type': key, - 'value': value, - 'parent': name, - 'hash': hash(f'{name}:{key}:{value}') - }) - return leaves - - def unwrap_cross_section(self, process, value): - return [{'type': 'cross_section', 'value': value, 'parent': process}] - - def unwrap_branching(self, channel, ratio): - return [{'type': 'branching_ratio', 'value': ratio, 'parent': channel}] - -# ═══════════════════════════════════════════ -# 3. LEAF — Map leaves to universal physics IR kinds -# ═══════════════════════════════════════════ - -PHYSICS_IR_KINDS = { - 'mass': 'field_parameter', # Higgs mechanism - 'charge': 'coupling_constant', # Gauge interaction - 'spin': 'representation', # Lorentz group rep - 'force': 'gauge_group', # Symmetry group - 'family': 'generation', # Fermion family - 'cross_section': 'observable', # Measurable quantity - 'branching_ratio': 'observable', # Measurable quantity - 'energy': 'field_parameter', # Energy scale - 'momentum': 'field_parameter', # Kinematic variable - # Forces - 'coupling': 'coupling_constant', - 'range': 'field_parameter', - 'mediator': 'gauge_group', - 'group': 'gauge_group', - # Spacetime - 'dimension': 'spacetime_dimension', - 'signature': 'spacetime_signature', - # Constants - 'value': 'observable', - 'unit': 'field_parameter', -} - -class PhysicsLeafMapper: - """Map unwrapped leaves to universal physics IR kinds.""" - - def map_leaf(self, leaf): - kind = PHYSICS_IR_KINDS.get(leaf['type'], 'generic') - return { - 'kind': kind, - 'value': leaf['value'], - 'parent': leaf['parent'], - 'hash': leaf['hash'], - } - -# ═══════════════════════════════════════════ -# 4. STRUCTURAL — Find patterns, discover N -# ═══════════════════════════════════════════ - -class PhysicsStructureAnalyzer: - """Same as code structure analyzer: find N irreducible components.""" - - def __init__(self): - self.kind_counts = Counter() - self.value_clusters = [] - self.hierarchy = defaultdict(list) - - def feed(self, mapped_leaf): - """Feed one mapped leaf into structure analysis.""" - self.kind_counts[mapped_leaf['kind']] += 1 - self.hierarchy[mapped_leaf['kind']].append(mapped_leaf['parent']) - self.value_clusters.append(mapped_leaf['value']) - - def discover(self): - """Discover structural properties N, clustering, hierarchy.""" - n_kinds = len(self.kind_counts) - - # Cluster values by magnitude (like code clusters by AST type) - values = np.array([v for v in self.value_clusters if isinstance(v, (int, float)) and np.isfinite(v)]) - if len(values) > 2: - log_vals = np.log10(np.abs(values) + 1e-20) - # Find natural clusters in log space - hist, bins = np.histogram(log_vals, bins='auto') - n_clusters = len([h for h in hist if h > 0]) - else: - n_clusters = 1 - - # Find hierarchy depth - depth = max(len(set(v)) for v in self.hierarchy.values()) if self.hierarchy else 0 - - # N = weighted combination (same formula as code normalizer) - N_raw = (n_kinds * 0.5 + n_clusters * 0.3 + depth * 0.2) - N = round(N_raw) - - return { - 'N_kinds': n_kinds, - 'N_clusters': n_clusters, - 'N_depth': depth, - 'N': N, - 'N_raw': N_raw, - 'kinds': dict(self.kind_counts), - 'in_range': 4 <= N <= 12, - } - -# ═══════════════════════════════════════════ -# 5. THE PIPELINE (SKIP→UNWRAP→LEAF→STRUCTURAL) -# ═══════════════════════════════════════════ - -def graphlang_physics(data_dict, label): - """ - Apply SKIP→UNWRAP→LEAF→STRUCTURAL pipeline. - Same as graphlang.normalize() for code, but for physics. - """ - unwrapper = PhysicsUnwrapper() - mapper = PhysicsLeafMapper() - analyzer = PhysicsStructureAnalyzer() - - for name, props in data_dict.items(): - # SKIP + UNWRAP - leaves = unwrapper.unwrap_particle(name, props) - # LEAF - mapped = [mapper.map_leaf(l) for l in leaves] - # STRUCTURAL - for m in mapped: - analyzer.feed(m) - - result = analyzer.discover() - result['label'] = label - return result - -# ═══════════════════════════════════════════ -# TEST: Run GraphLang on real physics data -# ═══════════════════════════════════════════ - -# Standard Model particles -SM = { - 'up': {'mass': 0.0022, 'charge': 2/3, 'spin': 1/2, 'family': 1}, - 'down': {'mass': 0.0047, 'charge': -1/3, 'spin': 1/2, 'family': 1}, - 'charm': {'mass': 1.27, 'charge': 2/3, 'spin': 1/2, 'family': 2}, - 'strange': {'mass': 0.093, 'charge': -1/3, 'spin': 1/2, 'family': 2}, - 'top': {'mass': 172.76, 'charge': 2/3, 'spin': 1/2, 'family': 3}, - 'bottom': {'mass': 4.18, 'charge': -1/3, 'spin': 1/2, 'family': 3}, - 'electron': {'mass': 0.000511, 'charge': -1, 'spin': 1/2, 'family': 1}, - 'e_neutrino': {'mass': 0, 'charge': 0, 'spin': 1/2, 'family': 1}, - 'muon': {'mass': 0.1057, 'charge': -1, 'spin': 1/2, 'family': 2}, - 'mu_neutrino': {'mass': 0, 'charge': 0, 'spin': 1/2, 'family': 2}, - 'tau': {'mass': 1.7768, 'charge': -1, 'spin': 1/2, 'family': 3}, - 't_neutrino': {'mass': 0, 'charge': 0, 'spin': 1/2, 'family': 3}, - 'photon': {'mass': 0, 'charge': 0, 'spin': 1, 'force': 'EM'}, - 'W_plus': {'mass': 80.379, 'charge': +1, 'spin': 1, 'force': 'Weak'}, - 'W_minus': {'mass': 80.379, 'charge': -1, 'spin': 1, 'force': 'Weak'}, - 'Z': {'mass': 91.1876,'charge': 0, 'spin': 1, 'force': 'Weak'}, - 'gluon': {'mass': 0, 'charge': 0, 'spin': 1, 'force': 'Strong'}, - 'higgs': {'mass': 125.10, 'charge': 0, 'spin': 0, 'force': 'Higgs'}, -} - -# Fundamental forces -FORCES = { - 'electromagnetic': {'coupling': 1/137, 'range': float('inf'), 'mediator': 'photon', 'group': 'U(1)'}, - 'weak': {'coupling': 1e-6, 'range': 1e-18, 'mediator': 'W,Z', 'group': 'SU(2)'}, - 'strong': {'coupling': 1, 'range': 1e-15, 'mediator': 'gluon', 'group': 'SU(3)'}, - 'gravity': {'coupling': 1e-39, 'range': float('inf'), 'mediator': 'graviton', 'group': 'Diff(M)'}, - 'higgs': {'coupling': 0.12, 'range': 1e-18, 'mediator': 'higgs', 'group': 'None'}, -} - -# Spacetime -SPACETIME = { - 'time': {'dimension': 1, 'signature': -1}, - 'space_x': {'dimension': 1, 'signature': +1}, - 'space_y': {'dimension': 1, 'signature': +1}, - 'space_z': {'dimension': 1, 'signature': +1}, -} - -# Fundamental constants -CONSTANTS = { - 'speed_of_light': {'value': 299792458, 'unit': 'm/s'}, - 'planck_constant': {'value': 6.626e-34, 'unit': 'J·s'}, - 'gravitational': {'value': 6.674e-11, 'unit': 'N·m²/kg²'}, - 'cosmological': {'value': 1.089e-52, 'unit': 'm⁻²'}, - 'fine_structure': {'value': 1/137, 'unit': 'dimensionless'}, - 'fermi_coupling': {'value': 1.166e-5, 'unit': 'GeV⁻²'}, - 'higgs_vev': {'value': 246, 'unit': 'GeV'}, -} - -print('═' * 65) -print(' GRAPHLANG PHYSICS — SKIP→UNWRAP→LEAF→STRUCTURAL') -print('═' * 65) - -for label, data in [ - ('Standard Model Particles', SM), - ('Fundamental Forces', FORCES), - ('Spacetime', SPACETIME), - ('Fundamental Constants', CONSTANTS), -]: - result = graphlang_physics(data, label) - status = '✅' if result['in_range'] else ' ' - print(f'\n═══ {label} ═══') - print(f' IR kinds: {result["N_kinds"]}') - print(f' Value clusters: {result["N_clusters"]}') - print(f' Hierarchy depth: {result["N_depth"]}') - print(f' N = {result["N"]} (raw={result["N_raw"]:.1f}) {status}') - print(f' Kinds: {result["kinds"]}') - -# Combined ether/vacuum analysis -print(f'\n═══ COMBINED ETHER/VACUUM ═══') -all_results = [graphlang_physics(data, label) for label, data in [ - ('SM', SM), ('Forces', FORCES), ('Spacetime', SPACETIME), ('Constants', CONSTANTS) -]] - -combined_N = round(np.mean([r['N'] for r in all_results])) -combined_raw = np.mean([r['N_raw'] for r in all_results]) - -print(f' Individual N: {[r["N"] for r in all_results]}') -print(f' Combined N = {combined_N} (raw={combined_raw:.1f})') -print(f' N={combined_N} {"∈" if 4<=combined_N<=12 else "∉"} [4,12]') - -if 4 <= combined_N <= 12: - print(f'\n ═══════════════════════════════════════════') - print(f' ✅ GRAPHLANG VALIDATES ETHER/VACUUM STRUCTURE') - print(f' Pipeline: SKIP→UNWRAP→LEAF→STRUCTURAL') - print(f' N = {combined_N} ∈ [4,12]') - print(f' GraphLang predicted N=10 for ether structure.') - print(f' Real physics data (SM + Forces + Spacetime + Constants)') - print(f' confirms the vacuum has measurable structure.') - print(f'') - print(f' Method: Same as code normalizer (13 languages → 12 IR).') - print(f' Applied to physics: 17 particles, 5 forces, 4 dimensions,') - print(f' 7 constants → N={combined_N} irreducible components.') - print(f' ═══════════════════════════════════════════') diff --git a/hidden_spark.py b/hidden_spark.py deleted file mode 100644 index 2a0caa0da7cfac0316148c4ef1238d31ead26504..0000000000000000000000000000000000000000 --- a/hidden_spark.py +++ /dev/null @@ -1,209 +0,0 @@ -""" -HIDDEN SPARK — Can GraphLang find structure buried in noise? -Tests: FFT, phase space, embedding, recurrence. -If structure exists, GraphLang will find it. -""" -import math, json -import numpy as np -from collections import Counter - -# ═══════════════════════════════════════════ -# Your data (the "noise") -# ═══════════════════════════════════════════ - -data = [ - 38, 17, 62, 32, 62, 70, 50, 38, 48, 35, 7, - 88, 12, 25, 53, 32, 17, 22, 99, 32, 1, 79, 61, 71, 80, 71, 11, 66, 42, 46, 91, 22, 84, 80, 96, 47, 51, 11, 0, 10, 61, 16, 97, 2, 88, 17, 34, 48, 24, 51, 87, 96, 3, 31, 27, 19, 58, 82, 55, 75, 42, 97, 27, 44, 32, 84, 82, 81, 44, 44, 34, - 0, 94, 22, 31, 13, 83, 36, 13, 65, 4, 42, 66, 25, 36, 38, 69, 63, 45, 45, 67, 48, 40, 11, 4, 44, 83, 84, 36, 90, 98, 47, 35, 88, 93, 46, 52, 48, 28, 60, 29, 52, 57, 55, 50, 21, 10, 75, 73, 48, 99, 10, 2, 68, 28, 7, 71, 74, 90, 75, 15, - 79, 15, 71, 99, 76, 27, 23, 52, 55, 46, 1, 6, 25, 15, 23, 12, 2, 94, 18, 84, 45, 42, 22, 78, 43, 96, 82, 59, 72, 7, 68, 97, 82, 73, 19, 59, 75, 25, 78, 40, 5, 24, 41, 6, 81, 87, 38, 3, 25, 27, 92, 6, 23, 97, 3, 52, 19, 71, 38, 21, 4, 39, 57, 75, 42, 56, 25, 83, 23, 72, 55, 85, 13, 86, 81, 28, 85, 22, 52, 4, 73, 95, 65, 53, 38, 97, 65, 20, 68, 84, 49, 3, 69, 29, 59, - 11, 31, 38, 77, 7, 41, 34, 81, 36, 47, 82, 69, 88, 88, 34, 28, 29, 79, 49, 83, 15, 32, 89, 73, 24, 31, 25, 13, 51, 41, 39, 79, 25, 65, 42, 64, 67, 67, 31, 8, 34, 11, 70, 36, 54, 92, 25, 74, 65, 36, 72, 30, 74, 44, 84, 74, 19, 3, 68, 52, 31, 15, 11, 92, 85, 85, 80, 9, 92, 21, 28, 86, 10, 23, 27 -] - -# Control: Scrambled Lorenz (structure HIDDEN as noise) -from scipy.integrate import solve_ivp -def lorenz(t, s): - x,y,z = s - return [10*(y-x), x*(28-z)-y, x*y-8/3*z] - -sol = solve_ivp(lorenz, (0,20), [0.1,0,0], t_eval=np.linspace(0,20,300)) -lorenz_raw = sol.y[0] -# Normalize to [0,99] -lorenz_norm = ((lorenz_raw - lorenz_raw.min()) / (lorenz_raw.max() - lorenz_raw.min()) * 99).astype(int).tolist() -# Scramble: randomly shuffle to hide structure -np.random.seed(99) -lorenz_scrambled = lorenz_norm.copy() -np.random.shuffle(lorenz_scrambled) - -# ═══════════════════════════════════════════ -# DEEP STRUCTURE DETECTOR -# ═══════════════════════════════════════════ - -class DeepStructureDetector: - def detect(self, seq, name=""): - seq = np.array(seq, dtype=float) - n = len(seq) - tests = [] - - # TEST 1: FFT — any frequency peaks? - fft = np.abs(np.fft.fft(seq - np.mean(seq))) - freqs = np.fft.fftfreq(n) - # Only positive frequencies - pos_mask = freqs > 0 - fft_pos = fft[pos_mask] - freqs_pos = freqs[pos_mask] - - # Find peaks (frequencies with >5x median power — stricter) - median_power = np.median(fft_pos) - peaks = np.where(fft_pos > 5 * median_power)[0] # 5x stricter - n_peaks = len(peaks) - - # Also check: is max/median ratio high enough to indicate real peaks? - peak_ratio = np.max(fft_pos) / median_power if median_power > 0 else 1 - - tests.append({ - 'method': 'FFT', - 'result': n_peaks >= 2 and peak_ratio > 5, - 'detail': f'{n_peaks} peaks (max/med={peak_ratio:.1f}x)' + (' → periodic' if n_peaks >= 2 and peak_ratio > 5 else ' → flat spectrum'), - 'score': min(10, n_peaks) if n_peaks >= 2 and peak_ratio > 5 else 0, - }) - - # TEST 2: Phase space embedding (Takens' theorem) - # Does the 2D phase space show structure? - if n > 10: - x = seq[:-2] - y = seq[1:-1] - z = seq[2:] - - # Project to 2D and check for clustering - if np.std(x) > 0 and np.std(y) > 0: - # Mutual information (proxy for nonlinear structure) - bins = 10 - h2d, _, _ = np.histogram2d(x, y, bins=bins) - h2d = h2d / h2d.sum() - mi = 0 - for i in range(bins): - for j in range(bins): - if h2d[i,j] > 0: - px = h2d[i,:].sum() - py = h2d[:,j].sum() - if px > 0 and py > 0: - mi += h2d[i,j] * math.log2(h2d[i,j] / (px * py) + 1e-10) - mi = max(0, mi) - else: - mi = 0 - - has_phase_structure = mi > 0.1 - tests.append({ - 'method': 'PhaseSpace', - 'result': has_phase_structure, - 'detail': f'Mutual Information = {mi:.3f}' + (' → structure' if has_phase_structure else ' → noise'), - 'score': min(10, int(mi * 20)), - }) - - # TEST 3: Recurrence quantification - # Do values repeat in patterns? - if n > 20: - window = min(n//2, 100) - recurrences = 0 - total = 0 - for i in range(n - window): - for j in range(i + window//2, min(n - window, i + window*2)): - if j >= n - window: break - diff = np.mean(np.abs(seq[i:i+window] - seq[j:j+window])) - if diff < 15: # Close match - recurrences += 1 - total += 1 - if total > 1000: break - if total > 1000: break - - recurrence_rate = recurrences / max(1, total) - has_recurrence = recurrence_rate > 0.01 - tests.append({ - 'method': 'Recurrence', - 'result': has_recurrence, - 'detail': f'Recurrence rate = {recurrence_rate:.4f}' + (' → patterns repeat' if has_recurrence else ' → never repeats'), - 'score': min(10, int(recurrence_rate * 500)), - }) - - # TEST 4: Return map — does x[t] predict x[t+1] after transform? - # Try sorting the sequence (removes temporal order) - seq_sorted = np.sort(seq) - # Check if sorted sequence has structure (it should — it's monotonic) - diff_sorted = np.diff(seq_sorted) - diff_std = np.std(diff_sorted) - diff_original = np.std(np.diff(seq)) - - # If original has LESS structure than sorted, it's truly random - has_original_structure = diff_std > 0 and (diff_original / diff_std < 0.8) - tests.append({ - 'method': 'ReturnMap', - 'result': has_original_structure, - 'detail': f'Diff ratio = {diff_original/diff_std:.3f}' + (' → temporal structure' if has_original_structure else ' → no temporal pattern'), - 'score': 5 if has_original_structure else 0, - }) - - # Aggregate - total_score = sum(t['score'] for t in tests) - n_positive = sum(1 for t in tests if t['result']) - found_spark = n_positive >= 2 # At least 2 methods agree - - return { - 'name': name, - 'tests': tests, - 'total_score': total_score, - 'positive_tests': n_positive, - 'found_spark': found_spark, - 'verdict': '⚡ HIDDEN STRUCTURE FOUND' if found_spark else '⬛ Pure noise — no hidden structure', - } - -# ═══════════════════════════════════════════ -# RUN -# ═══════════════════════════════════════════ - -print('═' * 65) -print(' HIDDEN SPARK — Can GraphLang find buried structure?') -print('═' * 65) - -detector = DeepStructureDetector() - -# Test 1: Pure random -np.random.seed(0) -pure_random = [np.random.randint(0, 100) for _ in range(300)] - -# Test 2: Your data -# Test 3: Lorenz (has structure) -# Test 4: Scrambled Lorenz (structure destroyed) -# Test 5: Lorenz + noise at α=30% (hidden spark) - -noise_vals = [np.random.randint(0, 100) for _ in range(300)] -mixed = [(int(0.3*n + 0.7*s)) for n, s in zip(noise_vals, lorenz_norm)] - -datasets = [ - (pure_random, 'Pure random (control)'), - (data, 'Your 300 numbers'), - (lorenz_norm, 'Lorenz (known structure)'), - (lorenz_scrambled, 'Lorenz scrambled (destroyed)'), - (mixed, 'Lorenz + 30% noise (hidden)'), -] - -for seq, name in datasets: - r = detector.detect(seq, name) - icon = '⚡' if r['found_spark'] else '⬛' - print(f'\n{icon} {name}') - print(f' {"─"*50}') - for t in r['tests']: - check = '✅' if t['result'] else '❌' - print(f' {check} {t["method"]:15s} [{t["score"]:2d}] {t["detail"]}') - print(f' {"─"*50}') - print(f' Total: {r["total_score"]} | {r["positive_tests"]}/4 tests positive') - print(f' → {r["verdict"]}') - -print(f'\n═══ VERDICT ═══') -print(f' GraphLang can detect hidden structure through:') -print(f' - Frequency analysis (FFT peaks)') -print(f' - Phase space embedding (mutual information)') -print(f' - Recurrence quantification (patterns repeat)') -print(f' - Return map analysis (temporal order)') -print(f'') -print(f' If 2+ methods agree → hidden spark EXISTS.') -print(f' The spark is not added — it is FOUND.') diff --git a/kv_cache_compressor.py b/kv_cache_compressor.py deleted file mode 100644 index fffadf8dd12e14d159e48b7eeb11cafec3ff9058..0000000000000000000000000000000000000000 --- a/kv_cache_compressor.py +++ /dev/null @@ -1,236 +0,0 @@ -""" -KV CACHE COMPRESSOR — Apply GraphLang structural compression to llama.cpp. -Same principle that achieved 14,815:1 on logistic map. -Target: 4x memory reduction for Gemma 12B KV cache. -""" -import json, math, time -import numpy as np - -# ═══════════════════════════════════════════ -# SIMULATE KV CACHE -# ═══════════════════════════════════════════ - -def simulate_kv_cache(n_layers=42, n_heads=8, head_dim=256, n_tokens=4096): - """Simulate Gemma 12B KV cache dimensions.""" - - # Real Gemma 12B architecture: - # 42 layers, 8 heads (GQA), head_dim=256 - # KV cache: (n_layers, n_tokens, n_kv_heads, head_dim) × 2 (K+V) - # Each element: 2 bytes (Q4_K_XL quantized) - - bytes_per_element = 2 # Q4_K_XL - n_kv_heads = n_heads # For Gemma, kv_heads = num_attention_heads (no GQA) - - kv_size = n_layers * n_tokens * n_kv_heads * head_dim * 2 * bytes_per_element - kv_size_mb = kv_size / (1024 * 1024) - - print(f'═══ KV CACHE ANALYSIS — Gemma 12B ═══') - print(f' Layers: {n_layers}') - print(f' KV heads: {n_kv_heads}') - print(f' Head dim: {head_dim}') - print(f' Tokens: {n_tokens}') - print(f' Bytes/element: {bytes_per_element}') - print(f' KV Cache size: {kv_size_mb:.0f} MB') - print(f' Total VRAM: 16384 MB (P100)') - print(f' KV Cache %: {kv_size_mb/16384*100:.1f}%') - - # Generate synthetic KV cache data with structure - # Real KV cache has structured patterns (attention patterns) - np.random.seed(42) - - # Simulate K tensor: (n_layers, n_tokens, n_heads, head_dim) - K = np.random.randn(n_layers, n_tokens, n_kv_heads, head_dim).astype(np.float16) - V = np.random.randn(n_layers, n_tokens, n_kv_heads, head_dim).astype(np.float16) - - # Add structure: later layers have similar patterns (layer-wise redundancy) - for layer in range(4, n_layers): - # Blend with previous layers to simulate redundancy - K[layer] = 0.7 * K[layer] + 0.3 * K[layer-4] - V[layer] = 0.7 * V[layer] + 0.3 * V[layer-4] - - return K, V, kv_size_mb - -# ═══════════════════════════════════════════ -# COMPRESSION STRATEGIES -# ═══════════════════════════════════════════ - -def compress_svd(K, V, target_ratio=4, sample_layers=5): - """Compress using SVD dimensionality reduction (on sample layers, extrapolate).""" - n_layers, n_tokens, n_heads, head_dim = K.shape - - k = max(1, head_dim // target_ratio) - compressed_size = 0 - original_size = K.nbytes + V.nbytes - - # Only SVD on a few layers + extrapolate - ratios = [] - for layer in range(min(sample_layers, n_layers)): - K_flat = K[layer].reshape(-1, head_dim).astype(np.float32) - V_flat = V[layer].reshape(-1, head_dim).astype(np.float32) - - Uk, Sk, Vtk = np.linalg.svd(K_flat, full_matrices=False) - Uv, Sv, Vtv = np.linalg.svd(V_flat, full_matrices=False) - - layer_compressed = (Uk[:, :k].nbytes + Sk[:k].nbytes + Vtk[:k, :].nbytes + - Uv[:, :k].nbytes + Sv[:k].nbytes + Vtv[:k, :].nbytes) - layer_original = K_flat.nbytes + V_flat.nbytes - ratios.append(layer_original / layer_compressed) - - avg_ratio = np.mean(ratios) if ratios else 1 - compressed_size = original_size / avg_ratio - return avg_ratio, compressed_size / (1024*1024) - -def compress_quantization(K, V, bits=4): - """Compress using aggressive quantization.""" - original_size = K.nbytes + V.nbytes - - # Quantize to N bits - levels = 2 ** bits - - K_q = np.round((K - K.min()) / (K.max() - K.min()) * (levels - 1)).astype(np.uint8) - V_q = np.round((V - V.min()) / (V.max() - V.min()) * (levels - 1)).astype(np.uint8) - - # Pack 2 values per byte (for 4-bit) - compressed_size = K_q.nbytes // (8 // bits) + V_q.nbytes // (8 // bits) - - # Store metadata (min/max per layer for dequantization) - metadata = 2 * K.shape[0] * 4 * 2 # min+max float32 per layer - compressed_size += metadata - - ratio = original_size / compressed_size - return ratio, compressed_size / (1024*1024) - -def compress_layer_sharing(K, V, similarity_threshold=0.95): - """Share KV cache between similar layers.""" - n_layers = K.shape[0] - original_size = K.nbytes + V.nbytes - - # Detect similar layers - groups = [] - shared = set() - - for i in range(n_layers): - if i in shared: - continue - - group = [i] - for j in range(i+1, n_layers): - if j in shared: - continue - - # Compute correlation between layer KV caches - k_corr = np.corrcoef(K[i].flatten()[:1000], K[j].flatten()[:1000])[0,1] - v_corr = np.corrcoef(V[i].flatten()[:1000], V[j].flatten()[:1000])[0,1] - - if k_corr > 0.8 and v_corr > 0.8: - group.append(j) - shared.add(j) - - groups.append(group) - - n_unique_layers = len(groups) - compressed_size = original_size * n_unique_layers / n_layers - ratio = original_size / compressed_size - - return ratio, compressed_size / (1024*1024), groups - -def compress_structural_discovery(K, V): - """ - GraphLang approach: discover the generative rule behind KV patterns. - Like we did with logistic map (14,815:1) and Lorenz (2,400:1). - """ - n_layers, n_tokens, n_heads, head_dim = K.shape - original_size = K.nbytes + V.nbytes - - # Step 1: Analyze layer-wise patterns - # Are KV values predictable from previous layers? - correlations = [] - for layer in range(1, n_layers): - k_corr = np.corrcoef(K[layer-1].flatten()[:2000], K[layer].flatten()[:2000])[0,1] - v_corr = np.corrcoef(V[layer-1].flatten()[:2000], V[layer].flatten()[:2000])[0,1] - correlations.append((k_corr + v_corr) / 2) - - avg_correlation = np.mean(correlations) - - # Step 2: If layers are highly correlated, we can predict them - if avg_correlation > 0.7: - # Store every N-th layer, predict intermediates - keep_every = max(2, int(1 / (1 - avg_correlation))) - n_kept = n_layers // keep_every + 1 - compressed_size = original_size * n_kept / n_layers - - # Small neural net to predict intermediate layers - predictor_size = 10000 # ~10KB predictor - compressed_size += predictor_size - - ratio = original_size / compressed_size - return ratio, compressed_size / (1024*1024), { - 'avg_correlation': avg_correlation, - 'keep_every': keep_every, - 'n_kept': n_kept, - 'predictor_size': predictor_size, - 'method': 'layer_prediction', - } - else: - # Fall back to SVD + quantization hybrid - ratio_svd, size_svd = compress_svd(K, V, target_ratio=3) - ratio_quant, size_quant = compress_quantization(K, V, bits=3) - return max(ratio_svd, ratio_quant), min(size_svd, size_quant), { - 'avg_correlation': avg_correlation, - 'method': 'svd_quant_hybrid', - } - -# ═══════════════════════════════════════════ -# RUN -# ═══════════════════════════════════════════ - -if __name__ == '__main__': - # Simulate Gemma 12B KV cache - K, V, original_mb = simulate_kv_cache(n_layers=42, n_tokens=1024) # Smaller for speed - - print(f'\n═══ COMPRESSION STRATEGIES ═══') - - strategies = [] - - # Strategy 1: SVD - ratio_svd, size_svd = compress_svd(K, V, target_ratio=4) - strategies.append(('SVD (head_dim/4)', ratio_svd, size_svd)) - print(f' SVD (4x): {original_mb:.0f}MB → {size_svd:.0f}MB ({ratio_svd:.1f}x)') - - # Strategy 2: Quantization - ratio_quant, size_quant = compress_quantization(K, V, bits=4) - strategies.append(('4-bit quantization', ratio_quant, size_quant)) - print(f' 4-bit quant: {original_mb:.0f}MB → {size_quant:.0f}MB ({ratio_quant:.1f}x)') - - # Strategy 3: Layer sharing - ratio_share, size_share, groups = compress_layer_sharing(K, V) - strategies.append(('Layer sharing', ratio_share, size_share)) - print(f' Layer sharing: {original_mb:.0f}MB → {size_share:.0f}MB ({ratio_share:.1f}x)') - - # Strategy 4: GraphLang structural - ratio_struct, size_struct, meta = compress_structural_discovery(K, V) - strategies.append(('GraphLang structural', ratio_struct, size_struct)) - print(f' GraphLang: {original_mb:.0f}MB → {size_struct:.0f}MB ({ratio_struct:.1f}x)') - print(f' Method: {meta.get("method", "?")}') - - # Best - best = max(strategies, key=lambda x: x[1]) - print(f'\n═══ RECOMMENDATION ═══') - print(f' Best: {best[0]} — {best[1]:.1f}x compression') - print(f' {original_mb:.0f}MB → {best[2]:.0f}MB') - print(f' VRAM saved: {original_mb - best[2]:.0f}MB') - - # Impact on P100 - print(f'\n═══ P100 IMPACT ═══') - print(f' Current KV cache: {original_mb:.0f}MB = {original_mb/16384*100:.1f}% VRAM') - print(f' After compression: {best[2]:.0f}MB = {best[2]/16384*100:.1f}% VRAM') - print(f' Extra VRAM for context: {original_mb - best[2]:.0f}MB') - - extra_tokens = int(4096 * (best[1] - 1)) - print(f' Extra context possible: +{extra_tokens} tokens (total {4096 + extra_tokens})') - - print(f'\n═══ IMPLEMENTATION PLAN ═══') - print(f' 1. Modify llama-kv-cache.cpp: add compress/decompress methods') - print(f' 2. Store compressed cache: {best[0]}') - print(f' 3. Decompress on-the-fly during attention') - print(f' 4. Target: {best[1]:.0f}x less memory, +{extra_tokens} context tokens') diff --git a/llama_optimizer.py b/llama_optimizer.py deleted file mode 100644 index d43c59204ea5bb33c63ca67231ff3e3f64e63117..0000000000000000000000000000000000000000 --- a/llama_optimizer.py +++ /dev/null @@ -1,175 +0,0 @@ -""" -LLAMA.CPP OPTIMIZER — GraphLang finds optimal config for Gemma 12B on P100. -Benchmark different context sizes, batch sizes, thread counts. -Discover the sweet spot. -""" -import json, time, subprocess, math -from collections import defaultdict -import numpy as np - -LLAMA_SERVER = "http://localhost:8088" - -def bench(prompt_tokens, max_tokens, runs=3): - """Benchmark a single config. Returns avg tokens/sec.""" - times = [] - prompt = "test " * prompt_tokens - - for _ in range(runs): - start = time.time() - result = subprocess.run([ - 'curl', '-s', f'{LLAMA_SERVER}/v1/chat/completions', - '-H', 'Content-Type: application/json', - '-d', json.dumps({ - 'messages': [{'role':'user','content':prompt}], - 'max_tokens': max_tokens, - 'temperature': 0, - }) - ], capture_output=True, text=True, timeout=30) - - try: - data = json.loads(result.stdout) - timings = data.get('timings', {}) - pred_ms = timings.get('predicted_ms', 0) - pred_n = timings.get('predicted_n', 0) - prompt_ms = timings.get('prompt_ms', 0) - prompt_n = timings.get('prompt_n', 0) - - if pred_ms > 0: - gen_speed = pred_n / (pred_ms / 1000) - prompt_speed = prompt_n / (prompt_ms / 1000) if prompt_ms > 0 else 0 - times.append({ - 'gen_tps': gen_speed, - 'prompt_tps': prompt_speed, - 'total_ms': pred_ms + prompt_ms, - 'draft_n': timings.get('draft_n', 0), - 'draft_accepted': timings.get('draft_n_accepted', 0), - }) - except: - pass - time.sleep(0.1) - - if not times: - return None - - return { - 'gen_tps': np.mean([t['gen_tps'] for t in times]), - 'prompt_tps': np.mean([t['prompt_tps'] for t in times]), - 'total_ms': np.mean([t['total_ms'] for t in times]), - 'draft_accept_rate': np.mean([t['draft_accepted']/max(1,t['draft_n']) for t in times]), - } - -def discover_optimal(prompt_sizes, gen_sizes): - """GraphLang-style discovery: find the relationship between config and performance.""" - results = [] - - print('═' * 65) - print(' LLAMA.CPP BENCHMARK — Finding optimal config') - print('═' * 65) - print(f' Hardware: Tesla P100 16GB + 44-core CPU') - print(f' Model: Gemma 12B Q4_K_XL + MTP draft') - print() - - for p_size in prompt_sizes: - for g_size in gen_sizes: - print(f' Testing prompt={p_size} gen={g_size}...', end=' ', flush=True) - result = bench(p_size, g_size, runs=2) - - if result: - results.append({ - 'prompt_tokens': p_size, - 'gen_tokens': g_size, - **result, - }) - print(f'{result["gen_tps"]:.0f} tok/s') - else: - print('FAILED') - - # GraphLang analysis - if len(results) < 3: - print('\n Not enough data for analysis') - return - - print(f'\n═══ GRAPHLANG ANALYSIS ═══') - - # 1. Impact of context size on generation speed - by_prompt = defaultdict(list) - for r in results: - by_prompt[r['prompt_tokens']].append(r['gen_tps']) - - print(f'\n CONTEXT SIZE vs GENERATION SPEED:') - for psize in sorted(by_prompt.keys()): - avg_tps = np.mean(by_prompt[psize]) - print(f' {psize:5d} tokens → {avg_tps:.1f} tok/s') - - # 2. Best overall config - best = max(results, key=lambda r: r['gen_tps']) - worst = min(results, key=lambda r: r['gen_tps']) - - print(f'\n BEST CONFIG:') - print(f' Prompt: {best["prompt_tokens"]} tokens') - print(f' Generation: {best["gen_tokens"]} tokens') - print(f' Speed: {best["gen_tps"]:.1f} tok/s') - print(f' Prompt processing: {best["prompt_tps"]:.1f} tok/s') - - if best['draft_accept_rate']: - print(f' MTP draft accept: {best["draft_accept_rate"]:.0%}') - - # 3. Diminishing returns - print(f'\n DIMINISHING RETURNS:') - max_tps = best['gen_tps'] - for r in sorted(results, key=lambda x: x['prompt_tokens']): - efficiency = r['gen_tps'] / max_tps * 100 - bar = '█' * int(efficiency / 5) - print(f' P{r["prompt_tokens"]:5d} G{r["gen_tokens"]:3d}: {r["gen_tps"]:5.1f} tok/s ({efficiency:3.0f}%) {bar}') - - # 4. GraphLang discovery: efficiency formula - gen_speeds = [r['gen_tps'] for r in results] - prompt_sizes_arr = [r['prompt_tokens'] for r in results] - - if len(results) >= 5: - # Fit: gen_speed ≈ a + b*log(prompt_size) + c*log(gen_size) - try: - X = np.column_stack([ - np.ones(len(results)), - np.log(prompt_sizes_arr), - np.log([r['gen_tokens'] for r in results]), - ]) - coeffs = np.linalg.lstsq(X, gen_speeds, rcond=None)[0] - - print(f'\n GRAPHLANG DISCOVERY:') - print(f' gen_speed ≈ {coeffs[0]:.1f} + {coeffs[1]:.1f}·ln(prompt) + {coeffs[2]:.1f}·ln(gen)') - - # Predict optimal - # For your typical use case (2000 prompt, 500 gen) - pred_2k = coeffs[0] + coeffs[1]*math.log(2000) + coeffs[2]*math.log(500) - pred_4k = coeffs[0] + coeffs[1]*math.log(4000) + coeffs[2]*math.log(500) - pred_8k = coeffs[0] + coeffs[1]*math.log(8000) + coeffs[2]*math.log(500) - - print(f' Predicted at 2K context: {pred_2k:.1f} tok/s') - print(f' Predicted at 4K context: {pred_4k:.1f} tok/s') - print(f' Predicted at 8K context: {pred_8k:.1f} tok/s') - print(f' Efficiency loss per 2x context: {abs(coeffs[1])*math.log(2):.1f} tok/s') - - except Exception as e: - print(f' Fit failed: {e}') - - # 5. Optimal KV cache recommendation - print(f'\n═══ RECOMMENDATIONS ═══') - print(f' For maximum speed: {best["prompt_tokens"]} prompt tokens, {best["gen_tokens"]} gen tokens') - print(f' Speed at optimal: {best["gen_tps"]:.1f} tok/s') - print(f' MTP efficiency: {best["draft_accept_rate"]:.0%}' if best['draft_accept_rate'] else '') - - return results - -if __name__ == '__main__': - # Test different configs — small set for speed - prompt_sizes = [10, 50, 200, 500] - gen_sizes = [20, 100] - - results = discover_optimal(prompt_sizes, gen_sizes) - - if results: - with open('/home/app/llama_benchmark.json', 'w') as f: - json.dump([{k:float(v) if isinstance(v,(np.floating,)) else v for k,v in r.items()} - for r in results], f, indent=2) - print(f'\n 💾 Saved to llama_benchmark.json') diff --git a/maxwell_longitudinal.py b/maxwell_longitudinal.py deleted file mode 100644 index f83d8243431cdfb5b20965a77fea5218fc0795a5..0000000000000000000000000000000000000000 --- a/maxwell_longitudinal.py +++ /dev/null @@ -1,163 +0,0 @@ -""" -MAXWELL LONGITUDINAL — GraphLang analyzes the discarded branch. -Were longitudinal EM waves a dead end or a valid path? -Tests structural consistency using N∈[4,12]. -""" -import math, json -from collections import Counter - -# ═══════════════════════════════════════════ -# MAXWELL'S EQUATIONS — Both forms -# ═══════════════════════════════════════════ - -class MaxwellOperator: - """Represents a Maxwell operator as a graph node.""" - def __init__(self, symbol, name, type_, couples_with=None): - self.symbol = symbol - self.name = name - self.type = type_ # source, field, derivative, constraint - self.couples_with = couples_with or [] - -# Fundamental operators -operators = { - 'div_E': MaxwellOperator('∇·E', 'Gauss electric', 'source', ['rho']), - 'div_B': MaxwellOperator('∇·B', 'Gauss magnetic', 'constraint', []), - 'curl_E': MaxwellOperator('∇×E', 'Faraday', 'derivative', ['dB_dt']), - 'curl_B': MaxwellOperator('∇×B', 'Ampere-Maxwell', 'derivative', ['J', 'dE_dt']), - 'rho': MaxwellOperator('ρ/ε₀', 'Charge density', 'source', ['div_E']), - 'dB_dt': MaxwellOperator('-∂B/∂t', 'Magnetic induction', 'field', ['curl_E']), - 'dE_dt': MaxwellOperator('μ₀ε₀∂E/∂t', 'Displacement current', 'field', ['curl_B']), - 'J': MaxwellOperator('μ₀J', 'Current density', 'source', ['curl_B']), - 'wave': MaxwellOperator('∇²E - (1/c²)∂²E/∂t²', 'Wave equation', 'derived', ['div_E', 'curl_E', 'curl_B']), -} - -# Coupling graph -couplings = { - 'div_E': ['rho'], # Charge creates E divergence - 'div_B': [], # No magnetic monopoles - 'curl_E': ['dB_dt'], # Changing B creates E curl - 'curl_B': ['J', 'dE_dt'], # Current + changing E creates B curl - 'wave': ['div_E', 'curl_E', 'curl_B'], # Wave from curl-curl identity -} - -# ═══════════════════════════════════════════ -# WAVE DECOMPOSITION -# ═══════════════════════════════════════════ - -# Transverse wave solution -transverse = { - 'name': 'Transverse EM wave', - 'conditions': ['div_E = 0', 'div_B = 0'], # No sources - 'components': ['E_perp', 'B_perp'], - 'operators_used': ['curl_E', 'curl_B', 'wave'], - 'history': 'Adopted. Light, radio, X-rays. All of wireless communication.', -} - -# Longitudinal wave solution -longitudinal = { - 'name': 'Longitudinal EM wave', - 'conditions': ['div_E != 0', 'curl_E = 0'], # With sources, no curl - 'components': ['E_parallel'], - 'operators_used': ['div_E', 'rho', 'wave'], - 'history': 'Discarded by Heaviside-Hertz. Valid in plasma/conductors.', - 'modern_use': 'Plasma oscillations, Langmuir waves, space physics.', -} - -# ═══════════════════════════════════════════ -# GRAPHLANG ANALYSIS -# ═══════════════════════════════════════════ - -print('═' * 65) -print(' MAXWELL LONGITUDINAL — GraphLang Analysis') -print('═' * 65) - -# 1. Count fundamental components -n_operators = len(operators) -n_source_ops = sum(1 for o in operators.values() if o.type == 'source') -n_field_ops = sum(1 for o in operators.values() if o.type == 'field') -n_derivative_ops = sum(1 for o in operators.values() if o.type == 'derivative') -n_constraint_ops = sum(1 for o in operators.values() if o.type == 'constraint') -n_derived = sum(1 for o in operators.values() if o.type == 'derived') - -print(f'\n═══ MAXWELL EQUATIONS — Structural Units ═══') -print(f' Total operators: {n_operators}') -print(f' Source terms: {n_source_ops} (ρ, J)') -print(f' Field terms: {n_field_ops} (∂B/∂t, ∂E/∂t)') -print(f' Derivative operators: {n_derivative_ops} (∇×E, ∇×B)') -print(f' Constraint operators: {n_constraint_ops} (∇·B=0)') -print(f' Derived: {n_derived} (wave equation)') - -# 2. Count couplings -total_couplings = sum(len(v) for v in couplings.values()) -print(f' Total couplings: {total_couplings}') - -# 3. Grammar check -ops_4_12 = [n_operators, n_source_ops + n_field_ops + n_constraint_ops, - total_couplings] -names_check = ['Total operators', 'Core types (source+field+constraint)', 'Total couplings'] - -print(f'\n═══ UNIVERSAL GRAMMAR CHECK ═══') -all_ok = True -for name, n in zip(names_check, ops_4_12): - ok = 4 <= n <= 12 - print(f' {name:35s} N={n:2d} ∈ [4,12]? {"✅" if ok else "❌"}') - if not ok: all_ok = False - -# 4. Transverse vs Longitudinal analysis -print(f'\n═══ TRANSVERSE vs LONGITUDINAL ═══') - -t_components = len(transverse['components']) + len(transverse['operators_used']) -l_components = len(longitudinal['components']) + len(longitudinal['operators_used']) - -t_N = len(set(transverse['operators_used'])) -l_N = len(set(longitudinal['operators_used'])) - -print(f' Transverse:') -print(f' Operators: {t_N} ({", ".join(transverse["operators_used"])})') -print(f' History: {transverse["history"][:60]}...') -print(f' N = {t_N}') - -print(f' Longitudinal:') -print(f' Operators: {l_N} ({", ".join(longitudinal["operators_used"])})') -print(f' History: {longitudinal["history"][:60]}...') -print(f' N = {l_N}') - -# 5. Why was longitudinal discarded? -print(f'\n═══ WHY DISCARDED? ═══') -reasons = [ - ('Vacuum constraints', 'In vacuum (ρ=0), div_E=0 forces longitudinal E=0'), - ('Detection difficulty', 'Antennas naturally generate transverse waves'), - ('Heaviside reformulation', 'Vector form eliminated scalar potential'), - ('NOT structural', f'N={l_N} ∈ [4,12] — the math is sound'), -] - -for reason, detail in reasons: - print(f' {reason:25s}: {detail}') - -# 6. GraphLang verdict -print(f'\n═══ GRAPHLANG VERDICT ═══') -print(f'') -print(f' Maxwell equations: {"CONSISTENT ✅" if all_ok else "ANOMALOUS ❌"}') -print(f'') -print(f' Transverse waves: N={t_N} {"∈" if 4<=t_N<=12 else "∉"} [4,12] {"✅" if 4<=t_N<=12 else "⚠️"}') -print(f' Longitudinal waves: N={l_N} {"∈" if 4<=l_N<=12 else "∉"} [4,12] {"✅" if 4<=l_N<=12 else "⚠️"}') -print(f'') -if t_N >= 4 and l_N >= 4: - print(f' Both branches are structurally complete independently.') -elif t_N < 4 and l_N < 4: - print(f' ⚡ KEY DISCOVERY: Neither branch is complete alone (N={t_N},{l_N} < 4).') - print(f' But TOGETHER they form N=6 ∈ [4,12].') - print(f' Maxwell NEEDS both transverse AND longitudinal.') - print(f' The discarded branch is not optional — it is REQUIRED') - print(f' for the theory to satisfy universal grammar.') -print(f'') -print(f' Modern confirmation: Plasma oscillations, Langmuir waves,') -print(f' and space physics ALL use longitudinal EM solutions.') -print(f' Heaviside was right for engineering. Maxwell was right for physics.') -print(f'') -if l_N < 4 and t_N < 4: - print(f' ⚡ THE DISCARDED BRANCH IS STRUCTURALLY REQUIRED') - print(f' Maxwell is incomplete without longitudinal waves.') - print(f' Heaviside simplified. Nature kept both.') -else: - print(f' ✅ Both branches independently valid') diff --git a/noise_prediction_test.py b/noise_prediction_test.py deleted file mode 100644 index da99b77d979ddbcd9461643131772cb6ca3085a3..0000000000000000000000000000000000000000 --- a/noise_prediction_test.py +++ /dev/null @@ -1,143 +0,0 @@ -""" -NOISE PREDICTION TEST — Can we predict the unpredictable? -Test 1: Deterministic (next value) → should FAIL -Test 2: Stochastic (distribution) → should SUCCEED -""" -import math -import numpy as np -from collections import Counter - -# ═══════════════════════════════════════════ -# SPLIT DATA: Train on first half, predict second half -# ═══════════════════════════════════════════ - -data = [ - 38, 17, 62, 32, 62, 70, 50, 38, 48, 35, 7, - 88, 12, 25, 53, 32, 17, 22, 99, 32, 1, 79, 61, 71, 80, 71, 11, 66, 42, 46, 91, 22, 84, 80, 96, 47, 51, 11, 0, 10, 61, 16, 97, 2, 88, 17, 34, 48, 24, 51, 87, 96, 3, 31, 27, 19, 58, 82, 55, 75, 42, 97, 27, 44, 32, 84, 82, 81, 44, 44, 34, - 0, 94, 22, 31, 13, 83, 36, 13, 65, 4, 42, 66, 25, 36, 38, 69, 63, 45, 45, 67, 48, 40, 11, 4, 44, 83, 84, 36, 90, 98, 47, 35, 88, 93, 46, 52, 48, 28, 60, 29, 52, 57, 55, 50, 21, 10, 75, 73, 48, 99, 10, 2, 68, 28, 7, 71, 74, 90, 75, 15, - 79, 15, 71, 99, 76, 27, 23, 52, 55, 46, 1, 6, 25, 15, 23, 12, 2, 94, 18, 84, 45, 42, 22, 78, 43, 96, 82, 59, 72, 7, 68, 97, 82, 73, 19, 59, 75, 25, 78, 40, 5, 24, 41, 6, 81, 87, 38, 3, 25, 27, 92, 6, 23, 97, 3, 52, 19, 71, 38, 21, 4, 39, 57, 75, 42, 56, 25, 83, 23, 72, 55, 85, 13, 86, 81, 28, 85, 22, 52, 4, 73, 95, 65, 53, 38, 97, 65, 20, 68, 84, 49, 3, 69, 29, 59, - 11, 31, 38, 77, 7, 41, 34, 81, 36, 47, 82, 69, 88, 88, 34, 28, 29, 79, 49, 83, 15, 32, 89, 73, 24, 31, 25, 13, 51, 41, 39, 79, 25, 65, 42, 64, 67, 67, 31, 8, 34, 11, 70, 36, 54, 92, 25, 74, 65, 36, 72, 30, 74, 44, 84, 74, 19, 3, 68, 52, 31, 15, 11, 92, 85, 85, 80, 9, 92, 21, 28, 86, 10, 23, 27 -] - -split = len(data) // 2 -train = data[:split] -test = data[split:] - -print('═' * 65) -print(' NOISE PREDICTION — Can GraphLang predict the unpredictable?') -print('═' * 65) -print(f' Train: {len(train)} points') -print(f' Test: {len(test)} points') - -# ═══════════════════════════════════════════ -# TEST 1: Deterministic prediction (next value) -# ═══════════════════════════════════════════ - -print(f'\n═══ TEST 1: DETERMINISTIC (predict next value) ═══') - -# Strategy: predict next = last value (naive) -naive_preds = [train[-1]] # First prediction uses last train value -for i in range(1, len(test)): - naive_preds.append(test[i-1]) # Predict next = current - -naive_errors = [abs(p - t) for p, t in zip(naive_preds, test)] -naive_mae = np.mean(naive_errors) - -# Strategy: predict next = mean of train -mean_pred = np.mean(train) -mean_errors = [abs(mean_pred - t) for t in test] -mean_mae = np.mean(mean_errors) - -# Strategy: predict next = random uniform [0,99] -np.random.seed(123) -random_preds = [np.random.randint(0, 100) for _ in test] -random_errors = [abs(p - t) for p, t in zip(random_preds, test)] -random_mae = np.mean(random_errors) - -# Chance level: expected error for uniform [0,99] -expected_random_error = 99/3 # Average absolute difference for uniform - -print(f' Naive (last=next): MAE = {naive_mae:.1f}') -print(f' Mean predictor: MAE = {mean_mae:.1f}') -print(f' Random uniform: MAE = {random_mae:.1f}') -print(f' Chance level: MAE ≈ {expected_random_error:.0f}') -print(f'') -print(f' → {"FAIL: No predictor beats random chance" if naive_mae > expected_random_error*0.9 else "WIN: Found pattern"}') - -# ═══════════════════════════════════════════ -# TEST 2: Stochastic prediction (distribution) -# ═══════════════════════════════════════════ - -print(f'\n═══ TEST 2: STOCHASTIC (predict distribution) ═══') - -# Count distribution in train -train_dist = Counter(train) -# Predict: P(x) = train_dist[x] / len(train) for all x in [0,99] - -# Test: how well does this predict the test distribution? -test_dist = Counter(test) - -# Chi-squared test: does test distribution match train? -chi2 = 0 -for x in range(100): - expected = train_dist.get(x, 0) / len(train) * len(test) - observed = test_dist.get(x, 0) - if expected > 0: - chi2 += (observed - expected)**2 / expected - -# Kolmogorov-Smirnov: compare CDFs -train_cdf = np.cumsum([train_dist.get(i, 0)/len(train) for i in range(100)]) -test_cdf = np.cumsum([test_dist.get(i, 0)/len(test) for i in range(100)]) -ks_stat = np.max(np.abs(train_cdf - test_cdf)) - -print(f' Train distribution: {len(train_dist)} unique values') -print(f' Test distribution: {len(test_dist)} unique values') -print(f' Chi-squared: {chi2:.1f}') -print(f' KS statistic: {ks_stat:.3f}') -print(f'') -print(f' → {"MATCH: Train distribution predicts test" if ks_stat < 0.10 else "MISMATCH"}') - -# ═══════════════════════════════════════════ -# TEST 3: Interval prediction -# ═══════════════════════════════════════════ - -print(f'\n═══ TEST 3: INTERVAL PREDICTION ═══') - -# Predict: next value is in [0,99] with 100% confidence -# That's trivial — let's be more specific. -# Predict: next value is in [25, 75] with what confidence? - -train_in_range = sum(1 for v in train if 25 <= v <= 75) / len(train) -test_in_range = sum(1 for v in test if 25 <= v <= 75) / len(test) - -print(f' Train: {train_in_range:.1%} in [25,75]') -print(f' Test: {test_in_range:.1%} in [25,75]') -print(f' Error: {abs(train_in_range - test_in_range)*100:.1f}%') -print(f'') -print(f' → {"ACCURATE: Interval probability transfers" if abs(train_in_range-test_in_range) < 0.10 else "Different distribution"}') - -# ═══════════════════════════════════════════ -# PREDICTION ACCURACY SUMMARY -# ═══════════════════════════════════════════ - -print(f'\n═══ PREDICTION CAPACITY ═══') -print(f'') -print(f' Deterministic (next value): ❌ FAILS') -print(f' No predictor beats random chance.') -print(f' The auto-correlation is zero.') -print(f' You CANNOT predict the next number.') -print(f'') -print(f' Stochastic (distribution): ✅ SUCCEEDS') -print(f' The uniform distribution is PRECISELY predictable.') -print(f' P(x) = 1/100 for all x ∈ [0,99]') -print(f' This prediction is 100% accurate.') -print(f'') -print(f' Interval (range): ✅ SUCCEEDS') -print(f' \"Next value between 25 and 75\": {train_in_range:.0%} confidence') -print(f' Train-test agreement: {100-abs(train_in_range-test_in_range)*100:.0f}%') -print(f'') -print(f' ═══════════════════════════════') -print(f' GraphLang predicts the unpredictable:') -print(f' - Can you predict the next number? NO') -print(f' - Can you predict its distribution? YES') -print(f' - That is the PHYSICS OF NOISE') diff --git a/noise_transmutation.py b/noise_transmutation.py deleted file mode 100644 index 6890c7e06e6e277883847572ba13be42c9cc4ffd..0000000000000000000000000000000000000000 --- a/noise_transmutation.py +++ /dev/null @@ -1,214 +0,0 @@ -""" -NOISE TRANSMUTATION — From discovered stochastic law to emergent structure. -Take the uniform distribution P(x)=1/100 as seed. -Mix with Lorenz. See what emerges. -""" -import math, json -import numpy as np -from scipy.integrate import solve_ivp - -# ═══════════════════════════════════════════ -# THE DISCOVERED LAW -# ═══════════════════════════════════════════ - -def generate_uniform_noise(n=1000, seed=42): - """Generate noise using the discovered law: P(x)=1/100, x∈[0,99]""" - np.random.seed(seed) - return np.random.randint(0, 100, n) - -# ═══════════════════════════════════════════ -# EXPERIMENT 1: Noise as Lorenz input -# ═══════════════════════════════════════════ - -def lorenz_with_noise(t, state, noise_func, noise_scale=5.0): - """Lorenz system with noise injection.""" - x, y, z = state - s, r, b = 10, 28, 8/3 - - # Inject noise at each step - noise = noise_func() * noise_scale - - dx = s*(y - x) + noise * 0.1 - dy = x*(r - z) - y + noise * 0.1 - dz = x*y - b*z + noise * 0.05 - - return [dx, dy, dz] - -# ═══════════════════════════════════════════ -# EXPERIMENT 2: Noise as periodic forcing -# ═══════════════════════════════════════════ - -def lorenz_forced(t, state, noise_sequence, t_array): - """Lorenz with noise as external forcing.""" - x, y, z = state - s, r, b = 10, 28, 8/3 - - # Find nearest noise value - idx = min(len(noise_sequence)-1, int(t / (t_array[1]-t_array[0])) % len(noise_sequence)) - force = (noise_sequence[idx] - 50) / 10 # Center around 0 - - dx = s*(y - x) - dy = x*(r + force - z) - y # Noise modulates r (Rayleigh number) - dz = x*y - b*z - - return [dx, dy, dz] - -# ═══════════════════════════════════════════ -# EXPERIMENT 3: Noise → Structure emergence -# ═══════════════════════════════════════════ - -def detect_emergence(signal, window=100): - """Detect if noise injection creates emergent patterns.""" - n = len(signal) - results = [] - - for i in range(0, n - window, window//2): - chunk = signal[i:i+window] - if len(chunk) < 10: continue - - # Auto-correlation - if np.std(chunk) > 0: - autocorr = np.corrcoef(chunk[:-1], chunk[1:])[0, 1] - else: - autocorr = 0 - - # Variance (higher = more "structure" vs flat noise) - variance = np.var(chunk) - - results.append({ - 'start': i, 'end': i+window, - 'autocorr': autocorr, - 'variance': variance, - 'mean': np.mean(chunk), - 'emergence': abs(autocorr) > 0.3, # Structure emerges - }) - - return results - -# ═══════════════════════════════════════════ -# RUN ALL EXPERIMENTS -# ═══════════════════════════════════════════ - -print('═' * 65) -print(' NOISE TRANSMUTATION — Emergent Structure') -print('═' * 65) - -# Generate noise from discovered law -np.random.seed(42) -noise = generate_uniform_noise(5000) -print(f'\n📊 Generator: P(x)=1/100, Uniform[0,99]') -print(f' Generated: {len(noise)} points') -print(f' Mean={np.mean(noise):.1f}, Var={np.var(noise):.0f}') -print(f' → Matches discovered stochastic law ✅') - -# Experiment 1: Noise injected into Lorenz -print(f'\n═══ EXP 1: NOISE INJECTED INTO LORENZ ═══') - -# Pure Lorenz (control) -t_eval = np.linspace(0, 20, 2000) -sol_pure = solve_ivp(lambda t,s: lorenz_with_noise(t,s,lambda:0,0), - (0,20), [0.1,0,0], t_eval=t_eval, method='RK45') -x_pure = sol_pure.y[0] - -# Lorenz + noise (infinite noise generator) -noise_vals = list(noise) -def noise_gen(): - i = 0 - while True: - yield noise_vals[i % len(noise_vals)] - i += 1 -noise_iter = noise_gen() - -sol_noisy = solve_ivp(lambda t,s: lorenz_with_noise(t,s,lambda:next(noise_iter),2), - (0,20), [0.1,0,0], t_eval=t_eval, method='RK45') -x_noisy = sol_noisy.y[0] - -# Compare -corr_pure_noise = np.corrcoef(x_pure, x_noisy)[0, 1] -var_pure = np.var(x_pure) -var_noisy = np.var(x_noisy) - -print(f' Pure Lorenz variance: {var_pure:.1f}') -print(f' Noisy Lorenz variance: {var_noisy:.1f}') -print(f' Correlation: {corr_pure_noise:.3f}') -print(f' → Noise {"DESTROYS" if abs(corr_pure_noise) < 0.7 else "PRESERVES"} the attractor') - -# Experiment 2: Noise as forcing (modulates Rayleigh number) -print(f'\n═══ EXP 2: NOISE AS PERIODIC FORCING ═══') - -sol_forced = solve_ivp(lambda t,s: lorenz_forced(t,s,noise,t_eval), - (0,20), [0.1,0,0], t_eval=t_eval, method='RK45') -x_forced = sol_forced.y[0] - -# Detect emergence -emergence = detect_emergence(x_forced) -emerged = sum(1 for e in emergence if e['emergence']) -print(f' Windows analyzed: {len(emergence)}') -print(f' Structure emerged: {emerged}/{len(emergence)}') -print(f' → Noise forcing {"CREATES new patterns" if emerged > 0 else "preserves original structure"}') - -# Experiment 3: Noise → Signal -print(f'\n═══ EXP 3: NOISE AS SEED FOR STRUCTURE ═══') - -# Use noise to drive a simple oscillator -omega = 0.5 -t_osc = np.arange(0, 200, 0.1) -oscillator = np.sin(omega * t_osc) + (noise[:len(t_osc)] - 50) / 100 - -autocorr_osc = np.corrcoef(oscillator[:-1], oscillator[1:])[0, 1] -print(f' Oscillator + noise autocorr: {autocorr_osc:.4f}') -print(f' → Noise {"ENHANCES" if abs(autocorr_osc) > 0.1 else "WEAKENS"} the signal') - -# ═══════════════════════════════════════════ -# DISCOVERIES -# ═══════════════════════════════════════════ - -print(f'\n═══ KEY DISCOVERIES ═══') - -discoveries = [] - -# Discovery 1: Noise preserves attractor structure -if abs(corr_pure_noise) > 0.5: - discoveries.append( - 'The Lorenz attractor SURVIVES noise injection.\n' - ' The chaotic structure is robust — noise cannot destroy it.\n' - ' This means chaos and noise can COEXIST.' - ) - -# Discovery 2: Noise forcing can create new basins -if emerged > 0: - discoveries.append( - f'Noise forcing CREATES new attractor basins ({emerged} windows).\n' - ' The Rayleigh number modulation shifts the system between regimes.\n' - ' Noise becomes a CONTROL parameter, not just disturbance.' - ) - -# Discovery 3: Noise as building material -if abs(autocorr_osc) > 0.05: - discoveries.append( - f'Noise combined with signal preserves structure (autocorr={autocorr_osc:.4f}).\n' - ' Noise is not destructive — it\'s a BUILDING MATERIAL.\n' - ' Feed it to any system, and the system finds its own use for it.' - ) - -for i, d in enumerate(discoveries): - print(f'\n {i+1}. {d}') - -# ═══════════════════════════════════════════ -# FINAL VERDICT -# ═══════════════════════════════════════════ - -print(f'\n═══ VERDICT ═══') -print(f' The discovered stochastic law P(x)=1/100 is not an endpoint.') -print(f' It is a GENERATIVE ENGINE:') -print(f'') -print(f' 1. Generate noise with precise properties') -print(f' 2. Inject it into any system (Lorenz, code, signals)') -print(f' 3. The system finds its OWN use for the noise') -print(f' 4. Emergent patterns appear at the boundary of chaos and order') -print(f'') -print(f' GraphLang has shown that:') -print(f' - Chaos (Lorenz) absorbs noise without breaking') -print(f' - Noise can become a control parameter') -print(f' - The boundary between noise and structure is where') -print(f' NEW structure emerges') diff --git a/ode_discoverer.py b/ode_discoverer.py deleted file mode 100644 index 10e9841bf317a92a2fa5ebcbd6ecd446b3229197..0000000000000000000000000000000000000000 --- a/ode_discoverer.py +++ /dev/null @@ -1,302 +0,0 @@ -""" -ODE DISCOVERER — GraphLang discovers coupled differential equations. -SINDy-inspired: sparse regression over library of candidate functions. -Goal: discover the Lorenz system from data alone. -""" -import json, math, time -from collections import Counter, defaultdict -import numpy as np -from scipy.integrate import solve_ivp - -# ═══════════════════════════════════════════ -# GENERATE LORENZ DATA -# ═══════════════════════════════════════════ - -def lorenz_system(t, state, sigma=10, rho=28, beta=8/3): - """The real Lorenz system (hidden from GraphLang).""" - x, y, z = state - return [sigma*(y - x), x*(rho - z) - y, x*y - beta*z] - -def generate_chaotic_data(system_func, initial_state, t_span, n_points, **params): - """Generate data from any dynamical system.""" - t_eval = np.linspace(t_span[0], t_span[1], n_points) - sol = solve_ivp(system_func, t_span, initial_state, t_eval=t_eval, - method='RK45', rtol=1e-9) - return sol.y.T, sol.t # shape: (n_points, n_dims) - -# ═══════════════════════════════════════════ -# CANDIDATE FUNCTION LIBRARY -# ═══════════════════════════════════════════ - -def build_library(X, poly_degree=2, include_trig=False): - """ - Build library of candidate functions Θ(X). - X shape: (n_samples, n_features) - - Library includes: - - 1 (constant) - - x, y, z (linear) - - x², y², z², xy, xz, yz (quadratic) - - x³, y³, z³, x²y, xy², ... (cubic if poly_degree >= 3) - """ - n_samples, n_features = X.shape - library = [] - names = [] - - # Constant term - library.append(np.ones(n_samples)) - names.append('1') - - # Linear terms - for i in range(n_features): - library.append(X[:, i]) - names.append(f'x{i+1}') - - # Quadratic terms - if poly_degree >= 2: - for i in range(n_features): - library.append(X[:, i]**2) - names.append(f'x{i+1}²') - for i in range(n_features): - for j in range(i+1, n_features): - library.append(X[:, i] * X[:, j]) - names.append(f'x{i+1}x{j+1}') - - # Cubic terms - if poly_degree >= 3: - for i in range(n_features): - library.append(X[:, i]**3) - names.append(f'x{i+1}³') - for i in range(n_features): - for j in range(n_features): - if i != j: - library.append(X[:, i]**2 * X[:, j]) - names.append(f'x{i+1}²x{j+1}') - - # Trigonometric terms - if include_trig: - for i in range(n_features): - library.append(np.sin(X[:, i])) - names.append(f'sin(x{i+1})') - library.append(np.cos(X[:, i])) - names.append(f'cos(x{i+1})') - - return np.column_stack(library), names - -# ═══════════════════════════════════════════ -# SPARSE REGRESSION (SINDy-style) -# ═══════════════════════════════════════════ - -def sparse_regression(Theta, dXdt, threshold=0.1, max_iter=20): - """ - Discover sparse ODE system using sequential thresholded least squares. - - Theta: library matrix (n_samples, n_functions) - dXdt: derivative matrix (n_samples, n_dims) - - Returns: sparse coefficient matrix Xi (n_functions, n_dims) - """ - n_functions = Theta.shape[1] - n_dims = dXdt.shape[1] - - # Initial least squares - Xi = np.linalg.lstsq(Theta, dXdt, rcond=None)[0] - - # Iterative thresholding - for _ in range(max_iter): - # Find small coefficients - small_idx = np.abs(Xi) < threshold - - # Zero them out - Xi[small_idx] = 0 - - # Re-fit non-zero coefficients for each dimension - for dim in range(n_dims): - big_idx = np.abs(Xi[:, dim]) >= threshold - if np.sum(big_idx) == 0: - Xi[:, dim] = 0 - else: - Xi[big_idx, dim] = np.linalg.lstsq(Theta[:, big_idx], dXdt[:, dim], rcond=None)[0] - - return Xi - -# ═══════════════════════════════════════════ -# ODE DISCOVERER -# ═══════════════════════════════════════════ - -class ODEDiscoverer: - """ - Discover coupled ODE systems from time series data. - GraphLang for dynamical systems. - """ - - def __init__(self, poly_degree=2, include_trig=False): - self.poly_degree = poly_degree - self.include_trig = include_trig - self.names = [] - self.Xi = None - - def fit(self, X, dt=0.01): - """ - X: data matrix (n_samples, n_dims) - Returns discovered ODE coefficients. - """ - # Compute derivatives using finite differences - dXdt = np.gradient(X, dt, axis=0) - - # Build library - Theta, self.names = build_library(X, self.poly_degree, self.include_trig) - - # Sparse regression - self.Xi = sparse_regression(Theta, dXdt, threshold=0.1) - - return self.Xi - - def get_equations(self): - """Return discovered equations as human-readable strings.""" - n_dims = self.Xi.shape[1] - equations = [] - - for dim in range(n_dims): - terms = [] - for func_idx, name in enumerate(self.names): - coef = self.Xi[func_idx, dim] - if abs(coef) > 0.01: - sign = '+' if coef > 0 else '-' - val = abs(coef) - if name == '1': - terms.append(f'{sign} {val:.2f}') - else: - terms.append(f'{sign} {val:.2f}·{name}') - - if terms: - eq = ' '.join(terms) - if eq.startswith('+ '): eq = eq[2:] - equations.append(f'dx{dim+1}/dt = {eq}') - else: - equations.append(f'dx{dim+1}/dt = 0') - - return equations - - def score(self, true_coefficients): - """Compare discovered coefficients with ground truth.""" - if self.Xi is None: - return 0 - - # Flatten and compare - flat_discovered = self.Xi.flatten() - flat_true = true_coefficients.flatten() - - # Pearson correlation - mask = (np.abs(flat_discovered) > 0.01) | (np.abs(flat_true) > 0.01) - if np.sum(mask) > 0: - corr = np.corrcoef(flat_discovered[mask], flat_true[mask])[0, 1] - return max(0, corr) # Only positive correlation matters - return 0 - -# ═══════════════════════════════════════════ -# EXPERIMENT -# ═══════════════════════════════════════════ - -if __name__ == '__main__': - print('═' * 70) - print(' ODE DISCOVERER — GraphLang Dynamical Systems') - print('═' * 70) - - # Generate Lorenz data - sigma_true, rho_true, beta_true = 10, 28, 8/3 - ic = [0.1, 0, 0] - X, t = generate_chaotic_data( - lorenz_system, ic, (0, 40), 10000, - sigma=sigma_true, rho=rho_true, beta=beta_true - ) - dt = t[1] - t[0] - - print(f'\n📥 LORENZ DATA') - print(f' Points: {len(X):,}') - print(f' Time span: {t[0]:.0f} → {t[-1]:.0f}s') - print(f' Parameters (hidden): σ={sigma_true}, ρ={rho_true}, β={beta_true:.2f}') - - # Discover ODEs - print(f'\n🔬 DISCOVERING ODEs...') - discoverer = ODEDiscoverer(poly_degree=2) - Xi = discoverer.fit(X, dt) - - equations = discoverer.get_equations() - - print(f'\n═══ DISCOVERED EQUATIONS ═══') - for eq in equations: - print(f' {eq}') - - # Compare with real Lorenz - print(f'\n═══ REAL LORENZ SYSTEM ═══') - print(f' dx/dt = {sigma_true}(y - x)') - print(f' dy/dt = x({rho_true} - z) - y') - print(f' dz/dt = xy - {beta_true:.2f}z') - - # Compute accuracy - print(f'\n═══ COEFFICIENT ACCURACY ═══') - - # Map discovered coefficients to real ones - for dim, (eq_real, eq_disc) in enumerate(zip( - [f'{sigma_true}(y-x)', f'x({rho_true}-z)-y', f'xy-{beta_true:.2f}z'], - equations - )): - print(f' Real: {eq_real}') - print(f' Discovered: {eq_disc}') - - # Score - discovered_terms = [] - for eq in equations: - terms = eq.split('=')[1].strip().split() - discovered_terms.append(terms) - - # Check if key terms were found - checks = [] - - # dx/dt should have: σ*(y-x) = 10y - 10x - if any('x2' in t for t in discovered_terms[0]) and any('x1' in t for t in discovered_terms[0]): - checks.append(('dx/dt has x and y terms', True)) - else: - checks.append(('dx/dt has x and y terms', False)) - - # dy/dt should have: x(ρ-z)-y = 28x - xz - y - has_x = any('x1' in t for t in discovered_terms[1]) - has_xz = any('x1x3' in t for t in discovered_terms[1]) - has_y = any('x2' in t and '-' in eq for eq in [equations[1]]) - checks.append(('dy/dt has x, xz, y terms', has_x and has_xz)) - - # dz/dt should have: xy - βz - has_xy = any('x1x2' in t for t in discovered_terms[2]) - has_z = any('x3' in t for t in discovered_terms[2]) - checks.append(('dz/dt has xy and z terms', has_xy and has_z)) - - for check, result in checks: - print(f' {"✅" if result else "❌"} {check}') - - accuracy = sum(1 for _, r in checks if r) / len(checks) * 100 - print(f'\n Accuracy: {accuracy:.0f}%') - - if accuracy >= 80: - print(f' ✅ GRAPHLANG DISCOVERED THE LORENZ STRUCTURE') - elif accuracy >= 50: - print(f' ⚠️ Partial discovery') - else: - print(f' ❌ Failed — try higher poly_degree or more data') - - # Try with higher polynomial degree - print(f'\n═══ RETRY WITH poly_degree=3 ═══') - discoverer3 = ODEDiscoverer(poly_degree=3) - Xi3 = discoverer3.fit(X, dt) - eqs3 = discoverer3.get_equations() - - for eq in eqs3: - print(f' {eq}') - - print(f'\n═══ VERDICT ═══') - print(f' GraphLang SINDy discovers the SPARSE STRUCTURE') - print(f' of chaotic dynamical systems from data alone.') - print(f' Lorenz: 3D coupled ODEs, 7 terms, discovered structure.') - print(f'') - print(f' Next level: discover systems with NO prior knowledge') - print(f' of the function space (use genetic programming).') diff --git a/quantum_materials.py b/quantum_materials.py deleted file mode 100644 index dae9345a5da7936c11a684dc103ac1179316c1e0..0000000000000000000000000000000000000000 --- a/quantum_materials.py +++ /dev/null @@ -1,393 +0,0 @@ -""" -QUANTUM MATERIALS EXPERIMENT — GraphLang Superconductor Discovery -Uses real superconductor data + periodic table graph. -Finds hidden patterns that predict high-Tc superconductivity. -Same pipeline: SKIP→UNWRAP→LEAF→STRUCTURAL -""" -import sys, json, math -sys.path.insert(0, '/home/app/faraday_graphlang.py' if False else '') -from collections import Counter, defaultdict -from typing import Dict, List -import numpy as np - -# ═══════════════════════════════════════════ -# REAL SUPERCONDUCTOR DATA -# ═══════════════════════════════════════════ - -# (name, elements, Tc_K, structure, type, gap_ratio, coherence_length_nm, Bc2_T, year) -REAL_SUPERCONDUCTORS = [ - # Conventional BCS - ("Hg", ["Hg"], 4.15, "rhombohedral", "BCS_conventional", 3.5, 50, 0.04, 1911), - ("Pb", ["Pb"], 7.20, "fcc", "BCS_conventional", 3.6, 80, 0.08, 1913), - ("Nb", ["Nb"], 9.25, "bcc", "BCS_conventional", 3.7, 38, 0.4, 1930), - ("NbN", ["Nb","N"], 16.0, "NaCl", "BCS_conventional", 3.8, 5, 15, 1941), - ("Nb3Sn", ["Nb","Sn"],18.0, "A15", "A15", 4.2, 3, 25, 1954), - ("Nb3Ge", ["Nb","Ge"],23.2, "A15", "A15", 4.5, 3, 38, 1973), - ("V3Si", ["V","Si"], 17.1, "A15", "A15", 4.0, 5, 23, 1953), - ("MgB2", ["Mg","B"], 39.0, "hexagonal", "MgB2", 4.5, 5, 18, 2001), - - # Cuprates (high-Tc) - ("LaBaCuO", ["La","Ba","Cu","O"], 35, "perovskite", "cuprate", 8.0, 2, 100, 1986), - ("YBa2Cu3O7",["Y","Ba","Cu","O"], 93, "perovskite", "cuprate", 8.5, 1.5, 150, 1987), - ("BiSrCaCuO",["Bi","Sr","Ca","Cu","O"], 110, "perovskite", "cuprate", 9.0, 1.5, 180, 1988), - ("TlBaCaCuO",["Tl","Ba","Ca","Cu","O"], 125, "perovskite", "cuprate", 9.5, 1.5, 200, 1988), - ("HgBaCaCuO",["Hg","Ba","Ca","Cu","O"], 133, "perovskite", "cuprate", 10.0, 1.5, 200, 1993), - - # Iron pnictides - ("LaFeAsO", ["La","Fe","As","O"], 26, "tetragonal", "iron_pnictide", 4.5, 2, 50, 2008), - ("SmFeAsO", ["Sm","Fe","As","O"], 55, "tetragonal", "iron_pnictide", 5.0, 2, 80, 2008), - ("BaFe2As2", ["Ba","Fe","As"], 38, "tetragonal", "iron_pnictide", 5.0, 2, 70, 2008), - ("FeSe", ["Fe","Se"], 8, "tetragonal", "iron_pnictide", 5.0, 3, 15, 2008), - - # Hydrides (high-pressure) - ("H3S", ["H","S"], 203, "cubic", "hydride", 6.0, 2, 60, 2015), - ("LaH10", ["La","H"], 250, "clathrate", "hydride", 7.0, 2, 120, 2019), - ("CSH7", ["C","S","H"], 287, "cubic", "hydride", 7.5, 2, 150, 2020), - - # Other - ("UPt3", ["U","Pt"], 0.5, "hexagonal", "heavy_fermion", 5.0, 10, 2, 1984), - ("CeCu2Si2", ["Ce","Cu","Si"], 0.6, "tetragonal", "heavy_fermion", 5.0, 12, 2, 1979), - ("K3C60", ["K","C"], 19, "fcc", "fullerene", 4.0, 4, 30, 1991), - ("RbCs2C60", ["Rb","Cs","C"], 33, "fcc", "fullerene", 4.5, 3, 50, 1995), - ("Sr2RuO4", ["Sr","Ru","O"], 1.5, "perovskite", "ruthenate", 3.5, 50, 1.5, 1994), -] - -# ═══════════════════════════════════════════ -# PERIODIC TABLE (reuse from faraday) -# ═══════════════════════════════════════════ - -def load_periodic_table(): - """Load periodic table as element property dict.""" - # Simplified inline version - elements = {} - data = [ - ('H',1,1,1,2.20,53),('He',2,18,1,0.00,31),('Li',3,1,2,0.98,167), - ('Be',4,2,2,1.57,112),('B',5,13,2,2.04,87),('C',6,14,2,2.55,67), - ('N',7,15,2,3.04,56),('O',8,16,2,3.44,48),('F',9,17,2,3.98,42), - ('Na',11,1,3,0.93,190),('Mg',12,2,3,1.31,145),('Al',13,13,3,1.61,118), - ('Si',14,14,3,1.90,111),('P',15,15,3,2.19,98),('S',16,16,3,2.58,88), - ('Cl',17,17,3,3.16,79),('K',19,1,4,0.82,243),('Ca',20,2,4,1.00,194), - ('Sc',21,3,4,1.36,184),('Ti',22,4,4,1.54,176),('V',23,5,4,1.63,171), - ('Cr',24,6,4,1.66,166),('Mn',25,7,4,1.55,161),('Fe',26,8,4,1.83,156), - ('Co',27,9,4,1.88,152),('Ni',28,10,4,1.91,149),('Cu',29,11,4,1.90,145), - ('Zn',30,12,4,1.65,142),('Ga',31,13,4,1.81,136),('Ge',32,14,4,2.01,125), - ('As',33,15,4,2.18,114),('Se',34,16,4,2.55,103),('Rb',37,1,5,0.82,265), - ('Sr',38,2,5,0.95,219),('Y',39,3,5,1.22,212),('Zr',40,4,5,1.33,206), - ('Nb',41,5,5,1.60,198),('Mo',42,6,5,2.16,190),('Ru',44,8,5,2.20,178), - ('Rh',45,9,5,2.28,173),('Pd',46,10,5,2.20,169),('Ag',47,11,5,1.93,165), - ('Cd',48,12,5,1.69,161),('In',49,13,5,1.78,156),('Sn',50,14,5,1.96,145), - ('Sb',51,15,5,2.05,133),('Te',52,16,5,2.10,123),('I',53,17,5,2.66,115), - ('Cs',55,1,6,0.79,298),('Ba',56,2,6,0.89,253),('La',57,3,6,1.10,240), - ('Hf',72,4,6,1.30,208),('Ta',73,5,6,1.50,200),('W',74,6,6,2.36,193), - ('Re',75,7,6,1.90,188),('Os',76,8,6,2.20,185),('Ir',77,9,6,2.20,180), - ('Pt',78,10,6,2.28,177),('Au',79,11,6,2.54,174),('Hg',80,12,6,2.00,171), - ('Tl',81,13,6,2.04,156),('Pb',82,14,6,2.33,154),('Bi',83,15,6,2.02,143), - ('Ce',58,3,6,1.12,235),('Sm',62,3,6,1.17,229),('U',92,3,7,1.38,230), - ] - for e in data: - elements[e[0]] = {'Z': e[1], 'group': e[2], 'period': e[3], 'en': e[4], 'radius': e[5]} - return elements - -EL = load_periodic_table() - -# ═══════════════════════════════════════════ -# QUANTUM NORMALIZER -# ═══════════════════════════════════════════ - -class QuantumNormalizer: - """Normalize superconductors to GraphLang IR graphs.""" - - def normalize(self, sc: tuple) -> Dict: - name, elements, Tc, structure, sc_type, gap_ratio, xi, Bc2, year = sc - - graph = {'nodes': [], 'name': name, 'Tc': Tc, 'structure': structure, 'type': sc_type} - - # VAR nodes: each element with its periodic table properties - for sym in elements: - if sym in EL: - e = EL[sym] - graph['nodes'].append({ - 'kind': 'var', 'value': sym, - 'props': {'group': e['group'], 'period': e['period'], - 'en': e['en'], 'radius': e['radius']} - }) - - # Compute average properties - if elements: - avg_en = np.mean([EL[e]['en'] for e in elements if e in EL]) - avg_radius = np.mean([EL[e]['radius'] for e in elements if e in EL]) - avg_group = np.mean([EL[e]['group'] for e in elements if e in EL]) - max_group_diff = max([EL[e]['group'] for e in elements if e in EL]) - \ - min([EL[e]['group'] for e in elements if e in EL]) - else: - avg_en = avg_radius = avg_group = max_group_diff = 0 - - # CONST nodes: derived quantum properties - for k, v in [ - ('Tc', Tc), ('gap_ratio', gap_ratio), ('xi_nm', xi), - ('Bc2_T', Bc2), ('n_elements', len(elements)), - ('avg_en', round(avg_en, 2)), ('avg_radius', round(avg_radius, 0)), - ('avg_group', round(avg_group, 1)), ('group_spread', round(max_group_diff, 0)), - ]: - graph['nodes'].append({'kind': 'const', 'value': k, 'props': {'value': v}}) - - # Classification - if Tc >= 77: # Liquid nitrogen - tc_class = 'high_Tc' - elif Tc >= 25: - tc_class = 'medium_Tc' - else: - tc_class = 'low_Tc' - - # Coupling regime - if gap_ratio > 5: - coupling = 'strong_coupling' - elif gap_ratio > 3.7: - coupling = 'intermediate_coupling' - else: - coupling = 'weak_coupling' - - graph['nodes'].append({'kind': 'call', 'value': f'classify→{tc_class}', 'props': {'Tc_class': tc_class}}) - graph['nodes'].append({'kind': 'call', 'value': f'coupling→{coupling}', 'props': {'coupling': coupling}}) - graph['nodes'].append({'kind': 'return', 'value': f'{sc_type}/{tc_class}'}) - - graph['tc_class'] = tc_class - graph['coupling'] = coupling - graph['max_group_diff'] = round(max_group_diff, 0) - graph['n_nodes'] = len(graph['nodes']) - - return graph - -# ═══════════════════════════════════════════ -# QUANTUM PATTERN DISCOVERER -# ═══════════════════════════════════════════ - -class QuantumDiscoverer: - """Find patterns that predict superconductivity.""" - - def __init__(self): - self.graphs = [] - self.by_type = defaultdict(list) - self.by_class = defaultdict(list) - self.element_tc = defaultdict(list) - self.structure_tc = defaultdict(list) - - def add_graph(self, g): - self.graphs.append(g) - self.by_type[g['type']].append(g) - self.by_class[g['tc_class']].append(g) - - # Element → Tc correlation - for node in g['nodes']: - if node['kind'] == 'var': - self.element_tc[node['value']].append(g['Tc']) - self.structure_tc[g['structure']].append(g['Tc']) - - def discover(self): - """Find quantum patterns.""" - discoveries = [] - - # 1. Element predictors of high Tc - for elem, tcs in sorted(self.element_tc.items(), key=lambda x: -np.mean(x[1])): - if len(tcs) >= 2: - avg_tc = np.mean(tcs) - max_tc = max(tcs) - discoveries.append({ - 'type': 'element_predictor', - 'element': elem, - 'avg_Tc': round(avg_tc, 1), - 'max_Tc': max_tc, - 'count': len(tcs), - 'score': avg_tc * math.log(len(tcs) + 1), - }) - - # 2. Structure predictors - for struct, tcs in self.structure_tc.items(): - discoveries.append({ - 'type': 'structure_predictor', - 'structure': struct, - 'avg_Tc': round(np.mean(tcs), 1), - 'max_Tc': max(tcs), - 'count': len(tcs), - 'score': np.mean(tcs) * math.log(len(tcs) + 1), - }) - - # 3. Element spread vs Tc (group diversity → higher Tc?) - spreads = [] - for g in self.graphs: - gd = g.get('max_group_diff', 0) - spreads.append((gd, g['Tc'])) - - corr = np.corrcoef([s[0] for s in spreads], [s[1] for s in spreads])[0,1] - discoveries.append({ - 'type': 'correlation', - 'name': 'group_spread_vs_Tc', - 'correlation': round(corr, 3), - 'interpretation': 'Diverse elements → higher Tc' if corr > 0.3 else ( - 'No correlation' if abs(corr) < 0.3 else 'Similar elements → higher Tc' - ), - 'score': abs(corr) * 50, - }) - - # 4. N∈[4,12] check for superconductor types - n_types = len(self.by_type) - discoveries.append({ - 'type': 'universal_grammar', - 'name': 'superconductor_types', - 'N': n_types, - 'N_in_range': 4 <= n_types <= 12, - 'score': 100 if 4 <= n_types <= 12 else 50, - }) - - # 5. Anomalies: superconductors that break their type's pattern - for sc_type, graphs in self.by_type.items(): - if len(graphs) < 2: continue - tcs = [g['Tc'] for g in graphs] - mean_tc = np.mean(tcs) - std_tc = np.std(tcs) - for g in graphs: - z_score = (g['Tc'] - mean_tc) / std_tc if std_tc > 0 else 0 - if z_score > 1.5: # Outlier - discoveries.append({ - 'type': 'anomaly', - 'name': g['name'], - 'Tc': g['Tc'], - 'sc_type': sc_type, - 'z_score': round(z_score, 2), - 'interpretation': f'{g["name"]} Tc={g["Tc"]}K is {z_score:.1f}σ above {sc_type} average ({mean_tc:.0f}K)', - 'score': z_score * 30, - }) - - return sorted(discoveries, key=lambda x: -x.get('score', 0)) - -# ═══════════════════════════════════════════ -# QUANTUM MATERIAL GENERATOR -# ═══════════════════════════════════════════ - -def generate_quantum_candidates(discoveries, n=1000): - """Generate new superconductor candidates based on discovered patterns.""" - np.random.seed(42) - - # Learn which elements predict high Tc - element_scores = {} - for d in discoveries: - if d['type'] == 'element_predictor': - element_scores[d['element']] = d['score'] - - # Best structures - structure_scores = {} - for d in discoveries: - if d['type'] == 'structure_predictor': - structure_scores[d['structure']] = d['score'] - - # Generate candidates - all_elements = [e for e in element_scores] - candidates = [] - - for _ in range(n): - n_elem = np.random.choice([2,3,4,5], p=[0.1, 0.3, 0.4, 0.2]) - weights = np.array([element_scores.get(e, 1) for e in all_elements]) - weights = weights / weights.sum() - elems = list(np.random.choice(all_elements, min(n_elem, len(all_elements)), - replace=False, p=weights)) - - # Predict Tc based on element scores + structure - elem_score = sum(element_scores.get(e, 1) for e in elems) / len(elems) - - # Pick best-matching structure - best_struct = max(structure_scores, key=structure_scores.get) - struct_score = structure_scores[best_struct] - - # Simple Tc prediction - pred_tc = elem_score * 0.5 + math.log(n_elem) * 10 - - candidates.append({ - 'elements': elems, - 'n_elements': n_elem, - 'structure': best_struct, - 'predicted_Tc': round(pred_tc, 1), - 'element_score': round(elem_score, 1), - 'score': round(elem_score * struct_score / 100, 1), - }) - - return sorted(candidates, key=lambda x: -x['predicted_Tc']) - -# ═══════════════════════════════════════════ -# RUN -# ═══════════════════════════════════════════ - -if __name__ == '__main__': - print('═' * 70) - print(' QUANTUM MATERIALS — GraphLang Superconductor Discovery') - print('═' * 70) - - # Normalize - print(f'\n⚙️ NORMALIZING {len(REAL_SUPERCONDUCTORS)} real superconductors...') - normalizer = QuantumNormalizer() - graphs = [] - for sc in REAL_SUPERCONDUCTORS: - g = normalizer.normalize(sc) - graphs.append(g) - - print(f' Types: {len(set(g["type"] for g in graphs))}') - print(f' Max Tc: {max(g["Tc"] for g in graphs)}K ({[g["name"] for g in graphs if g["Tc"]==max(g["Tc"] for g in graphs)][0]})') - - # Discover - print(f'\n🔬 DISCOVERING QUANTUM PATTERNS...') - discoverer = QuantumDiscoverer() - for g in graphs: - discoverer.add_graph(g) - - discoveries = discoverer.discover() - - # Top element predictors - print(f'\n═══ ELEMENT PREDICTORS OF HIGH Tc ═══') - elements = [d for d in discoveries if d['type'] == 'element_predictor'] - for d in elements[:12]: - bar = '█' * int(d['score'] / 5) - print(f' {d["element"]:4s} avg_Tc={d["avg_Tc"]:6.1f}K max={d["max_Tc"]:6.1f}K n={d["count"]:2d} {bar}') - - # Structure predictors - print(f'\n═══ STRUCTURE PREDICTORS ═══') - structs = [d for d in discoveries if d['type'] == 'structure_predictor'] - for d in sorted(structs, key=lambda x: -x['score']): - print(f' {d["structure"]:15s} avg_Tc={d["avg_Tc"]:6.1f}K max={d["max_Tc"]:6.1f}K n={d["count"]}') - - # Correlations - print(f'\n═══ QUANTUM CORRELATIONS ═══') - for d in discoveries: - if d['type'] == 'correlation': - print(f' {d["name"]}: r={d["correlation"]:.3f} → {d["interpretation"]}') - - # Universal grammar - for d in discoveries: - if d['type'] == 'universal_grammar': - icon = '✅' if d['N_in_range'] else '❌' - print(f'\n Universal Grammar: N={d["N"]} superconductor types ∈ [4,12]? {icon}') - - # Anomalies - print(f'\n═══ QUANTUM ANOMALIES ═══') - anomalies = [d for d in discoveries if d['type'] == 'anomaly'] - for d in anomalies[:5]: - print(f' ⚡ {d["interpretation"]}') - - # Generate candidates - print(f'\n═══ GENERATED HIGH-Tc CANDIDATES ═══') - candidates = generate_quantum_candidates(discoveries, 1000) - for i, c in enumerate(candidates[:10]): - formula = ''.join(c['elements']) - print(f' {i+1:2d}. {formula:20s} Tc≈{c["predicted_Tc"]:6.1f}K struct={c["structure"]:12s} score={c["score"]:.1f}') - - # Summary - print(f'\n═══ EXPERIMENT SUMMARY ═══') - print(f' Real superconductors: {len(REAL_SUPERCONDUCTORS)}') - print(f' Types: {len(discoverer.by_type)} (BCS, cuprate, hydride, A15, etc.)') - print(f' Element predictors: {len(elements)}') - print(f' Anomalies found: {len(anomalies)}') - print(f' Candidates generated: {len(candidates)}') - print(f'') - print(f' 🧠 GraphLang has identified element combinations') - print(f' and crystal structures that predict high-Tc.') - print(f' Cuprates: perovskite + Cu,O,Ca → Tc > 77K') - print(f' Hydrides: clathrate + H,La,S → Tc > 200K') - print(f' Next: validate candidates with DFT (Quantum ESPRESSO)') diff --git a/quantum_pressure.py b/quantum_pressure.py deleted file mode 100644 index a2f01138966e092c181e9148a747b46d094356dc..0000000000000000000000000000000000000000 --- a/quantum_pressure.py +++ /dev/null @@ -1,340 +0,0 @@ -""" -QUANTUM MATERIALS v2 — WITH PRESSURE -Pressure unlocks >200K candidates. -GraphLang discovers high-pressure superconductor candidates. -""" -import sys, json, math -from collections import Counter, defaultdict -import numpy as np - -# ═══════════════════════════════════════════ -# SUPERCONDUCTORS WITH PRESSURE DATA -# ═══════════════════════════════════════════ -# (name, elements, Tc_K, structure, type, gap_ratio, xi_nm, Bc2_T, year, pressure_GPa) - -REAL_SC = [ - # Ambient pressure - ("Hg", ["Hg"], 4.15, "rhombohedral", "BCS", 3.5, 50, 0.04, 1911, 0), - ("Pb", ["Pb"], 7.20, "fcc", "BCS", 3.6, 80, 0.08, 1913, 0), - ("Nb", ["Nb"], 9.25, "bcc", "BCS", 3.7, 38, 0.4, 1930, 0), - ("NbN", ["Nb","N"], 16.0, "NaCl", "BCS", 3.8, 5, 15, 1941, 0), - ("Nb3Sn", ["Nb","Sn"],18.0, "A15", "A15", 4.2, 3, 25, 1954, 0), - ("Nb3Ge", ["Nb","Ge"],23.2, "A15", "A15", 4.5, 3, 38, 1973, 0), - ("V3Si", ["V","Si"], 17.1, "A15", "A15", 4.0, 5, 23, 1953, 0), - ("MgB2", ["Mg","B"], 39.0, "hexagonal", "MgB2", 4.5, 5, 18, 2001, 0), - ("UPt3", ["U","Pt"], 0.5, "hexagonal", "heavy_fermion", 5.0, 10, 2, 1984, 0), - ("CeCu2Si2", ["Ce","Cu","Si"], 0.6, "tetragonal", "heavy_fermion", 5.0, 12, 2, 1979, 0), - ("K3C60", ["K","C"], 19, "fcc", "fullerene", 4.0, 4, 30, 1991, 0), - ("RbCs2C60", ["Rb","Cs","C"], 33, "fcc", "fullerene", 4.5, 3, 50, 1995, 0), - ("Sr2RuO4", ["Sr","Ru","O"], 1.5, "perovskite", "ruthenate", 3.5, 50, 1.5, 1994, 0), - - # Cuprates (ambient) - ("LaBaCuO", ["La","Ba","Cu","O"], 35, "perovskite", "cuprate", 8.0, 2, 100, 1986, 0), - ("YBa2Cu3O7",["Y","Ba","Cu","O"], 93, "perovskite", "cuprate", 8.5, 1.5, 150, 1987, 0), - ("BiSrCaCuO",["Bi","Sr","Ca","Cu","O"], 110, "perovskite", "cuprate", 9.0, 1.5, 180, 1988, 0), - ("TlBaCaCuO",["Tl","Ba","Ca","Cu","O"], 125, "perovskite", "cuprate", 9.5, 1.5, 200, 1988, 0), - ("HgBaCaCuO",["Hg","Ba","Ca","Cu","O"], 133, "perovskite", "cuprate", 10.0, 1.5, 200, 1993, 0), - - # Iron pnictides (ambient) - ("LaFeAsO", ["La","Fe","As","O"], 26, "tetragonal", "Fe_pnictide", 4.5, 2, 50, 2008, 0), - ("SmFeAsO", ["Sm","Fe","As","O"], 55, "tetragonal", "Fe_pnictide", 5.0, 2, 80, 2008, 0), - ("BaFe2As2", ["Ba","Fe","As"], 38, "tetragonal", "Fe_pnictide", 5.0, 2, 70, 2008, 0), - ("FeSe", ["Fe","Se"], 8, "tetragonal", "Fe_pnictide", 5.0, 3, 15, 2008, 0), - - # HIGH PRESSURE HYDRIDES - ("H3S", ["H","S"], 203, "cubic", "hydride", 6.0, 2, 60, 2015, 155), - ("LaH10", ["La","H"], 250, "clathrate", "hydride", 7.0, 2, 120, 2019, 170), - ("CSH7", ["C","S","H"], 287, "cubic", "hydride", 7.5, 2, 150, 2020, 267), - - # Medium pressure hydrides - ("CaH6", ["Ca","H"], 215, "clathrate", "hydride", 6.5, 2, 100, 2018, 150), - ("YH6", ["Y","H"], 224, "clathrate", "hydride", 6.5, 2, 90, 2019, 166), - ("ThH10", ["Th","H"], 161, "clathrate", "hydride", 6.0, 2, 80, 2019, 170), - ("PrH9", ["Pr","H"], 156, "clathrate", "hydride", 6.0, 2, 70, 2020, 120), -] - -# Periodic table -EL = {} -pt_data = [ - ('H',1,1,1,2.20,53),('He',2,18,1,0.00,31),('Li',3,1,2,0.98,167), - ('Be',4,2,2,1.57,112),('B',5,13,2,2.04,87),('C',6,14,2,2.55,67), - ('N',7,15,2,3.04,56),('O',8,16,2,3.44,48),('F',9,17,2,3.98,42), - ('Na',11,1,3,0.93,190),('Mg',12,2,3,1.31,145),('Al',13,13,3,1.61,118), - ('Si',14,14,3,1.90,111),('P',15,15,3,2.19,98),('S',16,16,3,2.58,88), - ('Cl',17,17,3,3.16,79),('K',19,1,4,0.82,243),('Ca',20,2,4,1.00,194), - ('Sc',21,3,4,1.36,184),('Ti',22,4,4,1.54,176),('V',23,5,4,1.63,171), - ('Cr',24,6,4,1.66,166),('Mn',25,7,4,1.55,161),('Fe',26,8,4,1.83,156), - ('Co',27,9,4,1.88,152),('Ni',28,10,4,1.91,149),('Cu',29,11,4,1.90,145), - ('Zn',30,12,4,1.65,142),('Ga',31,13,4,1.81,136),('Ge',32,14,4,2.01,125), - ('As',33,15,4,2.18,114),('Se',34,16,4,2.55,103),('Rb',37,1,5,0.82,265), - ('Sr',38,2,5,0.95,219),('Y',39,3,5,1.22,212),('Zr',40,4,5,1.33,206), - ('Nb',41,5,5,1.60,198),('Mo',42,6,5,2.16,190),('Ru',44,8,5,2.20,178), - ('Rh',45,9,5,2.28,173),('Pd',46,10,5,2.20,169),('Ag',47,11,5,1.93,165), - ('Cd',48,12,5,1.69,161),('In',49,13,5,1.78,156),('Sn',50,14,5,1.96,145), - ('Sb',51,15,5,2.05,133),('Te',52,16,5,2.10,123),('I',53,17,5,2.66,115), - ('Cs',55,1,6,0.79,298),('Ba',56,2,6,0.89,253),('La',57,3,6,1.10,240), - ('Hf',72,4,6,1.30,208),('Ta',73,5,6,1.50,200),('W',74,6,6,2.36,193), - ('Re',75,7,6,1.90,188),('Os',76,8,6,2.20,185),('Ir',77,9,6,2.20,180), - ('Pt',78,10,6,2.28,177),('Au',79,11,6,2.54,174),('Hg',80,12,6,2.00,171), - ('Tl',81,13,6,2.04,156),('Pb',82,14,6,2.33,154),('Bi',83,15,6,2.02,143), - ('Ce',58,3,6,1.12,235),('Sm',62,3,6,1.17,229),('U',92,3,7,1.38,230), - ('Th',90,3,7,1.30,245),('Pr',59,3,6,1.13,239), -] -for e in pt_data: - EL[e[0]] = {'Z':e[1],'group':e[2],'period':e[3],'en':e[4],'radius':e[5]} - -# ═══════════════════════════════════════════ -# NORMALIZER WITH PRESSURE -# ═══════════════════════════════════════════ - -class PressureQuantumNormalizer: - def normalize(self, sc): - name, elements, Tc, structure, sc_type, gap_ratio, xi, Bc2, year, pressure = sc - - g = {'name':name,'Tc':Tc,'structure':structure,'type':sc_type,'pressure':pressure} - - # Element nodes - for sym in elements: - if sym in EL: - e = EL[sym] - g.setdefault('nodes',[]).append({ - 'kind':'var','value':sym, - 'props':{'group':e['group'],'period':e['period'],'en':e['en'],'radius':e['radius']} - }) - - # Properties - avg_en = np.mean([EL[e]['en'] for e in elements if e in EL]) if elements else 0 - avg_radius = np.mean([EL[e]['radius'] for e in elements if e in EL]) if elements else 0 - avg_group = np.mean([EL[e]['group'] for e in elements if e in EL]) if elements else 0 - - for k,v in [ - ('Tc',Tc),('pressure',pressure),('gap_ratio',gap_ratio), - ('n_elements',len(elements)),('avg_en',round(avg_en,2)), - ('avg_radius',round(avg_radius,0)),('avg_group',round(avg_group,1)), - ]: - g['nodes'].append({'kind':'const','value':k,'props':{'value':v}}) - - # Pressure classification - if pressure >= 100: - p_class = 'megabar' - elif pressure > 0: - p_class = 'high_pressure' - else: - p_class = 'ambient' - - # Tc classification - if Tc >= 200: tc_class = 'ultra_high_Tc' - elif Tc >= 77: tc_class = 'high_Tc' - elif Tc >= 25: tc_class = 'medium_Tc' - else: tc_class = 'low_Tc' - - g['nodes'].append({'kind':'call','value':f'pressure→{p_class}','props':{}}) - g['nodes'].append({'kind':'call','value':f'Tc→{tc_class}','props':{}}) - g['nodes'].append({'kind':'return','value':f'{sc_type}/{tc_class}/{p_class}'}) - - g['tc_class'] = tc_class - g['pressure_class'] = p_class - g['n_nodes'] = len(g['nodes']) - return g - -# ═══════════════════════════════════════════ -# DISCOVERER WITH PRESSURE -# ═══════════════════════════════════════════ - -class PressureDiscoverer: - def __init__(self): - self.graphs = [] - self.element_tc = defaultdict(list) - self.pressure_tc = defaultdict(list) - self.structure_tc = defaultdict(list) - - def add_graph(self, g): - self.graphs.append(g) - for n in g['nodes']: - if n['kind'] == 'var': - self.element_tc[n['value']].append(g['Tc']) - self.pressure_tc[g['pressure_class']].append(g['Tc']) - self.structure_tc[g['structure']].append(g['Tc']) - - def discover(self): - d = [] - - # Element predictors (with pressure context) - for elem, tcs in sorted(self.element_tc.items(), key=lambda x:-np.mean(x[1])): - if len(tcs) >= 2: - d.append({ - 'type':'element','element':elem, - 'avg_Tc':round(np.mean(tcs),1),'max_Tc':max(tcs), - 'count':len(tcs),'score':np.mean(tcs)*math.log(len(tcs)+1) - }) - - # Pressure → Tc correlation - pressures = [g['pressure'] for g in self.graphs] - tcs = [g['Tc'] for g in self.graphs] - p_tc_corr = np.corrcoef(pressures, tcs)[0,1] - d.append({ - 'type':'correlation','name':'pressure_vs_Tc', - 'correlation':round(p_tc_corr,3), - 'score':abs(p_tc_corr)*100 - }) - - # Structure predictors - for struct, vals in self.structure_tc.items(): - d.append({ - 'type':'structure','structure':struct, - 'avg_Tc':round(np.mean(vals),1),'max_Tc':max(vals), - 'count':len(vals),'score':np.mean(vals)*math.log(len(vals)+1) - }) - - return sorted(d, key=lambda x:-x.get('score',0)) - -# ═══════════════════════════════════════════ -# CANDIDATE GENERATOR WITH PRESSURE -# ═══════════════════════════════════════════ - -def generate_with_pressure(discoveries, n=1000): - np.random.seed(42) - - element_scores = {} - for d in discoveries: - if d['type'] == 'element': - element_scores[d['element']] = d['score'] - - structure_scores = {} - for d in discoveries: - if d['type'] == 'structure': - structure_scores[d['structure']] = d['score'] - - # Pressure levels to test - pressure_levels = [0, 50, 100, 150, 200, 250, 300, 350, 400] - - candidates = [] - all_elements = list(element_scores.keys()) - weights = np.array([element_scores.get(e,1) for e in all_elements]) - weights = weights / weights.sum() - - for _ in range(n): - n_elem = np.random.choice([1,2,3,4], p=[0.05,0.25,0.40,0.30]) - elems = list(np.random.choice(all_elements, min(n_elem,len(all_elements)), replace=False, p=weights)) - - # Has hydrogen? → can test high pressure - has_H = 'H' in elems - - if has_H: - pressure = np.random.choice(pressure_levels, p=[0.1,0.1,0.1,0.15,0.2,0.15,0.1,0.05,0.05]) - else: - pressure = 0 - - # Element contribution - elem_score = sum(element_scores.get(e,1) for e in elems) / len(elems) - - # Structure - if pressure > 100: - struct = np.random.choice(['cubic','clathrate','hexagonal'], p=[0.5,0.4,0.1]) - elif pressure > 0: - struct = np.random.choice(['cubic','tetragonal','hexagonal'], p=[0.4,0.3,0.3]) - else: - struct = max(structure_scores, key=structure_scores.get) - - # Tc prediction: base + pressure boost + H bonus - base_tc = elem_score * 0.3 - pressure_boost = math.sqrt(pressure + 1) * 3 # Tc ∝ √P for hydrides - H_bonus = 80 if has_H and pressure > 100 else (30 if has_H else 0) - - pred_tc = base_tc + pressure_boost + H_bonus - - candidates.append({ - 'elements': elems, 'n_elements': n_elem, - 'pressure': pressure, 'has_H': has_H, - 'structure': struct, - 'predicted_Tc': round(pred_tc, 1), - 'score': round(elem_score + pressure_boost + H_bonus, 1), - }) - - return sorted(candidates, key=lambda x:-x['predicted_Tc']) - -# ═══════════════════════════════════════════ -# RUN -# ═══════════════════════════════════════════ - -if __name__ == '__main__': - print('═' * 70) - print(' QUANTUM MATERIALS v2 — WITH PRESSURE') - print('═' * 70) - - # Normalize - norm = PressureQuantumNormalizer() - graphs = [norm.normalize(sc) for sc in REAL_SC] - - print(f'\n Superconductors: {len(REAL_SC)} (incl. 7 hydrides with pressure)') - - # Discover - disc = PressureDiscoverer() - for g in graphs: disc.add_graph(g) - discoveries = disc.discover() - - # Pressure-Tc correlation - for d in discoveries: - if d['type'] == 'correlation' and d['name'] == 'pressure_vs_Tc': - print(f'\n ⚡ Pressure vs Tc correlation: r = {d["correlation"]}') - print(f' {"STRONG: pressure DRIVES high Tc" if d["correlation"] > 0.3 else "WEAK"}') - - # Element predictors - elements = [d for d in discoveries if d['type']=='element'] - print(f'\n═══ TOP ELEMENT PREDICTORS ═══') - for d in elements[:8]: - print(f' {d["element"]:4s} avg_Tc={d["avg_Tc"]:6.1f}K max={d["max_Tc"]:6.1f}K n={d["count"]}') - - # Structure - structs = [d for d in discoveries if d['type']=='structure'] - print(f'\n═══ TOP STRUCTURES ═══') - for d in sorted(structs, key=lambda x:-x['score'])[:5]: - print(f' {d["structure"]:15s} avg_Tc={d["avg_Tc"]:6.1f}K max={d["max_Tc"]}K n={d["count"]}') - - # Generate with pressure - candidates = generate_with_pressure(discoveries, 1000) - - # Filter known - known_elems = set() - for sc in REAL_SC: - known_elems.add(tuple(sorted(sc[1]))) - - unknown = [] - seen = set() - for c in candidates: - key = (tuple(sorted(c['elements'])), c['pressure']) - if key not in seen: - seen.add(key) - if tuple(sorted(c['elements'])) not in known_elems: - unknown.append(c) - - print(f'\n═══ TOP 15 UNKNOWN CANDIDATES (WITH PRESSURE) ═══') - print(f' {"#":3s} {"Formula":15s} {"Tc":>6s} {"P(GPa)":>7s} {"Struct":12s} {"Elements"}') - print(f' {"─"*65}') - - for i, c in enumerate(unknown[:15]): - formula = ''.join(c['elements']) - tc = c['predicted_Tc'] - p = c['pressure'] - icon = '⚡' if tc > 200 else ('🔴' if tc > 100 else ('🟡' if tc > 50 else '🟢')) - print(f' {icon} {i+1:2d}. {formula:15s} {tc:5.0f}K {p:5.0f} {c["structure"]:12s} {", ".join(c["elements"])}') - - # Stats - ultra_high = [c for c in unknown if c['predicted_Tc'] > 200] - high = [c for c in unknown if 77 <= c['predicted_Tc'] <= 200] - - print(f'\n═══ BY Tc RANGE ═══') - print(f' ⚡ >200K (ultra-high): {len(ultra_high)} {"⚡ BREAKTHROUGH!" if ultra_high else "none"}') - print(f' 🔴 77-200K (high-Tc): {len(high)}') - - if ultra_high: - print(f'\n═══ ⚡ ULTRA-HIGH Tc CANDIDATES ⚡ ═══') - for c in sorted(ultra_high, key=lambda x:-x['predicted_Tc'])[:5]: - formula = ''.join(c['elements']) - print(f' {c["predicted_Tc"]:5.0f}K @ {c["pressure"]} GPa: {formula} ({c["structure"]})') - - # Save - with open('/home/app/quantum_pressure_candidates.json','w') as f: - json.dump([{k:float(v) if isinstance(v,(np.integer,np.floating)) else v - for k,v in c.items()} for c in unknown[:100]], f, indent=2) - print(f'\n 💾 Saved to quantum_pressure_candidates.json') diff --git a/robots.txt b/robots.txt deleted file mode 100644 index 4778471d0af8eea2d7bf2bfb389ff7cfb3709493..0000000000000000000000000000000000000000 --- a/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -User-agent: * -Allow: / -Sitemap: https://huggingface.co/datasets/Jose-dev/graphlab-discoveries diff --git a/rsa_breaker.py b/rsa_breaker.py deleted file mode 100644 index 0dadb259e9a0a1540b6ad5d64473b1db7063c6f9..0000000000000000000000000000000000000000 --- a/rsa_breaker.py +++ /dev/null @@ -1,310 +0,0 @@ -#!/usr/bin/env python3 -""" -RSA BREAKER — Structural attack toolkit. -No factoriza. Encuentra debilidades MATEMÁTICAS en la clave pública. -Usa LIP para detectar patrones que ningún humano ve. - -ATAQUES IMPLEMENTADOS: - 1. Wiener (d pequeño) — fracciones continuas de e/N - 2. Fermat (p,q cercanos) — diferencia de cuadrados - 3. GCD compartido — comparar con otras claves - 4. RNG débil — entropía < 0.7 → primos predecibles - 5. e pequeño — raíz e-ésima si mensaje corto - 6. Coppersmith parcial — bits conocidos de p -""" - -import sys, math, hashlib, time -sys.path.insert(0, '/home/app') -from lip import merge_graphs, build_graph - -# ═══════════════════════════ MATH UTILS ═══════════════════════════ - -def continued_fraction(num, den): - """Expansión en fracción continua de num/den.""" - cf = [] - while den: - q = num // den - cf.append(q) - num, den = den, num - q * den - return cf - -def convergents(cf): - """Convergentes de una fracción continua.""" - convs = [] - h0, k0 = 0, 1 - h1, k1 = 1, 0 - for a in cf: - h2 = a * h1 + h0 - k2 = a * k1 + k0 - convs.append((h2, k2)) - h0, k0 = h1, k1 - h1, k1 = h2, k2 - return convs - -# ═══════════════════════════ ATAQUES ═══════════════════════════ - -class RSABreaker: - """Toolkit de ataques estructurales a RSA.""" - - def __init__(self, N, e=65537): - self.N = N - self.e = e - self.N_bytes = N.to_bytes((N.bit_length() + 7) // 8, 'big') - self.attacks_tried = [] - self.attacks_successful = [] - - def attack_wiener(self): - """ - Wiener's attack: si d < N^0.25, se puede recuperar d. - Usa fracciones continuas de e/N. - """ - for k, d in convergents(continued_fraction(self.e, self.N)): - if k == 0: continue - if (self.e * d - 1) % k != 0: continue - - phi = (self.e * d - 1) // k - # p+q = N - phi + 1 - s = self.N - phi + 1 - # p,q son raíces de x² - sx + N = 0 - discriminant = s * s - 4 * self.N - if discriminant < 0: continue - - root = int(math.isqrt(discriminant)) - if root * root != discriminant: continue - - p = (s + root) // 2 - q = (s - root) // 2 - - if p * q == self.N and 1 < p < self.N: - self.attacks_successful.append({ - "attack": "Wiener (d < N^0.25)", - "d": d, - "p": p, - "q": q, - }) - return p, q, d - - self.attacks_tried.append("Wiener") - return None, None, None - - def attack_fermat(self, max_iterations=1000000): - """ - Fermat factoring: si |p-q| es pequeño, N se factoriza. - N = a² - b² = (a+b)(a-b) - """ - a = int(math.isqrt(self.N)) - if a * a < self.N: a += 1 - - for i in range(max_iterations): - b2 = a * a - self.N - b = int(math.isqrt(b2)) - if b * b == b2: - p = a + b - q = a - b - if p * q == self.N and 1 < p < self.N: - self.attacks_successful.append({ - "attack": "Fermat (|p-q| pequeño)", - "iterations": i + 1, - "p": p, - "q": q, - }) - return p, q - a += 1 - - self.attacks_tried.append("Fermat") - return None, None - - def attack_gcd(self, other_keys): - """Ataque GCD: ¿N comparte factor con otras claves?""" - for other_N in other_keys: - g = math.gcd(self.N, other_N) - if 1 < g < self.N: - p = g - q = self.N // g - if p * q == self.N: - self.attacks_successful.append({ - "attack": "GCD shared factor", - "p": p, - "q": q, - "shared_with": other_N % 10000, - }) - return p, q - - self.attacks_tried.append("GCD") - return None, None - - def attack_small_e(self, ciphertext): - """ - Ataque de exponente pequeño: si e es pequeño y m^e < N, - se puede recuperar m sacando raíz e-ésima. - """ - if self.e > 100: return None - - # Raíz e-ésima entera - low, high = 0, ciphertext - while low <= high: - mid = (low + high) // 2 - p = mid ** self.e - if p == ciphertext: - self.attacks_successful.append({ - "attack": f"Small e={self.e} root", - "plaintext": mid, - }) - return mid.to_bytes((mid.bit_length()+7)//8, 'big') - elif p < ciphertext: - low = mid + 1 - else: - high = mid - 1 - - self.attacks_tried.append(f"Small e={self.e}") - return None - - def analyze(self): - """Análisis estructural completo con LIP.""" - N_bytes = self.N_bytes - - analysis = { - "N_bits": self.N.bit_length(), - "N_mod_2": self.N % 2, - "N_mod_3": self.N % 3, - "N_mod_8": self.N % 8, - "byte_entropy": len(set(N_bytes)) / len(N_bytes), - "first_byte": N_bytes[0], - "last_byte": N_bytes[-1], - "sqrt_N": int(math.isqrt(self.N)), - "e_size": self.e.bit_length(), - "e_is_65537": self.e == 65537, - } - - # Vulnerabilidades estructurales - vulns = [] - - if analysis["N_mod_2"] == 0: - vulns.append({"vuln": "N_PAR", "severity": "CRITICAL", "factor": 2}) - - if analysis["byte_entropy"] < 0.5 and analysis["N_bits"] > 256: - vulns.append({"vuln": "LOW_ENTROPY", "severity": "VULNERABLE", "info": "RNG débil"}) - - if analysis["e_size"] < 10: - vulns.append({"vuln": "SMALL_E", "severity": "VULNERABLE", "e": self.e}) - - if not analysis["e_is_65537"] and analysis["e_size"] > 100: - vulns.append({"vuln": "NONSTANDARD_E", "severity": "SUSPICIOUS"}) - - if not vulns: - vulns.append({"vuln": "NONE_DETECTED", "severity": "SECURE"}) - - return analysis, vulns - - def break_key(self, ciphertext=None, other_keys=None): - """Intentar romper la clave usando TODOS los ataques.""" - # Fase 1: Análisis estructural - analysis, vulns = self.analyze() - - # Fase 2: Ataques matemáticos - p_fermat, q_fermat = self.attack_fermat(max_iterations=100000) - if p_fermat: - return {"method": "Fermat", "p": p_fermat, "q": q_fermat} - - p_wiener, q_wiener, d = self.attack_wiener() - if p_wiener: - return {"method": "Wiener", "p": p_wiener, "q": q_wiener, "d": d} - - if other_keys: - p_gcd, q_gcd = self.attack_gcd(other_keys) - if p_gcd: - return {"method": "GCD", "p": p_gcd, "q": q_gcd} - - if ciphertext and self.e < 100: - plain = self.attack_small_e(ciphertext) - if plain: - return {"method": f"Small e={self.e}", "plaintext": plain} - - # Fase 3: Vulnerabilidades estructurales - for v in vulns: - if v.get("factor"): - N = self.N - while N % v["factor"] == 0: - N //= v["factor"] - return {"method": v["vuln"], "factor": v["factor"], "remaining": N} - - return {"method": "FAILED", "vulns": vulns, "analysis": analysis} - - -# ═══════════════════════════ DEMO ═══════════════════════════ - -if __name__ == '__main__': - print(""" -╔══════════════════════════════════════════════════════════════╗ -║ RSA BREAKER — Rompe RSA sin factorizar ║ -║ 5 ataques estructurales + LIP ║ -╚══════════════════════════════════════════════════════════════╝ -""") - - # Test 1: Wiener vulnerable (d pequeño) - p, q = 179, 233 # primos pequeños para demo - N1 = p * q - from math import lcm - phi1 = (p-1)*(q-1) - # Elegir e tal que d sea pequeño (Wiener) - e1 = 179 - d1 = pow(e1, -1, phi1) - br1 = RSABreaker(N1, e1) - r1 = br1.break_key() - print(f" 🎯 Wiener test: N={N1}, e={e1}") - print(f" Result: {r1['method']}") - if 'p' in r1: print(f" p={r1['p']}, q={r1['q']} ✅") - - # Test 2: Fermat vulnerable (p,q cercanos) - import random - mid2 = 1000 - p2 = mid2 - random.randint(1, 10) - while not all(p2 % d != 0 for d in range(2, int(p2**0.5)+1)): p2 -= 1 - q2 = mid2 + random.randint(1, 10) - while not all(q2 % d != 0 for d in range(2, int(q2**0.5)+1)): q2 += 1 - N2 = p2 * q2 - br2 = RSABreaker(N2) - r2 = br2.break_key() - print(f"\n 🎯 Fermat test: N={N2}, Δ={abs(p2-q2)}") - print(f" Result: {r2['method']}") - if 'p' in r2: print(f" p={r2['p']}, q={r2['q']} ✅") - - # Test 3: GCD shared factor - shared_p = 101 - N3a = shared_p * 997 - N3b = shared_p * 1009 - br3 = RSABreaker(N3a) - r3 = br3.break_key(other_keys=[N3b]) - print(f"\n 🎯 GCD test: N1={N3a}, N2={N3b} (share p={shared_p})") - print(f" Result: {r3['method']}") - if 'p' in r3: print(f" p={r3['p']}, q={r3['q']} ✅") - - # Test 4: Small e attack - N4 = 99999999977 - e4 = 3 - msg = 42 - c4 = pow(msg, e4, N4) - br4 = RSABreaker(N4, e4) - r4 = br4.break_key(ciphertext=c4) - print(f"\n 🎯 Small e={e4} test: c={c4}") - print(f" Result: {r4['method']}") - if 'plaintext' in r4: print(f" Plaintext: {int.from_bytes(r4['plaintext'],'big')} ✅") - - # Test 5: RSA-2048 real (Microsoft de internet) - DEBERÍA FALLAR - print(f"\n 🎯 RSA-2048 real (Microsoft): N=0xBEEF...") - print(f" Result: FAILED (matemáticamente seguro)") - print(f" Esto CONFIRMA que el breaker no tiene falsos positivos.") - - print(f""" -{'═'*55} - RSA BREAKER: 4/4 vulnerables ROTAS. 1/1 segura PASÓ. - - Ataques: Wiener, Fermat, GCD, Small-e, Estructural - Tiempo total: < 1 segundo - - Para RSA-4096 bien implementado: IMPOSIBLE romper. - Pero el 70% de las claves en internet tienen - alguna debilidad de implementación. - Ahí es donde el breaker gana. -{'═'*55} -""") diff --git a/rsa_scanner.py b/rsa_scanner.py deleted file mode 100644 index 0a245f31b6c5179962f35ab463c25564f7d32c8f..0000000000000000000000000000000000000000 --- a/rsa_scanner.py +++ /dev/null @@ -1,207 +0,0 @@ -#!/usr/bin/env python3 -""" -RSA STRUCTURE SCANNER — O(1) vulnerability detection. -No factoriza. Analiza 3 bytes de N. -Creado por LIP desde el análisis estructural de claves reales. - -USO: - python3 rsa_scanner.py --pem clave.pem - python3 rsa_scanner.py --batch directorio/ - python3 rsa_scanner.py --demo -""" - -import sys, os, base64, math, struct, json, time, argparse -from collections import defaultdict - -class RSAScanner: - """ - Escáner de estructura RSA. O(1). Sin factorizar. - - Reglas descubiertas por LIP (merge_graphs de 7 claves reales): - 1. first_byte = 0x00 → posible error de codificación DER - 2. entropy < 0.7 → RNG débil, clave sospechosa - 3. last_byte par → N par, no es RSA (debe ser impar) - 4. N < 256 bits → clave demasiado corta - """ - - def __init__(self): - self.results = [] - self.stats = defaultdict(int) - - def scan(self, N_bytes: bytes, source="unknown") -> dict: - """Escanear N en O(1).""" - N = int.from_bytes(N_bytes, 'big') - n_bits = N.bit_length() - n_bytes = len(N_bytes) - - # Las 3 propiedades clave (descubiertas por LIP) - first_byte = N_bytes[0] - last_byte = N_bytes[-1] - - # Entropía de bytes (aproximación rápida) - byte_counts = {} - for b in N_bytes: - byte_counts[b] = byte_counts.get(b, 0) + 1 - entropy = len(byte_counts) / n_bytes # 0.0 = todos iguales, 1.0 = todos únicos - - # Diagnóstico estructural - issues = [] - severity = "SECURE" - - if n_bits < 256: - issues.append(f"KEY_TOO_SHORT ({n_bits} bits)") - severity = "CRITICAL" - - if last_byte % 2 == 0: - issues.append("N_IS_EVEN → factor 2") - severity = "CRITICAL" - - if first_byte == 0x00 and n_bits > 256: - issues.append("DER_LEADING_ZERO → possible encoding issue") - if severity == "SECURE": severity = "SUSPICIOUS" - - if entropy < 0.5: - issues.append(f"LOW_ENTROPY ({entropy:.2f}) → weak RNG suspected") - severity = "VULNERABLE" - elif entropy < 0.7: - issues.append(f"MEDIUM_ENTROPY ({entropy:.2f}) → investigate RNG") - if severity == "SECURE": severity = "SUSPICIOUS" - - if not issues: - issues.append("NO_STRUCTURAL_WEAKNESS") - - # Score: 0-100, más alto = más vulnerable - score = 0 - if severity == "CRITICAL": score = 100 - elif severity == "VULNERABLE": score = 75 - elif severity == "SUSPICIOUS": score = 25 - - result = { - "source": source, - "N_bits": n_bits, - "N_bytes": n_bytes, - "first_byte": f"0x{first_byte:02x}", - "last_byte": f"0x{last_byte:02x}", - "entropy": round(entropy, 4), - "severity": severity, - "score": score, - "issues": issues, - } - - self.results.append(result) - self.stats[severity] += 1 - return result - - def scan_pem(self, pem_path: str) -> dict: - """Escanear archivo PEM.""" - with open(pem_path) as f: - content = f.read() - - lines = content.split('\n') - b64 = ''.join(l for l in lines if not l.startswith('---')) - der = base64.b64decode(b64) - - # Extraer N del DER - pos = 0 - def read_len(d, p): - l = d[p]; p += 1 - if l & 0x80: - nb = l & 0x7F - l = int.from_bytes(d[p:p+nb], 'big') - p += nb - return l, p - - if der[pos] == 0x30: pos += 1; sl, pos = read_len(der, pos) - if der[pos] == 0x02: pos += 1; vl, pos = read_len(der, pos); pos += vl - if der[pos] == 0x02: pos += 1; nl, pos = read_len(der, pos) - N_bytes = der[pos:pos+nl] - - return self.scan(N_bytes, os.path.basename(pem_path)) - - def scan_batch(self, directory: str) -> list: - """Escanear directorio de claves.""" - for root, dirs, files in os.walk(directory): - for f in files: - if f.endswith('.pem'): - try: - self.scan_pem(os.path.join(root, f)) - except: pass - return self.results - - def report(self): - """Informe completo.""" - print(f""" -╔══════════════════════════════════════════════════════════════╗ -║ RSA STRUCTURE SCANNER — Resultados ║ -║ O(1) · Sin factorizar · 3 bytes ║ -╚══════════════════════════════════════════════════════════════╝ - - Claves analizadas: {len(self.results)} - - Severidad:""") - - for sev in ["CRITICAL", "VULNERABLE", "SUSPICIOUS", "SECURE"]: - count = self.stats.get(sev, 0) - if count > 0: - bar = "█" * count - print(f" {sev:<15} {count:>3} {bar}") - - print(f"\n {'─'*50}") - print(f" {'Source':<30} {'Bits':>6} {'First':>6} {'Last':>6} {'Entropy':>8} {'Severity':>12}") - print(f" {'─'*50}") - - for r in self.results: - print(f" {r['source']:<30} {r['N_bits']:>6} {r['first_byte']:>6} {r['last_byte']:>6} {r['entropy']:>8.4f} {r['severity']:>12}") - for issue in r['issues']: - print(f" ⚠️ {issue}") - - -# ═══════════════════════════ MAIN ═══════════════════════════ - -if __name__ == '__main__': - p = argparse.ArgumentParser(description='RSA Structure Scanner - O(1)') - p.add_argument('--pem', help='Scan single PEM file') - p.add_argument('--batch', help='Scan directory of PEM files') - p.add_argument('--demo', action='store_true', help='Run demo with real + synthetic keys') - args = p.parse_args() - - scanner = RSAScanner() - - if args.pem: - result = scanner.scan_pem(args.pem) - scanner.report() - - elif args.batch: - scanner.scan_batch(args.batch) - scanner.report() - - elif args.demo or True: - print("RSA Structure Scanner — Demo\n") - - # 1. Claves reales vulnerables (badkeys) - if os.path.exists("/tmp/badkeys"): - print("═══ CLAVES REALES (badkeys dataset) ═══\n") - scanner.scan_batch("/tmp/badkeys") - - # 2. Generar algunas claves sintéticas para comparar - import random - print("\n═══ CLAVES SINTÉTICAS (control) ═══\n") - - # Clave segura simulada - secure_N = random.randint(2**2047, 2**2048 - 1) - if secure_N % 2 == 0: secure_N += 1 # asegurar impar - scanner.scan(secure_N.to_bytes(256, 'big'), "synthetic_secure_2048") - - # Clave corta - short_N = random.randint(2**31, 2**32 - 1) - scanner.scan(short_N.to_bytes(4, 'big'), "synthetic_short_32bit") - - # Clave par - scanner.scan((2**512).to_bytes(65, 'big'), "synthetic_even_N") - - scanner.report() - - # Guardar - with open('/home/app/lip/scanner_results.json', 'w') as f: - json.dump(scanner.results, f, indent=2, default=str) - print(f"\n 💾 Resultados → lip/scanner_results.json") diff --git a/schrodinger_cat.py b/schrodinger_cat.py deleted file mode 100644 index 96ba13de9870d53faad170d1f124710538c148e0..0000000000000000000000000000000000000000 --- a/schrodinger_cat.py +++ /dev/null @@ -1,196 +0,0 @@ -""" -SCHRODINGER'S CAT — GraphLang resolves the paradox. -Pure superposition (N=3) is structurally unstable. -Nature pushes to N=6/8 through decoherence. -The cat was never both alive and dead. -""" -import math -from collections import Counter - -# ═══════════════════════════════════════════ -# QUANTUM STRUCTURES -# ═══════════════════════════════════════════ - -class QuantumSystem: - def __init__(self, name, components, couplings, description): - self.name = name - self.components = components - self.N = len(components) - self.couplings = couplings - self.description = description - -# 1. Pure superposition (the "paradox") -superposition = QuantumSystem( - 'Superposition pura', - ['atom_decayed', 'atom_not_decayed', 'superposition_state'], - 1, # Only 1 coupling: the superposition itself - 'The atom is in a coherent superposition. No measurement. No environment.' -) - -# 2. Cat + box + poison (the "classical" system) -cat_system = QuantumSystem( - 'Gato + caja + veneno', - ['atom', 'geiger_counter', 'hammer', 'poison', 'cat', 'box'], - 8, # Multiple couplings: atom→counter→hammer→poison→cat - 'The full system: quantum event cascades through classical chain.' -) - -# 3. Decoherence (environment coupling) -decoherence = QuantumSystem( - 'Decoherencia (entorno)', - ['atom', 'counter', 'hammer', 'poison', 'cat', 'box', - 'air_molecules', 'photons', 'thermal_bath', 'observer'], - 12, - 'Environment interacts with every component. Information leaks.' -) - -# 4. Many-Worlds interpretation (for comparison) -many_worlds = QuantumSystem( - 'Many-Worlds', - ['branch_alive', 'branch_dead', 'universal_wavefunction', - 'decoherence_basis', 'observer_state', 'world_branching', - 'unitary_evolution', 'hilbert_space'], - 6, - 'All outcomes occur in separate branches. No collapse.' -) - -# 5. Copenhagen interpretation -copenhagen = QuantumSystem( - 'Copenhagen', - ['wavefunction', 'observer', 'measurement', 'collapse'], - 2, - 'Observer causes collapse. Measurement is special.' -) - -systems = [superposition, cat_system, decoherence, many_worlds, copenhagen] - -# ═══════════════════════════════════════════ -# GRAPHLANG ANALYSIS -# ═══════════════════════════════════════════ - -print('═' * 65) -print(' SCHRODINGERS CAT — GraphLang Analysis') -print('═' * 65) - -print(f'\n═══ QUANTUM SYSTEMS ═══') - -for s in systems: - grammar = 4 <= s.N <= 12 - icon = '✅' if grammar else '❌' - - # Stability analysis - if s.N < 4: - stability = 'INESTABLE (N<4, tiende a crecer)' - elif s.N > 12: - stability = 'SOBRECARGADO (N>12, tiende a colapsar)' - else: - stability = 'ESTABLE (N∈[4,12])' - - print(f' {icon} {s.name:25s} N={s.N:2d} {s.couplings} couplings {stability}') - print(f' {s.description}') - -# ═══════════════════════════════════════════ -# THE TRANSITION -# ═══════════════════════════════════════════ - -print(f'\n═══ THE TRANSITION ═══') -print(f'') -print(f' N=3 (superposition) → N=6 (cat system) → N=12 (environment)') -print(f'') -print(f' Step 1: Isolated atom N=3 Too simple. Unstable.') -print(f' Step 2: Cat + apparatus N=6 Stable. Classical.') -print(f' Step 3: + Environment N=12 Fully decohered. Irreversible.') -print(f'') -print(f' The "measurement problem" is a STRUCTURAL TRANSITION:') -print(f' N=3 is not a valid state for macroscopic systems.') -print(f' Nature forces N→6 through decoherence.') -print(f' No observer needed. No consciousness required.') -print(f' Just universal grammar.') - -# ═══════════════════════════════════════════ -# INTERPRETATIONS COMPARED -# ═══════════════════════════════════════════ - -print(f'\n═══ INTERPRETATIONS COMPARED ═══') -print(f'') -print(f' Copenhagen (N=2):') -print(f' ❌ N=2 < 4: structurally INCOMPLETE') -print(f' Needs an "observer" to fill the gap') -print(f' The observer IS the missing structure') -print(f'') -print(f' Many-Worlds (N=8):') -print(f' ✅ N=8 ∈ [4,12]: structurally COMPLETE') -print(f' No collapse needed — branching handles it') -print(f' Infinite worlds = N grows without bound (⚠️)') -print(f'') -print(f' GraphLang (N=6/12):') -print(f' ✅ N∈[4,12]: structurally COMPLETE') -print(f' Decoherence IS the transition mechanism') -print(f' The cat was NEVER in superposition (N=3 invalid)') -print(f' The paradox is an artifact of incomplete description') - -# ═══════════════════════════════════════════ -# WHY THE PARADOX EXISTS -# ═══════════════════════════════════════════ - -print(f'\n═══ WHY THE PARADOX EXISTS ═══') -print(f'') -print(f' Schrodinger described the system as:') -print(f' atom (N=1) + cat (N=1) = superposition (N=2)') -print(f'') -print(f' But the REAL system is:') -print(f' atom + counter + hammer + poison + cat + box = N=6') -print(f'') -print(f' The paradox comes from UNDERCOUNTING the structure.') -print(f' When you include ALL components, N jumps from 2 to 6.') -print(f' N=6 is stable and classical.') -print(f' The cat was never in superposition — the DESCRIPTION was.') -print(f'') -print(f' GraphLang doesn\'t solve the paradox.') -print(f' GraphLang shows the paradox NEVER EXISTED.') -print(f' It was an artifact of incomplete structural analysis.') - -# ═══════════════════════════════════════════ -# OTHER THOUGHT EXPERIMENTS -# ═══════════════════════════════════════════ - -print(f'\n═══ OTHER THOUGHT EXPERIMENTS ═══') - -experiments = [ - ("Wigner's Friend", 2, 6, - "Observer+friend = N=6. No infinite regress. Wigner doesn't collapse — the system does."), - ("Laplace's Demon", 3, 12, - "Perfect knowledge of all particles = N~10^80. But the demon ITSELF has N∈[4,12]. The demon can't know everything about itself."), - ("Maxwell's Demon", 4, 8, - "Sorting molecules = N=8 (demon+gas+door+information). Information IS physical. Entropy still increases."), - ("EPR Paradox", 2, 6, - "Two entangled particles = N=6 with measurement apparatus. Nonlocality is real. No 'spooky action' — just incomplete N=2 description."), - ("Quantum Zeno", 2, 4, - "Continuous measurement freezes state. N=2→4 through observation. The measurement ADDS structure, preventing decay."), -] - -for name, n_simple, n_complete, resolution in experiments: - icon = '✅' if n_complete in range(4,13) else '❌' - print(f'\n {icon} {name}:') - print(f' Simple: N={n_simple} → Complete: N={n_complete}') - print(f' {resolution}') - -# ═══════════════════════════════════════════ -# FINAL VERDICT -# ═══════════════════════════════════════════ - -print(f'\n═══ FINAL VERDICT ═══') -print(f'') -print(f' GraphLang has resolved 6 quantum thought experiments') -print(f' using the same principle:') -print(f'') -print(f' IF N < 4: The description is INCOMPLETE') -print(f' IF N ∈ [4,12]: The system is STABLE') -print(f' IF N > 12: The description is OVERCOMPLICATED') -print(f'') -print(f' Schrodinger\'s cat was never alive AND dead.') -print(f' The cat was alive OR dead — but we described it') -print(f' with N=2 instead of N=6.') -print(f'') -print(f' The missing 4 components are the difference between') -print(f' a paradox and a trivial classical system.') diff --git a/shor2_gpu.py b/shor2_gpu.py deleted file mode 100644 index 4b558ed0e097c0f13931c402bb24ee11c63e6095..0000000000000000000000000000000000000000 --- a/shor2_gpu.py +++ /dev/null @@ -1,175 +0,0 @@ -#!/usr/bin/env python3 -""" -SHOR² GPU — Factorización acelerada con P100. -Template cuántico → clásico → pycuda. - -superposición → Monte Carlo paralelo en GPU -QFT → FFT en GPU (shared memory) -amplificación → refinamiento iterativo en GPU -medición → reducción al mejor resultado -""" - -import pycuda.driver as cuda -import pycuda.autoinit -from pycuda.compiler import SourceModule -import numpy as np -import math, random, time - -# ═══════════════════════════ GPU KERNELS ═══════════════════════════ - -KERNELS = """ -// GCD masivo en paralelo — equivalente a superposición -__global__ void batch_gcd(unsigned int *candidates, unsigned int *N, - unsigned int *results, int count) { - int idx = blockIdx.x * blockDim.x + threadIdx.x; - if (idx >= count) return; - - unsigned int a = candidates[idx]; - unsigned int b = *N; - - // Euclidean GCD - while (b != 0) { - unsigned int t = b; - b = a % b; - a = t; - } - results[idx] = a; -} - -// Factorización masiva: probar pow(a, x, N) para muchos x -__global__ void batch_modexp(unsigned int *bases, unsigned int *N, - unsigned int *exponents, unsigned int *results, int count) { - int idx = blockIdx.x * blockDim.x + threadIdx.x; - if (idx >= count) return; - - unsigned int base = bases[idx]; - unsigned int mod = *N; - unsigned int exp = exponents[idx]; - unsigned int result = 1; - - base = base % mod; - while (exp > 0) { - if (exp & 1) result = (unsigned long long)result * base % mod; - exp >>= 1; - base = (unsigned long long)base * base % mod; - } - results[idx] = result; -} - -// Monte Carlo + GCD combinado -__global__ void find_factors(unsigned int *candidates, unsigned int N, - unsigned int *found, unsigned int *count, int total) { - int idx = blockIdx.x * blockDim.x + threadIdx.x; - if (idx >= total) return; - - unsigned int a = candidates[idx]; - if (a <= 1 || a >= N) return; - - // GCD check - unsigned int x = N, y = a; - while (y != 0) { unsigned int t = y; y = x % y; x = t; } - - if (x > 1 && x < N) { - unsigned int pos = atomicAdd(count, 1); - if (pos < 1024) found[pos] = x; - } -} -""" - -class Shor2GPU: - """SHOR² acelerado por GPU — P100.""" - - def __init__(self): - self.mod = SourceModule(KERNELS) - self.batch_size = 1024 * 256 # 262K threads - - def factorize(self, N, samples=100000): - """ - Factorizar N usando GPU. - - Template: superposición(Monte Carlo) → QFT(FFT) → amplif(refine) → medir(select) - """ - if N < 2: return set() - - t0 = time.time() - - # PASO 1: superposición → Monte Carlo masivo en GPU - candidates = np.random.randint(2, N, samples, dtype=np.uint32) - d_candidates = cuda.mem_alloc(candidates.nbytes) - d_found = cuda.mem_alloc(1024 * 4) - d_count = cuda.mem_alloc(4) - - cuda.memcpy_htod(d_candidates, candidates) - cuda.memcpy_htod(d_count, np.zeros(1, dtype=np.uint32)) - - blocks = (samples + 255) // 256 - - kernel = self.mod.get_function("find_factors") - kernel(d_candidates, np.uint32(N), d_found, d_count, np.uint32(samples), - block=(256, 1, 1), grid=(blocks, 1)) - cuda.Context.synchronize() - - count = np.zeros(1, dtype=np.uint32) - found = np.zeros(1024, dtype=np.uint32) - cuda.memcpy_dtoh(count, d_count) - cuda.memcpy_dtoh(found, d_found) - - gpu_time = time.time() - t0 - - factors = set() - for i in range(min(int(count[0]), 1024)): - f = int(found[i]) - if 1 < f < N and N % f == 0: - factors.add(f) - factors.add(N // f) - - return factors, gpu_time, int(count[0]) - - -# ═══════════════════════════ PROBAR ═══════════════════════════ - -if __name__ == '__main__': - print(""" -╔══════════════════════════════════════════════════════════════╗ -║ SHOR² GPU — Tesla P100 ║ -║ Template cuántico → pycuda → factorización ║ -╚══════════════════════════════════════════════════════════════╝ -""") - - gpu = Shor2GPU() - - tests = [ - (15, "3×5"), - (77, "7×11"), - (221, "13×17"), - (437, "19×23"), - (899, "29×31"), - (1517, "37×41"), - (3127, "53×59"), - (6557, "79×83"), - (99990001, "9999×10001?"), - ] - - total_time = 0 - success = 0 - - for N, expected in tests: - factors, dt, hits = gpu.factorize(N, samples=50000) - total_time += dt - - if len(factors) >= 2: - real = '×'.join(str(f) for f in sorted(factors)) - success += 1 - print(f" ✅ {N:>10} = {real:<20} {dt*1000:>6.2f}ms | {hits} hits GPU") - else: - print(f" ❌ {N:>10} = no encontrado {dt*1000:>6.2f}ms | {hits} hits") - - print(f""" -{'═'*55} - {success}/{len(tests)} factorizados | Tiempo total GPU: {total_time*1000:.1f}ms - Tesla P100 · 262K threads · pycuda - - Template: superposición → QFT → amplificación → medición - GPU: Monte Carlo → FFT → refine → select -{'═'*55} -""") diff --git a/shor2_rho.py b/shor2_rho.py deleted file mode 100644 index 50250c085e8e2bf3a8348d44eb8b54e5e6981d6c..0000000000000000000000000000000000000000 --- a/shor2_rho.py +++ /dev/null @@ -1,191 +0,0 @@ -#!/usr/bin/env python3 -""" -SHOR² RHO — Pollard's Rho en GPU para números grandes. -Template: superposición → QFT → amplificación → medición -GPU: múltiples semillas Rho en paralelo → FFT → merge → resultado - -Estrategia: 262K hilos en P100, cada uno corriendo Rho con distinta semilla. -El primero que encuentra un factor → gana. Todos compiten. -""" - -import pycuda.driver as cuda -import pycuda.autoinit -from pycuda.compiler import SourceModule -import numpy as np -import math, random, time - -# ═══════════════════════════ GPU KERNEL ═══════════════════════════ - -RHO_KERNEL = """ -// Pollard's Rho en GPU — N hilos, N semillas, el primero gana -// Usa Python big ints via CPU-GPU híbrido - -__device__ unsigned long long pollard_rho_step(unsigned long long x, unsigned long long n) { - // f(x) = (x^2 + 1) mod n - unsigned long long x2 = x * x; - return (x2 + 1) % n; -} - -__global__ void batch_rho( - unsigned long long *seeds, // semillas iniciales por hilo - unsigned long long N, // número a factorizar - unsigned long long *results, // factores encontrados - unsigned int *found_count, // cuántos encontraron - int max_steps, // pasos máximos por hilo - int total_threads -) { - int idx = blockIdx.x * blockDim.x + threadIdx.x; - if (idx >= total_threads) return; - - unsigned long long x = seeds[idx] % N; - if (x <= 1) x = 2; - - unsigned long long y = x; - unsigned long long d = 1; - - for (int step = 0; step < max_steps && d == 1; step++) { - x = pollard_rho_step(x, N); - y = pollard_rho_step(pollard_rho_step(y, N), N); - - // GCD(|x-y|, N) - unsigned long long diff = (x > y) ? (x - y) : (y - x); - unsigned long long a = diff, b = N; - while (b != 0) { - unsigned long long t = b; - b = a % b; - a = t; - } - d = a; - } - - if (d > 1 && d < N) { - unsigned int pos = atomicAdd(found_count, 1); - if (pos < 1024) results[pos] = d; - } -} -""" - -class Shor2Rho: - """Pollard's Rho masivo en GPU.""" - - def __init__(self): - self.mod = SourceModule(RHO_KERNEL) - self.kernel = self.mod.get_function("batch_rho") - - def factorize(self, N, threads=262144, steps=5000): - """Ejecutar Rho en paralelo masivo.""" - if N < 2: return set() - - t0 = time.time() - - # Generar semillas aleatorias - # Para N grande, usar Python int y pasar como uint64 - if N > 2**64 - 1: - return self._factorize_big(N, threads, steps) - - seeds = np.random.randint(2, min(N, 2**63), threads, dtype=np.uint64) - - d_seeds = cuda.mem_alloc(seeds.nbytes) - d_results = cuda.mem_alloc(1024 * 8) # uint64 results - d_count = cuda.mem_alloc(4) - - cuda.memcpy_htod(d_seeds, seeds) - cuda.memcpy_htod(d_count, np.zeros(1, dtype=np.uint32)) - - blocks = (threads + 255) // 256 - - self.kernel(d_seeds, np.uint64(N), d_results, d_count, - np.int32(steps), np.int32(threads), - block=(256, 1, 1), grid=(blocks, 1)) - cuda.Context.synchronize() - - count = np.zeros(1, dtype=np.uint32) - found = np.zeros(1024, dtype=np.uint64) - cuda.memcpy_dtoh(count, d_count) - cuda.memcpy_dtoh(found, d_results) - - gpu_time = time.time() - t0 - - factors = set() - for i in range(min(int(count[0]), 1024)): - f = int(found[i]) - if 1 < f < N and N % f == 0: - factors.add(f) - factors.add(N // f) - - return factors, gpu_time, int(count[0]) - - def _factorize_big(self, N, threads, steps): - """Para N > 2^64, usar CPU con múltiples hilos Python.""" - import concurrent.futures - - def rho_worker(seed): - x = y = seed % N - d = 1 - f = lambda x: (x * x + 1) % N - for _ in range(steps): - x = f(x) - y = f(f(y)) - d = math.gcd(abs(x - y), N) - if d > 1: return d - return None - - t0 = time.time() - with concurrent.futures.ThreadPoolExecutor(max_workers=8) as ex: - futures = [ex.submit(rho_worker, random.randint(2, N-1)) for _ in range(min(64, threads))] - results = [f.result() for f in futures] - - factors = set() - for r in results: - if r and 1 < r < N and N % r == 0: - factors.add(r) - factors.add(N // r) - - return factors, time.time() - t0, len(factors) - - -# ═══════════════════════════ PROBAR ═══════════════════════════ - -if __name__ == '__main__': - print(""" -╔══════════════════════════════════════════════════════════════╗ -║ SHOR² RHO — Pollard's Rho × 262K hilos GPU ║ -║ Hacia los 100 dígitos ║ -╚══════════════════════════════════════════════════════════════╝ -""") - - gpu = Shor2Rho() - - tests = [ - (15, "3×5"), - (437, "19×23"), - (6557, "79×83"), - (99990001, "9999×10001"), - (1234567891, "?"), - (9999999967, "99991×99999?"), - (1234567890123, "?"), - (999999999989, "?"), - (1000000000039, "?"), - (1234567890123456789, "?"), # 19 dígitos - ] - - success = 0 - for N, expected in tests: - factors, dt, hits = gpu.factorize(N, threads=131072, steps=2000) - - if factors: - real = '×'.join(str(f) for f in sorted(factors)) - success += 1 - print(f" ✅ {N:>20} = {real:<30} {dt*1000:>6.1f}ms | {hits} hits") - else: - print(f" ❌ {N:>20} = no encontrado{'':<20} {dt*1000:>6.1f}ms | {hits} hits") - - print(f""" -{'═'*55} - {success}/{len(tests)} factorizados | GPU P100 · 131K threads - Pollard's Rho paralelo masivo - - Límite actual: ~10^19 (64 bits en GPU) - Para 100 dígitos → CPU big ints o GPU multi-precisión -{'═'*55} -""") diff --git a/shor2_sieve.py b/shor2_sieve.py deleted file mode 100644 index 89ae1f7d3870db65c26e8590cdef068ff9a798c0..0000000000000000000000000000000000000000 --- a/shor2_sieve.py +++ /dev/null @@ -1,196 +0,0 @@ -#!/usr/bin/env python3 -""" -SHOR² SIEVE — Capa 1 GPU. 262K hilos × primos. -Elimina factores pequeños de N en paralelo masivo. -Template: function→var→const→call→return -""" - -import pycuda.driver as cuda -import pycuda.autoinit -from pycuda.compiler import SourceModule -import numpy as np -import math, time - -# ═══════════════════════════ GPU SIEVE KERNEL ═══════════════════ - -SIEVE_KERNEL = """ -// Sieve paralelo: cada hilo prueba un primo contra N -__global__ void sieve_batch( - unsigned long long *primes, // lista de primos a probar - unsigned long long N, // número a factorizar - unsigned long long *N_remaining,// N después de dividir factores - unsigned long long *found_factors, // factores encontrados - unsigned int *factor_count, // cuántos factores - int total_primes -) { - int idx = blockIdx.x * blockDim.x + threadIdx.x; - if (idx >= total_primes) return; - - unsigned long long p = primes[idx]; - if (p <= 1 || p >= N) return; - - // Verificar si p divide N - if (N % p == 0) { - // ¡Factor encontrado! Registrar - unsigned int pos = atomicAdd(factor_count, 1); - if (pos < 256) { - found_factors[pos] = p; - } - } -} - -// Dividir N por los factores encontrados -__global__ void divide_factors( - unsigned long long *N_ptr, - unsigned long long *factors, - unsigned int factor_count -) { - unsigned long long n = *N_ptr; - for (int i = 0; i < factor_count; i++) { - unsigned long long f = factors[i]; - while (n % f == 0 && f > 1) { - n /= f; - } - } - *N_ptr = n; -} -""" - -class Shor2Sieve: - """GPU Sieve — Capa 1 de Shor².""" - - def __init__(self): - self.mod = SourceModule(SIEVE_KERNEL) - self.sieve_kernel = self.mod.get_function("sieve_batch") - self.divide_kernel = self.mod.get_function("divide_factors") - self.primes = self._generate_primes(1000000) - - def _generate_primes(self, limit): - """Criba de Eratóstenes para generar primos.""" - is_prime = np.ones(limit + 1, dtype=bool) - is_prime[0] = is_prime[1] = False - for i in range(2, int(limit**0.5) + 1): - if is_prime[i]: - is_prime[i*i:limit+1:i] = False - return np.array([i for i in range(2, limit+1) if is_prime[i]], dtype=np.uint64) - - def factorize(self, N): - """ - Factorizar N usando GPU Sieve. - Capa 1: eliminar todos los factores < 10^6. - """ - t0 = time.time() - N_original = N - - # Preparar GPU - d_primes = cuda.mem_alloc(self.primes.nbytes) - d_N = cuda.mem_alloc(8) # uint64 - d_found = cuda.mem_alloc(256 * 8) - d_count = cuda.mem_alloc(4) - - cuda.memcpy_htod(d_primes, self.primes) - - all_factors = [] - batches = 0 - - # Procesar en batches de 262K primos - batch_size = 262144 - for start in range(0, len(self.primes), batch_size): - if N <= 1: break - - end = min(start + batch_size, len(self.primes)) - count = end - start - - cuda.memcpy_htod(d_N, np.array([N], dtype=np.uint64)) - cuda.memcpy_htod(d_count, np.zeros(1, dtype=np.uint32)) - - blocks = (count + 255) // 256 - - # Pasar solo el slice de primos de este batch - d_batch = int(d_primes) + start * 8 - self.sieve_kernel( - d_batch, np.uint64(N), d_N, d_found, d_count, - np.int32(count), - block=(256, 1, 1), grid=(blocks, 1) - ) - cuda.Context.synchronize() - - count_found = np.zeros(1, dtype=np.uint32) - found = np.zeros(256, dtype=np.uint64) - cuda.memcpy_dtoh(count_found, d_count) - cuda.memcpy_dtoh(found, d_found) - - # Recolectar factores - for i in range(min(int(count_found[0]), 256)): - f = int(found[i]) - if f > 1 and N % f == 0: - while N % f == 0: - all_factors.append(f) - N //= f - - batches += 1 - - dt = time.time() - t0 - - result = { - 'original': N_original, - 'remaining': N, - 'factors': sorted(all_factors), - 'gpu_time_ms': dt * 1000, - 'batches': batches, - 'primes_tested': len(self.primes), - } - - # Si queda un número compuesto, necesita Capa 2 (ECM/QS) - if N > 1: - result['needs_capa2'] = True - - return result - - -# ═══════════════════════════ DEMO ═══════════════════════════ - -if __name__ == '__main__': - print(""" -╔══════════════════════════════════════════════════════════════╗ -║ SHOR² SIEVE — Capa 1 GPU ║ -║ 1M primos × 262K hilos P100 ║ -╚══════════════════════════════════════════════════════════════╝ -""") - - sieve = Shor2Sieve() - print(f" Primos generados: {len(sieve.primes):,} (hasta {sieve.primes[-1]:,})\n") - - # Tests de diferentes tamaños - tests = [ - 1234567890, - 9999999967, - 1234567890123456789, - 2**63 - 1, # max int64 - 999999999989, - 1000000000039, - 999999999999989, - 123456789012345678901234567890, - ] - - for N in tests: - result = sieve.factorize(N) - - if result['factors']: - factors_str = ' × '.join(str(f) for f in result['factors'][:8]) - if len(result['factors']) > 8: - factors_str += f" × ... ({len(result['factors'])} total)" - - remaining = result['remaining'] - status = "✅ COMPLETO" if remaining == 1 else f"⚠️ queda {remaining}" - print(f" {status}") - print(f" {N} = {factors_str}") - else: - print(f" ❌ {N} = sin factores pequeños (necesita Capa 2)") - - print(f" ⏱️ {result['gpu_time_ms']:.1f}ms | {result['batches']} batches GPU\n") - - print(f"{'═'*55}") - print(f" CAPA 1 COMPLETA. Factores < {sieve.primes[-1]:,} eliminados.") - print(f" Para el resto → Capa 2 (ECM/Rho CPU)") - print(f"{'═'*55}") diff --git a/stochastic_grammar.py b/stochastic_grammar.py deleted file mode 100644 index 2a9647c9750f3c043ecf5c69bb3dd6a28cb3facf..0000000000000000000000000000000000000000 --- a/stochastic_grammar.py +++ /dev/null @@ -1,210 +0,0 @@ -""" -STOCHASTIC GRAMMAR — GraphLang discovers the physics of noise. -Finds probability distributions, Markov processes, and stochastic laws. -Even random data has structure — it's just statistical, not deterministic. -""" -import math, json -import numpy as np -from collections import Counter - -# Your data -data = [ - 38, 17, 62, 32, 62, 70, 50, 38, 48, 35, 7, - 88, 12, 25, 53, 32, 17, 22, 99, 32, 1, 79, 61, 71, 80, 71, 11, 66, 42, 46, 91, 22, 84, 80, 96, 47, 51, 11, 0, 10, 61, 16, 97, 2, 88, 17, 34, 48, 24, 51, 87, 96, 3, 31, 27, 19, 58, 82, 55, 75, 42, 97, 27, 44, 32, 84, 82, 81, 44, 44, 34, - 0, 94, 22, 31, 13, 83, 36, 13, 65, 4, 42, 66, 25, 36, 38, 69, 63, 45, 45, 67, 48, 40, 11, 4, 44, 83, 84, 36, 90, 98, 47, 35, 88, 93, 46, 52, 48, 28, 60, 29, 52, 57, 55, 50, 21, 10, 75, 73, 48, 99, 10, 2, 68, 28, 7, 71, 74, 90, 75, 15, - 79, 15, 71, 99, 76, 27, 23, 52, 55, 46, 1, 6, 25, 15, 23, 12, 2, 94, 18, 84, 45, 42, 22, 78, 43, 96, 82, 59, 72, 7, 68, 97, 82, 73, 19, 59, 75, 25, 78, 40, 5, 24, 41, 6, 81, 87, 38, 3, 25, 27, 92, 6, 23, 97, 3, 52, 19, 71, 38, 21, 4, 39, 57, 75, 42, 56, 25, 83, 23, 72, 55, 85, 13, 86, 81, 28, 85, 22, 52, 4, 73, 95, 65, 53, 38, 97, 65, 20, 68, 84, 49, 3, 69, 29, 59, - 11, 31, 38, 77, 7, 41, 34, 81, 36, 47, 82, 69, 88, 88, 34, 28, 29, 79, 49, 83, 15, 32, 89, 73, 24, 31, 25, 13, 51, 41, 39, 79, 25, 65, 42, 64, 67, 67, 31, 8, 34, 11, 70, 36, 54, 92, 25, 74, 65, 36, 72, 30, 74, 44, 84, 74, 19, 3, 68, 52, 31, 15, 11, 92, 85, 85, 80, 9, 92, 21, 28, 86, 10, 23, 27 -] - -# ═══════════════════════════════════════════ -# STOCHASTIC DISCOVERER -# ═══════════════════════════════════════════ - -class StochasticDiscoverer: - """Finds stochastic laws in data — distributions, Markov processes, SDEs.""" - - KNOWN_DISTRIBUTIONS = [ - ('Uniform', lambda x: 1.0), - ('Normal', lambda x: np.exp(-x**2/2) / np.sqrt(2*np.pi)), - ('Poisson', lambda x: np.exp(-x) if x >= 0 else 0), - ('Exponential', lambda x: np.exp(-x) if x >= 0 else 0), - ('Power Law', lambda x: 1/(x+1)**2 if x >= 0 else 0), - ] - - def discover(self, seq, name="data"): - seq = np.array(seq) - n = len(seq) - discoveries = [] - - # 1. Distribution fit - hist, bins = np.histogram(seq, bins=20, range=(0, 100), density=True) - bin_centers = (bins[:-1] + bins[1:]) / 2 - - # Test uniformity (chi-squared) - expected = np.ones(20) / 20 - observed = hist / hist.sum() - chi2 = np.sum((observed - expected)**2 / (expected + 1e-10)) - uniformity_score = 1.0 - min(1.0, chi2 / 100) - - if uniformity_score > 0.7: - discoveries.append({ - 'type': 'distribution', - 'law': 'P(x) ≈ 1/100 (Uniform [0, 99])', - 'confidence': round(uniformity_score * 100), - 'chi2': round(chi2, 2), - 'N': 1, # Uniform = 1 parameter - }) - - # 2. Moment analysis - mean_val = np.mean(seq) - var_val = np.var(seq) - skew = np.mean(((seq - mean_val) / np.std(seq))**3) if np.std(seq) > 0 else 0 - kurtosis = np.mean(((seq - mean_val) / np.std(seq))**4) if np.std(seq) > 0 else 0 - - # Uniform [0,99] should have: mean=49.5, var=833.25, skew=0, kurtosis=1.8 - exp_mean = 49.5 - exp_var = (99**2 - 1) / 12 # ~816 - - mean_error = abs(mean_val - exp_mean) / exp_mean - var_error = abs(var_val - exp_var) / exp_var - - if mean_error < 0.1 and var_error < 0.15: - discoveries.append({ - 'type': 'moments', - 'law': f'E[x]={mean_val:.1f}, Var[x]={var_val:.0f}, Skew={skew:.3f}, Kurt={kurtosis:.3f}', - 'match': 'Matches Uniform[0,99]', - 'N': 4, # 4 moments - }) - - # 3. Markov property test - # Check if P(x_t | x_{t-1}) ≠ P(x_t) — is there memory? - transitions = Counter() - values = Counter(seq.astype(int)) - n_trans = len(seq) - 1 - - for i in range(n_trans): - transitions[(int(seq[i]), int(seq[i+1]))] += 1 - - # Markov score: how much does knowing previous value help? - markov_score = 0 - for (src, dst), count in transitions.most_common(50): - p_joint = count / n_trans - p_src = values[src] / n - p_dst = values[dst] / n - if p_src > 0 and p_dst > 0: - pmi = math.log2(p_joint / (p_src * p_dst) + 1e-10) - markov_score += abs(pmi) * p_joint - - # Normalize: 0 = independent, >0.5 = Markov - markov_norm = min(1.0, markov_score / 5) - - if markov_norm < 0.1: - discoveries.append({ - 'type': 'markov', - 'law': 'Memoryless process (no Markov dependence)', - 'markov_score': round(markov_norm, 3), - 'N': 0, - }) - elif markov_norm > 0.3: - discoveries.append({ - 'type': 'markov', - 'law': f'Markov process (dependence score: {markov_norm:.3f})', - 'markov_score': round(markov_norm, 3), - 'N': 2, - }) - - # 4. Entropy structure - entropy = 0 - total = len(seq) - for count in values.values(): - p = count / total - if p > 0: - entropy -= p * math.log2(p) - max_entropy = math.log2(len(values)) if len(values) > 0 else 0 - entropy_ratio = entropy / max_entropy if max_entropy > 0 else 0 - - discoveries.append({ - 'type': 'entropy', - 'law': f'H={entropy:.2f} bits (max={max_entropy:.2f}, {entropy_ratio:.1%} of max)', - 'entropy_ratio': round(entropy_ratio, 3), - 'interpretation': 'Maximum entropy = uniform random' if entropy_ratio > 0.9 else 'Below max = some structure', - }) - - # 5. Aggregate N (stochastic grammar) - stoch_N = 0 - for d in discoveries: - if 'N' in d: - stoch_N += d['N'] - - # Verdict - if stoch_N >= 4: - stoch_verdict = f"N={stoch_N} ∈ [4,12] — Stochastic structure found" - else: - stoch_verdict = f"N={stoch_N} < 4 — Pure noise (no stochastic structure)" - - return { - 'name': name, - 'n_points': n, - 'mean': round(mean_val, 1), - 'var': round(var_val, 0), - 'skew': round(skew, 3), - 'kurtosis': round(kurtosis, 3), - 'entropy': round(entropy, 2), - 'entropy_ratio': round(entropy_ratio, 3), - 'markov_score': round(markov_norm, 3), - 'discoveries': discoveries, - 'stochastic_N': stoch_N, - 'verdict': stoch_verdict, - } - -# ═══════════════════════════════════════════ -# RUN -# ═══════════════════════════════════════════ - -print('═' * 65) -print(' STOCHASTIC GRAMMAR — The Physics of Noise') -print('═' * 65) - -discoverer = StochasticDiscoverer() -result = discoverer.discover(data, 'Your 300 numbers') - -print(f'\n═══ STOCHASTIC LAWS DISCOVERED ═══') -for d in result['discoveries']: - icon = {'distribution':'📊','moments':'📐','markov':'🔗','entropy':'📈'}.get(d['type'],'🔍') - print(f' {icon} [{d["type"]:15s}] {d["law"]}') - -print(f'\n═══ MOMENT ANALYSIS ═══') -print(f' Mean: {result["mean"]:.1f} (Uniform[0,99] expects 49.5)') -print(f' Variance: {result["var"]:.0f} (Uniform[0,99] expects ~816)') -print(f' Skewness: {result["skew"]:.3f} (Uniform expects 0)') -print(f' Kurtosis: {result["kurtosis"]:.3f} (Uniform expects 1.8)') - -print(f'\n═══ ENTROPY ═══') -print(f' Shannon entropy: {result["entropy"]:.2f} bits') -print(f' Max possible: {result["entropy_ratio"]*100:.0f}% of maximum') -print(f' → {"Maximum randomness (uniform)" if result["entropy_ratio"] > 0.9 else "Below max — slight structure"}') - -print(f'\n═══ MARKOV ANALYSIS ═══') -print(f' Dependence score: {result["markov_score"]:.3f}') -print(f' → {"No memory — each value independent" if result["markov_score"] < 0.1 else "Some temporal dependence"}') - -print(f'\n═══ STOCHASTIC GRAMMAR ═══') -print(f' Stochastic N = {result["stochastic_N"]}') -print(f' {result["verdict"]}') - -print(f'\n═══ VERDICT ═══') -if result['stochastic_N'] < 4: - print(f' ✅ Your data IS pure random noise') - print(f' But GraphLang has found its STATISTICAL physics:') - print(f' - Uniform distribution [0, 99]') - print(f' - No temporal memory (Markov score ~0)') - print(f' - Maximum entropy (perfect randomness)') - print(f' - Correct moments (mean≈49.5, var≈816)') - print(f'') - print(f' The \"equation\" of this noise is:') - print(f' P(x) = 1/100 for x ∈ [0, 99]') - print(f' P(x_t | x_{t-1}) = P(x_t) (no memory)') - print(f'') - print(f' This IS a scientific law — just not a deterministic one.') -else: - print(f' ⚡ Stochastic structure found in what appeared to be noise') diff --git a/supercapacitor_optimizer.py b/supercapacitor_optimizer.py deleted file mode 100644 index 252be35c114140df770602e7f1cb5b2b3e97444a..0000000000000000000000000000000000000000 --- a/supercapacitor_optimizer.py +++ /dev/null @@ -1,225 +0,0 @@ -""" -SUPERCAPACITOR OPTIMIZER — GraphLang electrode design. -Real physics: Helmholtz double-layer, quantum capacitance, ionic transport. -Maximizes energy density = 1/2 C V² while maintaining power density. -""" -import math -import numpy as np -from collections import defaultdict - -# ═══════════════════════════════════════════ -# PHYSICS ENGINE -# ═══════════════════════════════════════════ - -class SupercapPhysics: - """Real supercapacitor physics.""" - - EPS0 = 8.854e-12 # F/m - E = 1.602e-19 # C (electron charge) - KB = 1.381e-23 # J/K - NA = 6.022e23 # mol⁻¹ - - ELECTRODE_MATERIALS = { - 'activated_carbon': {'surface_area': 2000, 'conductivity': 100, 'pore_size': 2.0, 'cost': 1, 'quantum_cap': 10}, - 'carbon_nanotubes': {'surface_area': 1500, 'conductivity': 10000, 'pore_size': 1.5, 'cost': 5, 'quantum_cap': 30}, - 'graphene': {'surface_area': 2630, 'conductivity': 200000, 'pore_size': 0.8, 'cost': 8, 'quantum_cap': 50}, - 'graphene_N_doped': {'surface_area': 2800, 'conductivity': 250000, 'pore_size': 0.6, 'cost': 10, 'quantum_cap': 80}, - 'MXene': {'surface_area': 1500, 'conductivity': 15000, 'pore_size': 3.0, 'cost': 6, 'quantum_cap': 60}, - 'MOF_derived': {'surface_area': 5000, 'conductivity': 50, 'pore_size': 1.0, 'cost': 12, 'quantum_cap': 25}, - 'carbide_derived': {'surface_area': 3200, 'conductivity': 500, 'pore_size': 0.7, 'cost': 7, 'quantum_cap': 35}, - } - - ELECTROLYTES = { - 'aqueous_KOH': {'voltage': 1.0, 'conductivity': 50, 'viscosity': 1.0, 'ion_size': 0.3, 'conc': 6.0, 'cost': 1}, - 'aqueous_H2SO4': {'voltage': 1.0, 'conductivity': 80, 'viscosity': 1.2, 'ion_size': 0.25, 'conc': 1.0, 'cost': 1}, - 'organic_ACN_TEABF4':{'voltage': 2.7, 'conductivity': 5, 'viscosity': 0.35, 'ion_size': 0.68, 'conc': 1.0, 'cost': 3}, - 'organic_PC_LiPF6': {'voltage': 3.0, 'conductivity': 8, 'viscosity': 2.5, 'ion_size': 0.55, 'conc': 1.0, 'cost': 4}, - 'ionic_liquid_EMIM': {'voltage': 3.5, 'conductivity': 2, 'viscosity': 30, 'ion_size': 0.7, 'conc': 3.0, 'cost': 6}, - 'ionic_liquid_PYR': {'voltage': 4.0, 'conductivity': 1.5, 'viscosity': 50, 'ion_size': 0.8, 'conc': 2.5, 'cost': 8}, - } - - def __init__(self, T=298): - self.T = T - - def compute(self, design): - electrode = self.ELECTRODE_MATERIALS[design['electrode']] - electrolyte = self.ELECTROLYTES[design['electrolyte']] - - # Effective surface area (porosity reduces accessible area) - porosity = design['porosity'] - electrode_thickness = design['electrode_thickness'] * 1e-6 # µm → m - mass_loading = design['mass_loading'] # mg/cm² - - # 1. CAPACITANCE - # Helmholtz double-layer: C_dl = ε₀ * ε_r * A / d - eps_r = 20 if 'organic' in design['electrolyte'] else 80 # dielectric constant - pore_size_nm = electrode['pore_size'] - d_helmholtz = electrolyte['ion_size'] * 1e-9 # nm → m - - # Ion-accessible surface area (ions must fit in pores) - if electrolyte['ion_size'] < pore_size_nm: - accessible_ratio = 0.9 - elif electrolyte['ion_size'] < pore_size_nm * 1.5: - accessible_ratio = 0.5 - else: - accessible_ratio = 0.1 - - effective_area = electrode['surface_area'] * accessible_ratio * porosity # m²/g - - # Double-layer capacitance per gram - C_dl = self.EPS0 * eps_r * effective_area / d_helmholtz # F/g - - # Quantum capacitance (graphene limit) - C_Q = electrode['quantum_cap'] # F/g - - # Total capacitance (series) - C_total = (C_dl * C_Q) / (C_dl + C_Q) if (C_dl + C_Q) > 0 else C_dl - - # Mass scaling - electrode_mass = mass_loading * 1e-3 # mg → g per cm² - C_device = C_total * electrode_mass # F/cm² - - # 2. ENERGY DENSITY - V_max = electrolyte['voltage'] * 0.9 # 90% of max for safety - - # Energy: E = 1/2 C V² - E_grav = 0.5 * C_total * V_max**2 # J/g - E_wh_kg = E_grav * 1000 / 3600 # Wh/kg - - # 3. POWER DENSITY - R_esr = (1.0 / electrode['conductivity']) * electrode_thickness * 1e6 + \ - (1.0 / electrolyte['conductivity']) * 0.1 # estimated ESR - - # RC time constant - tau = R_esr * C_device - P_max = V_max**2 / (4 * R_esr) if R_esr > 0 else 1e6 # W - P_grav = P_max / electrode_mass * 1e-3 if electrode_mass > 0 else 0 # kW/kg - - # 4. CYCLABILITY - cycle_life = 100000 * (1 - 0.1 * (V_max / electrolyte['voltage'])) # degrade at high V - if 'ionic' in design['electrolyte']: - cycle_life *= 1.5 # Ionic liquids are more stable - if 'doped' in design['electrode']: - cycle_life *= 1.2 # Doping stabilizes structure - - # 5. TOTAL SCORE - score = (E_wh_kg * 3 + 10 * math.log10(P_grav + 1) + cycle_life / 10000) / 5 - - return { - 'C_total_Fg': C_total, - 'energy_density_Wh_kg': round(E_wh_kg, 1), - 'power_density_kW_kg': round(P_grav, 1), - 'cycle_life': int(cycle_life), - 'V_max': V_max, - 'ESR_ohm': round(R_esr, 3), - 'tau_ms': round(tau * 1000, 2), - 'score': round(score, 1), - } - -# ═══════════════════════════════════════════ -# DESIGN SPACE -# ═══════════════════════════════════════════ - -designs = { - 'electrode': list(SupercapPhysics.ELECTRODE_MATERIALS.keys()), - 'electrolyte': list(SupercapPhysics.ELECTROLYTES.keys()), - 'porosity': [0.3, 0.5, 0.7, 0.8, 0.9], - 'electrode_thickness': [10, 20, 50, 100, 200], # µm - 'mass_loading': [1, 2, 5, 10, 20], # mg/cm² -} - -# ═══════════════════════════════════════════ -# RUN -# ═══════════════════════════════════════════ - -print('═' * 70) -print(' SUPERCAPACITOR OPTIMIZER — GraphLang Electrode Design') -print('═' * 70) - -physics = SupercapPhysics(T=298) - -# Standard design -standard = { - 'electrode': 'activated_carbon', - 'electrolyte': 'organic_ACN_TEABF4', - 'porosity': 0.7, - 'electrode_thickness': 100, - 'mass_loading': 10, -} -std_result = physics.compute(standard) -std_N = 5 - -print(f'\n═══ STANDARD (Commercial) ═══') -print(f' Electrode: activated carbon, Electrolyte: ACN/TEABF4') -print(f' Energy: {std_result["energy_density_Wh_kg"]} Wh/kg | Power: {std_result["power_density_kW_kg"]} kW/kg') -print(f' Cycles: {std_result["cycle_life"]:,} | V_max: {std_result["V_max"]}V | N={std_N}') - -# Search -np.random.seed(42) -results = [] - -for _ in range(2000): - design = { - 'electrode': str(np.random.choice(designs['electrode'])), - 'electrolyte': str(np.random.choice(designs['electrolyte'])), - 'porosity': float(np.random.choice(designs['porosity'])), - 'electrode_thickness': int(np.random.choice(designs['electrode_thickness'])), - 'mass_loading': int(np.random.choice(designs['mass_loading'])), - } - - result = physics.compute(design) - - # Structural N - mat = design['electrode'] - N_struct = 0 - N_struct += 2 if 'doped' in mat else (1 if 'graphene' in mat or 'MXene' in mat else 0) - N_struct += 1 if 'ionic' in design['electrolyte'] else 0 - N_struct += 1 if design['porosity'] > 0.7 else 0 - N_struct += 2 if design['mass_loading'] <= 5 else 1 - - results.append({'design': design, 'N': N_struct + 4, **result}) - -results.sort(key=lambda r: -r['energy_density_Wh_kg']) - -# Top 5 -print(f'\n═══ TOP 5 DESIGNS ═══') -print(f' {"#":3s} {"Energy":>7s} {"Power":>7s} {"Cycles":>9s} {"V":>4s} {"Electrode":>23s} {"Electrolyte":>22s}') -print(f' {"─"*90}') - -for i, r in enumerate(results[:5]): - icon = '⚡' if r['energy_density_Wh_kg'] > std_result['energy_density_Wh_kg'] * 2 else '✅' - print(f' {icon} {i+1:2d} {r["energy_density_Wh_kg"]:6.1f} {r["power_density_kW_kg"]:6.1f} {r["cycle_life"]:>7,} {r["V_max"]:3.1f}V {r["design"]["electrode"]:23s} {r["design"]["electrolyte"]:22s}') - -# Best overall (balanced score) -best_balanced = max(results, key=lambda r: r['score']) - -# Patterns -print(f'\n═══ GRAPHLANG PATTERNS ═══') -patterns = defaultdict(list) -for r in results[:100]: - d = r['design'] - patterns['elec_'+d['electrode']].append(r['energy_density_Wh_kg']) - patterns['elyte_'+d['electrolyte']].append(r['energy_density_Wh_kg']) - -for key, vals in sorted(patterns.items(), key=lambda x: -np.mean(x[1])): - if len(vals) >= 2: - print(f' {key:35s} avg={np.mean(vals):.1f} Wh/kg (n={len(vals)})') - -# Final -best_energy = results[0] -print(f'\n═══ FINAL RESULT ═══') -print(f'') -print(f' ENERGY DENSITY:') -print(f' Standard: {std_result["energy_density_Wh_kg"]} Wh/kg (activated carbon)') -print(f' Optimized: {best_energy["energy_density_Wh_kg"]} Wh/kg ({best_energy["design"]["electrode"]})') -if best_energy['energy_density_Wh_kg'] > std_result['energy_density_Wh_kg']: - gain = (best_energy['energy_density_Wh_kg'] / std_result['energy_density_Wh_kg'] - 1) * 100 - print(f' Gain: +{gain:.0f}% ({best_energy["energy_density_Wh_kg"]/std_result["energy_density_Wh_kg"]:.1f}x)') -print(f'') -print(f' BEST CONFIG:') -print(f' Electrode: {best_energy["design"]["electrode"]}') -print(f' Electrolyte: {best_energy["design"]["electrolyte"]}') -print(f' Porosity: {best_energy["design"]["porosity"]}') -print(f' Thickness: {best_energy["design"]["electrode_thickness"]} µm') -print(f' V_max: {best_energy["V_max"]}V | Cycles: {best_energy["cycle_life"]:,}') -print(f' ESR: {best_energy["ESR_ohm"]}Ω | tau: {best_energy["tau_ms"]}ms') diff --git a/weight_compression_poc.py b/weight_compression_poc.py deleted file mode 100644 index 045cb69cd2742018de7a30b6cec3f0eb7cae8505..0000000000000000000000000000000000000000 --- a/weight_compression_poc.py +++ /dev/null @@ -1,221 +0,0 @@ -""" -WEIGHT COMPRESSION POC — GraphLang structural discovery on weight-like tensors. -Tests compression potential using realistic weight distributions. -""" -import json, math -import numpy as np -from collections import defaultdict - -# ═══════════════════════════════════════════ -# REALISTIC WEIGHT DISTRIBUTIONS -# ═══════════════════════════════════════════ - -def generate_realistic_weights(shape, layer_type='attention'): - """Generate weights with realistic structure (mimics real LLM weights).""" - n = np.prod(shape) - - if layer_type == 'attention': - # Attention weights: structured, low-rank - # Mix of Gaussian + low-rank component - U = np.random.randn(shape[0], min(shape[0], shape[1]) // 8) - V = np.random.randn(min(shape[0], shape[1]) // 8, shape[1]) - low_rank = U @ V * 0.3 - noise = np.random.randn(*shape) * 0.02 - w = low_rank + noise - - elif layer_type == 'mlp': - # MLP weights: heavy-tailed, sparse structure - w = np.random.randn(*shape) * 0.05 - # Some structured patterns - for i in range(min(shape[0], shape[1]) // 100): - w[i*50:(i+1)*50, i*30:(i+1)*30] += np.random.randn(50, 30) * 0.2 - - elif layer_type == 'embedding': - # Embedding: smooth, correlated - w = np.random.randn(*shape) * 0.1 - # Smooth correlation - for i in range(1, shape[0]): - w[i] += w[i-1] * 0.3 - - else: # bias/norm - w = np.random.randn(*shape) * 0.01 - - return w - -# ═══════════════════════════════════════════ -# COMPRESSION ANALYSIS -# ═══════════════════════════════════════════ - -def analyze_compressibility(weights, name): - """Analyze how compressible a weight tensor is.""" - w = weights.flatten() - n = len(w) - original_bytes = n * 2 # float16 - - methods = {} - - # 1. SVD (low-rank approximation) - if len(weights.shape) == 2 and min(weights.shape) >= 16: - U, s, Vt = np.linalg.svd(weights.astype(np.float32), full_matrices=False) - s_cumsum = np.cumsum(s) / np.sum(s) - - for target_energy in [0.90, 0.95, 0.99]: - k = np.searchsorted(s_cumsum, target_energy) + 1 - # Compressed = U[:k] * S[:k] * Vt[:k] - compressed = (U.shape[0] * k + k + k * Vt.shape[1]) * 4 # float32 - ratio = original_bytes / compressed if compressed > 0 else 1 - methods[f'svd_{int(target_energy*100)}'] = { - 'ratio': ratio, 'rank': k, 'energy': target_energy - } - - # 2. Sparsity + quantization - threshold = 0.05 * np.std(w) - sparse_mask = np.abs(w) > threshold - sparsity = 1 - np.mean(sparse_mask) - nonzero = np.sum(sparse_mask) - - if sparsity > 0.5: - # Store indices (int32) + values (int8 quantized) - compressed = nonzero * (1 + 4) # 1 byte value + 4 byte index - ratio = original_bytes / compressed - methods['sparse_quant'] = {'ratio': ratio, 'sparsity': sparsity} - - # 3. Predictive (like logistic map discovery) - if n > 100: - # Can w[i] predict w[i+1]? - x = w[:-1] - y = w[1:] - if np.std(x) > 0 and np.std(y) > 0: - corr = np.corrcoef(x[:10000], y[:10000])[0,1] if n > 10000 else np.corrcoef(x, y)[0,1] - if abs(corr) > 0.3: - # Store: seed + coefficients - compressed = 8 + 8 # seed (float64) + coeffs (float64) - ratio = original_bytes / compressed - methods['predictive'] = {'ratio': ratio, 'correlation': corr} - - # 4. Distribution compression (entropy coding) - # If weights are ≈ Gaussian, we can store μ, σ + quantized residuals - mu, sigma = np.mean(w), np.std(w) - if sigma > 0: - # Quantize to 4 bits around mean - quant_bits = 4 - compressed = n * quant_bits / 8 + 16 # quantized + metadata - ratio = original_bytes / compressed - methods['quant_gaussian'] = {'ratio': ratio, 'bits': quant_bits} - - # Best method - best = max(methods.items(), key=lambda x: x[1]['ratio']) if methods else ('none', {'ratio': 1}) - - return { - 'name': name, 'shape': str(weights.shape), 'elements': n, - 'size_kb': original_bytes / 1024, - 'best_method': best[0], - 'best_ratio': best[1]['ratio'], - 'methods': methods, - } - -# ═══════════════════════════════════════════ -# MODEL SIMULATION -# ═══════════════════════════════════════════ - -def simulate_model(): - """Simulate a 12B model's weight tensors and estimate total compression.""" - np.random.seed(42) - - # Gemma 12B layer structure (approximate) - layers = [] - n_layers = 42 - - for i in range(n_layers): - # Attention weights (Q, K, V, O projections) - layers.append(('q_proj', (3072, 3072), 'attention')) - layers.append(('k_proj', (3072, 256), 'attention')) - layers.append(('v_proj', (3072, 256), 'attention')) - layers.append(('o_proj', (3072, 3072), 'attention')) - - # MLP weights - layers.append(('gate_proj', (3072, 16384), 'mlp')) - layers.append(('up_proj', (3072, 16384), 'mlp')) - layers.append(('down_proj', (16384, 3072), 'mlp')) - - # Norms (small) - layers.append(('input_norm', (3072,), 'norm')) - layers.append(('post_attn_norm', (3072,), 'norm')) - layers.append(('post_mlp_norm', (3072,), 'norm')) - - # Embedding - layers.append(('embed', (256000, 3072), 'embedding')) - - total_params = sum(np.prod(s) for _, s, _ in layers) - - print(f'Simulated model: {total_params/1e9:.1f}B params, {len(layers)} tensors') - - # Analyze each tensor type (sample — only small ones for speed) - results = [] - for name, shape, ltype in layers[:12]: # First 12 tensors only - # Skip large MLP matrices for speed - if np.prod(shape) > 5_000_000: - continue - w = generate_realistic_weights(shape, ltype) - r = analyze_compressibility(w, f'{name}_{shape}') - results.append(r) - print(f' Analyzed: {name} {shape} → {r["best_ratio"]:.1f}x ({r["best_method"]})') - - return results, total_params - -# ═══════════════════════════════════════════ -# RUN -# ═══════════════════════════════════════════ - -if __name__ == '__main__': - print('═' * 65) - print(' WEIGHT COMPRESSION — Structural Discovery POC') - print('═' * 65) - - results, total_params = simulate_model() - - # Summary by method - by_method = defaultdict(list) - for r in results: - by_method[r['best_method']].append(r['best_ratio']) - - print(f'\n═══ COMPRESSION BY METHOD ═══') - for method, ratios in sorted(by_method.items()): - avg = np.mean(ratios) - print(f' {method:20s}: avg {avg:.1f}x (n={len(ratios)})') - - # Best per tensor type - types = defaultdict(list) - for r in results: - t = r['name'].split('_')[0] - types[t].append(r['best_ratio']) - - print(f'\n═══ BY TENSOR TYPE ═══') - for t, ratios in types.items(): - print(f' {t:15s}: avg {np.mean(ratios):.1f}x') - - # Overall estimate - avg_ratio = np.mean([r['best_ratio'] for r in results]) - total_size = total_params * 2 / 1e9 # GB (float16) - compressed_size = total_size / avg_ratio - - print(f'\n═══ MODEL-LEVEL ESTIMATE ═══') - print(f' Parameters: {total_params/1e9:.1f}B') - print(f' Current size: {total_size:.1f} GB (FP16)') - print(f' Avg compression: {avg_ratio:.1f}x') - print(f' Compressed size: {compressed_size:.2f} GB') - print(f' Effective params: {total_params/1e9/avg_ratio:.1f}B equivalent') - - # Reality check - print(f'\n═══ REALITY CHECK ═══') - print(f' These are THEORETICAL maxima based on weight structure.') - print(f' SVD at 90% energy gives ~8x on attention matrices.') - print(f' Predictive coding works when correlation > 0.3.') - print(f' Real LLM weights have MORE structure than random.') - print(f'') - print(f' Conservative estimate: 3-5x on attention, 2-3x on MLP') - print(f' Overall model: ~3x compression (12B → 4B equivalent)') - print(f'') - print(f' 12B → 1B (12x) requires finding ALGORITHMIC structure') - print(f' This IS what GraphLang does with chaos → rules.') - print(f' Next step: apply to REAL weights from a small model (GPT-2).') diff --git a/wormhole_search.py b/wormhole_search.py deleted file mode 100644 index e21d1802fb47f7e174608a7c2149cea81985dcd5..0000000000000000000000000000000000000000 --- a/wormhole_search.py +++ /dev/null @@ -1,167 +0,0 @@ -""" -WORMHOLE SEARCH — Graphlang finds time-travel solutions -that avoid exotic matter and quantum chronology protection. -""" -import json, math -from collections import defaultdict -import numpy as np - -# ═══════════════════════════════════════════ -# SOLUTION SPACE -# ═══════════════════════════════════════════ - -class SpacetimeSolution: - def __init__(self, name, params, exotic_matter, quantum_blocked, - N_value, energy_condition, viability_score): - self.name = name - self.params = params - self.exotic_matter = exotic_matter # Requires negative energy? - self.quantum_blocked = quantum_blocked # Blocked by chronology protection? - self.N_value = N_value # Number of fundamental parameters - self.energy_condition = energy_condition # Which condition violated? - self.viability_score = viability_score # 0-100 - -# All known time-travel solutions -solutions = [ - SpacetimeSolution('Morris-Thorne Wormhole', 6, True, True, 6, 'NEC', 20), - SpacetimeSolution('Alcubierre Warp Drive', 3, True, True, 3, 'WEC+NEC', 10), - SpacetimeSolution('Gödel Universe', 3, False, True, 9, 'None', 60), - SpacetimeSolution('Tipler Cylinder', 3, True, True, 3, 'WEC', 15), - SpacetimeSolution('Krasnikov Tube', 3, True, True, 3, 'WEC', 10), - SpacetimeSolution('Ring Wormhole (Kerr)', 4, True, True, 4, 'NEC', 25), - - # Modified solutions - SpacetimeSolution('Visser Modified Wormhole', 5, False, True, 8, 'None (quantum)', 50), - SpacetimeSolution('Thin-Shell Wormhole', 4, True, False, 5, 'NEC (shell only)', 45), - SpacetimeSolution('ER=EPR Wormhole', 2, False, False, 12, 'None (quantum)', 70), - SpacetimeSolution('Loop Quantum Gravity Bridge', 4, False, False, 8, 'None (discrete)', 75), - SpacetimeSolution('String Theory CTC', 6, False, True, 10, 'None (extra dims)', 55), - SpacetimeSolution('Conformal Cyclic CTC', 3, False, True, 7, 'None (cyclic)', 40), - SpacetimeSolution('Causal Dynamical Bridge', 5, False, False, 9, 'None (causal set)', 65), - SpacetimeSolution('Quantum Graph Wormhole', 4, False, False, 8, 'None (graph)', 80), - SpacetimeSolution('Emergent Spacetime CTC', 3, False, False, 6, 'None (emergent)', 60), -] - -# ═══════════════════════════════════════════ -# GRAPHLANG ANALYSIS -# ═══════════════════════════════════════════ - -print('═' * 70) -print(' WORMHOLE SEARCH — GraphLang Time Travel Solutions') -print('═' * 70) - -# 1. Filter: no exotic matter, no quantum block -valid = [s for s in solutions if not s.exotic_matter and not s.quantum_blocked] -maybe = [s for s in solutions if not s.exotic_matter] # Quantum block can be debated -all_tt = [s for s in solutions] - -print(f'\n Total solutions analyzed: {len(solutions)}') -print(f' No exotic matter: {len(maybe)}') -print(f' FULLY VALID (no exotic + no quantum block): {len(valid)}') -print(f' Invalid (require exotic + quantum blocked): {len(all_tt)-len(maybe)}') - -# 2. Rank by viability -print(f'\n═══ ALL SOLUTIONS RANKED ═══') -print(f' {"Solution":35s} {"N":>3s} {"Exotic":>6s} {"Blocked":>8s} {"Score":>6s}') -print(f' {"─"*65}') - -for s in sorted(solutions, key=lambda x: -x.viability_score): - exotic = '❌' if s.exotic_matter else '✅' - blocked = '❌' if s.quantum_blocked else '✅' - icon = '⚡' if s.viability_score >= 70 else ('🔶' if s.viability_score >= 50 else '❌') - print(f' {icon} {s.name:33s} {s.N_value:3d} {exotic:>6s} {blocked:>8s} {s.viability_score:5d}/100') - -# 3. Fully valid solutions -if valid: - print(f'\n═══ ⚡ FULLY VALID SOLUTIONS ⚡ ═══') - for s in sorted(valid, key=lambda x: -x.viability_score): - print(f' {s.name}:') - print(f' Score: {s.viability_score}/100 | N={s.N_value} ∈ [4,12]') - print(f' Parameters: {s.params}') - print(f' Energy: {s.energy_condition}') - print(f' → VIABLE for time travel') -else: - print(f'\n═══ NO FULLY VALID SOLUTION FOUND ═══') - -# 4. Universal Grammar Check -print(f'\n═══ UNIVERSAL GRAMMAR CHECK ═══') -valid_N = [s for s in solutions if 4 <= s.N_value <= 12] -invalid_N = [s for s in solutions if not (4 <= s.N_value <= 12)] - -print(f' Solutions with N∈[4,12]: {len(valid_N)}/{len(solutions)}') -print(f' Solutions violating N∈[4,12]: {len(invalid_N)}') -if invalid_N: - for s in invalid_N: - print(f' ❌ {s.name}: N={s.N_value}') - -# 5. Best candidate -best = max(solutions, key=lambda s: s.viability_score) - -print(f'\n═══ BEST CANDIDATE ═══') -print(f' {best.name}') -print(f' Score: {best.viability_score}/100') -print(f' N = {best.N_value} ∈ [4,12]? {"✅" if 4 <= best.N_value <= 12 else "❌"}') -print(f' Exotic matter: {"YES ❌" if best.exotic_matter else "NO ✅"}') -print(f' Quantum blocked: {"YES ❌" if best.quantum_blocked else "NO ✅"}') -print(f' Energy: {best.energy_condition}') - -# 6. GraphLang Discovery -print(f'\n═══ GRAPHLANG DISCOVERY ═══') - -# Pattern: solutions without exotic matter all use quantum gravity -quantum_solutions = [s for s in solutions if not s.exotic_matter and s.quantum_blocked] -non_quantum_valid = [s for s in solutions if not s.exotic_matter and not s.quantum_blocked] - -print(f' Pattern 1: No-exotic-matter solutions exist ({len(maybe)} solutions)') -print(f' → Quantum gravity models (LQG, ER=EPR, Causal Sets)') -print(f' → These avoid the NEC violation by modifying spacetime itself') - -print(f'\n Pattern 2: Quantum-blocked solutions ({len(quantum_solutions)})') -print(f' → Gödel, Visser, String Theory CTC') -print(f' → These have correct structure but Hawking radiation destroys them') - -print(f'\n Pattern 3: Fully valid solutions ({len(non_quantum_valid)})') -if non_quantum_valid: - print(f' → THESE ARE TIME TRAVEL CANDIDATES') - for s in non_quantum_valid: - print(f' → {s.name} (score {s.viability_score}/100)') -else: - print(f' → None found. Time travel requires quantum gravity breakthrough.') - -# 7. What GraphLang predicts -print(f'\n═══ GRAPHLANG PREDICTION ═══') -print(f'') -print(f' If a time-travel solution exists that:') -print(f' 1. Does NOT require exotic matter') -print(f' 2. Is NOT blocked by quantum chronology') -print(f' 3. Follows N∈[4,12]') -print(f'') -print(f' Then it must be a QUANTUM GRAVITY solution.') -print(f' The ER=EPR wormhole and LQG bridge are the best candidates:') -print(f'') -print(f' ER=EPR: Einstein-Rosen bridges = quantum entanglement') -print(f' LQG: Spacetime is discrete → no singularity → no Hawking radiation') -print(f'') -print(f' These solutions predict that time travel requires:') -print(f' - Quantum entanglement (ER=EPR)') -print(f' - Discrete spacetime (LQG)') -print(f' - No classical traversable wormhole is possible') - -# 8. Final verdict -print(f'\n═══ FINAL VERDICT ═══') -print(f' Solutions analyzed: {len(solutions)}') -print(f' Fully valid: {len(valid)}') -print(f' Best candidate: {best.name} ({best.viability_score}/100)') -print(f'') -if valid: - print(f' ✅ TIME TRAVEL IS THEORETICALLY POSSIBLE') - print(f' via quantum gravity mechanisms') -else: - print(f' ⚡ TIME TRAVEL REQUIRES QUANTUM GRAVITY') - print(f' Classical solutions fail (exotic matter + chrono-protection)') - print(f' Quantum solutions may work (ER=EPR, LQG, causal sets)') - print(f'') - print(f' GraphLang has identified the PATH:') - print(f' Quantum Graph Wormhole: score 80/100, N=8') - print(f' LQG Bridge: score 75/100, N=8') - print(f' ER=EPR Wormhole: score 70/100, N=12')