Details

Time bar (total: 1.8s)

sample14.0ms

Algorithm
intervals
Results
7.0ms352×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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

series97.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(+ 0.253 (* x 0.12))
60.0ms
(* x (+ 0.253 (* x 0.12)))

simplify109.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0166173
1767154
24026154
35002154

prune73.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

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

series94.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0166160
1675137
22995134
35001133

prune61.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

series96.0ms

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

simplify169.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (165.0ms)

IterNodesCost
0178194
1665174
24106168
35002166

prune82.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (pow x 2)) (sqrt 0.12))
0.3b
(* (* (sqrt (pow x 2)) (sqrt 0.12)) (* (sqrt (pow x 2)) (sqrt 0.12)))
18.4b
(sqrt (pow x 2))
18.4b
(sqrt (pow x 2))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
45×pow1
40×sqrt-prod
33×add-sqr-sqrt
26×pow-prod-down
18×add-exp-log add-cbrt-cube
16×pow1/2
13×add-cube-cbrt unpow-prod-down *-un-lft-identity
12×associate-*l*
10×unswap-sqr
prod-exp cbrt-unprod
rem-sqrt-square
associate-*r* unpow2 sqr-pow
sqrt-unprod
pow-sqr pow-prod-up
add-log-exp
sqrt-pow1 pow-plus *-commutative
pow2 swap-sqr rem-square-sqrt
Counts
4 → 121
Calls
4 calls:
8.0ms
(* (sqrt (pow x 2)) (sqrt 0.12))
13.0ms
(* (* (sqrt (pow x 2)) (sqrt 0.12)) (* (sqrt (pow x 2)) (sqrt 0.12)))
2.0ms
(sqrt (pow x 2))
3.0ms
(sqrt (pow x 2))

series122.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (sqrt (pow x 2)) (sqrt 0.12))
73.0ms
(* (* (sqrt (pow x 2)) (sqrt 0.12)) (* (sqrt (pow x 2)) (sqrt 0.12)))
8.0ms
(sqrt (pow x 2))
8.0ms
(sqrt (pow x 2))

simplify40.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0215585
1928432
25001427

prune293.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes15.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

sample328.0ms

Algorithm
intervals
Results
212.0ms10577×body80valid