TS0015 · theorem body

balanced_linear_congruence_implies_squared_congruence

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

Balanced congruence respects squaring of a direct linear relation.

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

∀ p. ∀ r. ∀ x. ∀ y. ModEq(p,r · x,y)ModEq(p,r · x · (r · x),y · y)

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 p r x y. (exists ftcn_left_linear ftcn_right_linear. (r * x) + (p) * ftcn_left_linear = (y) + (p) * ftcn_right_linear) -> (exists ftcn_left_squared ftcn_right_squared. ((r * x) * (r * x)) + (p) * ftcn_left_squared = (y * y) + (p) * ftcn_right_squared)

Proof neighborhood

Direct theorem prerequisites

mod_eq_mul · 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

13 script commands · 2 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 p
  2. L2
    intro r
  3. L3
    intro x
  4. L4
    intro y
  5. L5
    intro hlinear
02Use earlier factsL6–13

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L6
    specialize mod_eq_mul p
  2. L7
    specialize mod_eq_mul (r * x)
  3. L8
    specialize mod_eq_mul y
  4. L9
    specialize mod_eq_mul (r * x)
  5. L10
    specialize mod_eq_mul y
  6. L11
    apply mod_eq_mul
  7. L12
    exact hlinear
  8. L13
    exact hlinear

Library-wide reading audit

Original defined command ledger · 13 lines
  1. 0001intro p
  2. 0002intro r
  3. 0003intro x
  4. 0004intro y
  5. 0005intro hlinear
  6. 0006specialize mod_eq_mul p
  7. 0007specialize mod_eq_mul (r * x)
  8. 0008specialize mod_eq_mul y
  9. 0009specialize mod_eq_mul (r * x)
  10. 0010specialize mod_eq_mul y
  11. 0011apply mod_eq_mul
  12. 0012exact hlinear
  13. 0013exact hlinear