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

Theorem angmgmaddov2 29323
Description: Value of the addition operation in the angle addition magma, in case the first angle is zero or flat. (Contributed by Thierry Arnoux, 23-Aug-2026.)
Hypotheses
Ref Expression
angmgmadd.p 𝑃 = (Base‘𝐺)
angmgmadd.a 𝐴 = {𝑑 ∈ (𝑃 ↑m (0..^3)) ∣ ((𝑑‘0) ≠ (𝑑‘1) ∧ (𝑑‘1) ≠ (𝑑‘2))}
angmgmadd.i 𝐼 = (Itv‘𝐺)
angmgmadd.d − = (dist‘𝐺)
angmgmadd.c ∼ = (cgrA‘𝐺)
angmgmadd.l 𝐿 = (LineG‘𝐺)
angmgmadd.g (𝜑 → 𝐺 ∈ TarskiG)
angmgmaddov.u (𝜑 → 𝑈 ∈ 𝑃)
angmgmaddov.v (𝜑 → 𝑉 ∈ 𝑃)
angmgmaddov.w (𝜑 → 𝑊 ∈ 𝑃)
angmgmaddov.x (𝜑 → 𝑋 ∈ 𝑃)
angmgmaddov.y (𝜑 → 𝑌 ∈ 𝑃)
angmgmaddov.z (𝜑 → 𝑍 ∈ 𝑃)
angmgmaddeu.1 (𝜑 → 𝑈 ≠ 𝑉)
angmgmaddeu.2 (𝜑 → 𝑉 ≠ 𝑊)
angmgmaddeu.3 (𝜑 → 𝑋 ≠ 𝑌)
angmgmaddeu.4 (𝜑 → 𝑌 ≠ 𝑍)
angmgmaddov.o + = (𝑒 ∈ 𝐴, 𝑓 ∈ 𝐴 ↦ if((𝑒‘0) ∈ ((𝑒‘1)𝐿(𝑒‘2)), ⟨“(𝑓‘0)(𝑓‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0))))”⟩, ⟨“(𝑒‘0)(𝑒‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑒‘2)(𝑒‘1)𝑠”⟩ ∼ 𝑓 ∧ ((𝑒‘1) − 𝑠) = ((𝑓‘1) − (𝑓‘0)) ∧ (((𝑒‘1)𝐿(𝑒‘2)) ∩ (𝑠𝐼(𝑒‘0))) ≠ ∅))”⟩))
angmgmaddov2.x (𝜑 → 𝑋 ∈ (𝑌𝐿𝑍))
angmgmaddov2.s (𝜑 → 𝑆 ∈ 𝑃)
angmgmaddov2.1 (𝜑 → ⟨“𝑊𝑉𝑆”⟩ ∼ ⟨“𝑋𝑌𝑍”⟩)
angmgmaddov2.2 (𝜑 → (𝑉 − 𝑆) = (𝑌 − 𝑋))
Assertion
Ref Expression
angmgmaddov2 (𝜑 → (⟨“𝑋𝑌𝑍”⟩ + ⟨“𝑈𝑉𝑊”⟩) = ⟨“𝑈𝑉𝑆”⟩)
Distinct variable groups:   − ,𝑠   ∼ ,𝑠   𝐺,𝑠   𝐼,𝑠   𝐿,𝑠   𝑃,𝑑   𝑃,𝑠   𝑆,𝑑   𝑆,𝑒,𝑓,𝑠   𝑈,𝑑   𝑈,𝑒,𝑓,𝑠   𝑉,𝑑   𝑒,𝑉,𝑓,𝑠   𝑊,𝑑   𝑒,𝑊,𝑓,𝑠   𝑋,𝑑   𝑒,𝑋,𝑓,𝑠   𝑌,𝑑   𝑒,𝑌,𝑓,𝑠   𝑍,𝑑   𝑒,𝑍,𝑓,𝑠   𝜑,𝑒,𝑓,𝑠
Allowed substitution hints:   𝜑(𝑑)   𝐴(𝑒, 𝑓, 𝑠, 𝑑)   𝑃(𝑒, 𝑓)   + (𝑒, 𝑓, 𝑠, 𝑑)   ∼ (𝑒, 𝑓, 𝑑)   𝐺(𝑒, 𝑓, 𝑑)   𝐼(𝑒, 𝑓, 𝑑)   𝐿(𝑒, 𝑓, 𝑑)   − (𝑒, 𝑓, 𝑑)

