Details

Time bar (total: 9.6s)

sample102.0ms

Algorithm
intervals
Results
23.0ms51×body1280valid
18.0ms273×body80nan
11.0ms176×body80valid
10.0ms35×body640valid
9.0ms14×body2560valid
2.0msbody320valid
1.0msbody160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
15810
28210
39910
410710
510910
610910

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.3b

localize17.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))))
27.0b
(cos (- y (/ (* z t) 3.0)))

rewrite41.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:
3.0ms
(/ (* z t) 3.0)
3.0ms
(/ a (* b 3.0))
17.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
13.0ms
(cos (- y (/ (* z t) 3.0)))

series170.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06851511
123611261
250011258

prune468.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 16.3b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u associate-*r/ prod-exp cbrt-unprod log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in times-frac associate-*r* pow-prod-down associate-/l*
cbrt-undiv sub-neg div-exp prod-diff 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 → 73
Calls
4 calls:
3.0ms
(/ a (* b 3.0))
26.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
3.0ms
(sin (- (/ (* z t) 3.0)))
1.0ms
(cos (/ (* z t) 3.0))

series288.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ a (* b 3.0))
232.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
21.0ms
(sin (- (/ (* z t) 3.0)))
11.0ms
(cos (/ (* z t) 3.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0483929
11977788
25002771

prune520.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 16.3b

localize26.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 (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
29.4b
(sin (- (/ (* z t) 3.0)))
30.0b
(cos (/ (* z t) 3.0))

rewrite41.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:
9.0ms
(* (sin y) (sin (- (/ (* z t) 3.0))))
26.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
3.0ms
(sin (- (/ (* z t) 3.0)))
1.0ms
(cos (/ (* z t) 3.0))

series310.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04171026
11822887
25001870

prune513.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 16.3b

localize33.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
0.4b
(* (/ 1 b) (/ a 3.0))
29.4b
(sin (- (/ (* z t) 3.0)))
30.0b
(cos (/ (* z t) 3.0))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
31×add-exp-log
25×times-frac
21×*-un-lft-identity add-cbrt-cube
19×add-cube-cbrt
16×associate-*r*
14×associate-*l*
11×pow1 prod-exp
div-exp
cbrt-unprod
unswap-sqr
associate-*r/
cbrt-undiv expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in
sub-neg rec-exp 1-exp prod-diff cos-mult *-commutative div-inv sin-mult
neg-sub0 frac-times flip3-- associate-*l/ sin-neg sin-diff frac-sub flip-- sub-div
Counts
4 → 108
Calls
4 calls:
23.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
13.0ms
(* (/ 1 b) (/ a 3.0))
3.0ms
(sin (- (/ (* z t) 3.0)))
1.0ms
(cos (/ (* z t) 3.0))

series276.0ms

Counts
4 → 12
Calls
4 calls:
224.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
21.0ms
(* (/ 1 b) (/ a 3.0))
20.0ms
(sin (- (/ (* z t) 3.0)))
10.0ms
(cos (/ (* z t) 3.0))

simplify85.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07101142
13344968
25001955

prune584.0ms

Pruning

24 alts after pruning (23 fresh and 1 done)

Merged error: 16.3b

regimes2.6s

Accuracy

53.2% (1.8b remaining)

Error of 17.9b against oracle of 16.1b and baseline of 19.9b

bsearch4.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05535
16135
26135

end0.0ms

sample3.1s

Algorithm
intervals
Results
687.0ms1629×body1280valid
681.0ms9057×body80nan
362.0ms5591×body80valid
278.0ms934×body640valid
253.0ms344×body2560valid
97.0ms431×body320valid
40.0ms236×body160valid