Repository navigation
Standalone Lean 4 models of permutation-group orbit and group-order algorithms (inspired by grpperm.gi / oprtperm.gi) #6874
Lexovian
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone,
I am sharing a small independent Lean 4 / Mathlib4 project that my family and I (Dağhan, Volkan, and Zerrin Dağlı) have been working on, continuing our earlier Lean 4 experiments around computational group theory algorithms.
Taking earlier feedback from this discussion board directly to heart, I want to be completely explicit about scope up front: these files are standalone Lean 4 models inspired by GAP's algorithms in
lib/grpperm.giandlib/oprtperm.gi, not a formal verification of GAP's C kernel or GAP runtime. There is no verified parser or formal semantic bridge connecting GAP's execution to Lean.What we have formalized and checked in Lean
v4.28.0(0 sorry, with 30 audited theorems checked via#print axiomsagainst only the standard Lean axioms):RequestProject/Gap/Library/Oprtperm.lean):onPoints,onPairs, andonSetsaction laws, a computable BFS orbit routine (orbitOfPoint) proved equal to Mathlib's abstract orbit definition, orbit partitioning, the Orbit-Stabilizer cardinality relation, and a bijection between stabilizer-chain transversal representatives and the corresponding orbit.RequestProject/Gap/Library/Grpperm.lean): Explicit separation between moved-point support (LargestMovedPoint) and internal representation degree, transversal word factorization, and the Schreier-Sims basic-orbit product formula for group order.tools/run_rung4a_gap_witness.py): Rather than claiming runtime verification, we added a small reproducible Python script that runs a local GAP 4.12.1 binary across 10 finite permutation groups (including intransitive embeddings where moved-point support is strictly smaller than storage degree, and the Mathieu group M11) to cross-check orbit sizes, stabilizer orders, and group orders (100/100 matching checks plus one synthetic mismatch test).Links:
v0.3.0, Apache-2.0): https://github.com/Lexovian/gap-lean4-portSharing purely in case anyone interested in formalizing computational group theory in Lean 4 finds the computable orbit proofs or differential test script useful. No review or action is expected, and any technical feedback or edge cases we missed are always welcome.
Best regards,
Dağhan Dağlı
All reactions