Details

Time bar (total: 13.8s)

sample93.0ms

Algorithm
intervals
Results
48.0ms145×body1280valid
20.0ms24×body2560valid
12.0ms59×body640valid
3.0ms24×body320valid
0.0msbody160valid
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

localize13.0ms

Local error

Found 2 expressions with local error:

1.0b
(- (cos (+ x eps)) (cos x))
4.2b
(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))

series65.0ms

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

simplify2.4s

Counts
30 → 30
Iterations

Useful iterations: 4 (405.0ms)

IterNodesCost
065311
1134299
2274283
3590275
41492273
54153273
done5001273

prune81.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

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))

rewrite124.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)
47.0ms
(* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2)))
22.0ms
(sin (/ (+ (+ x eps) x) 2))

series171.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* -2 (* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2))))
21.0ms
(+ (+ x eps) x)
57.0ms
(* (sin (/ eps 2)) (sin (/ (+ (+ x eps) x) 2)))
28.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify2.4s

Counts
72 → 72
Iterations

Useful iterations: 3 (485.0ms)

IterNodesCost
01191098
12781081
2766919
32363907
done5000907

prune187.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.2b

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))

rewrite78.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:
13.0ms
(+ (+ x eps) x)
40.0ms
(* (* -2 (sin (/ eps 2))) (sin (/ (+ (+ x eps) x) 2)))
24.0ms
(sin (/ (+ (+ x eps) x) 2))

series117.0ms

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

simplify2.7s

Counts
49 → 49
Iterations

Useful iterations: 3 (495.0ms)

IterNodesCost
093689
1232671
2714565
32195553
done5000553

prune137.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.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:
9.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
21.0ms
(sin (/ (+ (+ x eps) x) 2))
21.0ms
(sin (/ (+ (+ x eps) x) 2))
24.0ms
(sin (/ (+ (+ x eps) x) 2))

series181.0ms

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

simplify1.4s

Counts
44 → 44
Iterations

Useful iterations: 4 (573.0ms)

IterNodesCost
057570
1119567
2252501
3609493
42255467
done5001467

prune155.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.2b

regimes257.0ms

Accuracy

97.8% (0.3b remaining)

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

bsearch137.0ms

Steps
ItersRangePoint
11
2.28145452431431e-18
2231369.5462890854
1.2384991687240798e-05
10
-925426.909356872
-1.1036397448000079e-07
-0.0002414674700011765

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02651
13538
done3538

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.6s4511×body1280valid
569.0ms666×body2560valid
392.0ms1784×body640valid
101.0ms691×body320valid
26.0ms259×body160valid
5.0ms89×body80valid