Details

Time bar (total: 2.1s)

sample13.0ms

Algorithm
intervals
Results
6.0ms341×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

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
distribute-rgt-in distribute-lft-in flip3-+ associate-*r/ flip-+ associate--r+
+-commutative sub-neg flip3-- diff-log pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod unswap-sqr
Counts
3 → 47
Calls
3 calls:
2.0ms
(- 1.0 (* x (+ 0.253 (* x 0.12))))
2.0ms
(+ 0.253 (* x 0.12))
7.0ms
(* x (+ 0.253 (* x 0.12)))

series126.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(- 1.0 (* x (+ 0.253 (* x 0.12))))
32.0ms
(+ 0.253 (* x 0.12))
65.0ms
(* x (+ 0.253 (* x 0.12)))

simplify35.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226274
1991253
25002253

prune100.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
associate-*l* pow-prod-down prod-exp cbrt-unprod
diff-log sum-log
+-commutative sub-neg flip3-- flip3-+ associate-*r* *-commutative flip-- flip-+ distribute-lft-out associate--r+ distribute-lft-out-- difference-of-squares
Counts
3 → 46
Calls
3 calls:
6.0ms
(- 1.0 (+ (* x 0.253) (* x (* x 0.12))))
3.0ms
(+ (* x 0.253) (* x (* x 0.12)))
6.0ms
(* x (* x 0.12))

series122.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(- 1.0 (+ (* x 0.253) (* x (* x 0.12))))
66.0ms
(+ (* x 0.253) (* x (* x 0.12)))
28.0ms
(* x (* x 0.12))

simplify126.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
0234302
1909273
24015270
35002269

prune96.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×add-log-exp
add-exp-log *-un-lft-identity associate-*r*
add-cube-cbrt
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 *-commutative flip-- cbrt-unprod flip-+ associate--r+ distribute-lft-out-- difference-of-squares
Counts
3 → 54
Calls
3 calls:
7.0ms
(- 1.0 (+ (* 0.12 (pow x 2)) (* 0.253 x)))
3.0ms
(+ (* 0.12 (pow x 2)) (* 0.253 x))
6.0ms
(* 0.12 (pow x 2))

series123.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(- 1.0 (+ (* 0.12 (pow x 2)) (* 0.253 x)))
66.0ms
(+ (* 0.12 (pow x 2)) (* 0.253 x))
28.0ms
(* 0.12 (pow x 2))

simplify199.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 3 (193.0ms)

IterNodesCost
0247340
1922317
24573311
35002309

prune114.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×add-exp-log
12×*-un-lft-identity associate-*l*
11×add-cbrt-cube add-log-exp
10×add-cube-cbrt prod-exp sqrt-prod
associate-*r*
unswap-sqr
pow1
unpow-prod-down
cbrt-unprod
unpow2 sqr-pow
pow-to-exp diff-log pow-exp sum-log *-commutative
+-commutative sub-neg flip3-- flip3-+ pow-prod-down flip-- flip-+ associate--r+ distribute-lft-out-- difference-of-squares
Counts
4 → 83
Calls
4 calls:
26.0ms
(- 1.0 (+ (* (sqrt 0.12) (* (sqrt 0.12) (pow x 2))) (* 0.253 x)))
10.0ms
(+ (* (sqrt 0.12) (* (sqrt 0.12) (pow x 2))) (* 0.253 x))
7.0ms
(* (sqrt 0.12) (pow x 2))
14.0ms
(* (sqrt 0.12) (* (sqrt 0.12) (pow x 2)))

series284.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- 1.0 (+ (* (sqrt 0.12) (* (sqrt 0.12) (pow x 2))) (* 0.253 x)))
110.0ms
(+ (* (sqrt 0.12) (* (sqrt 0.12) (pow x 2))) (* 0.253 x))
48.0ms
(* (sqrt 0.12) (pow x 2))
70.0ms
(* (sqrt 0.12) (* (sqrt 0.12) (pow x 2)))

simplify49.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0315669
11353550
25001532

prune175.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes35.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample309.0ms

Algorithm
intervals
Results
195.0ms10665×body80valid