Details

Time bar (total: 3.6s)

sample23.0ms

Algorithm
intervals
Results
12.0ms264×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0177
1217
2217

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.0b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.2b
(+ (* a c) (* b d))
23.6b
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

rewrite17.0ms

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

series143.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* c c) (* d d))
33.0ms
(+ (* a c) (* b d))
81.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

simplify139.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0290532
11199475
24872462
35001462

prune187.0ms

Filtered
70 candidates to 57 candidates (81.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New62870
Fresh000
Picked101
Done000
Total63871

Merged error: 16.6b

Counts
71 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
170×add-exp-log
92×prod-exp
63×div-exp
50×add-cbrt-cube
41×1-exp
17×cbrt-unprod
16×cbrt-undiv
15×rec-exp
14×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity times-frac
pow1
associate-*r* associate-*l*
associate-/l*
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
pow-flip frac-2neg pow-prod-down clear-num associate-/r*
frac-times associate-*r/ associate-*l/ *-commutative fma-udef inv-pow unswap-sqr
Counts
4 → 145
Calls
4 calls:
4.0ms
(/ 1 (* (hypot c d) 1))
11.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
1.0ms
(fma a c (* b d))
4.0ms
(/ (fma a c (* b d)) (* (hypot c d) 1))

series384.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(/ 1 (* (hypot c d) 1))
179.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
37.0ms
(fma a c (* b d))
115.0ms
(/ (fma a c (* b d)) (* (hypot c d) 1))

simplify48.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04861191
11654892
25002884

prune243.0ms

Filtered
157 candidates to 77 candidates (49.0%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1516157
Fresh167
Picked011
Done000
Total15213165

Merged error: 7.0b

Counts
165 → 13

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
0.3b
(fma a c (* b d))
16.2b
(/ (fma a c (* b d)) (hypot c d))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
25×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
22×add-exp-log
17×add-cbrt-cube
16×associate-/l*
10×div-exp
cbrt-undiv
prod-exp associate-/r* div-inv
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg 1-exp clear-num cbrt-unprod
fma-udef associate-/l/
Counts
3 → 89
Calls
3 calls:
6.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
1.0ms
(fma a c (* b d))
3.0ms
(/ (fma a c (* b d)) (hypot c d))

series272.0ms

Counts
3 → 9
Calls
3 calls:
120.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
37.0ms
(fma a c (* b d))
114.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify80.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0297767
11133677
23251677
35001670

prune237.0ms

Filtered
98 candidates to 75 candidates (76.5%)
Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New92698
Fresh4711
Picked011
Done011
Total9615111

Merged error: 7.0b

Counts
111 → 15

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (sqrt (hypot c d)))
0.3b
(fma a c (* b d))
8.0b
(* (/ 1 (sqrt (hypot c d))) (/ (fma a c (* b d)) (sqrt (hypot c d))))
8.3b
(/ (fma a c (* b d)) (sqrt (hypot c d)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
106×add-sqr-sqrt
94×times-frac
66×*-un-lft-identity
60×add-cube-cbrt
53×sqrt-prod
32×add-exp-log
22×associate-*r* associate-*l*
20×add-cbrt-cube
15×unswap-sqr
12×associate-/r*
11×div-exp
pow1 prod-exp
cbrt-undiv associate-/l*
expm1-log1p-u cbrt-unprod log1p-expm1-u div-inv add-log-exp
rec-exp pow-flip 1-exp
frac-2neg clear-num
frac-times sqrt-pow1 pow1/2 associate-*r/ pow-prod-down associate-*l/ *-commutative fma-udef inv-pow
Counts
4 → 183
Calls
4 calls:
4.0ms
(/ 1 (sqrt (hypot c d)))
1.0ms
(fma a c (* b d))
17.0ms
(* (/ 1 (sqrt (hypot c d))) (/ (fma a c (* b d)) (sqrt (hypot c d))))
4.0ms
(/ (fma a c (* b d)) (sqrt (hypot c d)))

series427.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(/ 1 (sqrt (hypot c d)))
40.0ms
(fma a c (* b d))
111.0ms
(* (/ 1 (sqrt (hypot c d))) (/ (fma a c (* b d)) (sqrt (hypot c d))))
195.0ms
(/ (fma a c (* b d)) (sqrt (hypot c d)))

simplify73.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05521897
127331667
250021549

prune371.0ms

Filtered
195 candidates to 111 candidates (56.9%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New1932195
Fresh3912
Picked011
Done022
Total19614210

Merged error: 6.0b

Counts
210 → 14

regimes248.0ms

Accuracy

35% (7.4b remaining)

Error of 12.6b against oracle of 5.3b and baseline of 16.6b

bsearch70.0ms

Steps
ItersRangePoint
10
3.4696428002669553e+165
2.173145948567462e+176
2.2145673082307874e+168
6
-1.8873369306133463e+111
-2.950390700731267e+110
-7.490552277624732e+110

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
13014
23014

end0.0ms

sample537.0ms

Algorithm
intervals
Results
312.0ms8497×body80valid