Exact expanded PA statement
forall d a b q r. a = b * q + r -> (((exists x. b = d * x) /\ (exists y. r = d * y)) /\ forall c. (exists u. b = c * u) -> (exists v. r = c * v) -> exists w. d = c * w) -> (((exists x. a = d * x) /\ (exists y. b = d * y)) /\ forall c. (exists u. a = c * u) -> (exists v. b = c * v) -> exists w. d = c * w)Structural proof guide
Generated structural guide
A relational gcd of divisor and remainder is a gcd of dividend and divisor.
Use the direct prerequisites divides_remainder, divides_linear_step as previously established PA formulas.
The proof proceeds by case analysis (2), equality transport (1).
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.
- 0001
intro d - 0002
intro a - 0003
intro b - 0004
intro q - 0005
intro r - 0006
intro hstep - 0007
intro hg - 0008
cases hg - 0009
cases hg_left - 0010
split - 0011
split - 0012
rewrite hstep - 0013
specialize divides_linear_step d - 0014
specialize divides_linear_step b - 0015
specialize divides_linear_step q - 0016
specialize divides_linear_step r - 0017
apply divides_linear_step - 0018
exact hg_left_left - 0019
exact hg_left_right - 0020
exact hg_left_left - 0021
intro c - 0022
intro hca - 0023
intro hcb - 0024
specialize hg_right c - 0025
apply hg_right - 0026
exact hcb - 0027
specialize divides_remainder c - 0028
specialize divides_remainder a - 0029
specialize divides_remainder b - 0030
specialize divides_remainder q - 0031
specialize divides_remainder r - 0032
apply divides_remainder - 0033
exact hca - 0034
exact hcb - 0035
exact hstep