Details

Time bar (total: 7.2s)

sample132.0ms

Algorithm
intervals
Results
33.0ms51×body1280valid
26.0ms41×body5120exit
23.0ms57×body640valid
11.0ms107×body80valid
7.0ms29×body320valid
5.0ms95×body80nan
2.0ms13×body160valid
2.0msbody640nan
1.0msbody2560valid
1.0msbody320nan
0.0msbody160nan
0.0msbody1280nan

simplify211.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

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.4b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (exp z))
0.0b
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
1.6b
(+ (- 1.0 y) (* y (exp z)))
1.7b
(log (+ (- 1.0 y) (* y (exp z))))

rewrite29.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))
8.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
7.0ms
(+ (- 1.0 y) (* y (exp z)))
6.0ms
(log (+ (- 1.0 y) (* y (exp z))))

series280.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* y (exp z))
145.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
37.0ms
(+ (- 1.0 y) (* y (exp z)))
74.0ms
(log (+ (- 1.0 y) (* y (exp z))))

simplify60.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0499918
12002785
25001761

prune311.0ms

Filtered
114 candidates to 91 candidates (79.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1086114
Fresh000
Picked101
Done000
Total1096115

Merged error: 5.0b

Counts
115 → 6

localize11.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (log (+ 1.0 (* y (expm1 z)))) t)
4.0b
(log (+ 1.0 (* y (expm1 z))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
pow1
add-exp-log log-pow
log-div add-cbrt-cube associate-/l*
log-prod associate-/r*
expm1-log1p-u flip3-+ div-sub flip-+ log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num div-inv
Counts
2 → 51
Calls
2 calls:
9.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
4.0ms
(log (+ 1.0 (* y (expm1 z))))

series227.0ms

Counts
2 → 6
Calls
2 calls:
147.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
80.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify39.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0360551
11312506
25002493

prune162.0ms

Filtered
57 candidates to 46 candidates (80.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New53457
Fresh325
Picked101
Done000
Total57663

Merged error: 5.0b

Counts
63 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ t (log (+ 1.0 (* y (expm1 z)))))
0.1b
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
4.0b
(log (+ 1.0 (* y (expm1 z))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
62×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
21×pow1
20×associate-/r*
17×add-exp-log log-pow
10×add-cbrt-cube
div-exp
div-inv associate-/l*
cbrt-undiv
expm1-log1p-u log-prod log1p-expm1-u add-log-exp
log-div rec-exp frac-2neg 1-exp clear-num
pow-flip flip3-+ rem-log-exp associate-/r/ flip-+ inv-pow
Counts
3 → 139
Calls
3 calls:
3.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
6.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
3.0ms
(log (+ 1.0 (* y (expm1 z))))

series337.0ms

Counts
3 → 9
Calls
3 calls:
189.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
76.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
72.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify71.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06541621
130511467
250021374

prune281.0ms

Filtered
148 candidates to 86 candidates (58.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1453148
Fresh055
Picked011
Done000
Total1459154

Merged error: 5.0b

Counts
154 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (+ 1.0 (* y (expm1 z))))
0.1b
(cbrt (+ 1.0 (* y (expm1 z))))
4.0b
(log (cbrt (+ 1.0 (* y (expm1 z)))))
4.0b
(log (cbrt (+ 1.0 (* y (expm1 z)))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod log-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log
expm1-log1p-u log-div flip3-+ pow1/3 log-pow add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
rem-log-exp
Counts
4 → 70
Calls
4 calls:
2.0ms
(cbrt (+ 1.0 (* y (expm1 z))))
2.0ms
(cbrt (+ 1.0 (* y (expm1 z))))
3.0ms
(log (cbrt (+ 1.0 (* y (expm1 z)))))
3.0ms
(log (cbrt (+ 1.0 (* y (expm1 z)))))

series581.0ms

Counts
4 → 12
Calls
4 calls:
156.0ms
(cbrt (+ 1.0 (* y (expm1 z))))
149.0ms
(cbrt (+ 1.0 (* y (expm1 z))))
139.0ms
(log (cbrt (+ 1.0 (* y (expm1 z)))))
137.0ms
(log (cbrt (+ 1.0 (* y (expm1 z)))))

simplify39.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0318880
11062820
25001794

prune332.0ms

Filtered
82 candidates to 76 candidates (92.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New79382
Fresh257
Picked101
Done011
Total82991

Merged error: 5.0b

Counts
91 → 9

regimes340.0ms

Accuracy

42% (4.1b remaining)

Error of 8.4b against oracle of 4.3b and baseline of 11.4b

bsearch94.0ms

Steps
ItersRangePoint
8
-1.0323301464746194e-49
-1.8237789437890818e-53
-4.754825993747406e-50

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03630
13630

end0.0ms

sample3.6s

Algorithm
intervals
Results
882.0ms1525×body5120exit
834.0ms1420×body1280valid
562.0ms1629×body640valid
254.0ms3494×body80valid
197.0ms888×body320valid
126.0ms2584×body80nan
108.0ms84×body2560valid
71.0ms515×body160valid
66.0ms266×body640nan
40.0ms113×body1280nan
33.0ms193×body320nan
11.0ms106×body160nan