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 30991
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 ((𝜑𝑘𝐶) → 𝐴 ⊆ (𝐶𝑚 𝐵))
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 3903 . . . 4 (𝑥 = 𝑧 → (𝑥 ∪ {⟨𝐼, 𝑘⟩}) = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
32cbvmptv 4902 . . 3 (𝑥𝐴 ↦ (𝑥 ∪ {⟨𝐼, 𝑘⟩})) = (𝑧𝐴 ↦ (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
41, 3eqtri 2782 . 2 𝐹 = (𝑧𝐴 ↦ (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
5 vex 3343 . . . 4 𝑧 ∈ V
6 snex 5057 . . . 4 {⟨𝐼, 𝑘⟩} ∈ V
75, 6unex 7121 . . 3 (𝑧 ∪ {⟨𝐼, 𝑘⟩}) ∈ V
87a1i 11 . 2 (((𝜑𝑘𝐶) ∧ 𝑧𝐴) → (𝑧 ∪ {⟨𝐼, 𝑘⟩}) ∈ V)
9 vex 3343 . . . 4 𝑦 ∈ V
109resex 5601 . . 3 (𝑦𝐵) ∈ V
1110a1i 11 . 2 (((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) → (𝑦𝐵) ∈ V)
12 rspe 3141 . . . . . . 7 ((𝑧𝐴𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → ∃𝑧𝐴 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
134, 7elrnmpti 5531 . . . . . . 7 (𝑦 ∈ ran 𝐹 ↔ ∃𝑧𝐴 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
1412, 13sylibr 224 . . . . . 6 ((𝑧𝐴𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑦 ∈ ran 𝐹)
1514adantll 752 . . . . 5 ((((𝜑𝑘𝐶) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑦 ∈ ran 𝐹)
16 simpr 479 . . . . . . 7 ((((𝜑𝑘𝐶) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
1716reseq1d 5550 . . . . . 6 ((((𝜑𝑘𝐶) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → (𝑦𝐵) = ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵))
18 actfunsn.1 . . . . . . . . . 10 ((𝜑𝑘𝐶) → 𝐴 ⊆ (𝐶𝑚 𝐵))
1918sselda 3744 . . . . . . . . 9 (((𝜑𝑘𝐶) ∧ 𝑧𝐴) → 𝑧 ∈ (𝐶𝑚 𝐵))
20 elmapfn 8046 . . . . . . . . 9 (𝑧 ∈ (𝐶𝑚 𝐵) → 𝑧 Fn 𝐵)
2119, 20syl 17 . . . . . . . 8 (((𝜑𝑘𝐶) ∧ 𝑧𝐴) → 𝑧 Fn 𝐵)
22 actfunsn.3 . . . . . . . . . 10 (𝜑𝐼𝑉)
23 fnsng 6099 . . . . . . . . . 10 ((𝐼𝑉𝑘𝐶) → {⟨𝐼, 𝑘⟩} Fn {𝐼})
2422, 23sylan 489 . . . . . . . . 9 ((𝜑𝑘𝐶) → {⟨𝐼, 𝑘⟩} Fn {𝐼})
2524adantr 472 . . . . . . . 8 (((𝜑𝑘𝐶) ∧ 𝑧𝐴) → {⟨𝐼, 𝑘⟩} Fn {𝐼})
26 actfunsn.4 . . . . . . . . . . 11 (𝜑 → ¬ 𝐼𝐵)
27 disjsn 4390 . . . . . . . . . . 11 ((𝐵 ∩ {𝐼}) = ∅ ↔ ¬ 𝐼𝐵)
2826, 27sylibr 224 . . . . . . . . . 10 (𝜑 → (𝐵 ∩ {𝐼}) = ∅)
2928adantr 472 . . . . . . . . 9 ((𝜑𝑘𝐶) → (𝐵 ∩ {𝐼}) = ∅)
3029adantr 472 . . . . . . . 8 (((𝜑𝑘𝐶) ∧ 𝑧𝐴) → (𝐵 ∩ {𝐼}) = ∅)
31 fnunres1 29724 . . . . . . . 8 ((𝑧 Fn 𝐵 ∧ {⟨𝐼, 𝑘⟩} Fn {𝐼} ∧ (𝐵 ∩ {𝐼}) = ∅) → ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵) = 𝑧)
3221, 25, 30, 31syl3anc 1477 . . . . . . 7 (((𝜑𝑘𝐶) ∧ 𝑧𝐴) → ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵) = 𝑧)
3332adantr 472 . . . . . 6 ((((𝜑𝑘𝐶) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵) = 𝑧)
3417, 33eqtr2d 2795 . . . . 5 ((((𝜑𝑘𝐶) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑧 = (𝑦𝐵))
3515, 34jca 555 . . . 4 ((((𝜑𝑘𝐶) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → (𝑦 ∈ ran 𝐹𝑧 = (𝑦𝐵)))
3635anasss 682 . . 3 (((𝜑𝑘𝐶) ∧ (𝑧𝐴𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))) → (𝑦 ∈ ran 𝐹𝑧 = (𝑦𝐵)))
37 simpr 479 . . . . . 6 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → 𝑧 = (𝑦𝐵))
38 simpr 479 . . . . . . . . . 10 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
3938reseq1d 5550 . . . . . . . . 9 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → (𝑦𝐵) = ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵))
4018ad3antrrr 768 . . . . . . . . . . . . 13 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝐴 ⊆ (𝐶𝑚 𝐵))
41 simplr 809 . . . . . . . . . . . . 13 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑧𝐴)
4240, 41sseldd 3745 . . . . . . . . . . . 12 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑧 ∈ (𝐶𝑚 𝐵))
4342, 20syl 17 . . . . . . . . . . 11 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑧 Fn 𝐵)
4422ad4antr 771 . . . . . . . . . . . 12 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝐼𝑉)
45 simp-4r 827 . . . . . . . . . . . 12 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → 𝑘𝐶)
4644, 45, 23syl2anc 696 . . . . . . . . . . 11 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → {⟨𝐼, 𝑘⟩} Fn {𝐼})
4728ad4antr 771 . . . . . . . . . . 11 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → (𝐵 ∩ {𝐼}) = ∅)
4843, 46, 47, 31syl3anc 1477 . . . . . . . . . 10 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵) = 𝑧)
4948, 41eqeltrd 2839 . . . . . . . . 9 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → ((𝑧 ∪ {⟨𝐼, 𝑘⟩}) ↾ 𝐵) ∈ 𝐴)
5039, 49eqeltrd 2839 . . . . . . . 8 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → (𝑦𝐵) ∈ 𝐴)
51 simpr 479 . . . . . . . . 9 (((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) → 𝑦 ∈ ran 𝐹)
5251, 13sylib 208 . . . . . . . 8 (((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) → ∃𝑧𝐴 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
5350, 52r19.29a 3216 . . . . . . 7 (((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) → (𝑦𝐵) ∈ 𝐴)
5453adantr 472 . . . . . 6 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → (𝑦𝐵) ∈ 𝐴)
5537, 54eqeltrd 2839 . . . . 5 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → 𝑧𝐴)
5637uneq1d 3909 . . . . . 6 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → (𝑧 ∪ {⟨𝐼, 𝑘⟩}) = ((𝑦𝐵) ∪ {⟨𝐼, 𝑘⟩}))
5739, 48eqtrd 2794 . . . . . . . . . 10 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → (𝑦𝐵) = 𝑧)
5857uneq1d 3909 . . . . . . . . 9 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → ((𝑦𝐵) ∪ {⟨𝐼, 𝑘⟩}) = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
5958, 38eqtr4d 2797 . . . . . . . 8 (((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧𝐴) ∧ 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) → ((𝑦𝐵) ∪ {⟨𝐼, 𝑘⟩}) = 𝑦)
6059, 52r19.29a 3216 . . . . . . 7 (((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) → ((𝑦𝐵) ∪ {⟨𝐼, 𝑘⟩}) = 𝑦)
6160adantr 472 . . . . . 6 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → ((𝑦𝐵) ∪ {⟨𝐼, 𝑘⟩}) = 𝑦)
6256, 61eqtr2d 2795 . . . . 5 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → 𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩}))
6355, 62jca 555 . . . 4 ((((𝜑𝑘𝐶) ∧ 𝑦 ∈ ran 𝐹) ∧ 𝑧 = (𝑦𝐵)) → (𝑧𝐴𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})))
6463anasss 682 . . 3 (((𝜑𝑘𝐶) ∧ (𝑦 ∈ ran 𝐹𝑧 = (𝑦𝐵))) → (𝑧𝐴𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})))
6536, 64impbida 913 . 2 ((𝜑𝑘𝐶) → ((𝑧𝐴𝑦 = (𝑧 ∪ {⟨𝐼, 𝑘⟩})) ↔ (𝑦 ∈ ran 𝐹𝑧 = (𝑦𝐵))))
664, 8, 11, 65f1od 7050 1 ((𝜑𝑘𝐶) → 𝐹:𝐴1-1-onto→ran 𝐹)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 383   = wceq 1632  wcel 2139  wrex 3051  Vcvv 3340  cun 3713  cin 3714  wss 3715  c0 4058  {csn 4321  cop 4327  cmpt 4881  ran crn 5267  cres 5268   Fn wfn 6044  1-1-ontowf1o 6048  (class class class)co 6813  𝑚 cmap 8023
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7114
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-ral 3055  df-rex 3056  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-id 5174  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-ov 6816  df-oprab 6817  df-mpt2 6818  df-1st 7333  df-2nd 7334  df-map 8025
This theorem is referenced by:  breprexplema  31017
  Copyright terms: Public domain W3C validator