Details

Time bar (total: 1.9s)

sample14.0ms

Algorithm
intervals
Results
7.0ms365×body80valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0194
1414
2694
3904
41054
51474
62264
73684
84154
94154

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

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

series125.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226274
1991253
25002253

prune93.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.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 diff-log associate-*l* pow-prod-down prod-exp cbrt-unprod
sub-neg associate--l+
associate--l- flip3-- associate-*r* *-commutative flip--
Counts
2 → 34
Calls
2 calls:
15.0ms
(- (- 1.0 (* 0.253 x)) (* x (* x 0.12)))
6.0ms
(* x (* x 0.12))

series49.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(- (- 1.0 (* 0.253 x)) (* x (* x 0.12)))
24.0ms
(* x (* x 0.12))

simplify78.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0168210
1607186
22937184
35001183

prune62.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

rewrite18.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:
8.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))

series118.0ms

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

simplify198.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 3 (190.0ms)

IterNodesCost
0247340
1922317
24573311
35002309

prune108.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 0.253 0.253) (* (* x 0.12) (* x 0.12)))
0.3b
(* (* x 0.12) (* x 0.12))
0.4b
(* x (- (* 0.253 0.253) (* (* x 0.12) (* x 0.12))))
5.6b
(/ (* x (- (* 0.253 0.253) (* (* x 0.12) (* x 0.12)))) (- 0.253 (* x 0.12)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
45×pow1
23×add-exp-log add-cbrt-cube
18×pow-prod-down
10×add-sqr-sqrt prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*r*
flip3-- associate-*r/ associate-*l* pow-sqr pow-prod-up flip--
sub-neg times-frac associate-/r*
cbrt-undiv distribute-rgt-in distribute-lft-in pow-plus div-exp associate-/r/ *-commutative associate-/l/ difference-of-squares
pow2 frac-2neg diff-log swap-sqr clear-num div-inv associate-/l* unswap-sqr
Counts
4 → 97
Calls
4 calls:
3.0ms
(- (* 0.253 0.253) (* (* x 0.12) (* x 0.12)))
10.0ms
(* (* x 0.12) (* x 0.12))
10.0ms
(* x (- (* 0.253 0.253) (* (* x 0.12) (* x 0.12))))
9.0ms
(/ (* x (- (* 0.253 0.253) (* (* x 0.12) (* x 0.12)))) (- 0.253 (* x 0.12)))

series346.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(- (* 0.253 0.253) (* (* x 0.12) (* x 0.12)))
24.0ms
(* (* x 0.12) (* x 0.12))
95.0ms
(* x (- (* 0.253 0.253) (* (* x 0.12) (* x 0.12))))
166.0ms
(/ (* x (- (* 0.253 0.253) (* (* x 0.12) (* x 0.12)))) (- 0.253 (* x 0.12)))

simplify68.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0374763
12062631
25001631

prune168.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes13.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
0125
1125

end0.0ms

sample311.0ms

Algorithm
intervals
Results
203.0ms10745×body80valid