Details

Time bar (total: 18.3s)

sample219.0ms

Algorithm
intervals
Results
101.0ms130×body1280valid
56.0ms72×body640valid
29.0ms17×body2560valid
9.0ms29×body320valid
1.0msbody160valid
0.0msbody80valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.7b

localize23.0ms

Local error

Found 2 expressions with local error:

0.9b
(- (cos (+ x eps)) (cos x))
3.1b
(cos (+ x eps))

rewrite50.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:
30.0ms
(- (cos (+ x eps)) (cos x))
18.0ms
(cos (+ x eps))

series153.0ms

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

simplify1.1s

Counts
46 → 46
Iterations

Useful iterations: done (1.1s)

IterNodesCost
091664
1202543
2726453
done5000389

prune284.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.6b

localize42.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)))
3.1b
(sin (/ (+ (+ x eps) x) 2))

rewrite335.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:
57.0ms
(+ (+ x eps) x)
190.0ms
(* (sin (/ (+ eps 0) 2)) (sin (/ (+ (+ x eps) x) 2)))
86.0ms
(sin (/ (+ (+ x eps) x) 2))

series203.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(+ (+ x eps) x)
108.0ms
(* (sin (/ (+ eps 0) 2)) (sin (/ (+ (+ x eps) x) 2)))
53.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify885.0ms

Counts
60 → 60
Iterations

Useful iterations: done (882.0ms)

IterNodesCost
099766
1231694
2832617
done5000591

prune524.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.5b

localize64.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (sin (/ (+ (+ x eps) x) 2)))
3.1b
(sin (/ (+ (+ x eps) x) 2))
3.1b
(sin (/ (+ (+ x eps) x) 2))
3.1b
(sin (/ (+ (+ x eps) x) 2))

rewrite298.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod
pow1/3
Counts
4 → 40
Calls
4 calls:
36.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
86.0ms
(sin (/ (+ (+ x eps) x) 2))
89.0ms
(sin (/ (+ (+ x eps) x) 2))
85.0ms
(sin (/ (+ (+ x eps) x) 2))

series355.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
54.0ms
(sin (/ (+ (+ x eps) x) 2))
60.0ms
(sin (/ (+ (+ x eps) x) 2))
56.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify1.2s

Counts
52 → 52
Iterations

Useful iterations: done (1.2s)

IterNodesCost
061644
1127629
2323563
31147535
done5001480

prune660.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.5b

localize60.0ms

Local error

Found 4 expressions with local error:

3.1b
(sin (/ (+ (+ x eps) x) 2))
4.3b
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
4.3b
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
4.3b
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))

rewrite232.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 cbrt-div pow1/3 sin-mult
Counts
4 → 45
Calls
4 calls:
84.0ms
(sin (/ (+ (+ x eps) x) 2))
43.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
60.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
43.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))

series831.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(sin (/ (+ (+ x eps) x) 2))
247.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
256.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
278.0ms
(cbrt (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))

simplify1.1s

Counts
57 → 57
Iterations

Useful iterations: done (1.1s)

IterNodesCost
0701032
11431014
2334914
31201849
done5001770

prune605.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 0.5b

regimes402.0ms

Accuracy

97.8% (0.3b remaining)

Error of 0.7b against oracle of 0.4b and baseline of 15.3b

bsearch261.0ms

Steps
ItersRangePoint
10
5.024206171497321e-19
2.8868360106527892e-08
2.860803493028998e-08
10
-4.26929226401081
-4.5846337071089676e-10
-3.597466725231278e-05

simplify11.0ms

Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
02751
13637
23737
done3737

end0.0ms

sample8.4s

Algorithm
intervals
Results
4.5s4495×body1280valid
1.7s633×body2560valid
1.3s1850×body640valid
282.0ms672×body320valid
131.0ms281×body160valid
8.0ms69×body80valid