ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  seq3f1olemp GIF version

Theorem seq3f1olemp 10437
Description: Lemma for seq3f1o 10439. Existence of a constant permutation of (𝑀...𝑁) which leads to the same sum as the permutation 𝐹 itself. (Contributed by Jim Kingdon, 18-Aug-2022.)
Hypotheses
Ref Expression
iseqf1o.1 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
iseqf1o.2 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
iseqf1o.3 ((𝜑 ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
iseqf1o.4 (𝜑𝑁 ∈ (ℤ𝑀))
iseqf1o.6 (𝜑𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁))
iseqf1o.7 ((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐺𝑥) ∈ 𝑆)
iseqf1o.l 𝐿 = (𝑥 ∈ (ℤ𝑀) ↦ if(𝑥𝑁, (𝐺‘(𝐹𝑥)), (𝐺𝑀)))
iseqf1o.p 𝑃 = (𝑥 ∈ (ℤ𝑀) ↦ if(𝑥𝑁, (𝐺‘(𝑓𝑥)), (𝐺𝑀)))
Assertion
Ref Expression
seq3f1olemp (𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑁)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
Distinct variable groups:   + ,𝑓,𝑥,𝑦,𝑧   𝑓,𝐹,𝑥,𝑦,𝑧   𝑓,𝐿,𝑥,𝑦,𝑧   𝑓,𝑀,𝑥,𝑦,𝑧   𝑓,𝑁,𝑥,𝑦,𝑧   𝑥,𝑃,𝑦,𝑧   𝑆,𝑓,𝑥,𝑦,𝑧   𝜑,𝑓,𝑥,𝑦,𝑧   𝑓,𝐺,𝑥
Allowed substitution hints:   𝑃(𝑓)   𝐺(𝑦,𝑧)

Proof of Theorem seq3f1olemp
Dummy variables 𝑔 𝑘 𝑤 𝑎 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 iseqf1o.4 . . 3 (𝜑𝑁 ∈ (ℤ𝑀))
2 eluzfz2 9967 . . 3 (𝑁 ∈ (ℤ𝑀) → 𝑁 ∈ (𝑀...𝑁))
31, 2syl 14 . 2 (𝜑𝑁 ∈ (𝑀...𝑁))
4 oveq2 5850 . . . . . . 7 (𝑤 = 𝑀 → (𝑀...𝑤) = (𝑀...𝑀))
54raleqdv 2667 . . . . . 6 (𝑤 = 𝑀 → (∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀...𝑀)(𝑓𝑥) = 𝑥))
653anbi2d 1307 . . . . 5 (𝑤 = 𝑀 → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑀)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
76exbidv 1813 . . . 4 (𝑤 = 𝑀 → (∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑀)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
87imbi2d 229 . . 3 (𝑤 = 𝑀 → ((𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) ↔ (𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑀)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))))
9 oveq2 5850 . . . . . . 7 (𝑤 = 𝑘 → (𝑀...𝑤) = (𝑀...𝑘))
109raleqdv 2667 . . . . . 6 (𝑤 = 𝑘 → (∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥))
11103anbi2d 1307 . . . . 5 (𝑤 = 𝑘 → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
1211exbidv 1813 . . . 4 (𝑤 = 𝑘 → (∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
1312imbi2d 229 . . 3 (𝑤 = 𝑘 → ((𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) ↔ (𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))))
14 oveq2 5850 . . . . . . 7 (𝑤 = (𝑘 + 1) → (𝑀...𝑤) = (𝑀...(𝑘 + 1)))
1514raleqdv 2667 . . . . . 6 (𝑤 = (𝑘 + 1) → (∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀...(𝑘 + 1))(𝑓𝑥) = 𝑥))
16153anbi2d 1307 . . . . 5 (𝑤 = (𝑘 + 1) → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...(𝑘 + 1))(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
1716exbidv 1813 . . . 4 (𝑤 = (𝑘 + 1) → (∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...(𝑘 + 1))(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
1817imbi2d 229 . . 3 (𝑤 = (𝑘 + 1) → ((𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) ↔ (𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...(𝑘 + 1))(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))))
19 oveq2 5850 . . . . . . 7 (𝑤 = 𝑁 → (𝑀...𝑤) = (𝑀...𝑁))
2019raleqdv 2667 . . . . . 6 (𝑤 = 𝑁 → (∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀...𝑁)(𝑓𝑥) = 𝑥))
21203anbi2d 1307 . . . . 5 (𝑤 = 𝑁 → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑁)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
2221exbidv 1813 . . . 4 (𝑤 = 𝑁 → (∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑁)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
2322imbi2d 229 . . 3 (𝑤 = 𝑁 → ((𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) ↔ (𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑁)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))))
24 iseqf1o.1 . . . . 5 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
25 iseqf1o.2 . . . . 5 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
26 iseqf1o.3 . . . . 5 ((𝜑 ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
27 iseqf1o.6 . . . . 5 (𝜑𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁))
28 iseqf1o.7 . . . . 5 ((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐺𝑥) ∈ 𝑆)
29 eluzfz1 9966 . . . . . 6 (𝑁 ∈ (ℤ𝑀) → 𝑀 ∈ (𝑀...𝑁))
301, 29syl 14 . . . . 5 (𝜑𝑀 ∈ (𝑀...𝑁))
31 ral0 3510 . . . . . . 7 𝑥 ∈ ∅ (𝐹𝑥) = 𝑥
32 fzo0 10103 . . . . . . . 8 (𝑀..^𝑀) = ∅
3332raleqi 2665 . . . . . . 7 (∀𝑥 ∈ (𝑀..^𝑀)(𝐹𝑥) = 𝑥 ↔ ∀𝑥 ∈ ∅ (𝐹𝑥) = 𝑥)
3431, 33mpbir 145 . . . . . 6 𝑥 ∈ (𝑀..^𝑀)(𝐹𝑥) = 𝑥
3534a1i 9 . . . . 5 (𝜑 → ∀𝑥 ∈ (𝑀..^𝑀)(𝐹𝑥) = 𝑥)
36 f1of 5432 . . . . . . . . . 10 (𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) → 𝐹:(𝑀...𝑁)⟶(𝑀...𝑁))
3727, 36syl 14 . . . . . . . . 9 (𝜑𝐹:(𝑀...𝑁)⟶(𝑀...𝑁))
38 eluzel2 9471 . . . . . . . . . . 11 (𝑁 ∈ (ℤ𝑀) → 𝑀 ∈ ℤ)
391, 38syl 14 . . . . . . . . . 10 (𝜑𝑀 ∈ ℤ)
40 eluzelz 9475 . . . . . . . . . . 11 (𝑁 ∈ (ℤ𝑀) → 𝑁 ∈ ℤ)
411, 40syl 14 . . . . . . . . . 10 (𝜑𝑁 ∈ ℤ)
4239, 41fzfigd 10366 . . . . . . . . 9 (𝜑 → (𝑀...𝑁) ∈ Fin)
43 fex 5714 . . . . . . . . 9 ((𝐹:(𝑀...𝑁)⟶(𝑀...𝑁) ∧ (𝑀...𝑁) ∈ Fin) → 𝐹 ∈ V)
4437, 42, 43syl2anc 409 . . . . . . . 8 (𝜑𝐹 ∈ V)
45 fveq1 5485 . . . . . . . . . . . . 13 (𝑓 = 𝐹 → (𝑓𝑥) = (𝐹𝑥))
4645fveq2d 5490 . . . . . . . . . . . 12 (𝑓 = 𝐹 → (𝐺‘(𝑓𝑥)) = (𝐺‘(𝐹𝑥)))
4746ifeq1d 3537 . . . . . . . . . . 11 (𝑓 = 𝐹 → if(𝑥𝑁, (𝐺‘(𝑓𝑥)), (𝐺𝑀)) = if(𝑥𝑁, (𝐺‘(𝐹𝑥)), (𝐺𝑀)))
4847mpteq2dv 4073 . . . . . . . . . 10 (𝑓 = 𝐹 → (𝑥 ∈ (ℤ𝑀) ↦ if(𝑥𝑁, (𝐺‘(𝑓𝑥)), (𝐺𝑀))) = (𝑥 ∈ (ℤ𝑀) ↦ if(𝑥𝑁, (𝐺‘(𝐹𝑥)), (𝐺𝑀))))
49 iseqf1o.p . . . . . . . . . 10 𝑃 = (𝑥 ∈ (ℤ𝑀) ↦ if(𝑥𝑁, (𝐺‘(𝑓𝑥)), (𝐺𝑀)))
50 iseqf1o.l . . . . . . . . . 10 𝐿 = (𝑥 ∈ (ℤ𝑀) ↦ if(𝑥𝑁, (𝐺‘(𝐹𝑥)), (𝐺𝑀)))
5148, 49, 503eqtr4g 2224 . . . . . . . . 9 (𝑓 = 𝐹𝑃 = 𝐿)
5251adantl 275 . . . . . . . 8 ((𝜑𝑓 = 𝐹) → 𝑃 = 𝐿)
5344, 52csbied 3091 . . . . . . 7 (𝜑𝐹 / 𝑓𝑃 = 𝐿)
5453seqeq3d 10388 . . . . . 6 (𝜑 → seq𝑀( + , 𝐹 / 𝑓𝑃) = seq𝑀( + , 𝐿))
5554fveq1d 5488 . . . . 5 (𝜑 → (seq𝑀( + , 𝐹 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))
5624, 25, 26, 1, 27, 28, 30, 27, 35, 55, 49seq3f1olemstep 10436 . . . 4 (𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑀)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
5756a1i 9 . . 3 (𝑁 ∈ (ℤ𝑀) → (𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑀)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
58 nfv 1516 . . . . . . . 8 𝑔(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))
59 nfv 1516 . . . . . . . . 9 𝑓 𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)
60 nfv 1516 . . . . . . . . 9 𝑓𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥
61 nfcv 2308 . . . . . . . . . . . 12 𝑓𝑀
62 nfcv 2308 . . . . . . . . . . . 12 𝑓 +
63 nfcsb1v 3078 . . . . . . . . . . . 12 𝑓𝑔 / 𝑓𝑃
6461, 62, 63nfseq 10390 . . . . . . . . . . 11 𝑓seq𝑀( + , 𝑔 / 𝑓𝑃)
65 nfcv 2308 . . . . . . . . . . 11 𝑓𝑁
6664, 65nffv 5496 . . . . . . . . . 10 𝑓(seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁)
6766nfeq1 2318 . . . . . . . . 9 𝑓(seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)
6859, 60, 67nf3an 1554 . . . . . . . 8 𝑓(𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))
69 f1oeq1 5421 . . . . . . . . 9 (𝑓 = 𝑔 → (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ↔ 𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)))
70 fveq1 5485 . . . . . . . . . . 11 (𝑓 = 𝑔 → (𝑓𝑥) = (𝑔𝑥))
7170eqeq1d 2174 . . . . . . . . . 10 (𝑓 = 𝑔 → ((𝑓𝑥) = 𝑥 ↔ (𝑔𝑥) = 𝑥))
7271ralbidv 2466 . . . . . . . . 9 (𝑓 = 𝑔 → (∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥))
73 csbeq1a 3054 . . . . . . . . . . . 12 (𝑓 = 𝑔𝑃 = 𝑔 / 𝑓𝑃)
7473seqeq3d 10388 . . . . . . . . . . 11 (𝑓 = 𝑔 → seq𝑀( + , 𝑃) = seq𝑀( + , 𝑔 / 𝑓𝑃))
7574fveq1d 5488 . . . . . . . . . 10 (𝑓 = 𝑔 → (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁))
7675eqeq1d 2174 . . . . . . . . 9 (𝑓 = 𝑔 → ((seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁) ↔ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
7769, 72, 763anbi123d 1302 . . . . . . . 8 (𝑓 = 𝑔 → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
7858, 68, 77cbvex 1744 . . . . . . 7 (∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ ∃𝑔(𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
79 fveq2 5486 . . . . . . . . . . 11 (𝑥 = 𝑎 → (𝑔𝑥) = (𝑔𝑎))
80 id 19 . . . . . . . . . . 11 (𝑥 = 𝑎𝑥 = 𝑎)
8179, 80eqeq12d 2180 . . . . . . . . . 10 (𝑥 = 𝑎 → ((𝑔𝑥) = 𝑥 ↔ (𝑔𝑎) = 𝑎))
8281cbvralv 2692 . . . . . . . . 9 (∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ↔ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎)
83823anbi2i 1181 . . . . . . . 8 ((𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
8483exbii 1593 . . . . . . 7 (∃𝑔(𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ ∃𝑔(𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
8578, 84bitri 183 . . . . . 6 (∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ ∃𝑔(𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
86 simpll 519 . . . . . . . . . 10 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → 𝜑)
8786, 24sylan 281 . . . . . . . . 9 ((((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
8886, 25sylan 281 . . . . . . . . 9 ((((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
8986, 26sylan 281 . . . . . . . . 9 ((((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
901ad2antrr 480 . . . . . . . . 9 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → 𝑁 ∈ (ℤ𝑀))
9127ad2antrr 480 . . . . . . . . 9 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → 𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁))
9286, 28sylan 281 . . . . . . . . 9 ((((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) ∧ 𝑥 ∈ (ℤ𝑀)) → (𝐺𝑥) ∈ 𝑆)
93 fzofzp1 10162 . . . . . . . . . 10 (𝑘 ∈ (𝑀..^𝑁) → (𝑘 + 1) ∈ (𝑀...𝑁))
9493ad2antlr 481 . . . . . . . . 9 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → (𝑘 + 1) ∈ (𝑀...𝑁))
95 simpr1 993 . . . . . . . . 9 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → 𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁))
96 simpr2 994 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎)
9796, 82sylibr 133 . . . . . . . . . 10 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥)
98 elfzoelz 10082 . . . . . . . . . . . 12 (𝑘 ∈ (𝑀..^𝑁) → 𝑘 ∈ ℤ)
9998ad2antlr 481 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → 𝑘 ∈ ℤ)
100 fzval3 10139 . . . . . . . . . . . 12 (𝑘 ∈ ℤ → (𝑀...𝑘) = (𝑀..^(𝑘 + 1)))
101100raleqdv 2667 . . . . . . . . . . 11 (𝑘 ∈ ℤ → (∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀..^(𝑘 + 1))(𝑔𝑥) = 𝑥))
10299, 101syl 14 . . . . . . . . . 10 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → (∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀..^(𝑘 + 1))(𝑔𝑥) = 𝑥))
10397, 102mpbid 146 . . . . . . . . 9 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → ∀𝑥 ∈ (𝑀..^(𝑘 + 1))(𝑔𝑥) = 𝑥)
104 simpr3 995 . . . . . . . . 9 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))
10587, 88, 89, 90, 91, 92, 94, 95, 103, 104, 49seq3f1olemstep 10436 . . . . . . . 8 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...(𝑘 + 1))(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
106105ex 114 . . . . . . 7 ((𝜑𝑘 ∈ (𝑀..^𝑁)) → ((𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...(𝑘 + 1))(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
107106exlimdv 1807 . . . . . 6 ((𝜑𝑘 ∈ (𝑀..^𝑁)) → (∃𝑔(𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...(𝑘 + 1))(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
10885, 107syl5bi 151 . . . . 5 ((𝜑𝑘 ∈ (𝑀..^𝑁)) → (∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...(𝑘 + 1))(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
109108expcom 115 . . . 4 (𝑘 ∈ (𝑀..^𝑁) → (𝜑 → (∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...(𝑘 + 1))(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))))
110109a2d 26 . . 3 (𝑘 ∈ (𝑀..^𝑁) → ((𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → (𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...(𝑘 + 1))(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))))
1118, 13, 18, 23, 57, 110fzind2 10174 . 2 (𝑁 ∈ (𝑀...𝑁) → (𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑁)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
1123, 111mpcom 36 1 (𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑁)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  w3a 968   = wceq 1343  wex 1480  wcel 2136  wral 2444  Vcvv 2726  csb 3045  c0 3409  ifcif 3520   class class class wbr 3982  cmpt 4043  wf 5184  1-1-ontowf1o 5187  cfv 5188  (class class class)co 5842  Fincfn 6706  1c1 7754   + caddc 7756  cle 7934  cz 9191  cuz 9466  ...cfz 9944  ..^cfzo 10077  seqcseq 10380
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565  ax-cnex 7844  ax-resscn 7845  ax-1cn 7846  ax-1re 7847  ax-icn 7848  ax-addcl 7849  ax-addrcl 7850  ax-mulcl 7851  ax-addcom 7853  ax-addass 7855  ax-distr 7857  ax-i2m1 7858  ax-0lt1 7859  ax-0id 7861  ax-rnegex 7862  ax-cnre 7864  ax-pre-ltirr 7865  ax-pre-ltwlin 7866  ax-pre-lttrn 7867  ax-pre-apti 7868  ax-pre-ltadd 7869
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-nel 2432  df-ral 2449  df-rex 2450  df-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-if 3521  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  df-ilim 4347  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-riota 5798  df-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-recs 6273  df-frec 6359  df-1o 6384  df-er 6501  df-en 6707  df-fin 6709  df-pnf 7935  df-mnf 7936  df-xr 7937  df-ltxr 7938  df-le 7939  df-sub 8071  df-neg 8072  df-inn 8858  df-n0 9115  df-z 9192  df-uz 9467  df-fz 9945  df-fzo 10078  df-seqfrec 10381
This theorem is referenced by:  seq3f1oleml  10438
  Copyright terms: Public domain W3C validator