Details

Time bar (total: 1.2s)

sample24.0ms

Algorithm
intervals
Results
16.0ms366×body80valid

simplify28.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
073911
173911

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 2 expressions with local error:

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

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

series9.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
04965554
14965554

prune73.0ms

Filtered
33 candidates to 52 candidates (-57.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New48452
Fresh000
Picked101
Done000
Total49453

Merged error: 0b

Counts
53 → 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:
6.0ms
(* x (- (* x 9.0) 12.0))

series6.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05282236

prune34.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New26127
Fresh123
Picked011
Done000
Total27431

Merged error: 0b

Counts
31 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 3.0 (* x x)) (* x (neg 4.0)))
0.1b
(* 3.0 (+ (+ (* 3.0 (* x x)) (* x (neg 4.0))) 1.0))
0.2b
(* 3.0 (* x x))

rewrite23.0ms

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

series13.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04966597
14966597

prune73.0ms

Filtered
42 candidates to 64 candidates (-52.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New64064
Fresh022
Picked011
Done011
Total64468

Merged error: 0b

Counts
68 → 4

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (- (* 3.0 x) 4.0))
0.2b
(* (+ (* x (- (* 3.0 x) 4.0)) 1.0) (sqrt 3.0))
0.7b
(* (sqrt 3.0) (* (+ (* x (- (* 3.0 x) 4.0)) 1.0) (sqrt 3.0)))

rewrite31.0ms

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

series17.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05063956

prune106.0ms

Filtered
52 candidates to 80 candidates (-53.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New80080
Fresh011
Picked011
Done022
Total80484

Merged error: 0b

Counts
84 → 4

regimes31.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 (1.0ms)

IterNodesCost
0219
1219

end0.0ms

sample475.0ms

Algorithm
intervals
Results
315.0ms10584×body80valid

Profiling

Loading profile data...