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
∀ B. ∀ h. ∀ a. ∀ b. Le(h,B) → FermatFourStrictDescent() → ¬FermatFourCounterexample(a,b,h)Every purple notation token opens its conservative definition. This reading surface never changes the unchanged intuitionistic kernel or confers checked-use authority.
Definitions used by this theorem
In the theorem statement
In local proof propositions
Exact expanded first-order statement
forall B h a b. (exists gap. gap + h = B) -> (forall pff_first_bounded pff_second_bounded pff_hypotenuse_bounded. ((~((pff_first_bounded) = 0) /\ (~((pff_second_bounded) = 0) /\ (~((pff_hypotenuse_bounded) = 0) /\ ((pff_first_bounded) * (pff_first_bounded) * (pff_first_bounded) * (pff_first_bounded) + (pff_second_bounded) * (pff_second_bounded) * (pff_second_bounded) * (pff_second_bounded) = (pff_hypotenuse_bounded) * (pff_hypotenuse_bounded)))))) -> exists pff_smaller_first_bounded pff_smaller_second_bounded pff_smaller_hypotenuse_bounded. (((~((pff_smaller_first_bounded) = 0) /\ (~((pff_smaller_second_bounded) = 0) /\ (~((pff_smaller_hypotenuse_bounded) = 0) /\ ((pff_smaller_first_bounded) * (pff_smaller_first_bounded) * (pff_smaller_first_bounded) * (pff_smaller_first_bounded) + (pff_smaller_second_bounded) * (pff_smaller_second_bounded) * (pff_smaller_second_bounded) * (pff_smaller_second_bounded) = (pff_smaller_hypotenuse_bounded) * (pff_smaller_hypotenuse_bounded)))))) /\ (exists pff_gap_bounded. pff_gap_bounded + S pff_smaller_hypotenuse_bounded = pff_hypotenuse_bounded))) -> ~((~((a) = 0) /\ (~((b) = 0) /\ (~((h) = 0) /\ ((a) * (a) * (a) * (a) + (b) * (b) * (b) * (b) = (h) * (h))))))Proof neighborhood
Direct theorem prerequisites
Direct theorem dependents
Definition-aware tactic body
Only propositions whose conservative expansion has been checked for exact first-order equivalence are compacted. Every changed line retains its immutable exact replay 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–1
Work with arbitrary variables or the premises of the current implication.
- L1
intro B
02Induction on BL2–8
03Separate the logical casesL9–11
04Use earlier factsL12–15
05Fix variables and assumptionsL16–21
06Establish hsmallerL22–27
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hstep.
- L22
have hsmaller : ∃ first. ∃ second. ∃ smaller. SmallerFermatFourCounterexample(first,second,smaller,h)Definitions: SmallerFermatFourCounterexample(first,second,smaller,h)Original native command in the exact edition - L23
specialize hstep a - L24
specialize hstep b - L25
specialize hstep h - L26
apply hstep - L27
exact hcounter
07Separate the logical casesL28–31
08Establish hsuccessor_boundL32–38
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply le trans.
- L32
have hsuccessor_bound : Lt(x2,S B)Definitions: Lt(x2,S B)Original native command in the exact edition - L33
specialize le_trans (S x2) - L34
specialize le_trans h - L35
specialize le_trans (S B) - L36
apply le_trans - L37
exact hsmaller_witness_witness_witness_right - L38
exact hbound
09Establish hsmaller_boundL39–48
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply le of succ le succ.
Original defined command ledger · 50 lines
- 0001
intro B - 0002
induction B - 0003
intro h - 0004
intro a - 0005
intro b - 0006
intro hbound - 0007
intro hstep - 0008
intro hcounter - 0009
cases hcounter - 0010
cases hcounter_right - 0011
cases hcounter_right_right - 0012
apply hcounter_right_right_left - 0013
specialize le_zero h - 0014
apply le_zero - 0015
exact hbound - 0016
intro h - 0017
intro a - 0018
intro b - 0019
intro hbound - 0020
intro hstep - 0021
intro hcounter - 0022
have hsmaller : ∃ first. ∃ second. ∃ smaller. SmallerFermatFourCounterexample(first,second,smaller,h)Exact native replay line
have hsmaller : exists first second smaller. (((~((first) = 0) /\ (~((second) = 0) /\ (~((smaller) = 0) /\ ((first) * (first) * (first) * (first) + (second) * (second) * (second) * (second) = (smaller) * (smaller)))))) /\ (exists gap. gap + S smaller = h)) - 0023
specialize hstep a - 0024
specialize hstep b - 0025
specialize hstep h - 0026
apply hstep - 0027
exact hcounter - 0028
cases hsmaller - 0029
cases hsmaller_witness - 0030
cases hsmaller_witness_witness - 0031
cases hsmaller_witness_witness_witness - 0032
have hsuccessor_bound : Lt(x2,S B)Exact native replay line
have hsuccessor_bound : exists gap. gap + S x2 = S B - 0033
specialize le_trans (S x2) - 0034
specialize le_trans h - 0035
specialize le_trans (S B) - 0036
apply le_trans - 0037
exact hsmaller_witness_witness_witness_right - 0038
exact hbound - 0039
have hsmaller_bound : Le(x2,B)Exact native replay line
have hsmaller_bound : exists gap. gap + x2 = B - 0040
specialize le_of_succ_le_succ x2 - 0041
specialize le_of_succ_le_succ B - 0042
apply le_of_succ_le_succ - 0043
exact hsuccessor_bound - 0044
specialize IH x2 - 0045
specialize IH x - 0046
specialize IH x1 - 0047
apply IH - 0048
exact hsmaller_bound - 0049
exact hstep - 0050
exact hsmaller_witness_witness_witness_left