Details

Time bar (total: 9.5s)

sample119.0ms

Algorithm
intervals
Results
26.0ms47×body5120exit
23.0ms39×body1280valid
21.0ms55×body640valid
8.0ms114×body80valid
7.0msbody2560valid
7.0ms32×body320valid
4.0ms84×body80nan
2.0ms12×body160valid
1.0msbody640nan
1.0msbody320nan
1.0msbody1280nan
0.0msbody160nan

simplify215.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: 24.0b

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.7b
(log (+ (- 1.0 y) (* y (exp z))))
2.4b
(+ (- 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)
6.0ms
(log (+ (- 1.0 y) (* y (exp z))))
8.0ms
(+ (- 1.0 y) (* y (exp z)))

series297.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* y (exp z))
158.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
76.0ms
(log (+ (- 1.0 y) (* y (exp z))))
41.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify63.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0499918
12002785
25001761

prune323.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: 4.7b

Counts
115 → 6

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
12×times-frac
10×pow1
add-exp-log
add-cbrt-cube
log-pow
log-div associate-/l*
expm1-log1p-u log-prod associate-*r* associate-*l* associate-/r* log1p-expm1-u add-log-exp
flip3-+ div-sub flip-+
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 → 71
Calls
3 calls:
5.0ms
(* y (expm1 z))
9.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
3.0ms
(log (+ 1.0 (* y (expm1 z))))

series265.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(* y (expm1 z))
154.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
74.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify49.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0429631
11711580
25002571

prune214.0ms

Filtered
80 candidates to 62 candidates (77.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New73780
Fresh415
Picked101
Done000
Total78886

Merged error: 4.6b

Counts
86 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.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:
3.0ms
(* y (expm1 z))
6.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
3.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
3.0ms
(log (+ 1.0 (* y (expm1 z))))

series397.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
07231701
134511541
250011448

prune352.0ms

Filtered
171 candidates to 101 candidates (59.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1674171
Fresh257
Picked101
Done000
Total1709179

Merged error: 4.6b

Counts
179 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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:
3.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
16.0ms
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
3.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
3.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

series2.5s

Counts
4 → 12
Calls
4 calls:
363.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
1.5s
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
345.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
351.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

simplify57.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012603093
150012585

prune514.0ms

Filtered
198 candidates to 121 candidates (61.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1953198
Fresh178
Picked011
Done000
Total19611207

Merged error: 3.5b

Counts
207 → 11

regimes334.0ms

Accuracy

41.5% (4.5b remaining)

Error of 8.5b against oracle of 4.0b and baseline of 11.7b

bsearch71.0ms

Steps
ItersRangePoint
6
-2.2112344662308785e-82
-3.0251522065951844e-83
-1.3110766951155834e-82

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03014
13014

end0.0ms

sample3.5s

Algorithm
intervals
Results
865.0ms1540×body5120exit
832.0ms1448×body1280valid
514.0ms1511×body640valid
252.0ms3549×body80valid
218.0ms970×body320valid
122.0ms2589×body80nan
79.0ms66×body2560valid
64.0ms479×body160valid
64.0ms270×body640nan
40.0ms109×body1280nan
33.0ms190×body320nan
12.0ms115×body160nan