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

Theorem actfunsnf1o 32154
Description: The action 𝐹 of extending function from 𝐵 to 𝐶 with new values at point 𝐼 is a bijection. (Contributed by Thierry Arnoux, 9-Dec-2021.)
Hypotheses
Ref Expression
actfunsn.1 ((𝜑𝑘𝐶) → 𝐴 ⊆ (𝐶m 𝐵))
actfunsn.2 (𝜑𝐶 ∈ V)
actfunsn.3 (𝜑𝐼𝑉)
actfunsn.4 (𝜑 → ¬ 𝐼𝐵)
actfunsn.5 𝐹 = (𝑥𝐴 ↦ (𝑥 ∪ {⟨𝐼, 𝑘⟩}))
Assertion
Ref Expression
actfunsnf1o ((𝜑𝑘𝐶) → 𝐹:𝐴1-1-onto→ran 𝐹)
Distinct variable groups:   𝑥,𝐴   𝑘,𝐼,𝑥   𝜑,𝑘
Allowed substitution hints:   𝜑(𝑥)   𝐴(𝑘)   𝐵(𝑥,𝑘)   𝐶(𝑥,𝑘)   𝐹(𝑥,𝑘)   𝑉(𝑥,𝑘)

Proof of Theorem actfunsnf1o
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 actfunsn.5 . . 3 𝐹 = (𝑥𝐴 ↦ (𝑥 ∪ {⟨𝐼, 𝑘⟩}))
2 uneq1 4046 . . . 4 (𝑥 = 𝑧 → (𝑥 ∪ {⟨𝐼, 𝑘⟩}) = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
32cbvmptv 5133 . . 3 (𝑥𝐴 ↦ (𝑥 ∪ {⟨𝐼, 𝑘⟩})) = (𝑧𝐴 ↦ (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
41, 3eqtri 2761 . 2 𝐹 = (𝑧𝐴 ↦ (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
5 vex 3402 . . . 4 𝑧 ∈ V
6 snex 5298 . . . 4 {⟨𝐼, 𝑘⟩} ∈ V
75, 6unex 7487 . . 3 (𝑧 ∪ {⟨𝐼, 𝑘⟩}) ∈ V
87a1i 11 . 2 (((𝜑𝑘𝐶) ∧ 𝑧𝐴) → (𝑧 ∪ {⟨𝐼, 𝑘⟩}) ∈ V)
9 vex 3402 . . . 4 𝑦 ∈ V
109resex 5873 . . 3 (𝑦𝐵) ∈ V
1110a1i 11 . 2 (((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) → (𝑦𝐵) ∈ V)
12 rspe 3214 . . . . . . 7 ((𝑧𝐴𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → ∃𝑧𝐴 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
134, 7elrnmpti 5803 . . . . . . 7 (𝑦 ∈ ran 𝐹 ↔ ∃𝑧𝐴 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
1412, 13sylibr 237 . . . . . 6 ((𝑧𝐴𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑦 ∈ ran 𝐹)
1514adantll 714 . . . . 5 ((((𝜑𝑘𝐶) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑦 ∈ ran 𝐹)
16 simpr 488 . . . . . . 7 ((((𝜑𝑘𝐶) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
1716reseq1d 5824 . . . . . 6 ((((𝜑𝑘𝐶) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → (𝑦𝐵) = ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵))
18 actfunsn.1 . . . . . . . . . 10 ((𝜑𝑘𝐶) → 𝐴 ⊆ (𝐶m 𝐵))
1918sselda 3877 . . . . . . . . 9 (((𝜑𝑘𝐶) ∧ 𝑧𝐴) → 𝑧 ∈ (𝐶m 𝐵))
20 elmapfn 8475 . . . . . . . . 9 (𝑧 ∈ (𝐶m 𝐵) → 𝑧 Fn 𝐵)
2119, 20syl 17 . . . . . . . 8 (((𝜑𝑘𝐶) ∧ 𝑧𝐴) → 𝑧 Fn 𝐵)
22 actfunsn.3 . . . . . . . . . 10 (𝜑𝐼𝑉)
23 fnsng 6391 . . . . . . . . . 10 ((𝐼𝑉𝑘𝐶) → {⟨𝐼, 𝑘⟩} Fn {𝐼})
2422, 23sylan 583 . . . . . . . . 9 ((𝜑𝑘𝐶) → {⟨𝐼, 𝑘⟩} Fn {𝐼})
2524adantr 484 . . . . . . . 8 (((𝜑𝑘𝐶) ∧ 𝑧𝐴) → {⟨𝐼, 𝑘⟩} Fn {𝐼})
26 actfunsn.4 . . . . . . . . . . 11 (𝜑 → ¬ 𝐼𝐵)
27 disjsn 4602 . . . . . . . . . . 11 ((𝐵 ∩ {𝐼}) = ∅ ↔ ¬ 𝐼𝐵)
2826, 27sylibr 237 . . . . . . . . . 10 (𝜑 → (𝐵 ∩ {𝐼}) = ∅)
2928adantr 484 . . . . . . . . 9 ((𝜑𝑘𝐶) → (𝐵 ∩ {𝐼}) = ∅)
3029adantr 484 . . . . . . . 8 (((𝜑𝑘𝐶) ∧ 𝑧𝐴) → (𝐵 ∩ {𝐼}) = ∅)
31 fnunres1 30519 . . . . . . . 8 ((𝑧 Fn 𝐵 ∧ {⟨𝐼, 𝑘⟩} Fn {𝐼} ∧ (𝐵 ∩ {𝐼}) = ∅) → ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵) = 𝑧)
3221, 25, 30, 31syl3anc 1372 . . . . . . 7 (((𝜑𝑘𝐶) ∧ 𝑧𝐴) → ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵) = 𝑧)
3332adantr 484 . . . . . 6 ((((𝜑𝑘𝐶) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵) = 𝑧)
3417, 33eqtr2d 2774 . . . . 5 ((((𝜑𝑘𝐶) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑧 = (𝑦𝐵))
3515, 34jca 515 . . . 4 ((((𝜑𝑘𝐶) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → (𝑦 ∈ ran 𝐹𝑧 = (𝑦𝐵)))
3635anasss 470 . . 3 (((𝜑𝑘𝐶) ∧ (𝑧𝐴𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))) → (𝑦 ∈ ran 𝐹𝑧 = (𝑦𝐵)))
37 simpr 488 . . . . . 6 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → 𝑧 = (𝑦𝐵))
38 simpr 488 . . . . . . . . . 10 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
3938reseq1d 5824 . . . . . . . . 9 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → (𝑦𝐵) = ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵))
4018ad3antrrr 730 . . . . . . . . . . . . 13 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝐴 ⊆ (𝐶m 𝐵))
41 simplr 769 . . . . . . . . . . . . 13 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑧𝐴)
4240, 41sseldd 3878 . . . . . . . . . . . 12 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑧 ∈ (𝐶m 𝐵))
4342, 20syl 17 . . . . . . . . . . 11 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑧 Fn 𝐵)
4422ad4antr 732 . . . . . . . . . . . 12 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝐼𝑉)
45 simp-4r 784 . . . . . . . . . . . 12 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑘𝐶)
4644, 45, 23syl2anc 587 . . . . . . . . . . 11 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → {⟨𝐼, 𝑘⟩} Fn {𝐼})
4728ad4antr 732 . . . . . . . . . . 11 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → (𝐵 ∩ {𝐼}) = ∅)
4843, 46, 47, 31syl3anc 1372 . . . . . . . . . 10 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵) = 𝑧)
4948, 41eqeltrd 2833 . . . . . . . . 9 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵) ∈ 𝐴)
5039, 49eqeltrd 2833 . . . . . . . 8 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → (𝑦𝐵) ∈ 𝐴)
51 simpr 488 . . . . . . . . 9 (((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) → 𝑦 ∈ ran 𝐹)
5251, 13sylib 221 . . . . . . . 8 (((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) → ∃𝑧𝐴 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
5350, 52r19.29a 3199 . . . . . . 7 (((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) → (𝑦𝐵) ∈ 𝐴)
5453adantr 484 . . . . . 6 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → (𝑦𝐵) ∈ 𝐴)
5537, 54eqeltrd 2833 . . . . 5 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → 𝑧𝐴)
5637uneq1d 4052 . . . . . 6 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → (𝑧 ∪ {⟨𝐼, 𝑘⟩}) = ((𝑦𝐵) ∪ {⟨𝐼, 𝑘⟩}))
5739, 48eqtrd 2773 . . . . . . . . . 10 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → (𝑦𝐵) = 𝑧)
5857uneq1d 4052 . . . . . . . . 9 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → ((𝑦𝐵) ∪ {⟨𝐼, 𝑘⟩}) = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
5958, 38eqtr4d 2776 . . . . . . . 8 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → ((𝑦𝐵) ∪ {⟨𝐼, 𝑘⟩}) = 𝑦)
6059, 52r19.29a 3199 . . . . . . 7 (((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) → ((𝑦𝐵) ∪ {⟨𝐼, 𝑘⟩}) = 𝑦)
6160adantr 484 . . . . . 6 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → ((𝑦𝐵) ∪ {⟨𝐼, 𝑘⟩}) = 𝑦)
6256, 61eqtr2d 2774 . . . . 5 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
6355, 62jca 515 . . . 4 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → (𝑧𝐴𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})))
6463anasss 470 . . 3 (((𝜑𝑘𝐶) ∧ (𝑦 ∈ ran 𝐹𝑧 = (𝑦𝐵))) → (𝑧𝐴𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})))
6536, 64impbida 801 . 2 ((𝜑𝑘𝐶) → ((𝑧𝐴𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) ↔ (𝑦 ∈ ran 𝐹𝑧 = (𝑦𝐵))))
664, 8, 11, 65f1od 7413 1 ((𝜑𝑘𝐶) → 𝐹:𝐴1-1-onto→ran 𝐹)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399   = wceq 1542  wcel 2114  wrex 3054  Vcvv 3398  cun 3841  cin 3842  wss 3843  c0 4211  {csn 4516  cop 4522  cmpt 5110  ran crn 5526  cres 5527   Fn wfn 6334  1-1-ontowf1o 6338  (class class class)co 7170  m cmap 8437
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pow 5232  ax-pr 5296  ax-un 7479
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-rab 3062  df-v 3400  df-sbc 3681  df-csb 3791  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-if 4415  df-pw 4490  df-sn 4517  df-pr 4519  df-op 4523  df-uni 4797  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5429  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-iota 6297  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fo 6345  df-f1o 6346  df-fv 6347  df-ov 7173  df-oprab 7174  df-mpo 7175  df-1st 7714  df-2nd 7715  df-map 8439
This theorem is referenced by:  breprexplema  32180
  Copyright terms: Public domain W3C validator