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

Theorem seq3f1olemp 10410
Description: Lemma for seq3f1o 10412. 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 9940 . . 3 (𝑁 ∈ (ℤ𝑀) → 𝑁 ∈ (𝑀...𝑁))
31, 2syl 14 . 2 (𝜑𝑁 ∈ (𝑀...𝑁))
4 oveq2 5834 . . . . . . 7 (𝑤 = 𝑀 → (𝑀...𝑤) = (𝑀...𝑀))
54raleqdv 2658 . . . . . 6 (𝑤 = 𝑀 → (∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀...𝑀)(𝑓𝑥) = 𝑥))
653anbi2d 1299 . . . . 5 (𝑤 = 𝑀 → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑀)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
76exbidv 1805 . . . 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 5834 . . . . . . 7 (𝑤 = 𝑘 → (𝑀...𝑤) = (𝑀...𝑘))
109raleqdv 2658 . . . . . 6 (𝑤 = 𝑘 → (∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥))
11103anbi2d 1299 . . . . 5 (𝑤 = 𝑘 → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
1211exbidv 1805 . . . 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 5834 . . . . . . 7 (𝑤 = (𝑘 + 1) → (𝑀...𝑤) = (𝑀...(𝑘 + 1)))
1514raleqdv 2658 . . . . . 6 (𝑤 = (𝑘 + 1) → (∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀...(𝑘 + 1))(𝑓𝑥) = 𝑥))
16153anbi2d 1299 . . . . 5 (𝑤 = (𝑘 + 1) → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...(𝑘 + 1))(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
1716exbidv 1805 . . . 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 5834 . . . . . . 7 (𝑤 = 𝑁 → (𝑀...𝑤) = (𝑀...𝑁))
2019raleqdv 2658 . . . . . 6 (𝑤 = 𝑁 → (∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀...𝑁)(𝑓𝑥) = 𝑥))
21203anbi2d 1299 . . . . 5 (𝑤 = 𝑁 → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑤)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑁)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
2221exbidv 1805 . . . 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 9939 . . . . . 6 (𝑁 ∈ (ℤ𝑀) → 𝑀 ∈ (𝑀...𝑁))
301, 29syl 14 . . . . 5 (𝜑𝑀 ∈ (𝑀...𝑁))
31 ral0 3496 . . . . . . 7 𝑥 ∈ ∅ (𝐹𝑥) = 𝑥
32 fzo0 10076 . . . . . . . 8 (𝑀..^𝑀) = ∅
3332raleqi 2656 . . . . . . 7 (∀𝑥 ∈ (𝑀..^𝑀)(𝐹𝑥) = 𝑥 ↔ ∀𝑥 ∈ ∅ (𝐹𝑥) = 𝑥)
3431, 33mpbir 145 . . . . . 6 𝑥 ∈ (𝑀..^𝑀)(𝐹𝑥) = 𝑥
3534a1i 9 . . . . 5 (𝜑 → ∀𝑥 ∈ (𝑀..^𝑀)(𝐹𝑥) = 𝑥)
36 f1of 5416 . . . . . . . . . 10 (𝐹:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) → 𝐹:(𝑀...𝑁)⟶(𝑀...𝑁))
3727, 36syl 14 . . . . . . . . 9 (𝜑𝐹:(𝑀...𝑁)⟶(𝑀...𝑁))
38 eluzel2 9449 . . . . . . . . . . 11 (𝑁 ∈ (ℤ𝑀) → 𝑀 ∈ ℤ)
391, 38syl 14 . . . . . . . . . 10 (𝜑𝑀 ∈ ℤ)
40 eluzelz 9453 . . . . . . . . . . 11 (𝑁 ∈ (ℤ𝑀) → 𝑁 ∈ ℤ)
411, 40syl 14 . . . . . . . . . 10 (𝜑𝑁 ∈ ℤ)
4239, 41fzfigd 10339 . . . . . . . . 9 (𝜑 → (𝑀...𝑁) ∈ Fin)
43 fex 5698 . . . . . . . . 9 ((𝐹:(𝑀...𝑁)⟶(𝑀...𝑁) ∧ (𝑀...𝑁) ∈ Fin) → 𝐹 ∈ V)
4437, 42, 43syl2anc 409 . . . . . . . 8 (𝜑𝐹 ∈ V)
45 fveq1 5469 . . . . . . . . . . . . 13 (𝑓 = 𝐹 → (𝑓𝑥) = (𝐹𝑥))
4645fveq2d 5474 . . . . . . . . . . . 12 (𝑓 = 𝐹 → (𝐺‘(𝑓𝑥)) = (𝐺‘(𝐹𝑥)))
4746ifeq1d 3523 . . . . . . . . . . 11 (𝑓 = 𝐹 → if(𝑥𝑁, (𝐺‘(𝑓𝑥)), (𝐺𝑀)) = if(𝑥𝑁, (𝐺‘(𝐹𝑥)), (𝐺𝑀)))
4847mpteq2dv 4057 . . . . . . . . . 10 (𝑓 = 𝐹 → (𝑥 ∈ (ℤ𝑀) ↦ if(𝑥𝑁, (𝐺‘(𝑓𝑥)), (𝐺𝑀))) = (𝑥 ∈ (ℤ𝑀) ↦ if(𝑥𝑁, (𝐺‘(𝐹𝑥)), (𝐺𝑀))))
49 iseqf1o.p . . . . . . . . . 10 𝑃 = (𝑥 ∈ (ℤ𝑀) ↦ if(𝑥𝑁, (𝐺‘(𝑓𝑥)), (𝐺𝑀)))
50 iseqf1o.l . . . . . . . . . 10 𝐿 = (𝑥 ∈ (ℤ𝑀) ↦ if(𝑥𝑁, (𝐺‘(𝐹𝑥)), (𝐺𝑀)))
5148, 49, 503eqtr4g 2215 . . . . . . . . 9 (𝑓 = 𝐹𝑃 = 𝐿)
5251adantl 275 . . . . . . . 8 ((𝜑𝑓 = 𝐹) → 𝑃 = 𝐿)
5344, 52csbied 3077 . . . . . . 7 (𝜑𝐹 / 𝑓𝑃 = 𝐿)
5453seqeq3d 10361 . . . . . 6 (𝜑 → seq𝑀( + , 𝐹 / 𝑓𝑃) = seq𝑀( + , 𝐿))
5554fveq1d 5472 . . . . 5 (𝜑 → (seq𝑀( + , 𝐹 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))
5624, 25, 26, 1, 27, 28, 30, 27, 35, 55, 49seq3f1olemstep 10409 . . . 4 (𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑀)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
5756a1i 9 . . 3 (𝑁 ∈ (ℤ𝑀) → (𝜑 → ∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑀)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
58 nfv 1508 . . . . . . . 8 𝑔(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))
59 nfv 1508 . . . . . . . . 9 𝑓 𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)
60 nfv 1508 . . . . . . . . 9 𝑓𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥
61 nfcv 2299 . . . . . . . . . . . 12 𝑓𝑀
62 nfcv 2299 . . . . . . . . . . . 12 𝑓 +
63 nfcsb1v 3064 . . . . . . . . . . . 12 𝑓𝑔 / 𝑓𝑃
6461, 62, 63nfseq 10363 . . . . . . . . . . 11 𝑓seq𝑀( + , 𝑔 / 𝑓𝑃)
65 nfcv 2299 . . . . . . . . . . 11 𝑓𝑁
6664, 65nffv 5480 . . . . . . . . . 10 𝑓(seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁)
6766nfeq1 2309 . . . . . . . . 9 𝑓(seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)
6859, 60, 67nf3an 1546 . . . . . . . 8 𝑓(𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))
69 f1oeq1 5405 . . . . . . . . 9 (𝑓 = 𝑔 → (𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ↔ 𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁)))
70 fveq1 5469 . . . . . . . . . . 11 (𝑓 = 𝑔 → (𝑓𝑥) = (𝑔𝑥))
7170eqeq1d 2166 . . . . . . . . . 10 (𝑓 = 𝑔 → ((𝑓𝑥) = 𝑥 ↔ (𝑔𝑥) = 𝑥))
7271ralbidv 2457 . . . . . . . . 9 (𝑓 = 𝑔 → (∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥))
73 csbeq1a 3040 . . . . . . . . . . . 12 (𝑓 = 𝑔𝑃 = 𝑔 / 𝑓𝑃)
7473seqeq3d 10361 . . . . . . . . . . 11 (𝑓 = 𝑔 → seq𝑀( + , 𝑃) = seq𝑀( + , 𝑔 / 𝑓𝑃))
7574fveq1d 5472 . . . . . . . . . 10 (𝑓 = 𝑔 → (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁))
7675eqeq1d 2166 . . . . . . . . 9 (𝑓 = 𝑔 → ((seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁) ↔ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
7769, 72, 763anbi123d 1294 . . . . . . . 8 (𝑓 = 𝑔 → ((𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))))
7858, 68, 77cbvex 1736 . . . . . . 7 (∃𝑓(𝑓:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑓𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ ∃𝑔(𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
79 fveq2 5470 . . . . . . . . . . 11 (𝑥 = 𝑎 → (𝑔𝑥) = (𝑔𝑎))
80 id 19 . . . . . . . . . . 11 (𝑥 = 𝑎𝑥 = 𝑎)
8179, 80eqeq12d 2172 . . . . . . . . . 10 (𝑥 = 𝑎 → ((𝑔𝑥) = 𝑥 ↔ (𝑔𝑎) = 𝑎))
8281cbvralv 2680 . . . . . . . . 9 (∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ↔ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎)
83823anbi2i 1174 . . . . . . . 8 ((𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)) ↔ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁)))
8483exbii 1585 . . . . . . 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 10135 . . . . . . . . . 10 (𝑘 ∈ (𝑀..^𝑁) → (𝑘 + 1) ∈ (𝑀...𝑁))
9493ad2antlr 481 . . . . . . . . 9 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → (𝑘 + 1) ∈ (𝑀...𝑁))
95 simpr1 988 . . . . . . . . 9 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → 𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁))
96 simpr2 989 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎)
9796, 82sylibr 133 . . . . . . . . . 10 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → ∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥)
98 elfzoelz 10055 . . . . . . . . . . . 12 (𝑘 ∈ (𝑀..^𝑁) → 𝑘 ∈ ℤ)
9998ad2antlr 481 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → 𝑘 ∈ ℤ)
100 fzval3 10112 . . . . . . . . . . . 12 (𝑘 ∈ ℤ → (𝑀...𝑘) = (𝑀..^(𝑘 + 1)))
101100raleqdv 2658 . . . . . . . . . . 11 (𝑘 ∈ ℤ → (∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀..^(𝑘 + 1))(𝑔𝑥) = 𝑥))
10299, 101syl 14 . . . . . . . . . 10 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → (∀𝑥 ∈ (𝑀...𝑘)(𝑔𝑥) = 𝑥 ↔ ∀𝑥 ∈ (𝑀..^(𝑘 + 1))(𝑔𝑥) = 𝑥))
10397, 102mpbid 146 . . . . . . . . 9 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → ∀𝑥 ∈ (𝑀..^(𝑘 + 1))(𝑔𝑥) = 𝑥)
104 simpr3 990 . . . . . . . . 9 (((𝜑𝑘 ∈ (𝑀..^𝑁)) ∧ (𝑔:(𝑀...𝑁)–1-1-onto→(𝑀...𝑁) ∧ ∀𝑎 ∈ (𝑀...𝑘)(𝑔𝑎) = 𝑎 ∧ (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))) → (seq𝑀( + , 𝑔 / 𝑓𝑃)‘𝑁) = (seq𝑀( + , 𝐿)‘𝑁))
10587, 88, 89, 90, 91, 92, 94, 95, 103, 104, 49seq3f1olemstep 10409 . . . . . . . 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 1799 . . . . . 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 10147 . 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 963   = wceq 1335  wex 1472  wcel 2128  wral 2435  Vcvv 2712  csb 3031  c0 3395  ifcif 3506   class class class wbr 3967  cmpt 4027  wf 5168  1-1-ontowf1o 5171  cfv 5172  (class class class)co 5826  Fincfn 6687  1c1 7735   + caddc 7737  cle 7915  cz 9172  cuz 9444  ...cfz 9918  ..^cfzo 10050  seqcseq 10353
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 1427  ax-7 1428  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-10 1485  ax-11 1486  ax-i12 1487  ax-bndl 1489  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-13 2130  ax-14 2131  ax-ext 2139  ax-coll 4081  ax-sep 4084  ax-nul 4092  ax-pow 4137  ax-pr 4171  ax-un 4395  ax-setind 4498  ax-iinf 4549  ax-cnex 7825  ax-resscn 7826  ax-1cn 7827  ax-1re 7828  ax-icn 7829  ax-addcl 7830  ax-addrcl 7831  ax-mulcl 7832  ax-addcom 7834  ax-addass 7836  ax-distr 7838  ax-i2m1 7839  ax-0lt1 7840  ax-0id 7842  ax-rnegex 7843  ax-cnre 7845  ax-pre-ltirr 7846  ax-pre-ltwlin 7847  ax-pre-lttrn 7848  ax-pre-apti 7849  ax-pre-ltadd 7850
This theorem depends on definitions:  df-bi 116  df-dc 821  df-3or 964  df-3an 965  df-tru 1338  df-fal 1341  df-nf 1441  df-sb 1743  df-eu 2009  df-mo 2010  df-clab 2144  df-cleq 2150  df-clel 2153  df-nfc 2288  df-ne 2328  df-nel 2423  df-ral 2440  df-rex 2441  df-reu 2442  df-rab 2444  df-v 2714  df-sbc 2938  df-csb 3032  df-dif 3104  df-un 3106  df-in 3108  df-ss 3115  df-nul 3396  df-if 3507  df-pw 3546  df-sn 3567  df-pr 3568  df-op 3570  df-uni 3775  df-int 3810  df-iun 3853  df-br 3968  df-opab 4028  df-mpt 4029  df-tr 4065  df-id 4255  df-iord 4328  df-on 4330  df-ilim 4331  df-suc 4333  df-iom 4552  df-xp 4594  df-rel 4595  df-cnv 4596  df-co 4597  df-dm 4598  df-rn 4599  df-res 4600  df-ima 4601  df-iota 5137  df-fun 5174  df-fn 5175  df-f 5176  df-f1 5177  df-fo 5178  df-f1o 5179  df-fv 5180  df-riota 5782  df-ov 5829  df-oprab 5830  df-mpo 5831  df-1st 6090  df-2nd 6091  df-recs 6254  df-frec 6340  df-1o 6365  df-er 6482  df-en 6688  df-fin 6690  df-pnf 7916  df-mnf 7917  df-xr 7918  df-ltxr 7919  df-le 7920  df-sub 8052  df-neg 8053  df-inn 8839  df-n0 9096  df-z 9173  df-uz 9445  df-fz 9919  df-fzo 10051  df-seqfrec 10354
This theorem is referenced by:  seq3f1oleml  10411
  Copyright terms: Public domain W3C validator