Details

Time bar (total: 42.2s)

sample944.0ms

Algorithm
intervals
Results
387.0ms92×body10240exit
270.0ms72×body1280valid
61.0ms51×body640valid
18.0ms30×body320valid
17.0ms89×body80valid
5.0ms13×body160valid
2.0msbody2560valid

simplify11.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0810
done810

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.7b

localize32.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 a)
0.0b
(expm1 (sin (expm1 a)))
0.3b
(sin (expm1 a))
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
expm1-udef
expm1-log1p
sin-diff
Counts
4 → 41
Calls
4 calls:
5.0ms
(expm1 a)
1.0ms
(expm1 (sin (expm1 a)))
7.0ms
(sin (expm1 a))
37.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series296.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(expm1 a)
151.0ms
(expm1 (sin (expm1 a)))
113.0ms
(sin (expm1 a))
17.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify2.9s

Counts
53 → 53
Iterations

Useful iterations: 3 (441.0ms)

IterNodesCost
073380
1131356
2380319
31664318
done5001318

prune359.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 32.9b

localize44.0ms

Local error

Found 4 expressions with local error:

0.3b
(sin (expm1 a))
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
sin-diff expm1-udef
Counts
4 → 37
Calls
4 calls:
2.0ms
(sin (expm1 a))
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series124.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(sin (expm1 a))
3.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
3.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
3.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify6.3s

Counts
49 → 49
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
044524
171519
2163459
3659458
44828458
done5000458

prune393.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 32.6b

localize55.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
38.4b
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
16×cbrt-prod
12×add-cube-cbrt *-un-lft-identity
11×pow1
add-exp-log pow1/3 swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 69
Calls
4 calls:
42.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
1.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series220.0ms

Counts
4 → 12
Calls
4 calls:
210.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
3.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
3.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
3.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify6.1s

Counts
81 → 81
Iterations

Useful iterations: done (6.1s)

IterNodesCost
0901125
11731047
2526856
33316776
done5000758

prune814.0ms

Pruning

28 alts after pruning (27 fresh and 1 done)

Merged error: 32.4b

localize74.0ms

Local error

Found 4 expressions with local error:

38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 36
Calls
4 calls:
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series11.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
3.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
3.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
3.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify1.3s

Counts
48 → 48
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
016588
117588
219516
324516
432516
566516
6147516
7321516
8917516
done5000516

prune473.0ms

Pruning

28 alts after pruning (27 fresh and 1 done)

Merged error: 32.4b

regimes725.0ms

Accuracy

0% (1.3b remaining)

Error of 33.7b against oracle of 32.4b and baseline of 33.7b

bsearch0.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02190
12490
done2490

end0.0ms

sample20.9s

Algorithm
intervals
Results
10.4s2608×body10240exit
6.5s2319×body1280valid
1.8s1671×body640valid
955.0ms807×body320valid
507.0ms2766×body80valid
182.0ms430×body160valid
22.0msbody5120valid
11.0msbody2560valid