FS0059 · theorem body

four_square_signed_lower_remainder_congruent

Alpha v34 checked-use · independently kernel and Lean verified; not Stable

A nonnegative signed remainder directly gives balanced modular congruence.

historical independently replay-verified empty-context experiment; the experiment itself persisted no certificate and granted no release authority; current checked use follows separately sealed proof bundles; no Stable promotion.

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

∀ k. ∀ a. ∀ e. ∀ q. a = k · q + e → ModEq(k,a,e)

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

none
Exact expanded first-order statement
forall k a e q. a = k * q + e -> (exists ftcn_left_fssq_lower ftcn_right_fssq_lower. (a) + (k) * ftcn_left_fssq_lower = (e) + (k) * ftcn_right_fssq_lower)

Proof neighborhood

Direct theorem prerequisites

zero_add · Stable closed add_comm · Stable closed

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

9 script commands · 3 reading checkpoints · 0 local claims

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.

Definition notation is shown below. Open the paired exact edition for the original native formulas. Source pairing is not a new equivalence certificate.

01Fix variables and assumptionsL1–5

Work with arbitrary variables or the premises of the current implication.

  1. L1
    intro k
  2. L2
    intro a
  3. L3
    intro e
  4. L4
    intro q
  5. L5
    intro hrepresentation
02Construct an explicit witnessL6–7

Supply the displayed value, then prove that it has the required property.

  1. L6
    exists 0
  2. L7
    exists q
03Calculate and transport equalitiesL8–9

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L8
    rewrite hrepresentation
  2. L9
    simp [zero_add, add_comm]

Library-wide reading audit

Original defined command ledger · 9 lines
  1. 0001intro k
  2. 0002intro a
  3. 0003intro e
  4. 0004intro q
  5. 0005intro hrepresentation
  6. 0006exists 0
  7. 0007exists q
  8. 0008rewrite hrepresentation
  9. 0009simp [zero_add, add_comm]