Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.
The zero window is half-open and its order hypothesis is essential. All folds retain actual beta-coded traces. These are support lemmas for the separately verified full inversion endpoint.
Exact theorem in conservative defined notation
∀ F. ∀ l. ∀ z. SignedZeroWindow(F,0,l) → SignedPrefixSum(F,l,z) → z = 0
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 34 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay script.
Read the argument
Proof checkpoints
This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.
Named ingredients (1)
01Fix variables and assumptionsL1–5
02Separate the logical casesL6–14
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L6
cases hs - L7
cases hs_witness - L8
cases hs_witness_witness - L9
cases hs_witness_witness_witness - L10
cases hs_witness_witness_witness_witness - L11
cases hs_witness_witness_witness_witness_witness - L12
cases hs_witness_witness_witness_witness_witness_witness - L13
cases hs_witness_witness_witness_witness_witness_witness_right - L14
cases hs_witness_witness_witness_witness_witness_witness_right_right
03Establish hzeroL15–24
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply divisor signed sum empty exists.
- L15
have hzero : SignedPrefixSum(F,0,0)Definitions: SignedPrefixSum(F,0,0)Original native command in the exact edition - L16
specialize divisor_signed_sum_empty_exists (F) - L17
specialize divisor_signed_sum_empty_exists (x) - L18
specialize divisor_signed_sum_empty_exists (x1) - L19
specialize divisor_signed_sum_empty_exists (x2) - L20
specialize divisor_signed_sum_empty_exists (x3) - L21
apply divisor_signed_sum_empty_exists - L22
exact hs_witness_witness_witness_witness_witness_witness_left - L23
symm - L24
specialize signed_prefix_sum_zero_tail (F)
04Use earlier factsL25–34
Instantiate or apply named facts and discharge the corresponding proof obligations.
Original defined command ledger · 34 lines
- 0001
intro F - 0002
intro l - 0003
intro z - 0004
intro hz - 0005
intro hs - 0006
cases hs - 0007
cases hs_witness - 0008
cases hs_witness_witness - 0009
cases hs_witness_witness_witness - 0010
cases hs_witness_witness_witness_witness - 0011
cases hs_witness_witness_witness_witness_witness - 0012
cases hs_witness_witness_witness_witness_witness_witness - 0013
cases hs_witness_witness_witness_witness_witness_witness_right - 0014
cases hs_witness_witness_witness_witness_witness_witness_right_right - 0015
have hzero : SignedPrefixSum(F,0,0) - 0016
specialize divisor_signed_sum_empty_exists (F) - 0017
specialize divisor_signed_sum_empty_exists (x) - 0018
specialize divisor_signed_sum_empty_exists (x1) - 0019
specialize divisor_signed_sum_empty_exists (x2) - 0020
specialize divisor_signed_sum_empty_exists (x3) - 0021
apply divisor_signed_sum_empty_exists - 0022
exact hs_witness_witness_witness_witness_witness_witness_left - 0023
symm - 0024
specialize signed_prefix_sum_zero_tail (F) - 0025
specialize signed_prefix_sum_zero_tail (0) - 0026
specialize signed_prefix_sum_zero_tail (l) - 0027
specialize signed_prefix_sum_zero_tail (0) - 0028
specialize signed_prefix_sum_zero_tail (z) - 0029
apply signed_prefix_sum_zero_tail - 0030
specialize zero_le (l) - 0031
apply zero_le - 0032
exact hz - 0033
exact hzero - 0034
exact hs