| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > relexp1g | Structured version Visualization version GIF version | ||
| Description: A relation composed once is itself. (Contributed by RP, 22-May-2020.) |
| Ref | Expression |
|---|---|
| relexp1g | ⊢ (𝑅 ∈ 𝑉 → (𝑅↑𝑟1) = 𝑅) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-relexp 15019 | . . 3 ⊢ ↑𝑟 = (𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛))) | |
| 2 | 1 | a1i 11 | . 2 ⊢ (𝑅 ∈ 𝑉 → ↑𝑟 = (𝑟 ∈ V, 𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)))) |
| 3 | simprr 780 | . . . . . 6 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → 𝑛 = 1) | |
| 4 | ax-1ne0 11128 | . . . . . . 7 ⊢ 1 ≠ 0 | |
| 5 | neeq1 3009 | . . . . . . 7 ⊢ (𝑛 = 1 → (𝑛 ≠ 0 ↔ 1 ≠ 0)) | |
| 6 | 4, 5 | mpbiri 260 | . . . . . 6 ⊢ (𝑛 = 1 → 𝑛 ≠ 0) |
| 7 | 3, 6 | syl 17 | . . . . 5 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → 𝑛 ≠ 0) |
| 8 | 7 | neneqd 2952 | . . . 4 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → ¬ 𝑛 = 0) |
| 9 | 8 | iffalsed 4481 | . . 3 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)) = (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)) |
| 10 | simprl 778 | . . . . . 6 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → 𝑟 = 𝑅) | |
| 11 | 10 | mpteq2dv 5184 | . . . . 5 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → (𝑧 ∈ V ↦ 𝑟) = (𝑧 ∈ V ↦ 𝑅)) |
| 12 | 11 | seqeq3d 14008 | . . . 4 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟)) = seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑅))) |
| 13 | 12, 3 | fveq12d 6859 | . . 3 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛) = (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑅))‘1)) |
| 14 | 1z 12587 | . . . 4 ⊢ 1 ∈ ℤ | |
| 15 | eqidd 2753 | . . . . 5 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → (𝑧 ∈ V ↦ 𝑅) = (𝑧 ∈ V ↦ 𝑅)) | |
| 16 | eqidd 2753 | . . . . 5 ⊢ (((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) ∧ 𝑧 = 1) → 𝑅 = 𝑅) | |
| 17 | 1ex 11162 | . . . . . 6 ⊢ 1 ∈ V | |
| 18 | 17 | a1i 11 | . . . . 5 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → 1 ∈ V) |
| 19 | simpl 485 | . . . . 5 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → 𝑅 ∈ 𝑉) | |
| 20 | 15, 16, 18, 19 | fvmptd 6968 | . . . 4 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → ((𝑧 ∈ V ↦ 𝑅)‘1) = 𝑅) |
| 21 | 14, 20 | seq1i 14014 | . . 3 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑅))‘1) = 𝑅) |
| 22 | 9, 13, 21 | 3eqtrd 2791 | . 2 ⊢ ((𝑅 ∈ 𝑉 ∧ (𝑟 = 𝑅 ∧ 𝑛 = 1)) → if(𝑛 = 0, ( I ↾ (dom 𝑟 ∪ ran 𝑟)), (seq1((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ∘ 𝑟)), (𝑧 ∈ V ↦ 𝑟))‘𝑛)) = 𝑅) |
| 23 | elex 3465 | . 2 ⊢ (𝑅 ∈ 𝑉 → 𝑅 ∈ V) | |
| 24 | 1nn0 12483 | . . 3 ⊢ 1 ∈ ℕ0 | |
| 25 | 24 | a1i 11 | . 2 ⊢ (𝑅 ∈ 𝑉 → 1 ∈ ℕ0) |
| 26 | 2, 22, 23, 25, 23 | ovmpod 7533 | 1 ⊢ (𝑅 ∈ 𝑉 → (𝑅↑𝑟1) = 𝑅) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 398 = wceq 1550 ∈ wcel 2132 ≠ wne 2947 Vcvv 3444 ∪ cun 3893 ifcif 4470 ↦ cmpt 5171 I cid 5530 dom cdm 5636 ran crn 5637 ↾ cres 5638 ∘ ccom 5640 ‘cfv 6506 (class class class)co 7381 ∈ cmpo 7383 0cc0 11059 1c1 11060 ℕ0cn0 12467 seqcseq 14000 ↑𝑟crelexp 15018 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1805 ax-4 1819 ax-5 1920 ax-6 1977 ax-7 2018 ax-8 2134 ax-9 2142 ax-10 2165 ax-11 2181 ax-12 2202 ax-ext 2724 ax-sep 5236 ax-nul 5246 ax-pow 5312 ax-pr 5380 ax-un 7703 ax-cnex 11115 ax-resscn 11116 ax-1cn 11117 ax-icn 11118 ax-addcl 11119 ax-addrcl 11120 ax-mulcl 11121 ax-mulrcl 11122 ax-mulcom 11123 ax-addass 11124 ax-mulass 11125 ax-distr 11126 ax-i2m1 11127 ax-1ne0 11128 ax-1rid 11129 ax-rnegex 11130 ax-rrecex 11131 ax-cnre 11132 ax-pre-lttri 11133 ax-pre-lttrn 11134 ax-pre-ltadd 11135 ax-pre-mulgt0 11136 |
| This theorem depends on definitions: df-bi 209 df-an 399 df-or 857 df-3or 1096 df-3an 1097 df-tru 1553 df-fal 1563 df-ex 1790 df-nf 1794 df-sb 2081 df-mo 2556 df-eu 2586 df-clab 2731 df-cleq 2744 df-clel 2827 df-nfc 2901 df-ne 2948 df-nel 3052 df-ral 3067 df-rex 3077 df-reu 3358 df-rab 3405 df-v 3446 df-sbc 3736 df-csb 3844 df-dif 3898 df-un 3900 df-in 3902 df-ss 3912 df-pss 3915 df-nul 4277 df-if 4471 df-pw 4547 df-sn 4573 df-pr 4575 df-op 4579 df-uni 4856 df-iun 4941 df-br 5091 df-opab 5153 df-mpt 5172 df-tr 5198 df-id 5531 df-eprel 5536 df-po 5544 df-so 5545 df-fr 5589 df-we 5591 df-xp 5642 df-rel 5643 df-cnv 5644 df-co 5645 df-dm 5646 df-rn 5647 df-res 5648 df-ima 5649 df-pred 6273 df-ord 6334 df-on 6335 df-lim 6336 df-suc 6337 df-iota 6462 df-fun 6508 df-fn 6509 df-f 6510 df-f1 6511 df-fo 6512 df-f1o 6513 df-fv 6514 df-riota 7338 df-ov 7384 df-oprab 7385 df-mpo 7386 df-om 7832 df-2nd 7956 df-frecs 8246 df-wrecs 8277 df-recs 8326 df-rdg 8365 df-er 8662 df-en 8913 df-dom 8914 df-sdom 8915 df-pnf 11204 df-mnf 11205 df-xr 11206 df-ltxr 11207 df-le 11208 df-sub 11402 df-neg 11403 df-nn 12197 df-n0 12468 df-z 12555 df-uz 12826 df-seq 14001 df-relexp 15019 |
| This theorem is referenced by: dfid5 15026 dfid6 15027 relexp1d 15028 relexpsucnnl 15029 relexpsucl 15030 relexpsucr 15031 relexpcnv 15034 relexprelg 15037 relexpnndm 15040 relexpfld 15048 relexpaddnn 15050 relexpaddg 15052 dfrcl3 44189 relexp2 44191 iunrelexp0 44216 relexpxpnnidm 44217 corclrcl 44221 iunrelexpmin1 44222 trclrelexplem 44225 iunrelexpmin2 44226 relexp01min 44227 relexp0a 44230 relexpaddss 44232 dftrcl3 44234 cotrcltrcl 44239 trclimalb2 44240 trclfvdecomr 44242 dfrtrcl3 44247 corcltrcl 44253 cotrclrcl 44256 |
| Copyright terms: Public domain | W3C validator |