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

Theorem elntg2 26770
 Description: The line definition in the Tarski structure for the Euclidean geometry. In contrast to elntg 26769, the betweenness can be strengthened by excluding 1 resp. 0 from the related intervals (because of 𝑥 ≠ 𝑦). (Contributed by AV, 14-Feb-2023.)
Hypotheses
Ref Expression
elntg2.1 𝑃 = (Base‘(EEG‘𝑁))
elntg2.2 𝐼 = (1...𝑁)
Assertion
Ref Expression
elntg2 (𝑁 ∈ ℕ → (LineG‘(EEG‘𝑁)) = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑝𝑃 ∣ (∃𝑘 ∈ (0[,]1)∀𝑖𝐼 (𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖))) ∨ ∃𝑙 ∈ (0[,)1)∀𝑖𝐼 (𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ∨ ∃𝑚 ∈ (0(,]1)∀𝑖𝐼 (𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))))}))
Distinct variable groups:   𝑖,𝐼   𝑖,𝑁,𝑘,𝑙,𝑚,𝑝,𝑥,𝑦   𝑃,𝑖,𝑝
Allowed substitution hints:   𝑃(𝑥,𝑦,𝑘,𝑚,𝑙)   𝐼(𝑥,𝑦,𝑘,𝑚,𝑝,𝑙)

