Details

Time bar (total: 4.9s)

sample24.0ms

Algorithm
intervals
Results
10.0ms350×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (10.0ms)

IterNodesCost
0316
1926
23096
38805
416305
518725
618865
718865

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (+ y z) (+ x x) (fma t x (* y 5.0)))
0.0b
(fma t x (* y 5.0))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
1.0ms
(fma (+ y z) (+ x x) (fma t x (* y 5.0)))
1.0ms
(fma t x (* y 5.0))

series84.0ms

Counts
2 → 6
Calls
2 calls:
54.0ms
(fma (+ y z) (+ x x) (fma t x (* y 5.0)))
30.0ms
(fma t x (* y 5.0))

simplify27.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
065129
1164113
2648111
35001111

prune77.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (+ y z) (+ x x) (fma 5.0 y (* t x)))
0.0b
(fma 5.0 y (* t x))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
1.0ms
(fma (+ y z) (+ x x) (fma 5.0 y (* t x)))
1.0ms
(fma 5.0 y (* t x))

series89.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(fma (+ y z) (+ x x) (fma 5.0 y (* t x)))
34.0ms
(fma 5.0 y (* t x))

simplify27.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
063128
1162112
2646110
35002110

prune71.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (+ (+ (+ (+ y z) z) y) t))
0.0b
(+ (+ (+ y z) z) y)
0.0b
(+ (+ y z) z)
0.0b
(+ (* x (+ (+ (+ (+ y z) z) y) t)) (* y 5.0))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
23×distribute-lft-out
20×add-log-exp
10×add-sqr-sqrt fma-def sum-log
add-cube-cbrt
associate-*r*
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u associate-+l+ flip3-+ flip-+ log1p-expm1-u
+-commutative associate-*l*
distribute-rgt-in distribute-lft-in associate-*r/
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 89
Calls
4 calls:
14.0ms
(* x (+ (+ (+ (+ y z) z) y) t))
11.0ms
(+ (+ (+ y z) z) y)
6.0ms
(+ (+ y z) z)
15.0ms
(+ (* x (+ (+ (+ (+ y z) z) y) t)) (* y 5.0))

series151.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* x (+ (+ (+ (+ y z) z) y) t))
30.0ms
(+ (+ (+ y z) z) y)
26.0ms
(+ (+ y z) z)
55.0ms
(+ (* x (+ (+ (+ (+ y z) z) y) t)) (* y 5.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0402503
11821449
25001430

prune235.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 4 expressions with local error:

4.8b
(fma (* (* x x) (+ (fma 2 z (* 2 y)) t)) (fma 2 (+ y z) t) (* (* y 5.0) (- (* y 5.0) (* x (+ (+ (+ (+ y z) z) y) t)))))
4.9b
(+ (pow (* x (+ (+ (+ (+ y z) z) y) t)) 3) (pow (* y 5.0) 3))
10.2b
(* (* x x) (+ (fma 2 z (* 2 y)) t))
40.9b
(/ (+ (pow (* x (+ (+ (+ (+ y z) z) y) t)) 3) (pow (* y 5.0) 3)) (fma (* (* x x) (+ (fma 2 z (* 2 y)) t)) (fma 2 (+ y z) t) (* (* y 5.0) (- (* y 5.0) (* x (+ (+ (+ (+ y z) z) y) t))))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
17×add-sqr-sqrt
16×add-cube-cbrt
15×times-frac
11×add-exp-log add-cbrt-cube
pow1
fma-def
distribute-lft-out add-log-exp
sum-cubes associate-/l*
expm1-log1p-u associate-*r* log1p-expm1-u
flip3-+ pow-prod-down prod-exp associate-/r* cbrt-unprod flip-+
associate-*r/ associate-/l/
cbrt-undiv +-commutative distribute-rgt-in cube-mult unpow-prod-down frac-2neg distribute-lft-in unpow3 cube-prod div-exp associate-*l* clear-num sum-log *-commutative fma-udef div-inv unswap-sqr sqr-pow
Counts
4 → 98
Calls
4 calls:
1.0ms
(fma (* (* x x) (+ (fma 2 z (* 2 y)) t)) (fma 2 (+ y z) t) (* (* y 5.0) (- (* y 5.0) (* x (+ (+ (+ (+ y z) z) y) t)))))
17.0ms
(+ (pow (* x (+ (+ (+ (+ y z) z) y) t)) 3) (pow (* y 5.0) 3))
8.0ms
(* (* x x) (+ (fma 2 z (* 2 y)) t))
19.0ms
(/ (+ (pow (* x (+ (+ (+ (+ y z) z) y) t)) 3) (pow (* y 5.0) 3)) (fma (* (* x x) (+ (fma 2 z (* 2 y)) t)) (fma 2 (+ y z) t) (* (* y 5.0) (- (* y 5.0) (* x (+ (+ (+ (+ y z) z) y) t))))))

series2.4s

Counts
4 → 12
Calls
4 calls:
245.0ms
(fma (* (* x x) (+ (fma 2 z (* 2 y)) t)) (fma 2 (+ y z) t) (* (* y 5.0) (- (* y 5.0) (* x (+ (+ (+ (+ y z) z) y) t)))))
1.0s
(+ (pow (* x (+ (+ (+ (+ y z) z) y) t)) 3) (pow (* y 5.0) 3))
49.0ms
(* (* x x) (+ (fma 2 z (* 2 y)) t))
1.1s
(/ (+ (pow (* x (+ (+ (+ (+ y z) z) y) t)) 3) (pow (* y 5.0) 3)) (fma (* (* x x) (+ (fma 2 z (* 2 y)) t)) (fma 2 (+ y z) t) (* (* y 5.0) (- (* y 5.0) (* x (+ (+ (+ (+ y z) z) y) t))))))

simplify91.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
05432376
127122146
250032100

prune678.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes81.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

sample609.0ms

Algorithm
intervals
Results
318.0ms10634×body80valid
13.0ms115×body640valid
12.0ms87×body1280valid
5.0ms58×body320valid
2.0ms38×body160valid