Group2: explicit axiom functions
===============================

This is the revised copy of all 118 plans from Groups. Original files in
Groups were left unchanged, and all 118 filenames were retained.

group-axioms.shen defines 44 typed zero-place functions returning the
original group/ring axioms, defining equations and extra hypotheses.
Defining a function does not assert its proposition in the knowledge base.
Each plan explicitly lists exactly its original inputs. G and its local
axiom bindings were removed; let* became ordinary let. Remaining local
bindings name lemmas and targets. Shared functions have a g2- prefix.

Start Shen from S42JiT, then load:

  (cd "Lib/THORN")
  (tc -)
  (load "THORN.shen")
  (load "datatypes.shen")
  (load "CoST/CoSTv1.shen")
  (tc +)
  (maxinferences 1000000000)
  (load "Plans/Group2/group-axioms.shen")

For an ordinary plan, loading checks and executes it:

  (load "Plans/Group2/group1.shen")

The Kuzmin files define typed zero-place plan functions. Load the desired
file and then call its function:

  (load "Plans/Group2/kuzmin-partial.shen")
  (kuzmin-partial)

Each Kuzmin file prints its run command. Their function names match Groups;
the definition in the most recently loaded file is the one called.

The 19 November validation found:
  * all 118 converted files loaded and typechecked;
  * all 118 expanded plans matched the original mathematical inputs/steps;
  * 117 plans proved, with the original proof-search inference counts;
  * kuzmin-expansion proved 24 lemmas before capture index exceeds 255.

Bruno Deferrari's explanation of the capture-index error is that a closure
captures more than 256 values. The error occurs during THORN assumption
compilation. This representation change did not remove it.

logs/ contains current replay logs.
proofs/ contains 117 complete assembled proofs, using herbrandise.
times.md has aligned timings and checker-count comparisons.
results.json records the runtime measurements.
conversion.json records source hashes and structural-equivalence checks.

All plans were tested with type checking on and maxinferences set to 1e9.
Prolog memory was left at the runtime default. Query timeouts come from
each plan's THORN settings. The axiom library is loaded and checked once.

Group2 loaded the large Kuzmin definitions faster in these observations,
but their reported checker inference counts increased. For the smaller
plans, 74 checker counts decreased and 39 increased. See times.md for
figures and the limits of the comparisons.
