Details

Time bar (total: 15.8s)

sample27.0ms

Algorithm
intervals
Results
12.0ms271×body80valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01115
11713
22113
done2113

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.7b

localize11.0ms

Local error

Found 2 expressions with local error:

0.8b
(fma a c (* b d))
24.2b
(/ (fma a c (* b d)) (fma c c (* d d)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
2 → 39
Calls
2 calls:
0.0ms
(fma a c (* b d))
6.0ms
(/ (fma a c (* b d)) (fma c c (* d d)))

series178.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(fma a c (* b d))
128.0ms
(/ (fma a c (* b d)) (fma c c (* d d)))

simplify2.5s

Counts
45 → 45
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
064725
1101714
2249622
3725622
42204622
done5001622

prune203.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 16.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (hypot c d))
0.3b
(* (/ 1 (hypot c d)) (/ (fma a c (* b d)) (hypot c d)))
0.8b
(fma a c (* b d))
15.7b
(/ (fma a c (* b d)) (hypot c d))

rewrite45.0ms

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

series562.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(/ 1 (hypot c d))
259.0ms
(* (/ 1 (hypot c d)) (/ (fma a c (* b d)) (hypot c d)))
66.0ms
(fma a c (* b d))
152.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify3.6s

Counts
142 → 142
Iterations

Useful iterations: done (3.6s)

IterNodesCost
01532192
13512009
210951759
339691759
done50001726

prune547.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 6.5b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot c d)
0.1b
(/ (/ (fma a c (* b d)) (hypot c d)) (hypot c d))
0.8b
(fma a c (* b d))
15.7b
(/ (fma a c (* b d)) (hypot c d))

rewrite24.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)
13.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (hypot c d))
0.0ms
(fma a c (* b d))
6.0ms
(/ (fma a c (* b d)) (hypot c d))

series429.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(hypot c d)
160.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (hypot c d))
64.0ms
(fma a c (* b d))
133.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify2.0s

Counts
133 → 133
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01672544
13332481
27142298
320502244
done50002182

prune581.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 6.5b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 1 (/ (hypot c d) (fma a c (* b d)))) (hypot c d))
0.2b
(/ 1 (/ (hypot c d) (fma a c (* b d))))
0.8b
(fma a c (* b d))
15.8b
(/ (hypot c d) (fma a c (* b d)))

rewrite93.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:
45.0ms
(/ (/ 1 (/ (hypot c d) (fma a c (* b d)))) (hypot c d))
22.0ms
(/ 1 (/ (hypot c d) (fma a c (* b d))))
0.0ms
(fma a c (* b d))
6.0ms
(/ (hypot c d) (fma a c (* b d)))

series669.0ms

Counts
4 → 12
Calls
4 calls:
275.0ms
(/ (/ 1 (/ (hypot c d) (fma a c (* b d)))) (hypot c d))
196.0ms
(/ 1 (/ (hypot c d) (fma a c (* b d))))
57.0ms
(fma a c (* b d))
141.0ms
(/ (hypot c d) (fma a c (* b d)))

simplify1.7s

Counts
331 → 331
Iterations

Useful iterations: done (1.7s)

IterNodesCost
04588797
110137708
219017150
done50006968

prune701.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 6.5b

regimes257.0ms

Accuracy

35.7% (7.0b remaining)

Error of 13.0b against oracle of 6.0b and baseline of 16.9b

bsearch97.0ms

Steps
ItersRangePoint
9
5.148798436504621e+206
6.633447625029813e+211
1.0368644268796637e+207
10
-3.1661596442426373e+173
-4.4874797001979404e+160
-1.2861841180889815e+163

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02035
12435
done2435

end0.0ms

sample1.5s

Algorithm
intervals
Results
1.0s8494×body80valid