Details

Time bar (total: 3.5s)

sample23.0ms

Algorithm
intervals
Results
6.0ms277×body80valid
5.0ms289×body80nan

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.2b
(* y (sqrt x))

rewrite23.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:
14.0ms
(+ (- 1.0 x) (* y (sqrt x)))
5.0ms
(* y (sqrt x))

series78.0ms

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

simplify144.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0240231
1957202
24716192
35001192

prune84.0ms

Pruning

5 alts after pruning (4 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)))

rewrite33.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:
1.0ms
(sqrt (sqrt x))
1.0ms
(sqrt (sqrt x))
9.0ms
(* y (sqrt (sqrt x)))
18.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

series391.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(sqrt (sqrt x))
135.0ms
(sqrt (sqrt x))
78.0ms
(* y (sqrt (sqrt x)))
40.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

simplify43.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0336516
11481454
25001427

prune191.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (fabs (cbrt x)) y)
0.3b
(* (* (fabs (cbrt x)) y) (sqrt (cbrt x)))
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×associate-*r*
11×pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
cbrt-prod
sqrt-prod
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
pow1/3 *-commutative
unswap-sqr
Counts
4 → 64
Calls
4 calls:
3.0ms
(* (fabs (cbrt x)) y)
10.0ms
(* (* (fabs (cbrt x)) y) (sqrt (cbrt x)))
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series500.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (fabs (cbrt x)) y)
125.0ms
(* (* (fabs (cbrt x)) y) (sqrt (cbrt x)))
178.0ms
(cbrt x)
173.0ms
(cbrt x)

simplify90.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0210392
1952345
23737339
35001334

prune185.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (sqrt (fabs (cbrt x))) (* (sqrt (fabs (cbrt x))) y)) (sqrt (cbrt x)))
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
13×pow1 add-exp-log add-cbrt-cube
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r*
pow-prod-down prod-exp sqrt-prod cbrt-unprod
add-log-exp
pow1/3
associate-*l* *-commutative
Counts
4 → 60
Calls
4 calls:
38.0ms
(* (* (sqrt (fabs (cbrt x))) (* (sqrt (fabs (cbrt x))) y)) (sqrt (cbrt x)))
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series660.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(* (* (sqrt (fabs (cbrt x))) (* (sqrt (fabs (cbrt x))) y)) (sqrt (cbrt x)))
179.0ms
(cbrt x)
173.0ms
(cbrt x)
184.0ms
(cbrt x)

simplify38.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0230421
11138345
25002337

prune210.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0b

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

sample603.0ms

Algorithm
intervals
Results
179.0ms8539×body80valid
167.0ms8532×body80nan