Details

Time bar (total: 8.9s)

sample103.0ms

Algorithm
intervals
Results
58.0ms145×body1280valid
14.0ms19×body2560valid
12.0ms55×body640valid
5.0ms27×body320valid
1.0msbody160valid
0.0msbody80valid

simplify3.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
067
197
2107
done107

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.1b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.2b
(- (cos (+ x eps)) (cos x))
3.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))
4.0ms
(cos (+ x eps))

series15.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(- (cos (+ x eps)) (cos x))
5.0ms
(cos (+ x eps))

simplify1.0s

Counts
30 → 30
Iterations

Useful iterations: 4 (165.0ms)

IterNodesCost
065311
1134299
2287283
3578275
41129273
52550273
done5000273

prune60.0ms

Filtered
23 candidates to 30 candidates (-30.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New24630
Fresh000
Picked101
Done000
Total25631

Merged error: 0.5b

Counts
31 → 6

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-log-exp
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative associate-+l+ flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ sin-mult unswap-sqr
Counts
3 → 41
Calls
3 calls:
7.0ms
(+ (+ x eps) x)
12.0ms
(* (sin (/ (+ (+ x eps) x) 2)) (sin (/ eps 2)))
8.0ms
(sin (/ (+ (+ x eps) x) 2))

series28.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ (+ x eps) x)
17.0ms
(* (sin (/ (+ (+ x eps) x) 2)) (sin (/ eps 2)))
7.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify1.2s

Counts
50 → 50
Iterations

Useful iterations: 4 (494.0ms)

IterNodesCost
091656
1207650
2551571
31432552
44440544
done5000544

prune130.0ms

Filtered
37 candidates to 50 candidates (-35.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New42850
Fresh235
Picked011
Done000
Total441256

Merged error: 0.4b

Counts
56 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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:
7.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
9.0ms
(sin (/ (+ (+ x eps) x) 2))
8.0ms
(sin (/ (+ (+ x eps) x) 2))
8.0ms
(sin (/ (+ (+ x eps) x) 2))

series45.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
7.0ms
(sin (/ (+ (+ x eps) x) 2))
7.0ms
(sin (/ (+ (+ x eps) x) 2))
7.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify1.5s

Counts
44 → 44
Iterations

Useful iterations: 4 (167.0ms)

IterNodesCost
057570
1119567
2261501
3599473
41523467
54774467
done5000467

prune407.0ms

Filtered
37 candidates to 44 candidates (-18.9%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New42244
Fresh1910
Picked101
Done011
Total441256

Merged error: 0.4b

Counts
56 → 12

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

rewrite19.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:
5.0ms
(cbrt (sin (/ eps 2)))
2.0ms
(cbrt (sin (/ eps 2)))
2.0ms
(cbrt (sin (/ eps 2)))
8.0ms
(sin (/ (+ (+ x eps) x) 2))

series70.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt (sin (/ eps 2)))
21.0ms
(cbrt (sin (/ eps 2)))
21.0ms
(cbrt (sin (/ eps 2)))
7.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify599.0ms

Counts
52 → 52
Iterations

Useful iterations: 4 (179.0ms)

IterNodesCost
060558
1121549
2235503
3570457
41746439
done5001439

prune164.0ms

Filtered
42 candidates to 52 candidates (-23.8%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New51152
Fresh01010
Picked011
Done011
Total511364

Merged error: 0.4b

Counts
64 → 13

regimes316.0ms

Accuracy

97.7% (0.3b remaining)

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

bsearch68.0ms

Steps
ItersRangePoint
11
0.0007984694048976103
2.3885905512890262e+30
0.0010712813958775483
5
-0.0004813576712207844
-0.0001616040529746431
-0.0002864983603080275

simplify3.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02651
13538
done3538

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.6s4421×body1280valid
535.0ms668×body2560valid
452.0ms1853×body640valid
112.0ms668×body320valid
39.0ms298×body160valid
5.0ms92×body80valid

Profiling

Loading profile data...