Finishing and open-sourcing a formally verified (75+ axiom-free Lean 4 theorems), zero-crash continual-learning core, equal-budget online baselines
Most modern AI systems are black boxes whose stability, boundedness, and crash-freedom cannot be formally proven, and AI coding agents frequently introduce subtle semantic defects (silent clamps, inverted safety gates, vacuous tests) even when unit tests pass.
I am building MicroContinualCore - a strictly rational, no_std-ready online continual-learning engine in Rust backed by a compile-time AST totality macro #[axiom_zero]) and 75 axiom-free Lean 4 theorems proving positivity, norm preservation, BIBO stability, and derivative identities. The engine updates online in 18–67 KB RAM with zero hot-path heap allocations, zero transcendental functions expsincossqrt), an integer Q8.24 FPU-free path, and survives live Bit-30 radiation fault injection (SEUs) with zero NaNs.
Public baseline v0.5.1 and axiom_zero are open on GitHub. With this grant, I will: (1) complete and open-source v0.6.0 plus ~25–30 new axiom-free Lean 4 theorems for continuous-action control and episodic overlays, (2) build fair equal-budget <= 64 KB, zero-replay) online baselines to rigorously falsify or validate our claims, (3) run live hardware tests on STM32H7/ESP32-S3 microcontrollers, and (4) publish a detailed empirical report on where builder != reviewer AI agents succeed and fail in formal Rust + Lean 4 verification.
Goal 1 - Equal-budget online baselines & remaining edge fixes (Months 1–2):
- Fix remaining input-clamping and fixed-point saturation edge cases.
- Implement strictly single-pass, zero-replay Rust baselines (tiny GRU, Echo State Network, RLS/Kalman) at <= 64 KB RAM inside the same benchmark harness (ELEC2, NASA C-MAPSS FD001–FD004 clean + live Bit-30 SEU, CartPole, Dyck-2).
- Diagnose and document the current high multi-seed variance in our fractional-dimension curriculum tests.
Goal 2 - Formal verification expansion & Phase M4 (Months 2–4):
- Implement a rational continuous-action control head (Cauchy policy gradient, 0% expsqrt) and optional Kerr episodic overlay 0 B when disabled).
- Prove ~25–30 additional Lean 4 theorems 0 axioms, bringing the total to ~100 theorems) matching the Rust kernels, verified via central finite-difference gradient checks.
Goal 3 - Physical hardware validation, open release & agentic-audit write-up (Months 4–6):
- Deploy StaticEngine and integer FixedCayleyCore Q8.24) on physical STM32H7 / ESP32-S3 microcontrollers and measure real SRAM, Flash, µs/step, and live fault recovery.
- Publicly release v0.6.0, the full Lean 4 proof suite, reproducible benchmark code, an arXiv preprint, and a concrete public report documenting defect classes caught vs. missed by adversarial AI subagents across Rust + Lean 4 audits.
Success is measured by strict, machine-checkable public deliverables at Month 6:
1. Public GitHub release of v0.6.0 + Lean 4 proof suite (~100 theorems) compiling with 0 axioms #print axioms clean) and 0 compiler warnings.
2. All core modules pass #[axiom_zero] AST validation, central finite-difference gradient checks < 1e-3 abs or < 2% rel error), and 0 hot-path heap allocation tests in both default and strict_deterministic builds.
3. Reproducible head-to-head benchmark tables comparing MicroContinualCore against equal-budget <= 64 KB) online baselines (including any tasks where baselines win-negative results will be reported openly) and live Bit-30 SEU tests any_nan == false).
4. Measured on-device SRAM, Flash, and latency logs from physical STM32H7/ESP32-S3 hardware.
5. Public arXiv preprint + standalone technical write-up on adversarial builder != reviewer AI formal verification failure modes.
Minimum funding ($2,400) covers the bare essentials for 6 months of full-time work in Almaty, Kazakhstan:
- Basic living expenses for 6 months ($300/month): $1,800
- AI verification & coding tool subscriptions/API credits (6 months): $360
- Microcontroller hardware for physical tests (STM32H7 / ESP32-S3 boards, debugger, basic sensors): ~$200
- Project domain & minimal overhead: ~$40
Full funding goal ($3,500) adds:
- Extra compute/API credits for extended multi-seed baseline sweeps and Lean 4 proof search: +$500
- Better physical testbench / power-measurement hardware & shipping to Kazakhstan: +$250
- Buffer for Manifund/transfer fees, currency conversion, and emergencies: +$350
Solo applicant: Adrian Aleksandrovich İşmuhanov (independent researcher, Almaty, Kazakhstan).
Public track record & artifacts:
- Core repository v0.5.1 public; v0.6.0 on private pre-release branch): https://github.com/Worobushka/micro_continual_core
- Compile-time totality macro MIT OR Apache-2.0): https://github.com/Worobushka/axiom-zero
- ORCID: https://orcid.org/0009-0002-4761-1952
- Zenodo archive: https://zenodo.org/records/24614958
What is already working on the v0.6.0 branch: 75 axiom-free Lean 4 theorems, 14/14 AST-audited core modules, 30+5 zero-alloc tests passing in default and strict_deterministic builds, 90.84% raw on ELEC2 (33.3 KB, 22.6 µs/step), 29.87 RMSE on NASA C-MAPSS FD004 (32.32 under live Bit-30 SEU injection, 0 NaNs, 66.9 KB), and three documented adversarial audit rounds that uncovered 62 silent value-zeroing clamp bugs, an inverted Lyapunov safety gate, and fixed-point SEU edge cases.
1. Empirical falsification by equal-budget baselines: tiny online GRU/ESN/RLS baselines at <= 64 KB might outperform our rational Cayley dynamics on some tasks (e.g., NASA C-MAPSS). Even in that case, the project still produces a useful open scientific output: honest equal-budget benchmarks, ~100 axiom-free Lean 4 theorems for rational bounded control, a working no_std Q8.24 MCU runtime, and empirical data on AI-assisted formal verification.
2. Persistent seed variance in fractional-dimension curriculum learning: if multi-seed bimodality in Phase M2 cannot be fully eliminated, I will report the full distribution (median, IQR, failure modes) transparently rather than cherry-picking seeds.
3. Hardware/toolchain friction on no_std STM32/ESP32 targets: mitigated by already having a zero-alloc StaticEngine and integer FixedCayleyCore verified on desktop.
$0 raised in the last 12 months.
Pending applications (full transparency):
- Emergent Ventures ($2,800 cash request, submitted Dec 2026 - pending).
- Kimi for Science (non-cash Kimi API credits only, submitted Dec 2026 - pending).
If another cash grant is approved and covers overlapping living expenses, I will adjust or withdraw overlapping budget lines here accordingly so funds are never double-counted.
There are no bids on this project.
Comments
No comments yet. Sign in to create one!