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
∀ r. ∀ s. ∀ n. ∀ p. ∀ a. (∀ x. Lt(x,n) → ∃ y. Lt(y,n) ∧ (BetaAt(r,s,x,y) ∧ ModEq(p,a · S x,S y))) → BoundedPrefix(r,s,n)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
5 occurrences
In local proof propositions
3 occurrences
Exact expanded native-PA statement
forall r s n p a. (forall frm_index_bounded_map. (exists frm_gap_bounded_map_index_bound. frm_gap_bounded_map_index_bound + S frm_index_bounded_map = n) -> (exists frm_residue_bounded_map_result. (exists frm_gap_bounded_map_result_residue_bound. frm_gap_bounded_map_result_residue_bound + S frm_residue_bounded_map_result = n) /\ ((((exists ff_h_frm_bounded_map_result_decoded. ff_h_frm_bounded_map_result_decoded + S (frm_residue_bounded_map_result) = S ((S (frm_index_bounded_map)) * s)) /\ exists ff_q_frm_bounded_map_result_decoded. r = ff_q_frm_bounded_map_result_decoded * S ((S (frm_index_bounded_map)) * s) + (frm_residue_bounded_map_result))) /\ (exists frm_mod_left_bounded_map_result_congruence frm_mod_right_bounded_map_result_congruence. a * S frm_index_bounded_map + p * frm_mod_left_bounded_map_result_congruence = S frm_residue_bounded_map_result + p * frm_mod_right_bounded_map_result_congruence)))) -> (forall fp_i_bounded_result. (exists fp_gap_bounded_result_index. fp_gap_bounded_result_index + S fp_i_bounded_result = n) -> exists fp_value_bounded_result. ((((exists ff_h_bounded_result_entry. ff_h_bounded_result_entry + S (fp_value_bounded_result) = S ((S (fp_i_bounded_result)) * s)) /\ exists ff_q_bounded_result_entry. r = ff_q_bounded_result_entry * S ((S (fp_i_bounded_result)) * s) + (fp_value_bounded_result))) /\ (exists fp_gap_bounded_result_value. fp_gap_bounded_result_value + S fp_value_bounded_result = n)))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–8
02Establish hentryL9–12
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hmap.
- L9
have hentry : ∃ frm_residue_bounded_at_i. Lt(frm_residue_bounded_at_i,n) ∧ (BetaAt(r,s,i,frm_residue_bounded_at_i) ∧ ModEq(p,a · S i,S frm_residue_bounded_at_i))Definitions: Lt(frm_residue_bounded_at_i,n)BetaAt(r,s,i,frm_residue_bounded_at_i)ModEq(p,a · S i,S frm_residue_bounded_at_i)Original native command in the exact edition - L10
specialize hmap i - L11
apply hmap - L12
exact hi
03Separate the logical casesL13–15
04Construct an explicit witnessL16–16
Supply the displayed value, then prove that it has the required property.
- L16
exists x
05Separate the logical casesL17–17
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L17
split
Original defined command ledger · 19 lines
- 0001
intro r - 0002
intro s - 0003
intro n - 0004
intro p - 0005
intro a - 0006
intro hmap - 0007
intro i - 0008
intro hi - 0009
have hentry : ∃ frm_residue_bounded_at_i. Lt(frm_residue_bounded_at_i,n) ∧ (BetaAt(r,s,i,frm_residue_bounded_at_i) ∧ ModEq(p,a · S i,S frm_residue_bounded_at_i))Exact native replay line
have hentry : exists frm_residue_bounded_at_i. (exists frm_gap_bounded_at_i_residue_bound. frm_gap_bounded_at_i_residue_bound + S frm_residue_bounded_at_i = n) /\ ((((exists ff_h_frm_bounded_at_i_decoded. ff_h_frm_bounded_at_i_decoded + S (frm_residue_bounded_at_i) = S ((S (i)) * s)) /\ exists ff_q_frm_bounded_at_i_decoded. r = ff_q_frm_bounded_at_i_decoded * S ((S (i)) * s) + (frm_residue_bounded_at_i))) /\ (exists frm_mod_left_bounded_at_i_congruence frm_mod_right_bounded_at_i_congruence. a * S i + p * frm_mod_left_bounded_at_i_congruence = S frm_residue_bounded_at_i + p * frm_mod_right_bounded_at_i_congruence)) - 0010
specialize hmap i - 0011
apply hmap - 0012
exact hi - 0013
cases hentry - 0014
cases hentry_witness - 0015
cases hentry_witness_right - 0016
exists x - 0017
split - 0018
exact hentry_witness_right_left - 0019
exact hentry_witness_left