Details

Time bar (total: 10.6s)

sample104.0ms

Algorithm
intervals
Results
25.0ms46×body1280valid
20.0ms43×body10240exit
13.0ms45×body640valid
7.0msbody2560valid
6.0ms111×body80valid
5.0ms34×body320valid
2.0ms71×body80nan
2.0ms16×body160valid
2.0msbody640nan
1.0msbody1280nan
1.0msbody320nan
0.0msbody160nan

simplify217.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: 25.5b

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.8b
(+ (- 1.0 y) (* y (exp z)))
1.9b
(log (+ (- 1.0 y) (* y (exp z))))

rewrite127.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:
12.0ms
(* y (exp z))
56.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
36.0ms
(+ (- 1.0 y) (* y (exp z)))
20.0ms
(log (+ (- 1.0 y) (* y (exp z))))

series291.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0499918
12002785
25001761

prune358.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 5.4b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (expm1 z))
0.0b
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
0.0b
(/ (log (+ 1.0 (* y (expm1 z)))) t)
3.0b
(log (+ 1.0 (* y (expm1 z))))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
59×*-un-lft-identity
57×add-cube-cbrt
49×times-frac
48×prod-diff
20×pow1
14×log-pow
add-exp-log
add-cbrt-cube
log-div add-log-exp
expm1-log1p-u div-sub log1p-expm1-u div-inv associate-/l*
log-prod flip3-+ fma-neg associate-*r* associate-*l* associate-/r* flip-+
associate--r- difference-of-squares
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp rem-log-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 141
Calls
4 calls:
7.0ms
(* y (expm1 z))
16.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
16.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
4.0ms
(log (+ 1.0 (* y (expm1 z))))

series358.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* y (expm1 z))
84.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
155.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
77.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify76.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
07462869
127691983
250011785

prune351.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.3b

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.0b
(log (sqrt (+ 1.0 (* y (expm1 z)))))
3.0b
(log (sqrt (+ 1.0 (* y (expm1 z)))))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
94×log-pow
80×*-un-lft-identity
78×times-frac
73×pow1
57×add-sqr-sqrt
56×add-cube-cbrt
40×distribute-rgt-out
32×distribute-lft-out
27×sqrt-pow1 pow1/2
26×associate-/l*
12×log-prod
10×sqrt-div
sqrt-prod
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-/r*
associate-+l- associate-+r- rem-log-exp associate-/l/
cbrt-undiv rem-sqrt-square frac-2neg div-exp clear-num div-inv
Counts
4 → 186
Calls
4 calls:
6.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
57.0ms
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
5.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
8.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

series2.8s

Counts
4 → 12
Calls
4 calls:
550.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
1.6s
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
351.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
352.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

simplify52.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012603109
150022589

prune602.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.5b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
364×times-frac
216×sqrt-prod
186×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
60×pow1
56×log-pow
32×associate-/r*
13×add-exp-log
11×add-cbrt-cube
10×div-inv associate-/l*
log-prod
cbrt-undiv expm1-log1p-u log-div div-exp log1p-expm1-u add-log-exp
frac-2neg flip3-+ rem-log-exp clear-num flip-+
associate-/r/
Counts
4 → 301
Calls
4 calls:
7.0ms
(/ t (sqrt (log (+ 1.0 (* y (expm1 z))))))
18.0ms
(/ (sqrt (log (+ 1.0 (* y (expm1 z))))) (/ t (sqrt (log (+ 1.0 (* y (expm1 z)))))))
4.0ms
(log (+ 1.0 (* y (expm1 z))))
4.0ms
(log (+ 1.0 (* y (expm1 z))))

series528.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(/ t (sqrt (log (+ 1.0 (* y (expm1 z))))))
167.0ms
(/ (sqrt (log (+ 1.0 (* y (expm1 z))))) (/ t (sqrt (log (+ 1.0 (* y (expm1 z)))))))
74.0ms
(log (+ 1.0 (* y (expm1 z))))
80.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify134.0ms

Algorithm
egg-herbie
Counts
313 → 313
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
09386143
146215519
250015513

prune688.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.5b

regimes329.0ms

Accuracy

39.7% (4.7b remaining)

Error of 8.4b against oracle of 3.7b and baseline of 11.5b

bsearch138.0ms

Steps
ItersRangePoint
8
2.154642011990829e-105
1.2294377081901462e-100
1.5524150020171308e-104
7
-3.7288871600754755e-81
-2.016647678620738e-83
-4.412489822281961e-82

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04832
14832

end0.0ms

sample3.1s

Algorithm
intervals
Results
747.0ms1444×body1280valid
691.0ms1466×body10240exit
434.0ms1560×body640valid
207.0ms3496×body80valid
161.0ms958×body320valid
99.0ms78×body2560valid
88.0ms2501×body80nan
56.0ms495×body160valid
48.0ms255×body640nan
28.0ms101×body1280nan
24.0ms204×body320nan
9.0ms90×body160nan