Details

Time bar (total: 15.5s)

sample93.0ms

Algorithm
intervals
Results
45.0ms136×body1280valid
22.0ms22×body2560valid
14.0ms67×body640valid
2.0ms13×body320valid
1.0ms14×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: 41.0b

localize9.0ms

Local error

Found 2 expressions with local error:

1.3b
(- (cos (+ x eps)) (cos x))
4.6b
(cos (+ x eps))

rewrite12.0ms

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

series71.0ms

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

simplify2.6s

Counts
30 → 30
Iterations

Useful iterations: 4 (364.0ms)

IterNodesCost
065311
1134299
2274283
3590275
41424273
53767273
done5000273

prune84.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.7b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* -2 (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
0.0b
(+ (+ x eps) x)
0.4b
(* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2)))
4.7b
(sin (/ (+ (+ x eps) x) 2))

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt
associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod
sum-log distribute-lft-out
*-commutative sin-mult
+-commutative associate-+l+ flip3-+ associate-*r/ flip-+ unswap-sqr
Counts
4 → 60
Calls
4 calls:
40.0ms
(* -2 (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
14.0ms
(+ (+ x eps) x)
48.0ms
(* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2)))
22.0ms
(sin (/ (+ (+ x eps) x) 2))

series178.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(* -2 (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
22.0ms
(+ (+ x eps) x)
60.0ms
(* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2)))
29.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify3.0s

Counts
72 → 72
Iterations

Useful iterations: 3 (501.0ms)

IterNodesCost
01191098
12781081
2757919
32275907
done5000907

prune195.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.6b

localize19.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x eps) x)
0.4b
(* (* -2 (sin (/ eps 2))) (sin (/ (+ (+ x eps) x) 2)))
4.7b
(sin (/ (+ (+ x eps) x) 2))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
add-sqr-sqrt add-cube-cbrt
associate-*r* pow-prod-down prod-exp sum-log cbrt-unprod distribute-lft-out
+-commutative associate-+l+ flip3-+ associate-*l* *-commutative flip-+
Counts
3 → 40
Calls
3 calls:
15.0ms
(+ (+ x eps) x)
40.0ms
(* (* -2 (sin (/ eps 2))) (sin (/ (+ (+ x eps) x) 2)))
21.0ms
(sin (/ (+ (+ x eps) x) 2))

series118.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(+ (+ x eps) x)
67.0ms
(* (* -2 (sin (/ eps 2))) (sin (/ (+ (+ x eps) x) 2)))
29.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify3.4s

Counts
49 → 49
Iterations

Useful iterations: 3 (531.0ms)

IterNodesCost
093689
1232671
2703565
32166553
done5000553

prune141.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.6b

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin (/ (+ (+ x eps) x) 2)))
4.7b
(sin (/ (+ (+ x eps) x) 2))
4.7b
(sin (/ (+ (+ x eps) x) 2))
4.7b
(sin (/ (+ (+ x eps) x) 2))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod
pow1/3
Counts
4 → 32
Calls
4 calls:
12.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
21.0ms
(sin (/ (+ (+ x eps) x) 2))
21.0ms
(sin (/ (+ (+ x eps) x) 2))
21.0ms
(sin (/ (+ (+ x eps) x) 2))

series177.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
31.0ms
(sin (/ (+ (+ x eps) x) 2))
27.0ms
(sin (/ (+ (+ x eps) x) 2))
28.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify1.9s

Counts
44 → 44
Iterations

Useful iterations: 4 (500.0ms)

IterNodesCost
057570
1119567
2252501
3610493
42111467
done5001467

prune157.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.6b

regimes171.0ms

Accuracy

96.5% (0.5b remaining)

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

bsearch96.0ms

Steps
ItersRangePoint
7
94269.73169533648
3568380.5266111037
95617.08388190389
9
-1.1198163698016657
-1.4191042175333267e-05
-0.0009635449186787686

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02651
13638
done3638

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.5s4455×body1280valid
547.0ms654×body2560valid
396.0ms1880×body640valid
89.0ms642×body320valid
29.0ms288×body160valid
4.0ms81×body80valid