Details

Time bar (total: 11.9s)

sample91.0ms

Algorithm
intervals
Results
45.0ms133×body1280valid
19.0ms22×body2560valid
14.0ms67×body640valid
3.0ms19×body320valid
1.0ms13×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: 37.5b

localize14.0ms

Local error

Found 2 expressions with local error:

1.0b
(- (cos (+ x eps)) (cos x))
4.0b
(cos (+ x eps))

rewrite13.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:
8.0ms
(- (cos (+ x eps)) (cos x))
5.0ms
(cos (+ x eps))

series66.0ms

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

simplify2.4s

Counts
30 → 30
Iterations

Useful iterations: 4 (311.0ms)

IterNodesCost
065311
1134299
2274283
3590275
41496273
54159273
done5000273

prune78.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.4b

localize13.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.3b
(* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2)))
4.1b
(sin (/ (+ (+ x eps) x) 2))

rewrite132.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:
42.0ms
(* -2 (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
15.0ms
(+ (+ x eps) x)
50.0ms
(* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2)))
23.0ms
(sin (/ (+ (+ x eps) x) 2))

series174.0ms

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

simplify1.4s

Counts
72 → 72
Iterations

Useful iterations: 3 (359.0ms)

IterNodesCost
01191098
12781081
2766919
32362907
done5000907

prune178.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite84.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)
42.0ms
(* (* -2 (sin (/ eps 2))) (sin (/ (+ (+ x eps) x) 2)))
26.0ms
(sin (/ (+ (+ x eps) x) 2))

series120.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (+ x eps) x)
62.0ms
(* (* -2 (sin (/ eps 2))) (sin (/ (+ (+ x eps) x) 2)))
31.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify1.4s

Counts
49 → 49
Iterations

Useful iterations: 3 (364.0ms)

IterNodesCost
093689
1232671
2714565
32195553
done5000553

prune131.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.3b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series372.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(cbrt (sin (/ eps 2)))
113.0ms
(cbrt (sin (/ eps 2)))
118.0ms
(cbrt (sin (/ eps 2)))
29.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify1.7s

Counts
52 → 52
Iterations

Useful iterations: 4 (472.0ms)

IterNodesCost
060558
1121549
2238503
3654461
42869443
done5000443

prune346.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.3b

regimes189.0ms

Accuracy

97.9% (0.3b remaining)

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

bsearch111.0ms

Steps
ItersRangePoint
8
9.143643357499823e-08
5.968040026638966e-05
2.684800803254601e-05
9
-4030.930838101798
-2.879878352494296e-05
-4.402851865399074e-05

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02851
13551
done3551

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.6s4457×body1280valid
585.0ms686×body2560valid
392.0ms1837×body640valid
105.0ms656×body320valid
40.0ms292×body160valid
4.0ms72×body80valid