Details

Time bar (total: 2.4s)

sample16.0ms

Algorithm
intervals
Results
6.0ms309×body80valid
1.0ms11×body1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1324
2814
31664
42254
52274
62274

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 2.0 (* x 3.0))
0.1b
(* 3.0 (- 2.0 (* x 3.0)))
0.1b
(* (* 3.0 (- 2.0 (* x 3.0))) x)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
prod-diff
associate-*r*
distribute-rgt-in distribute-lft-in add-log-exp
associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sub-neg flip3-- fma-neg flip-- log1p-expm1-u
associate-*l/ *-commutative
diff-log unswap-sqr
Counts
3 → 74
Calls
3 calls:
3.0ms
(- 2.0 (* x 3.0))
9.0ms
(* 3.0 (- 2.0 (* x 3.0)))
12.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)

series206.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- 2.0 (* x 3.0))
64.0ms
(* 3.0 (- 2.0 (* x 3.0)))
99.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)

simplify52.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0253437
11184374
25002369

prune163.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 2.0 (* x 3.0))
0.1b
(* 3.0 (- 2.0 (* x 3.0)))
0.1b
(* (+ (* 3.0 (- 2.0 (* x 3.0))) (* 3.0 (fma (- 3.0) x (* 3.0 x)))) x)
38.3b
(fma (- 3.0) x (* 3.0 x))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
prod-diff
pow1 add-exp-log add-cbrt-cube
associate-*l*
associate-*r* add-log-exp
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg
flip3-- associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
flip3-+ diff-log flip-+ fma-udef distribute-lft-out
Counts
4 → 85
Calls
4 calls:
3.0ms
(- 2.0 (* x 3.0))
9.0ms
(* 3.0 (- 2.0 (* x 3.0)))
16.0ms
(* (+ (* 3.0 (- 2.0 (* x 3.0))) (* 3.0 (fma (- 3.0) x (* 3.0 x)))) x)
0.0ms
(fma (- 3.0) x (* 3.0 x))

series355.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- 2.0 (* x 3.0))
67.0ms
(* 3.0 (- 2.0 (* x 3.0)))
190.0ms
(* (+ (* 3.0 (- 2.0 (* x 3.0))) (* 3.0 (fma (- 3.0) x (* 3.0 x)))) x)
56.0ms
(fma (- 3.0) x (* 3.0 x))

simplify70.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0301618
11365545
25002536

prune256.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 2.0 (* 3.0 x))
0.1b
(* x (fma x (+ (- 3.0) 3.0) (- 2.0 (* 3.0 x))))
0.1b
(* 3.0 (* x (fma x (+ (- 3.0) 3.0) (- 2.0 (* 3.0 x)))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*l* fma-udef
distribute-rgt-in distribute-lft-in add-log-exp
associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u fma-neg prod-diff log1p-expm1-u
*-commutative
sub-neg flip3-- diff-log flip-- unswap-sqr
Counts
3 → 66
Calls
3 calls:
2.0ms
(- 2.0 (* 3.0 x))
3.0ms
(* x (fma x (+ (- 3.0) 3.0) (- 2.0 (* 3.0 x))))
7.0ms
(* 3.0 (* x (fma x (+ (- 3.0) 3.0) (- 2.0 (* 3.0 x)))))

series269.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(- 2.0 (* 3.0 x))
106.0ms
(* x (fma x (+ (- 3.0) 3.0) (- 2.0 (* 3.0 x))))
126.0ms
(* 3.0 (* x (fma x (+ (- 3.0) 3.0) (- 2.0 (* 3.0 x)))))

simplify44.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0259540
11027457
25002424

prune164.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 2.0 (* 3.0 x))
0.1b
(* (* 3.0 x) (fma x (+ (- 3.0) 3.0) (- 2.0 (* 3.0 x))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
fma-neg associate-*r* prod-diff pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u fma-udef log1p-expm1-u
distribute-rgt-in sub-neg flip3-- distribute-lft-in diff-log associate-*l* *-commutative flip--
Counts
2 → 42
Calls
2 calls:
3.0ms
(- 2.0 (* 3.0 x))
7.0ms
(* (* 3.0 x) (fma x (+ (- 3.0) 3.0) (- 2.0 (* 3.0 x))))

series157.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(- 2.0 (* 3.0 x))
122.0ms
(* (* 3.0 x) (fma x (+ (- 3.0) 3.0) (- 2.0 (* 3.0 x))))

simplify44.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0213325
1945269
25002254

prune98.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes32.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0169
1169

end0.0ms

sample348.0ms

Algorithm
intervals
Results
181.0ms9847×body80valid
32.0ms354×body1280valid
18.0ms277×body640valid
7.0ms144×body320valid
2.0ms55×body160valid