Details

Time bar (total: 2.1s)

sample19.0ms

Algorithm
intervals
Results
11.0ms356×body80valid

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

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 2

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

rewrite27.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:
7.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
4.0ms
(- (* (* x 3.0) x) (* x 4.0))
9.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
5.0ms
(* (* x 3.0) x)

series153.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
71.0ms
(- (* (* x 3.0) x) (* x 4.0))
30.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
29.0ms
(* (* x 3.0) x)

simplify49.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0318506
11331451
25001423

prune129.0ms

Filtered
81 candidates to 53 candidates (65.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New72981
Fresh101
Picked101
Done000
Total74983

Merged error: 0.0b

Counts
83 → 9

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

rewrite21.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:
4.0ms
(+ (* 9.0 (pow x 2)) 3.0)
7.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
8.0ms
(* 9.0 (pow x 2))

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

simplify194.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0237299
1891276
24637269
35001269

prune107.0ms

Filtered
61 candidates to 40 candidates (65.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New58361
Fresh628
Picked011
Done000
Total64670

Merged error: 0b

Counts
70 → 6

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.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:
7.0ms
(+ (* x (- (* x 9.0) 12.0)) 3.0)
4.0ms
(- (* x 9.0) 12.0)
7.0ms
(* x (- (* x 9.0) 12.0))

series123.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0206296
1748265
23793261
35001261

prune73.0ms

Filtered
60 candidates to 39 candidates (65.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New60060
Fresh044
Picked011
Done011
Total60666

Merged error: 0b

Counts
66 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
42×pow1
17×pow-prod-down
15×add-exp-log add-cbrt-cube
10×add-log-exp
prod-exp cbrt-unprod
pow-sqr pow-prod-up
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus diff-log sum-log
+-commutative pow2 sub-neg flip3-- flip3-+ swap-sqr associate-*r* associate-*l* associate--l+ *-commutative flip-- flip-+
Counts
3 → 59
Calls
3 calls:
8.0ms
(+ (* (* x (sqrt 9.0)) (* x (sqrt 9.0))) 3.0)
11.0ms
(- (+ (* (* x (sqrt 9.0)) (* x (sqrt 9.0))) 3.0) (* 12.0 x))
8.0ms
(* (* x (sqrt 9.0)) (* x (sqrt 9.0)))

series218.0ms

Counts
3 → 9
Calls
3 calls:
94.0ms
(+ (* (* x (sqrt 9.0)) (* x (sqrt 9.0))) 3.0)
51.0ms
(- (+ (* (* x (sqrt 9.0)) (* x (sqrt 9.0))) 3.0) (* 12.0 x))
72.0ms
(* (* x (sqrt 9.0)) (* x (sqrt 9.0)))

simplify40.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0239437
11041344
25001329

prune76.0ms

Filtered
68 candidates to 35 candidates (51.5%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New68068
Fresh033
Picked011
Done022
Total68674

Merged error: 0b

Counts
74 → 6

regimes64.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
0114
1114

end0.0ms

sample455.0ms

Algorithm
intervals
Results
338.0ms10583×body80valid

Profiling

Loading profile data...