Details

Time bar (total: 3.5s)

sample24.0ms

Algorithm
intervals
Results
6.0ms303×body80nan
6.0ms266×body80valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1234
2404
3594
4744
51034
61204
71454
82264
92574
102574

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (- 1.0 x) (* y (sqrt x)))
0.3b
(* y (sqrt x))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-log-exp
associate-*r*
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log sqrt-prod add-cbrt-cube
associate-*l*
associate-+l+ sum-log unswap-sqr
+-commutative associate-+l- sub-neg flip3-+ diff-log pow-prod-down prod-exp *-commutative cbrt-unprod flip-+
Counts
2 → 37
Calls
2 calls:
6.0ms
(+ (- 1.0 x) (* y (sqrt x)))
5.0ms
(* y (sqrt x))

series85.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(+ (- 1.0 x) (* y (sqrt x)))
43.0ms
(* y (sqrt x))

simplify144.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0240231
1957202
24716192
35001192

prune87.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt x))
0.1b
(sqrt (sqrt x))
0.2b
(* y (sqrt (sqrt x)))
0.3b
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
41×sqrt-prod
25×add-sqr-sqrt
18×associate-*r*
15×pow1 add-cube-cbrt *-un-lft-identity
11×add-exp-log add-cbrt-cube
sqrt-pow1
rem-sqrt-square pow1/2 associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
unswap-sqr
*-commutative
Counts
4 → 88
Calls
4 calls:
2.0ms
(sqrt (sqrt x))
2.0ms
(sqrt (sqrt x))
6.0ms
(* y (sqrt (sqrt x)))
9.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

series373.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(sqrt (sqrt x))
128.0ms
(sqrt (sqrt x))
76.0ms
(* y (sqrt (sqrt x)))
39.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

simplify42.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0336516
11481454
25001427

prune199.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt x))
0.2b
(* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x)))))
0.3b
(* (* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))) (sqrt (sqrt x)))
0.5b
(* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
175×sqrt-prod
85×add-sqr-sqrt
76×sqrt-pow1
51×pow1
26×add-cube-cbrt *-un-lft-identity pow1/2
24×swap-sqr
22×associate-*r*
20×add-exp-log add-cbrt-cube
17×unswap-sqr
16×associate-*l* pow-prod-down
13×pow-prod-up
10×prod-exp cbrt-unprod
pow-sqr
add-log-exp
*-commutative
rem-sqrt-square
pow2 pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 170
Calls
4 calls:
2.0ms
(sqrt (sqrt x))
16.0ms
(* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x)))))
24.0ms
(* (* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))) (sqrt (sqrt x)))
14.0ms
(* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))

series404.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(sqrt (sqrt x))
80.0ms
(* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x)))))
40.0ms
(* (* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))) (sqrt (sqrt x)))
147.0ms
(* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))

simplify74.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
04711077
12257820
25001808

prune285.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt x))
0.2b
(* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x)))))
0.3b
(* (* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))) (pow (/ 1 x) -1/4))
0.5b
(* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
166×sqrt-prod
90×add-sqr-sqrt
76×sqrt-pow1
65×add-exp-log
42×pow1
40×prod-exp
31×add-cube-cbrt *-un-lft-identity
30×associate-*r*
26×pow1/2
24×swap-sqr
20×add-cbrt-cube
17×unswap-sqr
16×associate-*l*
13×unpow-prod-down pow-prod-up
12×pow-exp
10×pow-prod-down cbrt-unprod
times-frac
pow-sqr
div-exp
add-log-exp
pow-to-exp rec-exp 1-exp *-commutative
rem-sqrt-square
pow2 pow-plus sqrt-unprod rem-square-sqrt div-inv sqr-pow
Counts
4 → 190
Calls
4 calls:
2.0ms
(sqrt (sqrt x))
19.0ms
(* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x)))))
22.0ms
(* (* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))) (pow (/ 1 x) -1/4))
14.0ms
(* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))

series419.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(sqrt (sqrt x))
77.0ms
(* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x)))))
82.0ms
(* (* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))) (pow (/ 1 x) -1/4))
128.0ms
(* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))

simplify98.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
07111337
134471076
250031057

prune371.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes98.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
094
194

end0.0ms

sample618.0ms

Algorithm
intervals
Results
185.0ms8541×body80valid
164.0ms8586×body80nan