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

Theorem smndex2dnrinv 19120
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 2956 . . 3 ((𝐷 ∘ 𝑓) ≠ 0 ↔ ¬ (𝐷 ∘ 𝑓) = 0 )
21ralbii 3108 . 2 (∀𝑓 ∈ 𝐵 (𝐷 ∘ 𝑓) ≠ 0 ↔ ∀𝑓 ∈ 𝐵 ¬ (𝐷 ∘ 𝑓) = 0 )
3 smndex2dbas.m . . . 4 𝑀 = (EndoFMnd‘ℕ0)
4 smndex2dbas.b . . . 4 𝐵 = (Base‘𝑀)
53, 4efmndbasf 19077 . . 3 (𝑓 ∈ 𝐵 → 𝑓:ℕ0⟶ℕ0)
6 1nn0 12626 . . . . . . . . . . 11 1 ∈ ℕ0
7 nn0z 12721 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ ℕ0 → 𝑥 ∈ ℤ)
8 0zd 12709 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ ℕ0 → 0 ∈ ℤ)
9 zneo 12786 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ ℤ ∧ 0 ∈ ℤ) → (2 · 𝑥) ≠ ((2 · 0) + 1))
107, 8, 9syl2anc 596 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ℕ0 → (2 · 𝑥) ≠ ((2 · 0) + 1))
11 2t0e0 12517 . . . . . . . . . . . . . . . . . . 19 (2 · 0) = 0
1211oveq1i 7431 . . . . . . . . . . . . . . . . . 18 ((2 · 0) + 1) = (0 + 1)
13 0p1e1 12467 . . . . . . . . . . . . . . . . . 18 (0 + 1) = 1
1412, 13eqtri 2783 . . . . . . . . . . . . . . . . 17 ((2 · 0) + 1) = 1
1514a1i 11 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ℕ0 → ((2 · 0) + 1) = 1)
1610, 15neeqtrd 3024 . . . . . . . . . . . . . . 15 (𝑥 ∈ ℕ0 → (2 · 𝑥) ≠ 1)
1716necomd 3010 . . . . . . . . . . . . . 14 (𝑥 ∈ ℕ0 → 1 ≠ (2 · 𝑥))
1817neneqd 2960 . . . . . . . . . . . . 13 (𝑥 ∈ ℕ0 → ¬ 1 = (2 · 𝑥))
1918nrex 3090 . . . . . . . . . . . 12 ¬ ∃𝑥 ∈ ℕ0 1 = (2 · 𝑥)
20 1ex 11307 . . . . . . . . . . . . 13 1 ∈ V
21 eqeq1 2764 . . . . . . . . . . . . . 14 (𝑦 = 1 → (𝑦 = (2 · 𝑥) ↔ 1 = (2 · 𝑥)))
2221rexbidv 3186 . . . . . . . . . . . . 13 (𝑦 = 1 → (∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥) ↔ ∃𝑥 ∈ ℕ0 1 = (2 · 𝑥)))
2320, 22elab 3632 . . . . . . . . . . . 12 (1 ∈ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} ↔ ∃𝑥 ∈ ℕ0 1 = (2 · 𝑥))
2419, 23mtbir 326 . . . . . . . . . . 11 ¬ 1 ∈ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}
25 nelss 3974 . . . . . . . . . . 11 ((1 ∈ ℕ0 ∧ ¬ 1 ∈ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}) → ¬ ℕ0 ⊆ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)})
266, 24, 25mp2an 705 . . . . . . . . . 10 ¬ ℕ0 ⊆ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}
2726intnan 492 . . . . . . . . 9 ¬ ({𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} ⊆ ℕ0 ∧ ℕ0 ⊆ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)})
28 eqss 3923 . . . . . . . . 9 ({𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} = ℕ0 ↔ ({𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} ⊆ ℕ0 ∧ ℕ0 ⊆ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}))
2927, 28mtbir 326 . . . . . . . 8 ¬ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} = ℕ0
30 smndex2dbas.d . . . . . . . . . 10 𝐷 = (𝑥 ∈ ℕ0 ↦ (2 · 𝑥))
3130rnmpt 5938 . . . . . . . . 9 ran 𝐷 = {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}
3231eqeq1i 2765 . . . . . . . 8 (ran 𝐷 = ℕ0 ↔ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} = ℕ0)
3329, 32mtbir 326 . . . . . . 7 ¬ ran 𝐷 = ℕ0
3433olci 880 . . . . . 6 (¬ 𝐷 Fn ℕ0 ∨ ¬ ran 𝐷 = ℕ0)
35 ianor 997 . . . . . . 7 (¬ (𝐷 Fn ℕ0 ∧ ran 𝐷 = ℕ0) ↔ (¬ 𝐷 Fn ℕ0 ∨ ¬ ran 𝐷 = ℕ0))
36 df-fo 6545 . . . . . . 7 (𝐷:ℕ0–onto→ℕ0 ↔ (𝐷 Fn ℕ0 ∧ ran 𝐷 = ℕ0))
3735, 36xchnxbir 336 . . . . . 6 (¬ 𝐷:ℕ0–onto→ℕ0 ↔ (¬ 𝐷 Fn ℕ0 ∨ ¬ ran 𝐷 = ℕ0))
3834, 37mpbir 234 . . . . 5 ¬ 𝐷:ℕ0–onto→ℕ0
3938a1i 11 . . . 4 (𝑓:ℕ0⟶ℕ0 → ¬ 𝐷:ℕ0–onto→ℕ0)
40 smndex2dbas.0 . . . . . 6 0 = (0g‘𝑀)
413, 4, 40, 30smndex2dbas 19119 . . . . 5 𝐷 ∈ 𝐵
423, 4efmndbasf 19077 . . . . 5 (𝐷 ∈ 𝐵 → 𝐷:ℕ0⟶ℕ0)
43 simpl 488 . . . . . . 7 ((𝐷:ℕ0⟶ℕ0 ∧ (𝑓:ℕ0⟶ℕ0 ∧ (𝐷 ∘ 𝑓) = 0 )) → 𝐷:ℕ0⟶ℕ0)
44 simpl 488 . . . . . . . 8 ((𝑓:ℕ0⟶ℕ0 ∧ (𝐷 ∘ 𝑓) = 0 ) → 𝑓:ℕ0⟶ℕ0)
4544adantl 487 . . . . . . 7 ((𝐷:ℕ0⟶ℕ0 ∧ (𝑓:ℕ0⟶ℕ0 ∧ (𝐷 ∘ 𝑓) = 0 )) → 𝑓:ℕ0⟶ℕ0)
46 nn0ex 12616 . . . . . . . . . . . 12 ℕ0 ∈ V
473efmndid 19090 . . . . . . . . . . . 12 (ℕ0 ∈ V → ( I ↾ ℕ0) = (0g‘𝑀))
4846, 47ax-mp 5 . . . . . . . . . . 11 ( I ↾ ℕ0) = (0g‘𝑀)
4940, 48eqtr4i 2786 . . . . . . . . . 10 0 = ( I ↾ ℕ0)
5049eqeq2i 2773 . . . . . . . . 9 ((𝐷 ∘ 𝑓) = 0 ↔ (𝐷 ∘ 𝑓) = ( I ↾ ℕ0))
5150bilani 510 . . . . . . . 8 ((𝑓:ℕ0⟶ℕ0 ∧ (𝐷 ∘ 𝑓) = 0 ) → (𝐷 ∘ 𝑓) = ( I ↾ ℕ0))
5251adantl 487 . . . . . . 7 ((𝐷:ℕ0⟶ℕ0 ∧ (𝑓:ℕ0⟶ℕ0 ∧ (𝐷 ∘ 𝑓) = 0 )) → (𝐷 ∘ 𝑓) = ( I ↾ ℕ0))
53 fcofo 7297 . . . . . . 7 ((𝐷:ℕ0⟶ℕ0 ∧ 𝑓:ℕ0⟶ℕ0 ∧ (𝐷 ∘ 𝑓) = ( I ↾ ℕ0)) → 𝐷:ℕ0–onto→ℕ0)
5443, 45, 52, 53syl3anc 1398 . . . . . 6 ((𝐷:ℕ0⟶ℕ0 ∧ (𝑓:ℕ0⟶ℕ0 ∧ (𝐷 ∘ 𝑓) = 0 )) → 𝐷:ℕ0–onto→ℕ0)
5554ex 418 . . . . 5 (𝐷:ℕ0⟶ℕ0 → ((𝑓:ℕ0⟶ℕ0 ∧ (𝐷 ∘ 𝑓) = 0 ) → 𝐷:ℕ0–onto→ℕ0))
5641, 42, 55mp2b 10 . . . 4 ((𝑓:ℕ0⟶ℕ0 ∧ (𝐷 ∘ 𝑓) = 0 ) → 𝐷:ℕ0–onto→ℕ0)
5739, 56mtand 828 . . 3 (𝑓:ℕ0⟶ℕ0 → ¬ (𝐷 ∘ 𝑓) = 0 )
585, 57syl 18 . 2 (𝑓 ∈ 𝐵 → ¬ (𝐷 ∘ 𝑓) = 0 )
592, 58mprgbir 3083 1 ∀𝑓 ∈ 𝐵 (𝐷 ∘ 𝑓) ≠ 0
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2144  {cab 2738   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  Vcvv 3450   ⊆ wss 3895   ↦ cmpt 5185   I cid 5544  ran crn 5651   ↾ cres 5652   ∘ ccom 5654   Fn wfn 6534  ⟶wf 6535  –onto→wfo 6537  ‘cfv 6539  (class class class)co 7421  0cc0 11204  1c1 11205   + caddc 11207   · cmul 11209  2c2 12401  ℕ0cn0 12610  ℤcz 12697  Basecbs 17393  0gc0g 17616  EndoFMndcefmnd 19070
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7752  ax-cnex 11260  ax-resscn 11261  ax-1cn 11262  ax-icn 11263  ax-addcl 11264  ax-addrcl 11265  ax-mulcl 11266  ax-mulrcl 11267  ax-mulcom 11268  ax-addass 11269  ax-mulass 11270  ax-distr 11271  ax-i2m1 11272  ax-1ne0 11273  ax-1rid 11274  ax-rnegex 11275  ax-rrecex 11276  ax-cnre 11277  ax-pre-lttri 11278  ax-pre-lttrn 11279  ax-pre-ltadd 11280  ax-pre-mulgt0 11281
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-riota 7378  df-ov 7424  df-oprab 7425  df-mpo 7426  df-om 7879  df-1st 8002  df-2nd 8003  df-frecs 8303  df-wrecs 8334  df-recs 8383  df-rdg 8422  df-1o 8480  df-er 8721  df-map 8853  df-en 8978  df-dom 8979  df-sdom 8980  df-fin 8981  df-pnf 11349  df-mnf 11350  df-xr 11351  df-ltxr 11352  df-le 11353  df-sub 11547  df-neg 11548  df-div 11978  df-nn 12340  df-2 12409  df-3 12410  df-4 12411  df-5 12412  df-6 12413  df-7 12414  df-8 12415  df-9 12416  df-n0 12611  df-z 12698  df-uz 12970  df-fz 13644  df-struct 17331  df-slot 17366  df-ndx 17378  df-base 17394  df-plusg 17447  df-tset 17453  df-0g 17618  df-efmnd 19071
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator