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

Theorem israg 28705
Description: Property for 3 points A, B, C to form a right angle. Definition 8.1 of [Schwabhauser] p. 57. (Contributed by Thierry Arnoux, 25-Aug-2019.)
Hypotheses
Ref Expression
israg.p 𝑃 = (Base‘𝐺)
israg.d = (dist‘𝐺)
israg.i 𝐼 = (Itv‘𝐺)
israg.l 𝐿 = (LineG‘𝐺)
israg.s 𝑆 = (pInvG‘𝐺)
israg.g (𝜑𝐺 ∈ TarskiG)
israg.a (𝜑𝐴𝑃)
israg.b (𝜑𝐵𝑃)
israg.c (𝜑𝐶𝑃)
Assertion
Ref Expression
israg (𝜑 → (⟨“𝐴𝐵𝐶”⟩ ∈ (∟G‘𝐺) ↔ (𝐴 𝐶) = (𝐴 ((𝑆𝐵)‘𝐶))))

Proof of Theorem israg
Dummy variables 𝑔 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 israg.a . . . 4 (𝜑𝐴𝑃)
2 israg.b . . . 4 (𝜑𝐵𝑃)
3 israg.c . . . 4 (𝜑𝐶𝑃)
41, 2, 3s3cld 14911 . . 3 (𝜑 → ⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃)
5 fveqeq2 6915 . . . . 5 (𝑤 = ⟨“𝐴𝐵𝐶”⟩ → ((♯‘𝑤) = 3 ↔ (♯‘⟨“𝐴𝐵𝐶”⟩) = 3))
6 fveq1 6905 . . . . . . 7 (𝑤 = ⟨“𝐴𝐵𝐶”⟩ → (𝑤‘0) = (⟨“𝐴𝐵𝐶”⟩‘0))
7 fveq1 6905 . . . . . . 7 (𝑤 = ⟨“𝐴𝐵𝐶”⟩ → (𝑤‘2) = (⟨“𝐴𝐵𝐶”⟩‘2))
86, 7oveq12d 7449 . . . . . 6 (𝑤 = ⟨“𝐴𝐵𝐶”⟩ → ((𝑤‘0) (𝑤‘2)) = ((⟨“𝐴𝐵𝐶”⟩‘0) (⟨“𝐴𝐵𝐶”⟩‘2)))
9 fveq1 6905 . . . . . . . . 9 (𝑤 = ⟨“𝐴𝐵𝐶”⟩ → (𝑤‘1) = (⟨“𝐴𝐵𝐶”⟩‘1))
109fveq2d 6910 . . . . . . . 8 (𝑤 = ⟨“𝐴𝐵𝐶”⟩ → (𝑆‘(𝑤‘1)) = (𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1)))
1110, 7fveq12d 6913 . . . . . . 7 (𝑤 = ⟨“𝐴𝐵𝐶”⟩ → ((𝑆‘(𝑤‘1))‘(𝑤‘2)) = ((𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1))‘(⟨“𝐴𝐵𝐶”⟩‘2)))
126, 11oveq12d 7449 . . . . . 6 (𝑤 = ⟨“𝐴𝐵𝐶”⟩ → ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2))) = ((⟨“𝐴𝐵𝐶”⟩‘0) ((𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1))‘(⟨“𝐴𝐵𝐶”⟩‘2))))
138, 12eqeq12d 2753 . . . . 5 (𝑤 = ⟨“𝐴𝐵𝐶”⟩ → (((𝑤‘0) (𝑤‘2)) = ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2))) ↔ ((⟨“𝐴𝐵𝐶”⟩‘0) (⟨“𝐴𝐵𝐶”⟩‘2)) = ((⟨“𝐴𝐵𝐶”⟩‘0) ((𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1))‘(⟨“𝐴𝐵𝐶”⟩‘2)))))
145, 13anbi12d 632 . . . 4 (𝑤 = ⟨“𝐴𝐵𝐶”⟩ → (((♯‘𝑤) = 3 ∧ ((𝑤‘0) (𝑤‘2)) = ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2)))) ↔ ((♯‘⟨“𝐴𝐵𝐶”⟩) = 3 ∧ ((⟨“𝐴𝐵𝐶”⟩‘0) (⟨“𝐴𝐵𝐶”⟩‘2)) = ((⟨“𝐴𝐵𝐶”⟩‘0) ((𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1))‘(⟨“𝐴𝐵𝐶”⟩‘2))))))
1514elrab3 3693 . . 3 (⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 → (⟨“𝐴𝐵𝐶”⟩ ∈ {𝑤 ∈ Word 𝑃 ∣ ((♯‘𝑤) = 3 ∧ ((𝑤‘0) (𝑤‘2)) = ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2))))} ↔ ((♯‘⟨“𝐴𝐵𝐶”⟩) = 3 ∧ ((⟨“𝐴𝐵𝐶”⟩‘0) (⟨“𝐴𝐵𝐶”⟩‘2)) = ((⟨“𝐴𝐵𝐶”⟩‘0) ((𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1))‘(⟨“𝐴𝐵𝐶”⟩‘2))))))
164, 15syl 17 . 2 (𝜑 → (⟨“𝐴𝐵𝐶”⟩ ∈ {𝑤 ∈ Word 𝑃 ∣ ((♯‘𝑤) = 3 ∧ ((𝑤‘0) (𝑤‘2)) = ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2))))} ↔ ((♯‘⟨“𝐴𝐵𝐶”⟩) = 3 ∧ ((⟨“𝐴𝐵𝐶”⟩‘0) (⟨“𝐴𝐵𝐶”⟩‘2)) = ((⟨“𝐴𝐵𝐶”⟩‘0) ((𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1))‘(⟨“𝐴𝐵𝐶”⟩‘2))))))
17 df-rag 28702 . . . 4 ∟G = (𝑔 ∈ V ↦ {𝑤 ∈ Word (Base‘𝑔) ∣ ((♯‘𝑤) = 3 ∧ ((𝑤‘0)(dist‘𝑔)(𝑤‘2)) = ((𝑤‘0)(dist‘𝑔)(((pInvG‘𝑔)‘(𝑤‘1))‘(𝑤‘2))))})
18 simpr 484 . . . . . . . 8 ((𝜑𝑔 = 𝐺) → 𝑔 = 𝐺)
1918fveq2d 6910 . . . . . . 7 ((𝜑𝑔 = 𝐺) → (Base‘𝑔) = (Base‘𝐺))
20 israg.p . . . . . . 7 𝑃 = (Base‘𝐺)
2119, 20eqtr4di 2795 . . . . . 6 ((𝜑𝑔 = 𝐺) → (Base‘𝑔) = 𝑃)
22 wrdeq 14574 . . . . . 6 ((Base‘𝑔) = 𝑃 → Word (Base‘𝑔) = Word 𝑃)
2321, 22syl 17 . . . . 5 ((𝜑𝑔 = 𝐺) → Word (Base‘𝑔) = Word 𝑃)
2418fveq2d 6910 . . . . . . . . 9 ((𝜑𝑔 = 𝐺) → (dist‘𝑔) = (dist‘𝐺))
25 israg.d . . . . . . . . 9 = (dist‘𝐺)
2624, 25eqtr4di 2795 . . . . . . . 8 ((𝜑𝑔 = 𝐺) → (dist‘𝑔) = )
2726oveqd 7448 . . . . . . 7 ((𝜑𝑔 = 𝐺) → ((𝑤‘0)(dist‘𝑔)(𝑤‘2)) = ((𝑤‘0) (𝑤‘2)))
28 eqidd 2738 . . . . . . . 8 ((𝜑𝑔 = 𝐺) → (𝑤‘0) = (𝑤‘0))
2918fveq2d 6910 . . . . . . . . . . 11 ((𝜑𝑔 = 𝐺) → (pInvG‘𝑔) = (pInvG‘𝐺))
30 israg.s . . . . . . . . . . 11 𝑆 = (pInvG‘𝐺)
3129, 30eqtr4di 2795 . . . . . . . . . 10 ((𝜑𝑔 = 𝐺) → (pInvG‘𝑔) = 𝑆)
3231fveq1d 6908 . . . . . . . . 9 ((𝜑𝑔 = 𝐺) → ((pInvG‘𝑔)‘(𝑤‘1)) = (𝑆‘(𝑤‘1)))
3332fveq1d 6908 . . . . . . . 8 ((𝜑𝑔 = 𝐺) → (((pInvG‘𝑔)‘(𝑤‘1))‘(𝑤‘2)) = ((𝑆‘(𝑤‘1))‘(𝑤‘2)))
3426, 28, 33oveq123d 7452 . . . . . . 7 ((𝜑𝑔 = 𝐺) → ((𝑤‘0)(dist‘𝑔)(((pInvG‘𝑔)‘(𝑤‘1))‘(𝑤‘2))) = ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2))))
3527, 34eqeq12d 2753 . . . . . 6 ((𝜑𝑔 = 𝐺) → (((𝑤‘0)(dist‘𝑔)(𝑤‘2)) = ((𝑤‘0)(dist‘𝑔)(((pInvG‘𝑔)‘(𝑤‘1))‘(𝑤‘2))) ↔ ((𝑤‘0) (𝑤‘2)) = ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2)))))
3635anbi2d 630 . . . . 5 ((𝜑𝑔 = 𝐺) → (((♯‘𝑤) = 3 ∧ ((𝑤‘0)(dist‘𝑔)(𝑤‘2)) = ((𝑤‘0)(dist‘𝑔)(((pInvG‘𝑔)‘(𝑤‘1))‘(𝑤‘2)))) ↔ ((♯‘𝑤) = 3 ∧ ((𝑤‘0) (𝑤‘2)) = ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2))))))
3723, 36rabeqbidv 3455 . . . 4 ((𝜑𝑔 = 𝐺) → {𝑤 ∈ Word (Base‘𝑔) ∣ ((♯‘𝑤) = 3 ∧ ((𝑤‘0)(dist‘𝑔)(𝑤‘2)) = ((𝑤‘0)(dist‘𝑔)(((pInvG‘𝑔)‘(𝑤‘1))‘(𝑤‘2))))} = {𝑤 ∈ Word 𝑃 ∣ ((♯‘𝑤) = 3 ∧ ((𝑤‘0) (𝑤‘2)) = ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2))))})
38 israg.g . . . . 5 (𝜑𝐺 ∈ TarskiG)
3938elexd 3504 . . . 4 (𝜑𝐺 ∈ V)
4020fvexi 6920 . . . . . . 7 𝑃 ∈ V
4140wrdexi 14564 . . . . . 6 Word 𝑃 ∈ V
4241rabex 5339 . . . . 5 {𝑤 ∈ Word 𝑃 ∣ ((♯‘𝑤) = 3 ∧ ((𝑤‘0) (𝑤‘2)) = ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2))))} ∈ V
4342a1i 11 . . . 4 (𝜑 → {𝑤 ∈ Word 𝑃 ∣ ((♯‘𝑤) = 3 ∧ ((𝑤‘0) (𝑤‘2)) = ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2))))} ∈ V)
4417, 37, 39, 43fvmptd2 7024 . . 3 (𝜑 → (∟G‘𝐺) = {𝑤 ∈ Word 𝑃 ∣ ((♯‘𝑤) = 3 ∧ ((𝑤‘0) (𝑤‘2)) = ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2))))})
4544eleq2d 2827 . 2 (𝜑 → (⟨“𝐴𝐵𝐶”⟩ ∈ (∟G‘𝐺) ↔ ⟨“𝐴𝐵𝐶”⟩ ∈ {𝑤 ∈ Word 𝑃 ∣ ((♯‘𝑤) = 3 ∧ ((𝑤‘0) (𝑤‘2)) = ((𝑤‘0) ((𝑆‘(𝑤‘1))‘(𝑤‘2))))}))
46 s3fv0 14930 . . . . . . 7 (𝐴𝑃 → (⟨“𝐴𝐵𝐶”⟩‘0) = 𝐴)
471, 46syl 17 . . . . . 6 (𝜑 → (⟨“𝐴𝐵𝐶”⟩‘0) = 𝐴)
4847eqcomd 2743 . . . . 5 (𝜑𝐴 = (⟨“𝐴𝐵𝐶”⟩‘0))
49 s3fv2 14932 . . . . . . 7 (𝐶𝑃 → (⟨“𝐴𝐵𝐶”⟩‘2) = 𝐶)
503, 49syl 17 . . . . . 6 (𝜑 → (⟨“𝐴𝐵𝐶”⟩‘2) = 𝐶)
5150eqcomd 2743 . . . . 5 (𝜑𝐶 = (⟨“𝐴𝐵𝐶”⟩‘2))
5248, 51oveq12d 7449 . . . 4 (𝜑 → (𝐴 𝐶) = ((⟨“𝐴𝐵𝐶”⟩‘0) (⟨“𝐴𝐵𝐶”⟩‘2)))
53 s3fv1 14931 . . . . . . . . 9 (𝐵𝑃 → (⟨“𝐴𝐵𝐶”⟩‘1) = 𝐵)
542, 53syl 17 . . . . . . . 8 (𝜑 → (⟨“𝐴𝐵𝐶”⟩‘1) = 𝐵)
5554eqcomd 2743 . . . . . . 7 (𝜑𝐵 = (⟨“𝐴𝐵𝐶”⟩‘1))
5655fveq2d 6910 . . . . . 6 (𝜑 → (𝑆𝐵) = (𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1)))
5756, 51fveq12d 6913 . . . . 5 (𝜑 → ((𝑆𝐵)‘𝐶) = ((𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1))‘(⟨“𝐴𝐵𝐶”⟩‘2)))
5848, 57oveq12d 7449 . . . 4 (𝜑 → (𝐴 ((𝑆𝐵)‘𝐶)) = ((⟨“𝐴𝐵𝐶”⟩‘0) ((𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1))‘(⟨“𝐴𝐵𝐶”⟩‘2))))
5952, 58eqeq12d 2753 . . 3 (𝜑 → ((𝐴 𝐶) = (𝐴 ((𝑆𝐵)‘𝐶)) ↔ ((⟨“𝐴𝐵𝐶”⟩‘0) (⟨“𝐴𝐵𝐶”⟩‘2)) = ((⟨“𝐴𝐵𝐶”⟩‘0) ((𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1))‘(⟨“𝐴𝐵𝐶”⟩‘2)))))
60 s3len 14933 . . . . 5 (♯‘⟨“𝐴𝐵𝐶”⟩) = 3
6160a1i 11 . . . 4 (𝜑 → (♯‘⟨“𝐴𝐵𝐶”⟩) = 3)
6261biantrurd 532 . . 3 (𝜑 → (((⟨“𝐴𝐵𝐶”⟩‘0) (⟨“𝐴𝐵𝐶”⟩‘2)) = ((⟨“𝐴𝐵𝐶”⟩‘0) ((𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1))‘(⟨“𝐴𝐵𝐶”⟩‘2))) ↔ ((♯‘⟨“𝐴𝐵𝐶”⟩) = 3 ∧ ((⟨“𝐴𝐵𝐶”⟩‘0) (⟨“𝐴𝐵𝐶”⟩‘2)) = ((⟨“𝐴𝐵𝐶”⟩‘0) ((𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1))‘(⟨“𝐴𝐵𝐶”⟩‘2))))))
6359, 62bitrd 279 . 2 (𝜑 → ((𝐴 𝐶) = (𝐴 ((𝑆𝐵)‘𝐶)) ↔ ((♯‘⟨“𝐴𝐵𝐶”⟩) = 3 ∧ ((⟨“𝐴𝐵𝐶”⟩‘0) (⟨“𝐴𝐵𝐶”⟩‘2)) = ((⟨“𝐴𝐵𝐶”⟩‘0) ((𝑆‘(⟨“𝐴𝐵𝐶”⟩‘1))‘(⟨“𝐴𝐵𝐶”⟩‘2))))))
6416, 45, 633bitr4d 311 1 (𝜑 → (⟨“𝐴𝐵𝐶”⟩ ∈ (∟G‘𝐺) ↔ (𝐴 𝐶) = (𝐴 ((𝑆𝐵)‘𝐶))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1540  wcel 2108  {crab 3436  Vcvv 3480  cfv 6561  (class class class)co 7431  0cc0 11155  1c1 11156  2c2 12321  3c3 12322  chash 14369  Word cword 14552  ⟨“cs3 14881  Basecbs 17247  distcds 17306  TarskiGcstrkg 28435  Itvcitv 28441  LineGclng 28442  pInvGcmir 28660  ∟Gcrag 28701
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2157  ax-12 2177  ax-ext 2708  ax-rep 5279  ax-sep 5296  ax-nul 5306  ax-pow 5365  ax-pr 5432  ax-un 7755  ax-cnex 11211  ax-resscn 11212  ax-1cn 11213  ax-icn 11214  ax-addcl 11215  ax-addrcl 11216  ax-mulcl 11217  ax-mulrcl 11218  ax-mulcom 11219  ax-addass 11220  ax-mulass 11221  ax-distr 11222  ax-i2m1 11223  ax-1ne0 11224  ax-1rid 11225  ax-rnegex 11226  ax-rrecex 11227  ax-cnre 11228  ax-pre-lttri 11229  ax-pre-lttrn 11230  ax-pre-ltadd 11231  ax-pre-mulgt0 11232
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2065  df-mo 2540  df-eu 2569  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2892  df-ne 2941  df-nel 3047  df-ral 3062  df-rex 3071  df-reu 3381  df-rab 3437  df-v 3482  df-sbc 3789  df-csb 3900  df-dif 3954  df-un 3956  df-in 3958  df-ss 3968  df-pss 3971  df-nul 4334  df-if 4526  df-pw 4602  df-sn 4627  df-pr 4629  df-op 4633  df-uni 4908  df-int 4947  df-iun 4993  df-br 5144  df-opab 5206  df-mpt 5226  df-tr 5260  df-id 5578  df-eprel 5584  df-po 5592  df-so 5593  df-fr 5637  df-we 5639  df-xp 5691  df-rel 5692  df-cnv 5693  df-co 5694  df-dm 5695  df-rn 5696  df-res 5697  df-ima 5698  df-pred 6321  df-ord 6387  df-on 6388  df-lim 6389  df-suc 6390  df-iota 6514  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-riota 7388  df-ov 7434  df-oprab 7435  df-mpo 7436  df-om 7888  df-1st 8014  df-2nd 8015  df-frecs 8306  df-wrecs 8337  df-recs 8411  df-rdg 8450  df-1o 8506  df-er 8745  df-map 8868  df-en 8986  df-dom 8987  df-sdom 8988  df-fin 8989  df-card 9979  df-pnf 11297  df-mnf 11298  df-xr 11299  df-ltxr 11300  df-le 11301  df-sub 11494  df-neg 11495  df-nn 12267  df-2 12329  df-3 12330  df-n0 12527  df-z 12614  df-uz 12879  df-fz 13548  df-fzo 13695  df-hash 14370  df-word 14553  df-concat 14609  df-s1 14634  df-s2 14887  df-s3 14888  df-rag 28702
This theorem is referenced by:  ragcom  28706  ragcol  28707  ragmir  28708  mirrag  28709  ragtrivb  28710  ragflat2  28711  ragflat  28712  ragcgr  28715  footexALT  28726  footexlem1  28727  footexlem2  28728  colperpexlem1  28738  colperpexlem3  28740  mideulem2  28742  opphllem  28743  lmiisolem  28804  hypcgrlem1  28807  hypcgrlem2  28808  trgcopyeulem  28813
  Copyright terms: Public domain W3C validator