Details

Time bar (total: 2.1s)

sample19.0ms

Algorithm
intervals
Results
11.0ms358×body80valid

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (13.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

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (- (* x 3.0) 4.0))
0.1b
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*r/
distribute-rgt-in distribute-lft-in
sub-neg pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp unswap-sqr
flip3-- flip3-+ flip-- flip-+
Counts
2 → 46
Calls
2 calls:
6.0ms
(* x (- (* x 3.0) 4.0))
5.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

series95.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(* x (- (* x 3.0) 4.0))
32.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

simplify44.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0248302
11146270
25001270

prune89.0ms

Filtered
52 candidates to 33 candidates (63.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New46652
Fresh101
Picked101
Done000
Total48654

Merged error: 0.0b

Counts
54 → 6

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

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

series101.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(+ (* 9.0 (pow x 2)) 3.0)
26.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
26.0ms
(* 9.0 (pow x 2))

simplify192.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0237299
1891276
24637269
35001269

prune97.0ms

Filtered
61 candidates to 40 candidates (65.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New59261
Fresh325
Picked101
Done000
Total63467

Merged error: 0b

Counts
67 → 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))

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

series100.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(- (* x 9.0) 12.0)
63.0ms
(* x (- (* x 9.0) 12.0))

simplify86.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0137189
1560167
22720166
35001166

prune49.0ms

Filtered
42 candidates to 27 candidates (64.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42042
Fresh033
Picked011
Done000
Total42446

Merged error: 0b

Counts
46 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2))) 3.0)
0.0b
(- (+ (* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2))) 3.0) (* 12.0 x))
0.2b
(* (cbrt 9.0) (pow x 2))
0.2b
(* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
33×add-exp-log
21×prod-exp
20×add-sqr-sqrt
11×add-cbrt-cube add-log-exp
pow1 associate-*r* cbrt-unprod
add-cube-cbrt *-un-lft-identity unswap-sqr
cbrt-prod associate-*l*
unpow-prod-down
pow-to-exp pow-prod-down pow-exp unpow2 sqr-pow
diff-log sum-log *-commutative
+-commutative sub-neg flip3-- flip3-+ associate--l+ flip-- flip-+
Counts
4 → 83
Calls
4 calls:
10.0ms
(+ (* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2))) 3.0)
12.0ms
(- (+ (* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2))) 3.0) (* 12.0 x))
6.0ms
(* (cbrt 9.0) (pow x 2))
14.0ms
(* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2)))

series320.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(+ (* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2))) 3.0)
49.0ms
(- (+ (* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2))) 3.0) (* 12.0 x))
53.0ms
(* (cbrt 9.0) (pow x 2))
93.0ms
(* (* (cbrt 9.0) (cbrt 9.0)) (* (cbrt 9.0) (pow x 2)))

simplify56.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0338772
11345644
25002598

prune145.0ms

Filtered
95 candidates to 55 candidates (57.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New95095
Fresh022
Picked011
Done011
Total95499

Merged error: 0b

Counts
99 → 4

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

sample444.0ms

Algorithm
intervals
Results
329.0ms10771×body80valid

Profiling

Loading profile data...