Details

Time bar (total: 10.3s)

sample99.0ms

Algorithm
intervals
Results
21.0ms265×body80nan
19.0ms49×body1280valid
10.0ms171×body80valid
10.0ms15×body2560valid
7.0ms27×body640valid
2.0ms12×body320valid
1.0msbody160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
15810
28210
39910
410710
510910
610910

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 22.5b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

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

series192.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06851511
123611261
250011258

prune477.0ms

Filtered
113 candidates to 72 candidates (63.7%)
Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 17.0b

localize27.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.2b
(* (sin y) (sin (- (/ (* z t) 3.0))))
28.3b
(cos (/ (* z t) 3.0))
28.6b
(sin (- (/ (* z t) 3.0)))

rewrite45.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*
expm1-log1p-u associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in sin-mult
sub-neg prod-diff sin-neg cos-mult *-commutative
neg-sub0 flip3-- sin-diff distribute-rgt-neg-out frac-sub flip-- sub-div unswap-sqr
Counts
4 → 72
Calls
4 calls:
24.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
14.0ms
(* (sin y) (sin (- (/ (* z t) 3.0))))
1.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (- (/ (* z t) 3.0)))

series319.0ms

Counts
4 → 12
Calls
4 calls:
231.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
57.0ms
(* (sin y) (sin (- (/ (* z t) 3.0))))
10.0ms
(cos (/ (* z t) 3.0))
21.0ms
(sin (- (/ (* z t) 3.0)))

simplify61.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04171026
11822885
25001868

prune537.0ms

Filtered
84 candidates to 64 candidates (76.2%)
Pruning

28 alts after pruning (28 fresh and 0 done)

Merged error: 16.9b

localize29.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 0.3333333333333333 (* t z))
0.3b
(* (sin y) (sin (- (* 0.3333333333333333 (* t z)))))
28.3b
(cos (/ (* z t) 3.0))
28.9b
(sin (- (* 0.3333333333333333 (* t z))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*l*
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
sin-neg *-commutative
neg-sub0 sin-diff distribute-rgt-neg-out sin-mult unswap-sqr
Counts
4 → 62
Calls
4 calls:
6.0ms
(* 0.3333333333333333 (* t z))
10.0ms
(* (sin y) (sin (- (* 0.3333333333333333 (* t z)))))
1.0ms
(cos (/ (* z t) 3.0))
5.0ms
(sin (- (* 0.3333333333333333 (* t z))))

series116.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* 0.3333333333333333 (* t z))
57.0ms
(* (sin y) (sin (- (* 0.3333333333333333 (* t z)))))
15.0ms
(cos (/ (* z t) 3.0))
23.0ms
(sin (- (* 0.3333333333333333 (* t z))))

simplify70.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0200410
1666352
22415352
35001352

prune535.0ms

Filtered
74 candidates to 53 candidates (71.6%)
Pruning

33 alts after pruning (33 fresh and 0 done)

Merged error: 16.9b

localize34.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin y) (sin (- (* 0.3333333333333333 (* t z)))))
0.7b
(expm1 (cos (/ (* z t) 3.0)))
28.3b
(cos (/ (* z t) 3.0))
28.9b
(sin (- (* 0.3333333333333333 (* t z))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
log1p-expm1-u
expm1-log1p-u add-log-exp
associate-*r* associate-*l*
sin-neg
neg-sub0 expm1-log1p pow-prod-down prod-exp sin-diff *-commutative distribute-rgt-neg-out cbrt-unprod sin-mult expm1-udef unswap-sqr
Counts
4 → 53
Calls
4 calls:
10.0ms
(* (sin y) (sin (- (* 0.3333333333333333 (* t z)))))
0.0ms
(expm1 (cos (/ (* z t) 3.0)))
1.0ms
(cos (/ (* z t) 3.0))
5.0ms
(sin (- (* 0.3333333333333333 (* t z))))

series128.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (sin y) (sin (- (* 0.3333333333333333 (* t z)))))
38.0ms
(expm1 (cos (/ (* z t) 3.0)))
10.0ms
(cos (/ (* z t) 3.0))
22.0ms
(sin (- (* 0.3333333333333333 (* t z))))

simplify127.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0140404
1395352
21091352
33061352
45002352

prune671.0ms

Filtered
65 candidates to 54 candidates (83.1%)
Pruning

33 alts after pruning (33 fresh and 0 done)

Merged error: 16.9b

regimes3.6s

Accuracy

59.3% (1.8b remaining)

Error of 17.8b against oracle of 16.0b and baseline of 20.4b

bsearch3.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06448
17948
27948

end0.0ms

sample3.0s

Algorithm
intervals
Results
638.0ms9130×body80nan
624.0ms1505×body1280valid
357.0ms5687×body80valid
283.0ms985×body640valid
267.0ms368×body2560valid
92.0ms436×body320valid
28.0ms193×body160valid