Details

Time bar (total: 17.6s)

sample124.0ms

Algorithm
intervals
Results
49.0ms843×body80nan
19.0ms293×body80valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03910
11118
24648
316548
450018

prune14.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma i y (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
0.0b
(+ (fma x (log y) z) (+ t a))
0.0b
(fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))
0.1b
(fma x (log y) z)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
fma-def sum-log distribute-lft-out
+-commutative associate-+l+ associate-+r+ flip3-+ flip-+
Counts
4 → 51
Calls
4 calls:
1.0ms
(fma i y (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
6.0ms
(+ (fma x (log y) z) (+ t a))
1.0ms
(fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))
1.0ms
(fma x (log y) z)

series1.2s

Counts
4 → 12
Calls
4 calls:
691.0ms
(fma i y (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
85.0ms
(+ (fma x (log y) z) (+ t a))
358.0ms
(fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))
51.0ms
(fma x (log y) z)

simplify88.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0209399
1681352
23384347
35001346

prune282.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))))
0.5b
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
0.5b
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
0.5b
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))))
1.0ms
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
1.0ms
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
1.0ms
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))

series2.7s

Counts
4 → 12
Calls
4 calls:
1.1s
(* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))))
544.0ms
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
535.0ms
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
534.0ms
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))

simplify55.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03801678
113571552
250021427

prune469.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize32.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
0.5b
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))
0.5b
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))
0.5b
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 46
Calls
4 calls:
1.0ms
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
4.0ms
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))
4.0ms
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))
4.0ms
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))

series3.8s

Counts
4 → 12
Calls
4 calls:
540.0ms
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
1.1s
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))
1.1s
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))
1.1s
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))

simplify132.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03441376
111061241
249651183
350011183

prune408.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
0.5b
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
0.5b
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))
0.5b
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 48
Calls
4 calls:
1.0ms
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
1.0ms
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
4.0ms
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))
4.0ms
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))

series3.4s

Counts
4 → 12
Calls
4 calls:
511.0ms
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
506.0ms
(cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))
1.2s
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))
1.1s
(cbrt (* (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))) (cbrt (fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a))))))

simplify132.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03441252
111061138
249651090
350011090

prune414.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0.0b

regimes467.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0198
1198

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.5s27886×body80nan
589.0ms9248×body80valid
0.0msbody640valid
0.0msbody320valid