Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved. Exact original first-admission records.
Statement with defined notation
∀ p. ∀ h. ∀ a. ∀ b. ∀ c. ∀ mb. ∀ mc. ∀ sb. ∀ sc. ∀ l. (∀ x. Lt(x,l) → ∃ y. ∃ z. ∃ n. BetaAt(b,c,x,y) ∧ (BetaAt(mb,mc,x,z) ∧ (BetaAt(sb,sc,x,n) ∧ (Lt(0,z) ∧ (Le(z,h) ∧ ((n = 0 ∨ n = 1) ∧ (n = 0 ∧ ModEq(p,a · y,z) ∨ n = 1 ∧ ModEq(p,a · y,2 · h · z)))))))) → AllBits(sb,sc,l)Every purple notation token opens its conservative definition. This is a reading surface; the compiler expands the statement before the unchanged kernel checks it.
Definitions used by this theorem
In the theorem statement
9 occurrences
In local proof propositions
7 occurrences
Exact expanded native-PA statement
forall p h a b c mb mc sb sc l. (forall gsp_index_bits_source. (exists gsp_lt_gap_bits_source_index_bound. gsp_lt_gap_bits_source_index_bound + S gsp_index_bits_source = l) -> (exists gsp_value_bits_source_entry gsp_magnitude_bits_source_entry gsp_sign_bits_source_entry. (((exists ff_h_gsp_bits_source_entry_source. ff_h_gsp_bits_source_entry_source + S (gsp_value_bits_source_entry) = S ((S (gsp_index_bits_source)) * c)) /\ exists ff_q_gsp_bits_source_entry_source. b = ff_q_gsp_bits_source_entry_source * S ((S (gsp_index_bits_source)) * c) + (gsp_value_bits_source_entry))) /\ ((((exists ff_h_gsp_bits_source_entry_magnitude. ff_h_gsp_bits_source_entry_magnitude + S (gsp_magnitude_bits_source_entry) = S ((S (gsp_index_bits_source)) * mc)) /\ exists ff_q_gsp_bits_source_entry_magnitude. mb = ff_q_gsp_bits_source_entry_magnitude * S ((S (gsp_index_bits_source)) * mc) + (gsp_magnitude_bits_source_entry))) /\ ((((exists ff_h_gsp_bits_source_entry_sign. ff_h_gsp_bits_source_entry_sign + S (gsp_sign_bits_source_entry) = S ((S (gsp_index_bits_source)) * sc)) /\ exists ff_q_gsp_bits_source_entry_sign. sb = ff_q_gsp_bits_source_entry_sign * S ((S (gsp_index_bits_source)) * sc) + (gsp_sign_bits_source_entry))) /\ ((exists gsp_lt_gap_bits_source_entry_positive. gsp_lt_gap_bits_source_entry_positive + S 0 = gsp_magnitude_bits_source_entry) /\ ((exists gsp_le_gap_bits_source_entry_bounded. gsp_le_gap_bits_source_entry_bounded + gsp_magnitude_bits_source_entry = h) /\ ((gsp_sign_bits_source_entry = 0 \/ gsp_sign_bits_source_entry = 1) /\ (((gsp_sign_bits_source_entry = 0 /\ (exists gsp_mod_left_bits_source_entry_lower gsp_mod_right_bits_source_entry_lower. (a * gsp_value_bits_source_entry) + p * gsp_mod_left_bits_source_entry_lower = (gsp_magnitude_bits_source_entry) + p * gsp_mod_right_bits_source_entry_lower)) \/ (gsp_sign_bits_source_entry = 1 /\ (exists gsp_mod_left_bits_source_entry_reflected gsp_mod_right_bits_source_entry_reflected. (a * gsp_value_bits_source_entry) + p * gsp_mod_left_bits_source_entry_reflected = ((2 * h) * gsp_magnitude_bits_source_entry) + p * gsp_mod_right_bits_source_entry_reflected))))))))))) -> (forall ff_i_gsp_signs. (exists ff_lt_gsp_signs_bound. ff_lt_gsp_signs_bound + S ff_i_gsp_signs = l) -> exists ff_bit_gsp_signs. ((((exists ff_h_gsp_signs_decoded. ff_h_gsp_signs_decoded + S (ff_bit_gsp_signs) = S ((S (ff_i_gsp_signs)) * sc)) /\ exists ff_q_gsp_signs_decoded. sb = ff_q_gsp_signs_decoded * S ((S (ff_i_gsp_signs)) * sc) + (ff_bit_gsp_signs))) /\ (ff_bit_gsp_signs = 0 \/ ff_bit_gsp_signs = 1)))Proof neighborhood
Direct theorem prerequisites
Direct theorem dependents
Definition-aware tactic body
Only local propositions introduced by have or suffices are compacted. The untrusted compiler re-expands each one before the original tactic script is replayed; defined notation is never accepted by the kernel. Open the exact replay line beneath every changed command.
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.
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–13
03Establish hentryL14–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hprefix.
- L14
have hentry : ∃ gsp_value_bits_entry. ∃ gsp_magnitude_bits_entry. ∃ gsp_sign_bits_entry. BetaAt(b,c,i,gsp_value_bits_entry) ∧ (BetaAt(mb,mc,i,gsp_magnitude_bits_entry) ∧ (BetaAt(sb,sc,i,gsp_sign_bits_entry) ∧ (Lt(0,gsp_magnitude_bits_entry) ∧ (Le(gsp_magnitude_bits_entry,h) ∧ ((gsp_sign_bits_entry = 0 ∨ gsp_sign_bits_entry = 1) ∧ (gsp_sign_bits_entry = 0 ∧ ModEq(p,a · gsp_value_bits_entry,gsp_magnitude_bits_entry) ∨ gsp_sign_bits_entry = 1 ∧ ModEq(p,a · gsp_value_bits_entry,2 · h · gsp_magnitude_bits_entry)))))))Definitions: BetaAt(b,c,i,gsp_value_bits_entry)BetaAt(mb,mc,i,gsp_magnitude_bits_entry)BetaAt(sb,sc,i,gsp_sign_bits_entry)Lt(0,gsp_magnitude_bits_entry)Le(gsp_magnitude_bits_entry,h)ModEq(p,a · gsp_value_bits_entry,gsp_magnitude_bits_entry)ModEq(p,a · gsp_value_bits_entry,2 · h · gsp_magnitude_bits_entry)Original native command in the exact edition - L15
specialize hprefix i - L16
apply hprefix - L17
exact hi
04Separate the logical casesL18–26
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L18
cases hentry - L19
cases hentry_witness - L20
cases hentry_witness_witness - L21
cases hentry_witness_witness_witness - L22
cases hentry_witness_witness_witness_right - L23
cases hentry_witness_witness_witness_right_right - L24
cases hentry_witness_witness_witness_right_right_right - L25
cases hentry_witness_witness_witness_right_right_right_right - L26
cases hentry_witness_witness_witness_right_right_right_right_right
05Construct an explicit witnessL27–27
Supply the displayed value, then prove that it has the required property.
- L27
exists x2
06Separate the logical casesL28–28
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L28
split
Original defined command ledger · 30 lines
- 0001
intro p - 0002
intro h - 0003
intro a - 0004
intro b - 0005
intro c - 0006
intro mb - 0007
intro mc - 0008
intro sb - 0009
intro sc - 0010
intro l - 0011
intro hprefix - 0012
intro i - 0013
intro hi - 0014
have hentry : ∃ gsp_value_bits_entry. ∃ gsp_magnitude_bits_entry. ∃ gsp_sign_bits_entry. BetaAt(b,c,i,gsp_value_bits_entry) ∧ (BetaAt(mb,mc,i,gsp_magnitude_bits_entry) ∧ (BetaAt(sb,sc,i,gsp_sign_bits_entry) ∧ (Lt(0,gsp_magnitude_bits_entry) ∧ (Le(gsp_magnitude_bits_entry,h) ∧ ((gsp_sign_bits_entry = 0 ∨ gsp_sign_bits_entry = 1) ∧ (gsp_sign_bits_entry = 0 ∧ ModEq(p,a · gsp_value_bits_entry,gsp_magnitude_bits_entry) ∨ gsp_sign_bits_entry = 1 ∧ ModEq(p,a · gsp_value_bits_entry,2 · h · gsp_magnitude_bits_entry)))))))Exact native replay line
have hentry : exists gsp_value_bits_entry gsp_magnitude_bits_entry gsp_sign_bits_entry. (((exists ff_h_gsp_bits_entry_source. ff_h_gsp_bits_entry_source + S (gsp_value_bits_entry) = S ((S (i)) * c)) /\ exists ff_q_gsp_bits_entry_source. b = ff_q_gsp_bits_entry_source * S ((S (i)) * c) + (gsp_value_bits_entry))) /\ ((((exists ff_h_gsp_bits_entry_magnitude. ff_h_gsp_bits_entry_magnitude + S (gsp_magnitude_bits_entry) = S ((S (i)) * mc)) /\ exists ff_q_gsp_bits_entry_magnitude. mb = ff_q_gsp_bits_entry_magnitude * S ((S (i)) * mc) + (gsp_magnitude_bits_entry))) /\ ((((exists ff_h_gsp_bits_entry_sign. ff_h_gsp_bits_entry_sign + S (gsp_sign_bits_entry) = S ((S (i)) * sc)) /\ exists ff_q_gsp_bits_entry_sign. sb = ff_q_gsp_bits_entry_sign * S ((S (i)) * sc) + (gsp_sign_bits_entry))) /\ ((exists gsp_lt_gap_bits_entry_positive. gsp_lt_gap_bits_entry_positive + S 0 = gsp_magnitude_bits_entry) /\ ((exists gsp_le_gap_bits_entry_bounded. gsp_le_gap_bits_entry_bounded + gsp_magnitude_bits_entry = h) /\ ((gsp_sign_bits_entry = 0 \/ gsp_sign_bits_entry = 1) /\ (((gsp_sign_bits_entry = 0 /\ (exists gsp_mod_left_bits_entry_lower gsp_mod_right_bits_entry_lower. (a * gsp_value_bits_entry) + p * gsp_mod_left_bits_entry_lower = (gsp_magnitude_bits_entry) + p * gsp_mod_right_bits_entry_lower)) \/ (gsp_sign_bits_entry = 1 /\ (exists gsp_mod_left_bits_entry_reflected gsp_mod_right_bits_entry_reflected. (a * gsp_value_bits_entry) + p * gsp_mod_left_bits_entry_reflected = ((2 * h) * gsp_magnitude_bits_entry) + p * gsp_mod_right_bits_entry_reflected))))))))) - 0015
specialize hprefix i - 0016
apply hprefix - 0017
exact hi - 0018
cases hentry - 0019
cases hentry_witness - 0020
cases hentry_witness_witness - 0021
cases hentry_witness_witness_witness - 0022
cases hentry_witness_witness_witness_right - 0023
cases hentry_witness_witness_witness_right_right - 0024
cases hentry_witness_witness_witness_right_right_right - 0025
cases hentry_witness_witness_witness_right_right_right_right - 0026
cases hentry_witness_witness_witness_right_right_right_right_right - 0027
exists x2 - 0028
split - 0029
exact hentry_witness_witness_witness_right_right_left - 0030
exact hentry_witness_witness_witness_right_right_right_right_right_left