Download formal/SovereignApollo/State.lean from Snapkitty/sovereign-apollo: direct link, hf CLI and curl.
- Browser
- Download file 889 Bytes
-
https://huggingface.co/Snapkitty/sovereign-apollo/resolve/main/formal/SovereignApollo/State.lean
- Command line
-
hf download hf://Snapkitty/sovereign-apollo/formal/SovereignApollo/State.lean
-
curl -L -o State.lean https://huggingface.co/Snapkitty/sovereign-apollo/resolve/main/formal/SovereignApollo/State.lean
889 Bytes
| /- | |
| Sovereign Apollo — State + MET + Guidance Mode | |
| Evidence: TIMELINE-001, ERASABLE_ASSIGNMENTS, LUM099-001 | |
| -/ | |
| inductive GuidanceMode where | |
| | IU | P00 | P12 | P20 | P30 | P40 | P63 | P64 | P66 | P68 | IDLE | |
| deriving DecidableEq, Repr | |
| inductive VehicleState where | |
| | StackThrusting | LEO | TLI | Coast | LunarOrbit | PDI | Surface | Ascent | Docked | TEI | Reentry | |
| deriving DecidableEq, Repr | |
| structure State where | |
| metSeconds : Nat | |
| vehicle : VehicleState | |
| guidance : GuidanceMode | |
| massKg : Nat | |
| dryMassKg : Nat | |
| throttlePermille : Nat -- 0..1000 (100 = 10%) | |
| deriving Repr | |
| def State.throttleOk (s : State) : Prop := | |
| (s.guidance = .P63 ∨ s.guidance = .P64) → | |
| (100 ≤ s.throttlePermille ∧ s.throttlePermille ≤ 940) | |
| theorem fuel_nonnegative (s : State) (h : s.massKg ≥ s.dryMassKg) : s.massKg ≥ s.dryMassKg := h | |