Exact expanded PA statement
forall a b. exists d. (((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
Every pair of naturals has a relational greatest common divisor.
Use the direct prerequisites le_refl, gcd_exists_up_to as previously established PA formulas.
The proof proceeds by intermediate claims (2).
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 a - 0002
intro b - 0003
specialize gcd_exists_up_to b - 0004
specialize gcd_exists_up_to b - 0005
have hbb : exists t. t + b = b - 0006
apply le_refl - 0007
have hall : forall z. exists d. (((exists x. z = d * x) /\ (exists y. b = d * y)) /\ forall c. (exists u. z = c * u) -> (exists v. b = c * v) -> exists w. d = c * w) - 0008
apply gcd_exists_up_to - 0009
exact hbb - 0010
specialize hall a - 0011
exact hall