Details

Time bar (total: 9.0s)

sample92.0ms

Algorithm
intervals
Results
19.0ms50×body1280valid
16.0ms273×body80nan
10.0ms171×body80valid
8.0ms13×body2560valid
7.0ms27×body640valid
3.0ms17×body320valid
1.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.8b

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* z t) 3.0)
0.3b
(/ a (* b 3.0))
0.3b
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
23.4b
(cos (- y (/ (* z t) 3.0)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-/r* associate-/l* add-log-exp
cos-diff associate-*r* pow-prod-down
cos-sum frac-2neg clear-num div-inv
distribute-rgt-in sub-neg distribute-lft-in associate-*l* *-commutative
Counts
4 → 72
Calls
4 calls:
4.0ms
(/ (* z t) 3.0)
3.0ms
(/ a (* b 3.0))
12.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
9.0ms
(cos (- y (/ (* z t) 3.0)))

series162.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (* z t) 3.0)
21.0ms
(/ a (* b 3.0))
92.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
32.0ms
(cos (- y (/ (* z t) 3.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0404507
11689429
25001426

prune344.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 16.9b

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
0.3b
(/ a (* b 3.0))
26.3b
(cos (/ (* z t) 3.0))
26.4b
(sin (- (/ (* z t) 3.0)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r/ prod-exp cbrt-unprod add-log-exp
times-frac associate-*r* pow-prod-down associate-/l*
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in div-exp cos-mult sin-mult
neg-sub0 flip3-- frac-2neg associate-*l* sin-neg clear-num associate-/r* sin-diff *-commutative frac-sub flip-- div-inv sub-div
Counts
4 → 63
Calls
4 calls:
25.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
3.0ms
(/ a (* b 3.0))
1.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (- (/ (* z t) 3.0)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
18.0ms
(/ a (* b 3.0))
9.0ms
(cos (/ (* z t) 3.0))
22.0ms
(sin (- (/ (* z t) 3.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0449815
11849679
25002665

prune457.0ms

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 16.8b

localize29.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ a (* b 3.0))
0.3b
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
26.4b
(cos (* 0.3333333333333333 (* t z)))
26.4b
(sin (- (/ (* z t) 3.0)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r/ prod-exp cbrt-unprod add-log-exp
times-frac associate-*r* pow-prod-down associate-/l*
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in div-exp cos-mult sin-mult
neg-sub0 flip3-- frac-2neg associate-*l* sin-neg clear-num associate-/r* sin-diff *-commutative frac-sub flip-- div-inv sub-div
Counts
4 → 63
Calls
4 calls:
3.0ms
(/ a (* b 3.0))
45.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
4.0ms
(cos (* 0.3333333333333333 (* t z)))
4.0ms
(sin (- (/ (* z t) 3.0)))

series259.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ a (* b 3.0))
209.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
9.0ms
(cos (* 0.3333333333333333 (* t z)))
20.0ms
(sin (- (/ (* z t) 3.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0449811
11855679
25002671

prune451.0ms

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 16.8b

localize32.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin (- (/ (* z t) 3.0))))
0.3b
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
26.4b
(cos (* 0.3333333333333333 (* t z)))
26.4b
(sin (- (/ (* z t) 3.0)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
sin-mult
distribute-rgt-in sub-neg distribute-lft-in sin-neg cos-mult *-commutative
neg-sub0 flip3-- sin-diff distribute-rgt-neg-out frac-sub flip-- sub-div unswap-sqr
Counts
4 → 62
Calls
4 calls:
10.0ms
(* (sin y) (sin (- (/ (* z t) 3.0))))
42.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
4.0ms
(cos (* 0.3333333333333333 (* t z)))
4.0ms
(sin (- (/ (* z t) 3.0)))

series289.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (sin y) (sin (- (/ (* z t) 3.0))))
211.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
9.0ms
(cos (* 0.3333333333333333 (* t z)))
19.0ms
(sin (- (/ (* z t) 3.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0383900
11695770
25001762

prune349.0ms

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 16.8b

regimes2.8s

Accuracy

36% (2.4b remaining)

Error of 18.8b against oracle of 16.5b and baseline of 20.2b

bsearch231.0ms

Steps
ItersRangePoint
9
4.768959137225491e-24
2.7664650876626605e-17
2.4348734333899417e-18
8
-127575.43791052715
-2.650090642608748
-2.711112522981125

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06741
17741
27741

end0.0ms

sample2.8s

Algorithm
intervals
Results
613.0ms1557×body1280valid
552.0ms9074×body80nan
342.0ms5663×body80valid
253.0ms373×body2560valid
247.0ms924×body640valid
85.0ms430×body320valid
27.0ms195×body160valid