Details

Time bar (total: 3.5s)

sample73.0ms

Algorithm
intervals
Results
24.0ms49×body1280valid
16.0ms55×body640valid
8.0ms142×body80valid
7.0ms107×body80nan
5.0ms27×body320valid
2.0ms13×body160valid

simplify116.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (9.0ms)

IterNodesCost
0156
1246
2516
31086
43104
57924
641924
750024

prune4.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 12.3b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ x (+ x y))
7.8b
(pow (/ x (+ x y)) x)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
24×times-frac
20×add-sqr-sqrt add-cube-cbrt
18×unpow-prod-down
add-exp-log distribute-lft-out
associate-/r* associate-/r/ add-cbrt-cube
pow1 pow-unpow associate-/l*
expm1-log1p-u flip3-+ div-exp pow-exp flip-+ log1p-expm1-u div-inv add-log-exp
cbrt-undiv pow-to-exp pow-pow frac-2neg clear-num sqr-pow
Counts
2 → 70
Calls
2 calls:
5.0ms
(/ x (+ x y))
7.0ms
(pow (/ x (+ x y)) x)

series280.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ x (+ x y))
241.0ms
(pow (/ x (+ x y)) x)

simplify41.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0320413
11304399
25002398

prune139.0ms

Filtered
76 candidates to 54 candidates (71.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New73376
Fresh000
Picked101
Done000
Total74377

Merged error: 1.3b

Counts
77 → 3

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
associate-/r* add-cbrt-cube associate-/l*
add-exp-log
pow1 cbrt-undiv exp-neg expm1-log1p-u frac-2neg mul-1-neg div-exp clear-num log1p-expm1-u div-inv associate-/l/ add-log-exp
Counts
1 → 30
Calls
1 calls:
4.0ms
(/ (exp (* -1 y)) x)

series18.0ms

Counts
1 → 3
Calls
1 calls:
18.0ms
(/ (exp (* -1 y)) x)

simplify47.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0118194
1313179
21512177
35001177

prune58.0ms

Filtered
33 candidates to 25 candidates (75.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New32133
Fresh022
Picked011
Done000
Total32436

Merged error: 1.3b

Counts
36 → 4

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1 (* x (exp y)))
0.0b
(* x (exp y))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
11×add-exp-log
add-cbrt-cube
add-sqr-sqrt
pow1
add-cube-cbrt *-un-lft-identity
div-exp prod-exp
times-frac associate-*r* associate-*l* associate-/l*
cbrt-undiv expm1-log1p-u rec-exp pow-flip 1-exp pow-prod-down cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/r* *-commutative div-inv inv-pow unswap-sqr
Counts
2 → 50
Calls
2 calls:
5.0ms
(/ 1 (* x (exp y)))
5.0ms
(* x (exp y))

series45.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(/ 1 (* x (exp y)))
21.0ms
(* x (exp y))

simplify94.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0179216
1804181
24323175
35002175

prune73.0ms

Filtered
56 candidates to 33 candidates (58.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New55156
Fresh022
Picked011
Done011
Total55560

Merged error: 1.2b

Counts
60 → 5

localize9.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ 1 (fma (* 1/2 x) (pow y 2) (fma y x x)))
4.3b
(fma (* 1/2 x) (pow y 2) (fma y x x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log
add-cbrt-cube
pow1 associate-/r* associate-/l*
expm1-log1p-u div-exp log1p-expm1-u add-log-exp
cbrt-undiv rec-exp pow-flip frac-2neg 1-exp clear-num fma-udef div-inv inv-pow
Counts
2 → 43
Calls
2 calls:
3.0ms
(/ 1 (fma (* 1/2 x) (pow y 2) (fma y x x)))
1.0ms
(fma (* 1/2 x) (pow y 2) (fma y x x))

series109.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(/ 1 (fma (* 1/2 x) (pow y 2) (fma y x x)))
46.0ms
(fma (* 1/2 x) (pow y 2) (fma y x x))

simplify120.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0166386
1661344
23332330
35002328

prune78.0ms

Filtered
49 candidates to 30 candidates (61.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New49049
Fresh022
Picked011
Done022
Total49554

Merged error: 1.2b

Counts
54 → 5

regimes63.0ms

Accuracy

92.4% (0.9b remaining)

Error of 1.6b against oracle of 0.7b and baseline of 12.3b

bsearch87.0ms

Steps
ItersRangePoint
6
5.0295420654173144e-14
2.575196888632014e-13
2.533222095666427e-13
11
-895.7341520863147
-3.138575948961601e-20
-15.52181361111243

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02914
12914

end0.0ms

sample2.0s

Algorithm
intervals
Results
725.0ms1504×body1280valid
411.0ms1431×body640valid
266.0ms4888×body80valid
165.0ms859×body320valid
122.0ms3152×body80nan
51.0ms422×body160valid

Profiling

Loading profile data...