Proof of Theorem angmgmaddov2
StepHypRef Expression
1 angmgmaddov.o . . 3 + = (𝑒 ∈ 𝐴, 𝑓 ∈ 𝐴 ↦ if((𝑒‘0) ∈ ((𝑒‘1)𝐿(𝑒‘2)), ⟨“(𝑓‘0)(𝑓‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0))))”⟩, ⟨“(𝑒‘0)(𝑒‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑒‘2)(𝑒‘1)𝑠”⟩ ∼ 𝑓 ∧ ((𝑒‘1) − 𝑠) = ((𝑓‘1) − (𝑓‘0)) ∧ (((𝑒‘1)𝐿(𝑒‘2)) ∩ (𝑠𝐼(𝑒‘0))) ≠ ∅))”⟩))
21a1i 11 . 2 (𝜑 → + = (𝑒 ∈ 𝐴, 𝑓 ∈ 𝐴 ↦ if((𝑒‘0) ∈ ((𝑒‘1)𝐿(𝑒‘2)), ⟨“(𝑓‘0)(𝑓‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0))))”⟩, ⟨“(𝑒‘0)(𝑒‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑒‘2)(𝑒‘1)𝑠”⟩ ∼ 𝑓 ∧ ((𝑒‘1) − 𝑠) = ((𝑓‘1) − (𝑓‘0)) ∧ (((𝑒‘1)𝐿(𝑒‘2)) ∩ (𝑠𝐼(𝑒‘0))) ≠ ∅))”⟩)))
3 angmgmaddov2.x . . . . . . 7 (𝜑 → 𝑋 ∈ (𝑌𝐿𝑍))
43ad2antrr 739 . . . . . 6 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑋 ∈ (𝑌𝐿𝑍))
5 simplr 781 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑒 = ⟨“𝑋𝑌𝑍”⟩)
65fveq1d 6875 . . . . . . 7 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑒‘0) = (⟨“𝑋𝑌𝑍”⟩‘0))
7 angmgmaddov.x . . . . . . . . 9 (𝜑 → 𝑋 ∈ 𝑃)
8 s3fv0 15010 . . . . . . . . 9 (𝑋 ∈ 𝑃 → (⟨“𝑋𝑌𝑍”⟩‘0) = 𝑋)
97, 8syl 18 . . . . . . . 8 (𝜑 → (⟨“𝑋𝑌𝑍”⟩‘0) = 𝑋)
109ad2antrr 739 . . . . . . 7 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (⟨“𝑋𝑌𝑍”⟩‘0) = 𝑋)
116, 10eqtrd 2795 . . . . . 6 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑒‘0) = 𝑋)
125fveq1d 6875 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑒‘1) = (⟨“𝑋𝑌𝑍”⟩‘1))
13 angmgmaddov.y . . . . . . . . . 10 (𝜑 → 𝑌 ∈ 𝑃)
14 s3fv1 15011 . . . . . . . . . 10 (𝑌 ∈ 𝑃 → (⟨“𝑋𝑌𝑍”⟩‘1) = 𝑌)
1513, 14syl 18 . . . . . . . . 9 (𝜑 → (⟨“𝑋𝑌𝑍”⟩‘1) = 𝑌)
1615ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (⟨“𝑋𝑌𝑍”⟩‘1) = 𝑌)
1712, 16eqtrd 2795 . . . . . . 7 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑒‘1) = 𝑌)
185fveq1d 6875 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑒‘2) = (⟨“𝑋𝑌𝑍”⟩‘2))
19 angmgmaddov.z . . . . . . . . . 10 (𝜑 → 𝑍 ∈ 𝑃)
20 s3fv2 15012 . . . . . . . . . 10 (𝑍 ∈ 𝑃 → (⟨“𝑋𝑌𝑍”⟩‘2) = 𝑍)
2119, 20syl 18 . . . . . . . . 9 (𝜑 → (⟨“𝑋𝑌𝑍”⟩‘2) = 𝑍)
2221ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (⟨“𝑋𝑌𝑍”⟩‘2) = 𝑍)
2318, 22eqtrd 2795 . . . . . . 7 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑒‘2) = 𝑍)
2417, 23oveq12d 7426 . . . . . 6 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ((𝑒‘1)𝐿(𝑒‘2)) = (𝑌𝐿𝑍))
254, 11, 243eltr4d 2875 . . . . 5 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑒‘0) ∈ ((𝑒‘1)𝐿(𝑒‘2)))
2625iftrued 4489 . . . 4 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → if((𝑒‘0) ∈ ((𝑒‘1)𝐿(𝑒‘2)), ⟨“(𝑓‘0)(𝑓‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0))))”⟩, ⟨“(𝑒‘0)(𝑒‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑒‘2)(𝑒‘1)𝑠”⟩ ∼ 𝑓 ∧ ((𝑒‘1) − 𝑠) = ((𝑓‘1) − (𝑓‘0)) ∧ (((𝑒‘1)𝐿(𝑒‘2)) ∩ (𝑠𝐼(𝑒‘0))) ≠ ∅))”⟩) = ⟨“(𝑓‘0)(𝑓‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0))))”⟩)
27 simpr 490 . . . . . . 7 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑓 = ⟨“𝑈𝑉𝑊”⟩)
2827fveq1d 6875 . . . . . 6 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑓‘0) = (⟨“𝑈𝑉𝑊”⟩‘0))
29 angmgmaddov.u . . . . . . . 8 (𝜑 → 𝑈 ∈ 𝑃)
30 s3fv0 15010 . . . . . . . 8 (𝑈 ∈ 𝑃 → (⟨“𝑈𝑉𝑊”⟩‘0) = 𝑈)
3129, 30syl 18 . . . . . . 7 (𝜑 → (⟨“𝑈𝑉𝑊”⟩‘0) = 𝑈)
3231ad2antrr 739 . . . . . 6 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (⟨“𝑈𝑉𝑊”⟩‘0) = 𝑈)
3328, 32eqtrd 2795 . . . . 5 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑓‘0) = 𝑈)
3427fveq1d 6875 . . . . . 6 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑓‘1) = (⟨“𝑈𝑉𝑊”⟩‘1))
35 angmgmaddov.v . . . . . . . 8 (𝜑 → 𝑉 ∈ 𝑃)
36 s3fv1 15011 . . . . . . . 8 (𝑉 ∈ 𝑃 → (⟨“𝑈𝑉𝑊”⟩‘1) = 𝑉)
3735, 36syl 18 . . . . . . 7 (𝜑 → (⟨“𝑈𝑉𝑊”⟩‘1) = 𝑉)
3837ad2antrr 739 . . . . . 6 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (⟨“𝑈𝑉𝑊”⟩‘1) = 𝑉)
3934, 38eqtrd 2795 . . . . 5 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑓‘1) = 𝑉)
40 angmgmaddov2.s . . . . . . 7 (𝜑 → 𝑆 ∈ 𝑃)
4140ad2antrr 739 . . . . . 6 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑆 ∈ 𝑃)
42 angmgmadd.p . . . . . . . 8 𝑃 = (Base‘𝐺)
43 angmgmadd.a . . . . . . . 8 𝐴 = {𝑑 ∈ (𝑃 ↑m (0..^3)) ∣ ((𝑑‘0) ≠ (𝑑‘1) ∧ (𝑑‘1) ≠ (𝑑‘2))}
44 angmgmadd.i . . . . . . . 8 𝐼 = (Itv‘𝐺)
45 angmgmadd.d . . . . . . . 8 − = (dist‘𝐺)
46 angmgmadd.c . . . . . . . 8 ∼ = (cgrA‘𝐺)
47 angmgmadd.l . . . . . . . 8 𝐿 = (LineG‘𝐺)
48 angmgmadd.g . . . . . . . . 9 (𝜑 → 𝐺 ∈ TarskiG)
4948ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝐺 ∈ TarskiG)
50 angmgmaddov.w . . . . . . . . 9 (𝜑 → 𝑊 ∈ 𝑃)
5150ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑊 ∈ 𝑃)
5235ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑉 ∈ 𝑃)
537ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑋 ∈ 𝑃)
5413ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑌 ∈ 𝑃)
5519ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑍 ∈ 𝑃)
56 angmgmaddeu.2 . . . . . . . . . 10 (𝜑 → 𝑉 ≠ 𝑊)
5756necomd 3010 . . . . . . . . 9 (𝜑 → 𝑊 ≠ 𝑉)
5857ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑊 ≠ 𝑉)
5956ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑉 ≠ 𝑊)
60 angmgmaddeu.3 . . . . . . . . 9 (𝜑 → 𝑋 ≠ 𝑌)
6160ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑋 ≠ 𝑌)
62 angmgmaddeu.4 . . . . . . . . 9 (𝜑 → 𝑌 ≠ 𝑍)
6362ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑌 ≠ 𝑍)
6442, 43, 44, 45, 46, 47, 49, 51, 52, 51, 53, 54, 55, 58, 59, 61, 63, 4angmgmaddov2lem 29321 . . . . . . 7 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ∃!𝑠 ∈ 𝑃 (⟨“𝑊𝑉𝑠”⟩ ∼ ⟨“𝑋𝑌𝑍”⟩ ∧ (𝑉 − 𝑠) = (𝑌 − 𝑋)))
6527fveq1d 6875 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑓‘2) = (⟨“𝑈𝑉𝑊”⟩‘2))
66 s3fv2 15012 . . . . . . . . . . . . . . 15 (𝑊 ∈ 𝑃 → (⟨“𝑈𝑉𝑊”⟩‘2) = 𝑊)
6750, 66syl 18 . . . . . . . . . . . . . 14 (𝜑 → (⟨“𝑈𝑉𝑊”⟩‘2) = 𝑊)
6867ad2antrr 739 . . . . . . . . . . . . 13 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (⟨“𝑈𝑉𝑊”⟩‘2) = 𝑊)
6965, 68eqtrd 2795 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑓‘2) = 𝑊)
70 eqidd 2761 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑠 = 𝑠)
7169, 39, 70s3eqd 14983 . . . . . . . . . . 11 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ = ⟨“𝑊𝑉𝑠”⟩)
7271, 5breq12d 5115 . . . . . . . . . 10 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ↔ ⟨“𝑊𝑉𝑠”⟩ ∼ ⟨“𝑋𝑌𝑍”⟩))
7339oveq1d 7423 . . . . . . . . . . 11 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ((𝑓‘1) − 𝑠) = (𝑉 − 𝑠))
7417, 11oveq12d 7426 . . . . . . . . . . 11 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ((𝑒‘1) − (𝑒‘0)) = (𝑌 − 𝑋))
7573, 74eqeq12d 2776 . . . . . . . . . 10 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0)) ↔ (𝑉 − 𝑠) = (𝑌 − 𝑋)))
7672, 75anbi12d 644 . . . . . . . . 9 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ((⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0))) ↔ (⟨“𝑊𝑉𝑠”⟩ ∼ ⟨“𝑋𝑌𝑍”⟩ ∧ (𝑉 − 𝑠) = (𝑌 − 𝑋))))
7776bicomd 226 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ((⟨“𝑊𝑉𝑠”⟩ ∼ ⟨“𝑋𝑌𝑍”⟩ ∧ (𝑉 − 𝑠) = (𝑌 − 𝑋)) ↔ (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0)))))
7877reubidv 3381 . . . . . . 7 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (∃!𝑠 ∈ 𝑃 (⟨“𝑊𝑉𝑠”⟩ ∼ ⟨“𝑋𝑌𝑍”⟩ ∧ (𝑉 − 𝑠) = (𝑌 − 𝑋)) ↔ ∃!𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0)))))
7964, 78mpbid 235 . . . . . 6 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ∃!𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0))))
80 angmgmaddov2.1 . . . . . . . 8 (𝜑 → ⟨“𝑊𝑉𝑆”⟩ ∼ ⟨“𝑋𝑌𝑍”⟩)
8180ad2antrr 739 . . . . . . 7 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ⟨“𝑊𝑉𝑆”⟩ ∼ ⟨“𝑋𝑌𝑍”⟩)
82 eqidd 2761 . . . . . . . 8 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → 𝑆 = 𝑆)
8369, 39, 82s3eqd 14983 . . . . . . 7 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ⟨“(𝑓‘2)(𝑓‘1)𝑆”⟩ = ⟨“𝑊𝑉𝑆”⟩)
8481, 83, 53brtr4d 5136 . . . . . 6 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ⟨“(𝑓‘2)(𝑓‘1)𝑆”⟩ ∼ 𝑒)
85 angmgmaddov2.2 . . . . . . . 8 (𝜑 → (𝑉 − 𝑆) = (𝑌 − 𝑋))
8685ad2antrr 739 . . . . . . 7 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (𝑉 − 𝑆) = (𝑌 − 𝑋))
8739oveq1d 7423 . . . . . . 7 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ((𝑓‘1) − 𝑆) = (𝑉 − 𝑆))
8886, 87, 743eqtr4d 2805 . . . . . 6 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ((𝑓‘1) − 𝑆) = ((𝑒‘1) − (𝑒‘0)))
89 eqidd 2761 . . . . . . . . . . 11 (𝑠 = 𝑆 → (𝑓‘2) = (𝑓‘2))
90 eqidd 2761 . . . . . . . . . . 11 (𝑠 = 𝑆 → (𝑓‘1) = (𝑓‘1))
91 id 23 . . . . . . . . . . 11 (𝑠 = 𝑆 → 𝑠 = 𝑆)
9289, 90, 91s3eqd 14983 . . . . . . . . . 10 (𝑠 = 𝑆 → ⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ = ⟨“(𝑓‘2)(𝑓‘1)𝑆”⟩)
9392breq1d 5112 . . . . . . . . 9 (𝑠 = 𝑆 → (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ↔ ⟨“(𝑓‘2)(𝑓‘1)𝑆”⟩ ∼ 𝑒))
94 oveq2 7416 . . . . . . . . . 10 (𝑠 = 𝑆 → ((𝑓‘1) − 𝑠) = ((𝑓‘1) − 𝑆))
9594eqeq1d 2762 . . . . . . . . 9 (𝑠 = 𝑆 → (((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0)) ↔ ((𝑓‘1) − 𝑆) = ((𝑒‘1) − (𝑒‘0))))
9693, 95anbi12d 644 . . . . . . . 8 (𝑠 = 𝑆 → ((⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0))) ↔ (⟨“(𝑓‘2)(𝑓‘1)𝑆”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑆) = ((𝑒‘1) − (𝑒‘0)))))
9796riota2 7390 . . . . . . 7 ((𝑆 ∈ 𝑃 ∧ ∃!𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0)))) → ((⟨“(𝑓‘2)(𝑓‘1)𝑆”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑆) = ((𝑒‘1) − (𝑒‘0))) ↔ (℩𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0)))) = 𝑆))
9897biimpa 482 . . . . . 6 (((𝑆 ∈ 𝑃 ∧ ∃!𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0)))) ∧ (⟨“(𝑓‘2)(𝑓‘1)𝑆”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑆) = ((𝑒‘1) − (𝑒‘0)))) → (℩𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0)))) = 𝑆)
9941, 79, 84, 88, 98syl22anc 852 . . . . 5 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → (℩𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0)))) = 𝑆)
10033, 39, 99s3eqd 14983 . . . 4 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → ⟨“(𝑓‘0)(𝑓‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0))))”⟩ = ⟨“𝑈𝑉𝑆”⟩)
10126, 100eqtrd 2795 . . 3 (((𝜑 ∧ 𝑒 = ⟨“𝑋𝑌𝑍”⟩) ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩) → if((𝑒‘0) ∈ ((𝑒‘1)𝐿(𝑒‘2)), ⟨“(𝑓‘0)(𝑓‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0))))”⟩, ⟨“(𝑒‘0)(𝑒‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑒‘2)(𝑒‘1)𝑠”⟩ ∼ 𝑓 ∧ ((𝑒‘1) − 𝑠) = ((𝑓‘1) − (𝑓‘0)) ∧ (((𝑒‘1)𝐿(𝑒‘2)) ∩ (𝑠𝐼(𝑒‘0))) ≠ ∅))”⟩) = ⟨“𝑈𝑉𝑆”⟩)
102101anasss 472 . 2 ((𝜑 ∧ (𝑒 = ⟨“𝑋𝑌𝑍”⟩ ∧ 𝑓 = ⟨“𝑈𝑉𝑊”⟩)) → if((𝑒‘0) ∈ ((𝑒‘1)𝐿(𝑒‘2)), ⟨“(𝑓‘0)(𝑓‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑓‘2)(𝑓‘1)𝑠”⟩ ∼ 𝑒 ∧ ((𝑓‘1) − 𝑠) = ((𝑒‘1) − (𝑒‘0))))”⟩, ⟨“(𝑒‘0)(𝑒‘1)(℩𝑠 ∈ 𝑃 (⟨“(𝑒‘2)(𝑒‘1)𝑠”⟩ ∼ 𝑓 ∧ ((𝑒‘1) − 𝑠) = ((𝑓‘1) − (𝑓‘0)) ∧ (((𝑒‘1)𝐿(𝑒‘2)) ∩ (𝑠𝐼(𝑒‘0))) ≠ ∅))”⟩) = ⟨“𝑈𝑉𝑆”⟩)
10342fvexi 6887 . . . 4 𝑃 ∈ V
104103a1i 11 . . 3 (𝜑 → 𝑃 ∈ V)
10543, 104, 7, 13, 19, 60, 62elcgrabasrd 29310 . 2 (𝜑 → ⟨“𝑋𝑌𝑍”⟩ ∈ 𝐴)
106 angmgmaddeu.1 . . 3 (𝜑 → 𝑈 ≠ 𝑉)
10743, 104, 29, 35, 50, 106, 56elcgrabasrd 29310 . 2 (𝜑 → ⟨“𝑈𝑉𝑊”⟩ ∈ 𝐴)
10885eqcomd 2766 . . . 4 (𝜑 → (𝑌 − 𝑋) = (𝑉 − 𝑆))
10960necomd 3010 . . . 4 (𝜑 → 𝑌 ≠ 𝑋)
11042, 45, 44, 48, 13, 7, 35, 40, 108, 109tgcgrneq 28879 . . 3 (𝜑 → 𝑉 ≠ 𝑆)
11143, 104, 29, 35, 40, 106, 110elcgrabasrd 29310 . 2 (𝜑 → ⟨“𝑈𝑉𝑆”⟩ ∈ 𝐴)
1122, 102, 105, 107, 111ovmpod 7560 1 (𝜑 → (⟨“𝑋𝑌𝑍”⟩ + ⟨“𝑈𝑉𝑊”⟩) = ⟨“𝑈𝑉𝑆”⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145   ≠ wne 2955  ∃!wreu 3363  {crab 3412  Vcvv 3450   ∩ cin 3897  ∅c0 4278  ifcif 4481   class class class wbr 5102  ‘cfv 6527  ℩crio 7364  (class class class)co 7408   ∈ cmpo 7410   ↑m cmap 8825  0cc0 11172  1c1 11173  2c2 12367  3c3 12368  ..^cfzo 13757  ⟨“cs3 14961  Basecbs 17349  distcds 17399  TarskiGcstrkg 28823  Itvcitv 28829  LineGclng 28830  cgrAccgra 29248
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7734  ax-cnex 11228  ax-resscn 11229  ax-1cn 11230  ax-icn 11231  ax-addcl 11232  ax-addrcl 11233  ax-mulcl 11234  ax-mulrcl 11235  ax-mulcom 11236  ax-addass 11237  ax-mulass 11238  ax-distr 11239  ax-i2m1 11240  ax-1ne0 11241  ax-1rid 11242  ax-rnegex 11243  ax-rrecex 11244  ax-cnre 11245  ax-pre-lttri 11246  ax-pre-lttrn 11247  ax-pre-ltadd 11248  ax-pre-mulgt0 11249
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 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-pss 3918  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-tp 4588  df-op 4590  df-uni 4867  df-int 4907  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5542  df-eprel 5547  df-po 5555  df-so 5556  df-fr 5600  df-we 5602  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-pred 6293  df-ord 6354  df-on 6355  df-lim 6356  df-suc 6357  df-iota 6483  df-fun 6529  df-fn 6530  df-f 6531  df-f1 6532  df-fo 6533  df-f1o 6534  df-fv 6535  df-riota 7365  df-ov 7411  df-oprab 7412  df-mpo 7413  df-om 7861  df-1st 7984  df-2nd 7985  df-frecs 8277  df-wrecs 8308  df-recs 8357  df-rdg 8396  df-1o 8454  df-oadd 8458  df-er 8695  df-map 8827  df-pm 8828  df-en 8952  df-dom 8953  df-sdom 8954  df-fin 8955  df-dju 9954  df-card 9992  df-pnf 11317  df-mnf 11318  df-xr 11319  df-ltxr 11320  df-le 11321  df-sub 11515  df-neg 11516  df-nn 12306  df-2 12375  df-3 12376  df-n0 12577  df-xnn0 12650  df-z 12664  df-uz 12936  df-fz 13610  df-fzo 13758  df-hash 14443  df-word 14627  df-concat 14684  df-s1 14711  df-s2 14967  df-s3 14968  df-trkgc 28844  df-trkgb 28845  df-trkgcb 28846  df-trkg 28849  df-cgrg 28908  df-leg 28980  df-hlg 28998  df-cgra 29249
This theorem is used by:  angmgmaddcpbl  29324  angmgmaddcl  29325  angmgmaddlid  29326  angmgmaddrid  29327
  Copyright terms: Public domain W3C validator