Metamath Proof Explorer


Theorem itsclc0b

Description: The intersection points of a (nondegenerate) line through two points and a circle around the origin. (Contributed by AV, 2-May-2023) (Revised by AV, 14-May-2023)

Ref Expression
Hypotheses itsclc0.i I=12
itsclc0.e E=msup
itsclc0.p P=I
itsclc0.s S=SphereE
itsclc0.0 0˙=I×0
itsclc0.q Q=A2+B2
itsclc0.d D=R2QC2
itsclc0.l L=pP|Ap1+Bp2=C
Assertion itsclc0b ABCA0B0R+0DX0˙SRXLXPX1=AC+BDQX2=BCADQX1=ACBDQX2=BC+ADQ

Proof

Step Hyp Ref Expression
1 itsclc0.i I=12
2 itsclc0.e E=msup
3 itsclc0.p P=I
4 itsclc0.s S=SphereE
5 itsclc0.0 0˙=I×0
6 itsclc0.q Q=A2+B2
7 itsclc0.d D=R2QC2
8 itsclc0.l L=pP|Ap1+Bp2=C
9 rprege0 R+R0R
10 elrege0 R0+∞R0R
11 9 10 sylibr R+R0+∞
12 11 adantr R+0DR0+∞
13 12 3ad2ant3 ABCA0B0R+0DR0+∞
14 eqid pP|p12+p22=R2=pP|p12+p22=R2
15 1 2 3 4 5 14 2sphere0 R0+∞0˙SR=pP|p12+p22=R2
16 15 eleq2d R0+∞X0˙SRXpP|p12+p22=R2
17 13 16 syl ABCA0B0R+0DX0˙SRXpP|p12+p22=R2
18 fveq1 p=Xp1=X1
19 18 oveq2d p=XAp1=AX1
20 fveq1 p=Xp2=X2
21 20 oveq2d p=XBp2=BX2
22 19 21 oveq12d p=XAp1+Bp2=AX1+BX2
23 22 eqeq1d p=XAp1+Bp2=CAX1+BX2=C
24 23 8 elrab2 XLXPAX1+BX2=C
25 24 a1i ABCA0B0R+0DXLXPAX1+BX2=C
26 17 25 anbi12d ABCA0B0R+0DX0˙SRXLXpP|p12+p22=R2XPAX1+BX2=C
27 18 oveq1d p=Xp12=X12
28 20 oveq1d p=Xp22=X22
29 27 28 oveq12d p=Xp12+p22=X12+X22
30 29 eqeq1d p=Xp12+p22=R2X12+X22=R2
31 30 elrab XpP|p12+p22=R2XPX12+X22=R2
32 31 anbi1i XpP|p12+p22=R2XPAX1+BX2=CXPX12+X22=R2XPAX1+BX2=C
33 anandi XPX12+X22=R2AX1+BX2=CXPX12+X22=R2XPAX1+BX2=C
34 simpl1 ABCA0B0R+0DXPABC
35 simpl2 ABCA0B0R+0DXPA0B0
36 simpl3l ABCA0B0R+0DXPR+
37 simpl3r ABCA0B0R+0DXP0D
38 1 3 rrx2pxel XPX1
39 1 3 rrx2pyel XPX2
40 38 39 jca XPX1X2
41 40 adantl ABCA0B0R+0DXPX1X2
42 36 37 41 jca31 ABCA0B0R+0DXPR+0DX1X2
43 6 7 itsclc0xyqsolb ABCA0B0R+0DX1X2X12+X22=R2AX1+BX2=CX1=AC+BDQX2=BCADQX1=ACBDQX2=BC+ADQ
44 34 35 42 43 syl21anc ABCA0B0R+0DXPX12+X22=R2AX1+BX2=CX1=AC+BDQX2=BCADQX1=ACBDQX2=BC+ADQ
45 44 pm5.32da ABCA0B0R+0DXPX12+X22=R2AX1+BX2=CXPX1=AC+BDQX2=BCADQX1=ACBDQX2=BC+ADQ
46 33 45 bitr3id ABCA0B0R+0DXPX12+X22=R2XPAX1+BX2=CXPX1=AC+BDQX2=BCADQX1=ACBDQX2=BC+ADQ
47 32 46 bitrid ABCA0B0R+0DXpP|p12+p22=R2XPAX1+BX2=CXPX1=AC+BDQX2=BCADQX1=ACBDQX2=BC+ADQ
48 26 47 bitrd ABCA0B0R+0DX0˙SRXLXPX1=AC+BDQX2=BCADQX1=ACBDQX2=BC+ADQ