Details

Time bar (total: 2.7s)

sample24.0ms

Algorithm
intervals
Results
8.0ms342×body80valid

simplify151.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (74.0ms)

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

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x 3.0) 4.0)
0.1b
(fma x (- (* x 3.0) 4.0) 1.0)
0.1b
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
36×prod-diff
33×*-un-lft-identity
29×add-cube-cbrt
16×associate-*l*
15×associate-*r*
12×fma-neg
unswap-sqr
pow1 add-exp-log *-commutative add-cbrt-cube add-log-exp
expm1-log1p-u log1p-expm1-u
distribute-lft-out-- difference-of-squares
sub-neg flip3-- diff-log pow-prod-down prod-exp flip-- cbrt-unprod fma-udef
Counts
3 → 96
Calls
3 calls:
10.0ms
(- (* x 3.0) 4.0)
1.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
4.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

series147.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(- (* x 3.0) 4.0)
35.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
57.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

simplify71.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0300759
1914491
25002455

prune134.0ms

Filtered
105 candidates to 55 candidates (52.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1023105
Fresh000
Picked101
Done000
Total1033106

Merged error: 0.0b

Counts
106 → 3

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
35×add-sqr-sqrt
28×*-un-lft-identity
24×add-cube-cbrt
10×associate-*l*
associate-*r*
add-log-exp unswap-sqr
fma-neg *-commutative
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u distribute-lft-out-- difference-of-squares
sub-neg flip3-- diff-log flip-- fma-udef
Counts
2 → 67
Calls
2 calls:
8.0ms
(- 3.0 (* 12.0 x))
1.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

series84.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0309717
1938459
25001443

prune100.0ms

Filtered
73 candidates to 33 candidates (45.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New72173
Fresh022
Picked101
Done000
Total73376

Merged error: 0.0b

Counts
76 → 3

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
82×add-sqr-sqrt
73×*-un-lft-identity
72×prod-diff
53×add-cube-cbrt
40×associate-*l*
38×associate-+r+
24×associate-*r*
20×fma-def
15×unswap-sqr
10×add-log-exp
add-exp-log unpow-prod-down *-commutative
distribute-lft-out distribute-lft-out--
pow1 add-cbrt-cube
unpow2 sqr-pow
expm1-log1p-u fma-neg prod-exp log1p-expm1-u
sub-neg diff-log sum-log difference-of-squares
+-commutative pow-to-exp associate-+r- flip3-- flip3-+ pow-prod-down pow-exp flip-- cbrt-unprod flip-+
Counts
3 → 166
Calls
3 calls:
15.0ms
(- 3.0 (* 12.0 x))
24.0ms
(+ (* (pow x 2) 9.0) (- 3.0 (* 12.0 x)))
9.0ms
(* (pow x 2) 9.0)

series111.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(- 3.0 (* 12.0 x))
27.0ms
(+ (* (pow x 2) 9.0) (- 3.0 (* 12.0 x)))
32.0ms
(* (pow x 2) 9.0)

simplify112.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
05501243
11730868
25001847

prune281.0ms

Filtered
175 candidates to 100 candidates (57.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1741175
Fresh022
Picked011
Done000
Total1744178

Merged error: 0b

Counts
178 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
200×add-sqr-sqrt
144×sqrt-prod
123×unswap-sqr
70×fma-def
64×*-un-lft-identity
63×associate-*r*
58×associate-*l*
48×add-cube-cbrt
44×unpow-prod-down
38×associate-+r+
36×prod-diff
32×unpow2 sqr-pow
13×pow1
12×sqrt-pow1
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square
*-commutative
pow-unpow distribute-lft-out
expm1-log1p-u log1p-expm1-u distribute-lft-out--
pow-prod-down prod-exp cbrt-unprod
pow-pow pow1/2 sum-log
+-commutative associate-+r- sub-neg flip3-+ diff-log flip-+
Counts
4 → 266
Calls
4 calls:
65.0ms
(+ (* (sqrt (pow x 2)) (* (sqrt (pow x 2)) 9.0)) (- 3.0 (* 12.0 x)))
20.0ms
(* (sqrt (pow x 2)) (* (sqrt (pow x 2)) 9.0))
3.0ms
(sqrt (pow x 2))
3.0ms
(sqrt (pow x 2))

series91.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* (sqrt (pow x 2)) (* (sqrt (pow x 2)) 9.0)) (- 3.0 (* 12.0 x)))
29.0ms
(* (sqrt (pow x 2)) (* (sqrt (pow x 2)) 9.0))
10.0ms
(sqrt (pow x 2))
21.0ms
(sqrt (pow x 2))

simplify142.0ms

Algorithm
egg-herbie
Counts
278 → 278
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
06621499
121991076
250011053

prune556.0ms

Filtered
278 candidates to 182 candidates (65.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2771278
Fresh112
Picked011
Done101
Total2793282

Merged error: 0b

Counts
282 → 3

regimes16.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
0169
1169

end0.0ms

sample390.0ms

Algorithm
intervals
Results
277.0ms10591×body80valid