Details

Time bar (total: 13.8s)

sample54.0ms

Algorithm
intervals
Results
28.0ms265×body80valid

simplify17.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
01115
11713
22113
done2113

prune14.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 28.4b

localize24.0ms

Local error

Found 2 expressions with local error:

0.5b
(+ (* a c) (* b d))
27.8b
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
flip3-+ associate-/r* flip-+ associate-/l*
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/
cbrt-undiv +-commutative fma-def frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 47
Calls
2 calls:
9.0ms
(+ (* a c) (* b d))
72.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

series182.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(+ (* a c) (* b d))
136.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

simplify1.1s

Counts
53 → 53
Iterations

Useful iterations: done (1.1s)

IterNodesCost
089972
1248818
21044749
done5000747

prune331.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 18.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot c d)
0.0b
(fma a c (* b d))
0.2b
(* (/ 1 (hypot c d)) (/ (fma a c (* b d)) (hypot c d)))
17.6b
(/ (fma a c (* b d)) (hypot c d))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
34×times-frac
28×add-exp-log *-un-lft-identity
26×add-cube-cbrt
18×add-cbrt-cube
13×associate-*r* associate-*l*
div-exp
prod-exp
pow1 unswap-sqr
cbrt-undiv
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
associate-/r* div-inv associate-/l*
rec-exp 1-exp
frac-times hypot-udef frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative fma-udef
Counts
4 → 107
Calls
4 calls:
0.0ms
(hypot c d)
0.0ms
(fma a c (* b d))
40.0ms
(* (/ 1 (hypot c d)) (/ (fma a c (* b d)) (hypot c d)))
5.0ms
(/ (fma a c (* b d)) (hypot c d))

series599.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(hypot c d)
58.0ms
(fma a c (* b d))
295.0ms
(* (/ 1 (hypot c d)) (/ (fma a c (* b d)) (hypot c d)))
186.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify3.2s

Counts
119 → 119
Iterations

Useful iterations: 2 (412.0ms)

IterNodesCost
01461955
13841841
226101579
done50001579

prune440.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.5b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot c d)
0.1b
(/ (/ (fma d b (* c a)) (hypot c d)) (hypot c d))
0.5b
(fma d b (* c a))
17.6b
(/ (fma d b (* c a)) (hypot c d))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/l*
11×add-exp-log add-cbrt-cube
associate-/r* div-inv
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg clear-num
hypot-udef fma-udef associate-/l/
Counts
4 → 121
Calls
4 calls:
0.0ms
(hypot c d)
12.0ms
(/ (/ (fma d b (* c a)) (hypot c d)) (hypot c d))
1.0ms
(fma d b (* c a))
10.0ms
(/ (fma d b (* c a)) (hypot c d))

series468.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(hypot c d)
168.0ms
(/ (/ (fma d b (* c a)) (hypot c d)) (hypot c d))
70.0ms
(fma d b (* c a))
144.0ms
(/ (fma d b (* c a)) (hypot c d))

simplify864.0ms

Counts
133 → 133
Iterations

Useful iterations: done (859.0ms)

IterNodesCost
01672544
13632481
217782306
done50022264

