# E175 — Advanced software and mathematics under independent tests

**AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL**

## The result
- **Software:** **10/10** advanced algorithmic repairs passed the **hidden** test suite. The actor was
  `claude-haiku-5-5`; it saw the buggy module and the **public** tests only. Hidden tests were held out and run in a
  subprocess with an AST allowlist (no os/sys/socket/subprocess/open/eval/exec) and a 5 s timeout. Cost: **$0.0030**.
- **Mathematics:** **10/10** exact problems solved by CAIN's deterministic engine and verified by an
  independent method (SymPy, mpmath, brute force, or a second algorithm). Cost: **$0** local CPU.

## The 10 software problems
| ID | Problem | Hidden tests |
|---|---|---|
| S01 | lower_bound on duplicates (binary search boundary) | PASS |
| S02 | LRU cache (eviction order and updates) | PASS |
| S03 | topological sort with cycle detection | PASS |
| S04 | Dijkstra with weighted edges | PASS |
| S05 | Union-Find with path compression and rank | PASS |
| S06 | Matrix-chain multiplication DP | PASS |
| S07 | Integer expression parser with precedence | PASS |
| S08 | Token-bucket rate limiter over time | PASS |
| S09 | Convex hull (collinear points excluded) | PASS |
| S10 | Median of two sorted arrays (even/odd, empty, duplicates) | PASS |

## The 10 exact mathematics problems
| ID | Problem | Answer | Verifier |
|---|---|---|---|
| M01 | Number of spanning trees of an 8-vertex graph | `1152` | PASS |
| M02 | Solve a CRT system (mod 5,7,11,13) | `4427` | PASS |
| M03 | Integer partitions p(120) | `1844349560` | PASS |
| M04 | Exact integral of x^3(1-x)^5/(1+x) on [0,1] | `6211/280 - 32*log(2)` | PASS |
| M05 | Exact sum of 1/(k^2(k+1)^2) | `-3 + pi**2/3` | PASS |
| M06 | Determinant of a 12x12 (5 diag, 1 off) | `67108864` | PASS |
| M07 | Fibonacci(10000) mod 1,000,000,007 | `271496360` | PASS |
| M08 | Derangements D(50) mod 1,000,000,007 | `77829876` | PASS |
| M09 | Multiplicative order of 2 mod 1,000,000,007 | `500000003` | PASS |
| M10 | Number of primes below 2,000,000 | `148933` | PASS |

## What this establishes — and what it does not
- It establishes that CAIN-42 can present a harder, independently checked software and mathematics suite, and that its
  deterministic math engine solves all ten exact problems with a second method agreeing.
- The software actor solved all ten **constructed** problems with the public tests visible; hidden tests were held out.
  This is **not** SWE-bench or a real repository; the problems are known-answer algorithmic tasks, and the public tests
  deliberately expose the bug.
- The mathematics is **advanced undergraduate / competition-adjacent**, not open research; the engine is deterministic
  CAIN code, not a language model.
- No external reviewer; one run; one host; no production action. **AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL.**

## Reproduce
The signed bundle contains the public tests, the hidden tests (answer key), the actor's **code hashes** and hidden-test
transcript, the exact answers, the API ledger, and the standalone verifier. **The model-written source is withheld** (E167
precedent); an auditor with the private vault can open it and re-run it. `python3 -I verify_e175_offline.py .` re-checks
the commitments and transcript and re-runs the independent mathematics.
