Details

Time bar (total: 7.4s)

sample105.0ms

Algorithm
intervals
Results
24.0ms51×body10240exit
23.0ms43×body1280valid
17.0ms52×body640valid
7.0ms114×body80valid
5.0ms29×body320valid
3.0ms99×body80nan
2.0msbody2560valid
2.0ms11×body640nan
2.0ms18×body160valid
1.0msbody320nan
1.0msbody1280nan
0.0msbody160nan

simplify208.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.7b

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

rewrite57.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)
11.0ms
(log (+ (- 1.0 y) (* y (exp z))))
16.0ms
(+ (- 1.0 y) (* y (exp z)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* y (exp z))
155.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
75.0ms
(log (+ (- 1.0 y) (* y (exp z))))
36.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

prune365.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 3.8b

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
2.4b
(log (+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z)))))
13.9b
(+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt *-un-lft-identity
14×add-cube-cbrt
11×associate-+l+
prod-diff add-log-exp
cbrt-prod
pow1 add-exp-log fma-def
expm1-log1p-u add-cbrt-cube log1p-expm1-u
log-prod
log-div flip3-+ pow1/3 sum-log flip-+
+-commutative associate-+l- sub-neg diff-log rem-log-exp log-pow distribute-lft-out-- difference-of-squares
Counts
4 → 73
Calls
4 calls:
0.0ms
(cbrt y)
0.0ms
(cbrt y)
15.0ms
(log (+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z)))))
34.0ms
(+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))

series491.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt y)
173.0ms
(cbrt y)
87.0ms
(log (+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z)))))
52.0ms
(+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))

simplify49.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0328776
11375565
25002504

prune324.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 3.8b

localize19.0ms

Local error

Found 4 expressions with local error:

2.7b
(log (cbrt (+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))))
2.7b
(log (cbrt (+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))))
13.9b
(+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))
13.9b
(+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt associate-+l+
18×prod-diff
14×add-log-exp
12×log-prod
10×fma-def
pow1 add-exp-log cbrt-prod
expm1-log1p-u log-div cbrt-div flip3-+ sum-log log-pow add-cbrt-cube flip-+ log1p-expm1-u
+-commutative associate-+l- sub-neg pow1/3 diff-log rem-log-exp distribute-lft-out-- difference-of-squares
Counts
4 → 102
Calls
4 calls:
12.0ms
(log (cbrt (+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))))
12.0ms
(log (cbrt (+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))))
20.0ms
(+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))
18.0ms
(+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))

series443.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(log (cbrt (+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))))
165.0ms
(log (cbrt (+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))))
52.0ms
(+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))
60.0ms
(+ (- 1.0 y) (* (* (cbrt y) (cbrt y)) (* (cbrt y) (exp z))))

simplify53.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03331608
112881250
250011106

prune593.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 3.8b

localize13.0ms

Local error

Found 3 expressions with local error:

2.5b
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
5.1b
(/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t)
8.5b
(* (pow z 2) y)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
10×add-exp-log
times-frac
associate-*l*
add-cbrt-cube
unpow-prod-down unswap-sqr
pow1 expm1-log1p-u associate-*r* prod-exp associate-/r* log1p-expm1-u associate-/l* add-log-exp
unpow2 sqr-pow
cbrt-undiv pow-to-exp frac-2neg div-exp pow-exp clear-num *-commutative cbrt-unprod fma-udef div-inv
Counts
3 → 68
Calls
3 calls:
0.0ms
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
2.0ms
(/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t)
6.0ms
(* (pow z 2) y)

series179.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
97.0ms
(/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t)
22.0ms
(* (pow z 2) y)

simplify149.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (141.0ms)

IterNodesCost
0227586
1791528
24529528
35001524

prune254.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 3.8b

regimes441.0ms

Accuracy

73.6% (4.4b remaining)

Error of 9.1b against oracle of 4.7b and baseline of 21.5b

bsearch120.0ms

Steps
ItersRangePoint
5
4.2185849944799077e-221
9.771091612138487e-221
9.274120679861768e-221
7
-91.73841076085421
-0.49115008736797033
-0.4984438493979181

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04632
14632

end0.0ms

sample3.1s

Algorithm
intervals
Results
761.0ms1451×body1280valid
726.0ms1483×body10240exit
450.0ms1536×body640valid
214.0ms3588×body80valid
163.0ms886×body320valid
85.0ms2409×body80nan
85.0ms66×body2560valid
55.0ms500×body160valid
53.0ms259×body640nan
33.0ms112×body1280nan
25.0ms196×body320nan
9.0ms113×body160nan