Details

Time bar (total: 2.7s)

sample15.0ms

Algorithm
intervals
Results
6.0ms318×body80valid
2.0ms17×body1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify21.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

localize5.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))) x)
0.1b
(* 3.0 (- 2.0 (* x 3.0)))

rewrite27.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:
4.0ms
(- 2.0 (* x 3.0))
12.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)
9.0ms
(* 3.0 (- 2.0 (* x 3.0)))

series212.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(- 2.0 (* x 3.0))
100.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)
70.0ms
(* 3.0 (- 2.0 (* x 3.0)))

simplify56.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0253437
11184374
25001369

prune158.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (- 6.0 (* 9.0 x)) x)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*l/
expm1-log1p-u flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 22
Calls
1 calls:
8.0ms
(* (- 6.0 (* 9.0 x)) x)

series76.0ms

Counts
1 → 3
Calls
1 calls:
76.0ms
(* (- 6.0 (* 9.0 x)) x)

simplify83.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0117122
1473108
22840104
35002104

prune58.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite28.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*
add-log-exp
associate-*r* pow-prod-down associate-*l/ prod-exp cbrt-unprod
expm1-log1p-u flip3-- fma-neg prod-diff flip-- log1p-expm1-u
associate-*r/ *-commutative
sub-neg diff-log unswap-sqr
Counts
3 → 64
Calls
3 calls:
3.0ms
(- 2.0 (* x 3.0))
11.0ms
(* (- 2.0 (* x 3.0)) x)
12.0ms
(* 3.0 (* (- 2.0 (* x 3.0)) x))

series203.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- 2.0 (* x 3.0))
74.0ms
(* (- 2.0 (* x 3.0)) x)
91.0ms
(* 3.0 (* (- 2.0 (* x 3.0)) x))

simplify46.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0234366
1880311
25001304

prune142.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (* (* 3.0 (fma 3.0 x 2.0)) (- 2.0 (* 3.0 x))) (+ 2.0 (* x 3.0))) x)
0.1b
(* 3.0 (fma 3.0 x 2.0))
0.2b
(* (* 3.0 (fma 3.0 x 2.0)) (- 2.0 (* 3.0 x)))
0.2b
(/ (* (* 3.0 (fma 3.0 x 2.0)) (- 2.0 (* 3.0 x))) (+ 2.0 (* x 3.0)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log add-cbrt-cube
18×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity prod-exp cbrt-unprod
13×pow1 associate-*l*
associate-*r*
cbrt-undiv distribute-rgt-in distribute-lft-in times-frac div-exp prod-diff
pow-prod-down
expm1-log1p-u associate-*r/ associate-/r/ log1p-expm1-u add-log-exp
associate-/r* *-commutative
sub-neg flip3-- flip3-+ flip-- flip-+ fma-udef div-inv associate-/l/ unswap-sqr
frac-2neg associate-*l/ clear-num associate-/l*
Counts
4 → 116
Calls
4 calls:
33.0ms
(* (/ (* (* 3.0 (fma 3.0 x 2.0)) (- 2.0 (* 3.0 x))) (+ 2.0 (* x 3.0))) x)
3.0ms
(* 3.0 (fma 3.0 x 2.0))
11.0ms
(* (* 3.0 (fma 3.0 x 2.0)) (- 2.0 (* 3.0 x)))
15.0ms
(/ (* (* 3.0 (fma 3.0 x 2.0)) (- 2.0 (* 3.0 x))) (+ 2.0 (* x 3.0)))

series665.0ms

Counts
4 → 12
Calls
4 calls:
264.0ms
(* (/ (* (* 3.0 (fma 3.0 x 2.0)) (- 2.0 (* 3.0 x))) (+ 2.0 (* x 3.0))) x)
57.0ms
(* 3.0 (fma 3.0 x 2.0))
143.0ms
(* (* 3.0 (fma 3.0 x 2.0)) (- 2.0 (* 3.0 x)))
201.0ms
(/ (* (* 3.0 (fma 3.0 x 2.0)) (- 2.0 (* 3.0 x))) (+ 2.0 (* x 3.0)))

simplify104.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
05591128
13323889
25001878

prune282.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes25.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample374.0ms

Algorithm
intervals
Results
196.0ms9887×body80valid
32.0ms333×body1280valid
18.0ms257×body640valid
8.0ms149×body320valid
6.0ms64×body160valid