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
∀ q. ∀ b. ∀ c. ∀ k. ∀ j. ∀ bit. (∀ x. Lt(x,k) → ∃ y. BetaAt(b,c,x,y) ∧ (y = 1 ∧ Lt(x,q) ∨ y = 0 ∧ Lt(q,S x))) → Lt(j,k) → BetaAt(b,c,j,bit) → bit = 1 ∧ Lt(j,q) ∨ bit = 0 ∧ Lt(q,S j)Every purple notation token opens its conservative definition. Expanding the displayed statement recovers the exact first-order Peano-arithmetic formula checked by the unchanged kernel.
Definitions used by this theorem
In the theorem statement
8 occurrences
In local proof propositions
3 occurrences
Exact expanded native-PA statement
forall q b c k j bit. (forall eis_index_initial_segment_semantic_source. (exists eis_lt_gap_initial_segment_semantic_source_bound. eis_lt_gap_initial_segment_semantic_source_bound + S (eis_index_initial_segment_semantic_source) = k) -> exists eis_bit_initial_segment_semantic_source. ((((exists ff_h_eis_initial_segment_semantic_source_decoded. ff_h_eis_initial_segment_semantic_source_decoded + S (eis_bit_initial_segment_semantic_source) = S ((S (eis_index_initial_segment_semantic_source)) * c)) /\ exists ff_q_eis_initial_segment_semantic_source_decoded. b = ff_q_eis_initial_segment_semantic_source_decoded * S ((S (eis_index_initial_segment_semantic_source)) * c) + (eis_bit_initial_segment_semantic_source))) /\ (((eis_bit_initial_segment_semantic_source = 1 /\ (exists eis_le_gap_initial_segment_semantic_source_choice_inside. eis_le_gap_initial_segment_semantic_source_choice_inside + (S eis_index_initial_segment_semantic_source) = q)) \/ (eis_bit_initial_segment_semantic_source = 0 /\ (exists eis_lt_gap_initial_segment_semantic_source_choice_outside. eis_lt_gap_initial_segment_semantic_source_choice_outside + S (q) = S eis_index_initial_segment_semantic_source)))))) -> (exists eis_lt_gap_initial_segment_semantic_bound. eis_lt_gap_initial_segment_semantic_bound + S (j) = k) -> (((exists ff_h_initial_segment_semantic_entry. ff_h_initial_segment_semantic_entry + S (bit) = S ((S (j)) * c)) /\ exists ff_q_initial_segment_semantic_entry. b = ff_q_initial_segment_semantic_entry * S ((S (j)) * c) + (bit))) -> (((bit = 1 /\ (exists eis_le_gap_initial_segment_semantic_result_inside. eis_le_gap_initial_segment_semantic_result_inside + (S j) = q)) \/ (bit = 0 /\ (exists eis_lt_gap_initial_segment_semantic_result_outside. eis_lt_gap_initial_segment_semantic_result_outside + S (q) = S j))))Proof neighborhood
Direct theorem prerequisites
Direct theorem dependents
Definition-aware tactic body
Only local propositions introduced by have or suffices are compacted. Every changed line has an exact-AST conservative-expansion receipt; the kernel still receives the immutable original tactic 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–9
02Use earlier factsL10–10
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L10
specialize hprefix j
03Establish hstoredL11–13
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hprefix.
- L11
have hstored : ∃ stored. BetaAt(b,c,j,stored) ∧ (stored = 1 ∧ Lt(j,q) ∨ stored = 0 ∧ Lt(q,S j))Definitions: BetaAt(b,c,j,stored)Lt(j,q)Lt(q,S j)Original native command in the exact edition - L12
apply hprefix - L13
exact hj
04Separate the logical casesL14–15
05Establish heqL16–25
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at unique.
06Calculate and transport equalitiesL26–26
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L26
rewrite heq at hstored_witness_right
07Use earlier factsL27–27
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L27
exact hstored_witness_right
Original defined command ledger · 27 lines
- 0001
intro q - 0002
intro b - 0003
intro c - 0004
intro k - 0005
intro j - 0006
intro bit - 0007
intro hprefix - 0008
intro hj - 0009
intro hentry - 0010
specialize hprefix j - 0011
have hstored : ∃ stored. BetaAt(b,c,j,stored) ∧ (stored = 1 ∧ Lt(j,q) ∨ stored = 0 ∧ Lt(q,S j))Exact native replay line
have hstored : exists stored. ((((exists ff_h_initial_segment_semantic_stored. ff_h_initial_segment_semantic_stored + S (stored) = S ((S (j)) * c)) /\ exists ff_q_initial_segment_semantic_stored. b = ff_q_initial_segment_semantic_stored * S ((S (j)) * c) + (stored))) /\ (((stored = 1 /\ (exists eis_le_gap_initial_segment_semantic_stored_choice_inside. eis_le_gap_initial_segment_semantic_stored_choice_inside + (S j) = q)) \/ (stored = 0 /\ (exists eis_lt_gap_initial_segment_semantic_stored_choice_outside. eis_lt_gap_initial_segment_semantic_stored_choice_outside + S (q) = S j))))) - 0012
apply hprefix - 0013
exact hj - 0014
cases hstored - 0015
cases hstored_witness - 0016
have heq : x = bit - 0017
specialize beta_at_unique b - 0018
specialize beta_at_unique c - 0019
specialize beta_at_unique j - 0020
specialize beta_at_unique x - 0021
specialize beta_at_unique bit - 0022
apply beta_at_unique - 0023
exact hstored_witness_left - 0024
exact hentry - 0025
rewrite heq at hstored_witness_right - 0026
rewrite heq at hstored_witness_right - 0027
exact hstored_witness_right