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.
Exact expanded first-order arithmetic statement
forall p t l. ~(p=0) -> exists r s. (forall fms_i_indices. (exists fms_gap_indices. fms_gap_indices + S (fms_i_indices) = (l)) -> exists fms_j_indices. (((exists fs_h_fms_indices_entry. fs_h_fms_indices_entry + S (fms_j_indices) = S ((S (fms_i_indices)) * s)) /\ exists fs_q_fms_indices_entry. r = fs_q_fms_indices_entry * S ((S (fms_i_indices)) * s) + (fms_j_indices))) /\ ((exists fms_gap_indices_bound. fms_gap_indices_bound + S (fms_j_indices) = (p)) /\ (exists fms_u_indices fms_v_indices. (fms_i_indices+t) + (p) * fms_u_indices = (fms_j_indices) + (p) * fms_v_indices)))Constructive proof overview
Generated structural guide
Construct actual canonical modular-translation indices by a range code and genuine quotient/remainder recoding.
The unchanged tactic script uses 6 declared prerequisites and contains 71 exact native proof lines.
Alpha v34 checked-use · first admitted v27 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
beta_range_exists Stable theorem; checked-use authorized beta_division_prefix_exists Alpha theorem; checked-use authorized beta_at_unique Stable theorem; checked-use authorized remainder_decomposition_to_mod_eq Stable theorem; checked-use authorized add_comm Stable theorem; checked-use authorized mul_comm Stable theorem; checked-use authorizedDirect dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
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–4
02Establish hrangeL5–8
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta range exists.
- L5
have hrange : exists b c. forall ff_i_fms_translation_range. (exists ff_lt_fms_translation_range_bound. ff_lt_fms_translation_range_bound + S ff_i_fms_translation_range = l) -> (((exists ff_h_fms_translation_range_decoded. ff_h_fms_translation_range_decoded + S (t + ff_i_fms_translation_range) = S ((S (ff_i_fms_translation_range)) * c)) /\ exists ff_q_fms_translation_range_decoded. b = ff_q_fms_translation_range_decoded * S ((S (ff_i_fms_translation_range)) * c) + (t + ff_i_fms_translation_range))) - L6
specialize beta_range_exists t - L7
specialize beta_range_exists l - L8
apply beta_range_exists
03Separate the logical casesL9–10
04Establish hdivisionL11–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta division prefix exists.
- L11
have hdivision : ∃ qb. ∃ qc. ∃ rb. ∃ rc. ∀ fdp_index_fms_translation_division. Lt(fdp_index_fms_translation_division,l) → ∃ y. ∃ z. ∃ n. BetaAt(x,x1,fdp_index_fms_translation_division,y) ∧ (BetaAt(qb,qc,fdp_index_fms_translation_division,z) ∧ (BetaAt(rb,rc,fdp_index_fms_translation_division,n) ∧ (y = p · z + n ∧ Lt(n,p))))Definitions: LtBetaAt - L12
specialize beta_division_prefix_exists p - L13
specialize beta_division_prefix_exists x - L14
specialize beta_division_prefix_exists x1 - L15
specialize beta_division_prefix_exists l - L16
apply beta_division_prefix_exists - L17
exact hp
05Separate the logical casesL18–21
06Construct an explicit witnessL22–23
07Fix variables and assumptionsL24–25
08Establish hentryL26–29
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hdivision witness witness witness witness.
09Separate the logical casesL30–36
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
10Establish heL37–46
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at unique.
- L37
have he : x6=t+i - L38
specialize beta_at_unique x - L39
specialize beta_at_unique x1 - L40
specialize beta_at_unique i - L41
specialize beta_at_unique x6 - L42
specialize beta_at_unique t+i - L43
apply beta_at_unique - L44
exact hentry_witness_witness_witness_left - L45
specialize hrange_witness_witness i - L46
apply hrange_witness_witness
11Use earlier factsL47–47
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L47
exact hi
12Construct an explicit witnessL48–48
Supply the displayed value, then prove that it has the required property.
- L48
exists x8
13Separate the logical casesL49–49
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L49
split
14Use earlier factsL50–50
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L50
exact hentry_witness_witness_witness_right_right_left
15Separate the logical casesL51–51
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L51
split
16Use earlier factsL52–57
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L52
exact hentry_witness_witness_witness_right_right_right_right - L53
specialize remainder_decomposition_to_mod_eq p - L54
specialize remainder_decomposition_to_mod_eq i+t - L55
specialize remainder_decomposition_to_mod_eq x7 - L56
specialize remainder_decomposition_to_mod_eq x8 - L57
apply remainder_decomposition_to_mod_eq
17Calculate and transport equalitiesL58–58
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L58
trans t+i
18Use earlier factsL59–61
19Calculate and transport equalitiesL62–63
20Use earlier factsL64–64
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L64
exact he
21Calculate and transport equalitiesL65–65
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L65
trans p*x7+x8
22Use earlier factsL66–66
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L66
exact hentry_witness_witness_witness_right_right_right_left
23Calculate and transport equalitiesL67–67
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L67
congr
24Use earlier factsL68–70
25Calculate and transport equalitiesL71–71
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L71
refl
Original exact command ledger · 71 lines
- 0001
intro p - 0002
intro t - 0003
intro l - 0004
intro hp - 0005
have hrange : exists b c. forall ff_i_fms_translation_range. (exists ff_lt_fms_translation_range_bound. ff_lt_fms_translation_range_bound + S ff_i_fms_translation_range = l) -> (((exists ff_h_fms_translation_range_decoded. ff_h_fms_translation_range_decoded + S (t + ff_i_fms_translation_range) = S ((S (ff_i_fms_translation_range)) * c)) /\ exists ff_q_fms_translation_range_decoded. b = ff_q_fms_translation_range_decoded * S ((S (ff_i_fms_translation_range)) * c) + (t + ff_i_fms_translation_range))) - 0006
specialize beta_range_exists t - 0007
specialize beta_range_exists l - 0008
apply beta_range_exists - 0009
cases hrange - 0010
cases hrange_witness - 0011
have hdivision : exists qb qc rb rc. forall fdp_index_fms_translation_division. (exists gsp_lt_gap_fms_translation_division_index_bound. gsp_lt_gap_fms_translation_division_index_bound + S fdp_index_fms_translation_division = l) -> exists fdp_value_fms_translation_division fdp_quotient_fms_translation_division fdp_remainder_fms_translation_division. (((exists ff_h_fdp_fms_translation_division_source. ff_h_fdp_fms_translation_division_source + S (fdp_value_fms_translation_division) = S ((S (fdp_index_fms_translation_division)) * x1)) /\ exists ff_q_fdp_fms_translation_division_source. x = ff_q_fdp_fms_translation_division_source * S ((S (fdp_index_fms_translation_division)) * x1) + (fdp_value_fms_translation_division))) /\ ((((exists ff_h_fdp_fms_translation_division_quotient_entry. ff_h_fdp_fms_translation_division_quotient_entry + S (fdp_quotient_fms_translation_division) = S ((S (fdp_index_fms_translation_division)) * qc)) /\ exists ff_q_fdp_fms_translation_division_quotient_entry. qb = ff_q_fdp_fms_translation_division_quotient_entry * S ((S (fdp_index_fms_translation_division)) * qc) + (fdp_quotient_fms_translation_division))) /\ ((((exists ff_h_fdp_fms_translation_division_remainder_entry. ff_h_fdp_fms_translation_division_remainder_entry + S (fdp_remainder_fms_translation_division) = S ((S (fdp_index_fms_translation_division)) * rc)) /\ exists ff_q_fdp_fms_translation_division_remainder_entry. rb = ff_q_fdp_fms_translation_division_remainder_entry * S ((S (fdp_index_fms_translation_division)) * rc) + (fdp_remainder_fms_translation_division))) /\ (fdp_value_fms_translation_division = p * fdp_quotient_fms_translation_division + fdp_remainder_fms_translation_division /\ (exists gsp_lt_gap_fms_translation_division_remainder_bound. gsp_lt_gap_fms_translation_division_remainder_bound + S fdp_remainder_fms_translation_division = p)))) - 0012
specialize beta_division_prefix_exists p - 0013
specialize beta_division_prefix_exists x - 0014
specialize beta_division_prefix_exists x1 - 0015
specialize beta_division_prefix_exists l - 0016
apply beta_division_prefix_exists - 0017
exact hp - 0018
cases hdivision - 0019
cases hdivision_witness - 0020
cases hdivision_witness_witness - 0021
cases hdivision_witness_witness_witness - 0022
exists x4 - 0023
exists x5 - 0024
intro i - 0025
intro hi - 0026
have hentry : exists a q v. (((exists fs_h_fms_tindex_source. fs_h_fms_tindex_source + S (a) = S ((S (i)) * x1)) /\ exists fs_q_fms_tindex_source. x = fs_q_fms_tindex_source * S ((S (i)) * x1) + (a))) /\ ((((exists fs_h_fms_tindex_quotient. fs_h_fms_tindex_quotient + S (q) = S ((S (i)) * x3)) /\ exists fs_q_fms_tindex_quotient. x2 = fs_q_fms_tindex_quotient * S ((S (i)) * x3) + (q))) /\ ((((exists fs_h_fms_tindex_remainder. fs_h_fms_tindex_remainder + S (v) = S ((S (i)) * x5)) /\ exists fs_q_fms_tindex_remainder. x4 = fs_q_fms_tindex_remainder * S ((S (i)) * x5) + (v))) /\ (a=p*q+v /\ (exists fms_gap_lt. fms_gap_lt + S (v) = (p))))) - 0027
specialize hdivision_witness_witness_witness_witness i - 0028
apply hdivision_witness_witness_witness_witness - 0029
exact hi - 0030
cases hentry - 0031
cases hentry_witness - 0032
cases hentry_witness_witness - 0033
cases hentry_witness_witness_witness - 0034
cases hentry_witness_witness_witness_right - 0035
cases hentry_witness_witness_witness_right_right - 0036
cases hentry_witness_witness_witness_right_right_right - 0037
have he : x6=t+i - 0038
specialize beta_at_unique x - 0039
specialize beta_at_unique x1 - 0040
specialize beta_at_unique i - 0041
specialize beta_at_unique x6 - 0042
specialize beta_at_unique t+i - 0043
apply beta_at_unique - 0044
exact hentry_witness_witness_witness_left - 0045
specialize hrange_witness_witness i - 0046
apply hrange_witness_witness - 0047
exact hi - 0048
exists x8 - 0049
split - 0050
exact hentry_witness_witness_witness_right_right_left - 0051
split - 0052
exact hentry_witness_witness_witness_right_right_right_right - 0053
specialize remainder_decomposition_to_mod_eq p - 0054
specialize remainder_decomposition_to_mod_eq i+t - 0055
specialize remainder_decomposition_to_mod_eq x7 - 0056
specialize remainder_decomposition_to_mod_eq x8 - 0057
apply remainder_decomposition_to_mod_eq - 0058
trans t+i - 0059
specialize add_comm i - 0060
specialize add_comm t - 0061
apply add_comm - 0062
trans x6 - 0063
symm - 0064
exact he - 0065
trans p*x7+x8 - 0066
exact hentry_witness_witness_witness_right_right_right_left - 0067
congr - 0068
specialize mul_comm p - 0069
specialize mul_comm x7 - 0070
apply mul_comm - 0071
refl