Details

Time bar (total: 12.9s)

sample19.0ms

Algorithm
intervals
Results
9.0ms264×body80valid

simplify7.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01115
11713
22113
done2113

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma c c (* d d))
0.5b
(fma a c (* b d))
26.5b
(/ (fma a c (* b d)) (fma c c (* d d)))

rewrite4.0ms

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

series158.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(fma c c (* d d))
37.0ms
(fma a c (* b d))
87.0ms
(/ (fma a c (* b d)) (fma c c (* d d)))

simplify1.7s

Counts
58 → 58
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
073833
1111819
2287707
3804707
42553707
done5000707

prune181.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 18.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series384.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot c d)
183.0ms
(* (/ 1 (hypot c d)) (/ (fma a c (* b d)) (hypot c d)))
44.0ms
(fma a c (* b d))
112.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify3.0s

Counts
119 → 119
Iterations

Useful iterations: 2 (166.0ms)

IterNodesCost
01461955
13601821
210911579
345811579
done50001579

prune320.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 5.9b

localize10.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.5b
(fma a c (* b d))
17.5b
(/ (fma a c (* b d)) (hypot c d))

rewrite12.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)
5.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (hypot c d))
0.0ms
(fma a c (* b d))
2.0ms
(/ (fma a c (* b d)) (hypot c d))

series312.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(hypot c d)
113.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (hypot c d))
36.0ms
(fma a c (* b d))
116.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify1.7s

Counts
133 → 133
Iterations

Useful iterations: 3 (607.0ms)

IterNodesCost
01672544
13382481
28002298
322702244
done50012244

prune406.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 5.8b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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)
16.0ms
(* (/ 1 (hypot c d)) (/ (fma a c (* b d)) (hypot c d)))
0.0ms
(fma a c (* b d))
2.0ms
(/ (fma a c (* b d)) (hypot c d))

series370.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(hypot c d)
177.0ms
(* (/ 1 (hypot c d)) (/ (fma a c (* b d)) (hypot c d)))
35.0ms
(fma a c (* b d))
109.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify3.1s

Counts
119 → 119
Iterations

Useful iterations: 2 (151.0ms)

IterNodesCost
01461955
13601821
210911579
345811579
done50001579

prune317.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 5.8b

regimes203.0ms

Accuracy

37.8% (7.2b remaining)

Error of 13.1b against oracle of 5.9b and baseline of 17.4b

bsearch89.0ms

Steps
ItersRangePoint
11
5.286434132095145e+107
2.6900018818139096e+129
1.8955542797321017e+121
10
-3.4896836630642546e+148
-1.4395777107888637e+138
-6.751507617690198e+142

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02341
12835
done2835

end0.0ms

sample497.0ms

Algorithm
intervals
Results
287.0ms8511×body80valid