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 expanded first-order arithmetic statement
forall n b c d q. ~(n=0) -> (forall dvi_index_decoded_quotient_prefix. (exists pvs_gap_decoded_quotient_prefixdomain. pvs_gap_decoded_quotient_prefixdomain + S (dvi_index_decoded_quotient_prefix) = (S n)) -> exists dvi_value_decoded_quotient_prefix. ((((exists ff_h_pvs_decoded_quotient_prefixentry. ff_h_pvs_decoded_quotient_prefixentry + S (dvi_value_decoded_quotient_prefix) = S ((S (dvi_index_decoded_quotient_prefix)) * c)) /\ exists ff_q_pvs_decoded_quotient_prefixentry. b = ff_q_pvs_decoded_quotient_prefixentry * S ((S (dvi_index_decoded_quotient_prefix)) * c) + (dvi_value_decoded_quotient_prefix))) /\ ((((~((dvi_index_decoded_quotient_prefix)=0)) /\ ((n)=(dvi_index_decoded_quotient_prefix)*(dvi_value_decoded_quotient_prefix)))) \/ ((((dvi_index_decoded_quotient_prefix)=0 \/ ~(exists pvs_factor_decoded_quotient_prefixgraphnondivisor. (n) = (dvi_index_decoded_quotient_prefix) * pvs_factor_decoded_quotient_prefixgraphnondivisor)) /\ ((dvi_value_decoded_quotient_prefix)=(dvi_index_decoded_quotient_prefix))))))) -> ~(d=0) -> n=d*q -> (((exists ff_h_pvs_decoded_quotient_result. ff_h_pvs_decoded_quotient_result + S (q) = S ((S (d)) * c)) /\ exists ff_q_pvs_decoded_quotient_result. b = ff_q_pvs_decoded_quotient_result * S ((S (d)) * c) + (q)))Constructive proof overview
Generated structural guide
The actual beta code at a positive divisor is precisely its witnessed quotient, not merely an unspecified bounded permutation image.
The unchanged tactic script uses 3 declared prerequisites and contains 39 exact native proof lines.
Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
succ_le_succ Stable theorem; checked-use authorized divisor_le_nonzero Stable theorem; checked-use authorized DI0003 divisor_complement_functionalDirect 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.
Named ingredients (1)
01Fix variables and assumptionsL1–9
02Establish hboundL10–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply succ le succ.
03Construct an explicit witnessL18–18
Supply the displayed value, then prove that it has the required property.
- L18
exists q
04Use earlier factsL19–19
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L19
exact heq
05Establish hvL20–23
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hp.
- L20
have hv : exists r. (((((exists ff_h_pvs_decoded_quotient_entry. ff_h_pvs_decoded_quotient_entry + S (r) = S ((S (d)) * c)) /\ exists ff_q_pvs_decoded_quotient_entry. b = ff_q_pvs_decoded_quotient_entry * S ((S (d)) * c) + (r))) /\ ((((~((d)=0)) /\ ((n)=(d)*(r)))) \/ ((((d)=0 \/ ~(exists pvs_factor_decoded_quotient_graphnondivisor. (n) = (d) * pvs_factor_decoded_quotient_graphnondivisor)) /\ ((r)=(d))))))) - L21
specialize hp (d) - L22
apply hp - L23
exact hbound
06Separate the logical casesL24–25
07Establish hvalueL26–32
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply divisor complement functional.
08Separate the logical casesL33–34
09Use earlier factsL35–36
10Calculate and transport equalitiesL37–38
11Use earlier factsL39–39
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L39
exact hv_witness_left
Original exact command ledger · 39 lines
- 0001
intro n - 0002
intro b - 0003
intro c - 0004
intro d - 0005
intro q - 0006
intro hn - 0007
intro hp - 0008
intro hd - 0009
intro heq - 0010
have hbound : exists pvs_gap_decoded_quotient_bound. pvs_gap_decoded_quotient_bound + S (d) = (S n) - 0011
specialize succ_le_succ (d) - 0012
specialize succ_le_succ (n) - 0013
apply succ_le_succ - 0014
specialize divisor_le_nonzero (d) - 0015
specialize divisor_le_nonzero (n) - 0016
apply divisor_le_nonzero - 0017
exact hn - 0018
exists q - 0019
exact heq - 0020
have hv : exists r. (((((exists ff_h_pvs_decoded_quotient_entry. ff_h_pvs_decoded_quotient_entry + S (r) = S ((S (d)) * c)) /\ exists ff_q_pvs_decoded_quotient_entry. b = ff_q_pvs_decoded_quotient_entry * S ((S (d)) * c) + (r))) /\ ((((~((d)=0)) /\ ((n)=(d)*(r)))) \/ ((((d)=0 \/ ~(exists pvs_factor_decoded_quotient_graphnondivisor. (n) = (d) * pvs_factor_decoded_quotient_graphnondivisor)) /\ ((r)=(d))))))) - 0021
specialize hp (d) - 0022
apply hp - 0023
exact hbound - 0024
cases hv - 0025
cases hv_witness - 0026
have hvalue : x=q - 0027
specialize divisor_complement_functional (n) - 0028
specialize divisor_complement_functional (d) - 0029
specialize divisor_complement_functional (x) - 0030
specialize divisor_complement_functional (q) - 0031
apply divisor_complement_functional - 0032
exact hv_witness_right - 0033
left - 0034
split - 0035
exact hd - 0036
exact heq - 0037
rewrite hvalue at hv_witness_left - 0038
rewrite hvalue at hv_witness_left - 0039
exact hv_witness_left