File size: 3,020 Bytes
77a0a50
 
 
 
 
 
 
1
2
3
4
5
6
7
8
#!/bin/sh
set -eu
PROOF=${PROOF:-/app/proof.md}
mkdir -p "$(dirname -- "$PROOF")"
cat > "$PROOF" <<'IMO_PROOF_c853e91f1beeaf2169ac7d34ddd7aa840be121107c8cea463d7465ae81dfe3c0'
 First, let $Z$ be the intersection of lines $E F$ and $B C$. From the harmonic relation $(Z D, B C)=-1$, we have $$D G \times D R=D H \times D A=D B \times D C=D Z \times D G,$$ which implies $D Z=D R$. Therefore $R S$ is the reflection of $E F$ with respect to $A H$. Now, let's invert the figure with respect to the circle centered at $D$ with radius $\sqrt{D B \times D C}$, and then reflect it across $A D$. Let the image of a point or figure $X$ after this transformation be denoted by $X^{\prime}$. It can be easily seen that $(A, H),(B, C),(Z, G),(E, F),(S, M)$ are pairs of corresponding points under this transformation. $I$ and $J$ are the intersections of $A G$ with $\odot(A D B)$ and $\odot(A D C)$ respectively, so $I^{\prime}=C H \cap \odot(D H Z)$ and $J^{\prime}=BH\cap \odot(D H Z)$. Also, $L=A G \cap \odot(D E F)$, so $L^{\prime}=\odot(D H Z) \cap E F$, which means $L'$ is the foot of the perpendicular from $H$ to $E F$. Let this point be $X$. Also, if we consider $A_{1}$, the reflection of $A$ across $G$, then $$A F \times A B=A H \times A D=2 A M \times A D=2 A L \times A G=A L \times A A_{1}$$ so $\left(B F L A_{1}\right)$ and $\left(C E L A_{1}\right)$ are sets of concyclic points. Therefore $A_{1}^{\prime}$ maps to $T \equiv \odot(C E X) \cap \odot(B F X)$. Meanwhile, since $A$ is the radical center of $\odot\left(B F L A_{1}\right), \odot\left(C E L A_{1}\right), \odot(B F E C)$, points $A, X, T$ are collinear. Furthermore, by the collinearity of $A, G, A_1$, $(H, Z, D, T)$ is a set of concyclic points.  Therefore, $$ \angle X T C=\angle A E F=\angle A H F=\angle E H X=\angle J^{\prime} H X=\angle J^{\prime} T X $$ so $J^{\prime}, T, C$ are collinear. For similar reasons, $\left(I^{\prime}, T, B\right)$ are also collinear. Therefore, by Pappus's theorem, $B F \cap C E=A, C J^{\prime} \cap B I^{\prime}=T, F J^{\prime} \cap E I^{\prime}=Y$ are collinear. At this point, $K$ is mapped to $Y$ by the transformation, so the four points $H, K, L, D$ are concyclic. $H, K, L, D, A_1, P$ all lie on this circle. Therefore, after the transformation (inversion then reflection), $A, T, Y, X, P^{\prime}$ are all collinear. Now, let $U$ be the foot of the perpendicular from $D$ to $E F$, and let $V$ be the midpoint of $D U$. Then from the harmonic cross-ratio $$X(D U, V \infty)=(A H, S D)=-1$$ it can be seen that $V, X, A$ must be collinear. Therefore, $A, T, X, Y, V, P^{\prime}$ are all collinear. Therefore $V^{\prime}$ must lie on the circle passing through $H, K, L, D, A^{\prime}, P$. Since $V$ is the reflection of $O$ about $A H$, $D, O, V^{\prime}$ is collinear and so is $D, O, P$. Therefore, $P \equiv V^{\prime}$. Thus, from $$ D B \times D C=D O \times D P=D Q \times D C $$ we have $D B=D Q$. This means $A B=A Q$.
IMO_PROOF_c853e91f1beeaf2169ac7d34ddd7aa840be121107c8cea463d7465ae81dfe3c0