Details

Time bar (total: 8.7s)

sample104.0ms

Algorithm
intervals
Results
30.0ms62×body10240exit
19.0ms35×body1280valid
14.0ms49×body640valid
7.0ms121×body80valid
7.0ms35×body320valid
3.0ms78×body80nan
3.0msbody2560valid
2.0ms17×body160valid
1.0msbody640nan
1.0msbody320nan
1.0msbody1280nan
0.0msbody160nan

simplify222.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0207
1357
2537
3817
41217
52507
63147
75327
89087
913977
1015537
1118927
1246827
1350017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 23.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (exp z))
0.0b
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
2.1b
(log (+ (- 1.0 y) (* y (exp z))))
3.1b
(+ (- 1.0 y) (* y (exp z)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×*-un-lft-identity
23×add-cube-cbrt
12×times-frac
11×pow1 associate-+l+
prod-diff add-log-exp
add-exp-log add-cbrt-cube
fma-def log-pow
expm1-log1p-u log-div log1p-expm1-u associate-/l*
log-prod flip3-+ associate-*r* associate-*l* associate-/r* flip-+
div-sub sum-log
cbrt-undiv +-commutative associate-+l- sub-neg frac-2neg diff-log div-exp rem-log-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 102
Calls
4 calls:
5.0ms
(* y (exp z))
23.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
12.0ms
(log (+ (- 1.0 y) (* y (exp z))))
16.0ms
(+ (- 1.0 y) (* y (exp z)))

series291.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* y (exp z))
157.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
77.0ms
(log (+ (- 1.0 y) (* y (exp z))))
35.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify58.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0499918
12002785
25001761

prune351.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 5.3b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
3.6b
(log (+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y)))
11.2b
(+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
cbrt-prod add-log-exp
pow1 add-exp-log
expm1-log1p-u log-prod add-cbrt-cube log1p-expm1-u
fma-def
log-div flip3-+ pow1/3 flip-+ fma-udef distribute-lft-out
+-commutative associate-+l+ associate-+r+ rem-log-exp sum-log log-pow
Counts
4 → 62
Calls
4 calls:
0.0ms
(cbrt y)
0.0ms
(cbrt y)
2.0ms
(log (+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y)))
3.0ms
(+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y))

series755.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(cbrt y)
188.0ms
(cbrt y)
278.0ms
(log (+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y)))
112.0ms
(+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y))

simplify35.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0289815
11018694
25002633

prune325.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 5.3b

localize22.0ms

Local error

Found 4 expressions with local error:

3.6b
(log (+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y)))
11.2b
(+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y))
11.2b
(+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y))
11.2b
(+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
10×add-log-exp
fma-def
add-sqr-sqrt add-cube-cbrt
fma-udef
pow1 add-exp-log
expm1-log1p-u log-prod flip3-+ add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
+-commutative associate-+l+ associate-+r+ sum-log
log-div
rem-log-exp log-pow
Counts
4 → 74
Calls
4 calls:
2.0ms
(log (+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y)))
3.0ms
(+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y))
3.0ms
(+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y))
3.0ms
(+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y))

series652.0ms

Counts
4 → 12
Calls
4 calls:
292.0ms
(log (+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y)))
118.0ms
(+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y))
119.0ms
(+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y))
123.0ms
(+ (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt y) (* (cbrt y) (cbrt y))))) (fma y (expm1 z) y))

simplify42.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
02591347
19211103
25001935

prune533.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 5.3b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ 1.0 (pow z 2))
2.3b
(fma 1/2 (/ y (/ 1.0 (pow z 2))) (fma (/ z 1.0) y (log (pow (sqrt 1.0) 2))))
5.8b
(/ y (/ 1.0 (pow z 2)))
6.0b
(/ (fma 1/2 (/ y (/ 1.0 (pow z 2))) (fma (/ z 1.0) y (log (pow (sqrt 1.0) 2)))) t)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
213×times-frac
118×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
48×unpow-prod-down
39×associate-/r*
21×add-exp-log
16×unpow2 sqr-pow
13×add-cbrt-cube
11×div-exp
associate-/l*
div-inv
cbrt-undiv
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
pow-to-exp pow-exp
associate-/r/ fma-udef
Counts
4 → 224
Calls
4 calls:
4.0ms
(/ 1.0 (pow z 2))
0.0ms
(fma 1/2 (/ y (/ 1.0 (pow z 2))) (fma (/ z 1.0) y (log (pow (sqrt 1.0) 2))))
9.0ms
(/ y (/ 1.0 (pow z 2)))
2.0ms
(/ (fma 1/2 (/ y (/ 1.0 (pow z 2))) (fma (/ z 1.0) y (log (pow (sqrt 1.0) 2)))) t)

series428.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1.0 (pow z 2))
137.0ms
(fma 1/2 (/ y (/ 1.0 (pow z 2))) (fma (/ z 1.0) y (log (pow (sqrt 1.0) 2))))
38.0ms
(/ y (/ 1.0 (pow z 2)))
221.0ms
(/ (fma 1/2 (/ y (/ 1.0 (pow z 2))) (fma (/ z 1.0) y (log (pow (sqrt 1.0) 2)))) t)

simplify91.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
07661970
132561759
250011750

prune885.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 5.2b

regimes524.0ms

Accuracy

76.6% (4.0b remaining)

Error of 8.5b against oracle of 4.6b and baseline of 21.5b

bsearch155.0ms

Steps
ItersRangePoint
8
3.7682752778021148e-62
1.3117471561541868e-59
1.0673077358209968e-59
8
-1.3142528534888108e-15
-1.2804377133427356e-18
-3.2580599270527733e-16

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04426
14426

end0.0ms

sample3.1s

Algorithm
intervals
Results
758.0ms1419×body1280valid
748.0ms1499×body10240exit
474.0ms1589×body640valid
221.0ms3571×body80valid
176.0ms939×body320valid
95.0ms2510×body80nan
79.0ms61×body2560valid
51.0ms257×body640nan
49.0ms454×body160valid
36.0ms117×body1280nan
27.0ms208×body320nan
9.0ms107×body160nan