Hyperlambda Goes to Mars

Hyperlambda Goes to Mars

NASA is starting to let AI plan rover drives, with a much smaller team to check them. That raises a question nobody can dodge: how do you prove an AI-written plan is safe before it goes up to a six-wheeled, car-sized robot 200 million kilometres away?

Barnabas answered it. He built Farside: our own small Hyperlambda model writes the next drive plan for the real Perseverance rover, at its real position, on real terrain, in real Mars time, and a flight computer proves every plan safe before it would ever run.

Farside: Perseverance, right now. A contour map of Jezero crater with the live state at the rover: sol 2053, local time 01:27, sun 56 degrees below the horizon, 45.25 km driven so far

Open it and you see Perseverance right now: sol 2053, local time 01:27 at the rover, the Sun 56° below the horizon, 45.25 km driven since landing. Every number comes live from NASA's public mission data.

Code is data. That is the whole trick.

This is the idea I built Hyperlambda around, and Farside is the most dramatic demonstration of it anyone has made.

A drive plan written in Python or JavaScript is text you have to run to understand. A drive plan written in Hyperlambda is a tree. Every command, every decision, every loop and every check is a node you can walk, inspect and measure before a single instruction executes. The flight computer doesn't trust the model. It reads what the model wrote, branch by branch, and only then decides whether a wheel turns.

Here is what that looks like, live:

Farside's live pipeline: raw SuperCam images from sol 2031, then five steps: writes six plans at once, reads each plan as a tree, tests it on many Marses, checks the rules at every meter, approves or tries again. Below it, Mission Control for the real Perseverance
  1. Writes six plans at once. Our fine-tuned Hyperlambda model is the planner.
  2. Reads each plan as a tree. Code is data, so it is inspected before it runs.
  3. Tests it on many Marses. The real map, and the map plus its real errors.
  4. Checks the rules at every meter. Slope, darkness, battery, map edge.
  5. Approves, or tries again. Only a plan that passes everything is approved.

In one run I watched, the model wrote 24 plans with 1,570 nodes between them. The flight computer ran them 942 times across the real map, 42 harder versions of it and 297 test cases, and performed 454,296 rule checks. Not one plan passed, so the status read held and nothing was approved.

That's not a failure. That is the product. A verifier that says no, with a reason, is the only kind worth having when the thing on the other end costs $2.7 billion.

Mission Control

Farside Mission Control: the 620 by 460 metre ground around the real Perseverance, hidden hazards marked in amber, the rover's real track, a target 200 metres ahead, and fault detection reporting that it is dark at the rover, the sun is 56 degrees below the horizon, and any drive must wait for daylight

Mission Control shows the 620 × 460 m of ground around the rover. Pick a target and the fault detector goes to work before the model writes a word.

In the screenshot it found the obvious one first: it is dark at the rover. The Sun is 56° below the horizon, and Perseverance does not drive in the dark, so any drive has to wait for daylight. It then found a safe corridor anyway: south 20 m, east 100 m, east 100 m, north 6 m. On the straight line to the target, the map says the steepest point is 11.9°. With the rover's own error record applied, it is 17.5°, uncomfortably close to the 20° flight limit.

And the model never sees free text. The planner writes from the numbers, never from free text. The prompt is built from measured facts, so there is nothing for a creative model to misread.

The map lies. Farside measured by how much.

The orbital map of Jezero crater is a 20 m height model from NASA and USGS. Perseverance publishes its own height and tilt at every stop. Barnabas compared the two at all 708 stops.

Where the map is wrong: 708 real stops compared with the map, 4.6 degrees more tilt than the map shows at 1 in 10 stops, and the biggest miss on sol 795, where the map said 1.8 degrees and the rover stood at 18.3 degrees. A histogram counts stops by how much steeper the rover stood than the map said
  • At 1 in 10 stops, the rover stood 4.6° steeper than the map said.
  • The biggest miss was on sol 795: the map said 1.8°, and the rover stood at 18.3°.
  • The map is most wrong where it looks flat. On ground the map calls 0–4°, the worst 5% of stops were 6.9° steeper.

So Farside doesn't plan on one Mars. It plans on forty-odd: the real map, 40 versions with the rover's measured errors added cell by cell, a version made as wrong as its worst 5%, and one with an earlier sunset. A plan has to survive all of them.

It works. On the 2025 Summerland Trail climb, the map alone flagged 4 of the 8 stops that were really steeper than 15°. Adding the rover's own error record flagged all 8.

