Metamath Proof Explorer


Theorem chordthmlem

Description: If M is the midpoint of AB and AQ = BQ, then QMB is a right angle. The proof uses ssscongptld to observe that, since AMQ and BMQ have equal sides, the angles QMB and QMA must be equal. Since they are supplementary, both must be right angles. (Contributed by David Moews, 28-Feb-2017)

Ref Expression
Hypotheses chordthmlem.angdef F = x 0 , y 0 log y x
chordthmlem.A φ A
chordthmlem.B φ B
chordthmlem.Q φ Q
chordthmlem.M φ M = A + B 2
chordthmlem.ABequidistQ φ A Q = B Q
chordthmlem.AneB φ A B
chordthmlem.QneM φ Q M
Assertion chordthmlem φ Q M F B M π 2 π 2

Proof

Step Hyp Ref Expression
1 chordthmlem.angdef F = x 0 , y 0 log y x
2 chordthmlem.A φ A
3 chordthmlem.B φ B
4 chordthmlem.Q φ Q
5 chordthmlem.M φ M = A + B 2
6 chordthmlem.ABequidistQ φ A Q = B Q
7 chordthmlem.AneB φ A B
8 chordthmlem.QneM φ Q M
9 negpitopissre π π
10 2 3 addcld φ A + B
11 10 halfcld φ A + B 2
12 5 11 eqeltrd φ M
13 4 12 subcld φ Q M
14 4 12 8 subne0d φ Q M 0
15 3 12 subcld φ B M
16 5 oveq1d φ M 2 = A + B 2 2
17 12 times2d φ M 2 = M + M
18 2cnd φ 2
19 2ne0 2 0
20 19 a1i φ 2 0
21 10 18 20 divcan1d φ A + B 2 2 = A + B
22 16 17 21 3eqtr3d φ M + M = A + B
23 2 3 3 7 addneintr2d φ A + B B + B
24 22 23 eqnetrd φ M + M B + B
25 24 neneqd φ ¬ M + M = B + B
26 oveq12 M = B M = B M + M = B + B
27 26 anidms M = B M + M = B + B
28 25 27 nsyl φ ¬ M = B
29 28 neqned φ M B
30 29 necomd φ B M
31 3 12 30 subne0d φ B M 0
32 1 13 14 15 31 angcld φ Q M F B M π π
33 9 32 sselid φ Q M F B M
34 33 recnd φ Q M F B M
35 34 coscld φ cos Q M F B M
36 3 12 negsubdi2d φ B M = M B
37 12 12 2 3 addsubeq4d φ M + M = A + B A M = M B
38 22 37 mpbid φ A M = M B
39 36 38 eqtr4d φ B M = A M
40 39 oveq2d φ Q M F B M = Q M F A M
41 40 fveq2d φ cos Q M F B M = cos Q M F A M
42 1 13 14 15 31 cosangneg2d φ cos Q M F B M = cos Q M F B M
43 2 2 3 7 addneintrd φ A + A A + B
44 43 22 neeqtrrd φ A + A M + M
45 44 necomd φ M + M A + A
46 45 neneqd φ ¬ M + M = A + A
47 oveq12 M = A M = A M + M = A + A
48 47 anidms M = A M + M = A + A
49 46 48 nsyl φ ¬ M = A
50 49 neqned φ M A
51 eqidd φ Q M = Q M
52 2 12 subcld φ A M
53 52 absnegd φ A M = A M
54 2 12 negsubdi2d φ A M = M A
55 54 fveq2d φ A M = M A
56 38 fveq2d φ A M = M B
57 53 55 56 3eqtr3d φ M A = M B
58 1 4 12 2 4 12 3 8 50 8 29 51 57 6 ssscongptld φ cos Q M F A M = cos Q M F B M
59 41 42 58 3eqtr3rd φ cos Q M F B M = cos Q M F B M
60 35 59 eqnegad φ cos Q M F B M = 0
61 coseq0negpitopi Q M F B M π π cos Q M F B M = 0 Q M F B M π 2 π 2
62 32 61 syl φ cos Q M F B M = 0 Q M F B M π 2 π 2
63 60 62 mpbid φ Q M F B M π 2 π 2