Details

Time bar (total: 2.6s)

sample20.0ms

Algorithm
intervals
Results
9.0ms335×body80valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (11.0ms)

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

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

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

series179.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0267361
11213324
25001323

prune211.0ms

Filtered
67 candidates to 44 candidates (34.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New62567
Fresh000
Picked101
Done000
Total63568

Merged error: 0.0b

Counts
68 → 5

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

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

series266.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (* 3.0 1.0) (* 3.0 (* x (- (* x 3.0) 4.0))))
51.0ms
(- (* x 3.0) 4.0)
77.0ms
(* x (- (* x 3.0) 4.0))
107.0ms
(* 3.0 (* x (- (* x 3.0) 4.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0314532
11274475
25001466

prune284.0ms

Filtered
96 candidates to 58 candidates (39.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New95196
Fresh134
Picked101
Done000
Total974101

Merged error: 0b

Counts
101 → 4

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

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

series164.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(+ (* x (- (* x 9.0) 12.0)) 3.0)
50.0ms
(- (* x 9.0) 12.0)
81.0ms
(* x (- (* x 9.0) 12.0))

simplify114.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0206296
1748265
23793261
35001261

prune132.0ms

Filtered
60 candidates to 39 candidates (35.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New60060
Fresh033
Picked011
Done000
Total60464

Merged error: 0b

Counts
64 → 4

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

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

series131.0ms

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

simplify186.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0237299
1891276
24637269
35001269

prune141.0ms

Filtered
61 candidates to 39 candidates (36.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New61061
Fresh022
Picked011
Done011
Total61465

Merged error: 0b

Counts
65 → 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

sample471.0ms

Algorithm
intervals
Results
307.0ms10735×body80valid

Profiling

Loading profile data...