Details

Time bar (total: 4.5s)

sample97.0ms

Algorithm
intervals
Results
52.0ms150×body1280valid
18.0ms21×body2560valid
12.0ms55×body640valid
3.0ms18×body320valid
1.0msbody160valid
0.0msbody80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.4b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.5b
(- (cos (+ x eps)) (cos x))
3.3b
(cos (+ x eps))

rewrite11.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:
6.0ms
(- (cos (+ x eps)) (cos x))
4.0ms
(cos (+ x eps))

series20.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(- (cos (+ x eps)) (cos x))
11.0ms
(cos (+ x eps))

simplify107.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0134176
1281167
2840164
32958164
45002164

prune63.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New21930
Fresh000
Picked101
Done000
Total22931

Merged error: 14.1b

Counts
31 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos x) (cos eps))
0.1b
(- (* (cos x) (cos eps)) (* (sin x) (sin eps)))
0.2b
(* (sin x) (sin eps))
2.9b
(- (- (* (cos x) (cos eps)) (* (sin x) (sin eps))) (cos x))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×add-log-exp
10×*-un-lft-identity
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l*
diff-log
sub-neg cos-mult sin-mult
flip3-- pow-prod-down prod-exp associate--l+ *-commutative flip-- cbrt-unprod unswap-sqr
associate--l- frac-sub distribute-lft-out-- sub-div difference-of-squares
Counts
4 → 70
Calls
4 calls:
4.0ms
(* (cos x) (cos eps))
5.0ms
(- (* (cos x) (cos eps)) (* (sin x) (sin eps)))
5.0ms
(* (sin x) (sin eps))
8.0ms
(- (- (* (cos x) (cos eps)) (* (sin x) (sin eps))) (cos x))

series60.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (cos x) (cos eps))
18.0ms
(- (* (cos x) (cos eps)) (* (sin x) (sin eps)))
9.0ms
(* (sin x) (sin eps))
24.0ms
(- (- (* (cos x) (cos eps)) (* (sin x) (sin eps))) (cos x))

simplify111.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0304632
11061600
24487582
35002582

prune131.0ms

Filtered
57 candidates to 82 candidates (-43.9%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New691382
Fresh538
Picked101
Done000
Total751691

Merged error: 14.0b

Counts
91 → 16

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos x) (cos eps))
0.1b
(+ (* (sin x) (sin eps)) (cos x))
0.2b
(* (sin x) (sin eps))
2.9b
(- (* (cos x) (cos eps)) (+ (* (sin x) (sin eps)) (cos x)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×add-log-exp
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
cos-mult
flip3-+ diff-log pow-prod-down prod-exp sum-log *-commutative frac-sub cbrt-unprod flip-+ unswap-sqr
+-commutative sub-neg flip3-- flip-- sin-mult associate--r+
Counts
4 → 65
Calls
4 calls:
6.0ms
(* (cos x) (cos eps))
5.0ms
(+ (* (sin x) (sin eps)) (cos x))
5.0ms
(* (sin x) (sin eps))
8.0ms
(- (* (cos x) (cos eps)) (+ (* (sin x) (sin eps)) (cos x)))

series51.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (cos x) (cos eps))
11.0ms
(+ (* (sin x) (sin eps)) (cos x))
9.0ms
(* (sin x) (sin eps))
23.0ms
(- (* (cos x) (cos eps)) (+ (* (sin x) (sin eps)) (cos x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0332607
11284574
25002565

prune139.0ms

Filtered
53 candidates to 77 candidates (-45.3%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New68977
Fresh41115
Picked101
Done000
Total732093

Merged error: 13.9b

Counts
93 → 20

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin x) (sin eps))
0.3b
(pow (* (sin x) (sin eps)) 3)
2.9b
(- (* (cos x) (cos eps)) (+ (cbrt (pow (* (sin x) (sin eps)) 3)) (cos x)))
26.3b
(cbrt (pow (* (sin x) (sin eps)) 3))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod add-cube-cbrt *-un-lft-identity
pow-unpow associate-*r* associate-*l* sin-mult
cube-div cube-mult unpow-prod-down pow-pow diff-log unpow3 cube-prod pow-prod-down pow-exp prod-exp cos-mult frac-sub cbrt-unprod rem-cube-cbrt sqr-pow
pow-to-exp sub-neg cbrt-div flip3-- flip3-+ pow1/3 sum-log *-commutative flip-- rem-cbrt-cube flip-+ associate--r+ unswap-sqr
Counts
4 → 76
Calls
4 calls:
5.0ms
(* (sin x) (sin eps))
5.0ms
(pow (* (sin x) (sin eps)) 3)
11.0ms
(- (* (cos x) (cos eps)) (+ (cbrt (pow (* (sin x) (sin eps)) 3)) (cos x)))
3.0ms
(cbrt (pow (* (sin x) (sin eps)) 3))

series60.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (sin x) (sin eps))
16.0ms
(pow (* (sin x) (sin eps)) 3)
23.0ms
(- (* (cos x) (cos eps)) (+ (cbrt (pow (* (sin x) (sin eps)) 3)) (cos x)))
9.0ms
(cbrt (pow (* (sin x) (sin eps)) 3))

simplify50.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0374684
11626609
25001596

prune88.0ms

Filtered
58 candidates to 88 candidates (-51.7%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New86288
Fresh11819
Picked011
Done000
Total8721108

Merged error: 13.9b

Counts
108 → 21

regimes272.0ms

Accuracy

81.7% (1.8b remaining)

Error of 16.3b against oracle of 14.5b and baseline of 24.3b

bsearch76.0ms

Steps
ItersRangePoint
8
2.7788449623543706e-28
1.4606124828733529e-25
1.4423632138238029e-25
8
-0.0031172004064292094
-2.3041037433406002e-07
-2.6231847589922844e-06

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03828
13828

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.6s4519×body1280valid
561.0ms658×body2560valid
419.0ms1804×body640valid
95.0ms639×body320valid
34.0ms287×body160valid
5.0ms93×body80valid

Profiling

Loading profile data...