Details

Time bar (total: 8.1s)

sample112.0ms

Algorithm
intervals
Results
28.0ms50×body1280valid
23.0ms45×body10240exit
14.0ms47×body640valid
7.0ms112×body80valid
5.0ms29×body320valid
4.0msbody2560valid
3.0ms75×body80nan
2.0msbody1280nan
2.0msbody640nan
2.0ms14×body160valid
1.0msbody320nan
0.0msbody160nan

simplify216.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: 26.1b

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

rewrite117.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:
11.0ms
(* y (exp z))
52.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
18.0ms
(log (+ (- 1.0 y) (* y (exp z))))
33.0ms
(+ (- 1.0 y) (* y (exp z)))

series276.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* y (exp z))
160.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
63.0ms
(log (+ (- 1.0 y) (* y (exp z))))
34.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

prune521.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 4.6b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))
2.0b
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
5.8b
(* (pow z 2) y)
7.2b
(/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
52×*-un-lft-identity
50×add-cube-cbrt
39×prod-diff
37×times-frac
11×add-exp-log
associate-*l* add-cbrt-cube
add-log-exp
pow1 expm1-log1p-u unpow-prod-down log1p-expm1-u div-inv unswap-sqr
fma-neg associate-*r* prod-exp associate-/r* associate-/l*
unpow2 difference-of-squares sqr-pow
cbrt-undiv pow-to-exp sub-neg flip3-- frac-2neg diff-log div-exp pow-exp clear-num *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out--
Counts
4 → 127
Calls
4 calls:
12.0ms
(- x (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))
0.0ms
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
11.0ms
(* (pow z 2) y)
5.0ms
(/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t)

series256.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(- x (/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t))
52.0ms
(fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0)))
18.0ms
(* (pow z 2) y)
83.0ms
(/ (fma 0.5 (* (pow z 2) y) (fma 1.0 (* z y) (log 1.0))) t)

simplify71.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05463031
118971985
250011748

prune664.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.5b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
11×add-cube-cbrt
prod-diff
add-exp-log add-cbrt-cube add-log-exp
times-frac fma-neg associate-/r*
pow1 cbrt-undiv expm1-log1p-u diff-log div-exp log1p-expm1-u
sub-neg flip3-- frac-2neg prod-exp clear-num sum-log flip-- cbrt-unprod div-inv associate-/l* associate--r+ distribute-lft-out-- difference-of-squares
Counts
2 → 53
Calls
2 calls:
72.0ms
(- x (+ (* 1.0 (/ (* z y) t)) (/ (log 1.0) t)))
9.0ms
(/ (* z y) t)

series93.0ms

Counts
2 → 6
Calls
2 calls:
75.0ms
(- x (+ (* 1.0 (/ (* z y) t)) (/ (log 1.0) t)))
17.0ms
(/ (* z y) t)

simplify39.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0261704
11021433
25001422

prune234.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 3.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt t)
0.6b
(cbrt t)
0.6b
(cbrt t)
3.4b
(* (/ z (* (cbrt t) (cbrt t))) (/ y (cbrt t)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
28×times-frac
25×add-exp-log
22×add-cube-cbrt *-un-lft-identity associate-*r*
20×cbrt-prod
18×add-cbrt-cube
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*l*
pow1 unswap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3
div-inv
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 100
Calls
4 calls:
1.0ms
(cbrt t)
1.0ms
(cbrt t)
1.0ms
(cbrt t)
41.0ms
(* (/ z (* (cbrt t) (cbrt t))) (/ y (cbrt t)))

series765.0ms

Counts
4 → 12
Calls
4 calls:
357.0ms
(cbrt t)
172.0ms
(cbrt t)
191.0ms
(cbrt t)
43.0ms
(* (/ z (* (cbrt t) (cbrt t))) (/ y (cbrt t)))

simplify54.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0424748
12233609
25001570

prune558.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 3.1b

regimes720.0ms

Accuracy

64.2% (4.7b remaining)

Error of 8.5b against oracle of 3.8b and baseline of 17.0b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03425
13425

end0.0ms

sample3.2s

Algorithm
intervals
Results
770.0ms1424×body1280valid
767.0ms1510×body10240exit
466.0ms1579×body640valid
223.0ms3541×body80valid
176.0ms950×body320valid
95.0ms2496×body80nan
91.0ms71×body2560valid
54.0ms468×body160valid
48.0ms237×body640nan
39.0ms123×body1280nan
29.0ms198×body320nan
12.0ms115×body160nan