Details

Time bar (total: 4.2s)

sample20.0ms

Algorithm
intervals
Results
9.0ms268×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0177
1217
2217

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.2b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.7b
(+ (* a c) (* b d))
27.7b
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

rewrite18.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:
3.0ms
(+ (* c c) (* d d))
3.0ms
(+ (* a c) (* b d))
11.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

series141.0ms

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

simplify131.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0290532
11199475
24872462
35001462

prune206.0ms

Filtered
70 candidates to 57 candidates (81.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 13.5b

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

rewrite37.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))
22.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
0.0ms
(fma a c (* b d))
3.0ms
(/ (fma a c (* b d)) (* (hypot c d) 1))

series383.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(/ 1 (* (hypot c d) 1))
179.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
41.0ms
(fma a c (* b d))
112.0ms
(/ (fma a c (* b d)) (* (hypot c d) 1))

simplify50.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04861191
11654892
25002884

prune297.0ms

Filtered
157 candidates to 77 candidates (49.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 4.3b

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

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

series270.0ms

Counts
3 → 9
Calls
3 calls:
116.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
42.0ms
(fma a c (* b d))
113.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify76.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0297767
11133677
23251677
35001670

prune298.0ms

Filtered
98 candidates to 76 candidates (77.6%)
Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.3b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (- (/ (fma a c (* b d)) (hypot c d))) (- (hypot c d)))
0.5b
(fma a c (* b d))
13.1b
(/ (fma a c (* b d)) (hypot c d))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
507×times-frac
269×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
236×distribute-lft-neg-in distribute-rgt-neg-in
42×neg-mul-1
33×associate-/l*
24×div-inv
13×associate-/r*
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num
neg-sub0 div-sub distribute-frac-neg fma-udef associate-/l/ distribute-neg-frac
Counts
3 → 396
Calls
3 calls:
22.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))

series276.0ms

Counts
3 → 9
Calls
3 calls:
118.0ms
(/ (- (/ (fma a c (* b d)) (hypot c d))) (- (hypot c d)))
41.0ms
(fma a c (* b d))
116.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify127.0ms

Algorithm
egg-herbie
Counts
405 → 405
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
013086232
149165949
250025949

prune985.0ms

Filtered
405 candidates to 260 candidates (64.2%)
Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 4.3b

regimes234.0ms

Accuracy

15.4% (9.2b remaining)

Error of 14.9b against oracle of 5.7b and baseline of 16.5b

bsearch41.0ms

Steps
ItersRangePoint
8
1.695796626129481e+71
2.2080787432878896e+74
2.1850720944349345e+74

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02511
13611
24011
34011

end0.0ms

sample519.0ms

Algorithm
intervals
Results
299.0ms8440×body80valid