PA005Q

square_residue_witness

Stable checked-use theorem · independently closed

Existential wrapper for the generic square-residue lift.

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 PA statement

forall a z q r c s. z = a * q + r -> r * r = a * c + s -> exists w. z * z = a * w + s

Structural proof guide

Generated structural guide

Existential wrapper for the generic square-residue lift.

Use the direct prerequisites square_residue_lift as previously established PA formulas.

The proof proceeds by direct introduction and elimination.

Referenced ingredients

Proof neighborhood

Direct dependencies

Direct dependents

Formal native tactic body

Dependencies are introduced as named hypotheses before line 1. Linked names are exact direct references. This Stable checked-use theorem is independently kernel-checked when replayed.

Read the argument

Proof checkpoints

12 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.

Named ingredients (1)
01Fix variables and assumptionsL1–8

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

  1. L1
    intro a
  2. L2
    intro z
  3. L3
    intro q
  4. L4
    intro r
  5. L5
    intro c
  6. L6
    intro s
  7. L7
    intro hz
  8. L8
    intro hrc
02Construct an explicit witnessL9–9

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

  1. L9
    exists (q * z + r * q) + c
03Use earlier factsL10–12

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

  1. L10
    apply square_residue_lift
  2. L11
    exact hz
  3. L12
    exact hrc

Library-wide reading audit

Original exact command ledger · 12 lines
  1. 0001intro a
  2. 0002intro z
  3. 0003intro q
  4. 0004intro r
  5. 0005intro c
  6. 0006intro s
  7. 0007intro hz
  8. 0008intro hrc
  9. 0009exists (q * z + r * q) + c
  10. 0010apply square_residue_lift
  11. 0011exact hz
  12. 0012exact hrc