Details

Time bar (total: 8.9s)

sample100.0ms

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

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.3b

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))))
27.0b
(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:
3.0ms
(/ (* z t) 3.0)
3.0ms
(/ a (* b 3.0))
12.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
8.0ms
(cos (- y (/ (* z t) 3.0)))

series169.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (* z t) 3.0)
23.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)))

simplify49.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0404507
11689429
25001426

prune344.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 16.6b

localize27.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))

rewrite35.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))
24.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
4.0ms
(sin (- (/ (* z t) 3.0)))
2.0ms
(cos (/ (* z t) 3.0))

series281.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0449811
11853679
25001665

prune447.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 16.6b

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*
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))))
24.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
4.0ms
(sin (- (/ (* z t) 3.0)))
2.0ms
(cos (/ (* z t) 3.0))

series312.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* (sin y) (sin (- (/ (* z t) 3.0))))
227.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
23.0ms
(sin (- (/ (* z t) 3.0)))
10.0ms
(cos (/ (* z t) 3.0))

simplify57.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0383900
11693770
25002751

prune477.0ms

Pruning

27 alts after pruning (27 fresh and 0 done)

Merged error: 16.5b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.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-/r*
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 sin-diff *-commutative frac-sub flip-- div-inv associate-/l* sub-div
Counts
4 → 63
Calls
4 calls:
4.0ms
(/ (* z t) 3.0)
45.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (* 0.3333333333333333 (* t z)))))))
5.0ms
(sin (- (* 0.3333333333333333 (* t z))))
2.0ms
(cos (/ (* z t) 3.0))

series277.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0440810
11996676
25001670

prune363.0ms

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 16.5b

regimes2.8s

Accuracy

56% (1.6b remaining)

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

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06137
17637
27637

end0.0ms

sample2.8s

Algorithm
intervals
Results
641.0ms1629×body1280valid
593.0ms9057×body80nan
339.0ms5591×body80valid
254.0ms934×body640valid
232.0ms344×body2560valid
84.0ms431×body320valid
32.0ms236×body160valid