Details

Time bar (total: 1.4s)

sample20.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 12.542725%

Guaranteed chance to sample good point: 99.993021%

Results
8.0ms256×body80valid
1.0ms32×body80invalid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (10.0ms)

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

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 2

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

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

series13.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0267361
11213324
25001323

prune100.0ms

Filtered
44 candidates to 67 candidates (-52.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New60767
Fresh101
Picked101
Done000
Total62769

Merged error: 0.0b

Counts
69 → 7

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

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

series10.0ms

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

simplify150.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (145.0ms)

IterNodesCost
0193233
1766207
24099201
35003200

prune68.0ms

Filtered
30 candidates to 47 candidates (-56.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New45247
Fresh516
Picked011
Done000
Total50454

Merged error: 0b

Counts
54 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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)
6.0ms
(* x (- (* x 9.0) 12.0))

series9.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(- (* x 9.0) 12.0)
5.0ms
(* x (- (* x 9.0) 12.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0137189
1560167
22720166
35001166

prune45.0ms

Filtered
27 candidates to 42 candidates (-55.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New42042
Fresh022
Picked011
Done011
Total42446

Merged error: 0b

Counts
46 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 9.0 (pow x 2))
0.4b
(* (sqrt (* 9.0 (pow x 2))) (sqrt (* 9.0 (pow x 2))))
16.1b
(sqrt (* 9.0 (pow x 2)))
16.1b
(sqrt (* 9.0 (pow x 2)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
21×pow1
19×add-sqr-sqrt
12×associate-*r*
11×add-exp-log add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
add-cbrt-cube
associate-*l*
sqrt-prod
pow-prod-up unswap-sqr
unpow-prod-down swap-sqr prod-exp add-log-exp
pow-prod-down pow-sqr
*-commutative cbrt-unprod unpow2 sqr-pow
pow2 pow-to-exp pow-plus sqrt-unprod pow-exp rem-square-sqrt
Counts
4 → 85
Calls
4 calls:
5.0ms
(* 9.0 (pow x 2))
9.0ms
(* (sqrt (* 9.0 (pow x 2))) (sqrt (* 9.0 (pow x 2))))
3.0ms
(sqrt (* 9.0 (pow x 2)))
3.0ms
(sqrt (* 9.0 (pow x 2)))

series17.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 9.0 (pow x 2))
7.0ms
(* (sqrt (* 9.0 (pow x 2))) (sqrt (* 9.0 (pow x 2))))
4.0ms
(sqrt (* 9.0 (pow x 2)))
4.0ms
(sqrt (* 9.0 (pow x 2)))

simplify44.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0185352
1927297
25002286

prune134.0ms

Filtered
59 candidates to 97 candidates (-64.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New97097
Fresh011
Picked011
Done022
Total974101

Merged error: 0b

Counts
101 → 4

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

sample465.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 12.542725%

Guaranteed chance to sample good point: 99.993021%

Results
256.0ms8000×body80valid
42.0ms1336×body80invalid

Profiling

Loading profile data...