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

Theorem smndex2dnrinv 19164
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 2960 . . 3 ((𝐷 ∘ 𝑓) ≠ 0 ↔ ¬ (𝐷 ∘ 𝑓) = 0 )
21ralbii 3112 . 2 (∀𝑓 ∈ 𝐵 (𝐷 ∘ 𝑓) ≠ 0 ↔ ∀𝑓 ∈ 𝐵 ¬ (𝐷 ∘ 𝑓) = 0 )
3 smndex2dbas.m . . . 4 𝑀 = (EndoFMnd‘ℕ0)
4 smndex2dbas.b . . . 4 𝐵 = (Base‘𝑀)
53, 4efmndbasf 19121 . . 3 (𝑓 ∈ 𝐵 → 𝑓:ℕ0⟶ℕ0)
6 1nn0 12662 . . . . . . . . . . 11 1 ∈ ℕ0
7 nn0z 12757 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ ℕ0 → 𝑥 ∈ ℤ)
8 0zd 12745 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ ℕ0 → 0 ∈ ℤ)
9 zneo 12822 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ ℤ ∧ 0 ∈ ℤ) → (2 · 𝑥) ≠ ((2 · 0) + 1))
107, 8, 9syl2anc 596 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ℕ0 → (2 · 𝑥) ≠ ((2 · 0) + 1))
11 2t0e0 12553 . . . . . . . . . . . . . . . . . . 19 (2 · 0) = 0
1211oveq1i 7461 . . . . . . . . . . . . . . . . . 18 ((2 · 0) + 1) = (0 + 1)
13 0p1e1 12503 . . . . . . . . . . . . . . . . . 18 (0 + 1) = 1
1412, 13eqtri 2786 . . . . . . . . . . . . . . . . 17 ((2 · 0) + 1) = 1
1514a1i 11 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ℕ0 → ((2 · 0) + 1) = 1)
1610, 15neeqtrd 3028 . . . . . . . . . . . . . . 15 (𝑥 ∈ ℕ0 → (2 · 𝑥) ≠ 1)
1716necomd 3014 . . . . . . . . . . . . . 14 (𝑥 ∈ ℕ0 → 1 ≠ (2 · 𝑥))
1817neneqd 2964 . . . . . . . . . . . . 13 (𝑥 ∈ ℕ0 → ¬ 1 = (2 · 𝑥))
1918nrex 3094 . . . . . . . . . . . 12 ¬ ∃𝑥 ∈ ℕ0 1 = (2 · 𝑥)
20 1ex 11342 . . . . . . . . . . . . 13 1 ∈ V
21 eqeq1 2767 . . . . . . . . . . . . . 14 (𝑦 = 1 → (𝑦 = (2 · 𝑥) ↔ 1 = (2 · 𝑥)))
2221rexbidv 3190 . . . . . . . . . . . . 13 (𝑦 = 1 → (∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥) ↔ ∃𝑥 ∈ ℕ0 1 = (2 · 𝑥)))
2320, 22elab 3636 . . . . . . . . . . . 12 (1 ∈ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} ↔ ∃𝑥 ∈ ℕ0 1 = (2 · 𝑥))
2419, 23mtbir 326 . . . . . . . . . . 11 ¬ 1 ∈ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}
25 nelss 3979 . . . . . . . . . . 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 3928 . . . . . . . . 9 ({𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} = ℕ0 ↔ ({𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} ⊆ ℕ0 ∧ ℕ0 ⊆ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}))
2927, 28mtbir 326 . . . . . . . 8 ¬ {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)} = ℕ0
30 smndex2dbas.d . . . . . . . . . 10 𝐷 = (𝑥 ∈ ℕ0 ↦ (2 · 𝑥))
3130rnmpt 5951 . . . . . . . . 9 ran 𝐷 = {𝑦 ∣ ∃𝑥 ∈ ℕ0 𝑦 = (2 · 𝑥)}
3231eqeq1i 2768 . . . . . . . 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 6572 . . . . . . 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 19163 . . . . 5 𝐷 ∈ 𝐵
423, 4efmndbasf 19121 . . . . 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 12652 . . . . . . . . . . . 12 ℕ0 ∈ V
473efmndid 19134 . . . . . . . . . . . 12 (ℕ0 ∈ V → ( I ↾ ℕ0) = (0g‘𝑀))
4846, 47ax-mp 5 . . . . . . . . . . 11 ( I ↾ ℕ0) = (0g‘𝑀)
4940, 48eqtr4i 2789 . . . . . . . . . 10 0 = ( I ↾ ℕ0)
5049eqeq2i 2776 . . . . . . . . 9 ((𝐷 ∘ 𝑓) = 0 ↔ (𝐷 ∘ 𝑓) = ( I ↾ ℕ0))
5150bilani 510 . . . . . . . 8 ((𝑓:ℕ0⟶ℕ0 ∧ (𝐷 ∘ 𝑓) = 0 ) → (𝐷 ∘ 𝑓) = ( I ↾ ℕ0))
5251adantl 487 . . . . . . 7 ((𝐷:ℕ0⟶ℕ0 ∧ (𝑓:ℕ0⟶ℕ0 ∧ (𝐷 ∘ 𝑓) = 0 )) → (𝐷 ∘ 𝑓) = ( I ↾ ℕ0))
53 fcofo 7327 . . . . . . 7 ((𝐷:ℕ0⟶ℕ0 ∧ 𝑓:ℕ0⟶ℕ0 ∧ (𝐷 ∘ 𝑓) = ( I ↾ ℕ0)) → 𝐷:ℕ0⟶ontoℕ0)
5443, 45, 52, 53syl3anc 1399 . . . . . 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 3087 1 ∀𝑓 ∈ 𝐵 (𝐷 ∘ 𝑓) ≠ 0
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2147  {cab 2741   ≠ wne 2959  ∀wral 3080  ∃wrex 3090  Vcvv 3454   ⊆ wss 3900   ↦ cmpt 5192   I cid 5552  ran crn 5659   ↾ cres 5660   ∘ ccom 5662   Fn wfn 6561  ⟶wf 6562  ⟶ontowfo 6564  ‘cfv 6566  (class class class)co 7451  0cc0 11239  1c1 11240   + caddc 11242   · cmul 11244  2c2 12437  ℕ0cn0 12646  ℤcz 12733  Basecbs 17431  0gc0g 17660  EndoFMndcefmnd 19114
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-cnex 11295  ax-resscn 11296  ax-1cn 11297  ax-icn 11298  ax-addcl 11299  ax-addrcl 11300  ax-mulcl 11301  ax-mulrcl 11302  ax-mulcom 11303  ax-addass 11304  ax-mulass 11305  ax-distr 11306  ax-i2m1 11307  ax-1ne0 11308  ax-1rid 11309  ax-rnegex 11310  ax-rrecex 11311  ax-cnre 11312  ax-pre-lttri 11313  ax-pre-lttrn 11314  ax-pre-ltadd 11315  ax-pre-mulgt0 11316
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-tp 4593  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-1st 8035  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-1o 8514  df-er 8755  df-map 8887  df-en 9012  df-dom 9013  df-sdom 9014  df-fin 9015  df-pnf 11384  df-mnf 11385  df-xr 11386  df-ltxr 11387  df-le 11388  df-sub 11582  df-neg 11583  df-div 12014  df-nn 12376  df-2 12445  df-3 12446  df-4 12447  df-5 12448  df-6 12449  df-7 12450  df-8 12451  df-9 12452  df-n0 12647  df-z 12734  df-uz 13006  df-fz 13680  df-struct 17369  df-slot 17404  df-ndx 17416  df-base 17432  df-plusg 17486  df-tset 17492  df-0g 17662  df-efmnd 19115
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator