Details

Time bar (total: 9.4s)

sample119.0ms

Algorithm
intervals
Results
31.0ms47×body1280valid
26.0ms57×body640valid
9.0ms101×body80valid
9.0ms32×body320valid
6.0ms91×body80nan
5.0msbody2560valid
4.0ms14×body640nan
4.0ms51×body80overflowed
3.0ms16×body160valid
2.0ms10×body320nan
2.0msbody1280nan
1.0msbody160nan

simplify220.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.9b

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

rewrite55.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))
22.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
8.0ms
(log (+ (- 1.0 y) (* y (exp z))))
15.0ms
(+ (- 1.0 y) (* y (exp z)))

series279.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0499918
12002785
25001761

prune373.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 3.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

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

series353.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
37.0ms
(* y (expm1 z))
158.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
78.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify81.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07462869
127691983
250011785

prune382.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 2.9b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
94×log-pow
81×*-un-lft-identity
78×times-frac
74×pow1
59×add-sqr-sqrt
57×add-cube-cbrt
40×distribute-rgt-out
32×distribute-lft-out
26×sqrt-pow1 pow1/2 associate-/l*
12×log-prod
10×add-exp-log
log-div distribute-lft1-in sqrt-div distribute-rgt1-in add-cbrt-cube
sqrt-prod
flip3-+ flip-+
expm1-log1p-u count-2 div-sub log1p-expm1-u add-log-exp
associate-*r* associate-*l* associate-/r*
associate-+l- associate-+r- rem-log-exp associate-/l/
cbrt-undiv frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 189
Calls
4 calls:
3.0ms
(* y (expm1 z))
29.0ms
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
2.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
3.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

series2.3s

Counts
4 → 12
Calls
4 calls:
39.0ms
(* y (expm1 z))
1.6s
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
335.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
338.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012092963
150012509

prune617.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 2.4b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t)))
0.0b
(* y (expm1 z))
0.1b
(* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t))
2.7b
(log (+ 1.0 (* y (expm1 z))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
18×*-un-lft-identity
17×add-cube-cbrt
16×add-exp-log 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-neg prod-diff cbrt-unprod
log-div div-exp pow-prod-down log-pow *-commutative
cbrt-undiv sub-neg rec-exp flip3-- flip3-+ diff-log 1-exp associate-*r/ rem-log-exp un-div-inv flip-- flip-+ div-inv
Counts
4 → 95
Calls
4 calls:
6.0ms
(- x (* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t)))
3.0ms
(* y (expm1 z))
9.0ms
(* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t))
2.0ms
(log (+ 1.0 (* y (expm1 z))))

series344.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- x (* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t)))
37.0ms
(* y (expm1 z))
157.0ms
(* (log (+ 1.0 (* y (expm1 z)))) (/ 1 t))
70.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify68.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0598881
12528770
25001730

prune323.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 2.4b

regimes217.0ms

Accuracy

35.1% (5.0b remaining)

Error of 8.7b against oracle of 3.7b and baseline of 11.4b

bsearch163.0ms

Steps
ItersRangePoint
8
7.828017428086319e-118
4.340545787691401e-113
7.618234992760663e-115
6
-7.651541911375171e-102
-5.255445760343639e-103
-7.434217587337029e-102

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03214
13214

end0.0ms

sample3.2s

Algorithm
intervals
Results
993.0ms1477×body1280valid
594.0ms1474×body640valid
318.0ms3572×body80valid
260.0ms961×body320valid
152.0ms2452×body80nan
109.0ms1512×body80overflowed
107.0ms74×body2560valid
81.0ms268×body640nan
80.0ms465×body160valid
47.0ms210×body320nan
46.0ms107×body1280nan
14.0ms103×body160nan