Details

Time bar (total: 1.8s)

sample16.0ms

Algorithm
intervals
Results
9.0ms347×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

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.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)
6.0ms
(* x (- (* x 3.0) 4.0))
8.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

series130.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0267361
11213324
25001323

prune123.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

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

rewrite13.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:
6.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
5.0ms
(* 9.0 (pow x 2))

series51.0ms

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

simplify157.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (152.0ms)

IterNodesCost
0193233
1766207
24099201
35003200

prune91.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

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

series49.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(- (+ (* (* x 9.0) (pow x (/ 2 2))) 3.0) (* 12.0 x))
25.0ms
(* (* x 9.0) (pow x (/ 2 2)))

simplify42.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0243255
11023223
25001210

prune83.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.0ms

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

series190.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(- (+ (* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2))) 3.0) (* 12.0 x))
45.0ms
(* (cbrt 9.0) (pow x 2))
91.0ms
(* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2)))

simplify45.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0294646
11211515
25001469

prune145.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes19.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 (0.0ms)

IterNodesCost
0186
1236
2236

end0.0ms

sample386.0ms

Algorithm
intervals
Results
273.0ms10696×body80valid