Every meter it has driven

Farside also has a second page, and it's the one people won't close: the whole journey.

Farside journey: every meter Perseverance has driven on Mars. 45.25 km driven, 708 published stops, 2,022 Martian days, 1,588 m of climbing, 800 m height range, steepest stand 20.7 degrees on sol 1578. The route is drawn over the shaded terrain of Jezero crater, with the latest stop on sol 2022 and NASA's raw photos from that day

Every stop Perseverance has made since landing, replayed on the real shaded terrain of Jezero crater: 45.25 km, 708 stops, 2,022 Martian days, 1,588 m of climbing. Press play and watch it drive. Drag the timeline to any sol. Click a stop and you get its height, its real tilt against the map's slope, which way it faced, and NASA's raw photos from that day.

The journey timeline with markers for landing on sol 13, Summerland Trail on sol 1615, the steepest stand on sol 1578, the map's biggest miss on sol 795, the highest point on sol 1354 and the latest stop on sol 2022, above a profile of height along the 45.2 km route

Landing on sol 13. The map's biggest miss on sol 795. The highest point on sol 1354. The steepest stand, 20.7°, on sol 1578. The Summerland Trail on sol 1615. And the long climb out of the crater floor, drawn as one line along the bottom.

Then it audited NASA

This is the part that made me laugh out loud.

Every photo record NASA publishes carries its own Mars time, its own Earth time, the rover's clock reading and the direction the rover faced. They should all agree with each other and with NASA's stop list. So Farside checks them.

It has cross-checked 11,800 photo records from across the mission. Facing and sol numbers agree everywhere. But 91 records carry a Mars-time label that doesn't match their own Earth time, and every one found so far is a navigation-camera record off by exactly 332 seconds, on more than one sol. A gap that exact and that repeated points to something systematic in how those records are time-stamped.

Farside lists it as worth a look, not as an error, with a link to NASA's own record for each one so anyone can check. That's how you do it.

A small model, a tiny team, and Mars

Let me put this in context.

The planner is the same model I wrote about yesterday: about 4 billion active parameters, trained on one GPU for $130, answering in about a second. It runs on an AINIRO cloudlet. Farside itself runs on Magic Cloud too.

And Barnabas built all of it: the model training, the flight computer, the fault detection, the forty-Mars simulation, the journey replay and the NASA record audit. He is the other half of our two-person lab, and this is what he does in his spare time.

Frontier labs sell bigger models that think longer before they answer. Farside makes the opposite argument, and makes it on Mars: don't make the model smarter, make its output provable. A small model writes a tree, and a flight computer that cannot be talked out of its rules walks every branch. When the plan is wrong, it never moves. That is the same principle that lets Hyperlambda run AI-generated code on production servers without a sandbox breaking a sweat.

Go and look at it:Perseverance, right now, and every meter it has driven.

For the record: Farside is not affiliated with NASA, and nothing it plans is ever sent to the rover. Only JPL can command Perseverance. Everything else is real NASA and USGS data.

Frequently asked questions

What is Farside?

Farside is a live web application built by Barnabas on Magic Cloud. It shows the real Perseverance rover's position, terrain and Mars time, has our fine-tuned Hyperlambda model write drive plans for it, and uses a flight computer to prove each plan safe against flight rules and map errors before approving it.

Does Farside control the Perseverance rover?

No. Nothing Farside plans is sent to the rover; only JPL can command Perseverance. Farside uses NASA's and USGS's public data and is not affiliated with NASA.

Why is Hyperlambda well suited to this?

In Hyperlambda, code is data: a plan is a tree of nodes that can be walked and inspected before anything executes. Farside's flight computer reads every command, decision and loop the model wrote and checks slope, darkness, battery and map edge at every meter before a plan can be approved.

How many checks does a plan go through?

In one live run the model wrote 24 plans with 1,570 nodes. The flight computer ran them 942 times across the real map, 42 harder versions of it and 297 test cases, and performed 454,296 rule checks. No plan passed, so none was approved.

What did Farside find in NASA's data?

The orbital height map understates slope: at 1 in 10 stops the rover stood 4.6 degrees steeper than the map said, and on sol 795 the map said 1.8 degrees while the rover stood at 18.3 degrees. Cross-checking 11,800 photo records, Farside also found 91 navigation-camera records whose Mars-time label is exactly 332 seconds off their own Earth time.