Details

Time bar (total: 11.9s)

sample107.0ms

Algorithm
intervals
Results
30.0ms46×body1280valid
19.0ms35×body10240exit
12.0ms42×body640valid
7.0ms114×body80valid
7.0ms37×body320valid
3.0msbody2560valid
3.0ms76×body80nan
3.0ms14×body640nan
2.0ms16×body160valid
1.0msbody1280nan
1.0msbody320nan
1.0msbody160nan

simplify247.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0207
1357
2537
3817
41217
52507
63147
75327
89087
913977
1015517
1118867
1245457
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: 23.5b

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)
2.6b
(log (+ (- 1.0 y) (* y (exp z))))
2.7b
(+ (- 1.0 y) (* y (exp z)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity
27×add-sqr-sqrt
23×add-cube-cbrt
12×times-frac
11×pow1 associate-+l+
10×add-exp-log
prod-diff add-log-exp
add-cbrt-cube distribute-lft-out
log-prod associate-*l*
fma-def log-pow distribute-lft-out--
expm1-log1p-u log-div log1p-expm1-u associate-/l*
flip3-+ associate-*r* associate-/r* flip-+
div-sub prod-exp sum-log
cbrt-undiv +-commutative associate-+l- sub-neg frac-2neg diff-log div-exp rem-log-exp pow-prod-down clear-num *-commutative cbrt-unprod div-inv difference-of-squares unswap-sqr
Counts
4 → 111
Calls
4 calls:
5.0ms
(* y (exp z))
15.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
11.0ms
(log (+ (- 1.0 y) (* y (exp z))))
11.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))))
36.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify66.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0496959
11999815
25002791

prune290.0ms

Filtered
123 candidates to 92 candidates (74.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1167123
Fresh000
Picked101
Done000
Total1177124

Merged error: 4.3b

Counts
124 → 7

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* y (expm1 z))
0.0b
(/ (log (+ 1.0 (* y (expm1 z)))) t)
3.6b
(log (+ 1.0 (* y (expm1 z))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
17×add-sqr-sqrt
15×add-cube-cbrt
12×times-frac
10×pow1
add-exp-log
add-cbrt-cube
log-prod log-pow
log-div associate-*l* associate-/l*
expm1-log1p-u associate-*r* associate-/r* log1p-expm1-u add-log-exp
flip3-+ div-sub flip-+ distribute-lft-out
cbrt-undiv frac-2neg div-exp rem-log-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
3 → 73
Calls
3 calls:
3.0ms
(* y (expm1 z))
11.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
6.0ms
(log (+ 1.0 (* y (expm1 z))))

series271.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(* y (expm1 z))
152.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
77.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify48.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0424641
11690586
25002576

prune195.0ms

Filtered
82 candidates to 62 candidates (75.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New78482
Fresh336
Picked101
Done000
Total82789

Merged error: 4.2b

Counts
89 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 (* y (expm1 z))))
0.0b
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
3.6b
(log (sqrt (+ 1.0 (* y (expm1 z)))))
3.6b
(log (sqrt (+ 1.0 (* y (expm1 z)))))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
94×log-pow
92×*-un-lft-identity
78×times-frac
73×pow1
62×add-sqr-sqrt
56×add-cube-cbrt
40×distribute-rgt-out
38×distribute-lft-out
27×sqrt-pow1 pow1/2
26×associate-/l*
16×log-prod
15×sqrt-prod
10×sqrt-div
add-exp-log log-div distribute-lft1-in distribute-rgt1-in
flip3-+ add-cbrt-cube flip-+
expm1-log1p-u count-2 div-sub log1p-expm1-u add-log-exp
associate-*l* associate-/r*
associate-+l- associate-+r- rem-log-exp hypot-def associate-/l/
cbrt-undiv rem-sqrt-square frac-2neg div-exp clear-num div-inv unswap-sqr
Counts
4 → 194
Calls
4 calls:
7.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
26.0ms
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
7.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
7.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

series2.5s

Counts
4 → 12
Calls
4 calls:
380.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
1.5s
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
349.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
339.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

simplify69.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
012543131
150012623

prune524.0ms

Filtered
206 candidates to 122 candidates (59.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2015206
Fresh246
Picked101
Done000
Total2049213

Merged error: 3.4b

Counts
213 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 (* y (expm1 z))))
0.0b
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (* 1/2 (log (+ 1.0 (* y (expm1 z)))))) t)
3.6b
(log (+ 1.0 (* y (expm1 z))))
3.6b
(log (sqrt (+ 1.0 (* y (expm1 z)))))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
71×*-un-lft-identity
48×log-pow
42×times-frac
36×pow1
33×add-sqr-sqrt
27×add-cube-cbrt
26×distribute-lft-out
24×distribute-rgt-out
18×pow1/2
16×associate-*r*
14×sqrt-pow1 associate-/l*
13×log-prod
11×associate-*l*
10×sqrt-prod
add-exp-log
log-div sqrt-div add-cbrt-cube
flip3-+ flip-+
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r*
associate-+l- div-sub rem-log-exp hypot-def associate-/l/
cbrt-undiv rem-sqrt-square frac-2neg div-exp clear-num div-inv unswap-sqr
Counts
4 → 139
Calls
4 calls:
7.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
29.0ms
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (* 1/2 (log (+ 1.0 (* y (expm1 z)))))) t)
7.0ms
(log (+ 1.0 (* y (expm1 z))))
7.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

series2.5s

Counts
4 → 12
Calls
4 calls:
377.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
1.7s
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (* 1/2 (log (+ 1.0 (* y (expm1 z)))))) t)
81.0ms
(log (+ 1.0 (* y (expm1 z))))
361.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

simplify52.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
013372241
150012016

prune424.0ms

Filtered
151 candidates to 98 candidates (64.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1456151
Fresh538
Picked101
Done000
Total1519160

Merged error: 3.4b

Counts
160 → 9

regimes338.0ms

Accuracy

15.4% (6.6b remaining)

Error of 10.5b against oracle of 3.8b and baseline of 11.7b

bsearch468.0ms

Steps
ItersRangePoint
10
5.552852886699997e+156
3.588125464269834e+171
2.18513934236594e+168
9
5.083153231761579e-69
9.114080464594191e-62
1.200322686089934e-65
4
-1.0033589185616838e-167
-5.135396417901946e-168
-6.551981243054993e-168
9
-3.788194238971983e-59
-5.071317957157481e-65
-6.684826227676744e-61

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
087105
187105

end0.0ms

sample3.2s

Algorithm
intervals
Results
766.0ms1431×body1280valid
738.0ms1472×body10240exit
473.0ms1570×body640valid
223.0ms3577×body80valid
173.0ms906×body320valid
118.0ms91×body2560valid
94.0ms2518×body80nan
57.0ms274×body640nan
52.0ms449×body160valid
32.0ms108×body1280nan
27.0ms198×body320nan
11.0ms128×body160nan