Details

Time bar (total: 3.1s)

sample23.0ms

Algorithm
intervals
Results
10.0ms333×body80valid
0.0msbody640valid
0.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (10.0ms)

IterNodesCost
0316
1926
23096
38805
416305
518725
618865
718865

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite1.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:
0.0ms
(fma t x (* y 5.0))
0.0ms
(fma (+ y z) (+ x x) (fma t x (* y 5.0)))

series83.0ms

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

simplify26.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
065129
1164113
2648111
35001111

prune76.0ms

Pruning

4 alts after pruning (3 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))

rewrite1.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:
0.0ms
(fma (+ y z) (+ x x) (fma 5.0 y (* t x)))
0.0ms
(fma 5.0 y (* t x))

series89.0ms

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

simplify27.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
063128
1162112
2646110
35002110

prune73.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite953.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:
69.0ms
(+ (+ (+ y z) z) y)
635.0ms
(* x (+ (+ (+ (+ y z) z) y) t))
231.0ms
(+ (* x (+ (+ (+ (+ y z) z) y) t)) (* y 5.0))
15.0ms
(+ (+ y z) z)

series156.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (+ (+ y z) z) y)
41.0ms
(* x (+ (+ (+ (+ y z) z) y) t))
56.0ms
(+ (* x (+ (+ (+ (+ y z) z) y) t)) (* y 5.0))
27.0ms
(+ (+ y z) z)

simplify53.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0402503
11821449
25001430

prune235.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
fma-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sum-log
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
+-commutative associate-+l+ flip3-+ flip-+ fma-udef
Counts
3 → 45
Calls
3 calls:
2.0ms
(+ (fma x (fma 2 z y) (* x y)) (* x t))
0.0ms
(fma x (fma 2 z y) (* x y))
11.0ms
(+ (+ (fma x (fma 2 z y) (* x y)) (* x t)) (* y 5.0))

series166.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(+ (fma x (fma 2 z y) (* x y)) (* x t))
57.0ms
(fma x (fma 2 z y) (* x y))
61.0ms
(+ (+ (fma x (fma 2 z y) (* x y)) (* x t)) (* y 5.0))

simplify103.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0222352
1823327
23854313
35001310

prune168.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes92.0ms

Accuracy

0% (0.1b 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

sample637.0ms

Algorithm
intervals
Results
335.0ms10616×body80valid
20.0ms98×body1280valid
11.0ms94×body640valid
6.0ms63×body320valid
2.0ms39×body160valid