Details

Time bar (total: 1.5s)

analyze4.0ms

Algorithm
search

sample14.0ms

Algorithm
intervals
Results
9.0ms256×body80valid

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

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

rewrite20.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))
9.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

series12.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(- (* x 3.0) 4.0)
5.0ms
(* x (- (* x 3.0) 4.0))
3.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

prune95.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New62567
Fresh000
Picked011
Done000
Total62668

Merged error: 0.0b

Counts
68 → 6

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

rewrite12.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:
6.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))

simplify149.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (144.0ms)

IterNodesCost
0193233
1766207
24099201
35003200

prune66.0ms

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

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New45247
Fresh224
Picked011
Done011
Total47653

Merged error: 0b

Counts
53 → 6

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

series7.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0118130
1497113
22567113
35002113

prune32.0ms

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

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New26127
Fresh123
Picked011
Done022
Total27633

Merged error: 0b

Counts
33 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (- (* x 3.0) 4.0))
0.2b
(cbrt (- (* x 3.0) 4.0))
0.4b
(* (* x (* (cbrt (- (* x 3.0) 4.0)) (cbrt (- (* x 3.0) 4.0)))) (cbrt (- (* x 3.0) 4.0)))
0.8b
(* (cbrt (- (* x 3.0) 4.0)) (cbrt (- (* x 3.0) 4.0)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
70×cbrt-div
35×flip3-- flip--
34×associate-*r/
32×frac-times
25×cbrt-prod
24×add-sqr-sqrt
20×pow1
16×add-cube-cbrt *-un-lft-identity associate-*l/
15×add-exp-log
12×associate-*r*
pow1/3 pow-prod-down add-cbrt-cube
associate-*l* prod-exp cbrt-unprod
swap-sqr
add-log-exp unswap-sqr
pow-sqr *-commutative pow-prod-up
pow2 pow-plus
Counts
4 → 124
Calls
4 calls:
4.0ms
(cbrt (- (* x 3.0) 4.0))
3.0ms
(cbrt (- (* x 3.0) 4.0))
20.0ms
(* (* x (* (cbrt (- (* x 3.0) 4.0)) (cbrt (- (* x 3.0) 4.0)))) (cbrt (- (* x 3.0) 4.0)))
11.0ms
(* (cbrt (- (* x 3.0) 4.0)) (cbrt (- (* x 3.0) 4.0)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(cbrt (- (* x 3.0) 4.0))
10.0ms
(cbrt (- (* x 3.0) 4.0))
11.0ms
(* (* x (* (cbrt (- (* x 3.0) 4.0)) (cbrt (- (* x 3.0) 4.0)))) (cbrt (- (* x 3.0) 4.0)))
12.0ms
(* (cbrt (- (* x 3.0) 4.0)) (cbrt (- (* x 3.0) 4.0)))

simplify89.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06942047
127821867
250011776

prune293.0ms

Filtered
86 candidates to 136 candidates (-58.1%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1360136
Fresh022
Picked011
Done033
Total1366142

Merged error: 0b

Counts
142 → 6

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

analyze4.0ms

Algorithm
search

sample365.0ms

Algorithm
intervals
Results
282.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...