Details

Time bar (total: 2.9s)

sample31.0ms

Algorithm
intervals
Results
23.0ms349×body80valid

simplify72.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (12.0ms)

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

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite149.0ms

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

series153.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
72.0ms
(- (* (* x 3.0) x) (* x 4.0))
31.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
27.0ms
(* (* x 3.0) x)

simplify46.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0318506
11331451
25001423

prune140.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

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

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

series99.0ms

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

simplify186.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0237299
1891276
24637269
35001269

prune114.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.0ms

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

series101.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(- (* x 9.0) 12.0)
61.0ms
(* x (- (* x 9.0) 12.0))

simplify87.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0137189
1560167
22720166
35001166

prune72.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* (* (sqrt 9.0) (sqrt (pow x 2))) (* (sqrt 9.0) (sqrt (pow x 2)))) 3.0) (* 12.0 x))
0.4b
(* (* (sqrt 9.0) (sqrt (pow x 2))) (* (sqrt 9.0) (sqrt (pow x 2))))
15.7b
(sqrt (pow x 2))
15.7b
(sqrt (pow x 2))

rewrite304.0ms

Algorithm
rewrite-expression-head
Rules
43×pow1
24×pow-prod-down
16×add-exp-log sqrt-prod add-cbrt-cube
14×pow1/2
12×add-sqr-sqrt
add-log-exp
add-cube-cbrt unpow-prod-down rem-sqrt-square *-un-lft-identity prod-exp cbrt-unprod
sqrt-unprod pow-sqr pow-prod-up
unpow2 sqr-pow
sqrt-pow1 pow-plus diff-log
pow2 sub-neg flip3-- swap-sqr associate-*r* associate-*l* associate--l+ sum-log rem-square-sqrt *-commutative flip--
Counts
4 → 95
Calls
4 calls:
265.0ms
(- (+ (* (* (sqrt 9.0) (sqrt (pow x 2))) (* (sqrt 9.0) (sqrt (pow x 2)))) 3.0) (* 12.0 x))
30.0ms
(* (* (sqrt 9.0) (sqrt (pow x 2))) (* (sqrt 9.0) (sqrt (pow x 2))))
2.0ms
(sqrt (pow x 2))
4.0ms
(sqrt (pow x 2))

series138.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (+ (* (* (sqrt 9.0) (sqrt (pow x 2))) (* (sqrt 9.0) (sqrt (pow x 2)))) 3.0) (* 12.0 x))
72.0ms
(* (* (sqrt 9.0) (sqrt (pow x 2))) (* (sqrt 9.0) (sqrt (pow x 2))))
8.0ms
(sqrt (pow x 2))
11.0ms
(sqrt (pow x 2))

simplify45.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0254570
11142372
25001361

prune215.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes21.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

sample842.0ms

Algorithm
intervals
Results
717.0ms10735×body80valid