Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  reprinrn Structured version   Visualization version   GIF version

Theorem reprinrn 32498
Description: Representations with term in an intersection. (Contributed by Thierry Arnoux, 11-Dec-2021.)
Hypotheses
Ref Expression
reprval.a (𝜑𝐴 ⊆ ℕ)
reprval.m (𝜑𝑀 ∈ ℤ)
reprval.s (𝜑𝑆 ∈ ℕ0)
Assertion
Ref Expression
reprinrn (𝜑 → (𝑐 ∈ ((𝐴𝐵)(repr‘𝑆)𝑀) ↔ (𝑐 ∈ (𝐴(repr‘𝑆)𝑀) ∧ ran 𝑐𝐵)))
Distinct variable groups:   𝐴,𝑐   𝑀,𝑐   𝑆,𝑐   𝜑,𝑐   𝐵,𝑐

Proof of Theorem reprinrn
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 fin 6638 . . . . 5 (𝑐:(0..^𝑆)⟶(𝐴𝐵) ↔ (𝑐:(0..^𝑆)⟶𝐴𝑐:(0..^𝑆)⟶𝐵))
2 df-f 6422 . . . . . . 7 (𝑐:(0..^𝑆)⟶𝐵 ↔ (𝑐 Fn (0..^𝑆) ∧ ran 𝑐𝐵))
3 ffn 6584 . . . . . . . . . 10 (𝑐:(0..^𝑆)⟶𝐴𝑐 Fn (0..^𝑆))
43adantl 481 . . . . . . . . 9 ((𝜑𝑐:(0..^𝑆)⟶𝐴) → 𝑐 Fn (0..^𝑆))
54biantrurd 532 . . . . . . . 8 ((𝜑𝑐:(0..^𝑆)⟶𝐴) → (ran 𝑐𝐵 ↔ (𝑐 Fn (0..^𝑆) ∧ ran 𝑐𝐵)))
65bicomd 222 . . . . . . 7 ((𝜑𝑐:(0..^𝑆)⟶𝐴) → ((𝑐 Fn (0..^𝑆) ∧ ran 𝑐𝐵) ↔ ran 𝑐𝐵))
72, 6syl5bb 282 . . . . . 6 ((𝜑𝑐:(0..^𝑆)⟶𝐴) → (𝑐:(0..^𝑆)⟶𝐵 ↔ ran 𝑐𝐵))
87pm5.32da 578 . . . . 5 (𝜑 → ((𝑐:(0..^𝑆)⟶𝐴𝑐:(0..^𝑆)⟶𝐵) ↔ (𝑐:(0..^𝑆)⟶𝐴 ∧ ran 𝑐𝐵)))
91, 8syl5bb 282 . . . 4 (𝜑 → (𝑐:(0..^𝑆)⟶(𝐴𝐵) ↔ (𝑐:(0..^𝑆)⟶𝐴 ∧ ran 𝑐𝐵)))
10 nnex 11909 . . . . . . . 8 ℕ ∈ V
1110a1i 11 . . . . . . 7 (𝜑 → ℕ ∈ V)
12 reprval.a . . . . . . 7 (𝜑𝐴 ⊆ ℕ)
1311, 12ssexd 5243 . . . . . 6 (𝜑𝐴 ∈ V)
14 inex1g 5238 . . . . . 6 (𝐴 ∈ V → (𝐴𝐵) ∈ V)
1513, 14syl 17 . . . . 5 (𝜑 → (𝐴𝐵) ∈ V)
16 ovex 7288 . . . . 5 (0..^𝑆) ∈ V
17 elmapg 8586 . . . . 5 (((𝐴𝐵) ∈ V ∧ (0..^𝑆) ∈ V) → (𝑐 ∈ ((𝐴𝐵) ↑m (0..^𝑆)) ↔ 𝑐:(0..^𝑆)⟶(𝐴𝐵)))
1815, 16, 17sylancl 585 . . . 4 (𝜑 → (𝑐 ∈ ((𝐴𝐵) ↑m (0..^𝑆)) ↔ 𝑐:(0..^𝑆)⟶(𝐴𝐵)))
19 elmapg 8586 . . . . . 6 ((𝐴 ∈ V ∧ (0..^𝑆) ∈ V) → (𝑐 ∈ (𝐴m (0..^𝑆)) ↔ 𝑐:(0..^𝑆)⟶𝐴))
2013, 16, 19sylancl 585 . . . . 5 (𝜑 → (𝑐 ∈ (𝐴m (0..^𝑆)) ↔ 𝑐:(0..^𝑆)⟶𝐴))
2120anbi1d 629 . . . 4 (𝜑 → ((𝑐 ∈ (𝐴m (0..^𝑆)) ∧ ran 𝑐𝐵) ↔ (𝑐:(0..^𝑆)⟶𝐴 ∧ ran 𝑐𝐵)))
229, 18, 213bitr4d 310 . . 3 (𝜑 → (𝑐 ∈ ((𝐴𝐵) ↑m (0..^𝑆)) ↔ (𝑐 ∈ (𝐴m (0..^𝑆)) ∧ ran 𝑐𝐵)))
2322anbi1d 629 . 2 (𝜑 → ((𝑐 ∈ ((𝐴𝐵) ↑m (0..^𝑆)) ∧ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀) ↔ ((𝑐 ∈ (𝐴m (0..^𝑆)) ∧ ran 𝑐𝐵) ∧ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀)))
24 inss1 4159 . . . . . 6 (𝐴𝐵) ⊆ 𝐴
2524, 12sstrid 3928 . . . . 5 (𝜑 → (𝐴𝐵) ⊆ ℕ)
26 reprval.m . . . . 5 (𝜑𝑀 ∈ ℤ)
27 reprval.s . . . . 5 (𝜑𝑆 ∈ ℕ0)
2825, 26, 27reprval 32490 . . . 4 (𝜑 → ((𝐴𝐵)(repr‘𝑆)𝑀) = {𝑐 ∈ ((𝐴𝐵) ↑m (0..^𝑆)) ∣ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀})
2928eleq2d 2824 . . 3 (𝜑 → (𝑐 ∈ ((𝐴𝐵)(repr‘𝑆)𝑀) ↔ 𝑐 ∈ {𝑐 ∈ ((𝐴𝐵) ↑m (0..^𝑆)) ∣ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀}))
30 rabid 3304 . . 3 (𝑐 ∈ {𝑐 ∈ ((𝐴𝐵) ↑m (0..^𝑆)) ∣ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀} ↔ (𝑐 ∈ ((𝐴𝐵) ↑m (0..^𝑆)) ∧ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀))
3129, 30bitrdi 286 . 2 (𝜑 → (𝑐 ∈ ((𝐴𝐵)(repr‘𝑆)𝑀) ↔ (𝑐 ∈ ((𝐴𝐵) ↑m (0..^𝑆)) ∧ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀)))
3212, 26, 27reprval 32490 . . . . . 6 (𝜑 → (𝐴(repr‘𝑆)𝑀) = {𝑐 ∈ (𝐴m (0..^𝑆)) ∣ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀})
3332eleq2d 2824 . . . . 5 (𝜑 → (𝑐 ∈ (𝐴(repr‘𝑆)𝑀) ↔ 𝑐 ∈ {𝑐 ∈ (𝐴m (0..^𝑆)) ∣ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀}))
34 rabid 3304 . . . . 5 (𝑐 ∈ {𝑐 ∈ (𝐴m (0..^𝑆)) ∣ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀} ↔ (𝑐 ∈ (𝐴m (0..^𝑆)) ∧ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀))
3533, 34bitrdi 286 . . . 4 (𝜑 → (𝑐 ∈ (𝐴(repr‘𝑆)𝑀) ↔ (𝑐 ∈ (𝐴m (0..^𝑆)) ∧ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀)))
3635anbi1d 629 . . 3 (𝜑 → ((𝑐 ∈ (𝐴(repr‘𝑆)𝑀) ∧ ran 𝑐𝐵) ↔ ((𝑐 ∈ (𝐴m (0..^𝑆)) ∧ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀) ∧ ran 𝑐𝐵)))
37 an32 642 . . 3 (((𝑐 ∈ (𝐴m (0..^𝑆)) ∧ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀) ∧ ran 𝑐𝐵) ↔ ((𝑐 ∈ (𝐴m (0..^𝑆)) ∧ ran 𝑐𝐵) ∧ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀))
3836, 37bitrdi 286 . 2 (𝜑 → ((𝑐 ∈ (𝐴(repr‘𝑆)𝑀) ∧ ran 𝑐𝐵) ↔ ((𝑐 ∈ (𝐴m (0..^𝑆)) ∧ ran 𝑐𝐵) ∧ Σ𝑎 ∈ (0..^𝑆)(𝑐𝑎) = 𝑀)))
3923, 31, 383bitr4d 310 1 (𝜑 → (𝑐 ∈ ((𝐴𝐵)(repr‘𝑆)𝑀) ↔ (𝑐 ∈ (𝐴(repr‘𝑆)𝑀) ∧ ran 𝑐𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  {crab 3067  Vcvv 3422  cin 3882  wss 3883  ran crn 5581   Fn wfn 6413  wf 6414  cfv 6418  (class class class)co 7255  m cmap 8573  0cc0 10802  cn 11903  0cn0 12163  cz 12249  ..^cfzo 13311  Σcsu 15325  reprcrepr 32488
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-addcl 10862
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-map 8575  df-neg 11138  df-nn 11904  df-z 12250  df-seq 13650  df-sum 15326  df-repr 32489
This theorem is referenced by:  hashreprin  32500
  Copyright terms: Public domain W3C validator