From 8293ff6f64511106a88357baef94ccdb3c7ff002 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 11 Jul 2026 06:15:14 +0000 Subject: [PATCH] Prepare repo for public visibility - LICENSE: MIT - README: CI and license badges, figures embedded under each script section plus the at-scale figure as a hero image, license section Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01898JobGjDfsgm93YW6jH6s --- LICENSE | 21 +++++++++++++++++++++ README.md | 19 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..6410adb --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 WhatsYourWhy + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 164ccf9..4220352 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # lambda_ratio_explorer +[![CI](https://github.com/WhatsYourWhy/lambda_ratio_explorer/actions/workflows/ci.yml/badge.svg)](https://github.com/WhatsYourWhy/lambda_ratio_explorer/actions/workflows/ci.yml) +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE) + > Factorization splits the multiplicative group into independent cyclic > components. φ(n) counts the total elements; λ(n) is the maximum order of > any element. Their ratio measures how badly those components fail to @@ -45,6 +48,8 @@ For derivations, worked examples, and a connection to every figure here, see [`THEOREM.md`](./THEOREM.md). A renderable PDF can be produced via `render_theorem.ps1` (requires pandoc plus a LaTeX engine). +![Collapse index C(n) at scale](./collapse_at_scale.png) + ## Install ```bash @@ -79,6 +84,8 @@ python group_structure.py # -> group_structure.png ``` +![Group structure analysis](./group_structure.png) + ### Order distributions (`order_distributions.py`) The synchronization model made visible at the level of individual @@ -94,6 +101,8 @@ python order_distributions.py # -> order_distributions.png ``` +![Element order distributions](./order_distributions.png) + ### Wedge envelopes (`wedge_envelopes.py`) A focused plot showing that the upper edges of the `lambda(q)` wedge @@ -106,6 +115,8 @@ python wedge_envelopes.py # -> wedge_envelopes.png ``` +![Wedge envelopes](./wedge_envelopes.png) + ### Collapse propagation (`propagation.py`) Iterative demonstration of the propagation theorem. Builds three example @@ -118,6 +129,8 @@ python propagation.py # -> propagation.png ``` +![Collapse propagation](./propagation.png) + ### Distribution of `gcd(p-1, q-1)` (`gcd_distribution_theory.py`) Empirical verification of Theorem C. Computes the divisibility rate @@ -134,6 +147,8 @@ python gcd_distribution_theory.py # -> gcd_distribution.png ``` +![Theorem C verification](./gcd_distribution.png) + ### Collapse at scale (`collapse_at_scale.py`) The full-range scan of `C(n)` to `n = 10^6`, using a smallest-prime-factor @@ -247,3 +262,7 @@ identity at runtime, so they double as tests for the theorem in for backward compatibility, but `log(n)` is just a constant scalar and does not enter the structural story. The interesting metrics are `lambda(q)`, `phi(q)`, and `C(q)`. + +## License + +[MIT](./LICENSE)