engines/acj-5-4-llm: the verified run-5 triple
Browse files
.gitattributes
CHANGED
|
@@ -58,4 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
**/rules.json filter=lfs diff=lfs merge=lfs -text
|
| 61 |
-
test/*.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
**/rules.json filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
test/*.json filter=lfs diff=lfs merge=lfs -textengines/acj-5-4-llm/rules_real.json filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
engines/acj-5-4-llm/rules_corpus.json filter=lfs diff=lfs merge=lfs -text
|
engines/acj-5-4-llm/config.yaml
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
operators:
|
| 2 |
+
"+":
|
| 3 |
+
realization: "+"
|
| 4 |
+
alias: []
|
| 5 |
+
arity: 2
|
| 6 |
+
precedence: 1
|
| 7 |
+
commutative: true
|
| 8 |
+
"-":
|
| 9 |
+
realization: "-"
|
| 10 |
+
alias: []
|
| 11 |
+
arity: 2
|
| 12 |
+
precedence: 1
|
| 13 |
+
commutative: false
|
| 14 |
+
neg:
|
| 15 |
+
realization: "simplipy.operators.neg"
|
| 16 |
+
alias: []
|
| 17 |
+
arity: 1
|
| 18 |
+
precedence: 2.5
|
| 19 |
+
commutative: false
|
| 20 |
+
"*":
|
| 21 |
+
realization: "*"
|
| 22 |
+
alias: []
|
| 23 |
+
arity: 2
|
| 24 |
+
precedence: 2
|
| 25 |
+
commutative: true
|
| 26 |
+
"/":
|
| 27 |
+
realization: "simplipy.operators.div"
|
| 28 |
+
alias: []
|
| 29 |
+
arity: 2
|
| 30 |
+
precedence: 2
|
| 31 |
+
commutative: false
|
| 32 |
+
abs:
|
| 33 |
+
realization: "simplipy.operators.abs"
|
| 34 |
+
alias: []
|
| 35 |
+
arity: 1
|
| 36 |
+
precedence: 3
|
| 37 |
+
commutative: false
|
| 38 |
+
inv:
|
| 39 |
+
realization: "simplipy.operators.inv"
|
| 40 |
+
alias: ["inverse"]
|
| 41 |
+
arity: 1
|
| 42 |
+
precedence: 4
|
| 43 |
+
commutative: false
|
| 44 |
+
pow:
|
| 45 |
+
realization: "simplipy.operators.pow"
|
| 46 |
+
alias: ["power"]
|
| 47 |
+
arity: 2
|
| 48 |
+
precedence: 3
|
| 49 |
+
commutative: false
|
| 50 |
+
rootn:
|
| 51 |
+
realization: "simplipy.operators.rootn"
|
| 52 |
+
alias: []
|
| 53 |
+
arity: 2
|
| 54 |
+
precedence: 3
|
| 55 |
+
commutative: false
|
| 56 |
+
sin:
|
| 57 |
+
realization: "simplipy.operators.sin"
|
| 58 |
+
alias: []
|
| 59 |
+
arity: 1
|
| 60 |
+
precedence: 2
|
| 61 |
+
commutative: false
|
| 62 |
+
cos:
|
| 63 |
+
realization: "simplipy.operators.cos"
|
| 64 |
+
alias: []
|
| 65 |
+
arity: 1
|
| 66 |
+
precedence: 2
|
| 67 |
+
commutative: false
|
| 68 |
+
tan:
|
| 69 |
+
realization: "simplipy.operators.tan"
|
| 70 |
+
alias: []
|
| 71 |
+
arity: 1
|
| 72 |
+
precedence: 2
|
| 73 |
+
commutative: false
|
| 74 |
+
asin:
|
| 75 |
+
realization: "simplipy.operators.asin"
|
| 76 |
+
alias: ["arcsin"]
|
| 77 |
+
arity: 1
|
| 78 |
+
precedence: 2
|
| 79 |
+
commutative: false
|
| 80 |
+
acos:
|
| 81 |
+
realization: "simplipy.operators.acos"
|
| 82 |
+
alias: ["arccos"]
|
| 83 |
+
arity: 1
|
| 84 |
+
precedence: 2
|
| 85 |
+
commutative: false
|
| 86 |
+
atan:
|
| 87 |
+
realization: "simplipy.operators.atan"
|
| 88 |
+
alias: ["arctan"]
|
| 89 |
+
arity: 1
|
| 90 |
+
precedence: 2
|
| 91 |
+
commutative: false
|
| 92 |
+
sinh:
|
| 93 |
+
realization: "simplipy.operators.sinh"
|
| 94 |
+
alias: []
|
| 95 |
+
arity: 1
|
| 96 |
+
precedence: 2
|
| 97 |
+
commutative: false
|
| 98 |
+
cosh:
|
| 99 |
+
realization: "simplipy.operators.cosh"
|
| 100 |
+
alias: []
|
| 101 |
+
arity: 1
|
| 102 |
+
precedence: 2
|
| 103 |
+
commutative: false
|
| 104 |
+
tanh:
|
| 105 |
+
realization: "simplipy.operators.tanh"
|
| 106 |
+
alias: []
|
| 107 |
+
arity: 1
|
| 108 |
+
precedence: 2
|
| 109 |
+
commutative: false
|
| 110 |
+
asinh:
|
| 111 |
+
realization: "simplipy.operators.asinh"
|
| 112 |
+
alias: ["arcsinh"]
|
| 113 |
+
arity: 1
|
| 114 |
+
precedence: 2
|
| 115 |
+
commutative: false
|
| 116 |
+
acosh:
|
| 117 |
+
realization: "simplipy.operators.acosh"
|
| 118 |
+
alias: ["arccosh"]
|
| 119 |
+
arity: 1
|
| 120 |
+
precedence: 2
|
| 121 |
+
commutative: false
|
| 122 |
+
atanh:
|
| 123 |
+
realization: "simplipy.operators.atanh"
|
| 124 |
+
alias: ["arctanh"]
|
| 125 |
+
arity: 1
|
| 126 |
+
precedence: 2
|
| 127 |
+
commutative: false
|
| 128 |
+
exp:
|
| 129 |
+
realization: "simplipy.operators.exp"
|
| 130 |
+
alias: []
|
| 131 |
+
arity: 1
|
| 132 |
+
precedence: 3
|
| 133 |
+
commutative: false
|
| 134 |
+
log:
|
| 135 |
+
realization: "simplipy.operators.log"
|
| 136 |
+
alias: ["ln"]
|
| 137 |
+
arity: 1
|
| 138 |
+
precedence: 2
|
| 139 |
+
commutative: false
|
| 140 |
+
|
| 141 |
+
rules: "./rules.json"
|
| 142 |
+
|
| 143 |
+
# The artifact-generation pin (simplipy.compat, owner ruling 2026-08-03):
|
| 144 |
+
# generation 2 = the AC engine's clean 23-operator vocabulary, simplipy >= 0.12.
|
| 145 |
+
engine_generation: 2
|
| 146 |
+
rules_real: "./rules_real.json"
|
| 147 |
+
rules_corpus: "./rules_corpus.json"
|
engines/acj-5-4-llm/mine.yaml
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ARTIFACT KIT acj-4 (owner ruling 2026-08-22): the complete AC-judged 4->4 mine,
|
| 2 |
+
# shipped EARLY. `acj-5-4` follows later on the same instrument.
|
| 3 |
+
#
|
| 4 |
+
# NO SECOND NUMBER, deliberately: the target cap is 4 and so is the source bound,
|
| 5 |
+
# so the cap refuses nothing and naming it would be noise. `acj-5-4` carries its
|
| 6 |
+
# number because there 4 < 5 and the cap really does bind. Minted by the
|
| 7 |
+
# released engine on the ratified minting host (solomon, glibc 2.39), x3
|
| 8 |
+
# byte-identity, full gate ladder. Reproduce with ONE command:
|
| 9 |
+
# simplipy find-rules -e config.yaml -c mine.yaml -o rules.json -v --reset-rules
|
| 10 |
+
#
|
| 11 |
+
# THE TARGET CAP IS 4, NOT source-1. This is the change that makes acj-4 a new
|
| 12 |
+
# artifact rather than a re-mine of acj-4-3: that cell capped targets at 3, and a
|
| 13 |
+
# cap of source-1 ACTIVELY REFUSES targets that are cheaper but longer, which the
|
| 14 |
+
# 2026-08-20 mu ruling identified as the wrong criterion. The bound that decides a
|
| 15 |
+
# rewrite is mu(target) < mu(source) and it still applies to every candidate; the
|
| 16 |
+
# cap now bounds only the LIBRARY, i.e. the cost, and 4 is the owner's global
|
| 17 |
+
# setting for both this cell and acj-5.
|
| 18 |
+
#
|
| 19 |
+
# Universe at u=17 unary, b=6 binary, a=29 leaves (27 terms + TWO dummies;
|
| 20 |
+
# dummy_variables = ceil(5/2) = 3 (source length 5; the 2026-08-01 note below predates the 5-4 config)
|
| 21 |
+
# only renamed duplicates). Identical to the acj-4-3 sidecar, which validates the
|
| 22 |
+
# recurrence to the digit:
|
| 23 |
+
# T(1)=29 T(2)=493 T(3)=13,427 T(4)=399,823
|
| 24 |
+
# total sources 1..4 = 413,772
|
| 25 |
+
# T(2) and the total are the RUN's own numbers. The first draft of this header
|
| 26 |
+
# said 477 and 413,756 -- derived here rather than read off a sidecar, and wrong.
|
| 27 |
+
# T(3) and T(4) matched the acj-4-3 sidecar and the run to the digit.
|
| 28 |
+
#
|
| 29 |
+
# COST. The len-4 tier dominates. Measured on solomon 2026-08-22 for the acj-5
|
| 30 |
+
# cell (a=30, target cap 4): the len-3 tier ran at ~11 sources/s aggregate on 32
|
| 31 |
+
# cores, which is ~5x slower per source than the estimate the acj-5 kit was
|
| 32 |
+
# written against -- the target cap of 4 builds a six-figure candidate library and
|
| 33 |
+
# every source is judged against it. DO NOT re-use the old ~36 src/s figure.
|
| 34 |
+
# Measure this cell's own rate off the len-3 tier before promising an ETA.
|
| 35 |
+
#
|
| 36 |
+
# Alphabet unchanged from acj-4-3 (the 2026-08-06 owner ruling: flash-ansr
|
| 37 |
+
# vocabulary literals -10..10, e, pi -- completeness over margin).
|
| 38 |
+
extra_internal_terms: ['<constant>', '(-10)', '(-9)', '(-8)', '(-7)', '(-6)', '(-5)', '(-4)', '(-3)', '(-2)', '(-1)', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10',
|
| 39 |
+
'np.e', 'np.pi',
|
| 40 |
+
'float("inf")', 'float("-inf")', 'float("nan")']
|
| 41 |
+
dummy_variables: 3 # ceil(max_source_pattern_length/2)
|
| 42 |
+
max_source_pattern_length: 5
|
| 43 |
+
max_target_pattern_length: 4
|
| 44 |
+
n_samples: 1024
|
| 45 |
+
constants_fit_challenges: 16
|
| 46 |
+
constants_fit_retries: 16
|
| 47 |
+
rtol: 1.0e-11 # carried from acj-4-3 (2026-08-01 grid measurement; do not relax without re-running it)
|
| 48 |
+
atol: 1.0e-12
|
| 49 |
+
min_informative: null
|
| 50 |
+
seed: 42
|
| 51 |
+
confirm: true
|
| 52 |
+
relaxed_kruskal: true
|
| 53 |
+
prune: covered
|
| 54 |
+
promote_sorts: true
|
| 55 |
+
# LLM channel: ON from the start (owner ruling 2026-08-25: acj-5-4 goes directly to
|
| 56 |
+
# the LLM-augmented mine; no separate bare run). The batch is the two acj-4-era
|
| 57 |
+
# certified sets merged with the beyond-horizon-5 batch (sources one past the
|
| 58 |
+
# complete length-4 universe -- the sqrt(x^2) class); sha256-pinned in the sidecar.
|
| 59 |
+
proposals: llm_proposals.json
|
engines/acj-5-4-llm/rules.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a0ee807e1f09b93285dacfe81113542fdfa06d972e684f078fc99d73d0853f8
|
| 3 |
+
size 8284816
|
engines/acj-5-4-llm/rules.json.provenance.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
engines/acj-5-4-llm/rules_corpus.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad48b0c3aaccc8773daa07ab6c076fdd3493f824aebd9cc3a301408fbde33e10
|
| 3 |
+
size 24961989
|
engines/acj-5-4-llm/rules_real.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c31e378dbc91754f5627c5380da2e6c812ca6801a6c0628f043d3037333d544e
|
| 3 |
+
size 23952428
|