#!/bin/sh # ascent.sh [THREADS] [OUT] [SEEDR] [MAXR] # # Witness-prefix-driven ascent on the 83# rung: n = 21, primes 5..83. # A144311(23) = 6 R(21) + 5 , G_2(83#) = 6 R(21) + 6 # # SEEDR must be the largest R already CERTIFIED BY A WITNESS (not by a target): # the complete search of 0017 reached target R = 285 but its witness has prefix # pre(a) = 288, so the ascent is seeded at 288 and the first decision is R = 289. # The engine (0017's jtwin, itself seeded from this witness) measures each new # witness's prefix, prints it, and jumps the seed to it -- so one search can bank # several rungs. The first REFUTED R closes the rung exactly: # feasible(R-1) and not feasible(R) => R(21) = R-1. TH=${1:-8} OUT=${2:-../out/ascent.log} SEED=${3:-288} MAXR=${4:-1500} JT=${JT:-../../0017/scripts/jtwin} { echo "=== 0018 ascent on the 83# rung ===" echo "start $(date -u) threads=$TH seed R=$SEED (largest R certified by a witness)" echo "engine $JT ; rung identity A144311(23) = 6R+5 , G_2(83#) = 6R+6" echo "seeded from 0017's witness (found at target 285, prefix 288); see out/seed-certificate.txt" } > "$OUT" "$JT" 21 "$SEED" "$MAXR" 20260101 "$TH" >> "$OUT" 2>&1 echo "=== ascent end $(date -u) ===" >> "$OUT"