Details

Time bar (total: 8.0s)

sample105.0ms

Algorithm
intervals
Results
25.0ms332×body80nan
19.0ms49×body1280valid
10.0ms168×body80valid
9.0ms32×body640valid
8.0ms11×body2560valid
4.0ms20×body320valid
1.0msbody160valid

simplify11.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: 18.4b

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

rewrite28.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:
3.0ms
(/ (* z t) 3.0)
5.0ms
(/ a (* b 3.0))
11.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
7.0ms
(cos (- y (/ (* z t) 3.0)))

series157.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0404507
11689429
25001426

prune320.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 14.9b

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
3.1b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
24.2b
(cos (/ (* z t) 3.0))
24.6b
(sin (/ (* z t) 3.0))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
28×pow1 add-exp-log add-cbrt-cube
16×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r/ associate-*r* associate-*l* *-commutative
cos-mult sin-mult
Counts
4 → 60
Calls
4 calls:
13.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
14.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
1.0ms
(cos (/ (* z t) 3.0))
1.0ms
(sin (/ (* z t) 3.0))

series224.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
92.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
9.0ms
(cos (/ (* z t) 3.0))
15.0ms
(sin (/ (* z t) 3.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0351704
11500545
25001540

prune354.0ms

Pruning

29 alts after pruning (29 fresh and 0 done)

Merged error: 14.8b

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
2.2b
(* (* (* 2.0 (sqrt x)) (sin y)) (sin (/ (* z t) 3.0)))
24.2b
(cos (/ (* z t) 3.0))
24.6b
(sin (/ (* z t) 3.0))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1 add-exp-log add-cbrt-cube
14×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r* add-log-exp
associate-*l* *-commutative
associate-*r/ cos-mult
Counts
4 → 58
Calls
4 calls:
13.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
35.0ms
(* (* (* 2.0 (sqrt x)) (sin y)) (sin (/ (* z t) 3.0)))
1.0ms
(cos (/ (* z t) 3.0))
1.0ms
(sin (/ (* z t) 3.0))

series224.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
92.0ms
(* (* (* 2.0 (sqrt x)) (sin y)) (sin (/ (* z t) 3.0)))
9.0ms
(cos (/ (* z t) 3.0))
16.0ms
(sin (/ (* z t) 3.0))

simplify49.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0351673
11623528
25001523

prune362.0ms

Pruning

28 alts after pruning (28 fresh and 0 done)

Merged error: 14.8b

localize30.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (* (cos y) (log (exp (cos (/ (* z t) 3.0))))))
2.2b
(* (* (* 2.0 (sqrt x)) (sin y)) (sin (/ (* z t) 3.0)))
24.2b
(cos (/ (* z t) 3.0))
24.6b
(sin (/ (* z t) 3.0))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1 add-exp-log add-cbrt-cube
14×pow-prod-down prod-exp cbrt-unprod
12×distribute-rgt-in log-prod distribute-lft-in
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r* add-log-exp
associate-*l* *-commutative
Counts
4 → 69
Calls
4 calls:
20.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (log (exp (cos (/ (* z t) 3.0))))))
32.0ms
(* (* (* 2.0 (sqrt x)) (sin y)) (sin (/ (* z t) 3.0)))
1.0ms
(cos (/ (* z t) 3.0))
1.0ms
(sin (/ (* z t) 3.0))

series223.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (log (exp (cos (/ (* z t) 3.0))))))
90.0ms
(* (* (* 2.0 (sqrt x)) (sin y)) (sin (/ (* z t) 3.0)))
9.0ms
(cos (/ (* z t) 3.0))
16.0ms
(sin (/ (* z t) 3.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0438955
11851763
25001738

prune315.0ms

Pruning

28 alts after pruning (28 fresh and 0 done)

Merged error: 14.8b

regimes2.3s

Accuracy

58.5% (1.6b remaining)

Error of 17.9b against oracle of 16.2b and baseline of 20.1b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05348
15348

end0.0ms

sample3.0s

Algorithm
intervals
Results
658.0ms1621×body1280valid
641.0ms9279×body80nan
357.0ms5544×body80valid
252.0ms913×body640valid
241.0ms351×body2560valid
97.0ms459×body320valid
31.0ms216×body160valid