Details

Time bar (total: 1.4s)

sample18.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
8.0ms256×body80valid
3.0ms84×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

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

series12.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0267361
11213324
25002323

prune98.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New60767
Fresh000
Picked101
Done000
Total61768

Merged error: 0.0b

Counts
68 → 7

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

series6.0ms

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

simplify153.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (149.0ms)

IterNodesCost
0193233
1766207
24099201
35003200

prune64.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 1 expressions with local error:

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

rewrite7.0ms

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

series6.0ms

Counts
1 → 3
Calls
1 calls:
6.0ms
(* x (- (* x 9.0) 12.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0118130
1497113
22567113
35002113

prune31.0ms

Filtered
16 candidates to 27 candidates (-68.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New27027
Fresh022
Picked011
Done011
Total27431

Merged error: 0b

Counts
31 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
41×pow1
17×pow-prod-down
14×add-exp-log add-cbrt-cube
prod-exp cbrt-unprod
add-log-exp
pow-sqr pow-prod-up
add-sqr-sqrt add-cube-cbrt *-un-lft-identity pow-plus diff-log
pow2 sub-neg flip3-- swap-sqr associate-*r* associate-*l* associate--l+ sum-log *-commutative flip--
Counts
2 → 48
Calls
2 calls:
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)))

series12.0ms

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

simplify136.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0196332
1883236
24508221
35002221

prune46.0ms

Filtered
24 candidates to 54 candidates (-125.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New54054
Fresh011
Picked011
Done022
Total54458

Merged error: 0b

Counts
58 → 4

regimes31.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
0135
1135

end0.0ms

sample502.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
254.0ms8000×body80valid
85.0ms2603×body80invalid

Profiling

Loading profile data...