Details

Time bar (total: 1.8s)

sample17.0ms

Algorithm
intervals
Results
9.0ms355×body80valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (13.0ms)

IterNodesCost
0266
1556
21226
32056
42535
53075
63635
74985
89115
911875
1011885
1111885

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 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)

rewrite26.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
associate-*r/ *-commutative
distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ diff-log flip-- flip-+ distribute-lft-out unswap-sqr
Counts
3 → 53
Calls
3 calls:
9.0ms
(- (* (* x 3.0) x) (* x 4.0))
10.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
5.0ms
(* (* x 3.0) x)

series129.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0286367
11258325
25002310

prune114.0ms

Filtered
62 candidates to 40 candidates (64.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
associate-*l* prod-exp
pow1 diff-log unpow2 sqr-pow
pow-to-exp sub-neg flip3-- pow-exp associate--l+ sum-log *-commutative flip-- cbrt-unprod
Counts
2 → 41
Calls
2 calls:
7.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
5.0ms
(* 9.0 (pow x 2))

series46.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
24.0ms
(* 9.0 (pow x 2))

simplify154.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (150.0ms)

IterNodesCost
0193233
1766207
24099201
35003200

prune91.0ms

Filtered
47 candidates to 30 candidates (63.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (* (* 9.0 (fabs x)) (sqrt (pow x 2))) 3.0) (* 12.0 x))
0.1b
(* (* 9.0 (fabs x)) (sqrt (pow x 2)))
18.9b
(sqrt (pow x 2))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
16×sqrt-prod
11×associate-*r*
10×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
unpow-prod-down
rem-sqrt-square
pow-prod-down prod-exp cbrt-unprod unpow2 sqr-pow
diff-log
sub-neg flip3-- sqrt-pow1 pow1/2 associate-*l* associate--l+ sum-log *-commutative flip--
Counts
3 → 61
Calls
3 calls:
9.0ms
(- (+ (* (* 9.0 (fabs x)) (sqrt (pow x 2))) 3.0) (* 12.0 x))
7.0ms
(* (* 9.0 (fabs x)) (sqrt (pow x 2)))
2.0ms
(sqrt (pow x 2))

series145.0ms

Counts
3 → 9
Calls
3 calls:
92.0ms
(- (+ (* (* 9.0 (fabs x)) (sqrt (pow x 2))) 3.0) (* 12.0 x))
41.0ms
(* (* 9.0 (fabs x)) (sqrt (pow x 2)))
12.0ms
(sqrt (pow x 2))

simplify42.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0278431
11174362
25001331

prune165.0ms

Filtered
70 candidates to 49 candidates (70.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
add-log-exp
associate-*r/
distribute-rgt-in sub-neg distribute-lft-in
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
flip3-+ diff-log flip-+
Counts
3 → 58
Calls
3 calls:
4.0ms
(- (* x 3.0) 4.0)
5.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))
10.0ms
(* x (- (* x 3.0) 4.0))

series132.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0267361
11213324
25002323

prune111.0ms

Filtered
67 candidates to 43 candidates (64.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes18.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
0178
1178

end0.0ms

sample387.0ms

Algorithm
intervals
Results
264.0ms10589×body80valid