Details

Time bar (total: 16.9s)

sample380.0ms

Algorithm
intervals
Results
203.0ms81×body10240exit
97.0ms61×body1280valid
42.0ms50×body640valid
14.0ms41×body320valid
9.0ms89×body80valid
3.0ms15×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
087

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.6b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite2.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:
0.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.0ms
(expm1 (sin (expm1 a)))
1.0ms
(sin (expm1 a))
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series156.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0108302
1242264
2720264
32933264
45001264

prune202.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 32.3b

localize18.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.3b
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite10.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:
1.0ms
(cbrt (sin (expm1 a)))
1.0ms
(cbrt (sin (expm1 a)))
7.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
0.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)

series426.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(cbrt (sin (expm1 a)))
136.0ms
(cbrt (sin (expm1 a)))
154.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)

simplify118.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0182758
1639657
23589621
35001605

prune392.0ms

Pruning

27 alts after pruning (27 fresh and 0 done)

Merged error: 31.7b

localize24.0ms

Local error

Found 4 expressions with local error:

0.8b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
0.8b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
0.8b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
38.2b
(fmod (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite12.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
cbrt-prod pow1/3
Counts
4 → 42
Calls
4 calls:
3.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
3.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
3.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
0.0ms
(fmod (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) a)

series455.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
152.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
148.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
4.0ms
(fmod (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) a)

simplify75.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
091843
1182714
2466708
31540708
45001708

prune369.0ms

Pruning

33 alts after pruning (32 fresh and 1 done)

Merged error: 31.4b

localize30.0ms

Local error

Found 4 expressions with local error:

0.8b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
0.8b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
2.4b
(exp (log (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))))
38.3b
(fmod (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (exp (log (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite11.0ms

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

series456.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
149.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
154.0ms
(exp (log (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))))
4.0ms
(fmod (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (exp (log (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))))) (cbrt (sin (expm1 a))))) (atan a)) a)

simplify78.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (18.0ms)

IterNodesCost
0130955
1242822
2560788
31820780
45002780

prune280.0ms

Pruning

43 alts after pruning (42 fresh and 1 done)

Merged error: 31.0b

regimes754.0ms

Accuracy

0% (2.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022114
122114

end0.0ms

sample12.5s

Algorithm
intervals
Results
6.6s2597×body10240exit
3.9s2321×body1280valid
1.2s1658×body640valid
276.0ms2808×body80valid
274.0ms820×body320valid
83.0ms387×body160valid
9.0msbody5120valid
8.0msbody2560valid