Details

Time bar (total: 2.3s)

sample22.0ms

Algorithm
intervals
Results
15.0ms352×body80valid

simplify26.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0194
1414
2694
3904
41054
51474
62264
73684
84154
94154

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 0.253 (* x 0.12))
0.1b
(* x (+ 0.253 (* x 0.12)))

rewrite10.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
associate-*r* associate-*l*
flip3-+ associate-*r/ flip-+
+-commutative distribute-rgt-in distribute-lft-in pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 33
Calls
2 calls:
2.0ms
(+ 0.253 (* x 0.12))
7.0ms
(* x (+ 0.253 (* x 0.12)))

series105.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(+ 0.253 (* x 0.12))
67.0ms
(* x (+ 0.253 (* x 0.12)))

simplify113.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0166173
1767154
24026154
35002154

prune76.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 0.253) (* x (* x 0.12)))
0.2b
(* x (* x 0.12))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ distribute-lft-out
Counts
2 → 30
Calls
2 calls:
3.0ms
(+ (* x 0.253) (* x (* x 0.12)))
6.0ms
(* x (* x 0.12))

series97.0ms

Counts
2 → 6
Calls
2 calls:
69.0ms
(+ (* x 0.253) (* x (* x 0.12)))
28.0ms
(* x (* x 0.12))

simplify94.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (91.0ms)

IterNodesCost
0166160
1675137
22995134
35001133

prune63.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (* x 0.12))
0.4b
(* (sqrt (* x (* x 0.12))) (sqrt (* x (* x 0.12))))
18.4b
(sqrt (* x (* x 0.12)))
18.4b
(sqrt (* x (* x 0.12)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
148×pow1
80×pow-prod-down
66×sqrt-pow1
17×pow-prod-up
14×pow1/2
11×add-exp-log add-sqr-sqrt pow-sqr add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*l*
sqrt-prod
associate-*r*
swap-sqr prod-exp cbrt-unprod add-log-exp
*-commutative
pow2 pow-plus sqrt-unprod rem-square-sqrt unswap-sqr
Counts
4 → 108
Calls
4 calls:
6.0ms
(* x (* x 0.12))
36.0ms
(* (sqrt (* x (* x 0.12))) (sqrt (* x (* x 0.12))))
4.0ms
(sqrt (* x (* x 0.12)))
4.0ms
(sqrt (* x (* x 0.12)))

series172.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* x (* x 0.12))
66.0ms
(* (sqrt (* x (* x 0.12))) (sqrt (* x (* x 0.12))))
40.0ms
(sqrt (* x (* x 0.12)))
34.0ms
(sqrt (* x (* x 0.12)))

simplify40.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0171367
1860306
25001284

prune160.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (* x (* x 0.12)))) (sqrt (sqrt (* x (* x 0.12)))))
18.4b
(sqrt (* x (* x 0.12)))
18.4b
(sqrt (* x (* x 0.12)))
18.4b
(sqrt (* x (* x 0.12)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
157×pow1
149×sqrt-pow1
82×pow-prod-down
29×sqrt-prod
24×add-sqr-sqrt
23×pow1/2
21×pow-prod-up
13×pow-sqr
12×add-cube-cbrt *-un-lft-identity
swap-sqr
associate-*r* associate-*l*
add-exp-log add-cbrt-cube
add-log-exp unswap-sqr
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 124
Calls
4 calls:
41.0ms
(* (sqrt (sqrt (* x (* x 0.12)))) (sqrt (sqrt (* x (* x 0.12)))))
4.0ms
(sqrt (* x (* x 0.12)))
4.0ms
(sqrt (* x (* x 0.12)))
4.0ms
(sqrt (* x (* x 0.12)))

series148.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* (sqrt (sqrt (* x (* x 0.12)))) (sqrt (sqrt (* x (* x 0.12)))))
34.0ms
(sqrt (* x (* x 0.12)))
40.0ms
(sqrt (* x (* x 0.12)))
34.0ms
(sqrt (* x (* x 0.12)))

simplify170.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 3 (162.0ms)

IterNodesCost
0135483
1556444
23428420
35001399

prune209.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

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

end0.0ms

sample575.0ms

Algorithm
intervals
Results
457.0ms10576×body80valid