{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.14","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceId":86524,"databundleVersionId":9818394,"sourceType":"competition"},{"sourceId":167505,"sourceType":"modelInstanceVersion","modelInstanceId":142488,"modelId":154485}],"dockerImageVersionId":30786,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"markdown","source":"# **Active Graph Theory: A Revolutionary Approach to Contextual AI**\n\n### **Overview**\nThis notebook is an exploration of **Active Graph Theory (AGT)** and its application in solving complex, context-driven problems. While framed within the context of a chess AI challenge, the principles demonstrated here have far-reaching implications across data science, artificial intelligence, and beyond.\n\n\n\n**Active Graph Theory (AGT)** represents a shift from brute-force and static data analysis to **dynamic, contextual reasoning.** By leveraging principles like **Dynamic Relationship Expansion (DRE)** and **Active Cube Theory**, this framework enables a system to:\n- Dynamically infer relationships without pretraining on massive datasets.\n- Contextualize data in real-time, adapting to evolving environments.\n- Solve problems efficiently by mimicking natural decision-making processes.\n\nThis isn’t just about playing chess—it’s about **redefining how data interacts with logic and inference** in ways that mirror the adaptability of human thought.\n\n---\n\n### **A Unique Process**\nThis notebook may not follow the traditional structure you might expect from a polished machine learning project. Instead, it reflects my **iterative, first-principles approach**:\n- I solve problems by building frameworks from the ground up, not by starting with existing models or theories.\n- My process naturally intersects with broader principles like Einstein’s **Theory of Relativity**, graph theory, and logical structures, but these are **outcomes, not starting points.**\n\nWhile the code and structure may appear unconventional at times, it is a direct representation of my thought process—fueled by experimentation, iteration, and an unrelenting curiosity.\n\n---\n\n### **Why This Matters**\nWhat you’ll see here is not just a chess bot; it’s a demonstration of a universal framework:\n- **Dynamic Contextual Inference**: The bot prioritizes moves based on relationships and real-time game dynamics rather than brute-force simulations.\n- **Transferable Ideas**: The principles applied here can be extended to fields like fraud detection, real-time decision systems, and even physics simulations.\n- **Efficiency at Scale**: AGT does not rely on GPU-intensive training but instead uses structured logic to infer outcomes dynamically.\n\nThe chess bot is simply the beginning—a demonstration of what happens when data, relationships, and context converge in meaningful ways.\n\n---\n\n### **Acknowledgments**\nThis work represents countless hours of iteration, experimentation, and collaboration. While the ideas here are my own, I want to acknowledge the modern tools that have facilitated this journey, including **ChatGPT**, which has acted as a collaborator, bouncing ideas and helping refine this framework.\n\nThis notebook is a testament to what can be achieved when curiosity meets persistence. I hope you enjoy exploring this work as much as I’ve enjoyed creating it.\n\n---\n\n### **A Note on Structure**\nThis notebook might feel unconventional. It wasn’t designed to impress with perfect organization but to showcase the raw process of discovery and problem-solving. Every section reflects my iterative journey—an honest look at how breakthroughs are made.\n\n---\n\n### **Let’s Begin**\nWhat follows is an application of **Active Graph Theory** in the context of a chess AI. Beneath the moves, algorithms, and code is a deeper story of how data can be understood, structured, and leveraged to create systems that think dynamically. Let’s dive in.","metadata":{}},{"cell_type":"code","source":"from IPython.display import HTML\n\n# List of YouTube video URLs\nvideo_urls = [\n \"https://www.youtube.com/embed/YwxHNlEc2hU\", # First video\n \"https://www.youtube.com/embed/_dqUJch3PF8\", # Second video\n \"https://www.youtube.com/embed/noUThX4Tnnk\", # Third video\n \"https://www.youtube.com/embed/AI90-uL5Hf4\" # Fourth video\n]\n\n# Initialize an empty string to hold the HTML\nhtml_content = '