-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser_rabbit_guide.txt
More file actions
282 lines (174 loc) · 9.19 KB
/
Copy pathuser_rabbit_guide.txt
File metadata and controls
282 lines (174 loc) · 9.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
================================================================================
RABBIT GENERATION - USER CONSTRUCTION GUIDE
================================================================================
This guide provides examples of all available geometric constructions you can
input when DDAR reaches a fixed point and prompts for a construction.
--------------------------------------------------------------------------------
GENERAL FORMAT
--------------------------------------------------------------------------------
All constructions follow this pattern:
constructor.construct_METHOD(Point1, Point2, ..., name_param='NewName')
- Points are referenced by their single-letter names (A, B, C, etc.)
- The name parameter varies by construction (see below)
- Some constructions have optional mark_points parameter (set to False by default)
--------------------------------------------------------------------------------
AVAILABLE CONSTRUCTIONS
--------------------------------------------------------------------------------
1. MIDPOINT (2 points)
Constructs the midpoint of a segment.
Syntax: constructor.construct_midpoint(A, B, name='M')
Returns: Point M (midpoint of AB)
Relations: midp M A B
Example: constructor.construct_midpoint(A, B, name='M_AB')
2. ANGLE BISECTOR (3 points)
Constructs the internal angle bisector of an angle.
Syntax: constructor.construct_angle_bisector(A, B, C, pname='D')
Points: A-B-C where B is the vertex
Returns: Point D on segment AC
Relations: col A C D, eqangle A B D D B C
Example: constructor.construct_angle_bisector(A, B, C, pname='D')
3. EXTERNAL ANGLE BISECTOR (3 points)
Constructs the external angle bisector of an angle.
Syntax: constructor.construct_external_angle_bisector(A, B, C, pname='E')
Points: A-B-C where B is the vertex
Returns: Point E on line AC extended
Relations: eqangle, eqratio, col A C E
Example: constructor.construct_external_angle_bisector(A, B, C, pname='E_ext')
4. FOOT (PERPENDICULAR) (3 points)
Constructs the foot of perpendicular from a point to a line.
Syntax: constructor.construct_foot(P, A, B, name='H')
Points: Drop perpendicular from P to line AB
Returns: Point H (foot on line AB)
Relations: perp P H A B, col A B H
Example: constructor.construct_foot(P, A, B, name='H')
5. CIRCLE CENTER (3 points)
Constructs the circumcenter of three points.
Syntax: constructor.construct_circle(A, B, C, cname='O')
Returns: Point O (center of circle through A, B, C)
Relations: circle O A B C, cong O A O B, cong O A O C
Example: constructor.construct_circle(A, B, C, cname='O')
6. INCENTER (3 points)
Constructs the incenter of a triangle.
Syntax: constructor.construct_incenter(A, B, C, name='I')
Returns: Point I (incenter of triangle ABC)
Relations: Angle bisector relations for all three angles
Example: constructor.construct_incenter(A, B, C, name='I')
7. INCENTER2 (3 points)
Constructs the incenter and incircle with tangency points.
Syntax: constructor.construct_incenter2(A, B, C, name='I', mark_points=False)
Returns: Points I, X, Y, Z (incenter and three tangency points)
Relations: Incenter relations plus perpendicularity at tangency points
Example: constructor.construct_incenter2(A, B, C, name='I')
8. EXCENTER (3 points)
Constructs the excenter opposite to the first vertex.
Syntax: constructor.construct_excenter(A, B, C, name='J')
Returns: Point J (excenter opposite A)
Relations: External angle bisector relations
Example: constructor.construct_excenter(A, B, C, name='J')
9. EXCENTER2 (3 points)
Constructs the excenter and excircle with tangency points.
Syntax: constructor.construct_excenter2(A, B, C, name='J', mark_points=False)
Returns: Points J, X, Y, Z (excenter and three tangency points)
Relations: Excenter relations plus perpendicularity at tangency points
Example: constructor.construct_excenter2(A, B, C, name='J')
10. CENTROID (3 points)
Constructs the centroid of a triangle.
Syntax: constructor.construct_centroid(A, B, C, name='G')
Returns: Point G (centroid of triangle ABC)
Relations: Medians and ratio relations (2:1 division)
Example: constructor.construct_centroid(A, B, C, name='G')
11. ORTHOCENTER (3 points)
Constructs the orthocenter of a triangle.
Syntax: constructor.construct_orthocenter(A, B, C, name='H')
Returns: Point H (orthocenter of triangle ABC)
Relations: Altitude relations (perpendicularity)
Example: constructor.construct_orthocenter(A, B, C, name='H')
12. ORTHOCENTER2 (3 points)
Constructs the orthocenter with altitude feet.
Syntax: constructor.construct_orthocenter2(A, B, C, name='H')
Returns: Points H, D, E, F (orthocenter and three altitude feet)
Relations: Orthocenter relations plus feet on sides
Example: constructor.construct_orthocenter2(A, B, C, name='H')
13. MIRROR (2 points)
Constructs the reflection of one point over another.
Syntax: constructor.construct_mirror(A, B, name='A_prime', mark_points=False)
Returns: Point A' (reflection of A over B)
Relations: midp B A A', cong B A B A'
Example: constructor.construct_mirror(A, B, name='A_prime')
14. ON DIAMETER (2 points)
Constructs a point on a circle where AB is a diameter.
Syntax: constructor.construct_on_dia(A, B, name='P')
Returns: Point P such that angle APB = 90°
Relations: perp A P P B
Example: constructor.construct_on_dia(A, B, name='P')
15. INTERSECT LINES (4 points)
Constructs the intersection of two lines.
Syntax: constructor.construct_intersect_lines(A, B, C, D, name='P', mark_points=False)
Points: Line AB intersects line CD
Returns: Point P (intersection)
Relations: col A B P, col C D P
Example: constructor.construct_intersect_lines(A, B, C, D, name='P')
16. REFLECTION (3 points)
Constructs the reflection of a point over a line.
Syntax: constructor.construct_reflection(P, A, B, name1='P_prime')
Points: Reflect P over line AB
Returns: Points P' and H (reflection and foot)
Relations: Reflection symmetry, perpendicularity
Example: constructor.construct_reflection(P, A, B, name1='P_prime')
17. TANGENTS (3 points)
Constructs tangent points from external point to a circle.
Syntax: constructor.construct_tangents(P, O, Q, name1='T1')
Points: From P to circle with center O passing through Q
Returns: Points T1, T2 (two tangent points)
Relations: Perpendicularity at tangent points, equal distances
Example: constructor.construct_tangents(P, O, Q, name1='T1')
--------------------------------------------------------------------------------
TIPS FOR CHOOSING CONSTRUCTIONS
--------------------------------------------------------------------------------
1. Common triangle centers:
- Incenter (I): Angle bisectors meet, useful for angle problems
- Circumcenter (O): Perpendicular bisectors meet, useful for distance/circle problems
- Centroid (G): Medians meet, useful for ratio problems
- Orthocenter (H): Altitudes meet, useful for perpendicularity problems
2. For angle equality goals:
- Try angle bisector constructions
- Try similar triangle constructions (incenter, circumcenter)
3. For perpendicularity goals:
- Try foot construction
- Try orthocenter or altitude constructions
- Try circle with diameter constructions
4. For distance/congruence goals:
- Try midpoint construction
- Try circle/circumcenter construction
- Try reflection/mirror construction
5. For collinearity goals:
- Try line intersection construction
- Check if points lie on special lines (medians, altitudes, etc.)
--------------------------------------------------------------------------------
EXAMPLE WORKFLOW
--------------------------------------------------------------------------------
When DDAR reaches a fixed point, you'll see:
Current problem state:
Points: A, B, C, D
Derived facts: 25
Goals: 1
Available points: A, B, C, D
Example construction format:
constructor.construct_midpoint(A, B, name='M_AB')
...
Enter construction code (or press Enter to skip):
>
At the prompt, type one of the constructions above. For example:
> constructor.construct_foot(D, A, B, name='H')
This will construct the foot of the perpendicular from D to line AB, creating
point H and adding new geometric relations to help DDAR continue.
--------------------------------------------------------------------------------
NOTES
--------------------------------------------------------------------------------
- You can press Enter without typing to skip the construction and let DDAR fail
- Construction names should be unique and descriptive (e.g., 'M_AB' not just 'M')
- If a construction fails (e.g., points are collinear when they shouldn't be),
DDAR will report an error and you can try again on the next rabbit call
- The mark_points parameter controls whether constructed points are drawn;
it's usually set to False in rabbit mode to avoid cluttering the diagram
================================================================================