| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > qdenval | Structured version Visualization version GIF version | ||
| Description: Value of the canonical denominator function. (Contributed by Stefan O'Rear, 13-Sep-2014.) |
| Ref | Expression |
|---|---|
| qdenval | ⊢ (𝐴 ∈ ℚ → (denom‘𝐴) = (2nd ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥)))))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eqeq1 2734 | . . . . 5 ⊢ (𝑎 = 𝐴 → (𝑎 = ((1st ‘𝑥) / (2nd ‘𝑥)) ↔ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥)))) | |
| 2 | 1 | anbi2d 630 | . . . 4 ⊢ (𝑎 = 𝐴 → ((((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝑎 = ((1st ‘𝑥) / (2nd ‘𝑥))) ↔ (((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥))))) |
| 3 | 2 | riotabidv 7348 | . . 3 ⊢ (𝑎 = 𝐴 → (℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝑎 = ((1st ‘𝑥) / (2nd ‘𝑥)))) = (℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥))))) |
| 4 | 3 | fveq2d 6864 | . 2 ⊢ (𝑎 = 𝐴 → (2nd ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝑎 = ((1st ‘𝑥) / (2nd ‘𝑥))))) = (2nd ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥)))))) |
| 5 | df-denom 16712 | . 2 ⊢ denom = (𝑎 ∈ ℚ ↦ (2nd ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝑎 = ((1st ‘𝑥) / (2nd ‘𝑥)))))) | |
| 6 | fvex 6873 | . 2 ⊢ (2nd ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥))))) ∈ V | |
| 7 | 4, 5, 6 | fvmpt 6970 | 1 ⊢ (𝐴 ∈ ℚ → (denom‘𝐴) = (2nd ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥)))))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1540 ∈ wcel 2109 × cxp 5638 ‘cfv 6513 ℩crio 7345 (class class class)co 7389 1st c1st 7968 2nd c2nd 7969 1c1 11075 / cdiv 11841 ℕcn 12187 ℤcz 12535 ℚcq 12913 gcd cgcd 16470 denomcdenom 16710 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2702 ax-sep 5253 ax-nul 5263 ax-pr 5389 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2534 df-eu 2563 df-clab 2709 df-cleq 2722 df-clel 2804 df-nfc 2879 df-ne 2927 df-ral 3046 df-rex 3055 df-rab 3409 df-v 3452 df-dif 3919 df-un 3921 df-ss 3933 df-nul 4299 df-if 4491 df-sn 4592 df-pr 4594 df-op 4598 df-uni 4874 df-br 5110 df-opab 5172 df-mpt 5191 df-id 5535 df-xp 5646 df-rel 5647 df-cnv 5648 df-co 5649 df-dm 5650 df-iota 6466 df-fun 6515 df-fv 6521 df-riota 7346 df-denom 16712 |
| This theorem is referenced by: qnumdencl 16715 fden 16719 qnumdenbi 16720 |
| Copyright terms: Public domain | W3C validator |