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. exists z. ((((exists mv_even_half_totaleven. (n) = 2 * mv_even_half_totaleven) /\ ((z) = 2))) \/ (((exists mv_odd_half_totalodd. (n) = 2 * mv_odd_half_totalodd + 1) /\ ((z) = 1))))Constructive proof overview
Generated structural guide
Parity constructs an actual canonical code for the alternating unit at every natural exponent.
The unchanged tactic script uses 1 declared prerequisite and contains 18 exact native proof lines.
Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
parity_cases 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–1
Work with arbitrary variables or the premises of the current implication.
- L1
intro n
02Establish hL2–4
03Separate the logical casesL5–6
04Construct an explicit witnessL7–7
Supply the displayed value, then prove that it has the required property.
- L7
exists 2
05Separate the logical casesL8–9
06Construct an explicit witnessL10–10
Supply the displayed value, then prove that it has the required property.
- L10
exists x
07Use earlier factsL11–11
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L11
exact h_witness_left
08Calculate and transport equalitiesL12–12
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L12
refl
09Construct an explicit witnessL13–13
Supply the displayed value, then prove that it has the required property.
- L13
exists 1
10Separate the logical casesL14–15
11Construct an explicit witnessL16–16
Supply the displayed value, then prove that it has the required property.
- L16
exists x
12Use earlier factsL17–17
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L17
exact h_witness_right
13Calculate and transport equalitiesL18–18
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L18
refl