Details

Time bar (total: 7.1s)

sample98.0ms

Algorithm
intervals
Results
33.0ms57×body10240exit
23.0ms334×body80nan
21.0ms255×body80valid
3.0msbody5120valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize13.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))

rewrite5.0ms

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

series30.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 6 (65.0ms)

IterNodesCost
060132
1102120
2172114
3291114
4566114
52095114
65002113

prune126.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.4b
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
1.0b
(sqrt (atan2 b b))
1.0b
(* (cos 1) (log (sqrt (atan2 b b))))
2.0b
(log (sqrt (atan2 b b)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
18×log-prod
16×pow1 *-un-lft-identity
14×add-cube-cbrt
12×add-exp-log sqrt-prod
11×associate-*r* add-cbrt-cube
distribute-rgt-in distribute-lft-in
log-pow
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
sqrt-pow1 pow1/2
sub-neg associate-*r/ *-commutative
rem-sqrt-square flip3-- rem-log-exp flip-- distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 89
Calls
4 calls:
14.0ms
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
1.0ms
(sqrt (atan2 b b))
6.0ms
(* (cos 1) (log (sqrt (atan2 b b))))
1.0ms
(log (sqrt (atan2 b b)))

series73.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
3.0ms
(sqrt (atan2 b b))
25.0ms
(* (cos 1) (log (sqrt (atan2 b b))))
17.0ms
(log (sqrt (atan2 b b)))

simplify112.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0240758
11120651
24795634
35001634

prune498.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize16.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)))))

rewrite44.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
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 → 100
Calls
4 calls:
31.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))
7.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))

series46.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (cos 1) (log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b))))))
6.0ms
(sqrt (atan2 b b))
3.0ms
(sqrt (atan2 b b))
16.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))

simplify282.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0186575
1672490
24815458
35001458

prune689.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize19.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)))))

rewrite29.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
add-cbrt-cube add-log-exp
pow2 log-prod pow-plus prod-exp sqrt-prod
rem-sqrt-square
Counts
4 → 109
Calls
4 calls:
1.0ms
(sqrt (atan2 b b))
9.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)))))

series50.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (atan2 b b))
15.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))
16.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))
16.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))

simplify51.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 5 (45.0ms)

IterNodesCost
040539
189466
2273460
3728460
41750460
55001453

prune1.7s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

regimes248.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.8s

Algorithm
intervals
Results
1.0s1762×body10240exit
681.0ms9778×body80nan
645.0ms7990×body80valid
6.0msbody5120valid
2.0msbody640valid
1.0msbody1280valid
1.0msbody160valid
0.0msbody320valid