Details

Time bar (total: 9.8s)

sample91.0ms

Algorithm
intervals
Results
46.0ms135×body1280valid
20.0ms24×body2560valid
12.0ms60×body640valid
3.0ms25×body320valid
1.0ms10×body160valid
0.0msbody80valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
067
197
2107
done107

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.0b

localize8.0ms

Local error

Found 2 expressions with local error:

1.6b
(- (cos (+ x eps)) (cos x))
1.9b
(cos (+ x eps))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt prod-diff
add-log-exp
fma-neg
pow1 add-exp-log expm1-log1p-u cos-sum add-cbrt-cube log1p-expm1-u
associate--l- sub-neg flip3-- diff-log flip-- diff-cos distribute-lft-out-- difference-of-squares
Counts
2 → 40
Calls
2 calls:
7.0ms
(- (cos (+ x eps)) (cos x))
4.0ms
(cos (+ x eps))

series69.0ms

Counts
2 → 6
Calls
2 calls:
54.0ms
(- (cos (+ x eps)) (cos x))
15.0ms
(cos (+ x eps))

simplify890.0ms

Counts
46 → 46
Iterations

Useful iterations: 3 (218.0ms)

IterNodesCost
091664
1189540
2460453
31565389
done5000389

prune112.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x eps) x)
0.3b
(* (sin (/ (- eps 0) 2)) (sin (/ (+ (+ x eps) x) 2)))
2.0b
(sin (/ (+ (+ x eps) x) 2))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
add-sqr-sqrt add-log-exp
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
fma-def distribute-lft-out
expm1-log1p-u associate-*r* associate-*l* sum-log log1p-expm1-u
+-commutative associate-+l+ flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ sin-mult unswap-sqr
Counts
3 → 51
Calls
3 calls:
15.0ms
(+ (+ x eps) x)
52.0ms
(* (sin (/ (- eps 0) 2)) (sin (/ (+ (+ x eps) x) 2)))
20.0ms
(sin (/ (+ (+ x eps) x) 2))

series106.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(+ (+ x eps) x)
57.0ms
(* (sin (/ (- eps 0) 2)) (sin (/ (+ (+ x eps) x) 2)))
28.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify1.0s

Counts
60 → 60
Iterations

Useful iterations: done (1.0s)

IterNodesCost
099766
1222694
2564615
31469551
done5000550

prune206.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.5b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(expm1 (log1p (sin (/ (fma x 2 eps) 2))))
0.3b
(* (sin (/ (- eps 0) 2)) (expm1 (log1p (sin (/ (fma x 2 eps) 2)))))
0.5b
(log1p (sin (/ (fma x 2 eps) 2)))
2.0b
(sin (/ (fma x 2 eps) 2))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
expm1-log1p-u
log1p-expm1-u add-log-exp
associate-*r* associate-*l*
log1p-udef expm1-log1p log1p-expm1 pow-prod-down prod-exp *-commutative cbrt-unprod expm1-udef unswap-sqr
Counts
4 → 51
Calls
4 calls:
0.0ms
(expm1 (log1p (sin (/ (fma x 2 eps) 2))))
12.0ms
(* (sin (/ (- eps 0) 2)) (expm1 (log1p (sin (/ (fma x 2 eps) 2)))))
0.0ms
(log1p (sin (/ (fma x 2 eps) 2)))
2.0ms
(sin (/ (fma x 2 eps) 2))

series237.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(expm1 (log1p (sin (/ (fma x 2 eps) 2))))
93.0ms
(* (sin (/ (- eps 0) 2)) (expm1 (log1p (sin (/ (fma x 2 eps) 2)))))
52.0ms
(log1p (sin (/ (fma x 2 eps) 2)))
30.0ms
(sin (/ (fma x 2 eps) 2))

simplify1.7s

Counts
63 → 63
Iterations

Useful iterations: 4 (571.0ms)

IterNodesCost
091891
1171758
2410660
3907656
42325655
done5001655

prune212.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(expm1 (sin (/ (fma x 2 eps) 2)))
0.2b
(log1p (expm1 (sin (/ (fma x 2 eps) 2))))
0.3b
(* (sin (/ (- eps 0) 2)) (log1p (expm1 (sin (/ (fma x 2 eps) 2)))))
2.0b
(sin (/ (fma x 2 eps) 2))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
log1p-expm1-u
expm1-log1p-u add-log-exp
associate-*r* associate-*l*
log1p-udef expm1-log1p log1p-expm1 pow-prod-down prod-exp *-commutative cbrt-unprod expm1-udef unswap-sqr
Counts
4 → 51
Calls
4 calls:
0.0ms
(expm1 (sin (/ (fma x 2 eps) 2)))
0.0ms
(log1p (expm1 (sin (/ (fma x 2 eps) 2))))
15.0ms
(* (sin (/ (- eps 0) 2)) (log1p (expm1 (sin (/ (fma x 2 eps) 2)))))
2.0ms
(sin (/ (fma x 2 eps) 2))

series236.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(expm1 (sin (/ (fma x 2 eps) 2)))
67.0ms
(log1p (expm1 (sin (/ (fma x 2 eps) 2))))
92.0ms
(* (sin (/ (- eps 0) 2)) (log1p (expm1 (sin (/ (fma x 2 eps) 2)))))
29.0ms
(sin (/ (fma x 2 eps) 2))

simplify1.6s

Counts
63 → 63
Iterations

Useful iterations: 4 (552.0ms)

IterNodesCost
091891
1174753
2402660
3885657
42224654
done5000654

prune187.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.5b

regimes114.0ms

Accuracy

97.3% (0.4b remaining)

Error of 0.8b against oracle of 0.4b and baseline of 15.2b

bsearch92.0ms

Steps
ItersRangePoint
8
8.116859208030337e-08
6.379368274952145e-05
2.5399061161975948e-05
6
-2.8343233054530806e-08
-2.2450763006537216e-09
-2.7912872849602338e-08

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02954
13639
done3639

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.5s4415×body1280valid
555.0ms649×body2560valid
378.0ms1833×body640valid
111.0ms712×body320valid
30.0ms307×body160valid
4.0ms84×body80valid