Details

Time bar (total: 1.8s)

sample14.0ms

Algorithm
intervals
Results
6.0ms353×body80valid

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

rewrite8.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:
3.0ms
(+ 0.253 (* x 0.12))
5.0ms
(* x (+ 0.253 (* x 0.12)))

series110.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0166173
1767154
24026154
35002154

prune78.0ms

Pruning

10 alts after pruning (10 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:
4.0ms
(+ (* x 0.253) (* x (* x 0.12)))
5.0ms
(* x (* x 0.12))

series105.0ms

Counts
2 → 6
Calls
2 calls:
75.0ms
(+ (* x 0.253) (* x (* x 0.12)))
30.0ms
(* x (* x 0.12))

simplify92.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0166160
1675137
22995134
35001133

prune66.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*l*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube add-log-exp unswap-sqr
associate-*r* prod-exp
pow1 unpow2 sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp sum-log *-commutative cbrt-unprod flip-+
Counts
2 → 38
Calls
2 calls:
3.0ms
(+ (* x 0.253) (* (pow x 2) 0.12))
5.0ms
(* (pow x 2) 0.12)

series100.0ms

Counts
2 → 6
Calls
2 calls:
70.0ms
(+ (* x 0.253) (* (pow x 2) 0.12))
30.0ms
(* (pow x 2) 0.12)

simplify176.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (167.0ms)

IterNodesCost
0178194
1665174
24106168
35002166

prune88.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (pow x 2) 0.12)
0.4b
(* (sqrt (* (pow x 2) 0.12)) (sqrt (* (pow x 2) 0.12)))
16.0b
(sqrt (* (pow x 2) 0.12))
16.0b
(sqrt (* (pow x 2) 0.12))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
21×pow1
19×add-sqr-sqrt
12×associate-*l*
11×add-exp-log add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
add-cbrt-cube
associate-*r*
sqrt-prod
pow-prod-up unswap-sqr
unpow-prod-down swap-sqr prod-exp add-log-exp
pow-prod-down pow-sqr
*-commutative cbrt-unprod unpow2 sqr-pow
pow2 pow-to-exp pow-plus sqrt-unprod pow-exp rem-square-sqrt
Counts
4 → 85
Calls
4 calls:
5.0ms
(* (pow x 2) 0.12)
10.0ms
(* (sqrt (* (pow x 2) 0.12)) (sqrt (* (pow x 2) 0.12)))
3.0ms
(sqrt (* (pow x 2) 0.12))
7.0ms
(sqrt (* (pow x 2) 0.12))

series179.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (pow x 2) 0.12)
70.0ms
(* (sqrt (* (pow x 2) 0.12)) (sqrt (* (pow x 2) 0.12)))
41.0ms
(sqrt (* (pow x 2) 0.12))
36.0ms
(sqrt (* (pow x 2) 0.12))

simplify39.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0179352
1870297
25001286

prune204.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes21.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample312.0ms

Algorithm
intervals
Results
197.0ms10643×body80valid