{"id":"2851883b-d9e3-4a4d-9224-23ae6365a976","arxiv_id":"2606.26141","paper_version":1,"verdict":"UNVERDICTED","confidence":"LOW","novelty_score":2.0,"correctness_risk":"low","formal_verification":"none","parameter_count":0,"one_line_summary":"Formalization in Lean 4 of the theorem that there are exactly five groups of order p^3 up to isomorphism for any prime p.","lead":"This paper describes a formalization in Lean 4 of the classical classification of groups of order p^3 for prime p, using the mathlib4 library. A smart generalist might read it to understand how proof assistants can verify textbook results in abstract algebra and contribute to trusted mathematical libraries.","discovery_kind":"replication","skeptic_critique":{"model":"grok-4.3","headline":"No significant objection identified","rationale":"The reader's weakest_assumption correctly isolates the only potential point of friction (library fidelity), but that point is not load-bearing for a replication of a known result. No other technical gap (e.g., missing case for p=2, incomplete abelian classification, or unproven order-p^3 exhaustion) is indicated by the abstract or the nature of the work.","tokens_in":1637,"tokens_out":352,"duration_ms":18654,"concrete_test":"If the Lean repository is released, execute `lean --make` on the project root and confirm that `theorem classification : ∀ (p : ℕ) [Fact p.Prime] (G : Group) [Fintype G] (h : card G = p^3) : ∃ (H : Group), (H ≃* G) ∧ (H ∈ {Heis_p, semidirect_p, ...})` (or equivalent top-level statement) type-checks without sorry or axiom.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The paper reports a Lean 4 formalization (via mathlib4) of the classical classification of groups of order p^3 into five isomorphism classes, including explicit constructions of the groups and isomorphisms for the non-abelian cases. The result is a replication of a standard theorem rather than a novel claim; the only substantive assumption is that mathlib4's Group, SemidirectProduct, center, commutator, and Iso definitions coincide with the classical ones used in the proof. This assumption is standard for mathlib-based formalizations and introduces no detectable internal inconsistency or unverified step in the described development.","agreement_with_reader":"agree"},"referee_report":{"model":"grok-4.3","summary":"The paper claims to have formalized in Lean 4 using mathlib4 the classification of groups of order p^3 for prime p into five isomorphism classes. It presents the three abelian groups (Z/p^3Z, Z/p^2Z × Z/pZ, Z/pZ × Z/pZ × Z/pZ) and the two non-abelian ones (Heisenberg group Heis(Z/pZ) and Z/p^2Z ⋊ Z/pZ for odd p; D4 and Q8 for p=2), along with structural lemmas on centers, commutators, and exponents, and explicit isomorphism constructions to classify arbitrary non-abelian p^3-groups.","tokens_in":1747,"tokens_out":366,"duration_ms":23384,"significance":"This is a replication of a standard theorem rather than a novel result, but the machine-checked formalization and detailed account of the proof structure (particularly the non-abelian cases via semidirect products) provide a useful reference implementation within the Lean ecosystem. It demonstrates the applicability of mathlib4's Group, SemidirectProduct, center, commutator, and Iso primitives to a complete classification and can serve as an educational blueprint for similar formalizations of finite group theory results.","major_comments":[],"minor_comments":[{"comment":"The manuscript does not include a link to the code repository, commit hash, or Lean file names, which would improve reproducibility and allow readers to inspect the proof structure directly.","section":null},{"comment":"The abstract and introduction could more explicitly state the three abelian isomorphism classes alongside the non-abelian ones for completeness.","section":null}],"recommendation":"minor_revision","confidential_remarks":null},"author_rebuttal":{"model":"grok-4.3","summary":"We thank the referee for their positive assessment of the formalization and for recommending minor revision. No major comments were raised in the report.","responses":[],"tokens_in":1215,"tokens_out":46,"duration_ms":14421,"standing_objections":[]},"desk_editor":{"model":"grok-4.3","letter":"This paper records a Lean 4 formalization, via mathlib4, of the five isomorphism classes of groups of order p^3. The main contribution is the explicit construction of the non-abelian examples (Heisenberg group and semidirect product for odd p; D4 and Q8 for p=2) together with the structural lemmas on centers, commutators, and the explicit isomorphisms that finish the classification.\n\nThe work is competent on its own terms. It follows the standard textbook proof, builds the groups from the library primitives, and verifies the necessary properties without apparent shortcuts. That is useful for anyone who wants the result already checked inside mathlib rather than having to redo the lemmas themselves.\n\nThe obvious limitation is that the theorem itself has been known since the 19th century and the paper makes no claim to new mathematics. The value is therefore entirely in the formalization effort and the integration with existing library definitions. Because the abstract gives no commit hash or proof statistics, a referee would still want to inspect the actual code to confirm the development is complete and not merely sketched.\n\nThe paper is aimed at the small community that maintains and uses mathlib4 for group theory. A reader already working in that setting will find the explicit constructions and the handling of the p=2 case worth looking at. Outside that circle the paper adds little.\n\nI would send it to peer review at a venue that publishes formalizations; the work is honest and the central claim is mechanically verified once the code is examined. It does not need to be desk-rejected.","headline":"A straightforward Lean formalization of the classical p^3 group classification that adds to mathlib but introduces no new mathematics.","tokens_in":2174,"tokens_out":391,"would_cite":false,"duration_ms":10225,"reading_group":"maybe","serious_thinker":"yes","would_accept_peer_review":true},"rs_alignment":null,"lean_confirmation":null,"pith_extraction":{"msc":[],"pacs":[],"model":"grok-4.3","headline":"Every group of order p^3 is isomorphic to one of five standard groups.","keywords":["p-groups","group classification","isomorphism classes","non-abelian groups","Heisenberg group","semidirect product","dihedral group","quaternion group"],"falsifier":"A concrete group of order p cubed whose structure cannot be matched to any of the five listed models by the supplied isomorphisms would falsify the classification.","tokens_in":2529,"feed_emoji":"🔢","tokens_out":780,"duration_ms":29517,"temperature":0.7,"pith_summary":"The paper establishes that groups of order p cubed for prime p fall into exactly five isomorphism classes. It supplies concrete models for the three abelian cases as direct products of cyclic groups and for the non-abelian cases as the Heisenberg group together with a semidirect product when p is odd, or the dihedral and quaternion groups when p equals 2. Structural facts about centers, commutators and exponents are used to separate the classes, after which explicit maps are built to show that an arbitrary group of this order matches one of the five. A sympathetic reader would care because the result supplies a complete, step-by-step identification procedure that removes any possibility of overlooked cases in the classical listing.","feed_headline":"Five classes classify all groups of order p^3","feed_subtitle":"Every group whose order is a cube of a prime falls into one of three abelian or two non-abelian isomorphism types, with explicit maps suppli","key_machinery":"Explicit isomorphism constructions that send an arbitrary non-abelian group of order p^3 to one of the two standard models, using lemmas on the center, the commutator subgroup, and the exponent.","core_discovery":"The classification asserts that there are five isomorphism types of groups of order p^3. The abelian ones are the cyclic group of order p^3, the direct product of cyclic groups of orders p^2 and p, and the direct product of three copies of the cyclic group of order p. For odd p the non-abelian groups are the Heisenberg group over the integers modulo p, which has exponent p, and the semidirect product of the cyclic group of order p^2 by the cyclic group of order p. When p equals 2 the non-abelian groups are the dihedral group of order 8 and the quaternion group of order 8. The development constructs each of these groups and supplies the explicit isomorphisms that classify every non-abelian gr","pith_inferences":["The same pattern of explicit isomorphism maps could be used to classify groups of order p^4.","Having the small cases settled allows mechanical verification of further statements about representations or automorphisms of these groups.","The distinction between the Heisenberg group and the semidirect product supplies a model case for studying nilpotent groups of class two."],"forward_implications":["Any group of order p^3 belongs to one of the five classes and can be identified by computing its center size, commutator size, and exponent.","The two non-abelian classes for odd p are separated exactly by whether the exponent equals p or p squared.","Every non-abelian group of order p^3 has center and derived subgroup both of order p.","The three abelian classes correspond to the three possible partitions of the integer 3."],"fun_headline_variants":["Lean classifies five groups of order p^3","All p^3-groups fall into five classes in Lean","Classifying order p^3 groups in Lean 4 mathlib","Five classes of p^3-groups formalized in Lean"],"cache_read_input_tokens":2112,"weakest_assumption_plain":"The definitions of groups, semidirect products, centers, commutators, and isomorphisms match the standard mathematical notions used in the classical proof.","fun_headline_variants_meta":{"raw":{"variants":["Lean classifies five groups of order p^3","All p^3-groups fall into five classes in Lean","Classifying order p^3 groups in Lean 4 mathlib","Five classes of p^3-groups formalized in Lean"]},"model":"grok-4.3","cost_usd":0.00726,"raw_usage":{"total_tokens":3273,"prompt_tokens":684,"num_sources_used":0,"completion_tokens":64,"cost_in_usd_ticks":72603000,"prompt_tokens_details":{"text_tokens":684,"audio_tokens":0,"image_tokens":0,"cached_tokens":64},"completion_tokens_details":{"audio_tokens":0,"reasoning_tokens":2525,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"tokens_in":684,"tokens_out":64,"duration_ms":17771,"temperature":1.0,"reasoning_tokens":2525,"cache_read_input_tokens":64,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-06-26T11:05:02.649370+00:00","model_set":{"reader":"grok-4.3"},"falsifier":"A concrete group of order p cubed whose structure cannot be matched to any of the five listed models by the supplied isomorphisms would falsify the classification.","supporting_citations":[],"review_version":1}