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 B n. ~(n = 0) -> (exists pvs_gap_decomposition_bound. pvs_gap_decomposition_bound + S (n) = (B)) -> exists r s. (((((~((r) = 0)) /\ (forall sfd_prime_decomposition_resultkernel. (~((sfd_prime_decomposition_resultkernel) = 1) /\ forall pvs_left_decomposition_resultkerneldomain pvs_right_decomposition_resultkerneldomain. (sfd_prime_decomposition_resultkernel) = pvs_left_decomposition_resultkerneldomain * pvs_right_decomposition_resultkerneldomain -> pvs_left_decomposition_resultkerneldomain = 1 \/ pvs_right_decomposition_resultkerneldomain = 1) -> (exists pvs_le_gap_decomposition_resultkernelbound. pvs_le_gap_decomposition_resultkernelbound + (sfd_prime_decomposition_resultkernel) = (r)) -> ~(exists pvs_factor_decomposition_resultkernelsquare. (r) = (sfd_prime_decomposition_resultkernel * sfd_prime_decomposition_resultkernel) * pvs_factor_decomposition_resultkernelsquare)))) /\ ((n) = (r) * ((s) * (s)))))Constructive proof overview
Generated structural guide
Finite prime-square search and ordinary bounded induction construct the squarefree kernel and its square-factor root for every positive input.
The unchanged tactic script uses 10 declared prerequisites and contains 77 exact native proof lines.
Alpha v34 checked-use · first admitted v29 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
factor_permutation_below_zero_impossible Alpha theorem; checked-use authorized SK000A squarefree_or_prime_square_divisor mul_one Stable theorem; checked-use authorized factor_nonzero_right Alpha theorem; checked-use authorized proper_factor_lt Stable theorem; checked-use authorized mul_comm Stable theorem; checked-use authorized SK0003 prime_square_ne_one lt_of_lt_of_le Stable theorem; checked-use authorized le_of_succ_le_succ Stable theorem; checked-use authorized SK0007 squarefree_square_factor_reassociateDirect 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 (3)
01Fix variables and assumptionsL1–1
Work with arbitrary variables or the premises of the current implication.
- L1
intro B
02Induction on BL2–5
03Separate the logical casesL6–6
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L6
exfalso
04Use earlier factsL7–9
05Fix variables and assumptionsL10–12
06Establish hcaseL13–16
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply squarefree or prime square divisor.
07Separate the logical casesL17–17
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L17
cases hcase
08Construct an explicit witnessL18–19
09Separate the logical casesL20–20
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L20
split
10Use earlier factsL21–21
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
exact hcase_left
11Calculate and transport equalitiesL22–25
12Use earlier factsL26–27
13Separate the logical casesL28–30
14Establish huL31–39
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply factor nonzero right.
15Establish hsmallL40–49
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply proper factor lt.
- L40
have hsmall : exists pvs_gap_exists_descent. pvs_gap_exists_descent + S (x1) = (n) - L41
specialize proper_factor_lt (n) - L42
specialize proper_factor_lt (x1) - L43
specialize proper_factor_lt (x * x) - L44
apply proper_factor_lt - L45
exact hn - L46
trans (x * x) * x1 - L47
exact hcase_right_witness_right_witness - L48
apply mul_comm - L49
intro hone
16Use earlier factsL50–53
17Establish hrecL54–63
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply IH.
- L54
have hrec : ∃ r. ∃ s. NaturalSquarefreeDecomposition(x1,r,s)Definitions: NaturalSquarefreeDecomposition - L55
specialize IH (x1) - L56
apply IH - L57
exact hu - L58
specialize lt_of_lt_of_le (x1) - L59
specialize lt_of_lt_of_le (n) - L60
specialize lt_of_lt_of_le (B) - L61
apply lt_of_lt_of_le - L62
exact hsmall - L63
specialize le_of_succ_le_succ (n)
18Use earlier factsL64–66
19Separate the logical casesL67–69
20Construct an explicit witnessL70–71
21Separate the logical casesL72–72
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L72
split
22Use earlier factsL73–73
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L73
exact hrec_witness_witness_left
23Calculate and transport equalitiesL74–74
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L74
trans (x * x) * x1
24Use earlier factsL75–75
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L75
exact hcase_right_witness_right_witness
25Calculate and transport equalitiesL76–76
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L76
rewrite hrec_witness_witness_right
26Use earlier factsL77–77
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L77
apply squarefree_square_factor_reassociate
Original exact command ledger · 77 lines
- 0001
intro B - 0002
induction B - 0003
intro n - 0004
intro hn - 0005
intro hbound - 0006
exfalso - 0007
specialize factor_permutation_below_zero_impossible (n) - 0008
apply factor_permutation_below_zero_impossible - 0009
exact hbound - 0010
intro n - 0011
intro hn - 0012
intro hbound - 0013
have hcase : (((~((n) = 0)) /\ (forall sfd_prime_exists_decision. (~((sfd_prime_exists_decision) = 1) /\ forall pvs_left_exists_decisiondomain pvs_right_exists_decisiondomain. (sfd_prime_exists_decision) = pvs_left_exists_decisiondomain * pvs_right_exists_decisiondomain -> pvs_left_exists_decisiondomain = 1 \/ pvs_right_exists_decisiondomain = 1) -> (exists pvs_le_gap_exists_decisionbound. pvs_le_gap_exists_decisionbound + (sfd_prime_exists_decision) = (n)) -> ~(exists pvs_factor_exists_decisionsquare. (n) = (sfd_prime_exists_decision * sfd_prime_exists_decision) * pvs_factor_exists_decisionsquare)))) \/ exists p. (~((p) = 1) /\ forall pvs_left_exists_prime pvs_right_exists_prime. (p) = pvs_left_exists_prime * pvs_right_exists_prime -> pvs_left_exists_prime = 1 \/ pvs_right_exists_prime = 1) /\ (exists pvs_factor_exists_divisor. (n) = (p * p) * pvs_factor_exists_divisor) - 0014
specialize squarefree_or_prime_square_divisor (n) - 0015
apply squarefree_or_prime_square_divisor - 0016
exact hn - 0017
cases hcase - 0018
exists n - 0019
exists 1 - 0020
split - 0021
exact hcase_left - 0022
symm - 0023
trans n * 1 - 0024
congr - 0025
refl - 0026
apply mul_one - 0027
apply mul_one - 0028
cases hcase_right - 0029
cases hcase_right_witness - 0030
cases hcase_right_witness_right - 0031
have hu : ~(x1 = 0) - 0032
intro hzero - 0033
specialize factor_nonzero_right (n) - 0034
specialize factor_nonzero_right (x * x) - 0035
specialize factor_nonzero_right (x1) - 0036
apply factor_nonzero_right - 0037
exact hn - 0038
exact hcase_right_witness_right_witness - 0039
exact hzero - 0040
have hsmall : exists pvs_gap_exists_descent. pvs_gap_exists_descent + S (x1) = (n) - 0041
specialize proper_factor_lt (n) - 0042
specialize proper_factor_lt (x1) - 0043
specialize proper_factor_lt (x * x) - 0044
apply proper_factor_lt - 0045
exact hn - 0046
trans (x * x) * x1 - 0047
exact hcase_right_witness_right_witness - 0048
apply mul_comm - 0049
intro hone - 0050
specialize prime_square_ne_one (x) - 0051
apply prime_square_ne_one - 0052
exact hcase_right_witness_left - 0053
exact hone - 0054
have hrec : exists r s. (((((~((r) = 0)) /\ (forall sfd_prime_exists_recursivekernel. (~((sfd_prime_exists_recursivekernel) = 1) /\ forall pvs_left_exists_recursivekerneldomain pvs_right_exists_recursivekerneldomain. (sfd_prime_exists_recursivekernel) = pvs_left_exists_recursivekerneldomain * pvs_right_exists_recursivekerneldomain -> pvs_left_exists_recursivekerneldomain = 1 \/ pvs_right_exists_recursivekerneldomain = 1) -> (exists pvs_le_gap_exists_recursivekernelbound. pvs_le_gap_exists_recursivekernelbound + (sfd_prime_exists_recursivekernel) = (r)) -> ~(exists pvs_factor_exists_recursivekernelsquare. (r) = (sfd_prime_exists_recursivekernel * sfd_prime_exists_recursivekernel) * pvs_factor_exists_recursivekernelsquare)))) /\ ((x1) = (r) * ((s) * (s))))) - 0055
specialize IH (x1) - 0056
apply IH - 0057
exact hu - 0058
specialize lt_of_lt_of_le (x1) - 0059
specialize lt_of_lt_of_le (n) - 0060
specialize lt_of_lt_of_le (B) - 0061
apply lt_of_lt_of_le - 0062
exact hsmall - 0063
specialize le_of_succ_le_succ (n) - 0064
specialize le_of_succ_le_succ (B) - 0065
apply le_of_succ_le_succ - 0066
exact hbound - 0067
cases hrec - 0068
cases hrec_witness - 0069
cases hrec_witness_witness - 0070
exists x2 - 0071
exists x * x3 - 0072
split - 0073
exact hrec_witness_witness_left - 0074
trans (x * x) * x1 - 0075
exact hcase_right_witness_right_witness - 0076
rewrite hrec_witness_witness_right - 0077
apply squarefree_square_factor_reassociate