Details

Time bar (total: 3.8s)

sample23.0ms

Algorithm
intervals
Results
12.0ms271×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: 26.8b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.3b
(+ (* a c) (* b d))
26.3b
(/ (+ (* 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)))

series141.0ms

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

simplify136.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0290532
11199475
24872462
35001462

prune195.0ms

Filtered
70 candidates to 57 candidates (81.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New62870
Fresh000
Picked011
Done000
Total62971

Merged error: 17.2b

Counts
71 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.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))
1.0ms
(fma a c (* b d))
12.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
4.0ms
(/ (fma a c (* b d)) (* (hypot c d) 1))

series372.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ 1 (* (hypot c d) 1))
37.0ms
(fma a c (* b d))
174.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
109.0ms
(/ (fma a c (* b d)) (* (hypot c d) 1))

simplify47.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04861191
11654892
25002884

prune252.0ms

Filtered
157 candidates to 77 candidates (49.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1498157
Fresh527
Picked101
Done101
Total15610166

Merged error: 6.3b

Counts
166 → 10

localize11.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) 1))
0.3b
(fma a c (* b d))
16.9b
(/ (fma a c (* b d)) (hypot c d))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
23×add-exp-log
18×add-cbrt-cube
16×associate-/l*
10×div-exp
cbrt-undiv
pow1 expm1-log1p-u prod-exp associate-/r* log1p-expm1-u div-inv add-log-exp
frac-2neg 1-exp clear-num cbrt-unprod
hypot-udef fma-udef associate-/l/
Counts
4 → 99
Calls
4 calls:
1.0ms
(hypot c d)
9.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))

series308.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0308794
11149701
23275701
35001693

prune276.0ms

Filtered
111 candidates to 89 candidates (80.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1047111
Fresh549
Picked011
Done000
Total10912121

Merged error: 6.2b

Counts
121 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
260×times-frac
124×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
81×add-exp-log
50×div-exp associate-/l*
32×add-cbrt-cube
17×associate-/r*
16×cbrt-undiv
15×1-exp div-inv
14×prod-exp
rec-exp
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/r/ cbrt-unprod
pow-flip fma-udef associate-/l/ inv-pow
Counts
4 → 246
Calls
4 calls:
12.0ms
(/ (/ 1 (/ (hypot c d) (fma a c (* b d)))) (* (hypot c d) 1))
6.0ms
(/ 1 (/ (hypot c d) (fma a c (* b d))))
1.0ms
(fma a c (* b d))
3.0ms
(/ (hypot c d) (fma a c (* b d)))

series417.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
258 → 258
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07952590
136872260
250012098

prune416.0ms

Filtered
258 candidates to 142 candidates (55.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2562258
Fresh2810
Picked101
Done011
Total25911270

Merged error: 6.2b

Counts
270 → 11

regimes189.0ms

Accuracy

35.7% (7.2b remaining)

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

bsearch64.0ms

Steps
ItersRangePoint
7
8.435432277561882e+216
2.1551368363147135e+219
1.1697692174231053e+217
6
-2.0567653167697667e+130
-4.3532079020486055e+129
-2.03697142683815e+130

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
13014
23014

end0.0ms

sample599.0ms

Algorithm
intervals
Results
384.0ms8431×body80valid

Profiling

Loading profile data...