Details

Time bar (total: 5.1s)

sample338.0ms

Algorithm
intervals
Results
26.0ms57×body10240exit
16.0ms255×body80valid
15.0ms334×body80nan
3.0msbody5120valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 2 expressions with local error:

0.2b
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0b
(sqrt (atan2 b b))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
Counts
2 → 24
Calls
2 calls:
6.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
3.0ms
(sqrt (atan2 b b))

series89.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
26.0ms
(sqrt (atan2 b b))

simplify68.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 6 (64.0ms)

IterNodesCost
065150
1112137
2200132
3372131
4681131
52254131
65001130

prune80.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(fma (* (cos 1) (log (sqrt (atan2 b b)))) (- b a) (sin 1))
1.0b
(* (cos 1) (log (sqrt (atan2 b b))))
1.0b
(sqrt (atan2 b b))
2.0b
(log (sqrt (atan2 b b)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
18×log-prod
16×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
12×sqrt-prod
11×pow1
add-exp-log
distribute-rgt-in distribute-lft-in associate-*r* log-pow add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
sqrt-pow1 pow1/2 associate-*l*
rem-sqrt-square rem-log-exp pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 79
Calls
4 calls:
0.0ms
(fma (* (cos 1) (log (sqrt (atan2 b b)))) (- b a) (sin 1))
6.0ms
(* (cos 1) (log (sqrt (atan2 b b))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(log (sqrt (atan2 b b)))

series353.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(fma (* (cos 1) (log (sqrt (atan2 b b)))) (- b a) (sin 1))
159.0ms
(* (cos 1) (log (sqrt (atan2 b b))))
10.0ms
(sqrt (atan2 b b))
72.0ms
(log (sqrt (atan2 b b)))

simplify141.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0152637
1495555
21583539
34758539
45001539

prune228.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (cos 1) (log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b))))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
2.0b
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
66×sqrt-pow1
56×pow1
44×log-pow
34×pow1/2
25×associate-*r*
18×pow-prod-up
12×add-sqr-sqrt
11×pow-prod-down
10×pow-sqr
add-exp-log
add-cube-cbrt *-un-lft-identity
sqrt-prod add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
log-prod associate-*l*
pow2 rem-sqrt-square pow-plus rem-log-exp prod-exp
distribute-rgt-in distribute-lft-in *-commutative cbrt-unprod unswap-sqr
Counts
4 → 108
Calls
4 calls:
33.0ms
(* (cos 1) (log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b))))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
8.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))

series252.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(* (cos 1) (log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b))))))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
70.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))

simplify38.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0192627
1690542
25001510

prune308.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize21.0ms

Local error

Found 4 expressions with local error:

1.0b
(sqrt (atan2 b b))
2.0b
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))
2.0b
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))
2.0b
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
97×sqrt-pow1
77×pow1
66×log-pow
49×pow1/2
27×pow-prod-up
15×pow-prod-down pow-sqr
13×add-exp-log
add-sqr-sqrt rem-log-exp
add-cube-cbrt *-un-lft-identity
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow2 log-prod pow-plus prod-exp sqrt-prod
rem-sqrt-square
Counts
4 → 117
Calls
4 calls:
1.0ms
(sqrt (atan2 b b))
7.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))
7.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))
8.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))

series217.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(sqrt (atan2 b b))
67.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))
68.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))
72.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))

simplify56.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 5 (46.0ms)

IterNodesCost
044599
193526
2287520
3782520
41964520
55001513

prune561.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

regimes87.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
075

end0.0ms

sample2.1s

Algorithm
intervals
Results
754.0ms1762×body10240exit
463.0ms7990×body80valid
452.0ms9778×body80nan
6.0msbody5120valid
1.0msbody640valid
1.0msbody1280valid
0.0msbody160valid
0.0msbody320valid