Proof of Theorem elntg2
StepHypRef Expression
1 elntg2.1 . . 3 𝑃 = (Base‘(EEG‘𝑁))
2 eqid 2821 . . 3 (Itv‘(EEG‘𝑁)) = (Itv‘(EEG‘𝑁))
31, 2elntg 26769 . 2 (𝑁 ∈ ℕ → (LineG‘(EEG‘𝑁)) = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑝𝑃 ∣ (𝑝 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑦) ∨ 𝑥 ∈ (𝑝(Itv‘(EEG‘𝑁))𝑦) ∨ 𝑦 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑝))}))
4 simpl1 1187 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → 𝑁 ∈ ℕ)
5 simpl2 1188 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → 𝑥𝑃)
6 eldifi 4102 . . . . . . . . 9 (𝑦 ∈ (𝑃 ∖ {𝑥}) → 𝑦𝑃)
763ad2ant3 1131 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) → 𝑦𝑃)
87adantr 483 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → 𝑦𝑃)
9 simpr 487 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → 𝑝𝑃)
104, 1, 2, 5, 8, 9ebtwntg 26767 . . . . . 6 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (𝑝 Btwn ⟨𝑥, 𝑦⟩ ↔ 𝑝 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑦)))
11 eengbas 26766 . . . . . . . . . . . 12 (𝑁 ∈ ℕ → (𝔼‘𝑁) = (Base‘(EEG‘𝑁)))
1211, 1syl6reqr 2875 . . . . . . . . . . 11 (𝑁 ∈ ℕ → 𝑃 = (𝔼‘𝑁))
13123ad2ant1 1129 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) → 𝑃 = (𝔼‘𝑁))
1413eleq2d 2898 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) → (𝑝𝑃𝑝 ∈ (𝔼‘𝑁)))
1514biimpa 479 . . . . . . . 8 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → 𝑝 ∈ (𝔼‘𝑁))
1612eleq2d 2898 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (𝑥𝑃𝑥 ∈ (𝔼‘𝑁)))
1716biimpa 479 . . . . . . . . . 10 ((𝑁 ∈ ℕ ∧ 𝑥𝑃) → 𝑥 ∈ (𝔼‘𝑁))
18173adant3 1128 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) → 𝑥 ∈ (𝔼‘𝑁))
1918adantr 483 . . . . . . . 8 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → 𝑥 ∈ (𝔼‘𝑁))
2012eleq2d 2898 . . . . . . . . . . . . 13 (𝑁 ∈ ℕ → (𝑦𝑃𝑦 ∈ (𝔼‘𝑁)))
2120biimpcd 251 . . . . . . . . . . . 12 (𝑦𝑃 → (𝑁 ∈ ℕ → 𝑦 ∈ (𝔼‘𝑁)))
2221, 6syl11 33 . . . . . . . . . . 11 (𝑁 ∈ ℕ → (𝑦 ∈ (𝑃 ∖ {𝑥}) → 𝑦 ∈ (𝔼‘𝑁)))
2322a1d 25 . . . . . . . . . 10 (𝑁 ∈ ℕ → (𝑥𝑃 → (𝑦 ∈ (𝑃 ∖ {𝑥}) → 𝑦 ∈ (𝔼‘𝑁))))
24233imp 1107 . . . . . . . . 9 ((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) → 𝑦 ∈ (𝔼‘𝑁))
2524adantr 483 . . . . . . . 8 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → 𝑦 ∈ (𝔼‘𝑁))
26 brbtwn 26684 . . . . . . . 8 ((𝑝 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁) ∧ 𝑦 ∈ (𝔼‘𝑁)) → (𝑝 Btwn ⟨𝑥, 𝑦⟩ ↔ ∃𝑘 ∈ (0[,]1)∀𝑖 ∈ (1...𝑁)(𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖)))))
2715, 19, 25, 26syl3anc 1367 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (𝑝 Btwn ⟨𝑥, 𝑦⟩ ↔ ∃𝑘 ∈ (0[,]1)∀𝑖 ∈ (1...𝑁)(𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖)))))
28 elntg2.2 . . . . . . . . 9 𝐼 = (1...𝑁)
2928raleqi 3413 . . . . . . . 8 (∀𝑖𝐼 (𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖))) ↔ ∀𝑖 ∈ (1...𝑁)(𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖))))
3029rexbii 3247 . . . . . . 7 (∃𝑘 ∈ (0[,]1)∀𝑖𝐼 (𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖))) ↔ ∃𝑘 ∈ (0[,]1)∀𝑖 ∈ (1...𝑁)(𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖))))
3127, 30syl6bbr 291 . . . . . 6 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (𝑝 Btwn ⟨𝑥, 𝑦⟩ ↔ ∃𝑘 ∈ (0[,]1)∀𝑖𝐼 (𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖)))))
3210, 31bitr3d 283 . . . . 5 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (𝑝 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑦) ↔ ∃𝑘 ∈ (0[,]1)∀𝑖𝐼 (𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖)))))
334, 1, 2, 9, 8, 5ebtwntg 26767 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (𝑥 Btwn ⟨𝑝, 𝑦⟩ ↔ 𝑥 ∈ (𝑝(Itv‘(EEG‘𝑁))𝑦)))
34 brbtwn 26684 . . . . . . . 8 ((𝑥 ∈ (𝔼‘𝑁) ∧ 𝑝 ∈ (𝔼‘𝑁) ∧ 𝑦 ∈ (𝔼‘𝑁)) → (𝑥 Btwn ⟨𝑝, 𝑦⟩ ↔ ∃𝑙 ∈ (0[,]1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖)))))
3519, 15, 25, 34syl3anc 1367 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (𝑥 Btwn ⟨𝑝, 𝑦⟩ ↔ ∃𝑙 ∈ (0[,]1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖)))))
3633, 35bitr3d 283 . . . . . 6 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (𝑥 ∈ (𝑝(Itv‘(EEG‘𝑁))𝑦) ↔ ∃𝑙 ∈ (0[,]1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖)))))
37 0xr 10687 . . . . . . . . . 10 0 ∈ ℝ*
38 1xr 10699 . . . . . . . . . 10 1 ∈ ℝ*
39 0le1 11162 . . . . . . . . . 10 0 ≤ 1
40 snunico 12864 . . . . . . . . . 10 ((0 ∈ ℝ* ∧ 1 ∈ ℝ* ∧ 0 ≤ 1) → ((0[,)1) ∪ {1}) = (0[,]1))
4137, 38, 39, 40mp3an 1457 . . . . . . . . 9 ((0[,)1) ∪ {1}) = (0[,]1)
4241eqcomi 2830 . . . . . . . 8 (0[,]1) = ((0[,)1) ∪ {1})
4342a1i 11 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (0[,]1) = ((0[,)1) ∪ {1}))
4443rexeqdv 3416 . . . . . 6 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (∃𝑙 ∈ (0[,]1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ↔ ∃𝑙 ∈ ((0[,)1) ∪ {1})∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖)))))
45 rexun 4165 . . . . . . 7 (∃𝑙 ∈ ((0[,)1) ∪ {1})∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ↔ (∃𝑙 ∈ (0[,)1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ∨ ∃𝑙 ∈ {1}∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖)))))
46 eldifsn 4718 . . . . . . . . . . . . . 14 (𝑦 ∈ (𝑃 ∖ {𝑥}) ↔ (𝑦𝑃𝑦𝑥))
47 elee 26679 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑁 ∈ ℕ → (𝑥 ∈ (𝔼‘𝑁) ↔ 𝑥:(1...𝑁)⟶ℝ))
48 ffn 6513 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑥:(1...𝑁)⟶ℝ → 𝑥 Fn (1...𝑁))
4947, 48syl6bi 255 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑁 ∈ ℕ → (𝑥 ∈ (𝔼‘𝑁) → 𝑥 Fn (1...𝑁)))
5016, 49sylbid 242 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑁 ∈ ℕ → (𝑥𝑃𝑥 Fn (1...𝑁)))
5150a1i 11 . . . . . . . . . . . . . . . . . . . . . 22 (𝑦𝑃 → (𝑁 ∈ ℕ → (𝑥𝑃𝑥 Fn (1...𝑁))))
52513imp 1107 . . . . . . . . . . . . . . . . . . . . 21 ((𝑦𝑃𝑁 ∈ ℕ ∧ 𝑥𝑃) → 𝑥 Fn (1...𝑁))
53 elee 26679 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑁 ∈ ℕ → (𝑦 ∈ (𝔼‘𝑁) ↔ 𝑦:(1...𝑁)⟶ℝ))
54 ffn 6513 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑦:(1...𝑁)⟶ℝ → 𝑦 Fn (1...𝑁))
5553, 54syl6bi 255 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑁 ∈ ℕ → (𝑦 ∈ (𝔼‘𝑁) → 𝑦 Fn (1...𝑁)))
5620, 55sylbid 242 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑁 ∈ ℕ → (𝑦𝑃𝑦 Fn (1...𝑁)))
5756a1i 11 . . . . . . . . . . . . . . . . . . . . . 22 (𝑥𝑃 → (𝑁 ∈ ℕ → (𝑦𝑃𝑦 Fn (1...𝑁))))
58573imp31 1108 . . . . . . . . . . . . . . . . . . . . 21 ((𝑦𝑃𝑁 ∈ ℕ ∧ 𝑥𝑃) → 𝑦 Fn (1...𝑁))
59 eqfnfv 6801 . . . . . . . . . . . . . . . . . . . . 21 ((𝑥 Fn (1...𝑁) ∧ 𝑦 Fn (1...𝑁)) → (𝑥 = 𝑦 ↔ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖)))
6052, 58, 59syl2anc 586 . . . . . . . . . . . . . . . . . . . 20 ((𝑦𝑃𝑁 ∈ ℕ ∧ 𝑥𝑃) → (𝑥 = 𝑦 ↔ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖)))
6160biimprd 250 . . . . . . . . . . . . . . . . . . 19 ((𝑦𝑃𝑁 ∈ ℕ ∧ 𝑥𝑃) → (∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖) → 𝑥 = 𝑦))
62 eqcom 2828 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑥𝑥 = 𝑦)
6361, 62syl6ibr 254 . . . . . . . . . . . . . . . . . 18 ((𝑦𝑃𝑁 ∈ ℕ ∧ 𝑥𝑃) → (∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖) → 𝑦 = 𝑥))
6463necon3ad 3029 . . . . . . . . . . . . . . . . 17 ((𝑦𝑃𝑁 ∈ ℕ ∧ 𝑥𝑃) → (𝑦𝑥 → ¬ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖)))
65643exp 1115 . . . . . . . . . . . . . . . 16 (𝑦𝑃 → (𝑁 ∈ ℕ → (𝑥𝑃 → (𝑦𝑥 → ¬ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖)))))
6665com24 95 . . . . . . . . . . . . . . 15 (𝑦𝑃 → (𝑦𝑥 → (𝑥𝑃 → (𝑁 ∈ ℕ → ¬ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖)))))
6766imp 409 . . . . . . . . . . . . . 14 ((𝑦𝑃𝑦𝑥) → (𝑥𝑃 → (𝑁 ∈ ℕ → ¬ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖))))
6846, 67sylbi 219 . . . . . . . . . . . . 13 (𝑦 ∈ (𝑃 ∖ {𝑥}) → (𝑥𝑃 → (𝑁 ∈ ℕ → ¬ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖))))
69683imp31 1108 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) → ¬ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖))
7069adantr 483 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → ¬ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖))
7112eleq2d 2898 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ → (𝑝𝑃𝑝 ∈ (𝔼‘𝑁)))
72 elee 26679 . . . . . . . . . . . . . . . . . . . . . 22 (𝑁 ∈ ℕ → (𝑝 ∈ (𝔼‘𝑁) ↔ 𝑝:(1...𝑁)⟶ℝ))
7372biimpd 231 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ → (𝑝 ∈ (𝔼‘𝑁) → 𝑝:(1...𝑁)⟶ℝ))
7471, 73sylbid 242 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ ℕ → (𝑝𝑃𝑝:(1...𝑁)⟶ℝ))
75743ad2ant1 1129 . . . . . . . . . . . . . . . . . . 19 ((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) → (𝑝𝑃𝑝:(1...𝑁)⟶ℝ))
7675imp 409 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → 𝑝:(1...𝑁)⟶ℝ)
7776ffvelrnda 6850 . . . . . . . . . . . . . . . . 17 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → (𝑝𝑖) ∈ ℝ)
7877recnd 10668 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → (𝑝𝑖) ∈ ℂ)
7978mul02d 10837 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → (0 · (𝑝𝑖)) = 0)
8021, 53mpbidi 243 . . . . . . . . . . . . . . . . . . . . . 22 (𝑦𝑃 → (𝑁 ∈ ℕ → 𝑦:(1...𝑁)⟶ℝ))
8180, 6syl11 33 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ → (𝑦 ∈ (𝑃 ∖ {𝑥}) → 𝑦:(1...𝑁)⟶ℝ))
8281a1d 25 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ ℕ → (𝑥𝑃 → (𝑦 ∈ (𝑃 ∖ {𝑥}) → 𝑦:(1...𝑁)⟶ℝ)))
83823imp 1107 . . . . . . . . . . . . . . . . . . 19 ((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) → 𝑦:(1...𝑁)⟶ℝ)
8483adantr 483 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → 𝑦:(1...𝑁)⟶ℝ)
8584ffvelrnda 6850 . . . . . . . . . . . . . . . . 17 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → (𝑦𝑖) ∈ ℝ)
8685recnd 10668 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → (𝑦𝑖) ∈ ℂ)
8786mulid2d 10658 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → (1 · (𝑦𝑖)) = (𝑦𝑖))
8879, 87oveq12d 7173 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → ((0 · (𝑝𝑖)) + (1 · (𝑦𝑖))) = (0 + (𝑦𝑖)))
8986addid2d 10840 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → (0 + (𝑦𝑖)) = (𝑦𝑖))
9088, 89eqtrd 2856 . . . . . . . . . . . . 13 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → ((0 · (𝑝𝑖)) + (1 · (𝑦𝑖))) = (𝑦𝑖))
9190eqeq2d 2832 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → ((𝑥𝑖) = ((0 · (𝑝𝑖)) + (1 · (𝑦𝑖))) ↔ (𝑥𝑖) = (𝑦𝑖)))
9291ralbidva 3196 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = ((0 · (𝑝𝑖)) + (1 · (𝑦𝑖))) ↔ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖)))
9370, 92mtbird 327 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → ¬ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = ((0 · (𝑝𝑖)) + (1 · (𝑦𝑖))))
94 1re 10640 . . . . . . . . . . 11 1 ∈ ℝ
95 oveq2 7163 . . . . . . . . . . . . . . . . 17 (𝑙 = 1 → (1 − 𝑙) = (1 − 1))
9695oveq1d 7170 . . . . . . . . . . . . . . . 16 (𝑙 = 1 → ((1 − 𝑙) · (𝑝𝑖)) = ((1 − 1) · (𝑝𝑖)))
97 1m1e0 11708 . . . . . . . . . . . . . . . . 17 (1 − 1) = 0
9897oveq1i 7165 . . . . . . . . . . . . . . . 16 ((1 − 1) · (𝑝𝑖)) = (0 · (𝑝𝑖))
9996, 98syl6eq 2872 . . . . . . . . . . . . . . 15 (𝑙 = 1 → ((1 − 𝑙) · (𝑝𝑖)) = (0 · (𝑝𝑖)))
100 oveq1 7162 . . . . . . . . . . . . . . 15 (𝑙 = 1 → (𝑙 · (𝑦𝑖)) = (1 · (𝑦𝑖)))
10199, 100oveq12d 7173 . . . . . . . . . . . . . 14 (𝑙 = 1 → (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) = ((0 · (𝑝𝑖)) + (1 · (𝑦𝑖))))
102101eqeq2d 2832 . . . . . . . . . . . . 13 (𝑙 = 1 → ((𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ↔ (𝑥𝑖) = ((0 · (𝑝𝑖)) + (1 · (𝑦𝑖)))))
103102ralbidv 3197 . . . . . . . . . . . 12 (𝑙 = 1 → (∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ↔ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = ((0 · (𝑝𝑖)) + (1 · (𝑦𝑖)))))
104103rexsng 4613 . . . . . . . . . . 11 (1 ∈ ℝ → (∃𝑙 ∈ {1}∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ↔ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = ((0 · (𝑝𝑖)) + (1 · (𝑦𝑖)))))
10594, 104ax-mp 5 . . . . . . . . . 10 (∃𝑙 ∈ {1}∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ↔ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = ((0 · (𝑝𝑖)) + (1 · (𝑦𝑖))))
10693, 105sylnibr 331 . . . . . . . . 9 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → ¬ ∃𝑙 ∈ {1}∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))))
10728raleqi 3413 . . . . . . . . . . 11 (∀𝑖𝐼 (𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ↔ ∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))))
108107rexbii 3247 . . . . . . . . . 10 (∃𝑙 ∈ (0[,)1)∀𝑖𝐼 (𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ↔ ∃𝑙 ∈ (0[,)1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))))
109 biorf 933 . . . . . . . . . 10 (¬ ∃𝑙 ∈ {1}∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) → (∃𝑙 ∈ (0[,)1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ↔ (∃𝑙 ∈ {1}∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ∨ ∃𝑙 ∈ (0[,)1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))))))
110108, 109syl5bb 285 . . . . . . . . 9 (¬ ∃𝑙 ∈ {1}∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) → (∃𝑙 ∈ (0[,)1)∀𝑖𝐼 (𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ↔ (∃𝑙 ∈ {1}∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ∨ ∃𝑙 ∈ (0[,)1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))))))
111106, 110syl 17 . . . . . . . 8 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (∃𝑙 ∈ (0[,)1)∀𝑖𝐼 (𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ↔ (∃𝑙 ∈ {1}∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ∨ ∃𝑙 ∈ (0[,)1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))))))
112 orcom 866 . . . . . . . 8 ((∃𝑙 ∈ {1}∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ∨ ∃𝑙 ∈ (0[,)1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖)))) ↔ (∃𝑙 ∈ (0[,)1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ∨ ∃𝑙 ∈ {1}∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖)))))
113111, 112syl6rbb 290 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → ((∃𝑙 ∈ (0[,)1)∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ∨ ∃𝑙 ∈ {1}∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖)))) ↔ ∃𝑙 ∈ (0[,)1)∀𝑖𝐼 (𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖)))))
11445, 113syl5bb 285 . . . . . 6 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (∃𝑙 ∈ ((0[,)1) ∪ {1})∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ↔ ∃𝑙 ∈ (0[,)1)∀𝑖𝐼 (𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖)))))
11536, 44, 1143bitrd 307 . . . . 5 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (𝑥 ∈ (𝑝(Itv‘(EEG‘𝑁))𝑦) ↔ ∃𝑙 ∈ (0[,)1)∀𝑖𝐼 (𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖)))))
1164, 1, 2, 5, 9, 8ebtwntg 26767 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (𝑦 Btwn ⟨𝑥, 𝑝⟩ ↔ 𝑦 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑝)))
117 brbtwn 26684 . . . . . . . 8 ((𝑦 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁) ∧ 𝑝 ∈ (𝔼‘𝑁)) → (𝑦 Btwn ⟨𝑥, 𝑝⟩ ↔ ∃𝑚 ∈ (0[,]1)∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖)))))
11825, 19, 15, 117syl3anc 1367 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (𝑦 Btwn ⟨𝑥, 𝑝⟩ ↔ ∃𝑚 ∈ (0[,]1)∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖)))))
119116, 118bitr3d 283 . . . . . 6 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (𝑦 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑝) ↔ ∃𝑚 ∈ (0[,]1)∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖)))))
120 snunioc 12865 . . . . . . . . . 10 ((0 ∈ ℝ* ∧ 1 ∈ ℝ* ∧ 0 ≤ 1) → ({0} ∪ (0(,]1)) = (0[,]1))
12137, 38, 39, 120mp3an 1457 . . . . . . . . 9 ({0} ∪ (0(,]1)) = (0[,]1)
122121eqcomi 2830 . . . . . . . 8 (0[,]1) = ({0} ∪ (0(,]1))
123122a1i 11 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (0[,]1) = ({0} ∪ (0(,]1)))
124123rexeqdv 3416 . . . . . 6 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (∃𝑚 ∈ (0[,]1)∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ↔ ∃𝑚 ∈ ({0} ∪ (0(,]1))∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖)))))
125 eqcom 2828 . . . . . . . . . . . 12 ((𝑥𝑖) = (𝑦𝑖) ↔ (𝑦𝑖) = (𝑥𝑖))
126125ralbii 3165 . . . . . . . . . . 11 (∀𝑖 ∈ (1...𝑁)(𝑥𝑖) = (𝑦𝑖) ↔ ∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (𝑥𝑖))
12770, 126sylnib 330 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → ¬ ∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (𝑥𝑖))
12816biimpd 231 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ → (𝑥𝑃𝑥 ∈ (𝔼‘𝑁)))
129128, 47sylibd 241 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ ℕ → (𝑥𝑃𝑥:(1...𝑁)⟶ℝ))
130129imp 409 . . . . . . . . . . . . . . . . . . 19 ((𝑁 ∈ ℕ ∧ 𝑥𝑃) → 𝑥:(1...𝑁)⟶ℝ)
1311303adant3 1128 . . . . . . . . . . . . . . . . . 18 ((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) → 𝑥:(1...𝑁)⟶ℝ)
132131adantr 483 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → 𝑥:(1...𝑁)⟶ℝ)
133132ffvelrnda 6850 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → (𝑥𝑖) ∈ ℝ)
134133recnd 10668 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → (𝑥𝑖) ∈ ℂ)
135134mulid2d 10658 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → (1 · (𝑥𝑖)) = (𝑥𝑖))
136135, 79oveq12d 7173 . . . . . . . . . . . . 13 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → ((1 · (𝑥𝑖)) + (0 · (𝑝𝑖))) = ((𝑥𝑖) + 0))
137134addid1d 10839 . . . . . . . . . . . . 13 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → ((𝑥𝑖) + 0) = (𝑥𝑖))
138136, 137eqtrd 2856 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → ((1 · (𝑥𝑖)) + (0 · (𝑝𝑖))) = (𝑥𝑖))
139138eqeq2d 2832 . . . . . . . . . . 11 ((((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) ∧ 𝑖 ∈ (1...𝑁)) → ((𝑦𝑖) = ((1 · (𝑥𝑖)) + (0 · (𝑝𝑖))) ↔ (𝑦𝑖) = (𝑥𝑖)))
140139ralbidva 3196 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = ((1 · (𝑥𝑖)) + (0 · (𝑝𝑖))) ↔ ∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (𝑥𝑖)))
141127, 140mtbird 327 . . . . . . . . 9 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → ¬ ∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = ((1 · (𝑥𝑖)) + (0 · (𝑝𝑖))))
142 0re 10642 . . . . . . . . . 10 0 ∈ ℝ
143 oveq2 7163 . . . . . . . . . . . . . . . 16 (𝑚 = 0 → (1 − 𝑚) = (1 − 0))
144143oveq1d 7170 . . . . . . . . . . . . . . 15 (𝑚 = 0 → ((1 − 𝑚) · (𝑥𝑖)) = ((1 − 0) · (𝑥𝑖)))
145 1m0e1 11757 . . . . . . . . . . . . . . . 16 (1 − 0) = 1
146145oveq1i 7165 . . . . . . . . . . . . . . 15 ((1 − 0) · (𝑥𝑖)) = (1 · (𝑥𝑖))
147144, 146syl6eq 2872 . . . . . . . . . . . . . 14 (𝑚 = 0 → ((1 − 𝑚) · (𝑥𝑖)) = (1 · (𝑥𝑖)))
148 oveq1 7162 . . . . . . . . . . . . . 14 (𝑚 = 0 → (𝑚 · (𝑝𝑖)) = (0 · (𝑝𝑖)))
149147, 148oveq12d 7173 . . . . . . . . . . . . 13 (𝑚 = 0 → (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) = ((1 · (𝑥𝑖)) + (0 · (𝑝𝑖))))
150149eqeq2d 2832 . . . . . . . . . . . 12 (𝑚 = 0 → ((𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ↔ (𝑦𝑖) = ((1 · (𝑥𝑖)) + (0 · (𝑝𝑖)))))
151150ralbidv 3197 . . . . . . . . . . 11 (𝑚 = 0 → (∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ↔ ∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = ((1 · (𝑥𝑖)) + (0 · (𝑝𝑖)))))
152151rexsng 4613 . . . . . . . . . 10 (0 ∈ ℝ → (∃𝑚 ∈ {0}∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ↔ ∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = ((1 · (𝑥𝑖)) + (0 · (𝑝𝑖)))))
153142, 152ax-mp 5 . . . . . . . . 9 (∃𝑚 ∈ {0}∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ↔ ∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = ((1 · (𝑥𝑖)) + (0 · (𝑝𝑖))))
154141, 153sylnibr 331 . . . . . . . 8 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → ¬ ∃𝑚 ∈ {0}∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))))
15528raleqi 3413 . . . . . . . . . 10 (∀𝑖𝐼 (𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ↔ ∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))))
156155rexbii 3247 . . . . . . . . 9 (∃𝑚 ∈ (0(,]1)∀𝑖𝐼 (𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ↔ ∃𝑚 ∈ (0(,]1)∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))))
157 biorf 933 . . . . . . . . 9 (¬ ∃𝑚 ∈ {0}∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) → (∃𝑚 ∈ (0(,]1)∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ↔ (∃𝑚 ∈ {0}∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ∨ ∃𝑚 ∈ (0(,]1)∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))))))
158156, 157syl5bb 285 . . . . . . . 8 (¬ ∃𝑚 ∈ {0}∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) → (∃𝑚 ∈ (0(,]1)∀𝑖𝐼 (𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ↔ (∃𝑚 ∈ {0}∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ∨ ∃𝑚 ∈ (0(,]1)∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))))))
159154, 158syl 17 . . . . . . 7 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (∃𝑚 ∈ (0(,]1)∀𝑖𝐼 (𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ↔ (∃𝑚 ∈ {0}∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ∨ ∃𝑚 ∈ (0(,]1)∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))))))
160 rexun 4165 . . . . . . 7 (∃𝑚 ∈ ({0} ∪ (0(,]1))∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ↔ (∃𝑚 ∈ {0}∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ∨ ∃𝑚 ∈ (0(,]1)∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖)))))
161159, 160syl6rbbr 292 . . . . . 6 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (∃𝑚 ∈ ({0} ∪ (0(,]1))∀𝑖 ∈ (1...𝑁)(𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))) ↔ ∃𝑚 ∈ (0(,]1)∀𝑖𝐼 (𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖)))))
162119, 124, 1613bitrd 307 . . . . 5 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → (𝑦 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑝) ↔ ∃𝑚 ∈ (0(,]1)∀𝑖𝐼 (𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖)))))
16332, 115, 1623orbi123d 1431 . . . 4 (((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) ∧ 𝑝𝑃) → ((𝑝 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑦) ∨ 𝑥 ∈ (𝑝(Itv‘(EEG‘𝑁))𝑦) ∨ 𝑦 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑝)) ↔ (∃𝑘 ∈ (0[,]1)∀𝑖𝐼 (𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖))) ∨ ∃𝑙 ∈ (0[,)1)∀𝑖𝐼 (𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ∨ ∃𝑚 ∈ (0(,]1)∀𝑖𝐼 (𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))))))
164163rabbidva 3478 . . 3 ((𝑁 ∈ ℕ ∧ 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥})) → {𝑝𝑃 ∣ (𝑝 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑦) ∨ 𝑥 ∈ (𝑝(Itv‘(EEG‘𝑁))𝑦) ∨ 𝑦 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑝))} = {𝑝𝑃 ∣ (∃𝑘 ∈ (0[,]1)∀𝑖𝐼 (𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖))) ∨ ∃𝑙 ∈ (0[,)1)∀𝑖𝐼 (𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ∨ ∃𝑚 ∈ (0(,]1)∀𝑖𝐼 (𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))))})
165164mpoeq3dva 7230 . 2 (𝑁 ∈ ℕ → (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑝𝑃 ∣ (𝑝 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑦) ∨ 𝑥 ∈ (𝑝(Itv‘(EEG‘𝑁))𝑦) ∨ 𝑦 ∈ (𝑥(Itv‘(EEG‘𝑁))𝑝))}) = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑝𝑃 ∣ (∃𝑘 ∈ (0[,]1)∀𝑖𝐼 (𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖))) ∨ ∃𝑙 ∈ (0[,)1)∀𝑖𝐼 (𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ∨ ∃𝑚 ∈ (0(,]1)∀𝑖𝐼 (𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))))}))
1663, 165eqtrd 2856 1 (𝑁 ∈ ℕ → (LineG‘(EEG‘𝑁)) = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑝𝑃 ∣ (∃𝑘 ∈ (0[,]1)∀𝑖𝐼 (𝑝𝑖) = (((1 − 𝑘) · (𝑥𝑖)) + (𝑘 · (𝑦𝑖))) ∨ ∃𝑙 ∈ (0[,)1)∀𝑖𝐼 (𝑥𝑖) = (((1 − 𝑙) · (𝑝𝑖)) + (𝑙 · (𝑦𝑖))) ∨ ∃𝑚 ∈ (0(,]1)∀𝑖𝐼 (𝑦𝑖) = (((1 − 𝑚) · (𝑥𝑖)) + (𝑚 · (𝑝𝑖))))}))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 208   ∧ wa 398   ∨ wo 843   ∨ w3o 1082   ∧ w3a 1083   = wceq 1533   ∈ wcel 2110   ≠ wne 3016  ∀wral 3138  ∃wrex 3139  {crab 3142   ∖ cdif 3932   ∪ cun 3933  {csn 4566  ⟨cop 4572   class class class wbr 5065   Fn wfn 6349  ⟶wf 6350  ‘cfv 6354  (class class class)co 7155   ∈ cmpo 7157  ℝcr 10535  0cc0 10536  1c1 10537   + caddc 10539   · cmul 10541  ℝ*cxr 10673   ≤ cle 10675   − cmin 10869  ℕcn 11637  (,]cioc 12738  [,)cico 12739  [,]cicc 12740  ...cfz 12891  Basecbs 16482  Itvcitv 26221  LineGclng 26222  𝔼cee 26673   Btwn cbtwn 26674  EEGceeng 26762 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-rep 5189  ax-sep 5202  ax-nul 5209  ax-pow 5265  ax-pr 5329  ax-un 7460  ax-cnex 10592  ax-resscn 10593  ax-1cn 10594  ax-icn 10595  ax-addcl 10596  ax-addrcl 10597  ax-mulcl 10598  ax-mulrcl 10599  ax-mulcom 10600  ax-addass 10601  ax-mulass 10602  ax-distr 10603  ax-i2m1 10604  ax-1ne0 10605  ax-1rid 10606  ax-rnegex 10607  ax-rrecex 10608  ax-cnre 10609  ax-pre-lttri 10610  ax-pre-lttrn 10611  ax-pre-ltadd 10612  ax-pre-mulgt0 10613 This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-pss 3953  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4567  df-pr 4569  df-tp 4571  df-op 4573  df-uni 4838  df-int 4876  df-iun 4920  df-br 5066  df-opab 5128  df-mpt 5146  df-tr 5172  df-id 5459  df-eprel 5464  df-po 5473  df-so 5474  df-fr 5513  df-we 5515  df-xp 5560  df-rel 5561  df-cnv 5562  df-co 5563  df-dm 5564  df-rn 5565  df-res 5566  df-ima 5567  df-pred 6147  df-ord 6193  df-on 6194  df-lim 6195  df-suc 6196  df-iota 6313  df-fun 6356  df-fn 6357  df-f 6358  df-f1 6359  df-fo 6360  df-f1o 6361  df-fv 6362  df-riota 7113  df-ov 7158  df-oprab 7159  df-mpo 7160  df-om 7580  df-1st 7688  df-2nd 7689  df-wrecs 7946  df-recs 8007  df-rdg 8045  df-1o 8101  df-oadd 8105  df-er 8288  df-map 8407  df-en 8509  df-dom 8510  df-sdom 8511  df-fin 8512  df-pnf 10676  df-mnf 10677  df-xr 10678  df-ltxr 10679  df-le 10680  df-sub 10871  df-neg 10872  df-nn 11638  df-2 11699  df-3 11700  df-4 11701  df-5 11702  df-6 11703  df-7 11704  df-8 11705  df-9 11706  df-n0 11897  df-z 11981  df-dec 12098  df-uz 12243  df-ioc 12742  df-ico 12743  df-icc 12744  df-fz 12892  df-seq 13369  df-sum 15042  df-struct 16484  df-ndx 16485  df-slot 16486  df-base 16488  df-ds 16586  df-itv 26223  df-lng 26224  df-ee 26676  df-btwn 26677  df-eeng 26763 This theorem is referenced by:  eenglngeehlnm  44725
 Copyright terms: Public domain W3C validator