Details

Time bar (total: 7.0s)

sample100.0ms

Algorithm
intervals
Results
24.0ms46×body1280valid
19.0ms39×body10240exit
12.0ms44×body640valid
9.0msbody2560valid
7.0ms120×body80valid
5.0ms28×body320valid
2.0ms67×body80nan
2.0ms16×body160valid
1.0msbody640nan
1.0msbody1280nan
0.0msbody320nan
0.0msbody160nan

simplify212.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: 25.6b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (exp z))
0.0b
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
3.0b
(+ (- 1.0 y) (* y (exp z)))
3.0b
(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))))

series273.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* y (exp z))
146.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
33.0ms
(+ (- 1.0 y) (* y (exp z)))
73.0ms
(log (+ (- 1.0 y) (* y (exp z))))

simplify61.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0499918
12002785
25001761

prune332.0ms

Filtered
114 candidates to 91 candidates (79.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1095114
Fresh000
Picked101
Done000
Total1105115

Merged error: 5.9b

Counts
115 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.0ms

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

series291.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ 1.0 (* y (expm1 z)))
35.0ms
(* y (expm1 z))
151.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
72.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify59.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0473718
11893652
25001644

prune276.0ms

Filtered
99 candidates to 78 candidates (78.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New93699
Fresh224
Picked101
Done000
Total968104

Merged error: 5.9b

Counts
104 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
17×*-un-lft-identity
16×add-exp-log add-cube-cbrt associate-*r*
11×times-frac add-cbrt-cube
10×pow1
associate-*l*
add-log-exp
prod-exp
expm1-log1p-u log1p-expm1-u unswap-sqr
log-prod fma-def cbrt-unprod
log-div flip3-+ div-exp pow-prod-down log-pow *-commutative flip-+
cbrt-undiv +-commutative rec-exp 1-exp associate-*r/ rem-log-exp sum-log un-div-inv div-inv
Counts
4 → 91
Calls
4 calls:
3.0ms
(+ 1.0 (* y (expm1 z)))
4.0ms
(* y (expm1 z))
8.0ms
(* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t))
3.0ms
(log (+ 1.0 (* y (expm1 z))))

series304.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ 1.0 (* y (expm1 z)))
36.0ms
(* y (expm1 z))
155.0ms
(* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t))
75.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify64.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0561719
12448623
25001589

prune276.0ms

Filtered
103 candidates to 81 candidates (78.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1030103
Fresh077
Picked011
Done000
Total1038111

Merged error: 5.9b

Counts
111 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
67×add-sqr-sqrt
65×add-cube-cbrt *-un-lft-identity
24×pow1
20×add-exp-log associate-/r*
17×log-pow
13×add-cbrt-cube
div-exp
div-inv associate-/l*
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
log-prod associate-*r* associate-*l*
log-div rec-exp frac-2neg 1-exp clear-num
pow-flip flip3-+ rem-log-exp pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ inv-pow unswap-sqr
Counts
4 → 159
Calls
4 calls:
4.0ms
(* y (expm1 z))
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))))

series406.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* y (expm1 z))
200.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
79.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
75.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify95.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07231701
134511541
250021448

prune330.0ms

Filtered
171 candidates to 102 candidates (59.6%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1683171
Fresh156
Picked011
Done011
Total16910179

Merged error: 5.9b

Counts
179 → 10

regimes314.0ms

Accuracy

8.6% (6.7b remaining)

Error of 11.1b against oracle of 4.4b and baseline of 11.8b

bsearch426.0ms

Steps
ItersRangePoint
9
1.2573898009304202e+60
3.5147876040828643e+68
3.455676482898611e+68
10
0.4751518629468822
14896478692.168556
0.509833754303126
10
-1.7786299918085942e-77
-3.7513271124353733e-87
-2.3371547418121854e-79
9
-10692105538175.213
-83862155.37710363
-2045829589.788266

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05550
15550

end0.0ms

sample3.1s

Algorithm
intervals
Results
758.0ms1426×body1280valid
742.0ms1497×body10240exit
469.0ms1622×body640valid
217.0ms3526×body80valid
173.0ms927×body320valid
92.0ms2450×body80nan
85.0ms71×body2560valid
54.0ms273×body640nan
51.0ms459×body160valid
36.0ms109×body1280nan
24.0ms182×body320nan
10.0ms117×body160nan