Details

Time bar (total: 2.2s)

sample29.0ms

Algorithm
intervals
Results
20.0ms335×body80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (46.0ms)

IterNodesCost
0276
1636
21545
33235
44265
55285
66045
78325
814644
920354
1020644
1120644

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* (* x 3.0) x) (* x 4.0))
0.1b
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
0.2b
(* (* x 3.0) x)

rewrite111.0ms

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

series148.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(- (* (* x 3.0) x) (* x 4.0))
40.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
25.0ms
(* (* x 3.0) x)

simplify58.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0306404
11349358
25001342

prune152.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 3.0 (* 12.0 x))
0.1b
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
fma-neg prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- fma-udef
Counts
2 → 30
Calls
2 calls:
3.0ms
(- 3.0 (* 12.0 x))
0.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

series65.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(- 3.0 (* 12.0 x))
26.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

simplify64.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0120170
1350149
21768148
35001131

prune100.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma x (- (* 9.0 x) 12.0) 3.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
1 → 10
Calls
1 calls:
0.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

series34.0ms

Counts
1 → 3
Calls
1 calls:
34.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

simplify82.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
04266
19553
239053
3202953
4500253

prune35.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 3.0 (* 12.0 x))
0.1b
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))
0.1b
(pow (fma (pow x 2) 9.0 (- 3.0 (* 12.0 x))) 3)
12.0b
(cbrt (pow (fma (pow x 2) 9.0 (- 3.0 (* 12.0 x))) 3))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod add-log-exp
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u
pow-unpow fma-neg prod-diff
cube-mult unpow3 sqr-pow
pow-to-exp sub-neg flip3-- pow-pow pow1/3 diff-log pow-exp flip-- rem-cbrt-cube fma-udef rem-cube-cbrt
Counts
4 → 78
Calls
4 calls:
2.0ms
(- 3.0 (* 12.0 x))
0.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))
1.0ms
(pow (fma (pow x 2) 9.0 (- 3.0 (* 12.0 x))) 3)
2.0ms
(cbrt (pow (fma (pow x 2) 9.0 (- 3.0 (* 12.0 x))) 3))

series156.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- 3.0 (* 12.0 x))
25.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))
54.0ms
(pow (fma (pow x 2) 9.0 (- 3.0 (* 12.0 x))) 3)
32.0ms
(cbrt (pow (fma (pow x 2) 9.0 (- 3.0 (* 12.0 x))) 3))

simplify50.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0246554
1879514
25001507

prune203.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes65.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1104

end1.0ms

sample672.0ms

Algorithm
intervals
Results
543.0ms10724×body80valid