| Intuitionistic Logic Explorer | 
      
      
      < Previous  
      Next >
      
       Nearby theorems  | 
  ||
| Mirrors > Home > ILE Home > Th. List > qnumval | GIF version | ||
| Description: Value of the canonical numerator function. (Contributed by Stefan O'Rear, 13-Sep-2014.) | 
| Ref | Expression | 
|---|---|
| qnumval | ⊢ (𝐴 ∈ ℚ → (numer‘𝐴) = (1st ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥)))))) | 
| Step | Hyp | Ref | Expression | 
|---|---|---|---|
| 1 | eqeq1 2203 | . . . . 5 ⊢ (𝑎 = 𝐴 → (𝑎 = ((1st ‘𝑥) / (2nd ‘𝑥)) ↔ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥)))) | |
| 2 | 1 | anbi2d 464 | . . . 4 ⊢ (𝑎 = 𝐴 → ((((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝑎 = ((1st ‘𝑥) / (2nd ‘𝑥))) ↔ (((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥))))) | 
| 3 | 2 | riotabidv 5879 | . . 3 ⊢ (𝑎 = 𝐴 → (℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝑎 = ((1st ‘𝑥) / (2nd ‘𝑥)))) = (℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥))))) | 
| 4 | 3 | fveq2d 5562 | . 2 ⊢ (𝑎 = 𝐴 → (1st ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝑎 = ((1st ‘𝑥) / (2nd ‘𝑥))))) = (1st ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥)))))) | 
| 5 | df-numer 12351 | . 2 ⊢ numer = (𝑎 ∈ ℚ ↦ (1st ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝑎 = ((1st ‘𝑥) / (2nd ‘𝑥)))))) | |
| 6 | zex 9335 | . . . 4 ⊢ ℤ ∈ V | |
| 7 | nnex 8996 | . . . 4 ⊢ ℕ ∈ V | |
| 8 | 6, 7 | xpex 4778 | . . 3 ⊢ (ℤ × ℕ) ∈ V | 
| 9 | riotaexg 5881 | . . 3 ⊢ ((ℤ × ℕ) ∈ V → (℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥)))) ∈ V) | |
| 10 | 1stexg 6225 | . . 3 ⊢ ((℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥)))) ∈ V → (1st ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥))))) ∈ V) | |
| 11 | 8, 9, 10 | mp2b 8 | . 2 ⊢ (1st ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥))))) ∈ V | 
| 12 | 4, 5, 11 | fvmpt 5638 | 1 ⊢ (𝐴 ∈ ℚ → (numer‘𝐴) = (1st ‘(℩𝑥 ∈ (ℤ × ℕ)(((1st ‘𝑥) gcd (2nd ‘𝑥)) = 1 ∧ 𝐴 = ((1st ‘𝑥) / (2nd ‘𝑥)))))) | 
| Colors of variables: wff set class | 
| Syntax hints: → wi 4 ∧ wa 104 = wceq 1364 ∈ wcel 2167 Vcvv 2763 × cxp 4661 ‘cfv 5258 ℩crio 5876 (class class class)co 5922 1st c1st 6196 2nd c2nd 6197 1c1 7880 / cdiv 8699 ℕcn 8990 ℤcz 9326 ℚcq 9693 gcd cgcd 12120 numercnumer 12349 | 
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-io 710 ax-5 1461 ax-7 1462 ax-gen 1463 ax-ie1 1507 ax-ie2 1508 ax-8 1518 ax-10 1519 ax-11 1520 ax-i12 1521 ax-bndl 1523 ax-4 1524 ax-17 1540 ax-i9 1544 ax-ial 1548 ax-i5r 1549 ax-13 2169 ax-14 2170 ax-ext 2178 ax-sep 4151 ax-pow 4207 ax-pr 4242 ax-un 4468 ax-cnex 7970 ax-resscn 7971 ax-1re 7973 ax-addrcl 7976 | 
| This theorem depends on definitions: df-bi 117 df-3or 981 df-3an 982 df-tru 1367 df-nf 1475 df-sb 1777 df-eu 2048 df-mo 2049 df-clab 2183 df-cleq 2189 df-clel 2192 df-nfc 2328 df-ral 2480 df-rex 2481 df-rab 2484 df-v 2765 df-sbc 2990 df-un 3161 df-in 3163 df-ss 3170 df-pw 3607 df-sn 3628 df-pr 3629 df-op 3631 df-uni 3840 df-int 3875 df-br 4034 df-opab 4095 df-mpt 4096 df-id 4328 df-xp 4669 df-rel 4670 df-cnv 4671 df-co 4672 df-dm 4673 df-rn 4674 df-iota 5219 df-fun 5260 df-fn 5261 df-f 5262 df-fo 5264 df-fv 5266 df-riota 5877 df-ov 5925 df-1st 6198 df-neg 8200 df-inn 8991 df-z 9327 df-numer 12351 | 
| This theorem is referenced by: qnumdencl 12355 fnum 12358 qnumdenbi 12360 | 
| Copyright terms: Public domain | W3C validator |