prune641.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 1.3b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 1 (/ (hypot c d) (fma d b (* c a)))) (hypot c d))
0.2b
(/ 1 (/ (hypot c d) (fma d b (* c a))))
0.5b
(fma d b (* c a))
17.6b
(/ (hypot c d) (fma d b (* c a)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
480×times-frac
239×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
50×associate-/l*
36×add-exp-log
23×div-inv
22×div-exp
20×add-cbrt-cube
19×associate-/r*
10×cbrt-undiv
pow1 associate-/r/
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
frac-2neg clear-num
pow-flip fma-udef associate-/l/ inv-pow
Counts
4 → 319
Calls
4 calls:
24.0ms
(/ (/ 1 (/ (hypot c d) (fma d b (* c a)))) (hypot c d))
10.0ms
(/ 1 (/ (hypot c d) (fma d b (* c a))))
0.0ms
(fma d b (* c a))
5.0ms
(/ (hypot c d) (fma d b (* c a)))

series575.0ms

Counts
4 → 12
Calls
4 calls:
225.0ms
(/ (/ 1 (/ (hypot c d) (fma d b (* c a)))) (hypot c d))
190.0ms
(/ 1 (/ (hypot c d) (fma d b (* c a))))
48.0ms
(fma d b (* c a))
112.0ms
(/ (hypot c d) (fma d b (* c a)))

simplify865.0ms

Counts
331 → 331
Iterations

Useful iterations: done (854.0ms)

IterNodesCost
04588797
113127962
done50007454

prune981.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 1.3b

regimes271.0ms

Accuracy

27.7% (10.6b remaining)

Error of 13.0b against oracle of 2.4b and baseline of 17.1b

bsearch90.0ms

Steps
ItersRangePoint
8
1.267959276101694e+93
1.0044135886792885e+96
9.741722452995778e+95
7
-1.1968959000014948e+107
-2.2592652681113707e+105
-4.379830691407506e+106

simplify1.6s

Iterations

Useful iterations: 3 (13.0ms)

IterNodesCost
02551
13243
23439
35135
46235
57035
67835
78635
89435
910235
1011035
1111835
1212635
1313435
1414235
1515035
1615835
1716635
1817435
1918235
2019035
2119835
2220635
2321435
2422235
2523035
2623835
2724635
2825435
2926235
3027035
3127835
3228635
3329435
3430235
3531035
3631835
3732635
3833435
3934235
4035035
4135835
4236635
4337435
4438235
4539035
4639835
4740635
4841435
4942235
5043035
5143835
5244635
5345435
5446235
5547035
5647835
5748635
5849435
5950235
6051035
6151835
6252635
6353435
6454235
6555035
6655835
6756635
6857435
6958235
7059035
7159835
7260635
7361435
7462235
7563035
7663835
7764635
7865435
7966235
8067035
8167835
8268635
8369435
8470235
8571035
8671835
8772635
8873435
8974235
9075035
9175835
9276635
9377435
9478235
9579035
9679835
9780635
9881435
9982235
10083035
10183835
10284635
10385435
10486235
10587035
10687835
10788635
10889435
10990235
11091035
11191835
11292635
11393435
11494235
11595035
11695835
11796635
11897435
11998235
12099035
12199835
122100635
123101435
124102235
125103035
126103835
127104635
128105435
129106235
130107035
131107835
132108635
133109435
134110235
135111035
136111835
137112635
138113435
139114235
140115035
141115835
142116635
143117435
144118235
145119035
146119835
147120635
148121435
149122235
150123035
151123835
152124635
153125435
154126235
155127035
156127835
157128635
158129435
159130235
160131035
161131835
162132635
163133435
164134235
165135035
166135835
167136635
168137435
169138235
170139035
171139835
172140635
173141435
174142235
175143035
176143835
177144635
178145435
179146235
180147035
181147835
182148635
183149435
184150235
185151035
186151835
187152635
188153435
189154235
190155035
191155835
192156635
193157435
194158235
195159035
196159835
197160635
198161435
199162235
200163035
201163835
202164635
203165435
204166235
205167035
206167835
207168635
208169435
209170235
210171035
211171835
212172635
213173435
214174235
215175035
216175835
217176635
218177435
219178235
220179035
221179835
222180635
223181435
224182235
225183035
226183835
227184635
228185435
229186235
230187035
231187835
232188635
233189435
234190235
235191035
236191835
237192635
238193435
239194235
240195035
241195835
242196635
243197435
244198235
245199035
246199835
247200635
248201435
249202235
250203035
251203835
252204635
253205435
254206235
255207035
256207835
257208635
258209435
259210235
260211035
261211835
262212635
263213435
264214235
265215035
266215835
267216635
268217435
269218235
270219035
271219835
272220635
273221435
274222235
275223035
276223835
277224635
278225435
279226235
280227035
281227835
282228635
283229435
284230235
285231035
286231835
287232635
288233435
289234235
290235035
291235835
292236635
293237435
294238235
295239035
296239835
297240635
298241435
299242235
300243035
301243835
302244635
303245435
304246235
305247035
306247835
307248635
308249435
309250235
310251035
311251835
312252635
313253435
314254235
315255035
316255835
317256635
318257435
319258235
320259035
321259835
322260635
323261435
324262235
325263035
326263835
327264635
328265435
329266235
330267035
331267835
332268635
333269435
334270235
335271035
336271835
337272635
338273435
339274235
340275035
341275835
342276635
343277435
344278235
345279035
346279835
347280635
348281435
349282235
350283035
351283835
352284635
353285435
354286235
355287035
356287835
357288635
358289435
359290235
360291035
361291835
362292635
363293435
364294235
365295035
366295835
367296635
368297435
369298235
370299035
371299835
372300635
373301435
374302235
375303035
376303835
377304635
378305435
379306235
380307035
381307835
382308635
383309435
384310235
385311035
386311835
387312635
388313435
389314235
390315035
391315835
392316635
393317435
394318235
395319035
396319835
397320635
398321435
399322235
400323035
401323835
402324635
403325435
404326235
405327035
406327835
407328635
408329435
409330235
410331035
411331835
412332635
413333435
414334235
415335035
416335835
417336635
418337435
419338235
420339035
421339835
422340635
423341435
424342235
425343035
426343835
427344635
428345435
429346235
430347035
431347835
432348635
433349435
434350235
435351035
436351835
437352635
438353435
439354235
440355035
441355835
442356635
443357435
444358235
445359035
446359835
447360635
448361435
449362235
450363035
451363835
452364635
453365435
454366235
455367035
456367835
457368635
458369435
459370235
460371035
461371835
462372635
463373435
464374235
465375035
466375835
467376635
468377435
469378235
470379035
471379835
472380635
473381435
474382235
475383035
476383835
477384635
478385435
479386235
480387035
481387835
482388635
483389435
484390235
485391035
486391835
487392635
488393435
489394235
490395035
491395835
492396635
493397435
494398235
495399035
496399835
497400635
498401435
499402235
500403035
501403835
502404635
503405435
504406235
505407035
506407835
507408635
508409435
509410235
510411035
511411835
512412635
513413435
514414235
515415035
516415835
517416635
518417435
519418235
520419035
521419835
522420635
523421435
524422235
525423035
526423835
527424635
528425435
529426235
530427035
531427835
532428635
533429435
534430235
535431035
536431835
537432635
538433435
539434235
540435035
541435835
542436635
543437435
544438235
545439035
546439835
547440635
548441435
549442235
550443035
551443835
552444635
553445435
554446235
555447035
556447835
557448635
558449435
559450235
560451035
561451835
562452635
563453435
564454235
565455035
566455835
567456635
568457435
569458235
570459035
571459835
572460635
573461435
574462235
575463035
576463835
577464635
578465435
579466235
580467035
581467835
582468635
583469435
584470235
585471035
586471835
587472635
588473435
589474235
590475035
591475835
592476635
593477435
594478235
595479035
596479835
597480635
598481435
599482235
600483035
601483835
602484635
603485435
604486235
605487035
606487835
607488635
608489435
609490235
610491035
611491835
612492635
613493435
614494235
615495035
616495835
617496635
618497435
619498235
620499035
621499835
done500035

end0.0ms

sample1.2s

Algorithm
intervals
Results
829.0ms8462×body80valid