Details

Time bar (total: 1.6s)

sample23.0ms

Algorithm
intervals
Results
10.0ms256×body80valid
2.0ms78×body80nan

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
063
163

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.6b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) y)
17.3b
(sqrt (+ (* x x) y))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
2 → 26
Calls
2 calls:
3.0ms
(+ (* x x) y)
4.0ms
(sqrt (+ (* x x) y))

series9.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(+ (* x x) y)
5.0ms
(sqrt (+ (* x x) y))

simplify46.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0139151
1485141
21555139
35002138

prune44.0ms

Filtered
25 candidates to 32 candidates (-28.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New29332
Fresh000
Picked011
Done000
Total29433

Merged error: 0b

Counts
33 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (cbrt (+ (* x x) y)))
0.3b
(* (fabs (cbrt (+ (* x x) y))) (sqrt (cbrt (+ (* x x) y))))
18.1b
(cbrt (+ (* x x) y))
18.1b
(cbrt (+ (* x x) y))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×cbrt-prod sqrt-prod
12×add-cube-cbrt *-un-lft-identity
associate-*r*
cbrt-div
pow1
add-exp-log add-cbrt-cube
flip3-+ sqrt-div flip-+ add-log-exp
pow1/3 associate-*l* unswap-sqr
rem-sqrt-square sqrt-pow1 associate-*r/
pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 74
Calls
4 calls:
4.0ms
(sqrt (cbrt (+ (* x x) y)))
8.0ms
(* (fabs (cbrt (+ (* x x) y))) (sqrt (cbrt (+ (* x x) y))))
3.0ms
(cbrt (+ (* x x) y))
4.0ms
(cbrt (+ (* x x) y))

series78.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(sqrt (cbrt (+ (* x x) y)))
28.0ms
(* (fabs (cbrt (+ (* x x) y))) (sqrt (cbrt (+ (* x x) y))))
16.0ms
(cbrt (+ (* x x) y))
17.0ms
(cbrt (+ (* x x) y))

simplify85.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
0280777
1890734
23434706
35001673

prune95.0ms

Filtered
72 candidates to 86 candidates (-19.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh022
Picked011
Done011
Total86490

Merged error: 0b

Counts
90 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* -1/2 (/ y x))
0.0b
(- (* -1/2 (/ y x)) x)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*r*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
associate-*l*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log associate-*r/ div-exp pow-prod-down *-commutative flip-- div-inv
Counts
2 → 44
Calls
2 calls:
6.0ms
(* -1/2 (/ y x))
5.0ms
(- (* -1/2 (/ y x)) x)

series8.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(* -1/2 (/ y x))
5.0ms
(- (* -1/2 (/ y x)) x)

simplify98.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0219205
1893190
24202189
35003189

prune45.0ms

Filtered
34 candidates to 50 candidates (-47.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New50050
Fresh011
Picked011
Done022
Total50454

Merged error: 0b

Counts
54 → 4

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (* 1/2 (/ y x)))
0.0b
(* 1/2 (/ y x))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*r*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
associate-*l*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv +-commutative flip3-+ associate-*r/ div-exp pow-prod-down sum-log *-commutative flip-+ div-inv
Counts
2 → 43
Calls
2 calls:
3.0ms
(+ x (* 1/2 (/ y x)))
6.0ms
(* 1/2 (/ y x))

series7.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(+ x (* 1/2 (/ y x)))
3.0ms
(* 1/2 (/ y x))

simplify98.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0223199
1960186
24224186
35001186

prune42.0ms

Filtered
34 candidates to 49 candidates (-44.1%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New49049
Fresh000
Picked011
Done033
Total49453

Merged error: 0b

Counts
53 → 4

regimes274.0ms

Accuracy

99.3% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 20.6b

bsearch22.0ms

Steps
ItersRangePoint
6
1.8963249639503215e+100
2.41088961454771e+101
2.3710978095870002e+101
9
-2.2956361861733443e+156
-1.070067130940524e+149
-1.3507860660902314e+154

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0229
1229

end0.0ms

sample504.0ms

Algorithm
intervals
Results
190.0ms8000×body80valid
62.0ms2726×body80nan

Profiling

Loading profile data...