Details

Time bar (total: 42.5s)

sample914.0ms

Algorithm
intervals
Results
357.0ms70×body10240exit
188.0ms70×body1280valid
80.0ms59×body640valid
16.0ms90×body80valid
12.0ms20×body320valid
5.0msbody5120valid
5.0ms16×body160valid

simplify11.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0810
done810

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.6b

localize35.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (sin (expm1 a)))
0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.2b
(sin (expm1 a))
38.1b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite13.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 → 39
Calls
4 calls:
1.0ms
(expm1 (sin (expm1 a)))
0.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
7.0ms
(sin (expm1 a))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series321.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(expm1 (sin (expm1 a)))
5.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
143.0ms
(sin (expm1 a))
17.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify3.8s

Counts
51 → 51
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
070438
1109422
2200375
3407374
4937374
52449374
done5001374

prune384.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 32.3b

localize41.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (sin (expm1 a)))
0.4b
(cbrt (sin (expm1 a)))
0.7b
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
38.1b
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
22×cbrt-prod add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log 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 → 77
Calls
4 calls:
3.0ms
(cbrt (sin (expm1 a)))
3.0ms
(cbrt (sin (expm1 a)))
32.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)

series652.0ms

Counts
4 → 12
Calls
4 calls:
206.0ms
(cbrt (sin (expm1 a)))
209.0ms
(cbrt (sin (expm1 a)))
229.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
7.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)

simplify2.7s

Counts
89 → 89
Iterations

Useful iterations: done (2.7s)

IterNodesCost
0971079
1181979
2450738
31338682
done5001676

prune601.0ms

Pruning

26 alts after pruning (25 fresh and 1 done)

Merged error: 31.6b

localize29.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (cbrt (sin (expm1 a))))
0.6b
(* (pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1)) (cbrt (cbrt (sin (expm1 a)))))
0.7b
(pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1))
38.1b
(fmod (atan2 (expm1 (* (* (pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1)) (cbrt (cbrt (sin (expm1 a))))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-prod
44×add-sqr-sqrt
27×unpow-prod-down
19×*-un-lft-identity
17×add-cube-cbrt
15×unswap-sqr
14×associate-*l*
10×add-exp-log
associate-*r*
pow1
add-cbrt-cube sqr-pow
expm1-log1p-u pow-unpow log1p-expm1-u add-log-exp
prod-exp
unpow-prod-up pow-to-exp pow-pow pow1/3 pow-exp
pow-plus *-commutative pow-prod-up cbrt-unprod distribute-lft-out
Counts
4 → 107
Calls
4 calls:
2.0ms
(cbrt (cbrt (sin (expm1 a))))
35.0ms
(* (pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1)) (cbrt (cbrt (sin (expm1 a)))))
16.0ms
(pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1))
0.0ms
(fmod (atan2 (expm1 (* (* (pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1)) (cbrt (cbrt (sin (expm1 a))))) (cbrt (sin (expm1 a))))) (atan a)) a)

series712.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(cbrt (cbrt (sin (expm1 a))))
241.0ms
(* (pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1)) (cbrt (cbrt (sin (expm1 a)))))
262.0ms
(pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1))
5.0ms
(fmod (atan2 (expm1 (* (* (pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1)) (cbrt (cbrt (sin (expm1 a))))) (cbrt (sin (expm1 a))))) (atan a)) a)

simplify2.5s

Counts
119 → 119
Iterations

Useful iterations: done (2.5s)

IterNodesCost
01732185
13891595
29411524
327311487
done50001381

prune1.1s

Pruning

39 alts after pruning (38 fresh and 1 done)

Merged error: 31.2b

localize59.0ms

Local error

Found 4 expressions with local error:

0.8b
(cbrt (cbrt (cbrt (sin (expm1 a)))))
0.8b
(cbrt (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a))))))
1.0b
(pow (cbrt (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a)))))) (+ 4 1))
38.1b
(fmod (atan2 (expm1 (* (* (pow (cbrt (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a)))))) (+ 4 1)) (* (cbrt (cbrt (sin (expm1 a)))) (pow (cbrt (cbrt (cbrt (sin (expm1 a))))) 5))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
20×cbrt-prod
11×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log
expm1-log1p-u unpow-prod-down pow-unpow add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
pow-pow
unpow-prod-up pow-to-exp pow-exp distribute-lft-out sqr-pow
Counts
4 → 62
Calls
4 calls:
3.0ms
(cbrt (cbrt (cbrt (sin (expm1 a)))))
9.0ms
(cbrt (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a))))))
12.0ms
(pow (cbrt (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a)))))) (+ 4 1))
1.0ms
(fmod (atan2 (expm1 (* (* (pow (cbrt (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a)))))) (+ 4 1)) (* (cbrt (cbrt (sin (expm1 a)))) (pow (cbrt (cbrt (cbrt (sin (expm1 a))))) 5))) (cbrt (sin (expm1 a))))) (atan a)) a)

series740.0ms

Counts
4 → 12
Calls
4 calls:
206.0ms
(cbrt (cbrt (cbrt (sin (expm1 a)))))
226.0ms
(cbrt (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a))))))
297.0ms
(pow (cbrt (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a)))))) (+ 4 1))
11.0ms
(fmod (atan2 (expm1 (* (* (pow (cbrt (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a)))))) (+ 4 1)) (* (cbrt (cbrt (sin (expm1 a)))) (pow (cbrt (cbrt (cbrt (sin (expm1 a))))) 5))) (cbrt (sin (expm1 a))))) (atan a)) a)

simplify4.2s

Counts
74 → 74
Iterations

Useful iterations: 4 (2.2s)

IterNodesCost
01461535
12991405
25961272
313651263
446501122
done50001122

prune711.0ms

Pruning

54 alts after pruning (53 fresh and 1 done)

Merged error: 30.7b

regimes1.2s

Accuracy

0% (2.7b remaining)

Error of 33.5b against oracle of 30.8b and baseline of 33.5b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01521
11621
done1621

end0.0ms

sample21.6s

Algorithm
intervals
Results
10.9s2583×body10240exit
6.8s2312×body1280valid
1.9s1622×body640valid
944.0ms2810×body80valid
543.0ms802×body320valid
154.0ms446×body160valid
33.0msbody5120valid
9.0msbody2560valid