Details

Time bar (total: 2.9s)

sample16.0ms

Algorithm
intervals
Results
8.0ms353×body80valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (11.0ms)

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

prune4.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x 3.0) 4.0)
0.0b
(+ 1.0 (* x (- (* 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))))

rewrite28.0ms

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

series157.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* x 3.0) 4.0)
22.0ms
(+ 1.0 (* x (- (* x 3.0) 4.0)))
62.0ms
(* x (- (* x 3.0) 4.0))
31.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

simplify45.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0296472
11292423
25002422

prune152.0ms

Filtered
85 candidates to 56 candidates (65.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite35.0ms

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

series98.0ms

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

simplify179.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0237299
1891276
24637269
35001269

prune121.0ms

Filtered
61 candidates to 40 candidates (65.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg *-un-lft-identity add-cbrt-cube
distribute-rgt-in associate-+l+ distribute-lft-in
associate-*r* associate-*l*
flip3-- associate-*r/ flip--
+-commutative flip3-+ diff-log pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
3 → 51
Calls
3 calls:
3.0ms
(- (* x 9.0) 12.0)
6.0ms
(+ (* x (- (* x 9.0) 12.0)) 3.0)
11.0ms
(* x (- (* x 9.0) 12.0))

series127.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (* x 9.0) 12.0)
22.0ms
(+ (* x (- (* x 9.0) 12.0)) 3.0)
64.0ms
(* x (- (* x 9.0) 12.0))

simplify109.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0206296
1748265
23793261
35001261

prune99.0ms

Filtered
60 candidates to 39 candidates (65.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (* 12.0 x) 3)
0.3b
(* (* 12.0 x) (* 12.0 x))
2.6b
(- (pow (+ (* 9.0 (pow x 2)) 3.0) 3) (pow (* 12.0 x) 3))
12.7b
(/ (- (pow (+ (* 9.0 (pow x 2)) 3.0) 3) (pow (* 12.0 x) 3)) (+ (* (+ (* 9.0 (pow x 2)) 3.0) (+ (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))) (* (* 12.0 x) (* 12.0 x))))

rewrite221.0ms

Algorithm
rewrite-expression-head
Rules
73×add-sqr-sqrt
46×pow1
40×difference-of-squares
39×times-frac
33×*-un-lft-identity
31×sqr-pow
23×add-cube-cbrt
21×add-exp-log add-cbrt-cube
18×pow-prod-down
13×associate-/l*
11×unpow-prod-down cube-prod
prod-exp cbrt-unprod
add-log-exp
difference-cubes distribute-lft-out--
pow-sqr pow-prod-up
pow-unpow associate-/r*
flip3-- pow-pow pow-plus pow-exp associate-/r/ flip-- associate-/l/ rem-cube-cbrt
cbrt-undiv pow2 cube-mult pow-to-exp sub-neg frac-2neg flip3-+ diff-log unpow3 div-sub swap-sqr div-exp associate-*r* associate-*l* clear-num *-commutative flip-+ div-inv
Counts
4 → 150
Calls
4 calls:
2.0ms
(pow (* 12.0 x) 3)
10.0ms
(* (* 12.0 x) (* 12.0 x))
57.0ms
(- (pow (+ (* 9.0 (pow x 2)) 3.0) 3) (pow (* 12.0 x) 3))
145.0ms
(/ (- (pow (+ (* 9.0 (pow x 2)) 3.0) 3) (pow (* 12.0 x) 3)) (+ (* (+ (* 9.0 (pow x 2)) 3.0) (+ (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))) (* (* 12.0 x) (* 12.0 x))))

series214.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(pow (* 12.0 x) 3)
25.0ms
(* (* 12.0 x) (* 12.0 x))
55.0ms
(- (pow (+ (* 9.0 (pow x 2)) 3.0) 3) (pow (* 12.0 x) 3))
96.0ms
(/ (- (pow (+ (* 9.0 (pow x 2)) 3.0) 3) (pow (* 12.0 x) 3)) (+ (* (+ (* 9.0 (pow x 2)) 3.0) (+ (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))) (* (* 12.0 x) (* 12.0 x))))

simplify309.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
05643093
126672970
250012967

prune417.0ms

Filtered
162 candidates to 102 candidates (63.0%)
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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1114

end0.0ms

sample371.0ms

Algorithm
intervals
Results
256.0ms10659×body80valid