Details

Time bar (total: 2.3s)

sample27.0ms

Algorithm
intervals
Results
19.0ms348×body80valid

simplify87.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (43.0ms)

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

prune9.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.1b
(* (* x 3.0) x)

rewrite110.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))
95.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
7.0ms
(* (* x 3.0) x)

series11.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(- (* (* x 3.0) x) (* x 4.0))
4.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
2.0ms
(* (* x 3.0) x)

simplify49.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0306404
11349358
25001342

prune342.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize9.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)))

rewrite3.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:
2.0ms
(- 3.0 (* 12.0 x))
0.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

series7.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0120170
1350149
21768148
35001131

prune169.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 3.0 (* 12.0 x))
0.0b
(+ (* (pow x 2) 9.0) (- 3.0 (* 12.0 x)))
0.2b
(* (pow x 2) 9.0)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
10×add-log-exp
add-cube-cbrt *-un-lft-identity
add-exp-log associate-*l*
prod-diff
associate-+r+ add-cbrt-cube
unpow-prod-down unswap-sqr
pow1 expm1-log1p-u fma-neg associate-*r* prod-exp log1p-expm1-u
sub-neg diff-log sum-log unpow2 sqr-pow
+-commutative pow-to-exp associate-+r- flip3-- fma-def flip3-+ pow-exp *-commutative flip-- cbrt-unprod flip-+
Counts
3 → 70
Calls
3 calls:
2.0ms
(- 3.0 (* 12.0 x))
7.0ms
(+ (* (pow x 2) 9.0) (- 3.0 (* 12.0 x)))
6.0ms
(* (pow x 2) 9.0)

series11.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(- 3.0 (* 12.0 x))
6.0ms
(+ (* (pow x 2) 9.0) (- 3.0 (* 12.0 x)))
2.0ms
(* (pow x 2) 9.0)

simplify42.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0278352
1935317
25001312

prune344.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x 3.0 (- 4.0))
0.2b
(* (* x 3.0) (fma x 3.0 (- 4.0)))

rewrite8.0ms

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

series10.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(fma x 3.0 (- 4.0))
6.0ms
(* (* x 3.0) (fma x 3.0 (- 4.0)))

simplify128.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0133191
1651159
24174156
35001156

prune155.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes42.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
0104
1104

end0.0ms

sample640.0ms

Algorithm
intervals
Results
518.0ms10757×body80valid