MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  smndex2dnrinv Structured version   Visualization version   GIF version

Theorem smndex2dnrinv 18860
Description: The doubling function 𝐷 has no right inverse in the monoid of endofunctions on 0. (Contributed by AV, 18-Feb-2024.)
Hypotheses
Ref Expression
smndex2dbas.m 𝑀 = (EndoFMnd‘ℕ0)
smndex2dbas.b 𝐵 = (Base‘𝑀)
smndex2dbas.0 0 = (0g𝑀)
smndex2dbas.d 𝐷 = (𝑥 ∈ ℕ0 ↦ (2 · 𝑥))
Assertion
Ref Expression
smndex2dnrinv 𝑓𝐵 (𝐷𝑓) ≠ 0

Proof of Theorem smndex2dnrinv
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 df-ne 2937 . . 3 ((𝐷𝑓) ≠ 0 ↔ ¬ (𝐷𝑓) = 0 )
21ralbii 3089 . 2 (∀𝑓𝐵 (𝐷𝑓) ≠ 0 ↔ ∀𝑓𝐵 ¬ (𝐷𝑓) = 0 )
3 smndex2dbas.m . . . 4 𝑀 = (EndoFMnd‘ℕ0)
4 smndex2dbas.b . . . 4 𝐵 = (Base‘𝑀)
53, 4efmndbasf 18820 . . 3 (𝑓𝐵𝑓:ℕ0⟶ℕ0)
6 1nn0 12512 . . . . . . . . . . 11 1 ∈ ℕ0
7 nn0z 12607 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ ℕ0𝑥 ∈ ℤ)
8 0zd 12594 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ ℕ0 → 0 ∈ ℤ)
9 zneo 12669 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ ℤ ∧ 0 ∈ ℤ) → (2 · 𝑥) ≠ ((2 · 0) + 1))
107, 8, 9syl2anc 583 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ℕ0 → (2 · 𝑥) ≠ ((2 · 0) + 1))
11 2t0e0 12405 . . . . . . . . . . . . . . . . . . 19 (2 · 0) = 0
1211oveq1i 7424 . . . . . . . . . . . . . . . . . 18 ((2 · 0) + 1) = (0 + 1)
13 0p1e1 12358 . . . . . . . . . . . . . . . . . 18 (0 + 1) = 1
1412, 13eqtri 2756 . . . . . . . . . . . . . . . . 17 ((2 · 0) + 1) = 1
1514a1i 11 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ℕ0 → ((2 · 0) + 1) = 1)
1610, 15neeqtrd 3006 . . . . . . . . . . . . . . 15 (𝑥 ∈ ℕ0 → (2 · 𝑥) ≠ 1)
1716necomd 2992 . . . . . . . . . . . . . 14 (𝑥 ∈ ℕ0 → 1 ≠ (2 · 𝑥))
1817neneqd 2941 . . . . . . . . . . . . 13 (𝑥 ∈ ℕ0 → ¬ 1 = (2 · 𝑥))
1918nrex 3070 . . . . . . . . . . . 12 ¬ ∃𝑥 ∈ ℕ0 1 = (2 · 𝑥)
20 1ex 11234 . . . . . . . . . . . . 13 1 ∈ V
21 eqeq1 2732 . . . . . . . . . . . . . 14 (𝑦 = 1 → (𝑦 = (2 · 𝑥) ↔ 1 = (2 · 𝑥)))
2221rexbidv 3174 . . . . . . . . . . . . 13 (𝑦 = 1 → (∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥) ↔ ∃𝑥 ∈ ℕ0 1 = (2 · 𝑥)))
2320, 22elab 3666 . . . . . . . . . . . 12 (1 ∈ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} ↔ ∃𝑥 ∈ ℕ0 1 = (2 · 𝑥))
2419, 23mtbir 323 . . . . . . . . . . 11 ¬ 1 ∈ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}
25 nelss 4043 . . . . . . . . . . 11 ((1 ∈ ℕ0 ∧ ¬ 1 ∈ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}) → ¬ ℕ0 ⊆ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)})
266, 24, 25mp2an 691 . . . . . . . . . 10 ¬ ℕ0 ⊆ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}
2726intnan 486 . . . . . . . . 9 ¬ ({𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} ⊆ ℕ0 ∧ ℕ0 ⊆ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)})
28 eqss 3993 . . . . . . . . 9 ({𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} = ℕ0 ↔ ({𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} ⊆ ℕ0 ∧ ℕ0 ⊆ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}))
2927, 28mtbir 323 . . . . . . . 8 ¬ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} = ℕ0
30 smndex2dbas.d . . . . . . . . . 10 𝐷 = (𝑥 ∈ ℕ0 ↦ (2 · 𝑥))
3130rnmpt 5951 . . . . . . . . 9 ran 𝐷 = {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}
3231eqeq1i 2733 . . . . . . . 8 (ran 𝐷 = ℕ0 ↔ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} = ℕ0)
3329, 32mtbir 323 . . . . . . 7 ¬ ran 𝐷 = ℕ0
3433olci 865 . . . . . 6 𝐷 Fn ℕ0 ∨ ¬ ran 𝐷 = ℕ0)
35 ianor 980 . . . . . . 7 (¬ (𝐷 Fn ℕ0 ∧ ran 𝐷 = ℕ0) ↔ (¬ 𝐷 Fn ℕ0 ∨ ¬ ran 𝐷 = ℕ0))
36 df-fo 6548 . . . . . . 7 (𝐷:ℕ0onto→ℕ0 ↔ (𝐷 Fn ℕ0 ∧ ran 𝐷 = ℕ0))
3735, 36xchnxbir 333 . . . . . 6 𝐷:ℕ0onto→ℕ0 ↔ (¬ 𝐷 Fn ℕ0 ∨ ¬ ran 𝐷 = ℕ0))
3834, 37mpbir 230 . . . . 5 ¬ 𝐷:ℕ0onto→ℕ0
3938a1i 11 . . . 4 (𝑓:ℕ0⟶ℕ0 → ¬ 𝐷:ℕ0onto→ℕ0)
40 smndex2dbas.0 . . . . . 6 0 = (0g𝑀)
413, 4, 40, 30smndex2dbas 18859 . . . . 5 𝐷𝐵
423, 4efmndbasf 18820 . . . . 5 (𝐷𝐵𝐷:ℕ0⟶ℕ0)
43 simpl 482 . . . . . . 7 ((𝐷:ℕ0⟶ℕ0 ∧ (𝑓:ℕ0⟶ℕ0 ∧ (𝐷𝑓) = 0 )) → 𝐷:ℕ0⟶ℕ0)
44 simpl 482 . . . . . . . 8 ((𝑓:ℕ0⟶ℕ0 ∧ (𝐷𝑓) = 0 ) → 𝑓:ℕ0⟶ℕ0)
4544adantl 481 . . . . . . 7 ((𝐷:ℕ0⟶ℕ0 ∧ (𝑓:ℕ0⟶ℕ0 ∧ (𝐷𝑓) = 0 )) → 𝑓:ℕ0⟶ℕ0)
46 nn0ex 12502 . . . . . . . . . . . . 13 0 ∈ V
473efmndid 18833 . . . . . . . . . . . . 13 (ℕ0 ∈ V → ( I ↾ ℕ0) = (0g𝑀))
4846, 47ax-mp 5 . . . . . . . . . . . 12 ( I ↾ ℕ0) = (0g𝑀)
4940, 48eqtr4i 2759 . . . . . . . . . . 11 0 = ( I ↾ ℕ0)
5049eqeq2i 2741 . . . . . . . . . 10 ((𝐷𝑓) = 0 ↔ (𝐷𝑓) = ( I ↾ ℕ0))
5150biimpi 215 . . . . . . . . 9 ((𝐷𝑓) = 0 → (𝐷𝑓) = ( I ↾ ℕ0))
5251adantl 481 . . . . . . . 8 ((𝑓:ℕ0⟶ℕ0 ∧ (𝐷𝑓) = 0 ) → (𝐷𝑓) = ( I ↾ ℕ0))
5352adantl 481 . . . . . . 7 ((𝐷:ℕ0⟶ℕ0 ∧ (𝑓:ℕ0⟶ℕ0 ∧ (𝐷𝑓) = 0 )) → (𝐷𝑓) = ( I ↾ ℕ0))
54 fcofo 7291 . . . . . . 7 ((𝐷:ℕ0⟶ℕ0𝑓:ℕ0⟶ℕ0 ∧ (𝐷𝑓) = ( I ↾ ℕ0)) → 𝐷:ℕ0onto→ℕ0)
5543, 45, 53, 54syl3anc 1369 . . . . . 6 ((𝐷:ℕ0⟶ℕ0 ∧ (𝑓:ℕ0⟶ℕ0 ∧ (𝐷𝑓) = 0 )) → 𝐷:ℕ0onto→ℕ0)
5655ex 412 . . . . 5 (𝐷:ℕ0⟶ℕ0 → ((𝑓:ℕ0⟶ℕ0 ∧ (𝐷𝑓) = 0 ) → 𝐷:ℕ0onto→ℕ0))
5741, 42, 56mp2b 10 . . . 4 ((𝑓:ℕ0⟶ℕ0 ∧ (𝐷𝑓) = 0 ) → 𝐷:ℕ0onto→ℕ0)
5839, 57mtand 815 . . 3 (𝑓:ℕ0⟶ℕ0 → ¬ (𝐷𝑓) = 0 )
595, 58syl 17 . 2 (𝑓𝐵 → ¬ (𝐷𝑓) = 0 )
602, 59mprgbir 3064 1 𝑓𝐵 (𝐷𝑓) ≠ 0
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wo 846   = wceq 1534  wcel 2099  {cab 2705  wne 2936  wral 3057  wrex 3066  Vcvv 3470  wss 3945  cmpt 5225   I cid 5569  ran crn 5673  cres 5674  ccom 5676   Fn wfn 6537  wf 6538  ontowfo 6540  cfv 6542  (class class class)co 7414  0cc0 11132  1c1 11133   + caddc 11135   · cmul 11137  2c2 12291  0cn0 12496  cz 12582  Basecbs 17173  0gc0g 17414  EndoFMndcefmnd 18813
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-10 2130  ax-11 2147  ax-12 2167  ax-ext 2699  ax-rep 5279  ax-sep 5293  ax-nul 5300  ax-pow 5359  ax-pr 5423  ax-un 7734  ax-cnex 11188  ax-resscn 11189  ax-1cn 11190  ax-icn 11191  ax-addcl 11192  ax-addrcl 11193  ax-mulcl 11194  ax-mulrcl 11195  ax-mulcom 11196  ax-addass 11197  ax-mulass 11198  ax-distr 11199  ax-i2m1 11200  ax-1ne0 11201  ax-1rid 11202  ax-rnegex 11203  ax-rrecex 11204  ax-cnre 11205  ax-pre-lttri 11206  ax-pre-lttrn 11207  ax-pre-ltadd 11208  ax-pre-mulgt0 11209
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 847  df-3or 1086  df-3an 1087  df-tru 1537  df-fal 1547  df-ex 1775  df-nf 1779  df-sb 2061  df-mo 2530  df-eu 2559  df-clab 2706  df-cleq 2720  df-clel 2806  df-nfc 2881  df-ne 2937  df-nel 3043  df-ral 3058  df-rex 3067  df-rmo 3372  df-reu 3373  df-rab 3429  df-v 3472  df-sbc 3776  df-csb 3891  df-dif 3948  df-un 3950  df-in 3952  df-ss 3962  df-pss 3964  df-nul 4319  df-if 4525  df-pw 4600  df-sn 4625  df-pr 4627  df-tp 4629  df-op 4631  df-uni 4904  df-iun 4993  df-br 5143  df-opab 5205  df-mpt 5226  df-tr 5260  df-id 5570  df-eprel 5576  df-po 5584  df-so 5585  df-fr 5627  df-we 5629  df-xp 5678  df-rel 5679  df-cnv 5680  df-co 5681  df-dm 5682  df-rn 5683  df-res 5684  df-ima 5685  df-pred 6299  df-ord 6366  df-on 6367  df-lim 6368  df-suc 6369  df-iota 6494  df-fun 6544  df-fn 6545  df-f 6546  df-f1 6547  df-fo 6548  df-f1o 6549  df-fv 6550  df-riota 7370  df-ov 7417  df-oprab 7418  df-mpo 7419  df-om 7865  df-1st 7987  df-2nd 7988  df-frecs 8280  df-wrecs 8311  df-recs 8385  df-rdg 8424  df-1o 8480  df-er 8718  df-map 8840  df-en 8958  df-dom 8959  df-sdom 8960  df-fin 8961  df-pnf 11274  df-mnf 11275  df-xr 11276  df-ltxr 11277  df-le 11278  df-sub 11470  df-neg 11471  df-div 11896  df-nn 12237  df-2 12299  df-3 12300  df-4 12301  df-5 12302  df-6 12303  df-7 12304  df-8 12305  df-9 12306  df-n0 12497  df-z 12583  df-uz 12847  df-fz 13511  df-struct 17109  df-slot 17144  df-ndx 17156  df-base 17174  df-plusg 17239  df-tset 17245  df-0g 17416  df-efmnd 18814
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator